A power supply comprising a switching converter capable of being controlled by
a control signal to provide a desired output from a DC input voltage, an analog
to digital converter receiving as analog inputs a gate drive voltage of at least
one switch of the switching converter, a temperature related measurement of the
switching converter, the DC input voltage and an output current of the switching
converter and converting the analog inputs to digital input signals, a digital
processor receiving the digital input signals and generating the control signal
to drive at least one switch of the switching converter to drive the output of
the switching converter to the desired output and a memory storing data relating
the digital input signals to the desired output of the switching converter and
providing to the digital processor a memory output signal to enable the processor
to generate the control signal to drive the at least one switch to provide the
desired output from the switching converter.