- 113 Views
- Uploaded on

Download Presentation
## PowerPoint Slideshow about ' State Feedback' - rahim-koch

**An Image/Link below is provided (as is) to download presentation**

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.

- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -

Presentation Transcript

The CL state matrix is a function of K

=> Faster/stable system

By appropriate changing K we can change eig(ACL)

This method is called pole placement.

WE MUST CHECK IF THE SYSTEM IS CONTROLLABLE

If the system is unstable create a controller that will stabilise

the system.

>> eig(A)

>> rank(ctrb(A,B))

ans =

-0.3723

5.3723

ans =

2

-10 and -11

Matlab

If the system is n x n then you need to solve an n x n system of equations!

K=place(A,B, [-10 -11])

P=[-10 -20 -30];

C=[0 0 1],

D=0.

Matlab

Matlab:

State feedback

Response of the system

Reference signal

Study the signal u=-Kx

Place the poles at [-100 -110]

Response of the system

Study the signal u=-Kx

K =[26 72]T

P=[-10 -11]

Compromise between speed and energy that we use.

Similar problem/dilemma if we had an input.

Solution: Linear Quadratic Regulator (optimum controller)

Q and R are positive definite matrices

for all nonzero X

Square symmetric matrices, positive eigenvalues

Q: Importance of the error, R: Importance of the energy that we use

(assume that

is stable)

Steps to design an LQR controller:

- To find the optimum P solve:

2.Find the optimum gain

[K, P, E]=lqr(sys, Q, R)

E are the eigenvalues of A-BK

Find K,

The eigenvalues of A-BK

The response of the system

For R=1 and Q=eye(2) and Q=2*eye(2) (X(0)=[1 1]).

Matlab

CAD Exercise

Magic trick

Example: A=[1 2;3 4]; B=[1 0]'; C=[1 0]; D=0;

The error between the estimated and real state is

A is unstable

Homogeneous ODE

A is slow

A=[1 2;3 4]; B=[1 0]'; C=[1 0]; D=0; U=1,

G=place(A’, C’, P)

But the system must be observable

Where to place these eigenvalues???

A=[1 2;3 4]; B=[1 0]'; C=[1 0]; D=0; U=1,

Download Presentation

Connecting to Server..