MATLAB Answers

How to give my PI controller initial value?

6 views (last 30 days)
Adeel Ashraf
Adeel Ashraf on 5 Jan 2021
Commented: Jon on 8 Jan 2021
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.

Answers (1)

Jon
Jon on 5 Jan 2021
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
  2 Comments
Jon
Jon on 8 Jan 2021
Hi Adeel,
It looks like you are on the right track, but I think I need to see your model to understand better what is going on. Could you please attach your .slx file or if that is really huge a simple example model that recreates the problem you are having. Thanks

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!