A system may include a PWM generator and control logic. The PWM generator is
configured
to generate a PWM signal having a duty cycle dependent on a duty cycle value generated
by the control logic. The control logic is configured to generate the duty cycle
value to have a piecewise linear relationship with temperature such that at least
two of a plurality of linear segments defined by the piecewise linear relationship
have different slopes. In some embodiments, the piecewise linear relationship may
be continuous.