EEEE 414 - Lab Report 6
EEEE 414 - Lab Report 6
EEEE 414
Classical Control
Lab 6 Report
Fall 2024
Done by:
This lab focuses on understanding the performance characteristics of first- and second-
order control systems using MATLAB. These systems, fundamental in engineering, help
illustrate how dynamic models respond over time, including aspects like stability and response
speed. Using MATLAB, we’ll analyze system behaviors such as step and time responses and
observe how changes in parameters affect stability and performance. The lab report will include
MATLAB code, results from exercises, and a summary of key insights, supported by references
to "Modern Control Systems" by Dorf and Bishop.
In control systems, first- and second-order systems provide foundational insight into how
systems respond to inputs over time. A first-order system, such as an RC circuit, is characterized
by its time constant τ =RC , which defines the rate at which the system’s output—specifically,
the voltage across a capacitor Vc (t)❑approaches its steady-state value. Due to its passive nature,
the RC circuit is inherently stable, as the voltage will not increase indefinitely. The time constant
𝜏 is the time required Vc (t)❑to reach 63% of its final steady-state value. The primary
performance measures for a first-order system include its time constant and steady-state
response.
For a second-order system, the performance measures are typically based on its response to a
step input:
Rise Time (Tr): The time required for the system’s output to reach a specific percentage of the
input magnitude.
Peak Time (Tp): The time at which the output reaches its maximum value.
Overshoot (P.O): The extent to which the output exceeds the desired final value. The formula of
Mp−fv
is P .O .= ∗100 %
fv
Settling Time (Ts): The time for the output to remain within a specified tolerance (commonly
2%) of the final value.
These metrics describe how quickly and accurately the system reaches a steady state after a
disturbance, illustrating key dynamic characteristics of both first- and second-order systems.
● MATLAB
○ Run the MATLAB simulation to observe how the voltage across the capacitor
rises and decays, verifying the time-constant τ =RC
3. Analyze the system's behavior:
○ Record how the voltage reaches approximately 63% of the supply voltage,
signifying the time constant.
○ Validate the steady-state behavior and stability of the system.
4. Set up a second-order system simulation using a Mass-Spring model:
○ Define parameters such as the spring constant K, friction coefficient B, and
applied force F (t).
○ Implement the differential equation governing the system and convert it to its
transfer function in MATLAB.
5. Apply a step input to the second-order system and simulate its response:
○ Identify key performance metrics including rise, peak, overshoot, and settling
times.
○ Document how the response varies for different damping ratios ζ between 0 & 1.
6. Interpret the transient response data:
○ Plot the results showing variations in system response characteristics with
different damping ratios.
○ Highlight the differences in performance metrics and how they impact system
stability and accuracy.
7. Summarize findings and include MATLAB codes and plots in the final report.
The curve in Fig. 1.A shows a rapid increase in the amplitude of the Step Response initially, and
then levels off as it comes to the region of steady state value, reaching 63% of the final value
within one time constant, as per discussion in the lab handout.
This is a result of the first-order RC circuit with resistance set to 1k Ohms having an exponential
increase in voltage across the capacitor in the circuit.
EEEE 414 – Classical Control
Fig. 1.B shows the Step Response for the RC circuit with resistance set to 2k Ohms, which
reaches steady-state value or the amplitude of 1 slower than that compared to Fig. 1.A. This
occurs due to the increase in the value of resistance which increases the time delay to reach the
steady state value.
EEEE 414 – Classical Control
As per Fig. 2.B, by varying the damping coefficients of a second-order system, the damping
effects are shown as the response of a system to a step input.
Setting damping coefficients to values below 0.7 gave underdamped second-order responses, and
high values of the damping coefficient gave overdamped responses with minimal overshooting
but with a large settling time.
Finally, it is considered a critically damped system whose coefficient was 1; the response didn’t
oscillate, it served its response faster but took more time to respond.
EEEE 414 – Classical Control
The overdamped system (higher damping coefficient) was characterized by slowly rising time
response curve with no oscillation or overshoot and reaching steady state.
This experiment proved that lower damping rates equal faster though less stable responses and
higher damping equals response stability at the cost of having slower responses; a theoretical
prediction of the behavior of second order systems.