Disclosed in the present invention are a
power grid impedance measurement method and apparatus. The method comprises: generating a characteristic
harmonic current instruction on the basis of a
harmonic-
signal generation
algorithm, and inputting the characteristic
harmonic current instruction into a direct-
current voltage feedback control loop; receiving the characteristic harmonic current instruction to generate a
control signal, and performing current tracking control to obtain a harmonic current to be injected; converting an information electronic
signal of a main circuit into a driving
signal in a device control loop, and selecting a preset harmonic injection mode in real time on the basis of a harmonic injection target frequency; when active harmonic injection is selected, controlling the turning-on and turning-off of a switch tube, and injecting said harmonic current into a
power grid; when passive harmonic injection is selected, controlling the turning-on and turning-off of an IGBT, controlling a time and a current flow direction of when a
capacitor is connected to the
power grid for operation, and injecting said harmonic current into the power grid; and selecting
voltage and current signals to perform signal
decomposition,
processing and analysis, so as to obtain a power
grid impedance. By means of the present embodiment, a power
grid impedance is effectively measured, the disturbance to a power grid during impedance measurement is reduced, and the
measurement precision is improved.