- Posts: 19311
- Thank you received: 4655
OLD Lathe conversion to a CNC
1 year 5 months ago #327503
by andypugh
Replied by andypugh on topic OLD Lathe conversion to a CNC
You don't have auto-tuning PID permanently in tuning mode by any chance?
The following user(s) said Thank You: besriworld
Please Log in or Create an account to join the conversation.
- besriworld
- Topic Author
- Offline
- Platinum Member
-
Less
More
- Posts: 327
- Thank you received: 92
1 year 5 months ago #327516
by besriworld
Replied by besriworld on topic OLD Lathe conversion to a CNC
The HAW show shows that automatic tuning is not enabled.
What can I test? The problem I have is serious.
What can I test? The problem I have is serious.
Please Log in or Create an account to join the conversation.
1 year 5 months ago #327530
by andypugh
Replied by andypugh on topic OLD Lathe conversion to a CNC
There is mention in the HAL of closed-loop steppers. Does this mean that you are closing the position loop in LinuxCNC HAL with encoders and PID (you clearly _are_ doing this) but do you also have closed-loop stepper drivers that also read the encoders?
It is possible that your problem is due to cascaded controllers.
I would be tempted to try a making an alternate config without the DPLL and with the stepgens in position mode, directly driven by motor-pos-cmd. Having a PID in HAL ought to give better results, but if the problem goes away with a more "classic" config then that at least suggests somewhere to look.
It is possible that your problem is due to cascaded controllers.
I would be tempted to try a making an alternate config without the DPLL and with the stepgens in position mode, directly driven by motor-pos-cmd. Having a PID in HAL ought to give better results, but if the problem goes away with a more "classic" config then that at least suggests somewhere to look.
The following user(s) said Thank You: besriworld
Please Log in or Create an account to join the conversation.
- besriworld
- Topic Author
- Offline
- Platinum Member
-
Less
More
- Posts: 327
- Thank you received: 92
1 year 5 months ago #327547
by besriworld
Replied by besriworld on topic OLD Lathe conversion to a CNC
X and Z operate in open loop .The encoder (X and Z ) is not connected to the PID controller.
I also have protection in the motor driver if it misses a step.
I also checked the spindle pid controller constants in the haw show .All constants entered.
I also have protection in the motor driver if it misses a step.
I also checked the spindle pid controller constants in the haw show .All constants entered.
Please Log in or Create an account to join the conversation.
1 year 5 months ago #327554
by PCW
Replied by PCW on topic OLD Lathe conversion to a CNC
Can you post your hal/ini files?
Might help with more eyes looking at them
Might help with more eyes looking at them
The following user(s) said Thank You: besriworld
Please Log in or Create an account to join the conversation.
1 year 5 months ago #327572
by andypugh
Replied by andypugh on topic OLD Lathe conversion to a CNC
I found some configs posted earlier in the thread: forum.linuxcnc.org/26-turning/52640-old-...-cnc?start=60#326830Can you post your hal/ini files?
Might help with more eyes looking at them
The following user(s) said Thank You: besriworld
Please Log in or Create an account to join the conversation.
Time to create page: 0.067 seconds