Wheel Odometry
The fundamental navigation technique for Mobile Robots and AGVs. By analyzing wheel rotation, robots calculate their position relative to a starting point, enabling precise short-range movement and dead reckoning.
Core Concepts
Rotary Encoders
Electromechanical devices attached to motor shafts that convert angular motion into digital pulses, measuring precise wheel rotation.
Dead Reckoning
The process of calculating current position based on a previously determined position and estimated speeds over elapsed time.
Kinematic Modeling
Mathematical formulas (Forward Kinematics) that map wheel velocities to the robot's linear and angular velocities in the world frame.
Differential Drive
A common steering mechanism where movement is determined by varying the speed of two independently driven wheels on a common axis.
Drift & Error
The accumulation of small measurement inaccuracies over time, caused by wheel slippage, uneven floors, or tire compression.
Pose Estimation
The final output of the odometry system: a continuous estimate of the robot's coordinates (x, y) and orientation (theta).
How It Works
Wheel odometry relies on the integration of velocity measurements over time. For a differential drive AGV, sensors on the left and right wheels count "ticks." Knowing the wheel radius and the resolution of the encoder, the system calculates the distance traveled by each wheel.
When both wheels travel the same distance, the robot moves in a straight line. When there is a discrepancy, the robot rotates. The system uses these inputs to calculate linear velocity ($v$) and angular velocity ($\omega$).
These velocities are fed into a kinematic model—typically updated hundreds of times per second—to update the robot's global pose estimate ($x, y, \theta$). While highly accurate over short distances, odometry requires sensor fusion (like IMU or LiDAR) to correct long-term drift.
Real-World Applications
Warehouse Logistics
AGVs use odometry for precise maneuvering between storage racks where GPS is unavailable. It allows robots to execute smooth turns and dock accurately with charging stations.
Autonomous Cleaning
Commercial floor scrubbers rely on odometry to ensure complete coverage patterns. It helps the robot track which areas have already been cleaned to avoid redundancy.
Hospital Delivery
Service robots delivering linens or medication navigate long hospital corridors. Odometry provides the smooth continuous position stream required for obstacle avoidance algorithms.
Manufacturing Assembly
In automotive assembly lines, mobile platforms carry heavy chassis. High-resolution wheel odometry ensures synchronization with the assembly line speed.
Frequently Asked Questions
What is the difference between visual odometry and wheel odometry?
Wheel odometry uses physical sensors on the wheels to measure rotation and calculate distance. Visual odometry uses cameras to track key points in the environment to estimate movement. While visual odometry is better at correcting long-term drift, wheel odometry is faster, computationally cheaper, and works in the dark or featureless environments.
Why does wheel odometry drift over time?
Drift occurs because errors accumulate. Tiny inaccuracies caused by wheel slippage, uneven floors, slightly unequal tire pressures, or imperfect wheel alignment are integrated over time. Without an external reference (like LiDAR or GPS) to "reset" the position, a 1% error can result in being meters away from the target after a long run.
What type of encoders are best for AGV odometry?
Quadrature incremental optical encoders are the industry standard for AGVs. They provide high resolution (thousands of ticks per revolution) and direction sensing. For absolute positioning upon startup without homing, magnetic absolute encoders are sometimes used, though they are more expensive.
How does wheel diameter affect odometry accuracy?
The wheel diameter is a constant in the kinematic formula. If the physical wheel wears down (decreasing diameter) or compresses under load, the robot travels less distance per rotation than the software expects. Regular calibration of the wheel radius parameter is essential for maintaining accuracy.
Can wheel odometry work on Mecanum wheels?
Yes, but the math is more complex. Mecanum wheels allow omnidirectional movement, so the kinematic model must account for the rollers' vector forces. Furthermore, Mecanum wheels generally experience more slippage than standard tires, making odometry data noisier and less reliable over long distances.
What is the typical sampling rate for odometry calculations?
For modern mobile robots, odometry is typically calculated at 50Hz to 100Hz (50 to 100 times per second). High-speed robots may require faster rates. This high frequency ensures smooth control loops and allows the robot to react quickly to velocity changes.
How is wheel slippage handled in software?
Pure wheel odometry cannot detect slippage (e.g., spinning on oil). To handle this, engineers use Sensor Fusion (often via an Extended Kalman Filter). The filter compares wheel data with IMU (accelerometer/gyro) data; if the wheels spin but the IMU detects no acceleration, the system identifies the slip and relies on the IMU temporarily.
Is wheel odometry sufficient for autonomous navigation?
Rarely on its own. It is sufficient for very short movements or straight-line blind moves. For full autonomy, it is almost always paired with LiDAR (SLAM), Visual SLAM, or magnetic tape/QR codes to correct the inevitable accumulated error (drift) relative to the global map.
What is the "Wheelbase" parameter and why does it matter?
The wheelbase is the distance between the contact points of the left and right wheels. It is critical for calculating rotation. If the software's wheelbase value differs from the physical reality (even by millimeters), every turn the robot makes will introduce a systematic orientation error.
How do I calibrate my robot's odometry?
A common method is the UMBmark test. The robot is programmed to drive a square path (4 meters per side). By measuring the offset between the start and end point after the square is completed, you can calculate correction factors for both wheel diameter and wheelbase width to tune the kinematic model.
Does the floor surface affect odometry performance?
Significantly. Soft carpets increase resistance and may cause micro-slippage. Polished concrete can be slippery. Uneven transitions or bumps can cause wheels to momentarily lose contact with the ground. Hard, flat, high-friction surfaces like concrete or industrial tile provide the best results.
How is odometry data typically transmitted?
In ROS (Robot Operating System), odometry is broadcast as a standard message type containing the Pose (position/orientation) and Twist (linear/angular velocity). It is also broadcast as a coordinate transform (TF) from the `odom` frame to the `base_link` frame.
Ready to implement Wheel Odometry in your fleet?
Our latest generation of AGVs features high-resolution industrial encoders and advanced sensor fusion algorithms for sub-centimeter accuracy.
Explore Our Robots