当前位置:网站首页>[mobile robot] principle of wheel odometer

[mobile robot] principle of wheel odometer

2022-06-10 12:50:00 CHH3213

Reference material

Principle analysis

The robot can deduce the track based on the code disk data and the chassis kinematics model , So we can get the trajectory of the robot .

Here we have Differential drive robot Take an example for analysis .
 Insert picture description here

Its kinematic equation is very simple , as follows :
x ˙ r = v cos ⁡ θ r y ˙ r = v sin ⁡ θ r θ ˙ r = ω r (1) \tag{1} \begin{aligned} \dot{x}_r &= v \cos_{\theta_r}\\ \dot{y}_r &= v \sin_{\theta_r}\\ \dot{\theta}_r &= \omega_r\\ \end{aligned} x˙ry˙rθ˙r=vcosθr=vsinθr=ωr(1)

1. Linear velocity derivation

Suppose there is a speed measurement unit for each of the left and right wheels ( Code disk ), The current rotation speeds of the left and right wheels of the trolley can be obtained in real time through the rotation speed measurement unit a l , a r a_l, a_r al,ar, Unit is ( circle /s). Suppose the radius of the wheel is r r r, The perimeter of S S S, Further, the speed of the left and right wheels is :
v l = a l S v r = a r S (2) \tag{2} v_l=a_l S\\ v_r=a_r S vl=alSvr=arS(2)

We take the speed at the center of the left and right wheel axles as the vehicle speed , It can be calculated as
v = v l + v r 2 (3) \tag{3} v=\frac{v_l+v_r}{2} v=2vl+vr(3)

2. Angular velocity derivation ( Direction of travel )

For mobile robots , Assume that the initial starting position of the robot is known , In an environment where the driving dimension is one dimension ( for example : One way highway 、 One way guideway ), The robot can estimate where it is in this one-dimensional driving environment in real time according to the number of turns of the wheel .

In the case of a two-dimensional plane , The number of revolutions of the left and right wheels can be deduced through the speed measurement unit of the left and right wheels , obviously , When the number of turns of the left and right wheels is different , The mobile robot will turn left or right . for example , When the speed of the left wheel is lower than that of the right wheel , The left wheel turns less than the right wheel , Therefore, it can be inferred that the robot turns left at this time .

 Insert picture description here

Suppose the mobile robot travels a certain distance at this time , Pictured above , The distance traveled by the left wheel is s l s_l sl, The distance traveled by the right wheel is s r s_r sr, Wheel spacing is L L L. By the geometric relation of the arc s = θ R s=\theta R s=θR You know
{ s l = θ r R s r = θ r ( R + L ) (4) \tag{4} \left\{\begin{array}{c} s_{l}=\theta_r R \\ s_{r}=\theta_r(R+L) \end{array}\right. { sl=θrRsr=θr(R+L)(4)
Take the derivative of time on both sides of the equation , Further :
{ v l = ω r R v r = ω r ( R + L ) (5) \tag{5} \left\{\begin{array}{c} v_{l}=\omega_r R \\ v_{r}=\omega_r(R+L) \end{array}\right. { vl=ωrRvr=ωr(R+L)(5)
The angular velocity of the mobile robot is
ω = v r − v l L (6) \tag{6} \omega=\frac{v_{r}-v_{l}}{L} ω=Lvrvl(6)

Sum up , Through the formula (3) And the formula (6), After knowing the linear velocity and angular velocity , Then, according to the formula (1) Get its position and posture on the two-dimensional plane ( Yaw angle ).

This is the general principle of the wheel odometer .

原网站

版权声明
本文为[CHH3213]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/161/202206101218279636.html