Search the archive:
YaBB - Yet another Bulletin Board
 
   
 
Pages: 1 2 
Send Topic Print
Servo "Whiskey Compass"...will this work? (Read 7367 times)
Apr 18th, 2005 at 8:34pm

JBaymore   Offline
Global Moderator
Under the curse of the
hombuilt cockpit!

Gender: male
Posts: 10261
*****
 
So one of the things I really want to have for some added realism is the Whiskey Compass on the windscreen center post turning as the plane comes around.

So I had this idea for creating one.  With all of the parts for this....... it should be able to be done for under $60....... including the single Phidget servo controller, the servo, the mods to the servo, the car compass, and the housing. If I go for the four unit servo controller (want some other guages too later) the cost for the one part here goes down a tad.

So please take a look a the diagram I have drawn below... and tell me if this will work... or if it won't.  

Key to this idea is modifying the HS-322 for 360 degree rotation.  This servo is only about $10.00  Wink.


Thanks.


...

best,

..................john
 

... ...Intel i7 960 quad 3.2G LGA 1366, Asus P6X58D Premium, 750W Corsair, 6 gig 1600 DDR3, Spinpoint 1TB 7200 HD, Caviar 500G 7200 HD, GTX275 1280M,  Logitec Z640, Win7 Pro 64b, CH Products yoke, pedals + throttle quad, simpit
IP Logged
 
Reply #1 - Apr 18th, 2005 at 11:10pm

TacitBlue   Offline
Colonel
That's right, I have my
own logo.
Saint Joseph, Missouri, USA

Gender: male
Posts: 5391
*****
 
I honestly dont know, but Im new at this stuff. I would say, get the magnet and compass and try it out w/ out the servo before buying the expensive stuff.
 

...
A&P Mechanic, Rankin Aircraft 78Y

Aircraft are naturally beautiful because form follows function. -TB
IP Logged
 
Reply #2 - Apr 18th, 2005 at 11:54pm

SilverFox441   Offline
Colonel
Now What?
Mississauga, Ontario, Canada

Gender: male
Posts: 1467
*****
 
Sadly, no it won't work.

Modification to a servo to make it turn 360 degrees removes the feedback ability...the servo no longer knows where it is pointed.

What might work is to add a rotary encoder to the servo output. The encoder could pass the position back to the Phidget so that the system would know where the output was. I don't think that the programming exists in FS2Phidgets to use that feedback, but the guy who wrote it seems cool and might add the capability if asked nice. Smiley

I do like the idea of magnetically coupling the pices together...vary the distance slightly and you can get the typical "Whiskey Compass Hunt" and is lags behind and the oscillates and overswings a little bit.

For my own Whiskey compass I was thinking of gearing a standard servo output by 1:4...the output is then 360, plus a little bit of available over travel. The only hangup is that when rotating past end-of-travel points the servo would have to swing all the other way around. Sad

I can live with that limitation...but if the software can be tweaked to allow your idea, well I'll go another way. Smiley
 

Steve (Silver Fox) Daly
&&
IP Logged
 
Reply #3 - Apr 19th, 2005 at 5:10am

SAto   Offline
Colonel
P51-D Cockpit builder
Bergen, Norway

Gender: male
Posts: 14
*****
 
Quote:
So one of the things I really want to have for some added realism is the Whiskey Compass on the windscreen center post turning as the plane comes around.

Key to this idea is modifying the HS-322 for 360 degree rotation.  This servo is only about $10.00  Wink.


I think this sould work, I haven't worked with servos at all though I'm using step motors (because I get them for free Smiley).
You should be able to tell how far the servo has travelled based on how many pulses you've given it. or however they work. Then you need to provide a reference for it to know where it starts up. You could use an optical interuptor and spin the motor until the interruptor is blocked. Then you have a starting point and can start to rotate the motor to the desired position.

As I stated I've never worked with Servos and don't really know how they work and I've never used phidgets either.
But I think Simkits altimeter works this way, maybe their compass does as well. Could be an idea to check out their assembly manuals, they are found online at http://www.simkits.com/brochures.php


This is the way I'm going to do it (using steppers though)

-SAto
 
IP Logged
 
Reply #4 - Apr 19th, 2005 at 6:34am

SilverFox441   Offline
Colonel
Now What?
Mississauga, Ontario, Canada

Gender: male
Posts: 1467
*****
 
You're magnetic coupling concept gave me an idea...one which needs no servo at all...and no stepper motors. Cheesy

What we need to do is create a large "air core" magnetic instrument. An air core instrument movement is capable of rotating the magnetic field around 360 degrees...and would over-ride the Earth's magnetic field at close range. The compass would think it was reading correctly...but we fool it. Feedback isn't needed...there's no way in the physical universe for the reading to get wrong in the first place once it's aligned!

I have to dig back into my books for EM field creation...but this is doable and would be very easy to have programmed into a FS2Phidget...only you would need the output from three channels of a digital output board or a dedicated controller...I'll have to see hwat I can figure out.
 

Steve (Silver Fox) Daly
&&
IP Logged
 
Reply #5 - Apr 19th, 2005 at 7:39am

SAto   Offline
Colonel
P51-D Cockpit builder
Bergen, Norway

Gender: male
Posts: 14
*****
 
Quote:
What we need to do is create a large "air core" magnetic instrument. An air core instrument movement is capable of rotating the magnetic field around 360 degrees...and would over-ride the Earth's magnetic field at close range. The compass would think it was reading correctly...but we fool it. Feedback isn't needed...there's no way in the physical universe for the reading to get wrong in the first place once it's aligned!


That's a good idea!
Don't know how strong the magnetic field is but as previously stated a little lag would actually increase realism.

My problem with this is generating the sine cosine signals to the instrument. Know there are some specialty circuits to do this but they are not easy to come by.
Might do it with a PIC though...
 
IP Logged
 
Reply #6 - Apr 19th, 2005 at 5:48pm

SilverFox441   Offline
Colonel
Now What?
Mississauga, Ontario, Canada

Gender: male
Posts: 1467
*****
 
I had an idea that is useable in more places...and doesn't require handling the air-core driver circuits. Smiley

It also has a better chance of being implemented into FS2Phidgets...the basic function is useful for more than just FS. Thanks to SAto for mentioning optical interrupters...I knew there was an easier way to do what was required that I was forgetting. Smiley

Same exact setup as the original...except we add an optical encoder disk, an optical encoder and the encoder input to the mix. Using this system the system would basically use "dead-reckoning" based on known rotation rate and duration of rotation. The encoder disk/interrupter will allow the system to self-calibrate and to re-calibrate continuously as it rotates.

...

What the Encoder would like like. This has only 4 encoded positions...there is no reason it couldn't have even more:

...
 

Steve (Silver Fox) Daly
&&
IP Logged
 
Reply #7 - Apr 20th, 2005 at 5:46am

SAto   Offline
Colonel
P51-D Cockpit builder
Bergen, Norway

Gender: male
Posts: 14
*****
 
Quote:
Same exact setup as the original...except we add an optical encoder disk, an optical encoder and the encoder input to the mix. Using this system the system would [img]


If you've got access to discarded printers many of them have such encoder disks in them (much greater resolution though) combined with DC motors... suppose it's cheaper than step motors.

Maybe you could use them, even the circuitry in the printer to read this could be used...

As I'm working on a  <50$ budget for the entire pit I need to scavange everything, buying the phidget is not an option for me. But luckily I have access to a lot of scrapped
but working computer equipment.
 
IP Logged
 
Reply #8 - Apr 20th, 2005 at 12:22pm

TacitBlue   Offline
Colonel
That's right, I have my
own logo.
Saint Joseph, Missouri, USA

Gender: male
Posts: 5391
*****
 
$50!? I spent that much building my rudder pedals!

John, I have the solution! turn this into a full motion pit, then you wont have to do anything to the compass.  Tongue
 

...
A&P Mechanic, Rankin Aircraft 78Y

Aircraft are naturally beautiful because form follows function. -TB
IP Logged
 
Reply #9 - Apr 20th, 2005 at 1:52pm

SilverFox441   Offline
Colonel
Now What?
Mississauga, Ontario, Canada

Gender: male
Posts: 1467
*****
 
Tacit...that doesn't solve the problem. Sad

It just transfers it from the Whiskey Compass to the Cockpit Heading Sensor...the exact same problem will appear there in your plan. Smiley
 

Steve (Silver Fox) Daly
&&
IP Logged
 
Reply #10 - Apr 20th, 2005 at 3:58pm

TacitBlue   Offline
Colonel
That's right, I have my
own logo.
Saint Joseph, Missouri, USA

Gender: male
Posts: 5391
*****
 
LOL, I know.
 

...
A&P Mechanic, Rankin Aircraft 78Y

Aircraft are naturally beautiful because form follows function. -TB
IP Logged
 
Reply #11 - Apr 20th, 2005 at 6:44pm

SAto   Offline
Colonel
P51-D Cockpit builder
Bergen, Norway

Gender: male
Posts: 14
*****
 
Quote:
$50!? I spent that much building my rudder pedals!


Yeah I know... hopefully my financial situation will pick up...
But I'm pretty lucky getting a lot of needed materials for free.
Old Computers, printers, discarded metal shelves etc. Provide almost everything I need. Oh and free samples from semiconductor companies Smiley
 
IP Logged
 
Reply #12 - Apr 21st, 2005 at 10:12am

TacitBlue   Offline
Colonel
That's right, I have my
own logo.
Saint Joseph, Missouri, USA

Gender: male
Posts: 5391
*****
 
Not a thing wrong with free stuff. Ive gotten all of my hard drives for free.
 

...
A&P Mechanic, Rankin Aircraft 78Y

Aircraft are naturally beautiful because form follows function. -TB
IP Logged
 
Reply #13 - May 1st, 2005 at 8:52pm

JBaymore   Offline
Global Moderator
Under the curse of the
hombuilt cockpit!

Gender: male
Posts: 10261
*****
 
So.... thinking about this issue for the "Whiskey Compass"........

If a servo can be set up with gears to rotate for a full 360 degrees even though it cannot fully go that far ....... not full unlimited rotation...... maybe the compass thing is still doable with only a minor "hiccup".

As the aircraft turns, using the magnetic coupling technique between the servo's position (holding the bar magnet) and the actual compass indicator, when the servo reaches the end of its travel to say 360 degrees...... it suddenly and QUICKLY will then go back to see the position for a 1 degree heading.

It is POSSIBLE that the real magnetic compass will not actually "follow" the fast rotation of the bar magnet back, and the magnet will get to the 1 degree position fast enough that there will just be a small heading "bobble" for an instant whenever the plane crosses the 360 degree / 1 degree heading point.

Thoughts on this?

best,

.......................john
 

... ...Intel i7 960 quad 3.2G LGA 1366, Asus P6X58D Premium, 750W Corsair, 6 gig 1600 DDR3, Spinpoint 1TB 7200 HD, Caviar 500G 7200 HD, GTX275 1280M,  Logitec Z640, Win7 Pro 64b, CH Products yoke, pedals + throttle quad, simpit
IP Logged
 
Reply #14 - May 1st, 2005 at 9:24pm

SilverFox441   Offline
Colonel
Now What?
Mississauga, Ontario, Canada

Gender: male
Posts: 1467
*****
 
I think the "bobble" will be fairly noticeable...but with a fast servo it might not be too bad. Smiley

A Hitec 322 servo has a 60 deg travel time of .19 sec a 5V. Geared for 360 deg would load it up a bit...so make it .25/60 deg. You would need to gear it 5/1 (approx 80 degree servo travel would give you 400 deg total travel). Make the end rotation .05 sec/60 deg.

You might just be able to "lose" the compass for a moment, catching it as you come back around .3 seconds later. Smiley The real trick will be careful spacing of the magnet to override the compass... but allow it to get lost when wanted. Smiley

If that doesn't work there is a way to modify it so that it does:

Replace the bar magnet with a low powered electromagnet (hand wind one...it's easy). Power this magnet at all time except when crossing the 360 deg point. At 360 release the electro and apply power to a second magnet, a "holder". The holder hangs on to the compass until the servo swings back around and then releases it to the original magnet.

This is much more complex...and quite probably unnecessary. You should be able to build it the way you last described.

You can find gears here: http://www.servocity.com/html/gears___sprockets.html
 

Steve (Silver Fox) Daly
&&
IP Logged
 
Pages: 1 2 
Send Topic Print