The invention provides a grid-tied testing device for wind
electricity and photovoltaic energy and a testing method thereof. The testing device comprises a power converter, a series connection
transformer, a shunt
transformer, an input breaker, an output breaker, a protective breaker, a first function change-over switch, a second function change-over switch, a third function change-over switch, a fourth function change-over switch, a by-pass switch and a
digital signal processor (DSP) control and detection unit. An input end of the testing device is connected with a
power grid, and an output end of the testing device is connected with a wind generating set or a photovoltaic generating
station as a device to be tested. Deviation
voltage or
harmonic voltage output by the power converter and nominal
voltage or fundamental voltage of the
power grid are overlaid for achieving
power grid adaptability requirements, and therefore the capacity of the power converter is far smaller than the rated capacity of the device to be tested. Due to the fact that the capacity of the power converter is reduced, the purposes that a
system is low in cost, small in size, light in weight, small in heating value, high in reliability and the like can be achieved.