01-30-2014 02:29 PM
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.
02-03-2014 07:57 AM
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!