Is there a way to automatic update the P and I gains of PI controller block in simulink

조회 수: 1 (최근 30일)
Hi everyone
I have a question regarding to PI controller block in Simulink.
My question is that whether there is a way to update the 'P' Gain and the 'I' Gain automatically of the PI controller block in simulink. I do not there is a way to automatically tune the P and I gains by clicking the 'Tune' button in the PI controller dialog. However, I want to update the PI controller parameters during the simulation.
Is there a way that I can create two input signal path for the parameters (other than the controller input signal) on the PI controller block so that I can run an algorithm which updates or tunes the PI parameters without stopping the simulation.
Please advice me with any possible solution.
Thank you very much
Tommy

채택된 답변

Arkadiy Turevskiy
Arkadiy Turevskiy 2014년 10월 27일
Not currently. You can choose all the options in the block that you want and then look under block masj to see how it is implemented. Copy that to create your own implementation of PID Controller block and make P and I gains as i externally supplied signals, not constants.

추가 답변 (0개)

제품

Community Treasure Hunt

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

Start Hunting!

Translated by