PID parameters
- bill.j
- Offline
- New Member
- Posts: 7
- Thank you received: 0
I really appreciate the responses and good advice. As mentioned I am a new user of EMC2. I have a Bridgeport series II and upgrade the control to EMC2 using a mesa 5I23 and a 7I33. I connected the first axis and encoder and it worked. But when in g code command the speed exceeds from 2000 mm/min following error occurs. I think the PID parameters (or other parameters) are wrong.
I attach my ini file. Can anybody tell me about error in my parameters?
Please Log in or Create an account to join the conversation.
- BigJohnT
- Offline
- Administrator
- Posts: 7106
- Thank you received: 1177
The above assumes your drives take a velocity input and have a tacho feedback to the drive and an encoder feedback to EMC.
I'm sure there are many others on here that can explain it better than me...
John
Please Log in or Create an account to join the conversation.
- Zig
- Offline
- Premium Member
- Posts: 124
- Thank you received: 1
set all parameters to very low values ( say 1 )
increase P untill axis starts to oscillate back off P till it no longer oscillates.
increase FF to about 1% effective contribution
increase D till axis start to hiss ( the mtor will emit a kind of hissing sound )
Increase I untill axis is no longer sloppy but fights back any motor shat displacement you try to make.
This is a good starting point.
Now gradually alter the I and D till loop response is with minimum overshoot and minimum delay.
Try increasing P and FF and optimising the I and D coeffiicients
Presence of FF helps to bring the loop into as good a state as possible so that the I and D components have minimum contribution to make to overall performance.
Please Log in or Create an account to join the conversation.
- kostas
- Offline
- Premium Member
- Posts: 110
- Thank you received: 6
increase FF to about 1% effective contribution
Which FF? And this means that the FF should be (for example) 1 if P is 100?
Please Log in or Create an account to join the conversation.
- Zig
- Offline
- Premium Member
- Posts: 124
- Thank you received: 1
there are a number of feed forward coefficients available to the user.
The simplest and easyest to comprehend in terms of oop beaviour is the simple proportional feed forward. That is to say take one percent nominaly of proportional signal and feed it directly to the servo drive.
This tends to pre correct the loop controller and places a smaller demand on the PID portion of the controller.
So in this case FF0 is the one to play with.
Again no hard and fast rules; use halscope to monitor the actual error
Please Log in or Create an account to join the conversation.
- kostas
- Offline
- Premium Member
- Posts: 110
- Thank you received: 6
Please Log in or Create an account to join the conversation.
- andypugh
- Offline
- Moderator
- Posts: 23310
- Thank you received: 4858
So in this case FF0 is the one to play with.
In a velocity loop, yes. Not in a position loop. In a position loop you want FF1.
Please Log in or Create an account to join the conversation.
- BigJohnT
- Offline
- Administrator
- Posts: 7106
- Thank you received: 1177
John
Please Log in or Create an account to join the conversation.
- andypugh
- Offline
- Moderator
- Posts: 23310
- Thank you received: 4858
So if FF0 is for a velocity loop and FF1 is for a position loop what is FF3 for?
FF3? No idea.
FF2 would be the torque (or accelleration) precontrol to a position loop.
Maybe.
Please Log in or Create an account to join the conversation.
- BigJohnT
- Offline
- Administrator
- Posts: 7106
- Thank you received: 1177
John
Please Log in or Create an account to join the conversation.