This application provides an
inverter carrier frequency synchronization method, a
power grid system, a charging
pile, and a storage medium, belonging to the field of power technology. The method includes: acquiring an
inductor sampling current, which is obtained by sampling a filter
inductor located at the
power output terminal of the target
inverter according to a preset sampling frequency; determining the actual current
ripple based on the
inductor sampling current; and adjusting the actual carrier frequency of the target
inverter in response to the actual current
ripple and the theoretical high-frequency
ripple component satisfying a preset carrier frequency adjustment condition. The carrier frequency adjustment condition indicates that the error between the actual current ripple and the theoretical high-frequency ripple component is within a preset component error range, so that the actual carrier frequency and the desired carrier frequency of the target inverter are within the frequency error range. This application embodiment can achieve
carrier frequency synchronization between parallel inverters while considering deployment difficulty, application cost, and synchronization stability.