A device for power factor correction in a forced switching power supply
unit is provided. The device includes a converter and a control device
coupled to the converter so as to obtain from an input alternating mains
voltage a direct regulated voltage on the output terminal. The converter
includes a power transistor, and the control device includes an error
amplifier having its inverting terminal coupled to a first signal that is
proportional to the regulated voltage and its non-inverting terminal
coupled to a reference voltage. A drive circuit of the power transistor
is coupled to the output terminal of the error amplifier. The control
device also includes a circuit for generating a current signal that is
representative of the effective input voltage. The current signal is
coupled to the inverting terminal of the error amplifier to vary the
regulated voltage in reply to variations in the effective input voltage.