Motor driver

On this page 7

A motor driver is the power electronics stage that converts low-power command signals from a controller into the switched voltage and current an electric motor needs to produce torque and motion. In robotics, the motor driver sits between the motion controller and the actuators, and it decides how faithfully a commanded torque, speed or position becomes physical movement.

A driver does more than amplify. It commutates the motor phases, regulates current, protects the motor and itself against faults, and often reports measurements back to the controller. The quality of the driver therefore shapes torque ripple, efficiency, acoustic noise and safety across the whole robot.

How a motor driver controls motor current

A motor driver controls motor current by rapidly switching power transistors on and off, a technique called pulse-width modulation (PWM). The average voltage seen by the winding equals the supply voltage multiplied by the duty cycle, and the winding inductance smooths the resulting current into a nearly continuous waveform.

The basic switching building block is the half-bridge: two transistors stacked between the supply and ground, with the motor terminal connected at their midpoint. Two half-bridges form an H-bridge for a brushed DC motor, three form a three-phase inverter for a brushless DC motor, and two full H-bridges drive the two coils of a bipolar stepper motor.

Because torque is proportional to current, most robotic drivers run a closed current loop. A sense resistor or Hall-effect sensor measures phase current, and a fast regulator adjusts the duty cycle so that measured current tracks the command. Current loops typically run at 10 to 40 kHz, far faster than the velocity and position loops above them.

The main functional blocks of a modern driver are summarized below, together with the role each plays.

BlockFunctionTypical implementation
Power stageSwitches supply voltage onto motor phasesMOSFETs, GaN transistors or IGBTs
Gate driverCharges transistor gates quickly and safelyBootstrap or isolated gate driver IC
Current sensingMeasures phase or bus currentShunt resistor with amplifier, Hall sensor
Control logicRuns commutation and current loopMicrocontroller, DSP or dedicated ASIC
ProtectionDetects overcurrent, overtemperature, undervoltageComparators, thermal sensors, watchdogs
CommunicationReceives commands, reports statusPWM input, step/direction, CAN, EtherCAT
Functional blocks inside a typical motor driver

Motor driver types by motor and control method

Motor driver types differ mainly in which motor they serve and how they shape the phase current. A driver designed for one motor family rarely works well with another, because commutation and current profiles differ fundamentally.

The following table compares the common categories found in robot actuators.

Driver typeMotor servedControl methodTypical robotic use
Brushed DC H-bridgeBrushed DC motorPWM with optional current limitLow-cost wheels, small grippers
Trapezoidal BLDC driverBrushless DC motorSix-step commutation from Hall sensorsFans, pumps, simple drive wheels
Field-oriented control driverBrushless or PMSM motorSinusoidal currents in rotor frameRobot joints, quasi-direct drive actuators
Stepper driverStepper motorChopper current control with microsteppingDesktop arms, positioning stages
Servo driveServo motor with encoderCascaded current, velocity and position loopsIndustrial manipulators, CNC axes
Common motor driver categories in robotics

Field-oriented control (FOC) deserves special mention because it dominates high-performance robot joints. FOC transforms the three phase currents into a rotating reference frame, separating a torque-producing component from a flux component. Regulating these two values independently yields smooth, low-ripple torque down to zero speed, which matters for precise manipulation and compliant contact.

Key parameters for selecting a motor driver

Selecting a motor driver means matching its electrical ratings, control bandwidth and interfaces to the motor and the robot architecture. Undersizing any rating causes thermal shutdowns or failures, while oversizing wastes space, weight and cost.

The parameters below are the ones engineers check first on a datasheet.

ParameterTypical range in roboticsWhat it affects
Supply voltage12 V to 80 V, up to 600 V industrialMaximum motor speed and power
Continuous current1 A to 100 A per phaseSustained torque without overheating
Peak currentTwo to three times continuousShort bursts for acceleration or impacts
PWM frequency16 kHz to 100 kHzAudible noise, current ripple, switching losses
Current loop bandwidth1 kHz to 5 kHzTorque response speed and stiffness
EfficiencyAbout 95 to 99 percentHeat dissipation and battery runtime
Datasheet parameters and what they affect

Thermal design is as important as the electrical rating. A driver rated for 20 A continuous may only reach that figure with a specified heatsink and airflow; inside a sealed robot joint, the real continuous rating is often much lower. Engineers should derate based on ambient temperature and enclosure conditions.

The communication interface also shapes system design. Simple PWM or step and direction inputs suit hobby builds, while multi-axis robots usually rely on CAN bus or EtherCAT so that a central controller can command dozens of joints with deterministic timing and receive position, current and fault data.

A motor driver is often confused with the motor controller and the servo drive, because product names overlap. The distinction lies in which control loops the device closes and how much intelligence it carries.

ComponentPrimary responsibilityLoops typically closed
Motor driverPower switching and current regulationCurrent loop, sometimes none
Motor controllerTrajectory and motion commandsVelocity and position loops
Servo driveIntegrated driver plus feedback controlCurrent, velocity and position loops
Smart actuator moduleMotor, gearbox, driver and encoder in one housingAll loops, networked to host
Driver, controller and drive responsibilities

In practice, the boundaries blur. Many compact robot joints integrate the driver directly onto a circular board behind the motor, combining it with an encoder, a harmonic drive or planetary gearbox and a network interface. This integrated actuator approach shortens high-current wiring and reduces electromagnetic interference.

Protection features, failure modes and common mistakes

A motor driver must protect itself, the motor and the people near the robot, because power stage failures can produce uncontrolled motion or fire. Robust designs include overcurrent, overtemperature, undervoltage and shoot-through protection as a minimum.

Regenerative energy is a frequently overlooked hazard. When a robot arm decelerates or is back-driven by hand, the motor acts as a generator and pushes current back into the supply. Without a brake resistor, clamp circuit or a battery able to absorb it, the bus voltage rises and can destroy the driver.

The table below lists typical symptoms seen during integration, together with their usual causes and remedies.

SymptomLikely causeCorrective action
Driver shuts down during fast stopsBus overvoltage from regenerationAdd brake resistor or larger capacitance
Audible whine from the jointPWM frequency in audible rangeRaise PWM above 20 kHz
Jerky motion at low speedPoor current loop tuning or encoder offsetRetune gains, calibrate rotor angle
Transistors fail on power-upShoot-through from missing dead timeConfigure dead time in gate driver
Encoder errors near the driverElectromagnetic interference from switching edgesShield cables, shorten phase leads
Integration problems and how to resolve them

Safety functions are increasingly built into drivers. Safe torque off (STO), defined in IEC 61800-5-2, removes gate drive power so the motor cannot produce torque, even if the control software misbehaves. Collaborative robots depend on such functions to meet the requirements of ISO 10218 and related standards.

Explained without jargon

A robot’s brain, the controller, thinks in tiny electrical signals that are far too weak to turn a motor. The motor driver is the muscle translator. It takes those small instructions and feeds the motor exactly the right amount of power from the battery, many thousands of times per second.

Think of it as a skilled tap operator on a water pipe. The controller says how much flow it wants, and the driver opens and closes the tap so quickly that the flow looks perfectly steady. It also shuts the tap at once if something goes wrong. A good driver makes a robot move smoothly, quietly and safely.

A typical use case

A team building a quadruped robot uses twelve brushless motors, three in each leg, running from a 48 V battery. Each joint needs about 15 A continuously while standing and 40 A peaks when the robot jumps. The engineers choose compact field-oriented control drivers mounted directly behind each motor, with a current loop running at 20 kHz and an EtherCAT link to the main computer.

During early tests, drivers shut down whenever the robot landed from a jump, because the legs back-drove the motors and pushed the bus voltage above 60 V. Adding a shared brake resistor circuit clamped the voltage at 54 V. The result was reliable landings, quiet walking and joint torque precise enough for the robot to balance on uneven gravel.