Motion Control and Motor Drives

cancel
Showing results for 
Search instead for 
Did you mean: 

NI PXI-7340: Motor cannot rotate counterclockwise

HI,

 

I am a new user in Labview. I am trying to control a DC brushed motor using NI motion card PXI-7340 and UMI-7774.

I am connecting the NI system to an arduino mega to turn the +-5V control signal into PWM signals (analogread and PWM out), before sending it to Pololu DRV8833 motor driver to drive the DC motor. The reason is because my motor is running on a rated voltage of 2.4V and starting current of 2.09A, where not many driver can provide such a low voltage.

 

For my connection, I connect only "pin1-analog output" and "pin9-analog output ground" from control connector as analog input for arduino. For feedback connector, I connected pin1,2,3,14,15,16 for encoder phase A,B and index, and also +5V and ground to power the encoder. The rest of the pin are left not connected.

 

I tried MAX to perform auto servo tuning and it seems fine, except that the motor can only rotate in one direction. Whenever I tried to use "1-D Interactive" to start a motion in absolute position mode with negative target position, the motor will not move and the motor axis is killed after high PID gain overshoot the motor in positive direction.

 

Attached are the settings for my 1D Interactive in MAX, kindly advise whether my connection or setting is wrong, your kind assistance will be much appreciated. Also, please let me know if my description is not clear.

 

Best Regards
CK

Download All
0 Kudos
Message 1 of 1
(6,077 Views)