In Fig. 1, u s represents the grid voltage; i s is the grid current; i L is the output current of the charging pile, that is, the input current of the vehicle mounted charger; i sh is the output current of the APF used to compensate the harmonic and reactive current generated in the charging process of the vehicle mounted charger; and u L is the output …