Interview questions

Control Systems Interview Questions

Control systems questions are heavily weighted in interviews at core electrical and automation companies like L&T, ABB, Siemens, and Bosch, and also appear in TCS technical rounds for EEE graduates. This topic typically surfaces in the second technical round and covers both theory (stability criteria, transfer functions) and practical design (PID tuning, sensor-actuator systems) relevant to industrial automation and embedded control roles.

EEE, ECE

Interview questions & answers

Q1. What is a closed-loop control system and how does it differ from an open-loop system?

A closed-loop system uses feedback from the output to compare with the reference input and generates an error signal that drives the controller to reduce the difference, while an open-loop system applies a fixed control action without measuring the output. A washing machine timer (open-loop) runs for a set time regardless of how clean the clothes are, while a thermostat-controlled HVAC system (closed-loop) measures room temperature and switches the compressor on or off to maintain setpoint. Closed-loop systems reject disturbances and compensate for plant variations, which is why they are used in all industrial process control applications.

Follow-up: What is the main disadvantage of closed-loop control compared to open-loop control?

Q2. What is a PID controller and what does each term contribute?

A PID controller generates a control output u(t) = Kp×e(t) + Ki×∫e(t)dt + Kd×de/dt where e(t) is the error; the proportional term provides immediate corrective action proportional to current error, the integral term eliminates steady-state error by accumulating past errors, and the derivative term damps oscillations by responding to the rate of change of error. In a Siemens S7-PLC temperature control loop, Kp = 2.0 provides fast response, Ki = 0.1 eliminates steady-state offset, and Kd = 0.05 reduces overshoot in an oven heating element control. The integral term alone guarantees zero steady-state error for step inputs in a type-1 system.

Follow-up: What is integral windup and how do you prevent it in a PID implementation?

Q3. What is the transfer function of a PID controller?

The PID transfer function in the s-domain is C(s) = Kp + Ki/s + Kd×s = (Kd×s² + Kp×s + Ki)/s, showing a pole at the origin from the integrator and two zeros placed to shape the closed-loop response. The pole at s=0 ensures the system is Type 1, guaranteeing zero steady-state error to step reference inputs. In the ABB AC500 PLC, PID function blocks implement this transfer function digitally using the bilinear (Tustin) approximation, with the sample time Ts small enough relative to the process time constant to maintain fidelity.

Follow-up: How does adding a derivative filter pole to the ideal PID transfer function improve practical implementation?

Q4. What is the Routh-Hurwitz stability criterion?

The Routh-Hurwitz criterion determines stability of a closed-loop polynomial by arranging its coefficients into the Routh array; the system is stable if all elements in the first column of the array have the same sign, with sign changes indicating right-half-plane poles. For the characteristic polynomial s³ + 6s² + 11s + 6, the Routh array first column is [1, 6, 10, 6] — all positive — confirming all three poles are in the left half-plane and the system is stable. This algebraic test avoids computing actual pole locations, making it practical for high-order polynomials in compensator design.

Follow-up: What does a zero element in the first column of the Routh array indicate?

Q5. What are gain margin and phase margin and what values indicate a well-designed system?

Gain margin is the additional gain the open-loop system can tolerate before becoming unstable, measured in dB at the phase crossover frequency (where phase = −180°), and phase margin is the additional phase lag the system can tolerate before instability, measured at the gain crossover frequency (where gain = 0 dB). A well-designed industrial control system typically targets a gain margin ≥ 6 dB and a phase margin between 45° and 65° — the L&T motor drive controllers are tuned to 60° phase margin for robust operation across motor load variations. Inadequate phase margin causes excessive overshoot and oscillatory step response; too much margin causes sluggish response.

Follow-up: How does adding a phase-lead compensator increase the phase margin of a poorly designed control loop?

Q6. What is root locus and how is it used in control system design?

Root locus is a graphical plot of the closed-loop pole locations as the loop gain K varies from 0 to ∞, showing how stability and transient performance change with gain. For a plant with poles at s = 0 and s = −10, the root locus starts at these poles and as K increases, the poles move toward the open-loop zeros or toward infinity along asymptotes. In designing a speed controller for a BLDC motor driver, the root locus of the current control loop reveals the maximum gain before the poles enter the right half-plane, setting the maximum Kp before oscillation occurs.

Follow-up: What are the rules for determining the asymptotes of root locus branches going to infinity?

Q7. What is steady-state error and how does system type affect it?

Steady-state error is the difference between the reference input and the actual output as time approaches infinity; it depends on system type (number of open-loop poles at the origin) and input type. A Type 0 system has infinite velocity error and non-zero position error for a step input, while a Type 1 system (one integrator in the open loop) has zero position error for a step but non-zero velocity error for a ramp. The integral term in a PID controller adds one open-loop pole at the origin, making the system Type 1 and guaranteeing zero steady-state error to constant reference commands in L&T industrial drives.

Follow-up: What is the position error constant Kp and how is it used to calculate steady-state error for a step input?

Q8. What is a Bode plot and how is it used to assess stability margins?

A Bode plot graphs the open-loop transfer function magnitude in dB and phase in degrees versus frequency on a logarithmic scale; the gain margin is read at the phase crossover frequency and the phase margin at the gain crossover frequency. For a plant G(s) = 1000/((s+1)(s+10)(s+100)), the Bode plot shows the gain crossover at about 10 rad/s and the phase crossover at about 31 rad/s; phase margin ≈ 40° indicates a somewhat underdamped but stable system. In Bosch automotive ECU motor control, Bode analysis of the throttle position control loop guides compensator design to achieve the required phase margin over the full engine temperature range.

Follow-up: How does a first-order lag in the forward path affect the Bode magnitude and phase plots at high frequency?

Q9. What is the difference between a type-1 and type-2 control system?

A Type 1 system has one open-loop pole at the origin (one integrator), providing zero steady-state error for step inputs and finite velocity error for ramp inputs, while a Type 2 system has two integrators, providing zero steady-state error for both step and ramp inputs but finite acceleration error. A proportional-integral (PI) position controller for a servo motor is Type 1: the motor's velocity-to-position integration plus the controller's integral action gives two integrators total, making it Type 2 for position commands. Adding the second integrator dramatically increases low-frequency loop gain but requires careful compensation to maintain stability.

Follow-up: What stability challenge does a Type 2 system present compared to a Type 1 system?

Q10. What is the Nyquist stability criterion?

The Nyquist criterion states that for a closed-loop system to be stable, the Nyquist plot of the open-loop transfer function G(jω)H(jω) must encircle the −1+j0 point clockwise N times, where N equals the number of open-loop right-half-plane poles — for a system with no open-loop RHP poles, the plot must not encircle −1. For an ABB process control loop with no open-loop RHP poles, seeing the Nyquist plot pass to the right of the −1 point confirms stability. The Nyquist criterion handles systems with RHP poles and time delays that the Routh-Hurwitz test cannot directly address.

Follow-up: How is the Nyquist criterion related to the Bode plot stability margins?

Q11. What is integral windup in PID control and how is it handled?

Integral windup occurs when the plant output saturates (e.g., an actuator hits its physical limit) but the controller's integrator keeps accumulating error, building up a large integral term that must unwind before the controller can respond effectively when the saturation clears. In a Bosch fuel injection ECU, the air-fuel ratio PID controller uses anti-windup logic that stops integrating when the injector pulse width reaches its minimum or maximum hardware limit. Back-calculation anti-windup feeds the difference between the saturated and unsaturated control output back to the integrator input through a gain Kb, actively pulling the integral term toward the saturation boundary.

Follow-up: What is the conditional integration anti-windup method and how does it compare to back-calculation?

Q12. What is a phase-lead compensator and when do you use it?

A phase-lead compensator has the transfer function C(s) = K(s+z)/(s+p) with z < p, adding positive phase near the geometric mean of z and p while also increasing high-frequency gain, used to improve phase margin and speed up the closed-loop transient response. A lead compensator with z=10 and p=100 adds a maximum of about 55° of phase at ω = √(10×100) = 31.6 rad/s, boosting the phase margin of a sluggish motor speed controller. Lead compensation is chosen over PD control when a clean roll-off at high frequencies is needed to limit noise amplification.

Follow-up: What is the maximum phase contribution of a lead compensator and how is the ratio z/p related to it?

Q13. What is the difference between proportional control and proportional-integral control for a first-order plant?

Proportional control of a first-order plant produces a steady-state error inversely proportional to Kp because the output settles where Kp×error = required control action; adding integral action eliminates this error by driving it to zero over time. A 1 kW heater controlled by P-only with Kp=5 stabilizes 5°C below setpoint because the 1°C error × Kp=5 provides enough control signal — adding integral action with Ki=0.2 drives the error to exactly zero within the settling time. The integral action's cost is reduced phase margin and potential overshoot if the gain is too aggressive.

Follow-up: How does the integral time constant Ti relate to Ki in a PI controller, and how is Ti set relative to the plant time constant?

Q14. What is the Mason's gain formula and where is it used?

Mason's gain formula computes the transfer function of a signal flow graph as T = (ΣMkΔk)/Δ, where Mk is the gain of the k-th forward path, Δ is the graph determinant (1 minus sum of loop gains plus sum of products of non-touching loop gains...), and Δk is the cofactor excluding loops touching path k. For a two-loop control system with forward path gain G1G2 and two feedback loops, Mason's formula directly gives the closed-loop transfer function without algebraic block diagram reduction. It is used in multi-loop process control systems like distillation column controllers at L&T Hydrocarbon plants where 3–4 interacting loops must be analyzed simultaneously.

Follow-up: How does Mason's formula handle a system with two non-touching loops in its signal flow graph?

Q15. What is the difference between absolute stability and relative stability in control systems?

Absolute stability is a binary assessment of whether a system is stable or unstable (all closed-loop poles in the left half-plane), while relative stability measures how far the system is from instability using gain margin, phase margin, or damping ratio as quantitative indices. A motor speed controller might be absolutely stable with all poles at s = −0.5 ± j10, but with a damping ratio ζ = 0.05 it shows extreme overshoot — it is absolutely stable but has poor relative stability. In ABB drive commissioning, phase margin is the primary relative stability target (typically 45–60°) rather than just confirming the system does not oscillate.

Follow-up: How is the damping ratio of a second-order closed-loop system related to its phase margin?

Common misconceptions

Misconception: A system is stable as long as its open-loop transfer function has all poles in the left half-plane.

Correct: Open-loop stability does not guarantee closed-loop stability; a feedback system can become unstable with sufficient loop gain even when the plant has all stable poles, as shown by the Nyquist criterion.

Misconception: Adding more integral gain to a PID controller always reduces steady-state error faster.

Correct: Excessive integral gain increases overshoot, can cause oscillation, and worsens integral windup; integral gain must be balanced against stability margins.

Misconception: Phase margin and gain margin both need to be maximized for the best control performance.

Correct: Very high phase margin (>75°) and gain margin (>20 dB) indicate an overdamped, sluggish system; practical targets are 45–65° phase margin and 6–12 dB gain margin for balanced speed and robustness.

Misconception: The Routh-Hurwitz criterion can determine stability of systems with time delay.

Correct: Routh-Hurwitz applies only to polynomial characteristic equations; time delay introduces a transcendental term e^(−sT) that must first be approximated by a Padé polynomial before applying the criterion.

Quick one-liners

What is the steady-state error for a step input to a Type 1 system?Zero — a Type 1 system has one integrator providing infinite DC gain that drives the step error to zero.
What does the integral term in a PID controller eliminate?Steady-state error, by accumulating error over time until the process output exactly matches the setpoint.
What is the gain margin of a system measured at?At the phase crossover frequency where the open-loop phase equals −180°.
What is integral windup?The accumulation of large integral error when the actuator is saturated, causing delayed and oscillatory recovery when saturation ends.
How many sign changes in the first column of the Routh array equal the number of RHP poles?Each sign change in the first column indicates one right-half-plane pole.
What phase margin range indicates a well-damped, robustly stable control system?45° to 65° phase margin is the standard target for industrial control systems.
What type of input does a Type 2 system track with zero steady-state error?Both step and ramp inputs — a Type 2 system has two integrators providing zero position and velocity error.
What is the effect of the derivative term in PID on system response?It damps oscillations by opposing rapid changes in error, reducing overshoot and settling time.
Where do root locus branches start (at K=0) and end (as K→∞)?Branches start at open-loop poles and end at open-loop zeros (or infinity along asymptotes).
What is a phase-lead compensator used to improve?Phase margin and transient response speed by adding positive phase near the gain crossover frequency.

More Control Systems questions