How to determine initial condition of PID control?

6 views (last 30 days)
I want to do a PID control simulation considering the past input and output.
I know the initial condition of the PID controller can be determined; however, I don't know how to calculate it from the data.
An example Simulink model is attached.
The controlled object is transfer function G = 1 / (20 s^2 + 10 s + 1) and the initial output is set to 5.
The reference is initially 0 and changed to 1 at t=5, and the stop time is 50.
I want to reproduce the simulation data during t>=5 with setting stop time is 45.
How can I obtain such data?
Thank you

Answers (0)

Products


Release

R2019b

Community Treasure Hunt

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

Start Hunting!