- Started from textbook PI gains aimed at the 5 kHz / 2.5 Hz crossover targets.
- Those gains kept input-current THD stuck above the 5% limit, regardless of gain adjustments.
- Several PI gain sets were evaluated through simulation. The final gains were selected based on the best combined THD, PF, and output-voltage regulation performance.
- Passive redesign was the key move: L changed from 1 mH → 12 mH; \(C_o\) changed from 4500 µF → 1500 µF. This cut the ripple far more effectively than forcing the PI to hit crossover targets.
- Final selection rule: "best measured THD and PF", not exact crossover matching.
Final PI Gains (continuous)
Current PI: \(K_p\) = 2.8, \(K_i\) = 17 600 —
Voltage PI: \(K_p\) = 0.055, \(K_i\) = 0.2
Discrete form (\(T_s\) = 20 µs)
\(K_{i,i,d}\) = 0.352, \(K_{i,v,d}\) = 4.0 × 10⁻⁶ (\(K_p\) unchanged in both loops)