Gelöste Aufgaben/JUMP/Car-Body: Unterschied zwischen den Versionen

Aus numpedia
Zur Navigation springen Zur Suche springen
Keine Bearbeitungszusammenfassung
Zeile 83: Zeile 83:


==tmp==
==tmp==
[[Datei:JUMP-track-slide8.png|mini|Tack specification]]We describe the road by road-sections, which we call tracks. We start by defining each track as a line-segment, i.e. a first-order polynomial. The road is thus defined by pairs of track-endpoints, i.e. (''x<sub>i</sub>'', ''y<sub>i</sub>'').
{{MyCodeBlock
|title=Track
|text=[[Datei:JUMP-track-slide8.png|mini|Tack specification]]We describe the road by road-sections, which we call tracks. We start by defining each track as a line-segment, i.e. a first-order polynomial. The road is thus defined by pairs of track-endpoints, i.e. (''x<sub>i</sub>'', ''y<sub>i</sub>'').


The track-polynomials are
The track-polynomials are
Zeile 135: Zeile 137:
Now each polynomial creates new endpoints ''x<sub>i</sub>'' - ''Δx<sub>i</sub>'' and ''x<sub>i</sub>'' + ''Δx<sub>i</sub>'' which substitute for the initial ''x<sub>i</sub>''-point. The tracks are represented by a succession of lines and parabolas.
Now each polynomial creates new endpoints ''x<sub>i</sub>'' - ''Δx<sub>i</sub>'' and ''x<sub>i</sub>'' + ''Δx<sub>i</sub>'' which substitute for the initial ''x<sub>i</sub>''-point. The tracks are represented by a succession of lines and parabolas.


 
Next we need to find the contact point between wheel and road!
 
{{MyCodeBlock
|title=Track
|text=Text
|code=
|code=
<syntaxhighlight lang="lisp" line start=1>
<syntaxhighlight lang="lisp" line start=1>

Version vom 10. März 2021, 12:53 Uhr

← Back to Start

Scope

Car-Body

In common simulation applications - especially for full-size commercial cars - the pitch-angle of the car is assumed to be small to allow for a linearization of geometry and most parts of the equations of motion. We drop this limitation so we can do more fancy stuff with our model - like climbing steep roads or jumping across ditches.

Block Diagram.

We employ a spatial x-y coordinate system, x in horizontal, y in vertical, upwards direction. And we’ll briefly employ the z-axis as rotation direction - which is towards you following the “right-hand-rule“ for coordinate systems.

Structure

The driver controls the car's motion via the position of the "gas"-pedal, which is being translated into a torque MW at the wheel.

This toque will change velocities and thus the position of the car. These state-variables will then create - via info - a feedback to the driver.

We’ll need to invest significant efforts in describing the kinematics of the car-motion and to derive its equations of body-motion since we do not want to limit our study on small pitch-angles of the car. Key accessory will be vectors, which map locations like the center of mass:

rC(t).

This vector has - in 2D - two coordinates u1(t),u2(t), measured in the inertial x-y frame:

rC(t)=e_0(u1u2) with e_0=(ex,ey).

representing the unit vectors spanning the x-y space. If we refer to a specific frame, we may drop the vector-notation (.) and refer to the column-matrix of coordinates (._) only, so

r_C=(u1u2).

We’ll also employ coordinate transformations using Euler-rotations.

The car with front-wheel drive consists of the car-body with center of mass “C“, the front wheels “A“ and the rear wheel “B“. Masses of car-body and wheel-sets are M and m respectively.The geometry of the car is described by

  • a0: the wheel base;
  • a1: longitudinal distance between center of mass and front-wheel-hub;
  • a2 = a0 - a1 and
  • a3: vertical distance between center of mass and front-wheel-hub (relaxed springs).

tmp

Body

We use five coordinates to describe the motion of the car:

  • u1(t),u2(t),φ(t) for the location of the center of mass of the car-body and its pitch-angle
    ,
  • u3,u4 for the "vertical" motion of the wheel hubs relative to the car-body - which is synonym to the compression of the springs

    and
  • ψ(t) as the rotation angle of the front-wheel - we'll not account for the rotation of the rear-wheel.

So the center of mass of the car-body is

rM=e_0(u1(t)u2(t)),

the coordinate system of the car is

e_C=e_0D__(φ(t))

where

D__(φ)=(cos(φ)sin(φ)+sin(φ)cos(φ)).

So the location of the front-wheel “A“ is

rA=rM+rMA

or

r_A=r_M+D__(φ(t))(a1a3+u3(t)).

Likewise, the location of the rear-wheel “B“ is

r_B=r_M+D__(φ(t))(a2a3+u4(t))

and in the following, we’ll be using the abbreviations

(U3U4)=:r_A

and

(U5U6)=:r_B.


tmp

Track

Tack specification

We describe the road by road-sections, which we call tracks. We start by defining each track as a line-segment, i.e. a first-order polynomial. The road is thus defined by pairs of track-endpoints, i.e. (xi, yi).

The track-polynomials are

ti(x)=yix~i+yi1(1x~i) for x~i=xxi1xixi1=Ti,1x+Ti,0.

During the numerical integration of the initial-value-problem - when the car runs along the track - the solver needs to cope with the transition between two straight lines - which is numerically more efficient if we convert the road in a continuously differentiable function.

Rounding the edges.

For this purpose, we define transition polynomials pi of second degree - parabolas - as

pi(x)=j=02Pi,jxj

which connect two neighboring tracks.

The boundary conditions for the parabolas (red) and the neighboring lines (blue) yield

ti(xiΔxi)=pi(xiΔxi),dtidxi|xiΔxi=dpidxi|xiΔxi,ti+1(xi+Δxi)=pi(xi+Δxi),dti+1dxi+1|xi+Δxi=dpidxi|xi+Δxi.

And though we have four boundary conditions, they allow for a solution with three unknown polynomial coefficients Pi if Δxi is identical left and right from xi - which we have already implied.

b3=0,b2=a2,1a1,14Δxi,b1=(a2,1+a1,1)Δxixia2,1+xia1,12Δxi,b0=(a2,1a1,1)Δxi2+(2xia2,12x1a1,1+4yi)Δxi+xi2a2,1xi2a1,14Δxi

and

a1,0=yixia1,1,a1,1=yi1yixi1xi,a2,0=yixia2,1,a2,1=yiyi+1xixi+1

But instead of employing the above, we solve the linear systems of equations for the coefficients numerically.

Now each polynomial creates new endpoints xi - Δxi and xi + Δxi which substitute for the initial xi-point. The tracks are represented by a succession of lines and parabolas.

Next we need to find the contact point between wheel and road!


1+1=2





tmp

Contact-Point and -Normal

Text


1+1=2




tmp

Contact Forces

Text


1+1=2




tmp

Track

Text


1+1=2




tmp

Track

Text


1+1=2




tmp

Track

Text


1+1=2




tmp

Track

Text


1+1=2




Variables

Parameter

x

y

z

a

b

Contact conditions.

c

Contact angles


Wheel kinematics


Contact forces F, N
Characteristic for contact force.
Friction characteristic


next workpackage: driver-controls →


References

  • ...