Documente Academic
Documente Profesional
Documente Cultură
Abstract
In this paper, a set of novel force display devices for the interactive bicycle simulator is presented for indicating the human–bicycle contact forces
at handlebars and foot pedals. The force display devices are attached, respectively, to the handlebars and pedals of the bicycle. The bicycle is placed
on a Stewart platform to provided bicycle riding on different terrains and configurations. The electromagnetic torques used to simulate the forward
and steering resistance forces are controlled by adjusting the armature current of the DC motor, according to the developed rider–bicycle dynamic
(RBD) model. A virtual bicycle riding environment is successfully constructed by the developed devices together with the motion generating
subsystem and the visual subsystem. Experimental results have shown that the developed RDB model and the constructed force display devices
are effective in capturing and displaying the information on forces.
© 2007 Elsevier B.V. All rights reserved.
Keywords: Virtual reality; Interactive bicycle simulator; Force display device; Virtual force sensing
0924-4247/$ – see front matter © 2007 Elsevier B.V. All rights reserved.
doi:10.1016/j.sna.2007.06.018
66 S. Yin, Y. Yin / Sensors and Actuators A 140 (2007) 65–74
5
5
mi a i = mi gzv + F x
air
i=1 i=1
air resistance
gravitational force
External forces on the right side of the above equation fall Projecting Eq. (6) along axes x, y and z, we can obtain
into three major parts. ⎧
⎪ Sr + Sf − δfw Ff = A1
⎪
⎪
⎨ A ϕ̈ + B δ̈ + C γ̈ + D β̈ + E δ̇
5 2 rw 2 rw 2 2 2 rw
(1) Gravitational force mi gzv (9)
⎪
⎪ −Fr − δfw Sf − Ff = 0
i=1 ⎪
⎩
Vector zv is a unit vector pointing vertically downward. Nr + Nf = A3
If the bicycle is moving on a slope of angle λ (negative
when riding upgrade, positive downgrade), this vector can where the coefficients A1 , A2 , B2 , C2 , D2 , E2 and A3 , are all
be expressed as constants or the functions of velocity and acceleration of the
rear wheel. This is also the case for the following Eqs. (13),
(15), (16) and (18).
zv = sin λx0 + cos λz The Euler’s equation for the rider–bicycle system with respect
to point O gives
Rewriting above equation in terms of x, y and z, we obtain
5
d
zv = sin λx0 + cos λz (J i · ωi ) + mi (r i × ai )
dt
i=1
= sin λ(cos δrw x − sin δrw y) + cos λz
= Mrx x + Mry y + Mrz z + OO × (Nf z + Sf x + Ff y )
= sin λ cos δrw x − sin λ sin δrw y + cos λz (7)
y
5
+Mfx x +Mf y + Mfz z + (r i × mi g) + Lc × Fair x
Thus, gravitational forces contribute to the longitudinal i=1
and side forces when riding on a slope. (10)
(2) Air resistance Fair x y
At low speed, the air resistance is so small that it can be where Mrx , Mr and Mrz are components of torque vector exerted
y
neglected. But at high speed, air resistance gains rapidly and by the ground on the rear wheel in the frame O-xyz, Mfx , Mf
becomes a major external force [7]. Therefore, air resistance and Mfz are components of torque vector exerted by the ground
must be included in the RBDM. on the front wheel in the frame O -x y z , Lc is the position vector
If skin-friction drag is not considered, the air resistance from point O to the acting point of force Fair .
is given by Because the front and rear wheels are assumed to be rigid and
longitudinal and side slips are neglected, the following results
1
Fair = CD Ar ρv2 (8) are found to be true [8].
2
where CD is the drag coefficient, Ar is the frontal area of Mrx = Mrz = Mfx = Mfz = 0 (11)
rider–bicycle system, ρ is the air density and v is the speed
y y
of air with respect to the bicycle. Also, the components Mr and Mf are given by
Here, the air resistance is only regarded as acting along
y y
axis x. Mf = CD Nr Mf = CD Nf (12)
(3) Ground reactions
As we know, the motion of bicycle depends on the where CD is related to road conditions and velocity.
ground reactions. However, the interactions between elas- Projecting Eq. (10) along axes x, y and z, and using Eqs. (11)
and (12), we can obtain
⎧
⎪ y
⎨ A4 ϕ̈rw + B4 δ̈rw + C4 β̈ + D4 γ̈ + E4 ϕ̇rw + F4 δ̇rw + G4 β̇ + H4 ϕrw + K4 γ + L4 β + Mf δfw = G4
⎪
y (13)
⎪ (A5 ϕ + B5 β)ϕ̈rw + (C5 ϕ + D5 γ + E2 β)δ̈rw + (F5 ϕ + G5 β)β̈ + H5 Nf − Mf = K5
⎪
⎩
A6 ϕ̈rw + B6 δ̈rw + C6 γ̈ + D6 β̈ + E6 ϕ̇rw + F6 δ̇rw + G6 β̇ + H6 ϕrw + K6 γ + L6 β − lw δfw Sf − lw Ff = 0
J 4 · ω4 + ω4 × (J 4 · ω4 ) + J 5 · ω5 + ω5 × (J 5 · ω5 )
= C4 O3 × R34 + C4 O4 × R54 + Mh z3 + M 34
y
+M 54 + Mfb y4 + Mfx x + Mf y + Mfz z
+rz4 × (Nf z + Sf x + Ff y ) + M 45 (19)
To obtain the pedaling torque, pedals and the rear wheel are A9 ϕ̈rw + B9 δ̈rw + C9 β̈ + D9 ϕ̇rw + E9 δ̇rw + F9 ϕrw + G9 β
considered and the Euler’s equation gives y
+(lmt sαβ + lmt ϕrw )Nf + lmt Ff + sin αδrw Mf − Mh = 0
J 1 · ω̇1 + ω1 × (J 1 · ω1 ) (20)
y
= (Mrb − T )y1 + Mfx x + Mf y + Mfz z + rz1
×(Nr z + Sr x + Fr y) + M 21 (14) Eqs. (9), (13), (15), (17) and (20) combine to make the com-
plete RBD model. Since Eqs. (15) and (20) are related to rider’s
where T corresponds to the pedaling torque, Mrb is the rear wheel pedaling and steering torques and the construction of the force
braking torque and M21 is the torque vector exerted by bicycle display devices is conducted on the basis of them, we will focus
frame on the rear wheel. Since the rear wheel can rotate freely on these two equations.
around axis y1 , we take cross product on both sides of Eq. (14)
with y1 and obtain 3. Pedal force display (PFD) device
−T + Mrb + rSr + Mry = A7 (15)
In real cycling, the rider pedals to drive the bicycle mov-
The Euler’s equation for the front wheel is first considered is ing forward against all kinds of resistance forces. However, the
given as bicycle simulator does not really move on the ground like a bicy-
cle, and hence conditions for generating all kinds of resistance
J 5 · ω̇5 + ω5 × (J 5 · ω5 ) forces do not exist any more. To enhance the rider’s realistic
y riding experience, PFD device is installed at the rear wheel to
= Mfb y4 + Mfx x + Mf y + Mfz z simulate the resistance forces including air resistance, ground
+rz4 × (Nf z + Sf x + Ff y ) + M 45 (16) friction, slope resistance and inertia forces.
where M45 is the torque vector exerted by handlebar assembly 3.1. Model considered
on the front wheel. Since the front wheel can rotate freely around
axis y4 , we take cross product on both sides of Eq. (16) with y4 The PFD device is constructed by keeping the pedal, chain
and obtain and chain pulleys of a real bicycle, replacing the rear wheel with
y a flywheel and a small DC motor (see Fig. 6). Gear pairs are
Mfb + rSf + Mf = A8 (17) used to raise the output torque of the motor and a maximum
resistance torque of 65 Nm is available at the pedal, so it feeds
In the above equation, the front wheel braking torque Mfb is
the need of not allowing the bicycle moving when an ordinary
included.
rider exerting his/her weight on the pedal. In addition, to collect
Considering the handlebar assembly, the Euler’s equation
the angular information of the flywheel for calculation of RBD
gives
model, a rotary encoder is added into the PFD device.
J 4 · ω̇4 + ω4 × (J 4 · ω4 ) In most industrial applications, motors send out force and
motion to drive load. However, this is not true with the PFD
= C4 O3 × R34 + C4 O4 × R54 + Mh z3 + M 34 + M 54 device. Because the pedal and the rear wheel are connected by
(18) a ratchet wheel, the rider feels the sensation of force only if
he/she pedals to accelerate the bicycle. In view of this situa-
where Mh is the scalar steering torque, M34 and M54 are torque tion, the DC motor in the PFD device is made to work like an
vectors exerted by the bicycle frame and the front wheel, respec- electric generator rather than an electromotor as usual. In other
tively, on the handlebar assembly, R34 and R54 are the force words, the rider pedals to drive the motor and generate inductive
vectors exerted by the bicycle frame and the front wheel, respec- EMF which produces armature current if the motor armature is a
tively, on the handlebar assembly. closed loop. We expect to control this armature current to realize
70 S. Yin, Y. Yin / Sensors and Actuators A 140 (2007) 65–74
Rf 1 Mh − Mh,motor
= Jh β̈ + ch β̇ (26)
Kp = ; Ki =
R1 + R 2 C(R1 + R2 ) where Mh is the torque owing to rider’s steering, Mh,
motor is the
Resistances R1 , R2 and Rf can be changed to adjust these counterpart of the DC motor’s electromagnetic torque around
coefficients to obtain better control quality. the steering axis, Jh is the equivalent moment of inertia of this
Additionally, if all the triodes in Fig. 8 work in amplifier subsystem around the steering axis, and ch is the viscous friction
region, armature current Ia can be considered to be proportional coefficient.
to the output voltage Vo , namely they satisfy Considering the running bicycle in virtual environment, we
are concerned with Eq. (20) which gives a description of the
Ia = Ke Vo (25) steering torque. To identify the physical object and the virtual
object, the HFD device is aimed at making the rider feel the real
steering resistance, which means the steering torque in Eqs. (20)
The whole control block diagram is shown in Fig. 9.
and (26) must be equal.
It can be concluded from the above analysis that the elec-
tromagnetic torque can be controlled indirectly by controlling Mh = Mh
the armature current and therefore three bicycle riding cases
presented in Section 3.1 can be realized by this PFD device. The same as the PFD device, the HFD device realizes indi-
rect control of electromagnetic torque by controlling armature
current.
4. Handlebar force display (HFD) device
4.2. Control of the HFD device
Rider interacts with the HFD device through the handlebar
to change the motion of the front wheel as if he/she is steering Since various external torques together determine the
a real bicycle. The HFD device is constructed by keeping the dynamic steering motion of the bicycle and the bicycle simulator
handlebar and fork and replacing the front wheel with a geared must display this kind of motion in real time, the HFD device is
DC motor (see Fig. 10). It can offer a maximum resistance torque quite different from the PFD device. First, bidirectional reaction
of 9 Nm at the handlebar and satisfies the need of normal riding. forces must be generated by the HFD device, but this is not the
Also, a rotary encoder is set to measure the angular information case for the PFD device. Second, just as explained in Section
β of the handlebar for calculation of dynamic model. 3, the PFD device might stop work if the rider does not pedal
72 S. Yin, Y. Yin / Sensors and Actuators A 140 (2007) 65–74
(armature current does not occur), while the HFD device must
work all the time to truly reflect the current steering direction.
In view of these differences, the DC motor in the HFD device is
made to work as an electromotor and its control flow is sketched
Fig. 14. Overall control circuit for the force display devices.
in Fig. 11.
Difference between the reference input Vr (corresponding to
the calculated electromagnetic torque) and the feedback signal 5. Control architecture
Vf of the current transducer is regulated by the PID controller to
drive the DC motor. The driver circuit in Fig. 11 is an H-bridge For control purpose, the control system for the force display
circuit which is shown in Fig. 12. In the driver circuit, IGBTs devices implements the following functions.
V1 and V4 are turned on simultaneously and the same with V2
and V3 . When V1 and V4 are turned on, V2 and V3 are turned • Data handling (PID algorithm).
off and vice versa. Accordingly, positive or negative voltage can • Sending out control signal for current control of motor.
be exerted on the armature of the motor. To prevent all IGBTs • Sampling digital signal (encoder’s counting value).
from turning on synchronously, IC IR2110 is adopted to drive • Sampling analogous signal (brakes’ signal).
this H-bridge circuit. • Communicating with up-level computers (sending current
status and receiving control signal).
6. Initial experiments
To test the validity of the PFD device, road gradient and bicy-
cle speed in virtual environment are recorded and sketched in
solid line and dotted line, respectively, in Fig. 15 after a test.
Armature current of the PFD device calculated from Eqs. (15)
and (21) is also drawn in dashed line in Fig. 15. In this test, the
Fig. 12. H-bridge motor control circuit. bicycle runs uphill and downhill and changes speed frequently.