Adjusting for wheel diameter changes
Vsandhu
Posts: 1
Hello, I was hoping to get some help from this forum regarding changing wheel diameter. Currently I am working on a project that uses an encoder on a drive shaft to run a cart to a set destination. The destination is based on encoder counts. So if I have a destiantion of 2000, the cart will drive out until it reaches 2000 encoder pulses. I am using a 360 Pulse/Rev encoder on a cart whose max speed is 120 Feet/Min.
The issue I am seeing is that when this cart is loaded with product, the wheel diameter changes, or rather the wheel becomes out of round. When this occurs my setpoint is no longer correct. The set points are calculated via a 5 inch wheel. I am trying to come up with a method where I can sense the change in the wheel. One way I thought of is to run the cart at a set speed for a set distance. Say that distance is 24 inches and the speed is 30 F/M. When this criteria has been met, I should see 550 encoder pulses. If the wheel diameter changes by 1/16th of an inch, I should see 557 encoder pulses in the same distance at the same speed. I can use this to correct the setpoint based on the new encoder pulses.
Does anyone disagree or agree with this method? Can someone help me with another solution to this issue. Changing the wheel to a steel wheel is not an option.
Any help would be greatly appreciated.
The issue I am seeing is that when this cart is loaded with product, the wheel diameter changes, or rather the wheel becomes out of round. When this occurs my setpoint is no longer correct. The set points are calculated via a 5 inch wheel. I am trying to come up with a method where I can sense the change in the wheel. One way I thought of is to run the cart at a set speed for a set distance. Say that distance is 24 inches and the speed is 30 F/M. When this criteria has been met, I should see 550 encoder pulses. If the wheel diameter changes by 1/16th of an inch, I should see 557 encoder pulses in the same distance at the same speed. I can use this to correct the setpoint based on the new encoder pulses.
Does anyone disagree or agree with this method? Can someone help me with another solution to this issue. Changing the wheel to a steel wheel is not an option.
Any help would be greatly appreciated.
Comments
Probably it will come down to testing. From my experience, odometry is part science and part "fudging". Errors creep in from the darndest places, and try as you might to account for them, it will never be perfect. But with lots of work, you can get close.
Is it an option to add a fifth wheel, spring loaded downward and trailering, whose weight/load never changes? That wheel should deliver more consistent odometry readings.
-Phil
Another nice approach, PhiPi! Is the LRF accurate to tenths or hundreds of an inch?
Of course, load CG makes a differences with any method detecting wheel squish. That is, if the load is concentrated for or aft of center, it will distort the front/rear wheels differently. So depending which wheel is monitored, or where the LRF is located, YMMV. Also, I suspect that a wheel that swishes 1/!6" will not track exactly the same as a wheel 1/16" smaller in diameter. There is much experimental determination yet to do.
One wheel gives you overall distance for the robot, but not distance for each wheel. You need two wheels for that, or a single wheel that pivots, and a sensor to measure the degree of pivot. The latter requires a lot of precision.
Other work-arounds depend your the environment and other variables, and your description doesn't provide much more to go on. But as an example, few autonomous cart systems used in warehouses (like the company Amazon just bought) rely on encoders alone. You may already be aware, but odometry involves what's known as unbounded error -- the error just keeps adding up as the robot/vehicle moves about, until at some point it thinks its in Connecticut (and you're in New Jersey). RFID tags, stripes, wires, and other methods help to reorient the vehicle at regular intervals, and correct for odometry error.
-- Gordon
Joisey? What exit?
Edit. On second, thought, I am not sure that altering the shape of the tire due to weight is the same thing as altering the radius from axle to floor. If you let 15lbs out of your car tires, do you have to use more RPMs to maintain the same speed as you did before letting out the air?
Even on our tree havesters, the spiked measuring wheel (approx 3 ft circumference) has to have a "winter/summer" setting to compensate for how far the 1.5" spikes dig into the the tree as the seasons change.
Cheers,
Encoders on the wheels are a great way to help keep tabs on where your robot (or mobile cart) is going. I always add them to my robots and they can help.
While trying to add an extra sensor to determine if the tires are deforming may help you may be better off trying to use a combination of different sensors to help keep the robot on track. Use the data from all the sensors to help keep it on track.
Robert