Part Number: TMS320F280039C-Q1
Hello,
For the scenario in the subject line, please consider the following...
- EPWM_CLKFREQ = 120MHz
- PWM frequency of 100kHz (Up-Down count mode, 1200 ticks)
- Control Loop ISR is triggered on a CMPC Up-Count event (CMPC = 600-ISR Latency = 586, 4.88us))
- Control loop executes and writes a new phase shift value to the PWM shadow register
- Shadow-to-Active write occurs when counter = zero
- The controlled parameter is output voltage measured by the SDFM with the following parameters:
- SINC3 Filter
- OSR of 64
- Modulator Clock: 20 MHz
- Data Rate = 3.2µs
- Latency = 9.6µs
With the control loop running synchronously with the PWM, and the latency of the SINC3 filter being roughly a switching period, it seems that the control loop will always be calculating the new phase shift based off of old data and the sample-to-output delay time will now become twice the switching period rather just a switching period. Consequently, the phase margin will be reduced and in order to ensure stablity, the bandwidth of the controller will have to be reduced. Ultimately, the tranisent response of the converter will suffer as result of using the SDFM.
Is my understanding of the control theory correct? Is this simply a cost of using the SDFM with that high of an OSR? In order to reduce the delay time and improve the phase margin of the control loop, would I have to reduce the OSR to at most 32 in order for the latency to be less than 4.88us?
Thanks very much,
Neal Malackowski