
Discrete PI Controller from Continous PI Controller
27 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Hello!
I'm trying to derive the discrete PI controller equation of this block from the following scheme, but I can't get the same result.

On continous domain, I obtained the following relationship.

Considering Backward Euler,

Then replacing,

This is different from the above-mentioned block. It's very probable that I'm wrong, because I'm very new on discrete domain topics, but if someone can help me, I will appreciate it so much.
Thanks!
0 Commenti
Risposta accettata
Nithin
il 12 Feb 2025
I am assuming that the blocks depicted in squares are Gain blocks in Simulink.
I don't exactly understand what the '1/s' block does in your block diagram. If it is similar to a gain block in Simulink then you are misunderstanding the Backward Euler method. In the s-domain, the derivative 's' can be approximated by 'z-1/z' when converting to the (z)-domain using the Backward Euler method. This approximation implies that the differential operator 's' is replaced by 'z-1/z', effectively transforming a continuous-time system into a discrete-time system.
In this context, '1/z' or 'z^(-1)' in the Backward Euler method corresponds to a unit delay block in Simulink. Therefore, you need to add a unit delay block from the result of the sum of the control signal and integral gain coefficient back to the sum, as shown in the figure below (variable names might be different from what you have used), to achieve the same result as a discrete PI Controller block.

Refer the following documentation to understand about the ‘Discrete PI Controller’:
I hope this resolves your query.
2 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Array and Matrix Mathematics in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!