A power supply circuit is disclosed herein comprising a load current path
for connecting a load which has a switching element. The power supply
circuit also includes a current sensor for providing a current
measurement signal dependent on a current through the load current path.
A drive circuit is also included which provides a clocked drive signal
with a number of drive cycles, in each case having an on period and an
off period, for the switching element. A temperature sensor arrangement
with a temperature sensor is provided for determining an environmental
temperature in the area of the temperature sensor, which provides a
temperature measurement signal dependent on the environmental
temperature. The clocked drive signal is dependent on the current
measurement signal and the temperature measurement signal.