Representation and Analysis of Dynamical Systems 1h15 The exercises are independent. Note: most parameters are intentionally given without physical units. The numerical values are intentionally chosen in order to allow easy computation by hand. Exercise 1: Bode diagram and closed loop bandwidth We consider the system given by the following transfer function: π(π ) 1 = π(π ) (1 + π )(1 + 2π )(1 + 10π ) πΉ(π ) = The Bode diagrams of this open-loop transfer function are given in figure 1: 20πππ10(πΎ) ≈ 10 0.3 πππ/π ππ ≈ 60° Figure 1: Bode diagram of F The system is controlled according to the block diagram of figure 2 π + π’ πΉ(π ) πΎ − Figure 2: control 1 π¦ Question 1: What is the value of the constant gain πΎ that will ensure a closed loop bandwidth of 0.3 πππ. π −1 ? (An approximate response obtained from the Bode diagram is ok). Read on the Bode diagram: 20πππ10(πΎ) ≈ 10 ⇒ πΎ ≈ 100.5 ⇒ πΎ ≈ 3sult accepted: πΎ ∈ [2 4] Question 2: For this gain πΎ what is the static gain in closed loop? πΎ Static gain of the open loop is K. So static gain of the closed loop is 1+πΎ Result accepted: static gain ∈ [0.6 0.8] Question 3: For this gain πΎ what is the phase margin? Read on the diagram: ππ ≈ 60° Accepted ππ ∈ [50 70] Question 4: For this gain πΎ three candidates for the closed loop step response are given in figure 3. Which one is the correct one. You must justify with at least two arguments. Correct is plot 1: - Static gain of plot 3 is much too small Damping of plot 2 is much too small for a phase margin in the range [50 2 70] Figure 3: step response Question 5: In order to cancel the static error we replace the pure proportional controller πΎ by a PI controller: πΎ(π ) = πΎ × (1 + ππ ) π In the figure 4 we represent the step response with two values of ππ : π1 = 0.08 and π2 = 0.3 Give the correct correspondence between the step response and the value of ππ . Explain. π1 corresponds to plot 1 and π2 corresponds to plot 2 π1 is significantly less than the closed loop bandwidth. The PI will add almost no extra phase and consequently not modify the phase margin 3 Figure 4: step response with a PI controller 4 Exercise 2: Coupled tanks We consider a three tanks system as depicted in figure 5. Each tank (1, 2 and 3) as a level of water given by πΏ1 (π‘), πΏ2 (π‘) and πΏ3 (π‘). The first tank is filled with water with a pump controlled by a control voltage π(π‘) π(π‘) πΏ1 (π‘) πΏ2 (π‘) πΏ3 (π‘) Figure 5: Three tanks system The level of each tank is given by the following set of differential equations where each coefficient is strictly positive: ππΏ1 (π‘) = −πΌ1 √πΏ1 (π‘) + π½ π’(π‘) ππ‘ ππΏ2 (π‘) = −πΌ2 √πΏ2 (π‘) + πΌ1 √πΏ1 (π‘) ππ‘ ππΏ3 (π‘) { ππ‘ = −πΌ3 √πΏ3 (π‘) + πΌ2 √πΏ2 (π‘) Question 1: We consider this system as single input (control input π’(π‘)) and single output (level of tank 3, π3 (π‘)). What is the water level equilibrium (πΏ1 , πΏ2 , πΏ3 ) when the input voltage π(π‘) = π is constant? 5 π½π 2 ) πΌ1 πΌ1 2 π½π 2 πΏ2 = ( ) πΏ1 = ( ) πΌ2 πΌ2 2 π½π πΏ3 = ( ) { πΌ3 πΏ1 = ( Question 2: Give the linearized system of differential equations near this equilibrium point. You’ll note πΏπ (π‘) = πΏπ + ππ (π‘) where πΏπ corresponds to the equilibrium level and ππ (π‘) the small variation of the level near this equilibrium and π(π‘) = π + π’(π‘) ππ1 (π‘) πΌ1 =− π1 (π‘) + π½π’(π‘) = −π1 π1 (π‘) + π½π’(π‘) ππ‘ 2√πΏ1 ππ2 (π‘) πΌ2 πΌ1 =− π2 (π‘) + π1 (π‘) = −π2 π2 (π‘) + π1 π1 (π‘) ππ‘ 2√πΏ2 2√πΏ1 ππ3 (π‘) πΌ3 πΌ2 =− π3 (π‘) + π2 (π‘) = −π3 π3 (π‘) + π2 π2 (π‘) 2√πΏ3 2√πΏ2 { ππ‘ Question 3: Is it possible to control independently the level of each tank using only the control input π’(π‘)? Check controllability matrix: − π΄= πΌ1 2√πΏ1 πΌ1 2√πΏ1 [ 0 [π΅ 0 − 0 πΌ2 2√πΏ2 πΌ2 2√πΏ2 π΄π΅ −π1 = [ π1 0 0 − πΌ3 0 −π2 π2 0 π½ 0 ] π΅ = [0 ] −π3 0 2√πΏ3 ] π½ π΄ π΅] = [ 0 0 2 −π½π1 π½π1 0 Rank is 3 (assuming non-null coefficients) Question 4: Give the transfer function between π’(π‘) and π3 (π‘) 6 π½π12 − π½π1 π2 ] π½π1 π2 −π½π12 πΏ3 (π ) = π2 π1 π½ π(π ) (π + π3 ) (π + π2 ) (π + π1 ) Remark: transfer function is of order 3, confirms full observability and controllability 7