What an EV motor controller does
Follow the signal and energy paths
- The rider requests torque through the vehicle controls.
- The EV motor controller checks operating limits and feedback.
- Gate drivers command the power switches.
- Controlled phase currents produce motor torque.
- Feedback updates the next command.
Why battery current and phase current differ
Battery current describes DC input. Phase currents flow through motor windings and change during switching. They are not interchangeable ratings, and no fixed multiplier applies at every operating point.
The EV motor controller is the vehicle's power manager: it decides how much current flows from the battery to the motor, and when.
Its five jobs
- Power conversion: turns battery DC into three-phase AC (variable frequency and amplitude) for the motor.
- Torque and speed control: converts the throttle position into a motor current request, with ramps for smooth starts.
- Commutation: uses Hall sensors, an encoder or sensorless estimation to know where the rotor is and energise the right windings.
- Regenerative braking: runs the motor as a generator to slow the vehicle and recharge the battery.
- Protection and diagnostics: limits current, cuts out at low or high voltage, reduces power when hot, and reports faults as error codes or LED blinks.
How an EV motor controller drives the motor: the three-phase bridge and PWM
Adjust PWM duty cycle
This model switches between 0 V and 48 V. Average switch-node voltage = duty ร DC bus voltage. It does not predict motor speed or line-to-line motor voltage.
Why complementary switches need dead time
A short non-overlap interval helps prevent the high-side and low-side devices in the same leg conducting simultaneously. The required timing depends on the devices, driver and hardware; this illustration does not specify it.
Six switches, two per phase, connect each motor wire to either the battery's positive or negative terminal.
PWM (pulse-width modulation) controls how much voltage the motor "sees": switching the transistors on for a larger share of each cycle (a higher duty cycle) gives more voltage and more current. Between transistors, the gate driver adds a tiny dead-time so the high-side and low-side switches of one leg are never on together.
Why controllers "blow"A shorted MOSFET is the most common hard failure. Typical causes are a phase-wire short, water ingress, an EV motor controller pushed beyond its current rating on steep climbs or with overloading, voltage spikes from a battery disconnected while running, or poor cooling. A controller with a shorted MOSFET often makes the motor hard to turn by hand even with the power off.
Square-wave vs sine-wave vs FOC controllers
Explore the control approaches
Motor design, position information, tuning and thermal conditions all affect the result. An EV motor controller label alone cannot guarantee smoothness or efficiency.
| Square-wave (six-step) | Sine-wave | FOC (field-oriented control) | |
|---|---|---|---|
| How it works | Energises two phases at a time in 6 steps, using Hall sensors | Shapes the phase current into a sine wave | Measures phase currents and controls torque-producing and flux-producing current separately |
| Smoothness & noise | Some vibration and whine at low speed | Smoother and quieter | Smoothest and quietest |
| Efficiency | Good | Better | Best across the speed range |
| Extra features | Basic | Some regen and speed modes | Field weakening for higher top speed, precise regen, sensorless operation |
| Cost | Lowest | Medium | Higher |
| Typical use | Budget e-rickshaws, e-cycles | Mid-range scooters, newer e-rickshaws | Premium scooters and motorcycles, all cars |
FOC in plain words
A motor's current can be split into two parts: one that produces torque (called Iq) and one that adds to or opposes the magnets' field (Id). FOC continuously measures the phase currents, uses the rotor position to translate them into Iq and Id, and controls each independently, many thousands of times a second. The result is smooth torque from zero speed, the best efficiency, and the ability to weaken the field (negative Id) to push the motor past its normal top speed.
Upgrading a vehicle?Replacing a square-wave EV motor controller with a sine-wave or FOC controller of the same voltage and current rating usually makes a hub-motor scooter or e-rickshaw quieter and slightly more efficient. Match the voltage, current, Hall sensor type and connector pinout, and expect to run the controller's phase/Hall learning routine.
MOSFET vs IGBT vs SiC vs GaN: the power switches
Trace heat through the assembly
Two loss mechanisms
Conduction losses occur while current flows through a switch. Switching losses occur during transitions. Increasing switching frequency can increase transition losses; actual performance depends on device and operating conditions.
Read the datasheet as a system
Check voltage transients, current definition, gate drive, cooling, switching conditions and junction-temperature limits together. A headline device current rating is not the completed EV motor controller rating.
The power transistors decide how much current an EV motor controller can handle, how hot it gets and how efficient it is.
| Device | Typical voltage class | Switching speed | Strengths | Where it's used |
|---|---|---|---|---|
| Silicon MOSFET | Up to ~150 V (in EV drives) | Fast (tens of kHz) | Very low losses at low voltage, cheap, easy to parallel | Almost all scooters, motorcycles and e-rickshaws (48โ96 V) |
| IGBT | 600โ1,200 V | Medium (up to ~20 kHz) | Robust, handles high voltage and current, mature | Many electric cars, buses and industrial drives |
| SiC MOSFET | 650โ1,700 V | Fast | Lower losses than IGBT, runs hotter, smaller cooling; boosts range a few percent | Newer 400 V and especially 800 V cars and fast chargers |
| GaN transistor | Up to ~650 V | Very fast | Extremely low switching loss, compact | On-board chargers and DC-DC converters today; traction inverters emerging |
A scooter EV motor controller labelled "72 V 60 A" might use 12โ24 MOSFETs in parallel, rated around 100โ150 V, mounted on an aluminium plate that doubles as the heatsink. A car inverter at 350โ800 V uses IGBT or SiC power modules with liquid cooling.
Regenerative braking: how controllers recover energy
See how battery acceptance limits regen
For this simplified model, accepted power is the smaller of requested power and battery allowance. Real systems also limit regen by speed, traction, voltage and temperature. Friction braking remains necessary; regen is not guaranteed.
When you release the throttle or press the brake, the EV motor controller changes the switching pattern so the spinning motor generates current instead of using it. That current flows back through the controller into the battery, creating a braking force. In stop-start city traffic this can recover a useful share of energy and reduce brake wear.
- Regen fades at low speed: there's little energy to recover below about walking pace, so mechanical brakes always finish the stop.
- No regen when the battery is full: the BMS blocks charging current, so regen is reduced or disabled at 100%.
- Lead-acid batteries accept regen poorly, and over-voltage during long descents can trip the EV motor controller. Lithium packs accept it better, within the BMS charge-current limit.
- Settings matter: most programmable controllers let you set regen strength, the brake-switch trigger and the maximum regen current.
Over-voltage riskNever disconnect the battery while the vehicle is rolling. With no battery to absorb regen current, the voltage inside the EV motor controller can spike and destroy the MOSFETs.
EV EV motor controller wiring explained: every connector
Series and parallel: understand the supply
Identical example cells: 3.2 V nominal, 5 Ah. Series adds voltage; parallel adds capacity. This arithmetic illustration is not a pack construction guide. Actual series count, full-charge voltage and BMS limits must come from the pack specification.
Most scooter and e-rickshaw controllers in India follow the same pattern. Colours vary by brand, so always confirm with the label or a multimeter.
| Connection | Common colours* | What it does | Typical reading |
|---|---|---|---|
| Battery B+ / Bโ | Red / Black (thick) | Main power input, through a fuse | Pack voltage, e.g. 48โ58 V on a 48 V LFP pack |
| Phase U, V, W | Yellow, Green, Blue (thick) | Three-phase power to the motor | Equal resistance between each pair (battery off) |
| Hall sensor harness | Red 5 V, Black GND, Yellow / Green / Blue signals | Tells the controller the rotor position | 5 V supply; each signal switches between ~0 V and ~5 V as the wheel turns |
| Throttle | Red 5 V, Black GND, Green (or white/blue) signal | Speed request | Signal ~0.8โ0.9 V at rest to ~4 V at full throttle |
| Brake (e-brake / cut-off) | Varies, 2 wires | Cuts motor power, can trigger regen | Switches the signal line to ground (low) or 5 V (high), depending on the controller |
| Key / ignition (power lock) | Thin red or orange | Wakes the controller from a small B+ feed | Pack voltage when the key is on |
| Reverse | Varies | Reverses the motor at low speed (e-rickshaws, loaders) | Grounded or open by the reverse switch |
| Speed mode (2/3-speed) | Varies | Selects low / medium / high speed limits | Grounded combinations select modes |
| Self-learning (phase / Hall learning) | Often a pair of same-colour thin wires | Connected briefly, makes the controller detect the motor's phase and Hall sequence automatically | Motor turns slowly by itself; disconnect when done (follow the manual) |
| Display / CAN / UART | Varies | Speed, battery level, error codes, programming | โ |
*Colours are common conventions on Indian and Chinese-made scooter and e-rickshaw controllers, not a standard. Always check the EV motor controller label, and confirm with a multimeter before connecting.
Before you touch any wireFollow the manufacturerโs isolation and lockout procedure and verify absence of voltage; waiting a fixed time does not prove the capacitors are discharged. Connecting a battery to a controller can cause a big spark as the capacitors charge, so use a pre-charge resistor or the controller's key/contactor sequence if it has one.
EV EV motor controller Error Code Lookup
Type the code on your display (for example 24, 0x23, E08) or describe the problem (jerking, cuts off on hills, no power). Codes mean different things on different systems, so pick your display type if you know it.
Get a printable troubleshooting sheet and wiring diagram for your own EV motor controller: size it below, then unlock the sheet.
Go to the sizing tool โKT-style codes (21โ25, 30) are used by many Chinese-made controllers and LCDs; Bafang codes come from Bafang displays. Generic e-rickshaw controllers usually show faults as LED blinks, and the blink meanings are printed on the EV motor controller label. Always confirm with your controller or vehicle manual.
How to test an EV motor controller with a multimeter
Explore fault scenarios safely
Fault codes are model and firmware specific. The lookup below is a starting point, not a diagnosis. Testing is for trained and authorised personnel using manufacturer procedures, isolation and verified absence of voltage where required. Battery disconnection alone does not establish that stored energy is discharged.
These examples are for trained technicians following the exact manufacturer procedure. Readings vary by circuit. Isolate, lock out and verify absence of voltage before power-off tests; stored energy may remain after disconnection.
| Test | How | Good result | Bad result means |
|---|---|---|---|
| 1. Supply voltage | Key on, measure B+ to Bโ at the controller | Pack voltage, steady under load | Low or dropping sharply: battery, fuse, connector or key circuit problem |
| 2. Throttle signal | Key on, measure signal to GND while twisting | ~0.8โ0.9 V at rest, rising smoothly to ~4 V | Stuck high (dangerous runaway risk), stuck low, or jumpy: throttle or wiring fault |
| 3. Hall sensors | Key on, 5 V between red and black; probe each signal while turning the wheel slowly by hand | Each of A, B, C switches between ~0 V and ~5 V | A signal stuck at 0 V or 5 V: failed Hall sensor or broken wire |
| 4. Motor phases | Battery off, phases disconnected; measure resistance UโV, VโW, WโU, and each to the motor body | Three equal low readings; no continuity to the body | One pair different: winding or wire fault. Continuity to body: insulation failure |
| 5. Power stage (MOSFETs) | Battery off; diode test from Bโ to each phase and from each phase to B+ | Similar diode-drop readings on all three phases | Near 0 on any reading: shorted MOSFET, so replace or repair the controller |
Quick check for a shorted EV motor controllerWith the battery disconnected, lift the driven wheel and spin it. Then disconnect the three phase wires from the controller and spin again. If the wheel was hard to turn before and spins freely after, a power-stage fault is possible; this observation alone is not conclusive.
Hall sequence and phase matching
When a motor or EV motor controller is replaced, the three phase wires and three Hall wires must be matched. There are 36 possible combinations, and only a couple run the motor correctly in the right direction. Many controllers have a self-learning wire that finds the right combination automatically. Use the manufacturerโs documented commissioning procedure; do not experiment with phase or Hall wiring on an energised system.
EV motor controller ratings and how to size one
Estimate DC input current
Input current โ mechanical power รท (bus voltage ร combined efficiency). This steady-state estimate excludes transients and does not select a fuse, cable, phase-current limit or EV motor controller.
How to use the original sizing tool below
Its series-count mapping, cell limits, 2.5ร phase-current estimate, cable sizes and fuse suggestions are illustrative assumptions. Verify the actual battery configuration and all thermal, fault-interruption and wiring conditions with qualified design review. Do not apply its suggested cut-offs as universal settings.
"48 V 1000 W" on a label tells you less than you think. These are the numbers that matter.
- Voltage class: must cover the battery's full range, from fully charged to empty. A 48 V LFP pack (16S) reaches about 58 V when full.
- Battery current limit (A): the maximum current drawn from the battery. Power โ voltage ร battery current. This is what a "48 V 30 A" label usually means.
- Phase current limit (A): the current in the motor wires. At low speed it can be 2โ3ร the battery current, and it sets launch and hill-climbing torque.
- Low-voltage cut-off (LVC): the voltage at which the EV motor controller stops, to protect the battery. It must match the battery chemistry.
- Control type and sensor: square-wave or sine/FOC; Hall, encoder or sensorless.
Converting an e-rickshaw from lead-acid to lithium?A lead-acid 48 V EV motor controller usually cuts off around 42 V (10.5 V per 12 V battery). A 48 V lithium pack has a different voltage window, so the controller's low-voltage cut-off and maximum voltage must be reset or the controller replaced. Otherwise you risk over-discharging the pack or the BMS cutting power suddenly.
Work out the voltage, battery current, phase current, fuse and cable sizes for your vehicle.
Use the sizing tool โEV EV motor controller Sizing Tool
Enter your battery and motor. You'll get the EV motor controller voltage class, current ratings, low-voltage cut-off, fuse and recommended controller type. Unlock the full sheet to get a wiring diagram for your setup, cable sizes, controller settings, and a step-by-step troubleshooting guide.
1. Your vehicle, battery & motor
Motor ratings are on the motor label or spec sheet. If you only know one number (like "1000 W"), it's usually the rated power; peak is often 1.5โ2ร rated.
2. EV motor controller you need
Get your wiring diagram & troubleshooting sheet (free)
A wiring diagram for your exact setup, battery and phase cable sizes, EV motor controller settings to program, an installation checklist, and a step-by-step fault-finding guide with the readings to expect.
Estimates for selection and learning. Always follow the EV motor controller and motor manufacturers' ratings, and have high-current wiring done by a trained technician. Road-going vehicles must keep type-approved components.
Careers in EV controllers and power electronics
Track your learning
Progress is stored only in this browser and does not certify practical competence.
EV service technician
Diagnoses EV motor controller, Hall, throttle and wiring faults on scooters and e-rickshaws. The most in-demand entry role.
Power electronics design engineer
Designs inverter power stages, gate drivers and protection using MOSFET, IGBT and SiC devices.
Motor control firmware engineer
Writes FOC, sensorless and regen algorithms on microcontrollers in embedded C.
Controller test & validation engineer
Runs dynamometer, thermal, EMC and durability tests on controllers.
Field application engineer
Helps vehicle makers choose, program and integrate controllers.
Workshop owner / retrofit specialist
Repairs controllers, upgrades e-rickshaws and runs an EV service business.
Search the EV motor controller glossary
20 terms
- PWM
- Pulse-width modulation: controlling pulse duration within a switching period.
- Duty cycle
- Fraction of a switching period spent in the on state.
- DC bus
- The DC supply rails feeding the inverter power stage.
- Inverter
- Power stage converting DC into controlled motor phase voltages.
- Gate driver
- Circuit that drives the control terminal of a power switch.
- Dead time
- Non-overlap interval between complementary switching commands.
- FOC
- Field-oriented control using rotating reference-frame quantities.
- Phase current
- Current in a motor winding phase, distinct from battery-side current.
- Battery current
- Current at the DC supply connection.
- BMS
- Battery management system that monitors and limits pack operation.
- Regen
- Regenerative operation returning some mechanical energy electrically.
- Derating
- Reducing allowable output to remain within operating limits.
- Hall sensor
- A magnetic sensor that can provide rotor position information.
- MOSFET
- A voltage-controlled semiconductor switch.
- IGBT
- An insulated-gate bipolar transistor used as a power switch.
- SiC
- Silicon carbide, a semiconductor material used in power devices.
- Series
- Identical cells in series add nominal voltage.
- Parallel
- Identical cells in parallel add ampere-hour capacity.
- Precharge
- Controlled charging of DC-link capacitance before normal connection.
- Shoot-through
- Unwanted conduction through both devices in one bridge leg.
EV motor controller references and further learning
Explore the Texas Instruments three-phase inverter reference design to connect the power-stage concepts in this guide with documented hardware. For a protection-focused example, see TIโs isolated three-phase inverter reference design. These are engineering references, not instructions to copy a design into a vehicle.
Continue with DIYguru EV training programs to explore structured learning options. Read the DIYguru course FAQs for common enrolment and learning questions.
























































