Exercise 2

2.1

Sketch the root locus diagram for the designs done in Lecture 3 on the resonant system P(s)=100s2+0.02s+100 with

a) C(s)=0.01s

b) C(s)=1s(s/2+1)2

c) C(s)=s2+4.8s+144s(s/2+1)(s2+1.76s+77.44)

d) C(s)=1.5e0.3ss

a-c are easily done by e.g. rlocusplot(P*C) in matlab. In subproblem d you will need to figure out some way to plot (an approximation of the most relevant part of) the root locus diagram since the exact characteristic equation has infinitely many roots. (Hint: Pade)

2.2

Let us consider different ways of sampling the resonant system P(s)=100s2+0.02s+100. In matlab this can be achieved with Pd = c2d(P,h,method).

Study the effects of sampling by plotting P and Pd in the same Bode-diagram. Use sampling period  h=0.05  and

a) method = 'zoh'

b) method = 'impulse'

c) method = 'tustin'

d) method = 'matched'

e) method = 'least-squares'

(note: faster sampling would be slightly better).

Compare the different methods regarding their ability to minimize distortion of the frequency response.

 

2.3

a) Simulate the step response of a sampled version of the resonance process P in problem 2.2 with sampled version of the the controller C in problem 2.1c. Use h=0.05, and the sampling method of your choice. You will notice that there is significant ringing in the step response

b) Design a discrete time prefilter F(z) and simulate the step response (this can be done in matlab by step(feedback(P*C,1)*F))

Try to achieve a settling time of 5 second such that |y(t)1|0.01 when t>5.

2.4

Define the average residence time Tar as the first moment of the impulse response, i.e. Tar=0th(t)dt/0h(t)dt. A possible definition of rise time Tr that is sometimes used is given by

Tr:=(0(tTar)2h(t)dt0h(t)dt)1/2.

  1. Show that Tar=P(0)P(0) and that Tr2=P(0)P(0)Tar2
  2. Calculate Tar and Tr for esT, 1/(1+sT)n and (1esh)/(sh)
  3. Consider a system composed of n cascaded systems, each with hk(t)0 (monotone step responses) and residence time Tar,k and rise time of Tr,k respectively. Show that the residence time and rise time of the cascaded system equals
    Tar,tot=Tar,1++Tar,n
    Tr,tot=(Tr,12++Tr,n2)1/2

2.5

There are many equivalent versions of Bode's relations valid for stable minimum phase systems. Here, we will use this variant

v(iω0)=2ω0π0u(iω)u(iω0)ω2ω02dω, and apply it to u+iv=log|G|+iargG.

Verify by direct calculation that the system G(s)=es satisfies this relation.