Patent ID: 7737662

Claim:
A power system coupled to at least one battery, comprising: a switching circuit coupled to the at least one battery; a sensing circuit for sensing a temperature of the at least one battery and generating a signal based on the temperature; and a power management unit being capable of monitoring a voltage and a current of the at least one battery, receiving the signal from the sensing circuit and switching off the switching circuit when an abnormal condition is sensed by the power management unit, wherein the power management unit further comprising a reference voltage generator, the reference voltage generator comprises: a trim translation unit receiving a voltage from an external source and generating a plurality of signals, wherein the trim translation unit further comprises: a first flip-flop receiving a voltage of the external source and outputting a signal; a second flip-flop receiving the signal from the first flip-flop and generating a signal of the plurality of signals; a third flip-flop receiving the signal from the first flip-flop and outputting a signal; a selector receiving the signal from the third flip-flop and generating a signal of the plurality of signals; a fourth flip-flop receiving a control signal and generating a signal of the plurality of signals; a fifth flip-flop receiving the signal from the fourth flip-flop and outputting a signal; and a sixth flip-flop receiving the signal from the fifth flip-flop and generating a signal of the plurality of signals.