Patent ID: 8634216

Claim:
A power inverter comprising: a bridge circuit configured to convert an output voltage of a direct-current (DC) power source to an alternating-current (AC) output voltage having an output frequency; a transformer having a primary side winding and a secondary side winding magnetically coupled to one another, wherein the primary side winding is configured to receive the AC output voltage; and a first controller having a processor and a memory, wherein the processor is configured to: determine at least one operating condition of the DC power source using a voltage or a current sensed at the DC power source; and control the output frequency of the AC output voltage in response to the at least one operating condition, wherein the first controller includes an encoding module to select the output frequency based on the sensed voltage or the sensed current and, wherein the encoding module rounds a value for the sensed voltage or the sensed current to select the output frequency.