state feedback
play

State Feedback Prof. Seungchul Lee Industrial AI Lab. State Space - PowerPoint PPT Presentation

State Feedback Prof. Seungchul Lee Industrial AI Lab. State Space Representation Given a point mass on a line whose acceleration is directly controlled: We want to write this on a compact/general form On a state space form 2 Block


  1. State Feedback Prof. Seungchul Lee Industrial AI Lab.

  2. State Space Representation • Given a point mass on a line whose acceleration is directly controlled: • We want to write this on a compact/general form • On a state space form 2

  3. Block Diagram 3

  4. The Car Model • If we care about/can measure the velocity: • If we care about/can measure the position we have the same general equation with different matrices: 4

  5. Output Feedback • Control idea: move towards the origin 𝑠 = 0 5

  6. Output Feedback • Assume 𝛿 = 0 • Pick, if possible, 𝐿 (= 1) such that • What's the problem? – the problem is that we do not take the velocity into account – we need to use the full state information in order to stabilize this system 6

  7. Output Feedback in MATLAB 7

  8. State Feedback • To move forwards origin, 𝑠 = 0 8

  9. State Feedback • Pick, if possible, 𝐿 such that the closed-loop system is stabilized 9

  10. State Feedback • Let's try – Asymptotically stable – Damped oscillations • Let's do another attempt – Asymptotically stable – No oscillations 10

  11. State Feedback • Eigenvalues Matter – It is clear that some eigenvalues are better than others. Some cause oscillations, some make the system respond too slowly, and so forth ... – We will see how to select eigenvalues and how to pick control laws based on the output rather than the state. 11

  12. State Feedback in MATLAB 12

  13. State Feedback in MATLAB 13

  14. Pole Placement • Back to the point-mass, again 14

  15. Pole Placement • Desired eigenvalues: let's pick both eigenvalues at −1 • Pick the control gains such that the eigenvalues (poles) of the closed loop system match the desired eigenvalues – Questions: is this always possible? (No) • How should we pick the eigenvalues? (Mix of art and science) – No clear-cut answer – The "smallest" eigenvalue dominates the convergence rage – The bigger eigenvalues, the bigger control gains/signals 15

  16. Example • Let's pick both eigenvalues at −1 • What's at play here is a lack of controllability, i.e., the effect of the input is not sufficiently rich to influence the system enough 16

  17. Pole Placement in MATLAB 17

  18. Controllability • When can we place the eigenvalues using state feedback? • When is 𝐶 matrix (the actuator configuration) rich enough so that we can make the system do whatever we want it to do? • The answer revolves around the concept of controllability • The system ሶ 𝑦 = 𝐵𝑦 + 𝐶𝑣 is controllable if there exists a control 𝑣(𝑢) that will take the state of the system from any initial state 𝑦 0 to any desired final state 𝑦 𝑔 in a finite time interval • Given a discrete-time system 18

  19. Controllability • Given a discrete-time system • We would like to drive this system in 𝑜 steps to a particular target state 𝑦 ∗ • We want to solve • The system (𝐵, 𝐶) is controllable if and only if 𝐷 has full row rank 19

  20. Controllability 20

  21. Controllability in MATLAB • ctrb(A, B) is the MATLAB function to form a controllability matrix, 𝐷 21

  22. Observer • We now know how to design rather effective controllers using state feedback. • But what about 𝑧 ? • The predictor-corrector (observer) – Assume 𝐶 = 0 or – Assume that we are aware of 𝐶 and 𝑣 – Make a copy of the system – Add a notion of how wrong your estimate is to the model 22

  23. Observer • The predictor-corrector (observer) – Make a copy of the system – Add a notion of how wrong your estimate is to the model • What we want to stabilize (drive to zero) is the estimation error, i.e., the difference between the actual state and the estimated state 𝑓 = 𝑦 − ො 𝑦 23

  24. Observer • Just pick 𝑀 such that the eigenvalues to 𝐵 − 𝑀𝐷 have negative real part !!! • We already know how to do this → Pole-placement • Does this always work? – No 24

  25. Observability • Need to redo what we did for control design to understand when we can recover the state from the output • The system is observable if, for any 𝑦(0) , there is a finite time 𝜐 such that 𝑦(0) can be determined from 𝑣(𝑢) and 𝑧(𝑢) for 0 ≤ 𝑢 ≤ 𝜐 • Given a discrete time system without inputs 25

  26. Observability • Can we recover the initial condition by collecting 𝑜 output values? • The system (𝐵, 𝐷) is observable if and only if 𝑆 has full column rank • The initial condition can be recovered from the outputs when the so-called observability matrix has full rank. 26

  27. Observability 27

  28. Observability in MATLAB • obsv(A, C) is the MATLAB function to form a observability matrix 28

  29. Now, How Do We Put Everything Together ? • Step 1) Design the stat feedback controller as if we had 𝑦 (which we don't) • Step 2) Estimate 𝑦 using an observer (that now also contains 𝑣 ) 29

  30. Now, How Do We Put Everything Together ? • Step 1) Design the stat feedback controller as if we had 𝑦 (which we don't) • Step 2) Estimate 𝑦 using an observer (that now also contains 𝑣 ) 30

  31. The Separation Principle • Want both 𝑦 and 𝑓 to be stabilized ( 𝑠 = 0 ) • This is an (upper) triangular block matrix – Its eigenvalues are given by the eigenvalues of the diagonal blocks ! • (The Separation Principle) Design 𝐿 and 𝑀 independently to satisfy 31

  32. Everything in Block Diagram 32

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend