Electric Stunt > New electronic technology

Questions on sensing bellcrank position

<< < (2/4) > >>

ChrisSarnowski:
Hi Pat,

Thanks for info on sensor mount. It did seem that the sensor needed to be firmly assembled into the shaft, which you are doing with goop.

I remain interested in the other answers, especially about now often you sample bellcrank position. As you likely are aware, the servo control signal updates position typically at a 4 KHz rate, though you can mess with that a bit. I wonder where control system delays become noticeable.

Also wondering if you bothered with digital servos, as they seem to be faster in response to control inputs.

Thanks,
Chris

pmackenzie:
4khz?  Perhaps you mean industrial servos?
Normal R/C servo updates are every 20msec, so only 50hz.
Digital servos can operate at a max of about 300hz.
This might seem too slow, but is in line with how fast you can move your hand and the servos speed. With a fast servo the elevator keeps right up with control inputs.
This was certainly the case with the indoor model, to me it responded just like the regular control version.


In this system the update rate is about 160hz, based on having enough time to output the three 1-2msec servo position information.
Ultimately the goal would be to go to 250hz, but that would require a more complex interrupt handler to be able to output all the servo signals overlapping each other.
Either that or use a micro with multiple hardware PWM outputs.

The bellcrank position is sensed and all the calculations done as part of the main program loop. This takes ~1.5 msec, faster than the servo positions can be updated.

The sensor used is not a rotary one per-Se. It only becomes one when installed between the magnetic field that rotates with the bell crank.
 Might be why you had trouble finding one in your search  :)

Part number is SS494B, chosen for its high sensitivity and ratiometric output. 
High sensitivity translates to good voltage swing and the ratiometric output means it behaves in circuit just like a pot would.
This, combined with using supply voltage as the A/D reference, gives supply noise/variation rejection to the crank position.
Spec sheet is here:
http://sccatalog.honeywell.com/imc/printfriendly.asp?FAM=solidstate&PN=SS494B

It measures flux density through the face of the part. At zero flux the output is Vcc/2.
It and the magnets are set up so neutral bellcrank has it at right angles to the flux lines, so no flux through the face.
Rotating the crank puts the flux lines at an angle to the face, so flux density is proportional to the bellcrank deflection.

By the highly scientific method of trying the magnets we had on hand and the spacing between them
 we settled on ones that gave full sensor output at the crank deflection we wanted to have.

Pat MacKenzie

ChrisSarnowski:
Hi Pat,

Thanks for info. Yes that was a mistake on my part for converting the servo update rate in milliseconds to frequency! That rate does seem slow but as you say you guys have proven that it gets the job done.

Thanks,
Chris

MikeCoulombe:
So, On the shelves by Christmas?

ChrisSarnowski:
I imagine there's a bit more work to do Mike before it is ready for mass consumption!

Pat, I am wondering today what microprocessor you are using? Do you also use it for driving the ESC (timer)?

I am thinking that a small Arduino board (say Arduino pro mini) would get the job done.

Do you see any interference from electric and magnetic fields generated by the motor turning the prop?

-Chris

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version