04-24-2006 10:10 AM
I use a DC servo with a 7344 board , a torque amplifier and 2000 count/rev encoder.
I need to control the servo at different speed from 20000 count/sec to 2 count/sec.
For this I use MAX servo tune trajectory function for tuning the servo.
For high speed and medium the velocity error is correct (after some optimisation of PID parameter and use Kv instead of Kd). If the speed decrease to 100 count/sec it is necessary to change PID parameters .
But at slow speed under 10 count/sec it is not possible to find PID parameter for a smooth motion : the servo alternatively move and stop same as a stepper motor.
1) In the servo PID loop the trajectory generator and the error position are floating point value or integer ?,
in this case I think it is impossible to a have a smooth motion for slow speed.
2) Any idea to smooth motion for 1 or 2 count/sec speed ?.
Thanks
Jean Francois
04-26-2006
09:27 AM
- last edited on
11-05-2025
04:21 PM
by
Content Cleaner
Hi,
The board return an Integer for Error position and trajectory.
You can found on links below diffrenent information about use and configure motion board :
http://zone.ni.com/devzone/conceptd.nsf/webmain/FCEB9A6DDC453A4386256842007E65CB?opendocument
http://zone.ni.com/devzone/devzone.nsf/webcategories/69771825AE23E98E86256786000BEA02
http://zone.ni.com/devzone/devzone.nsf/webcategories/92AE54895BD745038625684000500A32
http://zone.ni.com/devzone/devzone.nsf/webcategories/7C65E64B69CAFA0886256DB300649C71
Regards,
Christophe S.
Account Manager East of France І Certified LabVIEW Associate Developer І National Instruments France
04-27-2006 04:38 AM
Hi
Thanks for your reply .
About some links my question is only for servo, for stepping motor the precision of speed motion is limited incremental displacement.
I agree for the board return values for following error trajectory and velocity are all integer .
My question is about the internal processing of the board not the return value.
My problem is not the velocity return by the board but the real speed of the servo display with an external analog sensor.
If trajectory generator process from integer value the and error position is 0 or 1 at slow speed and the output DAC can take only discrete value from 0 to Kp at first approximation . (Kp must be over the static torque in this case)
And the servo speed in this case oscillate from 0 to the 1/rise time of servo and act same as a stepper motor.
Best regards
Jean Francois
04-27-2006 08:23 AM
Christophe S.
Account Manager East of France І Certified LabVIEW Associate Developer І National Instruments France
04-27-2006 09:53 AM
Hi
The powerful amplifier is correct 0.1 A/V for a
My problem is only for constant velocity mode in the 100-2 counts/s range.
In this case the output DAC have discrete pulse on the scope proportional to Kp (and motion of the servo too) and If I decrease Kp the servo don’t move at correct speed.
Regards
Jean Francois
04-28-2006 05:00 AM
Christophe S.
Account Manager East of France І Certified LabVIEW Associate Developer І National Instruments France
04-28-2006 06:47 AM
Hi Christophe,
I agree with you and I do this.
But I think the only solution to have a constant velocity without any acceleration is to have the same increment for each pid loop, if trajectory generator and the error position are integer
The minimal increment is 1 and minimal constant speed without any acceleration on theory is 1/control loop update period it gives 200 counts/ s for a 5 ms loop update, this very far to the board specification for servo : 1count/s.
And if I want to change the velocity on the fly from 20000 to 200 count/s it’s necessary to change the pid loop update period on the fly, I don’t know if it’s possible.
I think the only one solution for constant true velocity motion under 200 counts/s, in accordance with the board specification, is a firmware update with an internal floating trajectory generator.
Best regards
Jean Francois
04-28-2006 07:01 AM
djef25 a écrit:
....
I think the only one solution for constant true velocity motion under 200 counts/s, in accordance with the board specification, is a firmware update with an internal floating trajectory generator.
Best regards
Jean Francois
Thanks
Sorry, but for this moment we have no plan for firmware update with an internal floating trajectory.Perhaps, in the future.
Best regards,
Christophe S.
Account Manager East of France І Certified LabVIEW Associate Developer І National Instruments France