Machine Vision

取消
显示结果 
搜索替代 
您的意思是: 

Hardware Selection Step-motor Control

Hi

 

I would like to control step-motors. I have a hardware driver for control but I need digital outputs for direction and start/stop of the hardware driver. May I use NI USB-6501 (24-ch, 8.5 mA) or myRIO?

 

Regards

 

 

0 项奖励
1 条消息(共 18 条)
7,497 次查看

Hi tiho,

 

To be able to provide some advises, we would need more details about the HW you have currently available.

What type of driver do you have? 

 

Best regards,
IR

2 条消息(共 18 条)
7,475 次查看
0 项奖励
3 条消息(共 18 条)
7,469 次查看

Hi tiho,

 

I had a look through documentation but I couldn't really find the specification for direction pin.

As a general description of the HW is that is TTL compatible, from here I can assume that NI 6501 should be sufficient for you to control it.

 

Unless you find explicetely the voltage level and the current needed, is difficult to confirm it.

 

Best Regards,

IR

4 条消息(共 18 条)
7,451 次查看

Hi

 

Thank you for your answer. I tried with NI PCI-7833R and it was working. I suppose that with NI USB-6501 it will work too.

 

Regards

0 项奖励
5 条消息(共 18 条)
7,446 次查看

The problem with the usb 6501 will be speed.  Your program will have to toggle the outputs on and off.  You can't use a counter to output a pulse stream with the 6501.

 

Bruce

Bruce Ammons
Ammons Engineering
6 条消息(共 18 条)
7,443 次查看

Hi

 

Thank you for your answer. What do you think about Labjack U3-LV. Is it usefull for step-motors control with A4988?

 

Regards

0 项奖励
7 条消息(共 18 条)
7,441 次查看

With the LabJack U3, if you use software to command each digital output transition (output-high or output-low), consider that it takes roughly 600us for each command-response per Section 3.1 of the U3 User's Guide.

 

There are a couple other ways to send pulses from the U3.  You can use the WAIT technique where you send a bunch of commands (high-wait-low-wait-high-wait-low ... and so on) to the device in 1 packet, or you can use a timer to generate output pulses via hardware timing.  The timer pulse output can be continuous, or you can use another timer to stop the output after a specified number of pulses.  See more in our Waveform Generation Application Note.

0 项奖励
8 条消息(共 18 条)
7,436 次查看

One detail, is that the logic high input level of the A4988 is 0.7*VDD.  That means if you power it from 5 volts, it might not be compatible with the 3.3 volt output from the U3's digital output.  The chip needs 8mA max from the logic supply, so I suggest you use a DAC (analog output) line to provide a lower VDD.  If you set DAC0 to 4.0 volts, and draw 8 mA, you will be left with ~3.6 volts which will work great.  Use "config defaults" in LJControlPanel to set the power-up default of DAC0 to 4.0 volts.

0 项奖励
9 条消息(共 18 条)
7,434 次查看

Hi

 

Thank you for your answer. In other words it is better to use Labjack U3-LV with A4988 or you can propose another hardware?

 

Regards

0 项奖励
10 条消息(共 18 条)
7,430 次查看