PI controller step input

1 view (last 30 days)
Nejc
Nejc on 27 Nov 2013
Answered: Sabin on 27 Sep 2023
Hello colleges
I am doing simulation in Matlab Simulink and I cross on one problem. Before signal goes to PI controller I make a sum of measured value (which in my case is constant) and desire value (also constant). If I run simulation nothing happened. Than I put in my simulation STEP with innitial value (measeured value) and Final value(desire value). If I run simulation with this configurations PI controller is tracking my desire value from zero and not from my measured valued like I want.
What input signal can I set or any other solution would be great. Thank you very much for your response.

Answers (1)

Sabin
Sabin on 27 Sep 2023
First of all it is not the sum of desired and measured values, it should be the difference, error = desired value - measured value. For an example check:

Categories

Find more on General Applications in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!