Docsity

Bicycle model on Matlab, Notas de estudo de Engenharia Mecânica

Toggle sidebar
bg1
wb1443
Matlab in Engineering Mechanics
Fall Term 2008, Thu 15:45-16:45, Mechanical Engineering, room D, 2 ECTS credits.
Final Project 3: Eigenmotions of an Uncontrolled Bicycle.
Everybody knows from experience that a bicycle can be highly unstable at low speed, yet at
moderate to high speed it can be stabilized easily. To study this behaviour we consider one of the
simplest bicycle models. This model involves four rigid bodies, viz. the rear frame with the rider
rigidly attached to it, the front frame being the front fork and handle bar assembly and the two
knife-edge wheels, Figure 1. We assume that the wheels always stay in contact with the flat level
ground and that they will not slip. Furthermore we assume a handsfree uncontrolled operation and
no propulsion. Note that this makes the model energy conservative. The model has three dynamic
O
x
x
z
O
y
ψ
φ
δ
θr
θf
wheel base
trail
head angle
Figure 1: Bicycle model (left) together with the coordinate system, the degrees of freedom, and the
parameters, and sketch (right) of a displaced position.
degrees of freedom: the roll angle φof the rear frame, the steering angle δ, and the forward speed
v=−˙
θrRrw of the rear wheel. In our analysis we will consider only small changes to the upright
steady motion of the bicycle. Then at a given forward speed v, the roll angle and the steering angle
are governed by a pair of coupled second order linear differential equations of the form
M·¨
φ
¨
δ¸+C1 ·v·˙
φ
˙
δ¸+£K0 +K2 ·v2¤·φ
δ¸=·0
0¸.(1)
The conditions of no slip at the wheels are constraints on the system which can only be expressed
in terms of the velocities. These so-called non-holonomic constraints give rise to extra kinematic
variables. In the case of the bicycle they are the displacements xand yof the rear wheel contact
point and the yaw angle ψof the rear frame, and are governed by the first order differential equations
˙x=vcos ψ,
˙y=vsin ψ,
˙
ψ=A˙
δ+Bvδ.
(2)
Note that the kinematic coordinates do not appear in the equations of motion (1) for the lateral
dynamics of the bicycle. Or, in other words, the lateral dynamics is independent of the position (x
and y) and the orientation (ψ) of the bicycle on the plane.
pf3

Pré-visualização parcial do texto

Baixe Bicycle model on Matlab e outras Notas de estudo em PDF para Engenharia Mecânica, somente na Docsity!

wb

Matlab in Engineering Mechanics

Fall Term 2008, Thu 15:45-16:45, Mechanical Engineering, room D, 2 ECTS credits.

Final Project 3: Eigenmotions of an Uncontrolled Bicycle.

Everybody knows from experience that a bicycle can be highly unstable at low speed, yet at moderate to high speed it can be stabilized easily. To study this behaviour we consider one of the simplest bicycle models. This model involves four rigid bodies, viz. the rear frame with the rider rigidly attached to it, the front frame being the front fork and handle bar assembly and the two knife-edge wheels, Figure 1. We assume that the wheels always stay in contact with the flat level ground and that they will not slip. Furthermore we assume a handsfree uncontrolled operation and no propulsion. Note that this makes the model energy conservative. The model has three dynamic

O x

x

z

O

y

ψ

φ

δ

θ r

θ f

wheel base

trail

head angle

Figure 1: Bicycle model (left) together with the coordinate system, the degrees of freedom, and the parameters, and sketch (right) of a displaced position.

degrees of freedom: the roll angle φ of the rear frame, the steering angle δ, and the forward speed v = − θ˙r Rrw of the rear wheel. In our analysis we will consider only small changes to the upright steady motion of the bicycle. Then at a given forward speed v, the roll angle and the steering angle are governed by a pair of coupled second order linear differential equations of the form

M

[ ¨

φ ¨δ

]

  • C1 · v

[ ˙

φ δ^ ˙

]

[

K0 + K2 · v^2

]

[

φ δ

]

[

]

The conditions of no slip at the wheels are constraints on the system which can only be expressed in terms of the velocities. These so-called non-holonomic constraints give rise to extra kinematic variables. In the case of the bicycle they are the displacements x and y of the rear wheel contact point and the yaw angle ψ of the rear frame, and are governed by the first order differential equations

x˙ = v cos ψ, y ˙ = v sin ψ, ψ^ ˙ = A δ˙ + Bvδ.

Note that the kinematic coordinates do not appear in the equations of motion (1) for the lateral dynamics of the bicycle. Or, in other words, the lateral dynamics is independent of the position (x and y) and the orientation (ψ) of the bicycle on the plane.

Parameter Symbol Value Wheel base w 1.02 m Trail t 0.08 m Head angle α arctan(3) Gravity g 9.81 N/kg Forward speed v variable m/s Rear wheel Radius Rrw 0.3 m Mass mrw 2 kg Mass moments of inertia (Axx, Ayy , Azz ) (0. 06 , 0. 12 , 0 .06) kgm^2 Rear frame Position centre of mass (xrf , yrf , zrf ) (0. 3 , 0 , − 0 .9) m Mass mrf 85 kg

Mass moments of inertia

[

Bxx 0 Bxz Byy 0 sym. Bzz

] [

  1. 2 0 2. 4 11 0
  2. 8

]

kgm^2

Front frame Position centre of mass (xf f , yf f , zf f ) (0. 9 , 0 , − 0 .7) m Mass mf f 4 kg

Mass moments of inertia

[

Cxx 0 Cxz Cyy 0 sym. Czz

] [

  1. 0546 0 − 0. 0162
  2. 06 0
  3. 0114

]

kgm^2

Front wheel Radius Rf w 0.35 m Mass mf w 3 kg Mass moments of inertia (Dxx, Dyy , Dzz ) (0. 14 , 0. 28 , 0 .14) kgm^2

Table 1: Parameters for the benchmark bicycle from Figure 1.

The dimensions and mechanical properties for a typical rider-bicycle combination which were used in a benchmark are presented in Table 1. With these parameters the coefficients in the equations of motion (1) can be calculated, resulting in a mass matrix

M =

[

]

a “damping” matrix C1 which depends linearly on the forward speed

C1 =

[

]

a constant stiffness matrix K0 and a stiffness K2 which is proportional to the square of the forward speed

K0 =

[

]

, K2 =

[

]

and finally the constant A and B from the kinematic equations (2)

A = 0.074 406 533 180 43, and B = 0.930 081 664 755 41. (6)

Throughout the assignment we assume the SI units kg, m, sec, and rad. To investigate the stability of the lateral motion we assume solutions of the form

[ φ δ

]

[

φ 0 δ 0

]

exp (λt). (7)