Cart

Your cart is empty

Blog15 min read

What Are the Self-Learning Wires on an Ebike Controller? Safe Setup and Direction Reversal

They are a commissioning connection, not a riding feature. Joining them puts the controller into a temporary mode where it works out how to drive your motor — which means the wheel will turn under power, so it has to be off the ground before you start.

Unlock £10 off today
Customer bike converted with a KirbEbike hub motor kit
On this page

WHEEL OFF THE GROUND TEMPORARY, NOT A RIDING MODE UK + US

💡

THE SHORT ANSWER

Self-learning wires are a pair of conductors that put a supporting controller into a temporary learning mode. In that mode the controller drives the motor and works out the correct relationship between its phase outputs and the motor’s hall sensors, so you do not have to match them by hand.

Three things to hold onto. The motor will spin under power, so the driven wheel must be raised and secured first. The wires are disconnected afterwards — it is not a mode you ride in. And the exact procedure differs between controllers, so follow the sequence documented for yours rather than one you found for a different make.

Direct Answer: What They Do and Do Not Do

Question Answer Why
What are they for? Commissioning a motor to a controller The controller learns the phase and hall relationship
Do I ride with them connected? No Learning is temporary and is disconnected afterwards
Will the wheel move? Yes, under power Raise and secure the wheel before applying power
Can I identify them by colour? No Colour conventions vary by maker and generation
Do they add power or speed? No They set up commutation, not output
Same procedure on every controller? No Each system documents its own sequence

A setup step, not a performance feature. Treat it as commissioning work.

Self-learning saves you from matching phase and hall wires by trial and error. It does not make the bike faster, and it is not something you leave connected.

What the Controller Is Actually Learning

A brushless motor is driven by energising its windings in a repeating sequence, and the controller has to know which of its phase outputs corresponds to which motor winding, and how the motor’s hall sensors report rotor position. Get that relationship wrong and the motor judders, runs roughly, draws heavy current or refuses to turn. Traditionally you found the right combination by trying phase and hall pairings until the motor ran smoothly. A learning routine automates that: the controller drives the motor briefly, watches how it responds, and stores the arrangement that works. Our guide to hub motor internals covers how phases and hall sensors work together.

KirbEbike direct-drive hub motor wheel with phase and hall cable
The motor being learned. Three phase wires carry power; the hall sensors report rotor position to the controller.
💡

WIRE COLOUR IS NOT A RELIABLE IDENTIFIER

Colour conventions vary between manufacturers, between controller generations and between production runs, and the same colours appear in different roles across products that look identical. Do not identify learning wires — or any other function — from colour alone. Use the documentation for your exact controller model and generation. If you cannot obtain it, ask the supplier before connecting anything rather than working it out by experiment.

It is also worth being clear that learning mode is temporary by design. It exists to be entered, completed and left. A system that only runs while the learning wires are joined has not finished the routine, and riding it in that state is not what the mode is for.

Before You Apply Power

💡
Six checks, every time
  1. Raise the driven wheel — completely clear of the ground, with room for it to spin freely
  2. Secure the bike — a stand or fixture that will not move when the wheel spins up
  3. Clear the area — nobody near the wheel, nothing loose that can be caught, no cables in the path
  4. Confirm compatibility first — battery, controller and motor documented for each other before commissioning
  5. Identify the exact connector — from your controller’s documentation, never from colour or a video for another make
  6. Know how to cut power — a hand on the switch or connector before you energise anything

Stop immediately, and do not continue, if you see heat, smoke, arcing, a burning smell or damaged insulation at any point. Government guidance is explicit that a device showing overheating, deformation, smoke or unusual smell should be taken out of use (GOV.UK). Compatibility comes first for the same reason: a learning routine cannot make mismatched components safe, so confirm voltage and current matching before commissioning using our battery-to-motor matching guide.

How the Routine Generally Works

The shape is consistent across systems that support it, even though the specifics are not. Power down and confirm the wheel is free. Connect the learning pair identified in your documentation. Power on and observe the motor as it turns under its own power. Watch whether rotation is smooth rather than rough or stuttering. Confirm the wheel turns in the correct direction for forward travel. Disconnect the learning wires at the point your documentation specifies. Then power cycle and test normal throttle or pedal-assist operation with the wheel still raised.

💡

ON A KIRBEBIKE SMART CONTROLLER

Our smart controllers support self-learning, Hall-sensor and Hall-free operation, and Hall compensation. The learning lead is a separate pair of plugs, labelled “Self Learning” on the official harness diagram below, and the Ride Power app also lists self-learning in its settings. Harness layouts can change between controller generations, so check the diagram and routine for your exact unit — our support team will send it before you start.

Official KirbEbike controller harness diagram labelling phase cables, XT90, hall sensor, throttle, PAS, display, e-brake and the self-learning plug pair
Find the learning plugs by label, not colour. On our current smart controller the “Self Learning” lead is a separate plug pair. Check the diagram for your controller generation.

Two general cautions that apply whatever your controller. Do not borrow a sequence written for a different make and assume it transfers — connector arrangements, entry conditions and completion behaviour all differ. And do not treat repeated attempts as a diagnostic method: if two properly executed attempts do not produce smooth rotation, something else is wrong, and continuing to cycle a motor into a fault condition risks damage. Our installation mistakes guide covers the wiring faults that most often sit underneath a failed routine.

Reading the Symptoms

Two stages, because what happens during the routine and what happens after you disconnect point at different things.

Motor judders or chugs during learning. Usually a hall sensor or phase connection problem rather than a failure of the routine itself. Stop, power down and inspect the hall and phase connectors for security, corrosion, bent pins and damaged insulation before trying again.

Motor spins smoothly in learning mode but not afterwards. Points at the routine not completing or not saving, or at the learning wires being disconnected at the wrong moment. Repeat the documented sequence exactly, paying attention to the specified disconnection point.

Motor only works while the learning wires stay connected. The routine has not completed. This is not a workaround to ride with — the system is sitting in a commissioning state rather than a running one. Repeat the routine per your documentation, and contact support if it will not complete.

Motor runs backwards after learning. Common, and usually resolved by repeating the routine as documented, since some systems establish direction during learning. Some controllers instead offer a direction setting in software. Either way, do not start by swapping phase wires on an auto-learning controller: that pre-empts the routine and can leave you with a combination the controller then learns around.

Motor does not move at all. Check power reaching the controller, connector seating and whether you have identified the correct learning pair. If the display reports a hall, motor or communication fault, record the exact code and what you were doing before resetting anything.

Decision guide: stop on smoke or a burning smell, power off if the motor runs backwards or judders, do not ride if the routine did not complete
Know when to stop. General safety guidance; follow the instructions for your exact controller.

Self-Learning or a Hall-Sensor Fault?

These present similarly and are worth telling apart before buying parts. Hall sensors report rotor position to the controller so it knows when to switch each phase. When one fails, the controller loses part of that picture.

What you observe More likely Next step
Smooth spin during learning Routine working normally Continue the documented sequence
Cogging or stuttering, some movement Hall or phase connection issue Inspect connectors with power off
No movement, no fault code Power, connector or wrong pair Recheck identification and supply
Repeatable hall fault code Hall circuit or sensor Stop; this needs diagnosis, not retries
Works sensorless, faults with halls Hall wiring or a failed sensor Technician diagnosis

Diagnostic starting points, not confirmed causes. Connectors are cheaper to check than parts are to replace.

On our smart controllers the Ride Power app’s live data includes Hall state and fault codes, so you can see whether the controller is reading the sensors before you replace anything.

Check connectors and pins before replacing anything, because a poor connection produces the same symptoms as a failed sensor and costs nothing to rule out. Measurement has its place afterwards, but keep it within safe limits: low-voltage signal checks with the system de-energised are one thing, and probing battery or controller power conductors is another. Do not probe high-voltage conductors, and do not open a battery pack — internal motor or controller diagnosis belongs with a qualified technician (GOV.UK).

Self-Learning vs Manual Phase and Hall Matching

Approach Advantage Trade-off
Self-learning Faster; fewer chances to mis-pair by hand Only on controllers that support it
Manual matching Works on any controller Trial and error; more scope for error and damage
Sensorless operation Runs without hall sensors Start-up behaviour can be poorer at low speed

Different routes to the same result. Neither removes the need for the wheel to be raised.

Manual matching means working through phase and hall combinations until the motor runs correctly, which is legitimate on controllers without a learning function but carries more risk of running a motor in a bad combination while you search. Where a controller supports learning, use it. And note that a hall-sensor fault can prevent a learning routine from completing at all — if the controller cannot read position reliably, it cannot establish the relationship, which is why a failed routine sometimes points at the sensors rather than the procedure.

How Self-Learning Differs Across Controller Systems

Four systems, listed alphabetically. These are described rather than ranked, and the point of the section is that each documents its own approach — a routine from one does not transfer to another.

1. Flipsky FSESC 75100 Pro

An open-platform controller configured through a computer application rather than a wire pair, where motor identification is run as a detection routine in software. That gives unusually detailed control and logging, and it expects a laptop, a considered setup and a reasonable understanding of the parameters. The detection process is documented by the platform rather than by a physical learning connector, so anyone coming from a wire-pair system should expect a different workflow entirely.

2. Generic Sine-Wave Controllers with a Learning Jumper

Many budget sine-wave controllers use a two-wire learning jumper: join it, power up with the wheel raised, check the direction, then disconnect. Owners report that some reverse direction when the routine is repeated or with a throttle input during learning, and that some must be powered down to save the result — exactly why the steps for one unit should not be assumed for another. Documentation is often thin, so ask the seller for the procedure for the exact model before you start.

3. KirbEbike Smart Controllers

Our controllers support self-learning, Hall-sensor and Hall-free operation and Hall compensation. The learning lead is labelled on the harness diagram, self-learning is also listed in the Ride Power app’s settings, and the app’s live data shows Hall state and fault codes, which helps separate a learning problem from a sensor fault — see the controller and display range. Honest limits: harness layouts can change between generations, so confirm yours with support; they pair with our own motors and displays rather than universally, and the units are potted, so a fault means replacement rather than repair.

KirbEbike Bluetooth smart controller for 2000W-3000W kits, 168 x 88 x 52mm, with USB module
KirbEbike smart controller. Confirm the controller generation and harness with support before commissioning.

4. Sabvoton SVMC7260

A programmable FOC controller with a documented self-learning function for motor identification, configured through its app or PC tooling. The routine is part of a broader parameter set covering current limits and other behaviour, so identification is one step within a fuller commissioning process. Documentation quality varies between resellers, which matters here more than usual: an approximate procedure for a controller that spins a motor under power is not a safe substitute for the manufacturer version.

System How identification is run Setup route Note
Flipsky FSESC 75100 Pro Software detection routine PC application Different workflow to a wire pair
Generic sine-wave controllers Two-wire learning jumper Jumper, often no software Steps vary; documentation often thin
KirbEbike smart controllers Self-learning supported App plus documented routine Request the routine for your generation
Sabvoton SVMC7260 Documented self-learning App or PC tooling Reseller documentation varies

Listed alphabetically and not ranked. Procedures are not interchangeable between systems.

Common Mistakes to Avoid

Do not Why
Run the routine with the wheel on the ground The motor spins under power; the bike will move
Identify learning wires by colour Conventions vary by maker and generation
Use a procedure written for another make Connectors, entry conditions and completion differ
Ride with the learning wires connected It is a commissioning mode, not a riding mode
Swap phase wires first on an auto-learning controller It pre-empts the routine and confuses the result
Repeat a failing routine over and over Cycling a motor into a fault condition risks damage
Probe high-voltage conductors or open a pack Serious shock and fire risk; not a DIY diagnostic
Continue after heat, smoke or a burning smell Stop, disconnect and investigate before anything else

If a step requires guessing which wire is which, stop and get the documentation.

Does Self-Learning Change Performance or Legality?

No to both. Self-learning establishes correct commutation so the motor runs as intended; it does not raise current limits, add torque or increase speed. If the bike feels quicker after a successful routine, that is a motor running properly rather than a motor running harder. And it has no bearing on classification: what determines whether a completed cycle is a road-legal electrically assisted pedal cycle is the motor’s continuous rated power, working pedals and where assistance cuts off — in Great Britain, 250W and 15.5mph (GOV.UK). Commissioning a controller correctly changes none of that.

Product touchpoint

Ask for the routine before you connect anything

The single most useful thing you can do is get the documented learning routine for your exact controller and generation — wire identification, entry conditions, what to observe and where to disconnect. Ask us for it for any KirbEbike controller, and we will send the version that applies to your unit rather than a general description. If you are still building, a complete kit arrives with the motor and controller already matched, which usually removes the need for the routine altogether.

Compare controllers and kits →

Conclusion: Learn the Motor Once, Then Return to Normal Mode

Self-learning wires exist to save you from matching phase and hall combinations by hand. They put the controller into a temporary commissioning mode, it works out how to drive your motor, and then you disconnect them and ride normally. That is the whole feature — it is not a performance setting and not something to leave connected.

So treat it as workshop work rather than a tweak. Raise and secure the wheel, keep everyone clear, identify the connector from your own documentation rather than by colour or by a video for another make, and know how you will cut power before you apply it. If the motor judders, will not run, or works only while the wires are joined, stop and check connectors before repeating. And stop entirely on heat, smoke or a burning smell (GOV.UK) — that is a fault, not a step to push through.

Commission it once, safely

Wheel raised, area clear, documentation open, hand on the power.

FAQs

What are the self-learning wires on an ebike controller?

A pair of conductors that put a supporting controller into a temporary mode where it drives the motor and works out the correct phase and hall relationship, so you do not have to match them by hand.

Which colour wires are the self-learning wires?

There is no reliable colour answer. Conventions vary between manufacturers, controller generations and production runs, so identify the pair from the documentation for your exact controller rather than by colour.

Do I leave the self-learning wires connected?

No. Learning is a temporary commissioning mode. Disconnect the wires at the point your documentation specifies, then power cycle and test normal throttle or pedal-assist operation with the wheel still raised.

Why does my ebike motor run only in learning mode?

The routine has not completed or saved. Repeat the documented sequence, paying attention to the specified disconnection point, and contact support if it will not complete. Do not ride in that state.

Why does my motor spin backwards after self-learning?

Some systems establish direction during the routine, so repeating it as documented often resolves it. Some controllers offer a direction setting instead. Do not start by swapping phase wires on an auto-learning controller.

What should I do if the motor judders during self-learning?

Stop and power down. Juddering usually points at a hall sensor or phase connection problem rather than the routine itself, so inspect those connectors for security, corrosion and bent pins before trying again.

How do I check ebike controller wiring?

Work from the documentation for your exact controller, inspect connectors with the system de-energised, and keep any measurement to low-voltage signal checks. Do not probe high-voltage conductors or open a battery pack.

Can I bypass an ebike controller?

No. The controller sequences power to the motor windings and provides current and voltage protection. There is no safe way to run a brushless motor without one, and attempting it risks damage, fire and injury.

Does self-learning make an ebike faster?

No. It establishes correct commutation so the motor runs as intended. Speed and torque come from voltage, motor winding, controller current limits and gearing, none of which the routine changes.

Do all controllers use the same self-learning procedure?

No. Entry conditions, connector arrangements and completion behaviour differ between makes and generations, so a procedure written for one controller should never be applied to another.

Sources

Sources

  1. [1] UK Office for Product Safety and Standards — Government safety message on e-bikes and e-scooters.
  2. [2] UK Government — Battery safety for e-cycle users.
  3. [3] UK Government — Riding an electric bike: the rules.
  4. [4] London Fire Brigade — Electric bicycle conversion kits.
🛡️
A note on safety & legality. General information, not a substitute for the manufacturer’s documentation or a qualified technician. A learning routine drives the motor under power: always raise and secure the driven wheel completely, keep everyone clear of it, and be ready to cut power before energising anything. Never identify a learning connector by wire colour, never apply a procedure written for a different controller, and never ride with learning wires connected. Do not probe high-voltage battery or controller conductors, and do not open a battery pack — internal diagnosis belongs with a qualified technician. Stop immediately and disconnect if you see heat, smoke, arcing, a burning smell or damaged insulation, and do not recharge a damaged battery. Self-learning does not affect legal classification: in Great Britain a converted cycle is an EAPC only when it has working pedals, a motor rated no higher than 250W continuous and assistance stopping at 15.5mph (GOV.UK).

About this guide

Author: Andy Kirby. Technical review: KirbEbike conversion-support team. Last reviewed: October 2026. Methodology: safety guidance is cited to GOV.UK, OPSS and London Fire Brigade, and legality to GOV.UK, all cited inline. This article publishes no wire colour, pinout or step timing for any controller; the only connector identification shown is our official harness diagram, and readers are directed to the documented routine for their exact controller and generation. No procedure documented for one manufacturer’s controller is presented as applying to another. The symptom guidance provides general starting points rather than confirmed causes, and no measured timing, current or temperature figure is claimed. Controller capabilities are the manufacturers’ own published claims.