Interview questions & answers
Q1. What is a Bode plot and what are its two components?
A Bode plot consists of two separate graphs: the magnitude plot showing 20·log|G(jω)| in dB versus log-frequency, and the phase plot showing ∠G(jω) in degrees versus log-frequency. A single-pole RC low-pass filter with a cutoff at 1 kHz has a magnitude that rolls off at -20 dB/decade above 1 kHz and a phase that asymptotes to -90°. The logarithmic frequency axis allows a wide range of frequencies — typically 4 to 6 decades — to be displayed clearly on a single plot.
Follow-up: Why is the frequency axis plotted on a logarithmic scale?
Q2. What is the slope of the magnitude Bode plot for a single pole?
A single real pole at s = -a contributes a magnitude slope of -20 dB/decade (or equivalently -6 dB/octave) above the break frequency ω = a. The op-amp integrator circuit with a feedback capacitor of 10 nF and 10 kΩ resistor has a pole at the origin and rolls off at exactly -20 dB/decade across its entire operating range. Two poles together give -40 dB/decade, which is why second-order low-pass filters achieve much sharper attenuation than first-order designs.
Follow-up: How does a zero affect the slope of the Bode magnitude plot?
Q3. How do you find gain margin from a Bode plot?
Gain margin is found by locating the phase crossover frequency where the phase curve crosses -180°, then reading the magnitude at that frequency — the gain margin in dB is the negative of that magnitude value. If the magnitude Bode plot reads -14 dB at the phase crossover frequency, the gain margin is +14 dB, meaning the system can tolerate a gain increase by a factor of 5 before instability. A gain margin below 6 dB is generally considered marginal for robust industrial controller design.
Follow-up: What does a negative gain margin tell you about the system?
Q4. How do you find phase margin from a Bode plot?
Phase margin is found by locating the gain crossover frequency where the magnitude curve crosses 0 dB, then reading the phase at that frequency and adding 180° to it. If at the gain crossover frequency the phase is -135°, the phase margin is 180° - 135° = 45°, which is adequate for a well-damped servo. A phase margin between 45° and 60° is the standard design target for most industrial motion and process control loops.
Follow-up: What does a phase margin of exactly 0° mean for the system?
Q5. What is the Bode plot of a pure integrator?
A pure integrator 1/s has a magnitude Bode plot that is a straight line with slope -20 dB/decade passing through 0 dB at ω = 1 rad/s, and a constant phase of -90° at all frequencies. An op-amp integrator using a 100 kΩ input resistor and 1 µF feedback capacitor exhibits exactly this behavior with a unity-gain frequency at 1/(RC) = 10 rad/s. The -90° phase of the integrator is the main reason adding integral action to a PID controller consumes phase margin.
Follow-up: How does an integrator in the open-loop path affect steady-state error?
Q6. What is the corner frequency of a first-order system and how does it appear on a Bode plot?
The corner frequency (or break frequency) of a first-order system 1/(τs + 1) is ω = 1/τ rad/s, the frequency where the asymptotic magnitude plot changes slope from 0 dB/decade to -20 dB/decade. At the exact corner frequency, the true magnitude is -3 dB below the asymptote and the true phase is exactly -45°, which is useful for identifying system time constants experimentally. In a motor drive with a mechanical time constant of 20 ms, the corner frequency is at 1/0.02 = 50 rad/s, and you can identify this point by looking for the -3 dB point in the measured frequency response.
Follow-up: How much does the actual phase differ from the asymptotic phase at the corner frequency?
Q7. What does a resonant peak in the Bode magnitude plot indicate?
A resonant peak in the Bode magnitude plot indicates an underdamped second-order mode with damping ratio ζ < 0.707, and the height of the peak above the DC gain is approximately 1/(2ζ) for small ζ. A lightly damped vibration mode in an industrial robot arm appears as a sharp resonant peak at the structural resonance frequency, for example at 40 Hz with a peak of +12 dB corresponding to ζ ≈ 0.125. This peak narrows the phase margin window and is a key reason why robot control bandwidths are kept well below structural resonances.
Follow-up: How do you calculate the resonant frequency and peak magnitude of an underdamped second-order system?
Q8. What is bandwidth and how is it read from a Bode plot?
Closed-loop bandwidth is the frequency at which the closed-loop magnitude drops to -3 dB below its DC value, and it represents the highest frequency of input that the system can track with reasonable fidelity. A servo motor controller with a closed-loop bandwidth of 200 rad/s can faithfully follow sinusoidal position commands up to about 200 rad/s before the output amplitude starts dropping significantly. Bandwidth is approximately equal to the open-loop gain crossover frequency for well-designed systems, so the Bode magnitude plot gives a direct bandwidth estimate.
Follow-up: What limits the achievable bandwidth of a closed-loop control system?
Q9. What is the Bode magnitude plot contribution of a gain constant K?
A constant gain K shifts the entire magnitude plot up by 20·log(K) dB without affecting the phase plot at all. In an op-amp circuit with a non-inverting gain of 20 (26 dB), the entire Bode magnitude curve shifts up by 26 dB relative to the unity-gain configuration, while the phase remains determined only by the poles and zeros. This additive property on the dB scale is the main advantage of the logarithmic representation — gains of cascaded stages simply add.
Follow-up: If you double the gain K, by how many dB does the magnitude plot shift?
Q10. How does a right-half-plane zero appear on a Bode plot?
A right-half-plane zero at s = +a has the same magnitude Bode plot as a left-half-plane zero at s = -a — the slope increases by +20 dB/decade at the break frequency — but the phase contribution is -90° instead of +90°, giving additional phase lag rather than phase lead. A boost DC-DC converter operating in continuous conduction mode has an RHP zero whose frequency depends on duty cycle and load, typically in the range of a few kHz, which limits how high the control bandwidth can be set. The identical magnitude but opposite phase makes RHP zeros treacherous because the gain looks fine while the phase margin is being silently consumed.
Follow-up: Why does a boost converter have a right-half-plane zero and how does it affect controller design?
Q11. What is the significance of the -40 dB/decade slope through 0 dB on a Bode magnitude plot?
If the magnitude Bode plot crosses 0 dB with a slope of -40 dB/decade, the phase at that frequency is approximately -180°, giving near-zero phase margin and an oscillatory or unstable closed-loop response. Many textbook third-order plants exhibit this situation when the gain is too high, where two poles together create the -40 dB/decade slope precisely at the gain crossover. The rule of thumb in lead-lag compensator design is to ensure the slope at the gain crossover is -20 dB/decade with a comfortable frequency range on either side.
Follow-up: What compensator would you add to change the slope at gain crossover from -40 to -20 dB/decade?
Q12. What is the Bode magnitude asymptote error at the corner frequency?
At the corner frequency of a first-order pole, the asymptotic Bode plot is exactly 3 dB above the true magnitude, and one octave away from the corner the error is 1 dB — these standard corrections are memorized for quick hand sketching. For an active low-pass filter with a 10 kHz cutoff, the actual gain at 10 kHz is -3 dB, not the 0 dB that the asymptote suggests. For second-order systems with low damping the asymptote error at resonance can be many decibels, making asymptotic approximation unreliable near resonance.
Follow-up: How large can the asymptote error be for a second-order system with damping ratio of 0.1?
Q13. What is a lead compensator and what does it do on a Bode plot?
A lead compensator has the form (s + z)/(s + p) with p > z, placing a zero at a lower frequency than its pole, and it adds positive phase (phase lead) between the two break frequencies. A lead compensator with zero at 10 rad/s and pole at 100 rad/s injects up to 55° of phase lead centered around 31.6 rad/s, increasing the phase margin of a motor controller from 20° to 60°. The lead compensator simultaneously raises the gain crossover frequency, increasing bandwidth, but also amplifies high-frequency noise by a factor of p/z.
Follow-up: What is the maximum phase boost achievable with a single lead stage, and at what frequency does it occur?
Q14. What is a lag compensator and when would you use it?
A lag compensator has the form (s + z)/(s + p) with z > p, placing its zero above its pole, and it increases low-frequency gain to reduce steady-state error without significantly affecting the phase near the gain crossover. A lag compensator with pole at 0.1 rad/s and zero at 1 rad/s boosts the low-frequency gain by 20 dB in a position control system, eliminating steady-state error to a ramp while leaving the phase margin near 45° nearly unchanged. The key to lag compensator design is placing both break frequencies well below the gain crossover so the phase lag they introduce has recovered by the time it reaches the gain crossover.
Follow-up: Why must the break frequencies of a lag compensator be placed well below the gain crossover frequency?
Q15. How does an additional pole at high frequency affect the Bode plot and stability?
An additional high-frequency pole adds -20 dB/decade slope and -90° phase at frequencies above its break frequency, which reduces the phase margin if the break frequency is near or below the gain crossover. In op-amp based controllers, the op-amp's gain-bandwidth product introduces exactly this parasitic high-frequency pole — a 741 op-amp with a 1 MHz GBW introduces a dominant pole at around 10 Hz that rolls off gain at 20 dB/decade well before the desired crossover. Choosing an op-amp with sufficient GBW to push this parasitic pole far above the control bandwidth is a standard design decision.
Follow-up: How does the unity gain bandwidth of an op-amp relate to its parasitic pole location?
Common misconceptions
Misconception: The gain margin is read from the Bode plot at the gain crossover frequency.
Correct: Gain margin is read at the phase crossover frequency (where phase = -180°), not at the gain crossover frequency; the gain crossover frequency is where phase margin is evaluated.
Misconception: A steeper magnitude roll-off always means better filtering and better stability.
Correct: Steeper roll-off comes from more poles, which also add more phase lag, reducing phase margin and potentially destabilizing the closed-loop system.
Misconception: A right-half-plane zero and a left-half-plane zero have the same effect on the Bode plot.
Correct: Both contribute identical +20 dB/decade magnitude slope, but an RHP zero subtracts 90° of phase while an LHP zero adds 90°, making RHP zeros far more harmful to stability.
Misconception: The Bode plot is exact for all systems.
Correct: The Bode asymptotic approximation is exact only for minimum-phase systems; systems with time delays or RHP poles/zeros require the full Nyquist analysis for accurate stability determination.