Docsity

Analyzing Transient Response of a System with MATLAB and Simulink in ECEN/MAE 3723 - Prof., Study Guides, Projects, Research of Mechanical Engineering

Toggle sidebar
bg1
1
ECEN/MAE 3723 Systems I
Fall 2006
Computer Project
Objective:
• Using MATLAB, Control System Toolbox and SIMULINK to analyze the transient
response of a system.
Requirement:
• Show all your plots, Simulink Model and MATLAB codes. Please label your
plots.
• Clearly state your comments and explanations if required.
Problem:
Using Matlab Control System Toolbox
1. Given that the equation of motion for the system is as below:
)(50)(200)(104)(52)( txtytytyty =+++
••••••
(1)
(a) [15%]: Compute the transfer function of the above equation, )(sH . (Note: x(t) is
the input of the system. y(t) is the output of the system. Assume all initial
condition is zero.)
(b) [5%]: Plot the unit step response (i.e., )()( tutx
=
) of the transfer function, )(sH
in 1(a). (Note: “unit” refers to the gain is equal to one).
(c) [18%]: From the response in 1(b) clearly indicate the following transient
response specifications:
• Percentage Maximum overshoot, Mp
• Rise Time, tr
• Delay Time, td
• Peak Time, tp
• Settling time, ts
• Steady-State value
(d) [3%]: Compute the )(∞yusing the Final Value Theorem. Do the computed value
matches the steady state value found from the response?
pf3

Partial preview of the text

Download Analyzing Transient Response of a System with MATLAB and Simulink in ECEN/MAE 3723 - Prof. and more Study Guides, Projects, Research Mechanical Engineering in PDF only on Docsity!

ECEN/MAE 3723 Systems I

Fall 2006

Computer Project

Objective :

  • Using MATLAB, Control System Toolbox and SIMULINK to analyze the transient response of a system.

Requirement :

  • Show all your plots, Simulink Model and MATLAB codes. Please label your plots.
  • Clearly state your comments and explanations if required.

Problem:

Using Matlab Control System Toolbox

  1. Given that the equation of motion for the system is as below:

y ( t )+ 52 y ( t )+ 104 y ( t )+ 200 y ( t )= 50 x ( t )

  • •• •• • (1)

(a) [15%]: Compute the transfer function of the above equation, H ( s ). (Note: x ( t ) is the input of the system. y ( t ) is the output of the system. Assume all initial condition is zero.)

(b) [5%]: Plot the unit step response (i.e., x ( t )= u ( t )) of the transfer function, H ( s ) in 1(a). (Note: “unit” refers to the gain is equal to one).

(c) [18%]: From the response in 1(b) clearly indicate the following transient response specifications:

  • Percentage Maximum overshoot, Mp
  • Rise Time, t (^) r
  • Delay Time, t (^) d
  • Peak Time, t (^) p
  • Settling time, t (^) s
  • Steady-State value

(d) [3%]: Compute the y ( ∞)using the Final Value Theorem. Do the computed value matches the steady state value found from the response?

(e) [6%]: Plot the Bode diagram and Nyquist Plot of the transfer function, H ( s )in Problem 1(a).

(f) [15%]: Use the “ residue ” command to solve the transfer function, H ( s )in Problem 1(a), where u(t) is an unit step input. (Hint: Solve for y ( t )). Then plot y ( t )for the time, t in the range from 0 to 6 sec, varying by 0.01. Does the plot of y ( t )match the plot in 1(b)?

(g) [5%]: Given a new model, G ( s )= 1 , combine both models, i.e H ( s )and G ( s ), as shown in the following figure:

What is the mathematical model (in S-domain) of this combine model? (Note: this model is closed-loop transfer function)

Using Simulink

  1. [10%]: Use Simulink to create the combine model in Problem 1(g). Let the input block to be a unit step input and the stop time is 6 sec. Plot the unit step response.

(a) [10%]: Compare the unit step response from your Simulink model and the unit step response in Problem 1(b). State your observations. (Hint: Compare the transient response specifications)

(b) Simulate the combine model with

i. [5%] : unit ramp input (or as shown in figure below)

ii. [8%]: Impluse input shown on figure below:

H(s)

G(s)

1

t

1

0

r(t)