Jump to content

Car testdrive (lane change manoeuvre): Difference between revisions

From mintOC
mNo edit summary
Ckirches (talk | contribs)
No edit summary
Line 4: Line 4:
|nu        = 3
|nu        = 3
|nw        = 1
|nw        = 1
|nre       = 7
|nri       = 7
}}
}}


Line 37: Line 37:
\begin{array}{llcl}
\begin{array}{llcl}
Parameter & Value & Unit & Description \\
Parameter & Value & Unit & Description \\
m            & 1.239\cdot 10^3    & \text{kg}                    & Mass of the car  \\
m            & 1.239\cdot 10^3    & \text{kg}                    & \text{Mass of the car} \\
g            & 9.81                & \frac{\text{m}}{\text{s}^2}  & Gravity constant \\
g            & 9.81                & \frac{\text{m}}{\text{s}^2}  & \text{Gravity constant} \\
l_\text{f}  & 1.19016            & \text{m}                    & Front wheel distance to center of gravity \\
l_\text{f}  & 1.19016            & \text{m}                    & \text{Front wheel distance to center of gravity} \\
l_\text{r}  & 1.37484            & \text{m}                    & Rear wheel distance to center of gravity \\
l_\text{r}  & 1.37484            & \text{m}                    & \text{Rear wheel distance to center of gravity} \\
e_\text{SP}  & 0.5                & \text{m}                    & Drag mount point distance to center of gravity \\
e_\text{SP}  & 0.5                & \text{m}                    & \text{Drag mount point distance to center of gravity} \\
R            & 0.302              & \text{m}                    & Wheel radius \\
R            & 0.302              & \text{m}                    & \text{Wheel radius} \\
I_\text{zz}  & 1.752\cdot 10^3    & \text{kg m}^2                & Moment of inertia \\
I_\text{zz}  & 1.752\cdot 10^3    & \text{kg m}^2                & \text{Moment of inertia} \\
c_\text{w}  & 0.3                & --                            & Air drag coefficient \\
c_\text{w}  & 0.3                & --                            & \text{Air drag coefficient} \\
\rho        & 1.249512            & \frac{\text{kg}}{\text{m}^3} & Air density \\  
\rho        & 1.249512            & \frac{\text{kg}}{\text{m}^3} & \text{Air density} \\  
A            & 1.4378946874        & \text{m}^2                  & Effective flow surface \\
A            & 1.4378946874        & \text{m}^2                  & \text{Effective flow surface} \\
i^1_\text{g} & 3.09                & --                            & Transmission ratio of first gear \\
i^1_\text{g} & 3.09                & --                            & \text{Transmission ratio of first gear} \\
i^2_\text{g} & 2.002              & --                            & Transmission ratio of second gear \\
i^2_\text{g} & 2.002              & --                            & \text{Transmission ratio of second gear} \\
i^3_\text{g} & 1.33                & --                            & Transmission ratio of third gear \\
i^3_\text{g} & 1.33                & --                            & \text{Transmission ratio of third gear} \\
i^4_\text{g} & 1.0                & --                            & Transmission ratio of fourth gear \\
i^4_\text{g} & 1.0                & --                            & \text{Transmission ratio of fourth gear} \\
i^5_\text{g} & 0.805              & --                            & Transmission ratio of fifth gear \\
i^5_\text{g} & 0.805              & --                            & \text{Transmission ratio of fifth gear} \\
i_\text{t}  & 3.91                & --                            & Engine torque transmission ratio \\
i_\text{t}  & 3.91                & --                            & \text{Engine torque transmission ratio} \\
B_\text{f}  & 1.096\cdot 10^1    & --                            & Pacejka coefficients (stiffness) \\
B_\text{f}  & 1.096\cdot 10^1    & --                            & \text{Pacejka coefficients (stiffness)} \\
B_\text{r}  & 1.267\cdot 10^1    & --                            & \\
B_\text{r}  & 1.267\cdot 10^1    & --                            & \\
C_\text{f}  & 1.3                & --                            & Pacejka coefficients (shape) \\
C_\text{f}  & 1.3                & --                            & \text{Pacejka coefficients (shape)} \\
C_\text{r}  & 1.3                & --                            & \\
C_\text{r}  & 1.3                & --                            & \\
D_\text{f}  & 4.5604\cdot 10^3    & --                            & Pacejka coefficients (peak) \\
D_\text{f}  & 4.5604\cdot 10^3    & --                            & \text{Pacejka coefficients (peak)} \\
D_\text{r}  & 3.94781\cdot 10^3  & --                            & \\
D_\text{r}  & 3.94781\cdot 10^3  & --                            & \\
E_\text{f}  & -0.5                & --                            & Pacejka coefficients (curvature) \\
E_\text{f}  & -0.5                & --                            & \text{Pacejka coefficients (curvature)} \\
E_\text{r}  & -0.5                & --                            & \\
E_\text{r}  & -0.5                & --                            & \\
\end{array}
\end{array}

Revision as of 11:56, 25 November 2008

Car testdrive (lane change manoeuvre)
State dimension: 1
Differential states: 7
Continuous control functions: 3
Discrete control functions: 1
Interior point inequalities: 7


The mathematical equations form a small-scale ODE model.

Motivation

Mathematical formulation

We consider a single-track model, derived under the simplifying assumption that rolling and pitching of the car body can be neglected. Consequentially, only a single front and rear wheel is modeled, located in the virtual center of the original two wheels. Motion of the car body is considered on the horizontal plane only.

Four controls represent the driver's choice on steering and velocity. We denote with wδ the steering wheel's angular velocity. The force FB controls the total braking force, while the accelerator pedal position ϕ is translated into an accelerating force. Finally, the selected gear μ influences the effective engine torque's transmission.

Resulting MIOCP

For t[t0,tf] almost everywhere the mixed-integer optimal control problem is given by

minx,wtfs.t.x˙(t)=f(x(t),u(t),μ(t)),x(0)=x0,μ(t){1,2,3,4,5}.

Parameters

These fixed values are used within the model.

ParameterValueUnitDescriptionm1.239103kgMass of the carg9.81ms2Gravity constantlf1.19016mFront wheel distance to center of gravitylr1.37484mRear wheel distance to center of gravityeSP0.5mDrag mount point distance to center of gravityR0.302mWheel radiusIzz1.752103kg m2Moment of inertiacw0.3Air drag coefficientρ1.249512kgm3Air densityA1.4378946874m2Effective flow surfaceig13.09Transmission ratio of first gearig22.002Transmission ratio of second gearig31.33Transmission ratio of third gearig41.0Transmission ratio of fourth gearig50.805Transmission ratio of fifth gearit3.91Engine torque transmission ratioBf1.096101Pacejka coefficients (stiffness)Br1.267101Cf1.3Pacejka coefficients (shape)Cr1.3Df4.5604103Pacejka coefficients (peak)Dr3.94781103Ef0.5Pacejka coefficients (curvature)Er0.5

Test course

The double-lane change manoeuvre presented in <bibref>Gerdts2005</bibref> is realized by constraining the car's position onto a prescribed track at any time t[t0,tf]. Starting in the left position with an initial prescribed velocity, the driver is asked to manage a change of lanes modeled by an offset of 3.5 meters in the track. Afterwards he is asked to return to the starting lane. This manoeuvre can be regarded as an overtaking move or as an evasive action taken to avoid hitting an obstacle suddenly appearing on the starting lane.

From a mathematical point of view, the test track is described by setting up piecewise cubic spline functions Pl(x) and Pr(x) modeling the top and bottom track boundary, given a horizontal position x.

Pl(x):={0if x44,4h2(x44)3if 44<x44.5,4h2(x45)3+h2if 44.5<x45,h2if 45<x70,4h2(70x)3+h2if 70<x70.5,4h2(71x)3if 70.5<x71,0if 71<x.Pu(x):={h1if x15,4(h3h1)(x15)3+h1if 15<x15.5,4(h3h1)(x16)3+h3if 15.5<x16,h3if 16<x94,4(h3h4)(94x)3+h3if 94<x94.5,4(h3h4)(95x)3+h4if 94.5<x95,h4if 95<x.

where B=1.5m is the car's width and

h1:=1.1B+0.25,h2:=3.5,h3:=1.2B+3.75,h4:=1.3B+0.25.

Reference Solutions

Reference solutions for the case of a fixed time-grid are given in <bibref>Gerdts2005</bibref>. Solutions for a non-fixed time grid are given in <bibref>Gerdts2006</bibref>.

Source Code

C

Variants

See testdrive overview page.

References

<bibreferences/>