[Sorry, if this is a basic question. I'm a software engineer, learning mechanical engineering concepts by trying to build a self-balancing robot]
I'm unable to understand the yaw angle equation:
ϕ=(RW)∗(θr−θl)
used in NXT two-weheeled self balancing bot.
R - radius of the wheel.
W - Distance between the centres of the wheels.
θr, θl - Rotation angle of the right and left wheels respectively.
ϕ - yaw angle.
Answer
The yaw angle is the rotation around a vertical axis.
It is easiest to understand if θl=0. In that case, the l wheel stays fixed and the r wheel travels in a circle around it. The distance the r wheel travels is R∗θr. The robot rotates through an angle ϕ=R/W∗θr.
If θr>θl>0, the robot drives around in a circle like a car turning. The r side travels farther. The center is on the l side of the robot. A line from wheel to wheel stays pointed at the center of the circle.
Each wheel drives around the same angle, ϕ=distance/radius.
ϕ=R/Rr∗θr=R/Rl∗θl.
For small angles, you can also calculate ϕ from the difference between the wheels' travel.
ϕ=Δdistance/Δradius=[(R∗θr)−(R∗θl)]/W=R/W∗(θr−θl)
No comments:
Post a Comment