IAE Academy

Compensators & PID formulas

Compensators and PID controllers. 22 formulas for GATE EC, EE, IN Control Systems, each with when to use it. Each is explained in the topic notes.

All 22 Compensators & PID formulas

ERROR CONSTANTS AND STEADY-STATE ERROR

Applies to unity feedback with a stable closed loop, for inputs , and . A type- loop ( poles at the origin) has zero error for inputs of lower order than , a finite error for , and an infinite error for higher orders.

CONVERTING A DAMPING SPECIFICATION INTO A PHASE MARGIN

Exact for the unity-feedback loop , whose closed loop is a pure second-order system. The straight-line rule degrees stays within about of the exact value for and drifts off above that ( gives , not ). For a higher-order loop it is only an estimate, valid when one complex pole pair dominates. Lead and lag design from the Bode plot start by turning a or overshoot specification into a required PM this way.

PID TRANSFER FUNCTION

Has one pole at the origin and two zeros, the roots of . The zeros are real when (equivalently ) and a complex pair otherwise. With it raises the system type by 1.

PI CONTROLLER

Assumes and . Pole at and zero at . Phase , which lies between and . Raises the type by 1.

PD CONTROLLER

Assumes and . Zero at and no pole. Phase , which lies between and . The system type does not change.

DERIVATIVE (PD) CONTROL OF A SECOND-ORDER PLANT

The closed-loop characteristic equation becomes . So and are unchanged and the damping increases. The closed loop also gains a zero at . For an underdamped this zero makes the response rise faster and overshoot more than a pure second-order system with the same , and the effect is stronger the closer the zero lies to the origin compared with .

RATE (TACHOMETER) FEEDBACK, FOR COMPARISON

The inner loop reduces to , so the characteristic equation is the same as with PD and , and there is no closed-loop zero. But falls below , so the ramp error grows. PD in the forward path keeps unchanged.

OP-AMP PI AND PD CONTROLLERS (INVERTING STAGE)

Ideal op-amp, with the input impedance and the feedback impedance. PI: and . PD: and . A second inverting stage of gain removes the minus sign.

LEAD COMPENSATOR (TIME-CONSTANT FORM)

Corner frequencies are (zero) and (pole). The gain rises from 1 (0 dB) at low frequency to ( dB) at high frequency, which is a high-pass shape.

MAXIMUM PHASE LEAD

Valid for the time-constant form with . depends only on the ratio of the two corner frequencies, not on . For any finite , .

FREQUENCY OF MAXIMUM PHASE LEAD

The geometric mean of the two corner frequencies, which is their midpoint on a log scale.

GAIN AT THE FREQUENCY OF MAXIMUM LEAD

Holds for the unity-DC-gain form. In lead design, is placed at the new gain crossover, where the uncompensated magnitude is dB.

OTHER FORMS OF THE LEAD COMPENSATOR

. The pole-zero form has DC gain and high-frequency gain 1. Its phase is identical to the time-constant form with the same corners.

PASSIVE RC LEAD NETWORK

Series arm: in parallel with . Shunt arm: across the output. Assumes an ideal source and an unloaded output. , , . The network attenuates DC by , so an amplifier of gain is needed to keep the error constant.

LAG COMPENSATOR (TIME-CONSTANT FORM)

High-frequency gain is , an attenuation of dB above the zero corner.

MAXIMUM PHASE LAG

Same algebra as the lead, with the sign reversed. is the geometric mean of the corners and .

LAG IN POLE-ZERO FORM AND ITS EFFECT ON STEADY-STATE ERROR

Holds at the same loop gain , for a stable compensated loop. DC gain is and high-frequency gain is 1. When and both sit close to the origin (a dipole), the angle they add at the dominant poles is small. The transient response then barely changes while the error constant is multiplied by .

PASSIVE RC LAG NETWORK

Series arm: . Shunt arm: in series with , with the output taken across this shunt arm. Assumes an unloaded output. DC gain is 1, so no amplifier is needed to hold the low-frequency gain.

OP-AMP LEAD OR LAG NETWORK

Ideal op-amps. The first inverting stage gives and the second stage cancels the sign. Zero at , pole at : a lead if and a lag if . Unlike the passive networks, the DC gain can be set independently of the pole-zero ratio.

LEAD-LAG COMPENSATOR

The first factor is the lag section and the second is the lead section. Both lag corners lie well below both lead corners.

PASSIVE LAG-LEAD NETWORK (SINGLE RATIO)

Realised by one RC network: series arm in parallel with , shunt arm in series with , output across the shunt arm, unloaded. Then and , and the denominator factors as , so the lead and lag sections are forced to share the same ratio . The phase is a lag below and a lead above it. DC and high-frequency gains are both 1, with a dip in between.

ZIEGLER-NICHOLS PID IN POLE-ZERO FORM

Both PID rows set , which is exactly the condition for a double zero. So both give a pole at the origin and a double zero on the negative real axis, at and at respectively. The leading coefficient is , which makes a quick check. For a process gain , divide the step-response result by .

Where this was asked: 2020 (1), 2023 (3), 2024 (1), 2025 (4), 2026 (1). See the 10 previous-year questions on Compensators & PID. This shows what was asked, not what will be asked.