CS-Lab Support Forum for CNC Community

Help to run this brand-new forum and stay with us.
Ask your questions, we are here to help! 

 

Forum Navigation
You need to log in to create posts and topics.

Meaning and range of pid tuning kp variable values?

Hello everyone.

I am currently remodeling an old Mikron WF41C NC mill.
Originally, this machine was a Heidenhain TNC155 system with a Bosch TRA-15 drive and three Siemens DC motors. I am remodeling it with CSMIO/IP-A controlled by simCNC. The servo system is Panasonic A4 series and the external scale is Heidenhain LS903, 403 that was originally attached to the machine. I had a hard time synchronizing the encoder and servo system, but with the help of CSLAB, I was able to get it up and running.

My question is, as you can see in the attached file, the KP and KAFF values ​​of each axis are different, and I would like to know the range and meaning of those values. In particular, the Z-axis KP value had to be raised to 1.0 to work, but the XY-axis worked sufficiently within 0.5. I saw a video on PID tuning with YouTube MACH3, and I saw that the video producer was testing by increasing the KP value to over 1500, as if the KP value unit was different.

1. What is the meaning and range of the KP value in PID tuning? For example, I wonder if it is okay to increase it beyond 1.0 to 10.0.

2. When the servo is on, each axis moves back and forth slightly. I wonder what variable can be used to stably adjust this.

THANK YOU.

Uploaded files:
  • 20250322_x_pid.png
  • 20250322_y_pid.png
  • 20250322_z_pid.png

The PID controller in Mach3 and simCNC are two different designs and have no relation.

I will add that you are using huge kp and kvff values, this may indicate that the PID velocity controller in the drive is too softly tuned.

This certainly causes the axis to move forward and backward.

Have you tried using autotuning in CSMIO/IP-A?
It works great, provided that the speed controller in the drive has been tuned correctly.

PARTNERS:

 

USA

Germany

Slovenia / Bosnia

Spain

South Africa

UNI-CAM

The Netherlands

Portugal

Greece

  Distrib milionis logo

Hungary

Distrib logot

Bulgaria

Master

Kenya

Proteq Automation

Egypt

Germanelectronix

China

Jun Ma

Serbia

ALCO

Italy

LVL tech r

Denmark

Varntoft Dania

Finland