control tutorials for matlab and simulink - suspension_ system modeling

4
29/07/2015 Control Tutorials for MATLAB and Simulink Suspension: System Modeling http://ctms.engin.umich.edu/CTMS/index.php?example=Suspension&section=SystemModeling 1/4 Search Control Tutorials Effects Tips INTRODUCTION CRUISE CONTROL Suspension: System Modeling Key MATLAB commands used in this tutorial are: ss , step Contents Physical setup System parameters Equations of motion Transfer function models Entering equations in MATLAB Physical setup Designing an automotive suspension system is an interesting and challenging control problem. When the suspension system is designed, a 1/4 model (one of the four wheels) is used to simplify the problem to a 1D multiple springdamper system. A diagram of this system is shown below. This model is for an active suspension system where an actuator is included that is able to generate the control force U to control the motion of the bus body. SYSTEM MODELING ANALYSIS CONTROL PID ROOT LOCUS FREQUENCY STATESPACE DIGITAL SIMULINK MODELING CONTROL TIPS ABOUT BASICS HARDWARE INDEX NEXT

Upload: allan-ferreira

Post on 17-Feb-2016

13 views

Category:

Documents


0 download

DESCRIPTION

tutorials matlab

TRANSCRIPT

Page 1: Control Tutorials for MATLAB and Simulink - Suspension_ System Modeling

29/07/2015 Control Tutorials for MATLAB and Simulink ­ Suspension: System Modeling

http://ctms.engin.umich.edu/CTMS/index.php?example=Suspension&section=SystemModeling 1/4

Search Control TutorialsEffectsTips

INTRODUCTION   CRUISE CONTROL

Suspension: System Modeling

Key MATLAB commands used in this tutorial are: ss , step

Contents

Physical setup

System parameters

Equations of motion

Transfer function models

Entering equations in MATLAB

Physical setup

Designing an automotive suspension system is an interesting and

challenging  control  problem.  When  the  suspension  system  is

designed, a 1/4 model (one of the four wheels) is used to simplify

the problem to a 1D multiple spring­damper system. A diagram of

this system is shown below. This model is for an active suspension

system where an actuator is included that is able to generate  the

control force U to control the motion of the bus body.

SYSTEM

MODELING

ANALYSIS

CONTROL

PID

ROOT LOCUS

FREQUENCY

STATE­SPACE

DIGITAL

SIMULINK

MODELING

CONTROL

TIPS ABOUT

 BASICS

 HARDWARE

 INDEX

 NEXT ►

Page 2: Control Tutorials for MATLAB and Simulink - Suspension_ System Modeling

29/07/2015 Control Tutorials for MATLAB and Simulink ­ Suspension: System Modeling

http://ctms.engin.umich.edu/CTMS/index.php?example=Suspension&section=SystemModeling 2/4

(2)

(1)

System parameters

(M1)    1/4 bus body mass                        2500 kg

(M2)    suspension mass                          320 kg

(K1)    spring constant of suspension system     80,000 N/m

(K2)    spring constant of wheel and tire        500,000 N/m

(b1)    damping constant of suspension system    350 N.s/m

(b2)    damping constant of wheel and tire       15,020 N.s/m

(U)     control force

Equations of motion

From  the  picture  above  and  Newton's  law,  we  can  obtain  the

dynamic equations as the following:

Transfer function models

Assume  that  all  of  the  initial  conditions  are  zero,  so  that  these

equations represent the situation where the vehicle wheel goes up

a bump. The dynamic equations above can be expressed  in  the

form  of  transfer  functions  by  taking  the  Laplace  Transform.  The

specific  derivation  from  the  above  equations  to  the  transfer

functions  G1(s)  and  G2(s)  is  shown  below  where  each  transfer

function  has  an  output  of,  X1­X2,  and  inputs  of  U  and  W,

respectively.

Page 3: Control Tutorials for MATLAB and Simulink - Suspension_ System Modeling

29/07/2015 Control Tutorials for MATLAB and Simulink ­ Suspension: System Modeling

http://ctms.engin.umich.edu/CTMS/index.php?example=Suspension&section=SystemModeling 3/4

(4)

(5)

(6)

(7)

(8)

(9)

(10)

(11)

(12)

(3)

respectively.

or

Find the inverse of matrix A and then multiply with inputs U(s)and

W(s) on the righthand side as follows:

When we want to consider the control input U(s) only, we set W(s)

= 0. Thus we get the transfer function G1(s) as in the following:

When we want to consider the disturbance input W(s) only, we set

U(s)  =  0.  Thus  we  get  the  transfer  function  G2(s)  as  in  the

following:

Entering equations in MATLAB

We can generate the above transfer function models  in MATLAB

by  entering  the  following  commands  in  the  MATLAB  command

window.

Page 4: Control Tutorials for MATLAB and Simulink - Suspension_ System Modeling

29/07/2015 Control Tutorials for MATLAB and Simulink ­ Suspension: System Modeling

http://ctms.engin.umich.edu/CTMS/index.php?example=Suspension&section=SystemModeling 4/4

M1 = 2500;

M2 = 320;

K1 = 80000;

K2 = 500000;

b1 = 350;

b2 = 15020;

s = tf('s');

G1 = ((M1+M2)*s^2+b2*s+K2)/((M1*s^2+b1*s+K1)*(M2*s^2+(b1+b2)*s+(K1+K2))‐(b1*s+K1)*(b1*s+K1));

G2 = (‐M1*b2*s^3‐M1*K2*s^2)/((M1*s^2+b1*s+K1)*(M2*s^2+(b1+b2)*s+(K1+K2))‐(b1*s+K1)*(b1*s+K1));

Published with MATLAB® 7.14

All contents licensed under a Creative Commons Attribution­ShareAlike

4.0 International License.