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

3 次查看(过去 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 个)

类别

Help CenterFile Exchange 中查找有关 Classical Control Design 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by