A device that includes an active rectifier (14) having control gates
controllable to produce an output voltage on a DC bus (20), a gate
control circuit (16) for producing gate control signals for controlling
the active rectifier control gates, a first circuit (18) connected to the
gate control circuit (16) and producing a command current magnitude
signal and a power factor signal for use by the gate control circuit
(16), a current line (30) providing a current related to the DC load
current to the first circuit (16), and a voltage line (32) providing a
voltage related to the DC bus voltage to the first circuit (16), the
first circuit (16) including a peak detector (64) detecting current peaks
on the DC bus (20), a command current magnitude signal generator (34)
commanding a current as a function of the detected peaks, and a power
factor controller (33, 40) varying the power factor signal (42) to
control the voltage on the DC bus (20). Also a method of controlling
voltage on a DC bus (20) based on peak current detected on the bus.