09-09-2009 01:26 PM
Hi
I am using a PXI 7350 motion controller.
I want to run a stepper motor with a final velocity of 120 steps/sec with an acceration of 72 steps/sec/sec
however, when i set up these values then execute the motion, i can see that the motot accelerates much faster than 72 steps/sec/sec i.e it gets to its runnign speed of 120 steps/sec to quickly.
i have ran motor with faster accerations at faster final velocities and not had this problem.
can anyone offer any ideas as to why this is?
Thanks
Scott
are these velocity and acceration values not compatable?
09-10-2009 02:43 AM
Hi Scott,
the minimum acceleration value and the minimum acceleration increment depends on the internal control loop update period of the 7350 board. Please refer to the NI 73xx Acceleration in Counts/s^2 section in the NI-Motion help. You can change the board's control loop update period in the Control Loop settings in MAX. Please note, that this is a global setting for the board and it affects all axes. If you are also using servo axes, you will have to retune the PID parameters for these axes if you change the control loop update period.
The lowest acceleration value (61 counts/s^2) with the best acceleration resolution can be set with a control loop period of 500 µs, but you won't be able to set exactly 72 counts/s^2, as the next higher incremental value is 122 counts/s^2. If there is a spare axis available, you could solve this issue by using electronic gearing. Here is an example how to do this:
I hope this helps,
Jochen
09-10-2009 03:26 AM
Thanks Jochen,
I will try out both solutions and let you know the outcome.
Scott
09-11-2009 03:13 AM
Hi
I've tried both mecthods and seen a big improvement.
However, I am running two axis and dont seem to be getting these in phase with each other. There is always one lagging behing another.
Two causes I have though of are:
Are my points valid and are there any solutions? I think I may be able to gear both axis ?
Thanks
Scott.
09-11-2009 03:30 AM
Scott,
I'm glad that you can see some improvement. To answer your questions: As long as you use two start commands, there will always be some non-deterministic delay between both axes. The axes' outputs are not multiplexed and you can synchronize them using one of two methods:
I hope this helps,
Jochen