Menu Close

Compensators and controllers: UPSC Electrical Engineering Optional PYQ Solutions (1998–2026)

All 19 questions UPSC has asked on compensators and controllers in the Electrical Engineering Optional (Paper II, Control Systems) from 1998 to 2026, solved step by step – latest first.

Try them yourself first: the same questions, without solutions, are on our Control Systems topic-wise PYQs page. Circuit diagrams have been redrawn from the question papers.

How we check these solutions

These are our own solutions, prepared with AI help. UPSC does not publish official answers. Every solution is checked a second way before it goes up, and says how:

  • ✓ Checked by computer the numbers were worked out again independently in code (SymPy and NumPy: circuit equations, power balance, matrices, integrals).
  • ✓ Proof checked step by step or ✓ Derivation checked step by step for “prove” and “derive” questions, every step was checked against the definitions and standard results.
  • ✓ Answer checked step by step for theory and descriptive questions, every point was checked against the standard theory.

Where a printed question is wrong, unclear or incomplete, we say so and solve the intended version.

Spotted a mistake or a neater method? Tell us in the comments below or through Report an error.

Jump to a question (year · question number):

2026 · 4a 2025 · 2a 2024 · 1a 2023 · 5a 2021 · 7b 2020 · 7c 2018 · 8b(ii) 2017 · 6b 2016 · 5a 2014 · 2a 2012 · 5a(i) 2011 · 8a 2004 · 2a 2004 · 8a 2003 · 7a 2001 · 200w/1a 1999 · 2b(i) 1998 · 200w/1b 1998 · 3a

Cover of the UPSC Prelims Topic-wise PYQ book with detailed explanations

From the Optional Province team

Preparing for Prelims too?

Our UPSC Prelims Topic-wise PYQ Book covers every Prelims question with detailed explanations, so you can see exactly where UPSC asks from. Now available as a hard copy and an eBook.

Buy Hard Copy on AmazonBuy eBook (PDF)

Download a free sample

Design a PI controller so that a unity feedback system having open loop transfer function G(s)H(s)=10(s+2)(s+3) will have the damping ratio of 0.6 and natural frequency of oscillations will be 4 rad/sec. Also determine the characteristic equation of this controller.

2026 · Paper II · Q4a · 20 marks

Solution

PI controller: Gc(s)=Kp+Kis.

Closed-loop characteristic equation with unity feedback: 1+GcG=0⇒s(s+2)(s+3)+10(Kps+Ki)=0 ⇒s3+5s2+(6+10Kp)s+10Ki=0.

Desired poles. The loop is now third order. We place a dominant pair with ζ=0.6 and ωn=4 rad/s, s2+2ζωns+ωn2=s2+4.8s+16, and a third real pole at s=−p: (s2+4.8s+16)(s+p)=s3+(4.8+p)s2+(16+4.8p)s+16p.

Matching coefficients

Power Equation Result
s2 4.8+p=5 p=0.2
s1 6+10Kp=16+4.8(0.2)=16.96 Kp=1.096
s0 10Ki=16(0.2)=3.2 Ki=0.32

Gc(s)=1.096+0.32s=1.096(s+0.292)s

Characteristic equation of the controlled system: s3+5s2+16.96s+3.2=0 Its roots are −2.4±j3.2 (that is, ζ=0.6, ωn=4) and −0.2.

Remark. The third pole at −0.2 lies close to the PI zero at −0.292, so its effect on the transient is small: a slow tail of small amplitude. The integral action makes the system type 1, so the steady-state error to a step is zero.

✓ Checked by computer We matched the characteristic polynomial coefficients in SymPy and checked the closed-loop roots.

↑ Back to the question list

An LTI system with the following state-space representation is given: ẋ=[010−0.5]x+[0k]u y=[10]x Design a phase lead compensator so that the system achieves a settling time of 2 seconds for a 2% tolerance band and has a damped natural frequency of 2 rad/s. Also realize the designed compensator using passive components.

2025 · Paper II · Q2a · 20 marks

Solution

Plant transfer function. From ẋ1=x2, ẋ2=−0.5x2+ku and y=x1: G(s)=Y(s)U(s)=ks(s+0.5).

Desired closed-loop poles

  • ts=4ζωn=2 s gives ζωn=2.
  • ωd=2 rad/s.

So the dominant poles are sd=−2±j2(ζ=0.707,ωn=2.83 rad/s).

Why compensation is needed. The uncompensated root locus is the vertical line σ=−0.25, so no gain can reach −2±j2.

Angle deficiency. At sd=−2+j2: ∠G(sd)=−[∠sd+∠(sd+0.5)]=−(135∘+126.87∘)=−261.87∘. The compensator must supply −180∘−(−261.87∘)=+81.87∘ of lead.

Choice of zero and pole. We place the compensator zero on the plant pole, at s=−0.5. It then contributes +126.87∘, so the compensator pole must contribute 126.87∘−81.87∘=45∘. A pole at s=−p seen from −2+j2 at 45∘ needs p−2=2, so p=4.

Gc(s)=Kcs+0.5s+4

Gain from the magnitude criterion. After the cancellation the loop is kKc/(s(s+4)). The closed loop is s2+4s+kKc=0, and we need ωn2=8: kKc=8⇒Gc(s)=8k⋅s+0.5s+4

Check: s2+4s+8=0 gives s=−2±j2. So ts=4/2=2 s and ωd=2 rad/s.

-5 -4 -3 -2 -1 1 -3j -2j -1j j 2j 3j σ jω target −2 + j2 (a) k/(s(s + 0.5)) -5 -4 -3 -2 -1 1 -3j -2j -1j j 2j 3j σ jω K = 8: −2 ± j2 (b) with lead: K/(s(s + 4))
Computed root loci (× poles; the compensator zero cancels the plant pole at −0.5). On a phone, swipe sideways to see all of it.

Passive realisation. For the network of C in parallel with R1 in the series arm and R2 as the shunt, VoVi=s+1R1Cs+1R1C+1R2C.

  • 1R1C=0.5 and 1R2C=4−0.5=3.5.
  • With C=1μF: R1=2 MΩ,R2=285.7 kΩ.

The network gives (s+0.5)/(s+4) exactly. Its DC attenuation is compensated by an amplifier (isolating buffer) of gain 8/k. For example, the gain is 8 if k=1.

C = 1 μFR1 = 2 MΩR2 = 285.7 kΩfrom e(t)to amplifier++
Lead network with the designed values; an amplifier of gain 8/k follows it. On a phone, swipe sideways to see all of it.

Note. The question leaves k unspecified, so the gain is given in terms of k.

✓ Checked by computer We applied the angle criterion numerically, checked the compensated closed-loop poles and the network values.

↑ Back to the question list

What are the limitations of (i) Proportional (P), (ii) Integral (I), (iii) Derivative (D), and (iv) PID Controllers? What is the application of positive feedback control system?

2024 · Paper II · Q1a · 10 marks

Solution

(i) Proportional (P) control, u=Kpe

  • It leaves a steady-state (offset) error for type-0 plants. Reducing the error needs high gain.
  • High gain increases overshoot and oscillation, and can make the loop unstable.
  • It cannot improve damping and steady-state accuracy independently.

(ii) Integral (I) control, u=Ki∫edt

  • It adds a pole at the origin. This removes offset, but adds 90∘ of lag, so it reduces stability margins and slows the response.
  • It gives an oscillatory, sluggish transient when used alone.
  • Integral wind-up: when the actuator saturates, the integrator keeps accumulating error, causing large overshoot.

(iii) Derivative (D) control, u=Kddedt

  • It gives no output for a constant error, so it cannot be used alone and does not remove steady-state error.
  • It amplifies high-frequency noise.
  • A sudden step in the set point gives a very large output spike (derivative kick).
  • An ideal derivative cannot be realised physically, so a filter is needed.

(iv) PID control

  • It has three parameters to tune, which interact. A poor tuning can make it worse than a simpler controller.
  • It still suffers from wind-up and from derivative noise and kick, so it needs anti-wind-up and a filtered derivative.
  • It is a linear, fixed-gain controller. It copes poorly with large dead time, strong nonlinearity or widely varying plant parameters.

Application of positive feedback. Positive feedback raises the gain and drives the system towards instability. It is used deliberately where that is wanted:

  • oscillators, where the Barkhausen condition AB=1 gives sustained oscillation;
  • regenerative amplifiers and receivers, for high gain;
  • Schmitt triggers, latches and flip-flops, for hysteresis and bistable switching;
  • sweep circuits and multivibrators.

In control systems, a positive-feedback inner loop is sometimes used to raise the gain of a slow element, for example in some speed-control schemes.

✓ Answer checked step by step Standard theory.

↑ Back to the question list

The figure shows a compensator network, where R1=3MΩ, R2=1MΩ, C=1μF. Vi(t) and Vo(t) are the input voltage and output voltage respectively. Determine the attenuation in dB provided by this network at very high frequencies:

R1CR2Vi(t)Vo(t)++
Figure redrawn from the question paper. On a phone, swipe sideways to see all of it.

2023 · Paper II · Q5a · 10 marks

Solution

Transfer function. The shunt branch is C in series with R2, with impedance R2+1sC: Vo(s)Vi(s)=R2+1sCR1+R2+1sC=1+sR2C1+s(R1+R2)C. With the given values, R2C=1 s and (R1+R2)C=4 s: VoVi=1+s1+4s. This is a lag network with β=4.

At very high frequencies the capacitor is a short circuit, so the network is a resistive divider: |VoVi|ω→∞=R2R1+R2=14=0.25.

Attenuation=20log104=12.04 dB (The gain is −12.04 dB.)

✓ Checked by computer We evaluated the network gain at high frequency in code.

↑ Back to the question list

A sinusoidal voltage of 10 V amplitude at 100 Hz is applied to a lead network shown in figure. The phase difference between the input voltage Vi(t) and output voltage Vo(t) is 44.43°. If C=0.1μF and R1=100kΩ, determine the value of R2 and the magnitude of steady state output voltage.

CR1R2Vi(t)Vo(t)++
Figure redrawn from the question paper. On a phone, swipe sideways to see all of it.

2021 · Paper II · Q7b · 20 marks

Solution

Transfer function of the lead network: VoVi=R2R2+R11+sR1C=R2(1+sR1C)R1+R2+sR1R2C=α1+sT1+αsT, T=R1C,α=R2R1+R2.

Numbers: ω=2π×100=628.3 rad/s,ωT=628.3×105×10−7=6.283.

Phase lead: ϕ=tan−1(ωT)−tan−1(αωT)=80.96∘−tan−1(6.283α)=44.43∘. So tan−1(6.283α)=36.53∘⇒6.283α=0.7407⇒α=0.1179.

Value of R2: R2R1+R2=0.1179⇒R2=0.11790.8821×100 kΩ=13.4 kΩ

Output magnitude: |VoVi|=α1+(ωT)21+(αωT)2=0.1179×6.3621.245=0.603. Vo=0.603×10=6.03 V (peak) The output leads the input by 44.43∘.

✓ Checked by computer We solved the phase equation for R2 and evaluated the output in code.

↑ Back to the question list

A sinusoidal voltage vi(t) is applied to the lag network shown in the figure below. vi(t) is adjusted to produce a sinusoidal steady-state output voltage vo(t)=2sin(ωt+45∘) volts. If ω = 1 rad/sec, determine the input voltage vi(t).

4 Ω0.5 F2 Ωvi(t)vo(t)++
Figure redrawn from the question paper. On a phone, swipe sideways to see all of it.

2020 · Paper II · Q7c · 10 marks

Solution

Transfer function VoVi=2+10.5s4+2+10.5s=1+s1+3s. (Here R2C=1 s and (R1+R2)C=3 s.)

At ω=1 rad/s: VoVi=1+j1+j3,|VoVi|=210=0.447,∠=45∘−71.57∘=−26.57∘. The output lags the input by 26.57∘.

Input voltage. Since vo=2sin(t+45∘): Vi,peak=20.447=4.47 V,phase=45∘+26.57∘=71.57∘. vi(t)=4.47sin(t+71.57∘) V=20sin(t+71.6∘) V

✓ Checked by computer We evaluated the network response at ω = 1 rad/s in code.

↑ Back to the question list

Sketch Bode plot of a lead compensator.

2018 · Paper II · Q8b(ii) · 10 marks

Solution

The lead compensator: Gc(s)=1+sT1+αsT,0<α<1 (a passive network also has an extra factor α).

Magnitude

  • 0 dB up to the zero corner ω=1/T.
  • It rises at +20 dB/decade up to the pole corner ω=1/(αT).
  • It is flat at 20log(1/α) dB beyond that.

Phase: ϕ=tan−1ωT−tan−1αωT. It is always positive. It is zero at low and at high frequency, with a maximum ϕm=sin−11−α1+α at the geometric mean of the corners, ωm=1Tα. There the magnitude is 10log(1/α) dB, halfway between the two levels.

0.01 0.1 1 10 100 0 10 20 dB 1/T 1/(αT) 10 dB at ωm 20 log(1/α) 0.01 0.1 1 10 100 0 30 54.9 60 ω (rad/s, log scale) phase (deg) φm at ωm = 1/(T√α)
Computed Bode plot for α = 0.1, T = 1 s: solid curve exact, dashed gold lines asymptotes. On a phone, swipe sideways to see all of it.

For α=0.1: ϕm=54.9∘ at ωm=3.16/T, and the high-frequency gain is 20 dB.

✓ Answer checked step by step The plot was computed for α = 0.1, T = 1 s.

↑ Back to the question list

The error signal as shown above is given to the controller. The initial controller output is zero. Draw the output of the controller if it is a (i) P controller with proportional gain (KP) = 10 (ii) I controller with integral gain (KI) = 2.

0 2 10 12 0 5 time (s) error (V)
Figure redrawn from the question paper. On a phone, swipe sideways to see all of it.

2017 · Paper II · Q6b · 15 marks

Solution

The error is e(t)=5 V for 2≤t≤10 s and zero otherwise.

(i) P controller, KP=10: u(t)=KPe(t).

  • u=0 for t<2 s.
  • u=10×5=50 V for 2≤t≤10 s.
  • u=0 for t>10 s.

The output is a 50 V pulse of the same shape as the error.

(ii) I controller, KI=2: u(t)=KI∫0tedt, with u(0)=0.

  • u=0 for t<2 s.
  • For 2≤t≤10 s: u=2×5×(t−2)=10(t−2) V, a ramp of slope 10 V/s that reaches 80 V at t=10 s.
  • For t>10 s the error is zero, so the integral stops changing and u stays at 80 V.
0 2 4 6 8 10 12 0 25 50 u (V) 50 V (i) P controller, KP = 10 0 2 4 6 8 10 12 0 40 80 time (s) u (V) slope 10 V/s 80 V (ii) I controller, KI = 2
Controller outputs computed from u = KP e and u = KI ∫e dt. On a phone, swipe sideways to see all of it.

The I controller “remembers” the past error. Its output does not return to zero when the error does.

✓ Checked by computer We integrated the error pulse to obtain the controller outputs.

↑ Back to the question list

(i) Explain with proper transfer function a standard PID controller. Explain why derivative term is not employed alone. (ii) The open loop transfer function of a system is given by G(s)=5s(s+2). It is desired to locate the poles of this transfer function at −8 and −3±4j by using a suitable PID controller. Find the suitable gains needed by the PID controller to achieve this task.

2016 · Paper II · Q5a · 10 marks

Solution

(i) The standard PID controller u(t)=Kpe(t)+Ki∫0tedt+Kddedt,Gc(s)=Kp+Kis+Kds=Kds2+Kps+Kis. (Equivalently, Gc=Kp(1+1Tis+Tds).)

The three terms act on the error as follows:

  • P acts on the present error.
  • I acts on the accumulated past error and removes offset.
  • D acts on the predicted future error: it anticipates, adds damping and reduces overshoot.

Why the derivative term is not used alone

  • It gives zero output for a constant error, so it cannot hold the output at the set point or remove a steady error.
  • It amplifies high-frequency noise.
  • It reacts violently to step changes in the set point.

So it is always used with P (as PD or PID).

(ii) Gains for the given pole locations

With unity feedback, the characteristic equation is s⋅s(s+2)+5(Kds2+Kps+Ki)=s3+(2+5Kd)s2+5Kps+5Ki=0.

The desired polynomial is (s+8)[(s+3)2+16]=(s+8)(s2+6s+25)=s3+14s2+73s+200.

Matching coefficients:

  • 2+5Kd=14, so Kd=2.4.
  • 5Kp=73, so Kp=14.6.
  • 5Ki=200, so Ki=40.

Kp=14.6,Ki=40,Kd=2.4

✓ Checked by computer We matched coefficients with the desired characteristic polynomial in SymPy.

↑ Back to the question list

Cover of the UPSC Mains Topic-wise and Year-wise PYQs book (2013–2026)

From the Optional Province team

Strengthen your GS papers

Our UPSC Mains Topic-wise & Year-wise PYQ Book (2013–2026) maps every GS question to the syllabus, so you know what UPSC asks and how often. Now available as a hard copy and an eBook.

Buy Hard Copy on AmazonBuy eBook (PDF)

Download a free sample

What is the effect of introducing derivative control action on the response of a system? A system has open-loop transfer function given by G(s)=10(s+1)(s+4) Evaluate the parameters of a PD controller with this system with unity feedback so that the closed loop system has poles located at −3±j4. Indicate the nature of closed loop time response to unit step input change.

2014 · Paper II · Q2a · 20 marks

Solution

Effect of derivative action

  • It adds a zero (anticipation) and increases the effective damping. Overshoot and settling time fall.
  • It improves the phase margin and widens the bandwidth, so the response is faster.
  • It does not change the system type, so it does not reduce the steady-state error by itself.
  • It amplifies noise.

PD design. With Gc=Kp+Kds, the characteristic equation is (s+1)(s+4)+10(Kp+Kds)=s2+(5+10Kd)s+(4+10Kp)=0. For poles at −3±j4 the desired polynomial is s2+6s+25:

  • 5+10Kd=6, so Kd=0.1.
  • 4+10Kp=25, so Kp=2.1.

Gc(s)=2.1+0.1s

Closed-loop step response CR=10(0.1s+2.1)s2+6s+25=s+21s2+6s+25.

  • ζ=0.6 and ωn=5 rad/s: an underdamped response.
  • The final value is 21/25=0.84, so a steady-state error of 0.16 remains (the system is type 0).
  • The peak is 0.92 at 0.73 s, about 9.8% overshoot. The zero at −21 adds a little to the 9.5% of the pure second-order system.
  • The response settles within about 1.1 s (2%).
0 0.5 1 1.5 2 2.5 3 0 0.2 0.4 0.6 0.84 1 time (s) c(t) peak 0.92 at 0.73 s final value 0.84
Computed step response. On a phone, swipe sideways to see all of it.

✓ Checked by computer We matched coefficients in SymPy and simulated the step response.

↑ Back to the question list

This question has the following parts.

(i) What are the limitations of Routh, Hurwitz and continued fraction stability criteria when used for determining system stability? What is Nyquist analysis? Where is this technique used?

(ii) Why are integral and derivative controllers not used in practice?

2012 · Paper II · Q5a(i) · 6 marks · also asked 2012 (Q5a(ii))

Solution

(i) Limitations of the Routh, Hurwitz and continued-fraction criteria

  • They need the characteristic polynomial in explicit form, with real constant coefficients. They cannot be applied directly to experimental (frequency-response) data.
  • They test absolute stability only: how many roots lie in the right half-plane. They say nothing about relative stability, damping or how close the system is to instability, unless the axis is shifted.
  • They cannot handle transcendental terms such as transport lag e−sT except through approximations.
  • They do not show how to improve stability. They give little guidance for compensator design, and none on the frequency of oscillation beyond the marginal case.
  • The Hurwitz determinants become laborious for high-order systems. Special cases (a zero in the first column, a zero row) need extra handling.

Nyquist analysis is a frequency-domain graphical method based on the principle of the argument. From the polar plot of the open-loop G(jω)H(jω), the encirclements N of the point −1+j0, together with the number P of open-loop right-half-plane poles, give the number of closed-loop right-half-plane poles: Z=N+P.

Where it is used

  • Stability analysis from measured open-loop frequency response.
  • Systems with dead time.
  • Open-loop unstable or conditionally stable systems.
  • Finding gain and phase margins and M (resonance) contours.
  • Design of compensators in the frequency domain.

(ii) Why pure integral and pure derivative controllers are not used

  • Pure I: it adds a pole at the origin with 90∘ lag, which reduces the stability margin and gives a slow, oscillatory response. It also suffers integral wind-up. It is therefore combined with P (as PI) to get offset-free yet stable control.
  • Pure D: it gives no output for a steady error, so it cannot correct offset. It amplifies noise and gives derivative kick on set-point changes, and an ideal differentiator cannot be built. It is therefore used only with P (as PD or PID).

✓ Answer checked step by step Standard theory.

↑ Back to the question list

A PID control system is shown below: For KI=0, find the values of KP and KD so that the system has no steady-state error with step input, has a damping ratio of 0.9 and the dominant time constant of 1.

R(s)+−KP + KI/s + KD s1/(s(s + 1))C(s)
Figure redrawn from the question paper. On a phone, swipe sideways to see all of it.

2011 · Paper II · Q8a · 20 marks

Solution

With KI=0 the controller is PD: Gc=KP+KDs. The characteristic equation is s(s+1)+KDs+KP=s2+(1+KD)s+KP=0.

Steady-state error. The plant has a pole at the origin (type 1), so the step error is zero for any KP>0. No integral action is needed.

Damping and time constant. We compare with s2+2ζωns+ωn2.

  • The dominant time constant is τ=1ζωn=1, so ζωn=1.
  • With ζ=0.9, ωn=1/0.9=1.111 rad/s.

Matching coefficients:

  • KP=ωn2=1.235
  • 1+KD=2ζωn=2, so KD=1.

Check. The roots of s2+2s+1.235=0 are −1±j0.484, so ζ=1/1.111=0.9 and the envelope time constant is 1 s.

✓ Checked by computer We solved for the gains and checked the closed-loop roots in code.

↑ Back to the question list

What do you understand by lead compensator? Draw the approximate Bode plot for a typical lead compensator. Design a suitable control system for a missile to introduce a lead of 35° and gain of 6.5 db at 2.8 rad/s. What will be the transfer function of this lead compensator that will satisfy the above requirement?

2004 · Paper II · Q2a · 20 marks

Solution

Lead compensator. A lead compensator puts a zero closer to the origin than its pole: Gc(s)=1+aTs1+Ts,a>1. It gives a positive (leading) phase over a band of frequencies and raises the high-frequency gain. Its Bode plot rises from 0 dB to 20loga between the corners 1/(aT) and 1/T. The phase hump peaks at ϕm=sin−1a−1a+1atωm=1Ta. This is the same shape as the plot below, with 1/α=a.

0.01 0.1 1 10 100 0 10 20 dB 1/T 1/(αT) 10 dB at ωm 20 log(1/α) 0.01 0.1 1 10 100 0 30 54.9 60 ω (rad/s, log scale) phase (deg) φm at ωm = 1/(T√α)
Computed Bode plot for α = 0.1, T = 1 s: solid curve exact, dashed gold lines asymptotes. On a phone, swipe sideways to see all of it.

Design. We need, at ω=2.8 rad/s, a phase lead of 35∘ and a gain of 6.5 dB (a factor of 2.113). Put x=ωaT and y=ωT: tan−1x−tan−1y=35∘,1+x21+y2=2.113. The first equation gives x−y1+xy=tan35∘=0.700. Solving the two together gives x=2.257 and y=0.603. Hence aT=2.2572.8=0.806 s,T=0.6032.8=0.215 s,a=3.74.

Gc(s)=1+0.806s1+0.215s=3.74s+1.24s+4.64

Check at ω=2.8

  • Phase: 66.1∘−31.1∘=35.0∘.
  • Gain: 20log(2.4681.168)=6.5 dB.

This compensator has unity DC gain. As a passive RC network with gain 1/a, it must be followed by an amplifier of gain a=3.74.

Alternative reading. If 2.8 rad/s is taken as the frequency of maximum lead, then sin35∘=a−1a+1 gives a=3.69 and T=0.186 s. The network then gives only 5.7 dB at ωm, so an extra gain of 1.1 (0.83 dB) is needed: Gc=1.101+0.686s1+0.186s.

✓ Checked by computer We solved the two design conditions numerically and checked the phase and gain at 2.8 rad/s.

↑ Back to the question list

Write the discrete forms of P, PI and PID controllers. What are various methods of tuning them? Discuss in brief.

2004 · Paper II · Q8a · 20 marks

Solution

Discrete forms. T is the sampling period and e(k) the error at the k-th sample.

  • P: u(k)=Kpe(k),D(z)=Kp.

  • PI (rectangular or backward-difference integration): u(k)=Kpe(k)+KiT∑j=0ke(j),D(z)=Kp+KiTzz−1. The velocity (incremental) form is u(k)=u(k−1)+Kp[e(k)−e(k−1)]+KiTe(k).

  • PID: u(k)=Kpe(k)+KiT∑j=0ke(j)+KdT[e(k)−e(k−1)], D(z)=Kp+KiTzz−1+KdTz−1z. The velocity form is Δu(k)=Kp[e(k)−e(k−1)]+KiTe(k)+KdT[e(k)−2e(k−1)+e(k−2)]. It avoids wind-up and gives bumpless transfer. The trapezoidal (Tustin) rule, T2z+1z−1, may replace the rectangular integral.

Tuning methods

  1. Ziegler–Nichols ultimate-gain (closed-loop) method. With P control only, the gain is raised to the ultimate value Ku at which sustained oscillation of period Pu appears. Then:
P PI PID
Kp 0.5Ku 0.45Ku 0.6Ku
Ti — Pu/1.2 Pu/2
Td — — Pu/8
  1. Ziegler–Nichols reaction-curve (open-loop step) method. The process step response is fitted with a dead time L and slope R (or time constant T). For PID: Kp=1.2T/(KL), Ti=2L, Td=0.5L.
  2. Cohen–Coon method. Also uses the reaction curve, and suits processes with larger dead time.
  3. Relay auto-tuning (Åström–Hägglund). A relay produces a limit cycle, which gives Ku and Pu automatically.
  4. Analytical and model-based methods. Pole placement, internal-model control (IMC or lambda tuning), and minimisation of performance indices such as ISE, IAE or ITAE.
  5. Manual (trial-and-error) tuning. Increase P until the response is acceptable, add I to remove offset, then add D to reduce overshoot.

✓ Answer checked step by step Standard theory.

↑ Back to the question list

Discuss the performances of proportional plus derivative and proportional plus integral controllers.

2003 · Paper II · Q7a · 20 marks

Solution

Proportional plus derivative (PD): Gc=Kp+Kds=Kd(s+Kp/Kd).

  • It adds a zero, which pulls the root locus to the left. Damping rises, so overshoot and settling time fall.
  • It gives phase lead, so the phase margin and bandwidth increase and the rise time is shorter.
  • The system type is unchanged, so the steady-state error is affected only through the gain. Offset remains for type-0 plants.
  • It responds to the rate of change of error, so it amplifies high-frequency noise. It acts like a high-pass filter and may cause saturation.

Proportional plus integral (PI): Gc=Kp+Ki/s=Kp(s+Ki/Kp)/s.

  • It adds a pole at the origin and a zero. The type rises by one, so the step error becomes zero (and the ramp error finite for type-1 plants).
  • It gives phase lag and reduces the bandwidth, so the response is slower and more oscillatory. The relative stability (damping, margins) falls unless Ki is small.
  • It filters high-frequency noise (low-pass). It is subject to integral wind-up.
0 1 2 3 4 5 6 0 0.4 0.8 1 1.2 time (s) c(t) PI P PD
Computed for the plant 1/((s+1)(s+3)) with unity feedback. On a phone, swipe sideways to see all of it.

Example. With the plant 1/((s+1)(s+3)):

  • P alone (Kp=12) settles at 0.8 with a 15% overshoot.
  • PD (Kd=3 added) removes most of the overshoot, but keeps the 0.8 final value.
  • PI (Ki=12) brings the output to 1 with zero error, at the cost of a 22% overshoot.

PD therefore improves the transient, and PI improves the steady state. PID combines both.

✓ Answer checked step by step Standard theory; the comparison curves were computed for the plant 1/((s+1)(s+3)).

↑ Back to the question list

Select any THREE of the following statements, read them carefully and identify the correct and the incorrect ones. Justify your answer using not more than 200 words in each case. While a lead compensator reduces system bandwidth, a lag compensator on the other hand increases the system bandwidth.

2001 · Paper II · Q200w/1a · 20 marks

Solution

The statement is incorrect: the roles are reversed.

  • A lead compensator increases the bandwidth. It adds positive phase and raises the high-frequency gain, so the gain crossover moves to a higher frequency. The response becomes faster: smaller rise and settling times.
  • A lag compensator reduces the bandwidth. It attenuates the high-frequency gain, so the gain crossover moves to a lower frequency. The response becomes slower, but noise is filtered and the steady-state accuracy improves (higher low-frequency gain for the same margins).

So the correct statement is: a lead compensator increases the bandwidth, while a lag compensator reduces it.

✓ Answer checked step by step Standard result; we checked the shapes against computed Bode plots of the two networks.

↑ Back to the question list

Enumerate the salient features of phase-lead and phase lag networks.

1999 · Paper II · Q2b(i) · 10 marks

Solution

Phase-lead network, Gc=α1+sT1+αsT with α<1:

  • The zero is nearer the origin than the pole. It gives positive phase with maximum ϕm=sin−11−α1+αatωm=1Tα.

  • It acts as a high-pass filter: it attenuates low frequencies by α relative to high frequencies, so an amplifier of gain 1/α is needed.

  • It increases the phase margin and the bandwidth. The transient improves: less overshoot, faster rise and settling.

  • It has little effect on steady-state error and is sensitive to noise.

  • The usable lead per stage is limited to about 60∘; more needs cascaded stages.

Phase-lag network, Gc=1+sT1+βsT with β>1:

  • The pole is nearer the origin than the zero. It gives negative phase.
  • It acts as a low-pass filter, attenuating high frequencies by 20logβ.
  • It lets the low-frequency gain be raised by β without changing the crossover region, so it improves steady-state accuracy. The corners are placed well below the gain crossover so that the phase margin is hardly affected.
  • It reduces the bandwidth, so the response is slower, but noise rejection is good.
  • It may introduce a slow, long-tailed transient from the pole–zero pair near the origin.
0.01 0.1 1 10 100 -20 0 20 dB lead lag 0.01 0.1 1 10 100 -60 -30 0 30 60 ω (rad/s, log scale) phase (deg) lead +54.9° lag −54.9°
Computed Bode plots: teal lead network, gold lag network. On a phone, swipe sideways to see all of it.

✓ Answer checked step by step Standard theory; the plots were computed for (1 + s)/(1 + 0.1s) and (1 + s)/(1 + 10s).

↑ Back to the question list

Select any Three of the following statements, read them carefully and identify correct and incorrect ones. Justify your answer using not more than 200 words in each case: Phase lead compensation decreases the band width of a system.

1998 · Paper II · Q200w/1b · 20 marks

Solution

The statement is incorrect.

Phase-lead compensation increases the bandwidth. The lead network raises the gain at high frequencies (by up to 20log(1/α)), and it is designed so that the new gain crossover frequency is higher than the old one. A higher crossover frequency, and the larger high-frequency gain of the closed loop, mean a wider bandwidth. The response is therefore faster, with smaller rise and settling times.

The price is greater sensitivity to high-frequency noise. It is lag compensation that reduces the bandwidth.

✓ Answer checked step by step Standard result.

↑ Back to the question list

Obtain the transfer function of phase lead network. Show that sinϕm=a−1a+1 and ωm=1aT where ϕm, w, a and T have usual meanings.

1998 · Paper II · Q3a · 20 marks

Solution

Transfer function of the phase-lead network. In the network, C is in parallel with R1 in the series arm, and R2 is the shunt.

CR1R2Vi(t)Vo(t)++
Phase-lead RC network. On a phone, swipe sideways to see all of it.

The series impedance is Z1=R11+sR1C, so VoVi=R2R2+Z1=R2(1+sR1C)R1+R2+sR1R2C. Let a=R1+R2R2>1,T=R1R2CR1+R2. Then aT=R1C and Gc(s)=VoVi=1a⋅1+aTs1+Ts The zero is at −1/(aT), nearer the origin than the pole at −1/T, so the network gives phase lead.

Phase: ϕ(ω)=tan−1(aωT)−tan−1(ωT).

Frequency of maximum lead. We set dϕ/dω=0: aT1+a2ω2T2=T1+ω2T2⇒a+aω2T2=1+a2ω2T2⇒a−1=a(a−1)ω2T2. ⇒ωm=1Ta This is the geometric mean of the corner frequencies 1/(aT) and 1/T.

Maximum phase. At ωm, ωmT=1/a and aωmT=a. So tanϕm=a−1a1+a⋅1a=a−12a. Draw a right triangle with opposite side a−1 and adjacent side 2a. Its hypotenuse is (a−1)2+4a=a+1. Hence sinϕm=a−1a+1

Use in design. This relation gives a=1+sinϕm1−sinϕm from the lead required. We then place ωm at the new gain-crossover frequency. The network’s gain there is a above its low-frequency value, that is, 10loga dB.

✓ Derivation checked step by step We verified ωm and sin φm by symbolic differentiation in SymPy.

↑ Back to the question list

More on Control Systems

Questions: UPSC Civil Services (Main) Examination, Electrical Engineering Paper II, 1998–2026. Solutions: Optional Province. Found an error? Tell us.

Spotted an error? Tell us.

We classify every PYQ with care, but mistakes can slip in. If a question is in the wrong topic, has a typo, the wrong year, or is missing, let us know. We review every report and update the page.

Report an Error
Subscribe
Notify of
guest

0 Comments
Oldest
Newest Most Voted