キャンセル
次の結果を表示 
次の代わりに検索 
もしかして: 

PID Manul-Automatic control Example (P controller)

解決済み
解決策を見る

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.

PPP.jpg

0 件の賞賛
メッセージ1/10
2,406件の閲覧回数

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?

 

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 件の賞賛
メッセージ2/10
2,390件の閲覧回数

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.

0 件の賞賛
メッセージ3/10
2,382件の閲覧回数
解決策
受理者 m7amdiii

Hi m7,

 

the example shows "unstable" outputs when I increase the P gain to >50. (Example: Use a fixed load of 15 and a P gain of 100!)

 

The P gain only acts on the error…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
メッセージ4/10
2,377件の閲覧回数

Thank you for your response.

0 件の賞賛
メッセージ5/10
2,296件の閲覧回数

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.

m7amdiii_0-1703408038473.png

 

0 件の賞賛
メッセージ6/10
2,299件の閲覧回数

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...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 件の賞賛
メッセージ7/10
2,254件の閲覧回数

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.

0 件の賞賛
メッセージ8/10
2,250件の閲覧回数

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.

  • With growing P gain (in the range of 10…30) the steady state error got smaller.
  • With even more growing P gain (>= 40) there are more overshoots…

I don't understand your problem…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 件の賞賛
メッセージ9/10
2,187件の閲覧回数

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,

 

0 件の賞賛
メッセージ10/10
2,169件の閲覧回数