Controller in an Electric Vehicle: What the VCU and Motor Controller Do

What the controllers in an EV actually do: the VCU turns pedal and brake into a torque request, the motor controller makes it with field-oriented control and PWM, and the BMS sets the limits. One worked example from 40% pedal to 166.7 A of phase current, plus base speed, field weakening and regen blending, checked by a script.

Controller in an Electric Vehicle: What the VCU and Motor Controller Do

The controller in an electric vehicle decides how much torque the motor makes, moment to moment. Two units share the job: the vehicle control unit (VCU) reads the accelerator, brake and gear selector and turns them into a torque request, and the motor controller (traction inverter) turns battery DC into three-phase AC with exactly the current that torque needs. The battery management system (BMS) sets the limits both must respect.

In short (worked example and sources checked 20 Nov 2026)

  • Torque is current: in a permanent-magnet motor, torque = 1.5 × pole pairs × magnet flux × q-axis current. Our example motor (4 pole pairs, 0.1 Wb) makes 0.6 N·m per amp, so 100 N·m needs 166.7 A peak.
  • Space-vector PWM gets 2/√3 = 15.5% more AC voltage out of the same battery than plain sine PWM (Texas Instruments, SPRA524). On a 350 V pack that is 202 V instead of 175 V peak per phase.
  • Base speed: that extra voltage lets our example hold full 250 N·m up to 3,706 rpm instead of 3,209 rpm; above it the controller weakens the field and torque falls.
  • Regen: stopping a 1,500 kg car from 60 km/h at 0.3 g asks for 73.6 kW of braking at first. With a 35 kW battery charge limit, the VCU blends in friction brakes above 35.7 km/h; regen still handles 84% of the kinetic energy.
  • India: under PM E-DRIVE, from 1 May 2025 the motor controller/inverter and VCU of a subsidised e-2W or e-3W must have their PCB assembly and firmware flashing done in India (MHI gazette S.O. 1078(E), 3 Mar 2025).

This explainer is for electrical and mechanical students, and for engineers moving into EV powertrain, controls or embedded roles. It keeps the signal list from the first version of this article (Navin Baskar, Skill-Lync, 2023) and adds the motor-control side with one worked example that runs from pedal to phase current. The example vehicle and motor are our own stated assumptions, not a real model; every number was computed by a script kept with this article.

What does a controller do in an electric vehicle?

An EV controller converts what the driver asks for into motor torque, safely. The VCU interprets the pedals and gear selector and decides the torque; the motor controller produces that torque by switching battery DC into three-phase AC at the right frequency, amplitude and phase. The BMS caps how much power can flow either way.

"The controller" in a parts list usually means the motor controller, because it is the box between the battery and the motor. In practice several controllers share the work over a CAN network:

ControllerMain inputsMain outputs
VCU (vehicle control unit)Pedals, gear, wheel and vehicle speed, BMS limitsTorque request, HV power-up sequence, regen and brake blending
MCU (motor controller / traction inverter)Torque request, phase currents, rotor angle, DC voltagePWM gate signals to six power switches, faults
BMS (battery management system)Cell voltages, temperatures, pack currentCharge and discharge power limits, state of charge
DC-DC converter and on-board chargerHV bus, charger input12 V supply, battery charging current
Block diagram: driver inputs go to the VCU, the VCU sends a torque request over CAN to the motor controller's control board, the BMS exchanges limits with the VCU, the control board sends gate signals to the power stage, the 350 V battery feeds DC to the power stage, which feeds three-phase AC to the motor; current and rotor angle feed back to the control board
Who controls what. The motor controller (MCU) is drawn as two boxes: the control board that runs the maths and the power stage that switches the current. In a real unit they sit in one housing.

What does the vehicle control unit (VCU) do?

The VCU is the EV's supervisor. It reads the driver's inputs and the vehicle's state, works out how much drive or braking torque is wanted and allowed, and sends that request to the motor controller. It also sequences high-voltage power on and off and coordinates the other controllers over CAN.

The basic signals, as listed in the first version of this article, are still the core of every VCU:

  • Accelerator pedal position: how far the pedal is pressed sets the torque (or speed) demand.
  • Brake pedal: cuts drive torque and starts regenerative braking, blended with the friction brakes.
  • Gear selector: forward, neutral or reverse, which sets the sign of the torque request.
  • Wheel speed: tells the VCU how the vehicle is moving and allows closed-loop control such as traction control.
  • Vehicle speed: used to judge the driving state and for the instrument cluster.

The VCU then applies limits before it asks for anything: the BMS's charge and discharge power, the motor controller's temperature, and the speed. A real torque map depends on speed and drive mode; our example uses the simplest version, torque request = pedal fraction × peak torque.

These units talk over CAN, a two-wire bus where every node can read every message. The original version of this article described a typical two-bus layout: a high-speed bus at 500 kbit/s for the motor controller, BMS, charger and diagnostics, and a slower bus for comfort loads such as air conditioning and the instrument cluster. According to CAN in Automation, Classical CAN is limited to 1 Mbit/s and 8 data bytes per frame, while CAN FD carries up to 64 bytes; both are standardised in ISO 11898-1:2024.

How does a motor controller turn battery DC into motor torque?

The motor controller switches six power transistors (three half-bridges) on and off thousands of times a second. The average voltage on each phase follows a sine wave, the motor's inductance smooths the current, and a control loop called field-oriented control (FOC) sets that current's size and angle so the motor makes exactly the torque requested.

Top: a sine reference compared with a 1.5 kHz triangle carrier, with the resulting switching pulses of one inverter leg. Bottom: the resulting 50 Hz phase current, about 37.6 A amplitude, with small switching ripple
Pulse-width modulation (PWM) from our simulation: 350 V DC, a three-phase inverter and a 2 Ω + 10 mH load per phase. Wider pulses where the sine is high give a higher average voltage; the inductance turns the pulses into a smooth current.

Field-oriented control works in four steps every switching period:

  1. Measure the phase currents and the rotor angle (from a resolver or encoder).
  2. Transform the three AC currents into two DC-like values in a frame that rotates with the rotor (Clarke and Park transforms): id, aligned with the magnet, and iq, at 90° to it.
  3. Regulate both with PI controllers: iq to the value the torque request needs, id to zero at low speed in a surface-magnet motor, or negative at high speed.
  4. Transform back to three phase voltages and set the PWM duty cycles.

Torque in a permanent-magnet synchronous motor (PMSM), in the form MathWorks gives for its PMSM model, is

where p is the number of pole pairs, ψm the magnet flux linkage and Ld, Lq the d- and q-axis inductances. For a surface-magnet motor Ld = Lq, the second term vanishes and torque is simply proportional to iq. That is why FOC makes a PMSM feel like a DC motor to the VCU: ask for torque, get current.

Worked example: from 40% pedal to phase current

At 40 km/h with the pedal 40% down, our example car asks for 100 N·m, which needs 166.7 A peak of q-axis current, about 144 V peak per phase at a 212 Hz electrical frequency, and 106 A from the 350 V battery. The vehicle accelerates at 2.0 m/s².

The assumptions: a 1,500 kg car, 0.30 m wheel radius, a single 9:1 reduction, a 350 V battery, and a surface-magnet PMSM with 4 pole pairs, ψm = 0.1 Wb, Ld = Lq = 0.2 mH, 0.02 Ω per phase and 250 N·m peak torque.

1. Torque request. The VCU maps 40% pedal to 0.40 × 250 = 100 N·m.

2. Current. The torque constant is 1.5 × 4 × 0.1 = 0.6 N·m/A, so

That is 117.9 A rms per phase. The peak torque of 250 N·m needs 416.7 A, which is the current the power stage must be rated for.

3. Speed and frequency. At 40 km/h the wheel turns at 11.11 / 0.30 = 37.0 rad/s, the motor at 9 times that, 333.3 rad/s or 3,183 rpm. The electrical frequency is pole pairs times that: 1,333 rad/s, or 212.2 Hz. The controller's output frequency tracks road speed.

4. Voltage. In steady state, with id = 0, the dq voltage equations give

so the phase voltage amplitude is √(44.4² + 136.7²) = 143.7 V. That is below the 202 V the inverter can make from 350 V, so the controller has headroom.

5. Battery current. Mechanical power is 100 × 333.3 = 33.3 kW. Assuming 90% motor-plus-inverter efficiency, the battery supplies 37.0 kW, or 105.8 A at 350 V.

6. Result at the road. 100 N·m × 9 / 0.30 m = 3,000 N at the tyres, which accelerates 1,500 kg at 2.0 m/s² (ignoring drag and rolling resistance). If you want to size the battery side of the same car, our battery pack calculator and gradeability calculator take it from here.

Why does an EV lose torque at high speed?

Because the motor's back-EMF rises with speed until it uses up all the voltage the inverter can make from the battery. Up to that "base speed" the controller can hold full torque; beyond it, the controller has to inject negative d-axis current to weaken the magnet's field, and available torque falls roughly in proportion to 1/speed, holding power nearly constant.

Torque against motor speed for the example motor. With space-vector PWM, 250 N·m holds to 3,706 rpm then falls to about 81 N·m at 14,000 rpm; with sine PWM the fall starts at 3,209 rpm and stays lower. The worked example point, 100 N·m at 3,183 rpm, sits well inside
The controller sets the envelope. Below base speed the current limit (416.7 A) caps torque; above it the voltage limit does, and field weakening trades torque for speed. Space-vector PWM moves the knee 15.5% higher than sine PWM.

How the controller modulates matters. With plain sine-triangle PWM the peak phase voltage is Vdc/2. Space-vector PWM (SVPWM) uses the inverter's switching states more fully and reaches Vdc/√3; Texas Instruments' application note SPRA524 puts it as 2/√3 times what sine PWM can generate:

At full current the motor needs a voltage of ωe√(ψm² + (Lqiq)²). Setting that equal to the limit gives a base speed of 3,706 rpm (about 47 km/h) with SVPWM and 3,209 rpm (about 40 km/h) with sine PWM. Same battery, same motor: the software alone moves the point where full torque starts to fade. Above base speed, MathWorks describes field weakening as driving the d-axis current negative; in our example this keeps 81 N·m available even at 14,000 rpm (about 176 km/h).

How does the controller handle regenerative braking?

In regen the motor controller asks for negative torque, so the motor works as a generator and pushes current back into the battery. The VCU decides how much braking comes from regen and how much from the friction brakes, because the battery can only accept so much charging power, a limit the BMS sets from temperature and state of charge.

Braking power against speed while a 1,500 kg car stops from 60 km/h at 0.3 g. Demand falls from 73.6 kW to zero; regen is capped at 43.75 kW at the wheels, so friction brakes cover the gap above 35.7 km/h; regen handles 84 percent of the kinetic energy
Brake blending in our example. The green area is energy sent back through the motor; the red triangle is what the friction brakes must take because the battery cannot absorb it.

The numbers for a 0.3 g stop from 60 km/h (16.67 m/s), ignoring drag and rolling resistance:

  • Kinetic energy: ½ × 1,500 × 16.67² = 208.3 kJ, which is only 0.058 kWh. Regen helps most in stop-start city driving, where this happens again and again.
  • Braking power at the start: 1,500 × 2.94 × 16.67 = 73.6 kW. The stop takes 5.7 s.
  • Assume the BMS allows 35 kW of charging and the wheel-to-battery path is 80% efficient: regen can then take 43.75 kW at the wheels. Above 35.7 km/h the VCU adds friction braking for the difference.
  • Result: 84% of the kinetic energy goes through the regen path and 67% (139 kJ) ends up in the battery; the friction brakes turn the other 16% (34 kJ) into heat.

Regen is not optional for most subsidised Indian two-wheelers: the PM E-DRIVE scheme's technical eligibility criteria (MHI gazette S.O. 4259(E), 29 Sep 2024, Annexure-3) require regenerative braking on e-2Ws, with e-rickshaws and e-carts exempt. Battery-side limits are explained in our post on how a battery management system works.

What protections does a motor controller provide?

A motor controller protects the battery, the motor, the power switches and the people around them. It watches current, voltage, temperature and its own sensors, limits torque before anything overheats, and switches to a safe state on a fault. The gate driver keeps the high-voltage power stage electrically isolated from the low-voltage control board.

  • Over-current and short circuit: the gate driver and control board turn the switches off before a fault current can destroy them.
  • Over-voltage and under-voltage on the DC bus, for example when regen meets a full battery.
  • Temperature derating: torque is reduced as the power module or motor windings heat up, rather than shutting down at once.
  • Sensor plausibility: a wrong rotor angle makes the wrong torque, so the angle sensor and current sensors are cross-checked.
  • Isolation: the gate driver separates the control circuit from the power circuit, as the first version of this article described.

IGBT or SiC: what is inside the power stage?

Traction inverters switch the current with silicon IGBTs or silicon carbide (SiC) MOSFETs. SiC loses less energy as heat, which raises efficiency and range and suits 800 V systems. Bosch, starting production of its 800 V SiC inverter in 2023, said SiC cuts heat loss in the power electronics by 50% and lifts inverter efficiency to as much as 99%.

Bosch also noted that 400 V systems had become the industry standard, and that doubling the voltage at the same current doubles the power, allowing thinner cables. For a controller engineer the trade-off is practical: SiC switches faster, which shrinks losses but makes gate-driver design, electromagnetic interference and protection harder. The control principles above are the same whichever switch the power stage uses.

Are EV motor controllers made in India, and who hires for this?

Increasingly, yes. From 1 May 2025, PM E-DRIVE's phased manufacturing rules (MHI gazette S.O. 1078(E), 3 Mar 2025) require the motor controller/inverter, VCU, BMS, DC-DC converter, charger and instrument cluster of a subsidised e-2W or e-3W to have their PCB assembly and firmware flashing done in India. The scheme now runs to 31 Mar 2028.

That puts controller hardware and firmware work in India, not just assembly. Our PM E-DRIVE explainer has the full rules, and the rare-earth magnet shortage explains why the PMSM in this example is not a supply-chain-free choice.

On jobs, Skill-Lync's placement records (3,711 records up to 7 Nov 2026, data snapshot of 15 Nov 2026) show a median starting offer of 3.5 LPA for learners placed in EV roles (n = 452), and 3.5 LPA for MBD/controls engineers in EV (n = 87), the role closest to controller software. Tata Elxsi (60 placements), Expleo Engineering (47) and Ola Electric (28) hired the most of them. These are self-reported placements, mostly 2021-2023 starting offers, not the whole market; see EV engineer salaries for more.

To build these skills with projects, the Introduction to Control of Electric Vehicle course covers the control side and the Post Graduate Program in Electric Vehicle Design & Development covers the whole powertrain; compare all Skill-Lync EV courses, or talk to a Skill-Lync counsellor about which fits you. For a free start, the power electronics in EVs webinar runs 1.6 hours.

Frequently asked questions

What is the function of a controller in an electric vehicle?

It turns the driver's request into motor torque. The VCU reads the pedals and gear selector and sets a torque request; the motor controller switches battery DC into three-phase AC with the current that gives that torque, and runs regenerative braking. Both stay inside power limits set by the battery management system.

What is the difference between a VCU and an MCU in an EV?

The VCU (vehicle control unit) is the supervisor: it interprets the driver, manages power-up, blends regen with friction brakes and talks to every module over CAN. The MCU (motor control unit) is the motor controller or traction inverter: it executes the torque request using field-oriented control and PWM, and protects the motor and power switches.

Is the motor controller the same as the inverter?

Mostly, yes. In a modern EV the traction inverter and motor controller are one unit: a control board running field-oriented control, a gate driver, and a power stage of six switches with a DC-link capacitor. Integrated "3-in-1" drive units also exist; India's PM E-DRIVE manufacturing rules check each component of such a unit separately.

Why do EVs use field-oriented control?

Because it controls torque directly and smoothly at every speed. FOC splits the motor current into a torque-making part (q-axis) and a flux part (d-axis), so a PMSM responds like a DC motor. It also allows field weakening, which extends the speed range once the motor's back-EMF reaches the battery voltage limit.

How much energy does regenerative braking recover?

It depends on the battery's charge limit, speed and how hard you brake. In our example, a 1,500 kg car stopping at 0.3 g from 60 km/h sent 84% of its kinetic energy through the motor and 67% into the battery, with a 35 kW charge limit. City driving benefits most; steady highway driving recovers little.

Which skills do I need to work on EV controllers?

Electric machines and power electronics basics, control theory (PI loops, Clarke and Park transforms), MATLAB/Simulink model-based design, embedded C on motor-control microcontrollers, and CAN communication. Hardware roles add gate-driver and PCB design; validation roles add hardware-in-the-loop testing. A small FOC simulation in Simulink is a strong first project.

Sources and further reading

Want this on your résumé?

Talk to a counsellor.

Talk to a career counsellor

Free 20-minute call. We'll map the right course to where you want to work.

By submitting you agree to our Terms and Privacy Policy.

Talk to a career counsellor

Talk to a career counsellor

Free 20-minute call. We'll map the right course to where you want to work.

By submitting you agree to our Terms and Privacy Policy.