05-30-2008 01:52 PM
06-01-2008 06:05 AM
06-02-2008 12:24 PM
When I spin the motor by hand in both ways, the counts in MAX only changes in one direction. i.e. Spin clockwise, counts decrease; spin counter-clockwise, counts stay the same.
I made sure via my direct connection to the drive software that the drive is in torque mode and I disabled the limits.
However, the auto-tuning still gives a flat step-response. In 1D interactive mode, I can now start the motor, but the counts do not change while it is spinning(it's spinning counter-clockwise) and I have to manually stop the move.
Thanks for responding.
06-02-2008 12:30 PM
06-03-2008
07:35 PM
- last edited on
03-18-2025
04:58 PM
by
Content Cleaner
Hi Donna,
I would first check your encoder wire connections to make sure they are secure. I assume you also have your Axis Configuration in Measurement & Automation Explorer (MAX) set to a Servo Axis with Encoder feedback.
After you've checked those, what happens if you try switching your A, A-, B, and B- wires around to various positions?
Do you then still only get counts in one direction (be it clockwise or counterclockwise) and not the other?
As for the encoder resolution counting, the setting in the Encoder Settings page is what you provide based on either what the motor claism to be the actual counts per revolution, but it will not change the actual interpretation of encoder ticks.
06-05-2008 12:37 PM
Hi Vijay,
I have rewired the encoder cable and the position counts is working properly now: increase of 8000 for one clockwise rotation.
But the main problem remains:
When I auto-tune, MAX always freezes when the dialogue box show "calculating optimal control loop parameters" and the computer must be restarted. The step-response is still flat. Moves initiated in interactive mode is immediately aborted, the axis stopped because of a following error.
The system behaves as if the analog output is not reaching the servo drive. Is there anything to look out for while making the following connections?
Analog Output ---- AIN+
Analog Output Ground --- AIN-
06-06-2008 12:54 PM
06-12-2008 11:01 AM
Here I am, two weeks later with a happy ending.
Here's the summary of my adventure with the servo motor setup:
In chronological order,
Lousy encoder response?
-->Improper shielding of noise.
Solution:
Change cables.
MAX unable to autotune/move in interactive mode?
Approach: Changed axis from 1 to 2.
-->Problem persists.
Looked at the drive, DISABLED before commanded to run and ENABLED when axis is killed.
-->Inhibit Output signal polarity.
Solution:
Need to have low inhibit output signal when drive is active/inhibit command is inactive.
Set UMI Switch S1 to HIGH ACTIVE.
Strange motor behaviour?
vibrating, shaking, wouldn't move when connected to controller, capable of spinning if rotated by hand.
-->Controller saturation/Integral windup
Solution:
Change PID control loop parameters. Kp=1, Kd=ki=0
Axis immediatedly killed in interactive mode for following error?
-->torque offset mismatch between drive configuration and controller configuration
Solution:
Set the same zero reference voltage in both devices.
Voila, the motor is ready to be tuned.