您的位置:首页 > 产品设计 > UI/UE

手把手建立Simulink四分之一车辆模型/Building a quarter car model step by step!

2011-10-27 14:56 351 查看
-----------------------------------------------------------------------------------------------------------------------

This article is originally created by Dr. Goddard. And re-edited by the author

It is greatly appreciated for Dr. Goddard's outstanding work! see the following

http://www.modeling-simulation-visualization.com/simulink-quarter-car-model.html#actuatormodel

-----------------------------------------------------------------------------------------------------------------------

In this section, a quarter car model built in simulink is introduced for future research on vehicle dynamics.

Topic 1: tyre model

Standard Pacejk magic formula is used here; where λ is the wheel slip, and the coefficientsa,b andc change depending on the current road surface. This example assumes that the vehicle is being driven on dry
asphalt and hence the coefficients area = 1.28,b = 23.99 andc = 0.52.



The implmentation for the tire model equations is shown in
Figure 2.



[align=left]Figure 2: Tire Model Subsystem.[/align]

Topic 2: quarter car model

It contains two continuous time states, and is described by the set of non-linear equations inEquation 2.



NameDescriptionValue
ωAngular SpeedOutput Signal
νLongitudinal SpeedOutput Signal
JInertia1 Kg m2
RWheel Radius0.32 m
TbBrake TorqueInput Signal
FxLongitudinal ForceCalculated
λLongitudinal Wheel SlipCalculated
FzVertical ForceCalculated
μxRoad Friction CoefficientCalculated
mQuarter Vehicle Mass450 Kg
gGravitational Force9.81 ms-2
The implementation of quarter car equations is shown in
Figure 3.



[align=left]Figure 3: Quarter Car Model Subsystem.[/align]

TOPIC 3: The Actuator Model

Actuator dynamics, and particular time delays, are often critical to the design of a sufficiently accurate control algorithm. This example uses a simple first order lag in series with a time delay to model the actuator. (In practice a second order model
is almost always required, and often actuators have different responses when they are opening and closing, and hence need to be modeled in considerable more detail than is done here.)

The model for the actuator are given by
Equation 3,



[align=left]Equation 3: Actuator Equation.[/align]

subject to the constraint that 0 < Tb < Tb_sat.

The following table lists the definition of the notation used in
Equation 3.

NameDescriptionValue
τTime Delay0.05 s
aFilter Pole Location70
Tb_satSaturation4000
[align=left]Table 2: Notation for the Actuator Model.[/align]

The implementation of actuator equations is shown in
Figure 4.



[align=left]Figure 4: Actuator Model Subsystem.[/align]

Note that the first order lag (transfer function) has been implemented using an integrator, gain and summation/negation block rather than aTransfer Funtion Block (from theContinuous
library).This has been done as the Transfer Function block does not allow vector signals as an input, but the current implementation does. Hence the model being developed can more easily be expanded to allow for 4-channels, i.e. one for each
wheel on a four wheeled vehicle. A Transfer Function Block would preclude that from happening (without replacing the block).

TOPIC 5: The Controller Model

There are many different potential implementations for the controller. Here a simple PI (proportional–integral) controller has been shown to be adequate.

The implementation of controller is shown in
Figure 5.



[align=left]Figure 5: The Controller Subsystem.[/align]

Note that the subsystem has been made atomic, and given a discrete sample rate ofTs = 5ms.

Controller gains that have been determined to work reasonably well for the configuration chosen here areKp = 1200 andKi = 100000.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐