BS2 and gyro- heading hold
iamscottym
Posts: 30
Hi everyone, I'm working on a robotics competition at Northwestern University.· The robot has to get from one 3x3x5' platform to another, with a 3.5' gap between, and then go down a ramp and knock over a plastic cup 15' away.· I'm using compressed air in 2 2L bottles for power, its basically a rocket powered plane.· Anyway, there's a stipulation that I have to touch the second platform, so I've just been bouncing off at a low angle of incidence and going on my way.· The problem is its not 100% accurate.· Rather than try and mechanically fix the problem, I figured a heading hold gyro like on a helicopter would work great.·
I was looking to use the I would like to use the GY401 Gyro with a S9254 Digital Servo to control the rudder.· However, all the gyros I've seen are for RC helis, and I'm not sure if they will function without a radio.· From what I've found on the futaba website the gyro considers neutral whatever position its in the first 3 seconds its on.· Logically, no signal would only cause a problem if it established a no signal neutral, whatever it may be, and then got a signal from the receiver.· I'm thinking that I could sent the appropriate signal from the BS2 I'm already using, since its just an analog servo position signal, which the gyro converts to digital for the servo.·However, there are other functions that are controlled by the receiver(transmitter), including turn heading hold·(AVCS) on and off, which I need to do, and am not sure how to do.· I have emailed futaba about this as well.· Also, I dont want to buy a radio just to put a scope on the·signal wire and figure out the signals...I've spent·enough money already on this·robot.
If anyone has any·other recommendations on gyros, etc, I'm all ears.··The only thing I have right now is the BS2 and servos and such for the rest of the robot.
Thanks,
iamscottym
I was looking to use the I would like to use the GY401 Gyro with a S9254 Digital Servo to control the rudder.· However, all the gyros I've seen are for RC helis, and I'm not sure if they will function without a radio.· From what I've found on the futaba website the gyro considers neutral whatever position its in the first 3 seconds its on.· Logically, no signal would only cause a problem if it established a no signal neutral, whatever it may be, and then got a signal from the receiver.· I'm thinking that I could sent the appropriate signal from the BS2 I'm already using, since its just an analog servo position signal, which the gyro converts to digital for the servo.·However, there are other functions that are controlled by the receiver(transmitter), including turn heading hold·(AVCS) on and off, which I need to do, and am not sure how to do.· I have emailed futaba about this as well.· Also, I dont want to buy a radio just to put a scope on the·signal wire and figure out the signals...I've spent·enough money already on this·robot.
If anyone has any·other recommendations on gyros, etc, I'm all ears.··The only thing I have right now is the BS2 and servos and such for the rest of the robot.
Thanks,
iamscottym
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
1+1=10
·
Generally you have to keep the vehicle unmoved while the gyro intialized, after that it will know where it is.·· But you need to find how many Gs of a jolt the device can handle or ignore.· It is possible that little bounce might pull 50Gs or more.
I don't think you need radio unless you want a remote control link.· Still, you need some way for it to nagivate and recognize its target.
I suppose you are just programing it for one flight path and hope the plane is bigger than the margin of error.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"When all think alike, no one is thinking very much.' - Walter Lippmann (1889-1974)
······································································ Warm regards,····· G. Herzog [noparse][[/noparse]·黃鶴 ]·in Taiwan
Post Edited (Kramer) : 4/11/2006 8:12:24 AM GMT
I know I dont need the radio, but I'm not sure how to get the gyro in the heading hold mode without it. The bounce is not very significant at all. I would have to check the math, but at a 10 degree trajacetory, the robot will have only have a few inches of potential energy in the z axis.
I dont really need to navigate, I just adjust the pressure and trajectory. I've gotten the robot to work without the gyro or any in flight adjustments at all, its just that it doesnt always work. Sometimes it takes an odd bounce and goes off in the wrong direction. I will need to make the robot correct its heading fast enough so that it doesnt just take off on a parallel path and still miss the target, but I think I can do it with just rudder. If not, I'll take a page from the hei pilots and use an esc and tail rotor as well(which the gyro can do).
I thought about actively seeking the target, but I'm pretty new to basic stamp (I've been coding forever, but I havent worked with PING))) or anything like that yet, and I dont really have time to learn now).
I got all the specs from this file: http://www.analog.com/UploadedFiles/Data_Sheets/279107307ADXRS401_0.pdf·(thier low cost version).
The higher spin rate ADXRS150 provides additional test data more applicable to your situation: http://www.analog.com/UploadedFiles/Data_Sheets/778386516ADXRS150_B.pdf#page=8
Shows a Shock test in the longitudinal axis of 100g for 5ms, where the output starts to stabilize after 50ms and returns to near normal after 100ms.
Regardless I think using any gyro will likely require a bit of experimentation to produce a reliable method of use. Using a R/C helicopter gyro may not be any easier since they may not be well characterized for shock conditions. The benifit I do see from using a RC gyro is that it will likely be easier to integrate into your system. In theory if you mimic the RC reciever by·sending a servo centering pulse (1.5ms pulse in 20ms window) the RC gyro should autocorrect the bearing of the servo. Though unless you monitor the output to the servo, you wont get any info in order to determine thrust.
Whichever way you go, good luck.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
1+1=10
····· Brian
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
There's nothing a good wack with a hammer won't fix
Darn I let the white smoke out again
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
1+1=10
My 401's take a lot of punishment in my·RC helicopters
Brian
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
There's nothing a good wack with a hammer won't fix
Darn I let the white smoke out again
Post Edited (Washer Medic) : 4/13/2006 3:34:32 AM GMT