Beruflich Dokumente
Kultur Dokumente
MO DELING
Cruise Control: System Modeling
ANALYSIS
Key MATLAB commands used in this tutorial are: ss, tf
CONTROL
Contents
PID
Physical setup
R O O T LO C US
System equations
State-space model
STATE-SPAC E
Physical setup
SIMULINK
Automatic cruise control is an excellent example of a feedback
MO DELING
control system found in many modern vehicles. The purpose of the
the road/tire interface. For this simplified model we will assume that
we can control this force directly and will neglect the dynamics of the
powertrain, tires, etc., that go into generating the force. The resistive
forces, bv, due to rolling resistance and wind drag, are assumed to
forces, bv, due to rolling resistance and wind drag, are assumed to
vary linearly with the vehicle velocity, v, and act in the direction
opposite the vehicle's motion.
System equations
(1)
(2)
System parameters
For this example, let's assume that the parameters of the system are:
State-space model
this case the kinetic energy of the car, and therefore only one state
variable is needed, the velocity. The state-space representation is
therefore:
(3)
(4)
commands:
m = 1000;
b = 50;
A = -b/m;
B = 1/m;
C = 1;
D = 0;
cruise_ss = ss(A,B,C,D);
(5)
We enter the transfer function model into MATLAB using the following
commands:
s = tf('s');
P_cruise = 1/(m*s+b);