Challenge - 5 Problems
Second-order System Simulation Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
❓ Predict Output
intermediateOutput of a second-order system step response
Given a second-order system with transfer function H(s) = \(\frac{1}{s^2 + 2\zeta\omega_ns + \omega_n^2}\), where \(\zeta = 0.5\) and \(\omega_n = 4\), what is the peak value of the step response in Simulink?
Simulink
Create a Transfer Function block with numerator [1] and denominator [1 4 16]. Connect a Step block with step time 0 and step size 1. Connect the output to a Scope block. Run the simulation and observe the peak value.
Attempts:
2 left
💡 Hint
Recall that the peak overshoot depends on the damping ratio \(\zeta\).
✗ Incorrect
For a damping ratio of 0.5, the system exhibits an overshoot. The peak value is about 1.16 times the final value.
❓ data_output
intermediateSettling time from simulation data
You simulate a second-order system with \(\zeta = 0.7\) and \(\omega_n = 5\). The step response data is recorded. What is the approximate settling time (time to stay within 2% of final value)?
Simulink
Use a Step block and Transfer Function block with numerator [1] and denominator [1 7 25]. Run simulation for 2 seconds and log output data. Analyze the time when output remains within 0.98 to 1.02.
Attempts:
2 left
💡 Hint
Settling time for 2% criterion is approximately \(\frac{4}{\zeta \omega_n}\).
✗ Incorrect
Using formula, settling time = 4 / (0.7 * 5) ≈ 1.14 seconds.
❓ visualization
advancedPlotting the impulse response of a second-order system
You simulate the impulse response of a second-order system with \(\zeta = 0.3\) and \(\omega_n = 3\). Which plot correctly shows the expected oscillatory decay?
Simulink
Use an Impulse block connected to a Transfer Function block with numerator [1] and denominator [1 1.8 9]. Run simulation and plot output versus time.
Attempts:
2 left
💡 Hint
Low damping ratio causes oscillations that fade out.
✗ Incorrect
With \(\zeta = 0.3\), the system is underdamped, so the impulse response oscillates and decays.
🔧 Debug
advancedIdentify the error in the Simulink model for a second-order system
A user models a second-order system with transfer function \(\frac{1}{s^2 + 2s + 1}\) but the simulation output is always zero. The model uses a Transfer Function block with numerator [1] and denominator [1 2]. What is the error?
Attempts:
2 left
💡 Hint
Check the order of the denominator polynomial coefficients.
✗ Incorrect
The denominator must have three coefficients for a second-order system. Using only two causes the system to be invalid and output zero.
🚀 Application
expertDesign a Simulink model to compare overdamped and underdamped responses
You want to compare step responses of two second-order systems: one overdamped with \(\zeta=1.5\), \(\omega_n=3\), and one underdamped with \(\zeta=0.5\), \(\omega_n=3\). Which Simulink setup correctly allows this comparison?
Simulink
Create two Transfer Function blocks with denominators [1 9 9] and [1 3 9] respectively. Connect both to Step blocks with same parameters. Use two Scope blocks to view outputs.
Attempts:
2 left
💡 Hint
Overdamped system has \(\zeta > 1\), underdamped has \(\zeta < 1\). Denominator coefficients depend on \(\zeta\) and \(\omega_n\).
✗ Incorrect
Denominator coefficients are \([1, 2\zeta\omega_n, \omega_n^2]\). For \(\zeta=1.5\), denominator is [1 9 9]. For \(\zeta=0.5\), denominator is [1 3 9]. Separate blocks and scopes allow clear comparison.
