03-25-2011 03:50 AM
Hi guys!
I'm an aerospace engineer working on a research project. Our goal is to mount 2 fans inside of a wing to generate some air to create a coanda effect around the trailing edge of the wing and generate more lift. Our plan is to control the 2 fans on a Lynxmotion SSC-32 servo controller and use Labview to control them.
I thought this would be a trivial task, but so far it hasn't been. The biggest issue we're facing is disengaging the brakes on the speed controllers. All of the ESC's that we're using have some sort of "braking" system to prevent the motor from reving up once power is connected if the throttle is accidentally left at 100%. We can disengage the brakes using an RC controller, but using labview and the servo controller to disengage the brakes has been a daunting task.
For the particular ESC we're using, it requires us to throttle to 0% until it beeps once, throttle it to 100% until it beeps twice and then throttle it back down to 0% until it beeps three times. At this point, the brake is released and the motor can rotate. This is the problem I'm having because no matter what commands I send the servo controller the motor will not budge.
We're sending the commands in terms of duty cycles and PWM, so for 0% throttle we send #0 #p0 #s0, for 100% throttle we send #0 #p2500 #s0 and then we bring it back down to 0% throttle. I'm not very familiar with PWM, but according to the manual for the servo controller 2500 is the max and this has been confirmed by a couple of other guys who have used the servo controller before.
I was wondering if anybody has any experience with brushless ESC's and labview, and if they could provide any insight into how to get the brakes disengaged? I've attached some sample code I've made, which is a sample brake release test I threw together this evening to see if I can get the brakes to release tomorrow. Thanks!
03-28-2011 03:58 PM
Hey SerratedAuto,
I was wondering; what brand of ESC are you using?I have down loaded the file and am trying to figure it out. Thanks
Perry S
03-28-2011 11:14 PM
I'm using an E-flite 30A brushless ESC.
It turns out though that I did figure out the solution. At the time I didn't really understand PWM so I was trying to feed it a 0ms signal to get the ESC to initialize, which I realized after playing around with it was wrong. To get the ESC to "unbrake" I need to feed it a 900ms signal, which corresponds to 0% throttle.