Ann Exec
Ann Exec
Ann Exec
tir de la notice NXTway-GS Model-Based Design - Control of self-balancing two-wheeled robot built with LEGO Mindstorms NXT, Yorihisa Yamamoto.
3 NXTway-GS Modeling
This chapter describes mathematical model and motion equations of NXTway-GS.
l
R
Figure 3-2 shows side view and plane view of the two wheeled inverted pendulum. The coordinate system used in 3.2 Motion Equations of Two-Wheeled Inverted Pendulum is described in Figure 3-2.
zb
L=H 2
M , J
yl yb
l, r
ym yr
l,r
zm
m, J w R
xl
xm xb xr
l ,r
Figure 3-2
l ,r
: DC motor angle
-6-
: : :
Gravity acceleration Wheel weight Wheel radius Wheel inertia moment Body weight Body width Body depth Body height Distance of the center of mass from the wheel axle Body pitch inertia moment Body yaw inertia moment DC motor inertia moment DC motor resistance DC motor back EMF constant DC motor torque constant Gear ratio Friction coefficient between body and DC motor Friction coefficient between wheel and floor.
m = 0.03 R = 0.04
[ kg ] [m]
2
2
J W = mR 2
M = 0 .6 W = 0.14 D = 0.04 H = 0.144
L=H 2
[ kgm ]
: : : : : :
J = ML 3 J = M W + D
) 12
: : : : : : : : :
J m = 110 5
R m = 6.69 K b = 0.468 K t = 0.317
[ ]
[V sec rad ] [ Nm A]
n =1
f m = 0.0022 fW = 0