Course: Digital Control (CS416) Sheet No.: 1 Date: 27/10/2021 Due: 3/11/2021 Time: 2 Hours
Course: Digital Control (CS416) Sheet No.: 1 Date: 27/10/2021 Due: 3/11/2021 Time: 2 Hours
Faculty of Engineering
Computers and Systems Engineering Department
Course: Digital Control (CS416) Sheet No.: 1
Date: 27/10/2021 Due: 3/11/2021 Time: 2 Hours
1- The rectangular rules for numerical integration are illustrated in Fig. P2.2-1. The
left-side rule is depicted in 𝐹𝑖𝑔. 𝑃2.2 − 1(𝑎), and the right-side rule is depicted
in 𝐹𝑖𝑔. 𝑃2.2 − 1(𝑏). The integral of 𝑥(𝑡) is approximated by the sum of the
rectangular areas shown for each rule. Let 𝑦(𝑘𝑇) be the numerical integral of
𝑥(𝑡), 0 < 𝑡 < 𝑘𝑇.
a. Write the difference equation relating 𝑦(𝑘 + 1), 𝑦(𝑘), 𝑎𝑛𝑑 𝑥(𝑘) for the
left-side rule.
b. Find the transfer function 𝑌(𝑧)/𝑋(𝑧) for part (a).
c. Write the difference equation relating 𝑦(𝑘 + 1), 𝑦(𝑘), 𝑎𝑛𝑑 𝑥(𝑘 + 1) for
the right-side rule.
d. Find the transfer function 𝑌(𝑧)/𝑋(𝑧) for part (c).
e. Express 𝑦(𝑘) as a summation on 𝑥(𝑘) for the left-side rule.
f. Express 𝑦(𝑘) as a summation on 𝑥(𝑘) for the right-side rule.
a. Write the difference equation relating 𝑦[(𝑘 + 1)𝑇], 𝑦(𝑘𝑇), 𝑥[(𝑘 + 1)𝑇],
and 𝑥(𝑘𝑇) for this rule.
b. Show that the transfer function for this integrator is given by
𝑇
𝑌(𝑧) ( )(𝑧+1)
2
=
𝑋(𝑧) 𝑧−1
3- The transfer function for the right-side rectangular-rule integrator was found in
𝑌(𝑧) 𝑇𝑧
Problem 1 to be = We would suspect that the reciprocal of this
𝑋(𝑧) 𝑧−1
transfer function should yield an approximation to a differentiator. That is, if
𝑦(𝑘𝑇) is a numerical derivative of 𝑥(𝑡) 𝑎𝑡 𝑡 = 𝑘𝑇,
𝑦(𝑧) 𝑧 − 1
=
𝑥(𝑧) 𝑇𝑧
a. Write the difference equation describing this differentiator.
b. Draw a figure similar to those in 𝐹𝑖𝑔. 𝑃2.2 − 1 illustrating the
approximate differentiation
4- Find the z-transform of the number sequence generated by sampling the time
function 𝑒(𝑡) = 𝑡 every 𝑇 second, beginning at 𝑡 = 0. Can you express this
transform in closed form?
5- Write as a series the z-transform of the number sequence generated by
sampling the time function 𝑒(𝑡) = 𝜀 −𝑡 every 𝑇 seconds can you express this
transformation as closed form?
a. Evaluate the coefficients of the series of a at 𝑇 = 0.05𝑠.
Minia University
Faculty of Engineering
Computers and Systems Engineering Department
Course: Digital Control (CS416) Sheet No.: 1
Date: 27/10/2021 Due: 3/11/2021 Time: 2 Hours
10- Given
3 1
𝑦(𝑘 + 2) − 𝑦(𝑘 + 1) + 𝑦(𝑘) = 𝑒(𝑘)
4 8
12- Find the inverse z- transform using the three methods (power series, partial
fraction, integral formula):
0.5𝑧
a. (𝑧−1)(𝑧−0.6)
0.5(𝑧+1)
b. (𝑧−1)(𝑧−0.6)
𝑧(𝑧−0.7)
c. (𝑧−1)(𝑧−0.6)
13- Given in Fig. P2.8-1 are two digital-filter structures, or realizations, for
second-order filters.
a. Write the difference equation for the structure of Fig. P2.8-1(a),
expressing 𝑦(𝑘) as a function of 𝑦(𝑘 − 𝑖) 𝑎𝑛𝑑 𝑒(𝑘 − 𝑖).
b. Derive the filter transfer function 𝑌(𝑧)/𝐸(𝑧) for the structure by taking
the z-transform of the equation in part (a).
c. Write the difference equation for the structure of Fig. P2.8-1(b). Two
equations are required, with one for 𝑓(𝑘) and one for 𝑦(𝑘).
d. Derive the filter transfer function 𝑌(𝑧)/𝐸(𝑧) for the 1D structure by
taking the z-transform of the equations in part (c) and eliminating 𝐹(𝑧).
Minia University
Faculty of Engineering
Computers and Systems Engineering Department
Course: Digital Control (CS416) Sheet No.: 1
Date: 27/10/2021 Due: 3/11/2021 Time: 2 Hours
Minia University
Faculty of Engineering
Computers and Systems Engineering Department
Course: Digital Control (CS416) Sheet No.: 1
Date: 27/10/2021 Due: 3/11/2021 Time: 2 Hours