TIDUEO1B April 2021 – June 2021
Figure 4-9 shows the software blocks used in this build. A two pole two zero controller is used for the voltage loop. As shown in Figure 4-9, the voltage loop block is executed at 100 KHz. The DCL_runClamp_C1 function is used to avoid controller wind-up condition. The DCL_runDF22_C2 computes the immediate part of the pre-computed DF22 controller. If this value is larger than the max or less than min threshold, a flag will be set with DCL_runClamp_C1 function. This stops the further controller saturation. Once the flag is off, DCL_runDF22_C3 will compute the partial result of the pre-computed DF22 controller. More information on how the DCL function works could be found inside DCL user's guide in C2000ware.