How to give my PI controller initial value?

조회 수: 40 (최근 30일)
Adeel Ashraf
Adeel Ashraf 2021년 1월 5일
댓글: Jon 2023년 9월 6일
As my system initialize at 1800 RPM. I want to give inital value to my PI controller to remove the swing curve as you can see in my scope result. So that I can reduce the simulation time.
But I don't know how to do it.

답변 (1개)

Jon
Jon 2021년 1월 5일
If you want the inital output of your PI controller to be 1800 when the error signal is zero then set the initial value of the integrator to 1800/I where I is the integrator gain
  댓글 수: 4
Hedi BASBAS
Hedi BASBAS 2023년 9월 6일
Hi Jon,
Could you explain with equations how you choose the inital condition as 1800/K_i ?
Best regards;
Jon
Jon 2023년 9월 6일
For basic PI control the controller output, u is given by u = K_p*e + K_i*E, where e = (y_setpoint - y) and E is the state representing the integrated error. Assume you start your controller with y=y_sestpoint so the error e is zero. Then in order for u = 1800, we have 1800 = K_p*0 + K_i*E. Solving this for E, the initial state of the integrated error, gives E = 1800/K_i

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Simulink에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by