16.413 linear feedback systems course project

2
16.413 Linear Feedback Systems Course Project We will design a feedback control law for a cart with an inverted pendulum. M u y m he control objectives are 1) to bring the pendulum to inverted vertical position and keep it there ( 2) to bring the cart to a designated position and keep it there (y =0). he control input is a horizontal force acted on the cart u. ssume that there is no friction or damping. The linearized dynamic equations iven as follows: ( ) My mg u Ml M mg u Where M=5kg is the mass of the cart, m=1kg is the mass of the pendulum head l=0.2m is the length of the pendulum. For simplicity, let g =10. The relat among the signals u, y and is described with the following diagram, G 1 (s) G 2 (s) G 3 (s) u y Question 1: Express G 1 (s), G 2 (s) and G 3 (s).

Upload: catherine-blackwell

Post on 31-Dec-2015

34 views

Category:

Documents


0 download

DESCRIPTION

q. u. M. y. 16.413 Linear Feedback Systems Course Project. We will design a feedback control law for a cart with an inverted pendulum. m. The control objectives are 1) to bring the pendulum to inverted vertical position and keep it there ( q = 0) - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: 16.413   Linear Feedback Systems    Course Project

16.413 Linear Feedback Systems Course Project

We will design a feedback control law for a cart with an inverted pendulum.

M u

y

m

The control objectives are 1) to bring the pendulum to inverted vertical position and keep it there ( 2) to bring the cart to a designated position and keep it there (y =0).

The control input is a horizontal force acted on the cart u. Assume that there is no friction or damping. The linearized dynamic equations are given as follows:

( )

My mg u

Ml M m g u

Where M=5kg is the mass of the cart, m=1kg is the mass of the pendulum head and l=0.2m is the length of the pendulum. For simplicity, let g =10. The relationship among the signals u, y and is described with the following diagram,

G1(s)

G2(s)

G3(s)

u

y

Question 1: Express G1(s), G2(s) and G3(s).

Page 2: 16.413   Linear Feedback Systems    Course Project

The following feedback control strategy is proposed to achieve the controlobjectives:

Since the desired r=0. The control strategy correspond to

u= Cθ Dθ Ay By

Assume that A and B are already given as A=4, B=1.

Question 2: Derive the transfer function from v to Question 3: Derive the transfer functions from r to and from r to y.

Question 4: Give conditions for C and D so that the transfer function from r to is stable. Pick three pairs of (C,D) that satisfy the stability condition.Question 5: Realize the control system with SIMULINK. The initial conditions are Run the system for 20 seconds with each pair of your chosen (C,D). (A recommended sampling period is 0.01 second.) Plot the time responses of u(t), y(t) and (t) for each case. Question 6: Try your best to explain the difference in transient responses among the three cases. For example, from the location of the closed-loop poles.Question 7: Keep your designed parameters C and D, but set A=B=0. Run the system and see what will happen for the response of and y. Plot the time responses of u(t), y(t) and q(t) for each of the four cases.

G1(s)

G2(s)

G3(s)

u

y

As+B

Cs+D+

+r v

(0) 1, (0)=0, y(0)=0, y(0)=0.

Note: A Matlab code will be provided for you to animate the system with your output signals.

Send your Simulink model to me. Demonstrate your results in class.