I use NI 9505 control brushed DC Servo motor, i use example programme PWM Generation and Velocity Control (open loop), the programme can run. but when i run Position Control (closed loop), motor run ,but some times can not stop.
I found in programme ,Position loop while loop, the current command output from PID is not stable, some times change to big value number, i want to see the PID Programme, but it protected by password.
so ,anyone use Position Control (closed loop) to control motor ,can contact with me.
my email address: ygsh16@hotmail.com, handphone is 065-91204219(singapore)
BTW, my motor encoder is
TWO CHANNEL ENCODER
CONNECTIONS:
1. BLACK : - MOTOR
2. RED : + MOTOR
3. BROWN : HALL SENSOR Vcc
4. GREEN : HALL SENSOR GND
5. BLUE : HALL SENSOR A Vout
6. PURPLE : HALL SENSOR B Vout
how this encoder wiring connect with NI9505?
Thanks