Abstract: A power inverter formed by several transformers having their secondary windings wired in series and their primary windings connected to respective switching bridges. The turns ratios of each of the primary windings vary from each other by a factor of 3 to provide good voltage resolution over a wide dynamic range. The switching bridges are controlled by a decoder and timing circuit which is, in turn, controlled by a microprocessor. The microprocessor closes the switches in the switching bridges in up to 27 different combinations to produce 27 different output voltages, thereby generating a relatively accurate replica of a sine wave. Voltage regulation is accomplished by sampling the A.C. voltage, comparing the magnitude of the A.C. voltage to a reference voltage, and adjusting the selection of output voltage values so that the A.C. voltage matches the reference voltage. The switching bridge may also be controlled to convert an A.C. voltage applied to the transformer secondaries to a D.C.