Motor Control & Drive Circuits

Introduction to Motor Control

Electric motors convert electrical energy into mechanical motion. Motor control circuits regulate speed, torque, direction, and position using various power electronics techniques.

Understanding motor control is essential for robotics, automation, electric vehicles, and industrial applications.

DC Motor Fundamentals

Torque-Current Relationship

Where τ is torque (N·m), Kt is torque constant, and I is armature current (A)

Speed-Voltage Relationship

Where ω is angular velocity (rad/s), V is supply voltage, R is armature resistance, and Ke is back EMF constant

Power Output

Mechanical power (Watts) = Torque × Angular velocity

H-Bridge Motor Driver

The H-bridge is a circuit that allows bidirectional current flow through a motor, enabling forward/reverse operation and speed control.

Operating Modes

  • Forward: Q1 & Q4 ON, Q2 & Q3 OFF → Current flows left to right
  • Reverse: Q2 & Q3 ON, Q1 & Q4 OFF → Current flows right to left
  • Brake: Q2 & Q4 ON or Q1 & Q3 ON → Motor terminals shorted
  • Coast: All transistors OFF → Motor freewheels

PWM Speed Control

Speed is controlled by varying PWM duty cycle:

Example: 12V supply with 75% duty cycle = 9V average to motor

Stepper Motor Control

Stepper motors move in discrete steps, typically 200 steps per revolution (1.8° per step).

Step Angle Calculation

Example: 200 steps/rev → 360°/200 = 1.8° per step

Speed Control

Example: 1000 steps/sec with 200 steps/rev = 300 RPM

Drive Modes

  • Full Step: High torque, simple control
  • Half Step: 2× resolution, smoother operation
  • Microstepping: 16× or 32× resolution, very smooth

Servo Motor Control

Servo motors use closed-loop position feedback for precise angular control, typically 0-180° or continuous rotation.

PWM Position Control

Standard hobby servos use a 50Hz PWM signal (20ms period):

  • 1.0ms pulse: 0° position
  • 1.5ms pulse: 90° (center) position
  • 2.0ms pulse: 180° position

PID Control Loop

Where e(t) is position error, Kp is proportional gain, Ki is integral gain, Kd is derivative gain

Applications

  • Robotics: Arm control, wheeled drives, grippers
  • 3D Printers: Stepper motors for X/Y/Z positioning, servo for extruder
  • Drones: Brushless DC motors with ESC control
  • Industrial Automation: Conveyor systems, CNC machines
Test Your Knowledge
Take this quiz to test your understanding. You need 80% or higher to pass and earn credit for this course.
5 questions80% required to pass