Simulink - PI Control Question - tuned output graph will not overshoot

1 view (last 30 days)
I'm using a simple loop involving the following: -initial setpoint of 12.5 --> -PID control box --> -summation of PI control box and random number from -2 to 2 --> -this random value is subtracted from setpoint, and loop starts again
This is a very basic PI control for the number 12.5 varying up to 14.5 or down 10.5. I set the sample times to .5 for the PID control and random number blocks, however when I tune my PID control, I only get a curve infinitely approaching 1, I don't understand why it is not oscillating and eventually approaching 1 as it should. If anyone could explain this to me I would appreciate it.

Answers (1)

Babak
Babak on 18 Sep 2012
Zoom in or out in your figure to see the oscillations.
Also you may also need to change the total simulation time. Set it to 10, 100 or inf and see the differences on the graph.

Tags

Products

Community Treasure Hunt

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

Start Hunting!