through a sense element with a first temperature coefficient and a current sense circuit for generating a current sense signal related to the first temperature coefficient by sensing the inductor current from the sense element a temperature compensation device and method determines a second temperature coefficient according to the first temperature coefficient and temperature variation and produces a compensation signal with the second temperature coefficient to compensate variations in the current sense signal caused by the first temperature coefficient application_number US 22958705 A description according to the present invention fig3 schematically shows a voltage regulator 300 in which control circuit 302 comprises error amplifier 310 in response to the output voltage vo of the regulator 300 and reference voltage vref to produce error signal ea for pwm comparator 312 to compare with ramp signal vramp to thereby generate pwm signal and with the pwm signal driver 304 switches transistors 306 and 308 coupled in series between input voltage vin and ground gnd to produce inductor current il flowing through inductor l to charge output capacitor co to generate the output voltage vo according to the voltage drop across current sense resistor rs that is coupled to the inductor l transconductive amplifier 324 serving as current sense circuit generates current sense signal ix 1 supplied to temperature compensation device.