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

3 visualizzazioni (ultimi 30 giorni)
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

Risposta accettata

Arkadiy Turevskiy
Arkadiy Turevskiy il 27 Ott 2014
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.

Più risposte (0)

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by