I'm working on assembly language project using C166 compiler on ST10F269.
My project is a pulse generator controller for a power converter using IGBTs.
It has to control the output voltage and output current of the power converter using a PI controller.
The PI controller receives the error in voltage or current and controls the duty cycle.
Then, where should I define the PI control strategy in my software? In the normal system function or under an interrupt routine?
Thanks in advance!
NB: Please let me know if you cannot understand my query