Upload
others
View
7
Download
0
Embed Size (px)
Citation preview
Spring 2019
數位控制系統Digital Control Systems
DCS-31State Space Design
Feng-Li LianNTU-EE
Feb19 – Jun19
DCS31-SSDesign-2Feng-Li Lian © 2019Introduction: Model and Analysis and Design
G(z)u[k] y[k]
C(z)e[k]r[k]
Plant (DT): • Input-Output Model:
• State-Space Model:
System Properties:
Stability
Controllability and Reachability
Observability and Detectability
DCS31-SSDesign-3Feng-Li Lian © 2019Outline
Control System Design Regulation by State Feedback Observer Design Output Feedback Tracking Problem
DCS31-SSDesign-4Feng-Li Lian © 2019Control Systems Design
Control System Design:Load disturbance (actuator)Measurement noise (sensor)Process disturbance (un-modeled dynamics)
Control Objects:Regulation:Reduction of load disturbancesFluctuations by measure noise
Tracking:
DCS31-SSDesign-5Feng-Li Lian © 2019Control Systems Design
Major Ingredients of a Design Problem:Purpose of the systemProcess modelModel for disturbanceModel variants and uncertaintiesAdmissible control strategiesDesign parameters
DCS31-SSDesign-6Feng-Li Lian © 2019Control Systems Design
Block Diagram of a Typical Control System:
C Gyu
- 1
r e
C Gyu
- 1
r e
dv
P
DCS31-SSDesign-7Feng-Li Lian © 2019Control Systems Design
The Process:
Discrete-time model with h:
DCS31-SSDesign-8Feng-Li Lian © 2019Control Systems Design
Disturbances:
Impulse signals: irregularly, widely spread, etc.Step signals:Ramp signals:Sinusoidal signals:
Process Uncertainties:
In the elements of A, B, C, D or F, H, C, D
DCS31-SSDesign-9Feng-Li Lian © 2019Control Systems Design
Design Criteria:
Regulation:Bring the state to zero after perturbationsThe rate of decay of state C.L. poles
Tracking:From commands to states “model”
Admissible Controls:When all states are measured w/o errors:Linear feedback control law
DCS31-SSDesign-10Feng-Li Lian © 2019Control Systems Design
Design Parameters :
Sampling periodDesired C.L. poles
Time histories of states and controlsMagnitude of control signalsSpeed at which the system recovers from a disturbance
DCS31-SSDesign-11Feng-Li Lian © 2019Regulation by State Feedback
The C.T. Model:
The D.T. Model: (given h)
Characteristic Equation:
DCS31-SSDesign-12Feng-Li Lian © 2019Regulation by State Feedback
System Model and Characteristic Equation:
If the system is “Controllable”the system is in the Controllable Canonical Form:
DCS31-SSDesign-13Feng-Li Lian © 2019Regulation by State Feedback
The State Feedback Law:
Then:
DCS31-SSDesign-14Feng-Li Lian © 2019Regulation by State Feedback
Closed-Loop Characteristic Equation:
Desired Characteristic Equation:
Then
This is the Pole Placement
OR, the Eigenvalue Assignment
DCS31-SSDesign-15Feng-Li Lian © 2019Regulation by State Feedback
That is,
DCS31-SSDesign-16Feng-Li Lian © 2019Regulation by State Feedback
Now, we have (in controllable canonical form):
For any other SS forms:
Assume that exiting a nonsingular matrix T:
DCS31-SSDesign-17Feng-Li Lian © 2019Regulation by State Feedback
Then:
DCS31-SSDesign-18Feng-Li Lian © 2019Regulation by State Feedback
If the system is “Controllable”
DCS31-SSDesign-19Feng-Li Lian © 2019Regulation by State Feedback
The State Feedback Law:
DCS31-SSDesign-20Feng-Li Lian © 2019Regulation by State Feedback
How to find T:
DCS31-SSDesign-21Feng-Li Lian © 2019Regulation by State Feedback
If the system is “Controllable”
In Summary:
Ackermann's formula
DCS31-SSDesign-22Feng-Li Lian © 2019Regulation by State Feedback
Deadbeat Control:
DCS31-SSDesign-23Feng-Li Lian © 2019Regulation by State Feedback
Example:
Characteristic Polynomial:
Desired Characteristic Polynomial:
DCS31-SSDesign-24Feng-Li Lian © 2019Regulation by State Feedback
Example: Eigenvalue Assignment:
DCS31-SSDesign-25Feng-Li Lian © 2019Regulation by State Feedback
Example: Matlab code: F = [ 1 1; 0 1 ] H = [ 0.5; 1 ] Wc = [ H F*H ] rank(Wc) poly(F) eig(F) P = conv( [ 1 -0.5 ], [ 1 -0.2] ) roots(P) K = place( F, H, roots(P) )
DCS31-SSDesign-26Feng-Li Lian © 2019Regulation by State Feedback
Example: Matlab code: Fc = [ 2 -1; 1 0 ] Hc = [ 1; 0 ] Wcc = [ Hc Fc*Hc ] rank(Wcc) poly(Fc) eig(Fc) P = conv( [ 1 -0.5 ], [ 1 -0.2] ) roots(P) Kc = place( Fc, Hc, roots(P) )
DCS31-SSDesign-27Feng-Li Lian © 2019Regulation by State Feedback
Example: Matlab code: Fbf = Fc-Hc*Kc T = Wcc * Wc^(-1) T*F*T^(-1) T*H K*T^(-1) Kc*T
DCS31-SSDesign-28Feng-Li Lian © 2019Regulation by State Feedback
Example: (Choice of Design Parameters) The desired DT system is obtained by sampling:
DCS31-SSDesign-29Feng-Li Lian © 2019Regulation by State Feedback
Example: (Choice of Design Parameters)
DCS31-SSDesign-30Feng-Li Lian © 2019Observer Design
D.T. Model:
Given:
To calculate or reconstruct:
Direction calculation Using dynamic model
DCS31-SSDesign-31Feng-Li Lian © 2019Observer Design
Direction calculation for n samples: k, k-1, …, k-n+1:
DCS31-SSDesign-32Feng-Li Lian © 2019Observer Design
DCS31-SSDesign-33Feng-Li Lian © 2019Observer Design
From state-state form:
DCS31-SSDesign-34Feng-Li Lian © 2019Observer Design
Estimation using dynamic model:
DCS31-SSDesign-35Feng-Li Lian © 2019Observer Design
Improvement by using measured outputs:
Estimation error:
DCS31-SSDesign-36Feng-Li Lian © 2019Observer Design
Hence,• If L is chosen such that the system is asymptotic stable
That is,
DCS31-SSDesign-37Feng-Li Lian © 2019Observer Design
In Summary: Observer Dynamics
DCS31-SSDesign-38Feng-Li Lian © 2019Observer Design
If the system is “Controllable”
If the system is “Observable”
DCS31-SSDesign-39Feng-Li Lian © 2019Observer Design
Deadbeat Observer:
DCS31-SSDesign-40Feng-Li Lian © 2019Output Feedback
D.T. Model:
If all states are measured directly:
If the states CANNOT measured:
DCS31-SSDesign-41Feng-Li Lian © 2019Output Feedback
PlantG
yu
ObserverL
x̂
ControllerK
DCS31-SSDesign-42Feng-Li Lian © 2019Output Feedback
Closed-Loop System:
DCS31-SSDesign-43Feng-Li Lian © 2019Output Feedback
DCS31-SSDesign-44Feng-Li Lian © 2019Output Feedback
DCS31-SSDesign-45Feng-Li Lian © 2019Tracking Problem
Objective of Tracking Problem:• Make the states and the outputs of the system
respond to command signals in a specific way
Regulation & Tracking:Regulation: Tracking:
PlantG
yu
ObserverL
x̂
ControllerK
r TrackingKr
DCS31-SSDesign-46Feng-Li Lian © 2019Tracking Problem
Plant, Observer & Controller Models:
DCS31-SSDesign-47Feng-Li Lian © 2019Tracking Problem
Plant, Observer & Controller Models:
DCS31-SSDesign-48Feng-Li Lian © 2019Design Example
A Flexible Robot Arm:
DCS31-SSDesign-49Feng-Li Lian © 2019Design Example
C.T. Model of a Flexible Robot Arm:
DCS31-SSDesign-50Feng-Li Lian © 2019Design Example
Numerical Values used in simulation:
Poles & Zeros:
DCS31-SSDesign-51Feng-Li Lian © 2019Design Example
Bode plot & impulse response:
DCS31-SSDesign-52Feng-Li Lian © 2019Design Example
Specifications:
Sampling Time:
DCS31-SSDesign-53Feng-Li Lian © 2019Design Example
State Feedback Design:
Desired Poles:
DCS31-SSDesign-54Feng-Li Lian © 2019Design Example
DCS31-SSDesign-55Feng-Li Lian © 2019Design Example
Observer Design:
DCS31-SSDesign-56Feng-Li Lian © 2019Design Example