Modeling of The Two-Sbr
Modeling of The Two-Sbr
{
1
θ= (θl +θ r)
2
(1)
R
ϕ= (θl−θ r )
W
The coordinates of the mean position of the robot in the frame of reference are:
{
x m=∫ ẋ m
y m=∫ ẏ m (2)
z m=R
And
{ ẋ m=R θ̇ cosϕ
ẏ m =R θ̇ sinϕ
(3)
{
W
xl =x m− cosϕ
2
W (4)
y l= y m + sinϕ
2
zl =z m
Similarly, we have the mean position of the left wheel in the frame of reference:
{
W
x r=x m + cosϕ
2
W (5)
y r= y m− sinϕ
2
z r=z m
The coordinates of the center of symmetry between the two engines in the frame of
reference:
{
x b=x m + Lsinψcosϕ
y b= y m + Lsinψsinϕ (6)
z b=z m + Lcosψ
To build a system of dynamic equations describing the motion of the robot, we will use the
kinetic energy theorem for the motion of a solid, combined with the Lagrange equation and the
torque-force equations of the DC motor.
2.1 Kinetic energy and potential energy of translational motion and rotation motion
Where:
1 2 2 1 2 2
n J m ( θ̇l −ψ̇) , n J m ( θ̇ r−ψ̇ )
2 2
Are the kinetic energy of rotation motion caused by the left wheel and right wheel engine.
From the kinetic and potential energy equations of the system, using the Lagrange
equation, we have:
L=T 1 +T 2−U (10)
( )
d ∂L ∂L
dx ∂ θ̇
− =F θ (11)
∂θ
( )
d ∂L ∂L
−
dx ∂ ψ̇ ∂ ψ
=F ψ (12)
( )
d ∂L ∂L
− =F ϕ (13)
dx ∂ ϕ̇ ∂ ϕ
Substituting the values T 1 , T 2 , U and the coordinate equations above into the equations
(11), (12), (13), we have:
[ 1
2
W2
]
mW 2 + J ϕ + 2 ( J w +n2 J m ) + M L2 sin2 ψ ϕ̈ 2+ 2 M L2 ψ̇ ϕ̇ sinψcosψ=F ϕ
2R
(16)
Consider the force of the engine acting on left wheel and right wheel, we have the equations:
F l=n K t i l +f m ( ψ̇ −θ̇l ) −f w θ̇l (17)
Torque caused by engine acting on the robot and make the body of the robot can rotate the
ψ tilt angle is:
Assuming the armature inductance is very small, can be ignored (close to zero), we have
the EMF of the motor is:
v l ,r + K b ( ψ̇ −θ̇l ,r )−R m i l ,r =0
v l , r + K b ( ψ̇−θ̇ l ,r )
⇨ i l ,r = (20)
Rm
Consider the torque caused by the enging acting on the θ rotation angle:
F θ=Fl + F r
¿ α ( v l + v r )−2 ( β + f w ) θ̇ +2 β ψ̇ (21 )
Consider the torque caused by the enging acting on the ϕ rotation angle:
W
F ϕ= (F −F r )
2R l
2
W W
¿ α ( v l+ v r ) − 2 (β +f m) ϕ̇ (22)
2R 2R
Where:
n Kt n Kt K b
α= ; β= +f m
Rm Rm
From all the equations analyzed above, we have the dynamic equation describing the motion
of the system: