Software Oriented

Time Domain Analysis of First, Second and Third Order Systems

Aim

To study and analyze the time domain responses of first, second, and third order linear time-invariant (LTI) systems using MATLAB.
  1. To analyze the time response of first, second, and third order LTI systems.
  2. To study impulse, step, ramp, and parabolic responses.
  3. To evaluate system stability and time domain specifications.
  4. To verify theoretical results using MATLAB simulations.

Apparatus & Software

Sl. No.Apparatus / SoftwareTechnical SpecificationQuantities
1MATLABR2023 or compatible, with Control System Toolbox1

Theory

The time domain response of a control system describes how the output of the system varies with time for a given input signal. To evaluate the dynamic performance of control systems, standard test inputs are commonly applied. These inputs are mathematically simple and represent practical physical situations, allowing a clear comparison of system behavior under different conditions.
Standard Test Inputs
  • Impulse Input: Represents a sudden shock or disturbance applied to the system. r(t) = δ(t)
  • Step Input: Represents a sudden change in position or reference value. r(t) = u(t)
  • Ramp Input: Represents a constant velocity input. r(t) = t·u(t)
  • Parabolic Input: Represents a constant acceleration input. r(t) = (t²/2)·u(t)
Part A: First Order System
A first order system contains a single energy storage element and is characterized by one pole. The standard transfer function of a first order system is:
G(s)=Kτs+1G(s) = \frac{K}{\tau s + 1}
where K is the system gain and τ is the time constanttime constantA measure of how quickly a circuit responds to change. For RC circuits, τ = RC; for RL circuits, τ = L/R. After one time constant, the response reaches ~63% of its final value.. For an impulse input, the time response is:
c(t)=Kτet/τc(t) = \frac{K}{\tau} e^{-t/\tau}
Time Domain Specifications of First Order Systems:
  • Delay Time (td): Time to reach 50% of final value. td ≈ 0.693τ
  • Rise Time (tr): Time to rise from 10% to 90% of final value. tr ≈ 2.2τ
  • Settling Time (ts): Time to remain within ±2% of final value. ts ≈ 4τ
  • Steady-State Value: lim(t→∞) c(t) = K
  • Steady-State Error (ess): ess = lim(t→∞) [r(t) − c(t)]
Part B: Second Order System
A second order system contains two energy storage elements and may exhibit oscillatory behavior depending on the damping ratio. The standard transfer function is:
G(s)=ωn2s2+2ζωns+ωn2G(s) = \frac{\omega_n^2}{s^2 + 2\zeta\omega_n s + \omega_n^2}
where ωn is the natural frequency and ζ is the damping ratio. The impulse response is:
c(t)=ωn1ζ2eζωntsin(ωdt)c(t) = \frac{\omega_n}{\sqrt{1-\zeta^2}} e^{-\zeta\omega_n t} \sin(\omega_d t)
where the damped natural frequency is:
ωd=ωn1ζ2\omega_d = \omega_n \sqrt{1 - \zeta^2}
Classification of Second Order Systems:
  • Undamped (ζ = 0): Sustained oscillations with constant amplitude.
  • Underdamped (0 < ζ < 1): Oscillations with exponentially decaying amplitude.
  • Critically Damped (ζ = 1): Fastest return to steady-state without oscillations.
  • Overdamped (ζ > 1): Returns to steady-state without oscillations but more slowly.
Time Domain Specifications of Second Order Systems:
tr=πθωd,θ=tan1(1ζ2ζ)t_r = \frac{\pi - \theta}{\omega_d}, \quad \theta = \tan^{-1}\left(\frac{\sqrt{1-\zeta^2}}{\zeta}\right)
tp=πωdt_p = \frac{\pi}{\omega_d}
Mp=eπζ1ζ2×100%M_p = e^{-\frac{\pi\zeta}{\sqrt{1-\zeta^2}}} \times 100\%
ts4ζωn(2% criterion)t_s \approx \frac{4}{\zeta\omega_n} \quad (2\%\text{ criterion})
Part C: Third Order System
A third order system contains three energy storage elements and exhibits more complex dynamics. The transfer function of a typical third order system is:
G(s)=K(s+a)(s2+2ζωns+ωn2)G(s) = \frac{K}{(s + a)(s^2 + 2\zeta\omega_n s + \omega_n^2)}
The poles are s₁ = −a and s₂,₃ = −ζωn ± jωn√(1−ζ²). If the real pole −a lies far to the left of the imaginary axis (a ≫ ζωn), the complex conjugate poles dominate the system response and the third order system can be approximated as a dominant second order system.

Pre-Lab / Circuit Diagram (Not Applicable)

This section is not required for this experiment.

Procedure

  1. Define the transfer function of each system using MATLAB's tf() function.
  2. Apply impulse, step, ramp, and parabolic inputs to each system.
  3. Plot the time responses using MATLAB's impulse(), step(), and lsim() functions.
  4. Extract time domain specifications (rise timerise timeThe time required for a system's transient response to rise from 10% to 90% (typically for overdamped systems) or 0% to 100% (for underdamped systems) of its final steady-state value., peak time, settling timesettling timeThe time required for a system's response curve to reach and permanently stay within a specified tolerance band (usually 2% or 5%) of the final steady-state value., maximum overshootmaximum overshootThe maximum peak value of the response curve measured from the desired steady-state value, typically expressed as a percentage. It indicates the relative stability of the system., steady-state value) using MATLAB's stepinfo() function.
  5. Identify system parameters (K, τ for first order; ωn, ζ for second order) by comparing with standard forms.
  6. For the third order system, identify dominant poles and compare with second order approximation.
  7. Verify the MATLAB results against theoretical calculations.
The following six systems are analyzed:
  1. System 1 (First Order): G(s) = 3 / (0.6s + 1)
  2. System 2 (Second Order — Undamped): G(s) = 121 / (s² + 121)
  3. System 3 (Second Order — UnderdampedunderdampedA system response that oscillates with decreasing amplitude before reaching steady state. Occurs when damping is less than the critical value (ζ < 1).): G(s) = 144 / (s² + 19.2s + 144)
  4. System 4 (Second Order — Critically Dampedcritically dampedA system response that returns to steady state as fast as possible without oscillating. Occurs when the damping ratio exactly equals one (ζ = 1).): G(s) = 144 / (s² + 24s + 144)
  5. System 5 (Second Order — OverdampedoverdampedA system response that returns to steady state slowly without oscillating. Occurs when damping exceeds the critical value (ζ > 1).): G(s) = 144 / (s² + 72s + 144)
  6. System 6 (Third Order): G(s) = 1 / [(s + 36)(s² + 14s + 196)]

Simulation / Execution

MATLAB simulations were performed for all six systems to obtain their impulse, step, ramp, and parabolic responses, and to compute time domain specifications.

Observations

First Order System — G(s) = 3 / (0.6s + 1)
Impulse Response for first order system

Impulse Response for first order system

Step Response for first order system

Step Response for first order system

Ramp Response for first order system

Ramp Response for first order system

Parabolic Response for first order system

Parabolic Response for first order system

Step Response Specifications for first order system

Step Response Specifications for first order system

ParameterValue
Gain K3
Time Constant τ0.6
Rise Time1.3182 s
Peak Time4.3933 s
Maximum Overshoot0 %
Settling Time2.3472 s
Steady-State Value3
Second Order System — Undamped (ζ = 0) — G(s) = 121 / (s² + 121)
The undamped second order system exhibits sustained oscillations with constant amplitude. No energy dissipation is observed, and the system does not reach steady-state.
Impulse Response for undamped second order system

Impulse Response for undamped second order system

Step Response for undamped second order system

Step Response for undamped second order system

Ramp Response for undamped second order system

Ramp Response for undamped second order system

Parabolic Response for undamped second order system

Parabolic Response for undamped second order system

Second Order System — Underdamped (0 < ζ < 1) — G(s) = 144 / (s² + 19.2s + 144)
The underdamped system exhibits oscillatory behavior with exponentially decaying amplitude. The response overshoots the steady-state value before settling.
Impulse Response for underdamped second order system

Impulse Response for underdamped second order system

Step Response for underdamped second order system

Step Response for underdamped second order system

Ramp Response for underdamped second order system

Ramp Response for underdamped second order system

Parabolic Response for underdamped second order system

Parabolic Response for underdamped second order system

Step Response Specifications for underdamped system

Step Response Specifications for underdamped system

ParameterValue
Natural Frequency ωn12
Damping Ratio ζ0.8
Rise Time0.20566 s
Peak Time0.43653 s
Maximum Overshoot1.5165 %
Settling Time0.31302 s
Steady-State Value1
Second Order System — Critically Damped (ζ = 1) — G(s) = 144 / (s² + 24s + 144)
The critically damped system returns to steady-state in the minimum possible time without oscillations. It represents the fastest non-oscillatory response.
Impulse Response for critically damped second order system

Impulse Response for critically damped second order system

Step Response for critically damped second order system

Step Response for critically damped second order system

Ramp Response for critically damped second order system

Ramp Response for critically damped second order system

Parabolic Response for critically damped second order system

Parabolic Response for critically damped second order system

Step Response Specifications for critically damped system

Step Response Specifications for critically damped system

ParameterValue
Natural Frequency ωn12
Damping Ratio ζ1
Rise Time0.27986 s
Peak Time0.99395 s
Maximum Overshoot0 %
Settling Time0.48618 s
Steady-State Value1
Second Order System — Overdamped (ζ > 1) — G(s) = 144 / (s² + 72s + 144)
The overdamped system does not exhibit oscillations and returns to steady-state slowly compared to the critically damped case due to the presence of two real and distinct poles.
Impulse Response for overdamped second order system

Impulse Response for overdamped second order system

Step Response for overdamped second order system

Step Response for overdamped second order system

Ramp Response for overdamped second order system

Ramp Response for overdamped second order system

Parabolic Response for overdamped second order system

Parabolic Response for overdamped second order system

ParameterValue
Natural Frequency ωn12
Damping Ratio ζ3
Rise Time1.0675 s
Peak Time3.5564 s
Maximum Overshoot0 %
Settling Time1.9147 s
Steady-State Value1
Third Order System — G(s) = 1 / [(s + 36)(s² + 14s + 196)]
The third order system consists of an additional real pole (s₁ = −36) along with complex conjugate poles (s₂,₃ ≈ −7 ± j12.12). The complex poles are dominant. The dominant pole approximation was used to analyze the transient response.
Impulse Response for third order LTI system

Impulse Response for third order LTI system

Step Response for third order LTI system

Step Response for third order LTI system

Ramp Response for third order LTI system

Ramp Response for third order LTI system

Parabolic Response for third order LTI system

Parabolic Response for third order LTI system

Step Response Specifications for third order system

Step Response Specifications for third order system

ParameterValue
Natural Frequency ωn (dominant)84.2378
Damping Ratio ζ (dominant)2.9915
Rise Time0.11707 s
Peak Time0.25657 s
Maximum Overshoot16.2929 %
Settling Time0.57685 s
Steady-State Value0.00014172

Calculations

System 1 — First Order
G1(s)=30.6s+1K=3,  τ=0.6G_1(s) = \frac{3}{0.6s + 1} \Rightarrow K = 3,\; \tau = 0.6
Key results: td = 0.693 × 0.6 = 0.4158 s, tr = 2.2 × 0.6 = 1.32 s, ts = 4τ = 2.4 s, steady-state value = 3, steady-state error = −4 (for ramp input).
System 2 — Undamped Second Order
G2(s)=121s2+121ωn2=121ωn=11,  2ζωn=0ζ=0G_2(s) = \frac{121}{s^2 + 121} \Rightarrow \omega_n^2 = 121 \Rightarrow \omega_n = 11,\; 2\zeta\omega_n = 0 \Rightarrow \zeta = 0
System 3 — Underdamped Second Order
G3(s)=144s2+19.2s+144ωn=12,  2ζωn=19.2ζ=0.8G_3(s) = \frac{144}{s^2 + 19.2s + 144} \Rightarrow \omega_n = 12,\; 2\zeta\omega_n = 19.2 \Rightarrow \zeta = 0.8
System 4 — Critically Damped Second Order
G4(s)=144s2+24s+1442ζωn=24ζ=1G_4(s) = \frac{144}{s^2 + 24s + 144} \Rightarrow 2\zeta\omega_n = 24 \Rightarrow \zeta = 1
System 5 — Overdamped Second Order
G5(s)=144s2+72s+1442ζωn=72ζ=3G_5(s) = \frac{144}{s^2 + 72s + 144} \Rightarrow 2\zeta\omega_n = 72 \Rightarrow \zeta = 3
Poles: s = −2.06, s = −69.94 (factored as (s + 2.06)(s + 69.94)).
System 6 — Third Order
G6(s)=1(s+36)(s2+14s+196)G_6(s) = \frac{1}{(s+36)(s^2+14s+196)}
Poles: s₁ = −36, s₂,₃ = −7 ± j√147 ≈ −7 ± j12.12. The complex conjugate poles s₂, s₃ are dominant (closer to imaginary axis).

Results & Analysis

The time domain specifications obtained from MATLAB for all systems are summarized below.
SystemTransfer FunctionTypeωn / Kζ / τRise Time (s)Peak Time (s)Max Overshoot (%)Settling Time (s)SS Value
System 13 / (0.6s+1)1st OrderK=3τ=0.61.31824.393302.34723
System 2121 / (s²+121)2nd — Undamped1101 (oscillating)
System 3144 / (s²+19.2s+144)2nd — Underdamped120.80.205660.436531.51650.313021
System 4144 / (s²+24s+144)2nd — Critically Damped1210.279860.9939500.486181
System 5144 / (s²+72s+144)2nd — Overdamped1231.06753.556401.91471
System 61 / [(s+36)(s²+14s+196)]3rd Order84.242.990.117070.2565716.29290.576850.000142
For second order systems, the effect of the damping ratio on system behavior was clearly observed. As ζ increases from 0 to values greater than 1, the system transitions from sustained oscillations (undamped) → oscillatory decay (underdamped) → fastest non-oscillatory response (critically damped) → sluggish non-oscillatory response (overdamped). The third order system analysis demonstrated the dominant pole concept, where the overall transient responsetransient responseThe temporary behavior of a circuit immediately after a switching event or disturbance, before it reaches its new steady-state condition. was primarily governed by the poles closest to the imaginary axis.

Conclusion

In this experiment, the time domain responses of first, second, and third order linear time-invariant (LTI) systems were analyzed using standard test inputs such as impulse, step, ramp, and parabolic signals. The theoretical behavior of each system was studied using standard transfer function models, and key time domain specifications including rise time, peak time, settling time, and maximum overshoot were evaluated. The responses clearly demonstrated how system order and pole locations influence transient and steady-state characteristics.
For second order systems, the effect of the damping ratio on system behavior was clearly observed. The undamped system exhibited sustained oscillations, while the underdamped system showed oscillatory behavior with decaying amplitude and measurable overshoot. The critically damped system provided the fastest non-oscillatory response, and the overdamped system returned to steady-state more slowly without oscillations. The third order system analysis further illustrated the dominant pole concept, where the overall transient response was primarily governed by the poles closest to the imaginary axis.
The MATLAB simulations closely matched the theoretical predictions, validating the analytical calculations and reinforcing the relationship between system parameters and time domain performance. Overall, the experiment provided a comprehensive understanding of how system order and damping characteristics affect dynamic response, stability, and performance in control systems.

Post-Lab / Viva Voce

Q: What is the effect of damping ratio (ζ\zeta) on the maximum overshoot and settling time of a second-order system?
A: As the damping ratio ζ\zeta decreases from 1 towards 0, the maximum overshoot increases significantly. However, a highly underdamped system may have a longer settling time due to sustained oscillations, whereas a heavily overdamped system (ζ>1\zeta > 1) approaches the steady state too slowly, also increasing settling time. The optimal damping ratio for minimal settling time without excessive overshoot is typically around ζ=0.7\zeta = 0.7.
Q: Why is a critically damped system preferred in applications like analog meter movements or door closers?
A: A critically damped system provides the fastest possible response without any overshoot or oscillation. This is strictly preferred when an overshoot could cause mechanical damage, reading inaccuracies (in meters), or slamming (in door closers).
Q: Explain the relationship between the location of closed-loop poles and the nature of the time response (underdamped vs. overdamped).
A: When closed-loop poles are complex conjugates located in the left half of the s-plane, the system response is underdamped and exhibits oscillations. If the poles are purely real, distinct, and negative, the system is overdamped with a sluggish response. If the two real poles are identical (repeated root), the system is critically damped.
Q: How does adding a zero to a second-order system affect its step response? How does adding a pole affect it?
A: Adding a zero to the forward path of a second-order system generally increases peak overshoot, decreases rise time, and makes the system 'faster' but less stable. Conversely, adding a pole increases rise time, slows down the response, and usually increases stability while damping out overshoots.
Q: In a third-order system, what condition allows it to be accurately approximated as a dominant second-order system?
A: A third-order system can be approximated as a dominant second-order system if the third pole is located significantly further to the left in the s-plane than the pair of dominant second-order poles. Typically, if the real part of the third pole is at least 5 to 10 times larger (more negative) than the real part of the dominant poles, its transient effect decays very rapidly and can be neglected.

References & Resources (Not Applicable)

This section is not required for this experiment.