Skip to main content

PID control of speed and torque

Short answer

PID output is u = Kp e + Ki integral(e) + Kd de/dt. Speed control uses cascade loops: an outer speed PID gives the armature current reference, and an inner current PI controls the converter, limiting current and giving zero steady-state speed error.

With the help of mathematical expression and block diagrams discuss the PID control of speed and torque of electric motor?

A PID controller produces a control signal from the error e(t)e(t) between reference and measured value using proportional, integral and derivative actions:

u(t)=Kpe(t)+Ki∫0te(τ) dτ+Kdde(t)dtu(t) = K_pe(t) + K_i\int_0^te(\tau)\,d\tau + K_d\frac{de(t)}{dt} Gc(s)=U(s)E(s)=Kp+Kis+KdsG_c(s) = \frac{U(s)}{E(s)} = K_p + \frac{K_i}{s} + K_ds
ActionEffect
Proportional KpK_pFast response; reduces but does not remove steady-state error; too high causes oscillation
Integral KiK_iRemoves steady-state error (exact speed under load); may slow response and cause overshoot
Derivative KdK_dAnticipates error, adds damping, reduces overshoot; amplifies noise

PID speed and torque control of a DC motor (cascade control)

Motor equations (separately excited DC):

Va=RaIa+LadIadt+Kω,T=KIa=Jdωdt+Bω+TLV_a = R_aI_a + L_a\frac{dI_a}{dt} + K\omega, \qquad T = KI_a = J\frac{d\omega}{dt} + B\omega + T_L

Torque is proportional to armature current, so torque control = current control.

 w*->(+)->[Speed PID]-Ia*->(+)->[Current PI]
      ^-   (limit)          ^-       |
      |                     |   firing/duty
      |                     |        v
      |                     |   [Converter]
      |                     |        | Va
      |                     |   [DC motor]--> w
      |                     |     |  |
      |  current sensor <---+-----+  |
      +---- tacho/encoder <----------+
  1. Outer speed loop: speed error ω∗−ω\omega^* - \omega goes to the speed PID (usually PI). Its output is the current (torque) reference Ia∗I_a^*, limited to the maximum allowed current, so the motor accelerates at maximum safe torque.
  2. Inner current (torque) loop: current error Ia∗−IaI_a^* - I_a goes to the current PI controller, which sets the converter firing angle (rectifier) or duty cycle (chopper). This loop is fast; it quickly corrects supply-voltage changes and limits current during starting, overload and stall.
  3. Converter supplies VaV_a to the armature.
  4. Feedback: tachogenerator/encoder for speed, CT/Hall sensor/shunt for current.

For an induction motor the same structure is used in vector (field-oriented) control: an outer speed PI produces a torque-current command iqs∗i_{qs}^*, and inner current PI loops control the inverter.

Behaviour

  • On a sudden load increase, speed drops; the speed PID raises Ia∗I_a^*, torque increases and speed returns to the reference with zero steady-state error (integral action).
  • During starting, the speed error is large, Ia∗I_a^* saturates at the limit, so the motor accelerates at constant maximum torque.
  • Derivative action is used sparingly (filtered) because of noise in speed measurement.

Advantages: accurate speed, fast torque response, inherent current protection, simple tuning of each loop separately.

✓ Answer checked by Claude Opus 5.5 (high effort)

All Utilization of Electrical Energy chapter 3 questions →