Quantcast
Channel: Motion Control and Motor Drives topics
Viewing all articles
Browse latest Browse all 1315

Servo control with pwm in scan mode?

$
0
0

Dear National Instruments enthusiasts,

 

for a schoolproject (with a deadline), i’m trying to control a microservo Modelcraft mc-1811 with NI9403(only digital inputs or outputs). I need a 50Hz signal between 5% and 10% duty ratio. When the duty ratio is 5% (1ms high in a period of20ms), the servo is left, when the duty ratio is 10%(2ms high in a period of 20ms), the servo is right and I want also to control in between.

 

In the normal scan mode it works at a duty ratio of 50%. When I try a duty ratio of 25%, the scope shows a signal with duty ratio of 50%. When i try a duty ratio of 10%, the scope shows no signal, the output is zero. I also tried FPGA mode, but to send it to the CRio, it takes a long time (2 hours for a small program).

 

Can somebody help me for a handy solution?

Kind regards

Matthias

 

 

 

 

 

 

 

 

 

 


Viewing all articles
Browse latest Browse all 1315

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>