Patent ID: 8773094

Claim:
An alternating current (AC) line emulator, comprising: an AC power supply for providing an AC line frequency and an AC line voltage; and an automatic regulating load coupled between the AC power supply and a grid-connected power generation system for functioning as a test load of the grid-connected power generation system, and preventing current from reversing to the AC power supply and shutting down the AC power supply, wherein power consumption of the automatic regulating load is equal to a sum of output power of the grid-connected power generation system and output power of the AC power supply when the grid-connected power generation system is tested, wherein the automatic regulating load comprises: a power resistor chamber comprising a plurality of parallel resistors for consuming the output power of the grid-connected power generation system and the output power of the AC power supply; and a load controller for automatically regulating an equivalent resistance of the power resistor chamber to make the power consumption of the automatic regulating load be equal to the sum of the output power of the grid-connected power generation system and the output power of the AC power supply when the grid-connected power generation system is tested, wherein the load controller comprises: a switch circuit coupled to the power resistor chamber, the switch circuit comprising a plurality of parallel switches, wherein each parallel switch is in series with one parallel resistor of the plurality of parallel resistors; a sensor circuit comprising: a first current sensor coupled to the grid-connected power generation system for sensing output current of the grid-connected power generation system; a second current sensor coupled to the AC power supply for sensing output current of the AC power supply; a third current sensor coupled to the switch circuit for sensing input current of the switch circuit; and a voltage feedback circuit coupled to the switch circuit for sensing an output voltage of the grid-connected power generation system; wherein the first current sensor, the second current sensor, the third current sensor, and the voltage feedback circuit are used for converting the output current of the grid-connected power generation system, the output current of the AC power supply, the input current of the switch circuit, and the output voltage of the grid-connected power generation system into a control signal; and a microprocessor coupled to the switch circuit and the sensor circuit for receiving the control signal, and generating a switch control signal to the switch circuit according to the control signal; wherein the switch circuit utilizes the switch control signal to control turning-on and turning-off of the plurality of parallel switches for regulating the equivalent resistance of the plurality of parallel resistors of the power resistor chamber.