A power supply includes a power supply unit having an input end for receiving
an
oscillating voltage, and an output end for outputting a steady state voltage from
the oscillating voltage according to a feedback signal, and a control circuit having
a micro-controller having a first input port for receiving a measuring signal from
a load, and decision logic for generating a control voltage according to the measuring
signal, and a feedback controller having a first input end electrically connected
to the output end of the power supply for receiving the steady state voltage, a
second input end electrically connected to the micro-controller for receiving the
control voltage from the micro-controller, and a output end for outputting the
feedback signal according to the control voltage and the steady state voltage.