Exercise 4.1

Exercise 4.1#

We are given a mechanical system represented by the transfer function \(G(s)\). While an explicit expression for \(G(s)\) is not available, we have obtained its frequency response through a lot of hammer tests. The resulting frequency response is depicted in Fig. 10 below.

../_images/ex1-bode.svg

Fig. 10 Bode plot of the mechanical system \(G(s)\)#

  1. Design a proportional controller \(F(s)=K\) such that the following specifications are satisfied:

    • The closed-loop is stable.

    • The bandwidth is greater than \(5\) rad/s, but it does not exceed \(15\) rad/s.

    • The phase margin \(\varphi_m\) is larger than \(45^\circ\).

  2. What will be the worst-case resonance peak of the closed-loop transfer function \(G_c(s)\)?


Solution#

Question 1#

We start by recalling that, letting \(G_o(s) = F(s) G(s)\) be the open-loop transfer function

(3)#\[ \lvert G_o(i \omega) \lvert_{\text{dB}} = \lvert F(i \omega) \lvert_{\text{dB}} + \lvert G(i \omega) \lvert_{\text{dB}} \]
(4)#\[ \angle G_o(i \omega) = \angle F(i \omega) + \angle G(i \omega) \]

This means that the Bode plots of \(G_o(s)\), and hence the closed-loop performance, can be inferred from the Bode plots of \(G(s)\) without actually knowing its analytical expression!

In this specific case, we have a proportional controller. This means that

  • \(\lvert F(i \omega) \lvert_{\text{dB}} = K_{\text{dB}} = 20 \log_{10} K\)

  • \(\angle F(i \omega) = 0^\circ\) as long as \(K > 0\)

According to (3) and (4), \(\angle G_o(i \omega)\) remains unchanged, while \(\lvert G_o(i \omega) \lvert_{\text{dB}}\) is obtained by shifting \(\lvert G(i \omega) \lvert_{\text{dB}}\) up/down by \(K_{\text{dB}}\).

Note

The closed-loop bandwidth is approximately equal to the critical frequency of the open-loop transfer function \(G_o(i\omega)\), i.e., the frequency \(\omega_c\) where \(\lvert G_o(i \omega_c) \lvert_{\text{dB}}\) cuts the \(0\) dB axis.

Inspecting Fig. 10, we realize that \(\omega_c = 5\) if \(K_{\text{dB}} = 22\) dB. Similarly, \(\omega_c = 15\) if \(K_{\text{dB}} = 48\) dB. The resulting Bode plots of \(G_o(s)\) are repoted in Fig. 11.

../_images/ex1-bode-sol-mag.svg

Fig. 11 Bode plot of \(G_o(s)\) for \(K_{\text{dB}} = 22\) dB (blue line) and for \(K_{\text{dB}} = 48\) dB (red line).#

Therefore, the range of gains statisfying the bandwidth requirement is

\[ 12.6 \leq K \leq 250 \]

As for the phase, \(\angle G_o(i \omega) = \angle G(i \omega)\) for any \(K > 0\). Therefore, the phase margin \(\varphi_m\) is bigger than \(45^\circ\) as long as at the critical frequency \(\omega_c\), the phase satisfies \(\angle G(i \omega_c) > -135^\circ\).

Inspecting Fig. 10, we can see that this is the case as long as \(\omega_c > 8\) rad/s. This condition on the critical frequency is satisfied for \(K_{\text{dB}} > 28 \) dB, hence

\[ K \geq 25 \]

Solution: Any \(K\) in the range \(25 \leq K \leq 250\) satisfies the requirements.

Question 2#

As seen during the lecture F6, the closed-loop resonance peak satisfies

\[ M_p \leq \frac{1}{2 \sin\left( \frac{\varphi_m}{2} \right)} \]

The worst-case resonance peak happens at the minimum phase margin, \(\varphi_m = 45^\circ\), at which \(M_p = 1.3\).