3 Example: 50W LLC Development Board
The 50W Interleaved LLC Converter Development Board was used in this example to conduct plant measurements. Since the LLC topology utilizes variable frequency control, the BODE-injected signal modulates the switching frequency. The firmware documentation for this development board provides a detailed, step-by-step guide on how to adapt the code for accurate plant measurements.
For further information, please visit www.microchip.com/ev84c64a. Figure 3-1 illustrates the measurement setup on this development board.
During the BODE measurement process, as illustrated in Figure 3-2 for test points TP2 (injected signal), TP3 (DAC output) and the TP121 on LLC board (VOUT) in AC analysis mode on the oscilloscope, an inversion of the BODE injected signal is observed at the DAC output. This inversion occurs due to the influence of the on-board operational amplifier.
The plant gain of the LLC converter is quantitatively defined as the ratio of the peak-to-peak AC component of the output voltage to the corresponding DAC output signal, as described in this equation:
In digital control systems, it is essential to account for the modulator gain when evaluating plant gain measurements. The modulator effectively scales the digital control signal before it is applied as a duty cycle or frequency to the power stage. If the full-scale range of the 12-bit DAC (4095) and modulator does not match, the measured plant gain will not be correct. In this case, the switching frequency is modulated, so the modulator full-scale range is the difference between the PGxPER register value needed to obtain the maximum switching frequency (PGxPER_min) and the PGxPER value needed to obtain the minimum switching frequency (PGxPER_max). The modulator gain is defined as the ratio of (PGxPER_max-PGxPER_min) to the DAC full-scale code, which is 4095. To ensure accurate comparison between calculated and measured gains, and to maintain consistency across different switching frequencies, a correction factor of 20 × log((PGxPER_max-PGxPER_min)/DAC_max) dB should be added to the measured plant gain. This correction ensures the measured gain represents the true control-to-output transfer function, regardless of the digital implementation or modulator configuration. In this case, the maximum and minimum switching frequencies are 1 MHz and 800 kHz, respectively. Given the mode of PWM operation, this equates to PGxPER_min = 4000 and PGxPER_max = 5000.
Considering the modulator gain correction, the gain calculation is as follows:
Where:
DACmax = Maximum digital value of the DAC output (e.g., 4095 for 12-bit DAC)
Analyzing the plant measurements to identify the poles and zeroes that need compensation is crucial, as shown in Figure 3-3. This analysis is essential for designing an appropriate compensator for the system’s topology.
