Homework 1
Homework 1
Problem Set # 1
Spring 2020
a) Assume that the signal is sampled at frequency ωs = 3 rad/sec. Using the Z-transform
(or any other technique of your choosing) determine the sampled sequence upto 10 time
steps.
b) Plot the sequence obtained above (you may use MATLAB if you want). What anomaly
do you observe in the sampling sequence? Is it a hidden oscillation? Explain why it oc-
curred.
c) Show how the hidden oscillation may have been detected beforehand using the modified
Z-transform. You may choose any suitable value for the delay.
a) Find the output y(t) at the sampling instants i.e. y(kT ) if the sampling time T is 0.1
sec. Assume a unit impulse input.
Question # 3 (5 marks)
Consider the following plant transfer function.
Y (s) 3
=
U (s) (s + 1)(s + 3)
Derive the discrete-time state space description of the system if the plant is preceded by a
zero-order sample and hold operation with a sampling time of T = 0.1 sec.
a)
uk+2 − 0.6uk+1 − 0.16uk = 5ek+2
where u−1 = 0, u−2 = 25/4 and ek = 4−k 1(k).
b)
uk+2 + 6uk+1 + 9uk = 0
where u−1 = −1/3, u−2 = −2/9.
c)
uk + 4uk−2 = 0
√ √
where u−1 = −1/(2 2), u−2 = 1/(4 2).
b) Using any method of your choice, find the response of the system to the input ek =
3−(k+1) 1(k).
Question # 7 (20 marks)
Consider the following continuous-time system
Y (s) 1
G(s) = =
U (s) s(s + 1)
a) Obtain a state space representation of the given system by selecting x1 = y and x2 = ẋ1 .
b) Calculate the discrete-time equivalent of the state space representation obtained above.
Assume that the control is applied through a zero-order-hold, and that the sampling time
T = 1.
d) Show that G(z) obtained above is the same as the one obtained through the Z.O.H
G(s)
equivalent of G(s) i.e., G(z) = Z (1 − e−T s ) .
s
Y (z) z+1
= 2
U (z) z + 1.3z + 0.4
a) Obtain a state space representation of the given system in the control canonical form.
b) Transform the state by choosing the transformation matrix T as the matrix whose
columns comprise of the eigenvectors of AC . The resulting state space description is called
the modal canonical form. Show that it results in two uncoupled difference equations for
the state dynamics.
a) Obtain a discrete-time equivalent for the controller using each of the following methods
2. Pole-zero mapping
b) Using MATLAB, plot the output of each approximate controller if the input is an
impulse. Compare with the response of the continuous time controller and comment on
the accuracy of each approximation. Assume that K = 1, Ti = 2 and the sampling time
T = 0.1 sec. Attach your plots.