Docsity

Cruise Control Model-Control Systems-Lab Report, Exercises of Control Systems

Toggle sidebar
bg1
2
Experiment # 2.
Objectives:
1. Simulating a Cruise Control Model in Simulink.
2. Modeling in Simulink.
3. Exercise: Suspension Model.
Cruise Control Model:
Following is the equation of motion for an
automobile.
m
u
v
m
b
v
Using this differential equation, we can find the transfer function of this cruise
control.
m
b
m
ssU
sV
1
)(
)(
Now implement this transfer function using simulink and analyze its output. Use
the values of m = 1580 kg, and b = 26 N.sec/m. Remember to give the input for
a small period of time. Its output will be quite similar to a car whose driver
accelerates it for an instance and then leaves the car to decelerate at its own
speed.
Also make use of the differential equation to make a second model of the same
system using simulink. Compare the output of both the systems now. It should be
same.
docsity.com
pf3
pf4

Partial preview of the text

Download Cruise Control Model-Control Systems-Lab Report and more Exercises Control Systems in PDF only on Docsity!

Experiment # 2.

Objectives:

  1. Simulating a Cruise Control Model in Simulink.
  2. Modeling in Simulink.
  3. Exercise: Suspension Model.

Cruise Control Model:

Following is the equation of motion for an automobile.

m

u

v

m

b

v   

Using this differential equation, we can find the transfer function of this cruise control.

m

b

m

U s s

V s

1

Now implement this transfer function using simulink and analyze its output. Use the values of m = 1580 kg , and b = 26 N.sec/m. Remember to give the input for a small period of time. Its output will be quite similar to a car whose driver accelerates it for an instance and then leaves the car to decelerate at its own speed. Also make use of the differential equation to make a second model of the same system using simulink. Compare the output of both the systems now. It should be same.

Modeling in Simulink:

  1. Open simulink by clicking on its icon on the toolbar or either typing in command window “simulink”.
  2. Library browser will open in front of the Matlab.
  3. You can see different libraries contained in the library browser.
  4. Each library contains its own specific components related to the subject.
  5. Only practice can make you sharp in searching different components in different libraries.
  6. Now we consider modeling of cruise control in simulink.
  7. Click on the Simulink library to open its sub-libraries.
  8. Select the required components from this sub-library.
  9. Click new file to work on it.
  10. Using left click and drag from mouse, place the components in the blank window.
  11. Connect all the components now.
  12. Double click on the blocks one by one and change their parameters as defined by the user.
  13. Save the simulation.
  14. Now run the simulation by clicking on the play button in the toolbox.
  15. Output of the system can be seen by double clicking the scope (if any).
  16. Check if it is the required output or not.
  17. If it is not the required output, stop the simulation and change the parameters.
  18. Simulation can be stopped or paused by clicking on the stop or pause button in the toolbox.
  19. Parameters cannot be changed while simulation.

Exercise

Modeling a Two mass system:

Following are the differential equations for the suspension model of a quarter car system.

k y x b y x m y

b y x k y x k x r mx

s

s w

2

1

Which can be re-arranged as:

2 2

1 1 1 1

y x

m

k

y x

m

b

y

r

m

k

x

m

k

x y

m

k

x y

m

b

x

s

s w w

Relating both the equations, use simulink to draw the desired mathematical model. Input to the system is „r‟ and output should be „y‟, to fulfill the transfer function given as:

Use the following values: m 1 =20 kg, m 2 =375 kg, b=26 N.m/sec, ks=345.8, kw=37585.

1 2 4 3 2

1 2 1 2 1 1 2 1 2

w s

s s w w w s

k b k

s

Y s m m b

R s b^ b^ k^ k^ k^ k b^ k k

s s s s

m m m m m m m m m

m 2

m 1

y

x

b

r

ks

kw Road Surface Inertial Reference