I have been thinking about a full robot spinner using brushless motors for drive. To work out how to control the robot the wheels need to be stalled for a short time on each rotation. To find out when to stall the motor you need to know the heading of the robot. These are the ideas i have come up with to try and control a fast spinning robot.
a. Encode the wheels, and workout angle of robot from wheel positions. however if the wheels slip the heading is lost.
b. measure the earths magnetic field - i can't find much information on sensors and what is needed to do this. However with brushless motors in the robot there is going to be alot of magnetic field in there.
c. create a led array on one side of the arena and use photo sensors to use this as a reference like the earths field. It may be hard to detect the light with reflections.
Has anyone used any of these techniques before? or does anyone have any other ideas?
Spinning robot
Moderators: BeligerAnt, petec, administrator
-
- Posts: 1134
- Joined: Tue Jan 20, 2004 12:00 am
- Location: London
- Contact:
Spinning robot
TEAM GEEK!
- BeligerAnt
- Posts: 1872
- Joined: Wed May 15, 2002 12:00 am
- Location: Brighton
- Contact:
I know you can get electronic compasses - my GPS contains one! But I'm not sure how well they deal with other magnetic fields.
You could try an electronic gyroscope or accelerometer but it might need some complex maths to figure out what you needed. Try Analog Devices, they have a range of interesting devices and usually provide a lot of good info. You might also be able to blag a sample or two!
Reflections would certainly cause problems for an optical reference system, and many speed controllers have lights on which could cause more confusion! Not sure the optical system is a good solution, given the variability of arenas, lights on other robots etc.
You could try an electronic gyroscope or accelerometer but it might need some complex maths to figure out what you needed. Try Analog Devices, they have a range of interesting devices and usually provide a lot of good info. You might also be able to blag a sample or two!
Reflections would certainly cause problems for an optical reference system, and many speed controllers have lights on which could cause more confusion! Not sure the optical system is a good solution, given the variability of arenas, lights on other robots etc.
Gary, Team BeligerAnt
- joey_picus
- Posts: 1137
- Joined: Tue Jan 13, 2009 1:51 pm
- Location: Lancaster, Lancashire
- Contact:
Aaron Knight (of the Aussies and of MBX featherweight fame) has done this with featherweights; according to him http://www.spambutcher.com/meltyb.html contains most of the info you need.
-
- Posts: 1134
- Joined: Tue Jan 20, 2004 12:00 am
- Location: London
- Contact: