Filter löschen
Filter löschen

How to use PI controller for a particular discrete time step only within the sampling time?

1 Ansicht (letzte 30 Tage)
Hi, I am a simulink user.For eg i took sampling time as 1 microsec.All i want is to use PI controller only for 0.3microsec (ie remaining 0.7microsec it should halt ) and output of the PI controller i want to use for another purpose which takes the remaining sampling time ie 0.7microsec. And i want to repeat this procedure every 1 microsec.

Antworten (1)

MULI
MULI am 22 Feb. 2024
Hi Ahammad,
Here I am providing one of the possible approaches which provides the desired result.
Set the pulse width of a pulse generator to 30% which generates the output such that it will be high upto 0.3 microsec and zero for remaining time.
Multiply the pulse generator output with output of PI Controller. A NOT gate can be used to get the output for remaining time.
Here I am attaching the Simulink layout and its output.

Kategorien

Mehr zu Simulink finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by