I think you’ve to define your question a little better.
More background info about what you are trying to do. Do you use a BA/BAP+BB2 + SSC32? Is it a programming question?
Are driving this with labview directly from a DAQ and no ssc-32?
If you are then you need to put an oscilloscope on the PWM signal going to the servo and verify it is proper.
There should be a positive pulse width between 1 milisecond and 2 milisecond in duration, 1.5 milisecond being 0 degrees of shaft rotation.
The pulse frequency should be close to 50Hz, that is the pulse occurs every 20mS.
The situation you seem to describe suggests you are sending either an pulse duration outside the range I indicated or not sending pulses at the correct rate.
Please follow the link RobotDude provided earlier as it describes in detail the signals necessary to control an r/c servo.
With a DAQ? I’d think he’d use a digital output. It would be useful to know what Labview module he’s using. I wonder if he’s using the Lego stuff? What do they use?
I may over-generalize the term DAQ. We have different multi-I/O boards that get used with labview and just call them DAQs. They usually have digital i/o, analog i/o, and timer resources on them. Some use a PXI chassis and others are run from a USB port. I usually just get to write requirements documents though and not get to pick the specifics of what hardware is to be used. Damn test engineers!
We have something like an NI SCXI chassis, with 1180,1182,1183 and 1104 boards in it. I’ve yet to write any code for it, or do much more then modify some of the test fixtures that we “plug in” via the Virginia panels. They are run with CVI, though, not Labview.
Documents. Yeah, I write a lot of documents! Even get to design a stand-alone test fixture now and then. Lately, I’ve been designing test fixture boards that we mount on top of a Cirris cable test box.
hi
im controlling motor using labview–and daq card
i am getting sensor input–analog and then convert it into force—comapare it with desire force----then error signal is multiplied with prop control value to generate pwm signal to drive the motor…i just want to know—what will be the pwm signal to drive the motor in negative direction
aaand is your PWM signal going to the servo actually a positive pulse in the valid range of 1 to 2 miliseconds and happening every 20 miliseconds? hhmmm???
because if it isn’t you can put any number you want out there and the servo will stay locked against a rail until it dies.
actually I’m also wondering if you understand the PWM signal simply controls the position… a 1.5ms pulse is considered 0 degrees, a 1ms pulse is usually CCW (I think) so that would be -45 degrees, and a 2ms pulse would be CW for 45 degrees.
of course none of that works if you don’t have the daq setup to send the pulses correctly to begin with… which is why I keep harping on your breaking out an oscilloscope and verifying this.