12-19-2023 03:42 AM
Dear NI Community,
I'm trying the "Automatic-Manual PID control" example, but I'm facing a problem. When I put the values of Ki and Kd to be zero and try to change the Kc value the system never overshoots. This case always happens even after changing the type (series, parallel and academic) and the gain units (bandwidth and Kc).
Thanks in advance.
Solved! Go to Solution.
12-19-2023 04:12 AM
Hi m7,
@m7amdiii wrote:
I'm facing a problem. When I put the values of Ki and Kd to be zero and try to change the Kc value the system never overshoots.
So the problem is "the pure P control doesn't overshoot"?
Why is this a problem?
12-19-2023 04:31 AM
Thanks for the reply,
Yes exactly that’s the problem.
It’s a problem because the system should become unstable at some point by increasing the P value.
There’s another example for controlling a motor velocity and it behaves normally, the overshoot increase as the P increases and when the values increases a lot the system becomes unstable.
12-19-2023 04:49 AM
12-24-2023 02:04 AM
Thank you for your response.
12-24-2023 02:58 AM
Good morning/evening everyone,
I'm currently trying to simulate the PID response of the parallel form in the Manual-automatic PID Example.
It behaves like the table when i adjust the units to be secs and bandwidth, but when I use P controller only while the other 2 gains are zero, it behaves opposite to the table.
So, does anyone has a solution to this case?
Thanks in advance.
12-25-2023 04:10 AM
Hi m,
@m7amdiii wrote:So, does anyone has a solution to this case?
Simple solution: the table is only valid for a PID control. It is not valid for a pure P control...
12-25-2023 04:17 AM
Firstly thanks for your reply,
Secondly, that’s not the case in Simulink.
I simulated the system there and tried different gains and parameters (P, PI, PD, PID) and it behaved accordingly to the table.
12-27-2023 11:52 AM
Hi m7,
@m7amdiii wrote:
I simulated the system there and tried different gains and parameters (P, PI, PD, PID) and it behaved accordingly to the table.
I also tried the example VI with different P gains (and zero I&D gain) and it behaved like described by your table.
I don't understand your problem…
12-28-2023 04:09 AM
Hello GerdW,
My problem is:
- When setting the gain unit to be bandwidth, the system behaves similar to Simulink when using PI, PD, and PID but the P response is inversed. But when setting the unit to Kc gain, the behavior reverses too, which is logical because the unit changed. Yet, I'm trying make it similar too Simulink. So, I was searching for the correct combination.
Thanks for your replies.
Best regards,