Patent ID: 7465872

Claim:
A photovoltaic power converter system comprising: a photovoltaic array; an inverter electrically coupled to said photovoltaic array to inject an output current to a mains grid supply voltage; and a controller including a first circuit coupled to receive a load current and separate out a harmonic component from the load current to measure a load harmonic current; a second circuit for determining an amplitude of an injectable current available from the photovoltaic array to generate a fundamental sinusoidal current reference that is phased locked with the mains grid supply voltage; and a third circuit for combining the load harmonic current and the fundamental sinusoidal current reference to generate a command output signal, wherein the controller is configured to generate an error signal based on a difference between the command output signal and the output current, and wherein the controller is configured to process the error signal and to generate a switching signal for actuating a switching gate of said inverter to compensate for the load harmonic current when said inverter injects the output current to the mains grid supply voltage.