Figure 9:
Current control loop with PR controller and harmonic compensation to eliminate harmonic voltage distortion.