![]() | ![]() | ![]() |
| |||||||
| Robotics Chat Specific to discussions about robots and the making of. |
![]() |
| | Tools |
| | #1 |
|
I know this sounds like a really stupid question, but i'm sure some of you have encountered this problem quite frequently. What exactly is the best way to get a robot to go straight? I've even tried to use one axel, but an ever so slight variation in the guide wheel would make it veer ever so slightly of course, which over time can produce quite a lovely, but annoying, arc in the robots course ![]() Using two motors is another solution, but then you have to have a method of correcting the course, whether it be through rotation sensors to synchronize the amount of turns each wheel spins, or is suppose in extreme case gyroscopes. So i come here looking for your collective insights. What is the best way to get a robot to go in a straight line? Thanks in advance!
__________________ I are illogical, my logic is irrefutable. | |
| |
| | #2 |
|
Maybe a sensory feedback system to make the robot correct its course when it starts to veer off?
__________________ Good riddance, ETO .
| |
| |
| | #3 |
|
One very good advice would be to use ONLY the same company fet transistors for the h-bridge. I did that mistake and my robot was always going to the right. I placed some 1.2 ohm resistors to correct the course but when the battery voltage was dropping, it would start to turn again... I soldered a new one(the seller gave me a korean fet wich was less performant) and evrything was alright. The use of tamia twin / double gearboxes would help too, they go naturally very straight and are pretty good for propulsion. If you still have problems and your robots has 3 support points that touch the grounds(2 wheels plus sort of stick to keep the robot horizontal) you can displace the third support point to make more friction on one side of the robot. Again, if the voltage drops, you have to displace it as the robots goes less faster... Or simply some 10 ohms pot on the motors to adjust. | |
| |
| | #4 |
|
If you use two motors and PWM to control motor speed you can correct to make the robot go straight. The problem is knowing what straight is. As your solid axle proved equal wheel rotation is not enough because of traction/slip issues. The key is to shave sensors to help determine how the robot is positioned and where it is. 3v0
__________________ Please post questions to the forums. PM's are for personal communication. BCHS/3v0's Tutorials Junebug USB PIC programmer kit., USB Bit Whacker, The 15 Minute Printed Circuit Board! (+drill time) | |
| |
| | #5 |
|
quote: The key is to shave sensors to help determine how the robot is positioned and where it is. Lol... | |
| |
| | #6 |
|
There only one way to keep it going strait. And that is to keep track of how many rotations the wheels make. And one of the best ways is a encoder. Next maybe hall sensor, Or motor that is made to keep track of a stepper. A resistor not going to get it nor draging a leg lol | |
| |
| | #7 |
| Maybe some fuzzy logic is needed. ![]() There is really no point in making a robot that relies on the drive train to keep it straight. Feedback from sensors should determine the course the robot will take.
__________________ Inside every little problem, is a big problem trying to get out. Last edited by kchriste; 31st August 2009 at 02:24 AM. | |
| |
| | #8 |
|
As 3v0 mentioned, having both wheels make the same number of rotations doesn't mean that it's going straight. Variances in traction between the wheels can cause it to go off at an angle. Variances in terrain height also means that one side may have slightly more ground to cover. Don't forget that distance covered = number of rotations * wheel diameter only assuming perfect traction.
__________________ Good riddance, ETO .
Last edited by giftiger_wunsch; 31st August 2009 at 02:35 AM. | |
| |
| | #9 |
|
You have to have feed back to tell what your wheels are doing As far as tracking gos it don't matter you could go from A to B strait or in a ark or a lot of them If you built for out side then there will be slip. Hard floors not much to worry | |
| |
| | #10 |
|
perhaps you could use a singular track.. like a wide one? Your steering can be adjusted using a steering wheel in front of your robot like a bike.
__________________ -The kinda guy who would improvise so much that you'd say "Here's 50 bucks for your Gigantron" http://vortexelectricaz.blogspot.com | |
| |
| | #11 |
|
Add a tail wheel caster that sits some distance behind the robot drive wheel center. Rotation of the wheel denotes change in direction. The longer the distance between drive wheels and tail wheel, the better the resolution in directional change.
| |
| |
| | #12 |
| if you do not mind me asking, why do you want it to go straight? Usually you want your robot to hit a target, and target is usually marked (radio/light/whatever), or you have some reference points you can use to go the way you want... There is no proper way that will give you 100% straight line in all cases .. different terrain angle will mess up with tail wheel, holes & grovel will mess up with external encoders etc etc .. the only sure thing is to use reference points (line on the ground, distance from wall, radio/light/sound beacon...), as many reference points as possible .. everything else will work in "some conditions", for hard floor, parket .. the good grip rubber wheels with encoders will do the job, for slightly rough but flat terrain the tail wheelly will do the trick .. but for real action - you either need a beacon or you need some other sensory input like camera and some reference point recognition software
__________________ Bits From Bytes - the best RepRap kit out there now featuring RepRap V3 with full electronics redesign based on PIC32MX440F256H (English) MySQL Blog (Serbian) Elco Blog (Serbian) Use forum to ask questions, do not use PP | |
| |
| | #13 |
|
Maybe you haven't heard of it, but i participate in the Science Olympiad tournaments at my high school. One of the competitions was to build an electric vehicle that goes a certain distance in an allotted time limit on a straight line. Sounds simple at first, doesn't it? :P Well, you're not aloud to track anything on the floor (where i would have used a optical sensor of some sort) and you're only aloud to align it visually against a target at the end of the track (no laser pointers )I'm not sure they're going to repeat this particular event this year, but i just wanted to know your opinions on bot making. ![]() If you're curious, here's the S.O. website: Home Page | Science Olympiad
__________________ I are illogical, my logic is irrefutable. Last edited by homik; 1st September 2009 at 01:53 AM. | |
| |
| | #14 |
|
That's not really a robot, more of a "car". Just use a single driven axle, and a fixed steering wheel at the front. Then add some microadjustment to the steering wheel, ie make its support from wire so you can bend it a little to get the car going straight.
| |
| |
| | #15 | |
| Quote:
__________________ Bits From Bytes - the best RepRap kit out there now featuring RepRap V3 with full electronics redesign based on PIC32MX440F256H (English) MySQL Blog (Serbian) Elco Blog (Serbian) Use forum to ask questions, do not use PP | ||
| |
|
| Tags |
| robot, straight |
| Thread Tools | |
| Display Modes | |
| |
Similar | ||||
| Title | Starter | Forum | Replies | Latest |
| Moving Robo Straight. | Vikky | Robotics Chat | 19 | 30th September 2009 02:24 PM |
| A straight going wheeled robot problem | m_saeed_soliman | Robotics Chat | 16 | 9th June 2008 07:02 PM |
| straight line motion | ahmedragia21 | Robotics Chat | 2 | 13th May 2007 10:20 PM |
| Antenna conversion, Loop to Straight wire | heida11 | Electronic Projects Design/Ideas/Reviews | 2 | 17th March 2006 08:12 PM |
| Straight talk about potentiometers | duffman | General Electronics Chat | 5 | 23rd June 2004 03:48 AM |