05-14-2014 12:45 PM
Hi.
I'm using the NI-9505 driver for controlling a CNC positioning system with PID, T1FLS and IT2FLS for comparison purposes in noise presence. Intentionally, I've added Gaussian white noise to the reference signal and the motor must follow different shapes with that added noise (Square, Triangular, Sawtooth and Sinusoidal). The problem I encountered is that after I enabled the driver. The control system should work until the last reference point is reached, but it doesn't finish because a Drive Fault is triggered. I don't understand why, but I can suppose that the PWM signals applied to MOT+ and MOT- had occurred at same time when the reference changes and makes the duty cycle change suddenly from positive to negative value due to the noise.
This occurs sometimes whenever I increase the noise amplitude. Normally, without noise, it does finish the program disabling the driver sucessfully until the last reference point is reached.
Please check the VI and the sawtooth signal response (JPG). Some suggestions?
Thank you very much!
05-14-2014 08:52 PM
we had a similar issue with the 9502 module and it turned out to be the fault was caused by violating the minimum pulse width (2 usec for the 9505). the manual calls this out as well. make sure you min the pulse width against 2 usec
05-14-2014 10:42 PM
05-15-2014 03:35 PM
hi vitrion
thanks for using the National Instruments Forums.
Do you have information about the leds in the 9505, whats the colour and behavior (lit, flash, etc) for each of them. Page 12 in the manual
http://www.ni.com/pdf/manuals/374211f.pdf
Does the code generate a warning or error code? what is this code?
Also check the parameters for motor, if this drive is enough to supply power for it.
Regards!