Following Error keeps creeping up

More
2 years 1 month ago #309889 by Darium
hi,
My machine has issue about following error keep rising during Gcode execution. Jogging 3 axis simultaneously at high speed ( 9m/min) for extensive time is ok. Reducing  the speed and accel to 3m/min  and lengthening timing pulse still doesn't fix the issue.
below are my hal and ini

Please Log in or Create an account to join the conversation.

More
2 years 1 month ago #309899 by tommylight
In your ini file, the P value for each axis/joint is set at 0, how did that happen?
The value should be 1000 for stepper systems with the servo period set at 1000000
The following user(s) said Thank You: Darium

Please Log in or Create an account to join the conversation.

More
2 years 1 month ago - 2 years 1 month ago #309915 by Darium
I used the template from PnCconf for 7i96 and modify to fit 7i95
Those number was from that config
My host computer is a Rpi4 so the servo period is higher
The axis are driven by Yaskawa sigma 5 servo motors
What should the P value be for servo system?
Last edit: 2 years 1 month ago by Darium.

Please Log in or Create an account to join the conversation.

More
2 years 1 month ago #309917 by tommylight
Depends on servo period, for 1 million it is 1000, for 2 million it is 500, and so on.
The following user(s) said Thank You: Darium

Please Log in or Create an account to join the conversation.

More
2 years 1 month ago #309918 by PCW
Yes, a good default P term for the stepgen  is 1/servo-period
so 1000 for a 1 mS servo period.

The physical meaning of a 1/servo-period P term is that any
measured position deviation is corrected by the next servo period

A P term higher than 1/servo-period will result in correction overshoots

A P term higher than 2/servo-period will result in oscillations.

Having a 0 P term will eventually cause following errors as the stepgen position
drifts due to small differences in the hardware and LinuxCNC clocks.

 
The following user(s) said Thank You: tommylight, Darium

Please Log in or Create an account to join the conversation.

More
2 years 1 month ago #309929 by Darium
I will change it tmr,
I always thought the drive takes in the step gen and handle the rest. So in case of a open loop system, does P term still need to be 1/servo period?

Please Log in or Create an account to join the conversation.

Time to create page: 0.439 seconds
Powered by Kunena Forum