Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Categories > Robotics Chat


Robotics Chat Specific to discussions about robots and the making of.

Reply
 
Tools
Old 30th August 2009, 02:06 AM   #1
Talking How to get a robot to go straight?

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.
homik is offline  
Old 30th August 2009, 10:29 AM   #2
Default

Maybe a sensory feedback system to make the robot correct its course when it starts to veer off?
__________________
Good riddance, ETO .
giftiger_wunsch is offline  
Old 30th August 2009, 03:29 PM   #3
Default

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.
breadboardguy is offline  
Old 30th August 2009, 05:36 PM   #4
Default

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)
3v0 is offline  
Old 31st August 2009, 01:46 AM   #5
Default

quote:
The key is to shave sensors to help determine how the robot is positioned and where it is.

Lol...
breadboardguy is offline  
Old 31st August 2009, 02:21 AM   #6
Default

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
be80be is offline  
Old 31st August 2009, 02:22 AM   #7
Default

Quote:
Originally Posted by breadboardguy View Post
Lol...
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.
kchriste is offline  
Old 31st August 2009, 02:23 AM   #8
Default

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.
giftiger_wunsch is offline  
Old 31st August 2009, 02:41 AM   #9
Default

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
be80be is offline  
Old 31st August 2009, 06:47 PM   #10
Default

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
Vizier87 is offline  
Old 31st August 2009, 06:58 PM   #11
Default

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.
bobledoux is offline  
Old 1st September 2009, 01:41 AM   #12
Default

Quote:
Originally Posted by homik View Post
What exactly is the best way to get a robot to go straight
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
arhi is offline  
Old 1st September 2009, 01:52 AM   #13
Default

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.
homik is offline  
Old 1st September 2009, 07:32 AM   #14
Default

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.
Mr RB is offline  
Old 1st September 2009, 08:16 PM   #15
Default

Quote:
Originally Posted by homik View Post
Maybe you haven't heard of it, but i participate in the Science Olympiad tournaments at my high school.
from what I see on the site / youtube ... all tournaments are held on the hard parket floor ... just have good tires, do not accelerate too much to avoid slippage and and of the mentioned ways will do ... I'd personally go with uC controlling 2 DC motors with encoders controlling speed of the DC motors via PWM slowly increasing speed trough time .. should be fairly simple .. you can check out the BIl's blueroomelectronics Mongoose kit kit .. that would be perfect platform .. you have encoders on both wheels, fairly powerful uC to control the robot ... and expansion board for additional sensors to play with them in future
arhi is offline  
Reply

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



All times are GMT. The time now is 03:54 AM.


Electronic Circuits  |  Learning Electronics
eXTReMe Tracker