Académique Documents
Professionnel Documents
Culture Documents
1
Vijay Kumar and Ani Hsieh
Robo3x-1.6 1
Property of Penn Engineering, Vijay Kumar and Ani Hsieh
In General
Disturbance
System Output
Input + Input + +
Controller
-
Robo3x-1.6 2
Property of Penn Engineering, Vijay Kumar and Ani Hsieh
Learning Objectives for this Week
• State Space Notation
• Modeling in the time domain
• Solutions in the time domain
• From Frequency Domain to Time Domain
and Back
• Design in the Time Domain
• Linearization
Robo3x-1.6 3
Property of Penn Engineering, Vijay Kumar and Ani Hsieh
State-Space Representation
• Converts N-th order differential equation into
N simultaneous FIRST-ORDER differential
equations
Robo3x-1.6 4
Property of Penn Engineering, Vijay Kumar and Ani Hsieh
State Variables
Smallest set of linearly independent system
variables s.t. state_variables(t_0) + known input
(or forcing) functions completely determines the
system.
# of state variables = Dimension of the State Space
# of state variables = order of the original diff eqn
Robo3x-1.6 5
Property of Penn Engineering, Vijay Kumar and Ani Hsieh
Example
Robo3x-1.6 6
Property of Penn Engineering, Vijay Kumar and Ani Hsieh
Another Example (1)
y1
x1
q2
y2
y0
P Q
x2
q1
O x0
Robo3x-1.6 7
Property of Penn Engineering, Vijay Kumar and Ani Hsieh
Another Example (2)
Robo3x-1.6 8
Property of Penn Engineering, Vijay Kumar and Ani Hsieh
Video 6.2
Vijay Kumar and Ani Hsieh
Robo3x-1.6 9
Property of Penn Engineering, Vijay Kumar and Ani Hsieh
Transfer Function → State Space (1)
Given
Robo3x-1.6 10
Property of Penn Engineering, Vijay Kumar and Ani Hsieh
Transfer Function → State Space (2)
Given
Robo3x-1.6 11
Property of Penn Engineering, Vijay Kumar and Ani Hsieh
Transfer Function → State Space (3)
Given
Robo3x-1.6 12
Property of Penn Engineering, Vijay Kumar and Ani Hsieh
State Space → Transfer Function (1)
Given
Robo3x-1.6 13
Property of Penn Engineering, Vijay Kumar and Ani Hsieh
State Space → Transfer Function (2)
Given
Robo3x-1.6 14
Property of Penn Engineering, Vijay Kumar and Ani Hsieh
Solutions in the Time Domain
Given w/
Robo3x-1.6 15
Property of Penn Engineering, Vijay Kumar and Ani Hsieh
Time Domain Solution (2)
Robo3x-1.6 16
Property of Penn Engineering, Vijay Kumar and Ani Hsieh
Output of the System
Natural Particular
Response Response
Thus, output of the system is given by
Robo3x-1.6 17
Property of Penn Engineering, Vijay Kumar and Ani Hsieh
Video 6.3
Vijay Kumar and Ani Hsieh
Robo3x-1.6 18
Property of Penn Engineering, Vijay Kumar and Ani Hsieh
The Matrix Exponential
Properties of
•
• If then
Robo3x-1.6 19
Property of Penn Engineering, Vijay Kumar and Ani Hsieh
Characterizing System Response
Robo3x-1.6 20
Property of Penn Engineering, Vijay Kumar and Ani Hsieh
Steady-State Performance
Since
Robo3x-1.6 21
Property of Penn Engineering, Vijay Kumar and Ani Hsieh
Transient Performance
What about complex eigenvalues?
Recall , then
with
results in
Robo3x-1.6 22
Property of Penn Engineering, Vijay Kumar and Ani Hsieh
Example (1)
Given w/
Robo3x-1.6 24
Property of Penn Engineering, Vijay Kumar and Ani Hsieh
Example (3)
Robo3x-1.6 25
Property of Penn Engineering, Vijay Kumar and Ani Hsieh
State Space Design
Given w/
Closed-loop system
with
1. Not restricted to 2nd order approximations
2. Access to a larger range of closed-loop poles
3. Allows for full state feedback
Robo3x-1.6 27
Property of Penn Engineering, Vijay Kumar and Ani Hsieh
Video 6.4
Vijay Kumar and Ani Hsieh
Robo3x-1.6 28
Property of Penn Engineering, Vijay Kumar and Ani Hsieh
A Caveat – Controllability
A linear system is controllable if for each
and , there exists a that can
get the system from to at time .
Controllability Matrix
Robo3x-1.6 29
Property of Penn Engineering, Vijay Kumar and Ani Hsieh
Feedback Law and Controllability
Let
s.t.
are real coefficients. Then there exists
such that
if and only if is controllable.
Robo3x-1.6 30
Property of Penn Engineering, Vijay Kumar and Ani Hsieh
Linear Quadratic (LQ) Control
Find optimal feedback control strategy that
Cost
Function
Constraints
where
Robo3x-1.6 32
Property of Penn Engineering, Vijay Kumar and Ani Hsieh
A Few More Words
The Algebraic Riccati Equation
• P is n x n matrix
• P is unique
• P is symmetric and positive definite
• w/ is optimal
w.r.t. the cost function J
Robo3x-1.6 33
Property of Penn Engineering, Vijay Kumar and Ani Hsieh
Caveat for the Caveat –
Observability
Recall: If is controllable, then
K can be chosen s.t.
achieves arbitrary CL poles.
Assumption:
Robo3x-1.6 34
Property of Penn Engineering, Vijay Kumar and Ani Hsieh
Example – Robot Joint Control (1)
Robo3x-1.6 35
Property of Penn Engineering, Vijay Kumar and Ani Hsieh
Example – Robot Joint Control (2)
With
Note:
1. Only θm is can be measured
2. requires θl
Robo3x-1.6 36
Property of Penn Engineering, Vijay Kumar and Ani Hsieh
Observers
• State estimators
• Use system model and measured output to
estimate the full state
Robo3x-1.6 37
Property of Penn Engineering, Vijay Kumar and Ani Hsieh
Obtaining
Let
Robo3x-1.6 39
Property of Penn Engineering, Vijay Kumar and Ani Hsieh
Performance of the Estimator
Let be the estimation error
Then,
1. Dynamics determined by
2. Pick L s. t. as
Robo3x-1.6 40
Property of Penn Engineering, Vijay Kumar and Ani Hsieh
Observability
A linear system is observable if every
can be exactly determined from and
in a finite time interval .
Observability
Matrix
Robo3x-1.6 41
Property of Penn Engineering, Vijay Kumar and Ani Hsieh
Example – Robot Joint Control (3)
With
Robo3x-1.6 42
Property of Penn Engineering, Vijay Kumar and Ani Hsieh
For nonlinear systems
In general, given
Then
Robo3x-1.6 44
Property of Penn Engineering, Vijay Kumar and Ani Hsieh
Linearization
Let and
Proceed …
Robo3x-1.6 45
Property of Penn Engineering, Vijay Kumar and Ani Hsieh