PXI

cancel
Showing results for 
Search instead for 
Did you mean: 

RPM and Angle with PIX 6221

 

 

 

I am working on student project where we are controlling position of dc motor shaft. On the rotor of the motor there is optical encoder which is connected to PIX counter. But for best results of control we must measure speed and angle in same time. In attachment is the vi which we used. In the vi angle measurement is solved with DAQmx, but speed measurement is obtained with taking difference of angle in certain time. This type of speed measurement is sensitive to speed of loop and suffers from overflow of registers. Precise speed measurement is needed because of controlling dynamics of dc motor.

So is it possible to measure speed/frequency and angle from same CTR in DAQmx?

 

Sorry if solution is obvious, but we are new to LV.

 

 

 

0 Kudos
Message 1 of 2
(5,006 Views)

Hi weky,

 

actually it is possible if you use an absolute encoder. Please read this both links and tell us if it is helpful.

 

This link is basic information to use Encoders

 

http://www.ni.com/white-paper/7109/en/

 

This one can be helpful for you. There explains how to use absolute encoders

 

http://www.ni.com/white-paper/14964/en/

 

Regards!

0 Kudos
Message 2 of 2
(4,966 Views)