The utility model content
The technical problems to be solved in the utility model is to overcome the deficiency that above-mentioned prior art exists, and proposes a kind of ammeter and power supply management circuit thereof, so that the power-supply system in the ammeter is more reliable, electric energy loss is littler, and the life-span of stand-by power supply is longer.
The technical scheme that the utility model proposes at above-mentioned technical problem comprises, a kind of power supply management circuit of ammeter is proposed, be connected between power supply and the power circuit, this power circuit comprises microprocessor and the peripheral circuit that links to each other with this microprocessor, this power supply comprises main power source, super capacitor and at least one battery, this super capacitor is to link to each other with this main power source chargeablely, this power circuit comprises microprocessor, this power supply management circuit comprises the microprocessor power supply unit, the main power source detecting unit, battery detection unit and peripheral power supply control unit, this microprocessor power supply unit input and this main power source, super capacitor and at least one battery all link to each other, first output links to each other with the power supply supply side of this microprocessor, the input of this main power source detecting unit links to each other with this main power source, output links to each other with the first input end mouth of this microprocessor, the input of this battery detection unit links to each other with this at least one battery, output links to each other with second input port of this microprocessor, and this peripheral power supply control unit links to each other with first output port of this microprocessor and determines whether and how first output of this microprocessor power supply unit is communicated with the power supply supply side of this peripheral circuit according to the signal of this first output port.
This peripheral power supply control unit is the controlled switch of three ends, one end of this controlled switch links to each other with first output of this microprocessor power supply unit, the other end links to each other with the power supply supply side of this peripheral circuit and control end links to each other with first output port of this microprocessor, and this controlled switch is in conducting state and is in controlled on off operating mode when the improper power supply of this main power source when this main power source normal power supply.
Comprise the clock reserve battery in this at least one battery, this power circuit comprises the real time clock circuit that links to each other with this microprocessor, this power supply management circuit also comprises the real-time clock power supply unit, second output of the input of this real-time clock power supply unit and this microprocessor power supply unit and this clock reserve battery all links to each other, output links to each other with the power supply supply side of this real time clock circuit.
This main power source, super capacitor and at least one battery are isolated mutually by isolating device each other, the output that first output of this microprocessor power supply unit and second output are isolated mutually corresponding to the two-way of this main power source, super capacitor and at least one battery.
This clock reserve battery is to be connected in series the controlled switch of often opening and optionally to come into operation.
Comprise outside replaceable reserve battery in this at least one battery.
Also comprise internal backup battery in this at least one battery, this internal backup battery and outside replaceable reserve battery are to isolate mutually and parallel connection.
This internal backup battery is to be connected in series the controlled switch of often opening and optionally to come into operation.
This main power source is directly or via an isolating device to link to each other with the input of this main power source detecting unit.
The technical scheme that the utility model proposes at above-mentioned technical problem comprises that also propose a kind of ammeter, it comprises above-mentioned power supply management circuit.
Compared with prior art, ammeter of the present utility model and power supply management circuit thereof can improve the reliability of power supply by automaticallying switch various power supplies, and can efficient, energy-conservation ground managing electrical power, the useful life of prolongation stand-by power supply.
Embodiment
Below in conjunction with accompanying drawing, the utility model is given elaboration further.
As attached illustrated in figures 1 and 2, the circuit structure of ammeter of the present utility model roughly comprises:power supply 1,power circuit 3 and be connected powersupply management circuit 2 between the two.Being provided with of this powersupply management circuit 2 can be carried out the unified management distribution to the output of different power supplies, in conjunction with the automatic control of microprocessor, realizes having the energy-efficient use of power supply.
Power supply 1 comprisesmain power source 11,super capacitor 12, internal backup battery 13, outside replaceable reserve battery 14 and clock reserve battery 15, and thissuper capacitor 12 is to link to each other with thismain power source 11 chargeablely.
Power circuit 3 comprisesmicroprocessor 31,peripheral circuit 32 and realtime clock circuit 33.
Powersupply management circuit 2 comprises microprocessor power supply unit 21, main powersource detecting unit 22,battery detection unit 23, peripheral powersupply control unit 24 and real-time clock power supply unit 25.This microprocessor power supply unit 21 inputs and thismain power source 11,super capacitor 12, internal backup battery 13 all links to each other with outside replaceable reserve battery 14, and first output links to each other with the power supply supply side of thismicroprocessor 31, the input of main powersource detecting unit 22 links to each other with thismain power source 11, output links to each other with the first input end mouth of thismicroprocessor 31, the input of thisbattery detection unit 23 all links to each other with outside replaceable reserve battery 14 with internal backup battery 13, output links to each other with second input port of thismicroprocessor 31, and this peripheral powersupply control unit 24 links to each other with first output port of thismicroprocessor 31 and determines whether and how first output of this microprocessor power supply unit 21 is communicated with the power supply supply side of thisperipheral circuit 32 according to the signal of this first output port.Second output of the input of this real-time clockpower supply unit 25 and this microprocessor power supply unit 21 and this clock reserve battery 15 all links to each other, output links to each other with the power supply supply side of this realtime clock circuit 33.
Under the normal condition,main power source 11 is the Circuits System power supply of whole ammeter, simultaneouslysuper capacitor 12 is charged.Aftermain power source 11 power down, system automatically switches tosuper capacitor 12 power supplies,super capacitor 12 is first stand-by power supply of Circuits System, and this moment, main powersource detecting unit 22 was notifiedmicroprocessor 31 with power down information, andmicroprocessor 31 enters low-power consumption mode after finishing corresponding operation.Voltage detecting circuit 23 detects the undervoltage condition of two batteries 13,14 simultaneously, so that in time notifymicroprocessor 31 to provide alarm.Super capacitor 12 is merely able to the ammeter work of keeping of short-term, when the voltage ofsuper capacitor 12 drops to when being equal to or less than internal backup battery 13 or outside replaceable battery 14 voltages, Circuits System comes into operation battery automatically, makesuper capacitor 12 and battery 13 or 14 provide power supply for Circuits System work simultaneously, fully usesuper capacitor 12, the purpose that as far as possible prolongs the useful life of battery 13 or 14 after reaching 11 power down of short-term main power source.Internal backup battery 13 and outside replaceable reserve battery 14 all provide power supply for the Circuits System of ammeter, both are relations in parallel,battery detection circuit 23 provides alarm whensuper capacitor 12 and internal backup battery 13 electric weight use up, user installation outer replaceable reserve batteries 14 such as notice Utilities Electric Co., this moment becomessuper capacitor 12 and battery 14 provides stand-by power supply for Circuits System simultaneously.Testing circuit 23 provides the alert notification user once more and changes external cell 14 whenelectric capacity 12 and battery 14 electric weight use up, and so circulation guarantees to have sufficient stand-by power supply to keep system's operate as normal.
Under power-down mode, only givemicroprocessor 31 power supplies by the back-up source thatsuper capacitor 12 and battery 13,14 constitute, has only themicroprocessor 31 of working as by corresponding mode, Event triggered such as arrive such as: timing, just control the voltage that peripheral powersupply control unit 24 is givenperipheral circuit 32 power supplies and detected battery 13,14 after waking up, after finishing relevant operation, the power supply of turn-offingperipheral circuit 32 again by peripheral powersupply control unit 24, return low-power consumption mode, to save the electric quantity consumption of stand-by power supply to greatest extent.
In thesepower circuits 3, the power supply of realtime clock circuit 33 is limit priorities,main power source 11, battery 13,14,15 andsuper capacitor 12 all provide electric energy for realtime clock circuit 33, but clock reserve battery 15 is power source specials of realtime clock circuit 33, do not give other circuit supplies, can not lose to guarantee clock information to greatest extent.Under the normal condition, bymain power source 11 power supplies, earlier bysuper capacitor 12 power supplies, then battery 13 or 14 is powered after the power down; When if battery 13,14 is powered simultaneously, the power supply earlier that voltage is high after battery 13,14 voltages are lower than battery 15 voltages, gives realtime clock circuit 33 power supplies by clock reserve battery 15, guarantees not losing of clock data.Above power supply order can not needmicroprocessor 31 to intervene and the automatic steady switching, reliably and with long-term.
Fig. 3 shows the circuit theory of powersupply management circuit 2 of the present utility model.Wherein, main power source Vin, super capacitor are FC1, and internal backup battery is BAT1, and outside replaceable reserve battery is BAT2, and the clock reserve battery is BAT3.Main power source Vin separates the output of two-way power supply through isolating device D1, one tunnel output is by 2 pairs of super capacitor FC1 chargings of resistance R and supply with the circuit that needs work under the power-down mode, another road VCC supplies with the circuit that does not need work under the power-down mode,resistance R 2 can limit the control charging current, makes super capacitor FC1 discharging efficiency higher simultaneously.Circuit U 1 andresistance R 1 are finished at main power source Vin and are dropped to detection valve voltage notice microprocessor, to realize the main power source measuring ability.Isolating device D1, D2, D3, D4, D5 and D6 realize the isolation between each power supply, prevent to charge mutually between power supply, disturb.PMOS pipe Q1 andresistance R 3 constitute the peripheral power supply control circuits, and the control signal that provides by microprocessor can realize the switching function of peripheral power supply.
Need to prove, in order to improve the useful life of internal backup battery 13 and clock reserve battery 15, whether these two batteries 13,15 come into operation is controlled, and just the output string at battery 13,15 is provided with controlled switch, and switch is connected across between its output place and the power circuit.
Compared with prior art, the beneficial effect of ammeter of the present utility model and power supply management circuit thereof comprises: the various power supplies that automatically switch provide the reliability of power supply; Efficiently, energy-conservation ground managing electrical power, prolong useful life of stand-by power supply; Circuit is simple, practicality, and cost is lower; Be subjected to factor affecting such as ambient temperature little, working stability.
Foregoing; it only is preferred embodiment of the present utility model; be not to be used to limit embodiment of the present utility model; those of ordinary skills are according to main design of the present utility model and spirit; can carry out corresponding flexible or modification very easily; such as: with first isolation between main power source Vin and detection of power loss among Fig. 2; just a diode among the isolating device D1 removes among Fig. 3; with the direct short circuit of the input of main power source Vin and detection of power loss, so protection range of the present utility model should be as the criterion with the desired protection range of claims.