Feedback and Control Systems: Activity No. 2 - Time Response of Dynamic Systems
Feedback and Control Systems: Activity No. 2 - Time Response of Dynamic Systems
Feedback and Control Systems: Activity No. 2 - Time Response of Dynamic Systems
Name:__________________________________ Rating:__________________________
Date Performed: _________________________ Date Submitted: __________________
I. ACTIVITY OBJECTIVES
This activity aims to
1. demonstrate the use of computer aided tools to determine the poles and zeros, and the response
of the system to various inputs of dynamic systems;
2. equip the students with the knowledge and skills in obtaining the pole-zero plot, time response plot
and information, and determining the relationship of the time response parameters of the system in
relation to its pole location; and
3. provide the students with the knowledge of designing component values to meet time response
objectives and simulating the design to verify its correctness.
For first-order system, or system with only one pole and no zero, the response has only one form and is
given as
c(t) = A + Be
where A and B are the residues of the partial fraction expansion of the rational Laplace transform of the
response of the system. In the discussion, the parameters time constant, rise time and settling time are
defined, which are all dependent on the pole location – a.
For second-order system, the response depends on the location of the poles also. In the discussion, a
second-order system with no zeros can have an overdamped, underdamped, undamped, or critically
damped response depending on the location of the poles. Two related specifications: the damping ratio and
the natural frequency are defined in order to relate these to the type of the response of the system.
Higher-ordered systems containing dominant complex poles as well as with zeros can be approximated as
second-order system when certain conditions are met. These approximations can be validated using
computer aided tools. This activity shows the use of MATLAB and LabVIEW in obtaining the time response
parameters of dynamic systems.
V. LEARNING ACTIVITIES
Activity 2.1 – Poles and Zeros
1. MATLAB. Use the command pzmap()to determine the poles and zeros, as well as plot the pole-
zero map of a system whose transfer function is defined in the object sys. Use the following format:
>> [p z] = pzmap(sys)
and MATLAB will return the location of the poles in vector p and the zeros in vector z, as well as a
figure will show the pole-zero map.
For the Pole-Zero Map, set the upper and lower limits of the imaginary axs to +10 and -10
respectively, and the real axis from +10 to -20. Then disable the autoscaling of the plot.
3. Compute for the poles and zeros of the transfer function given in the table below, then plot them on
the complex s-plane. Complete the table below.
Transfer Function Poles and Zeros Pole-Zero Plot
s + 2s + 2
G(s) =
s + 6s + 4s + 7s + 2
4. Use MATLAB and LabVIEW to determine the poles and zeros and to plot them on the complex s-
plane. Record the results below.
Transfer Function Poles and Zeros Pole-Zero Plot
In MATLAB:
s + 2s + 2
G(s) =
s + 6s + 4s + 7s + 2
In LabVIEW:
s + 2s + 2
G(s) =
s + 6s + 4s + 7s + 2
Q1.4(a)Complete the table below, using MATLAB and LabVIEW. Verify the results using hand
calculations on separate sheets of paper.
Transfer Function Poles and Zeros Pole-Zero Plot
2
G(s) =
s+2
5
G(s) =
(s + 3)(s + 6)
s+5
G(s) =
(s + 10)
s + 7s + 24s + 24
G(s) =
s + 10s + 35s + 50s + 24
s + 2s + 10
G(s) =
s + 38s + 515s + 2950s + 6000
Q1.4(b) Using the poles and zeros obtained in the previous questions, write the general form of the
step responses of the system whose transfer functions are given below.
Transfer Function General Form of the Step Response
s + 2s + 2
G(s) =
s + 6s + 4s + 7s + 2
2
G(s) =
s+2
5
G(s) =
(s + 3)(s + 6)
s+5
G(s) =
(s + 10)
s + 7s + 24s + 24
G(s) =
s + 10s + 35s + 50s + 24
s + 2s + 10
G(s) =
s + 38s + 515s + 2950s + 6000
Q1.4(c) How does the location of the poles and zeros relate to the general form of the step response
of the system?
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
>> step(sys)
>> stepinfo(sys)
The command damp()gives information on the poles of the transfer function, as well as the
associated damping ratio and natural frequencies. Enter the command in the following format
>> damp(sys)
The command ltiview() can also be used to plot the time response of linear systems. On the
command window, type in
for more information on this command. In this case, use the following format
>> ltiview({‘step’,’pzmap’},sys)
to display the step response, as well as the pole-zero map of the transfer function sys.
2. LabVIEW. Replicate act02-01.vi and name the other copy as act02-02a.vi. Add components as
shown below.
Q2.1(a) Use the MATLAB commands and the LabVIEW VI to complete the table below. On a
separate sheet, roughly sketch the time response of each of the system.
Damping Ratio Time Response Parameters
Transfer Function / Natural
%
Frequency
a)
5
G(s) =
s+5
b)
20
G(s) =
s + 20
c)
20
G(s) =
s + 6s + 144
d)
9
G(s) =
s + 9s + 9
f)
225
G(s) =
(s + 15)
g)
24.542
G(s) =
s + 4s + 24.542
h)
245.42
G(s) =
(s + 10)(s + 4s + 24.542)
i)
73.626
G(s) =
(s + 3)(s + 4s + 24.542)
j)
s+2
G(s) =
s + 3s + 36
k)
s−2
G(s) =
s + 3s + 36
l)
s +3
G(s) =
(s + 2)(s + 3s + 10)
m)
s + 2.5
G(s) =
(s + 2)(s + 4s + 20)
o)
s + 2.01
G(s) =
(s + 2)(s + 5s + 20)
p)
s + 2s + 10
G(s) =
s + 38s + 515s + 2950s + 6000
Q2.1(b) Comment on the results for the system (a) and (b). Check the values obtained using the VI
with the results of the formula. Are the values for the damping ratio and the natural frequencies
valid? Comment also on the validity of the values for the peak time and percent overshoot.
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
Q2.1(c) Comment on the results for the systems (c) through (f). Determine the form of the response
with respect to the value of the damping ratio.
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
Q2.1(d) Systems (g) through (i) have additional real poles, aside from two complex poles. Comment
on the results. Which exhibits a near second-order response? What is the relationship between the
dominant complex poles and the real third pole for a third-order system to exhibit an approximate
second-order response?
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
Q2.1(e) Systems (j) and (k) have zeros. Which of the system exhibit non-minimum phase behavior?
Discuss the non-minimum phase behavior based on the time response plot.
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
Q2.1(f) Systems (l) through (o) are systems with additional poles and with zeros. Which of these can
be approximated into a second-order response using pole-zero cancellation? What general rule can
be established which will allow such approximation?
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
Q.2.1(g) Plot the responses of systems (a) through (o) on separate sheets of paper. Screenshots for
such plots may be provided.
3. Complex systems can also be modeled and simulated in MATLAB and LabVIEW. As an example the
system whose block diagram is shown below has the transfer functions G(s) = ( )
and H(s) =
.
4. MATLAB. To obtain the closed-loop equivalent the above transfer function, use the command
feedback(), as in the following format
>> T = feedback(G,H)
where T is the object representing the closed-loop transfer function, G is the forward transfer function
and H the feedback transfer function. Read more on the commands feedback(), as well as on
the commands parallel() and series() by using the help command of MATLAB.
Q4.1(a) Using MATLAB, determine the poles and zeros, plot and analyze the time response
characteristics of the system given above. Complete the table below.
5. LabVIEW. Modify act02-02a.vi and rename this as act02-02b.vi. Add a CD Construct Transfer
Function.vi block to define H(s) and connect G(s) with H(s) using the CD Feedback.vi. Use the
Help to obtain more information about the Model Interconnection palette.
Q5.1(a) Using LabVIEW, determine the poles and zeros, plot and analyze the time response
characteristics of the system given above. Complete the table below.
Closed-loop Transfer Function Poles and Zeros Pole-Zero Plot
VI. CONCLUSIONS
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
_____________________________________________________________________________________
a. Determine the poles and zeros of this system and plot them on the complex s-plane.
b. Sketch the step response of the wing elevator deflection to a step nose angle input. Determine the
time response parameters.
c. On the plot of the response, label which is the short period mode and which is the phugoid mode.
Which of the poles cause the short period and the phugoid responses, respectively?
c. Find the values of K and K to yield a 16% overshoot and a settling time of 0.2 seconds.
Determine the rest of the time response parameters.
VIII. REFERENCES
N. Nise. (2011). Control Systems Engineering 6th Edition. United States of America: John Wiley & Sons.
R. Dorf& R. Bishop. (2011). Modern Control Systems 12th Edition. New Jersey: Prentice Hall.
INTENDED LEARNING
1 2 3 Points
OUTCOMES
Design components of
The student was able to design The student was able to design
dynamic systems to achieve The student was not able to
some of the component values component values of systems
time response parameter design the components of
but does not achieve the and achieves design
objectives. systems to achieve objectives.
design objectives. objectives.
(MP2b, MP2c)
Total Score
Laboratory Rating
A B Total