Battery power storage module with chip of micro-computer, portable computer
Technical field
The invention belongs to applying electronic field, and in particular to have the battery power storage module, portable of chip of micro-computer
Formula computer.
Background technology
The operating self-test immediately of circuit has huge meaning, prior art for the appearance for preventing circuit safety problem
The instant testing method for the diode not being connected to negative pole with power supply high-pressure stage, that is to say, that when a diode positive pole with
If diode is opened a way suddenly in the case that power supply high-pressure stage is connected(Due to puncturing, burning), then circuit is difficult to by certainly
Inspection circuit or program are immediately detected, and this is a huge trouble for detection circuit malfunction immediately;
It can prevent electric current is excessive to cause cell damage single battery increase fuse in the electric power storage module of power supply, still
Fuse fracture after battery can not continue discharge and recharge compromise the connivance amount of battery pack, it is necessary to pick maintenance, replacing battery, typically
In the case of battery in battery pack to pick maintenance, change be that integrally to be repaired in battery pack carried out, it is necessary to whole to battery pack
Body carries out stage casing, and this is unfavorable for needing the system of the caching electric energy of continuous service.
Portable computer generally requires the electric energy of needs when power storage module carrys out storage circuit to meet mobile use.
The content of the invention
To solve the problems, such as to describe in technical background, the present invention proposes the battery electric power storage mould with chip of micro-computer
Block, portable computer.
The present invention has following technology contents.
1st, there is the battery power storage module of chip of micro-computer, it is characterised in that:Include input node(IN1), output
Node(IN2), fuse(LF), second resistance(R2), first resistor(R1), the first electric capacity(C1), the first inductance(L1), first
Diode(D1), the second electric capacity(C2), the second diode(D2), the 3rd diode(D3), No. zero sampling resistor(R20), No. one
Sampling resistor(R21), switch(K1), chargeable battery(BAT), power supply place(GND1), single-chip microcomputer(PIC12F510), bootstrapping section
Point(P), sampling node(S), optocoupler(OC1);
First diode(D1)Positive pole and input node(IN1)It is connected, the first diode(D1)Negative pole via insurance
Silk is connected to chargeable battery(BAT)Positive pole;
Second diode(D2)Negative pole and output node(IN2)It is connected, the second diode(D2)Positive pole and the one or two
Pole pipe(D1)Negative pole be connected;
3rd diode(D3)Negative pole and chargeable battery(BAT)Positive pole be connected, the 3rd diode(D3)Positive pole with
Bootstrapping node(P)It is connected;
Optocoupler(OC1)Transmitting terminal positive pole and the first diode(D1)Negative pole be connected, optocoupler(OC1)Transmitting terminal
Negative pole is via second resistance(R2)It is connected to bootstrapping node(P), optocoupler(OC1)Receiving terminal positive pole and single-chip microcomputer
(PIC12F510)The IO pin that can be arranged to output mode(GP5)It is connected, optocoupler(OC1)Receiving terminal negative pole and power supply
Place(GND1)It is connected;
Switch(K1)Switching channels there are a ends, the two connection ends of b ends, switch(K1)The a ends of switching channels pass through
First inductance(L1)It is connected to bootstrapping node(P), switch(K1)Switching channels b ends and power supply place(GND1)It is connected, opens
Close(K1)Control terminal and single-chip microcomputer(PIC12F510)An IO pin be connected, switch(K1)Switching channels on off operating mode
By single-chip microcomputer(PIC12F510)Control;Switch(K1)Shut-off and the conducting state of switching channels can be by single-chip microcomputer
(PIC12F510)Controlled, the 3rd diode(D3)In the case of disconnection, switch(K1)Switching channels shut-off with conducting shape
The inductance of handover trigger first of state(L1)Self inductance effect promote boot node(P)Voltage increase can be higher than dc source
(BAT)High-pressure stage magnitude of voltage and the 3rd diode(D3)Turn-on voltage and and continue for a long time, the three or two pole
Pipe(D3)Due to the 3rd diode if normal(D3)Discharge process cause boot node(P)Voltage be higher than dc source
(BAT)High-pressure stage magnitude of voltage and the 3rd diode(D3)Time of sum of turn-on voltage can be very short, delay one is small
Section time bootstrapping node(P)Magnitude of voltage will drop to close to dc source(BAT)High-pressure stage magnitude of voltage and the three or two pole
Pipe(D3)Turn-on voltage sum value, therefore this circuit can voluntarily judge three diodes in circuit(D3)Whether open a way
Situation;Switch(K1)Default conditions for disconnect;
Sampling node(S)With single-chip microcomputer(PIC12F510)One can be arranged to high-impedance state and the IO pin of sampling configuration
It is connected;
No. zero sampling resistor(R20)One end with bootstrapping node(P)It is connected, No. zero sampling resistor(R20)Another end
With sampling node(S)It is connected;
No. one sampling resistor(R21)One end and sampling node(S)It is connected, No. one sampling resistor(R20)Another
End and single-chip microcomputer(PIC12F510)One can be arranged to output mode and be connected with the IO pin of high-impedance state, the IO pin are used to control
Make No. one sampling resistor(R21)Grounding, the IO pin be arranged to output mode and be arranged to export low potential when boot
Node(P)Voltage drive electric current to flow through No. zero sampling resistor successively(R20), No. one sampling resistor(R21)So that monolithic
Machine(PIC12F510)Can be from sampling node(S)Take sampling node(S)Voltage data and calculate bootstrapping node real-time electricity
Pressure value;No. one sampling resistor when need not sample(R20)Another end and single-chip microcomputer(PIC12F510)IO pin be connected can set
It is set to high-impedance state and reduces power loss;
Single-chip microcomputer(PIC12F510)Supply pin and chargeable battery(BAT)Positive pole be connected, single-chip microcomputer(PIC12F510)
Grounding leg and power supply place(GND1)It is connected;
Second electric capacity(C2)Two end respectively with single-chip microcomputer(PIC12F510)Grounding leg be connected with supply pin, play
The effect of filtering;
Power supply place(GND1)With chargeable battery(BAT)Negative pole be connected.
2nd, the battery power storage module with chip of micro-computer as described in technology contents 1, it is characterised in that:Also include
First resistor(R1), the first electric capacity(C1);First electric capacity(C1)One end with bootstrapping node(P)It is connected, the first electric capacity(C1)
Another end via first resistor(R1)It is connected to switch(K1)Switching channels a ends.
3rd, the battery power storage module with chip of micro-computer as described in technology contents 1, it is characterised in that:Also include
First voltage-stabiliser tube(ZD1);First voltage-stabiliser tube(ZD1)Correctly it is arranged on bootstrapping node(P)With power supply place(GND1)Between protect
Card bootstrapping node(P)Voltage will not it is too high in case damage circuit, the first voltage-stabiliser tube(ZD1)Voltage stabilizing value be more than dc source
(BAT)High-pressure stage and low pressure pole voltage difference, the first voltage-stabiliser tube(ZD1)Voltage stabilizing value be less than dc source(BAT)Height
Press pole and the voltage difference of low pressure pole two times.
4th, the battery power storage module with chip of micro-computer as described in technology contents 1, it is characterised in that:Also include
Second voltage-stabiliser tube(ZD2);Second voltage-stabiliser tube(ZD2)Correctly it is arranged on single-chip microcomputer(PIC12F510)Supply pin and grounding leg
Between play protection single-chip microcomputer(PIC12F510)Effect.
5th, the battery power storage module with chip of micro-computer as described in technology contents 1, it is characterised in that:Also include
LED lamp bead, the light on and off of LED lamp bead are by single-chip microcomputer(PIC12F510)Control, for indicate with chip of micro-computer electricity
Position where the power storage module of pond, convenient use person find problem battery position so as to be convenient for changing.
6th, the battery power storage module with chip of micro-computer as described in technology contents 1, it is characterised in that:Also include
Communication module(TXMK), single-chip microcomputer(PIC12F510)Communication module can be passed through(TXMK)With external device communication.
7th, the battery power storage module with chip of micro-computer as described in technology contents 1, it is characterised in that:It is chargeable
Pond(BAT)For chargeable fuel cell.
8th, the battery power storage module with chip of micro-computer as described in technology contents 1, it is characterised in that:Fuse
(LF)For Thermal Cutoffs, fuse(LF)With chargeable battery(BAT)Between there are temperature transmission channels, work as chargeable battery
(BAT)Temperature exceed fuse(LF)Fusing-off temperature when fuse(LF)Fusing, prevents chargeable battery(BAT)The feelings of overheat
Continue to discharge under condition and charge.
9th, the battery power storage module with chip of micro-computer as described in technology contents 1, it is characterised in that:Single-chip microcomputer
(PIC12F510)In there is optocoupler detection program, its step includes:
(1), will be with optocoupler(OC1)Receiving terminal the connected single-chip microcomputer of positive pole(PIC12F510)Can be arranged to defeated
The IO pin of exit pattern(GP5)It is arranged to output mode and is arranged to export high potential;
(2), read will be with optocoupler(OC1)Receiving terminal the connected single-chip microcomputer of positive pole(PIC12F510)Can set
For the IO pin of output mode(GP5)Current potential;If the value of the current potential read is high potential, illustrate that optocoupler normally enters in next step
Suddenly;If the value of the current potential read is low potential, illustrate optocoupler exception or fuse fracture, program, which returns, represents ' test
Failure ' value and terminate optocoupler detection program;
(3), closure switch(K1);
(4), delay, eliminate inductance(L1)Self inductance effect;
(5), read will be with optocoupler(OC1)Receiving terminal the connected single-chip microcomputer of positive pole(PIC12F510)Can set
For the IO pin of output mode(GP5)Current potential;If the value of the current potential read is low potential, illustrate that optocoupler is normal, program is entered
Enter next step, then illustrate optocoupler exception, program returns to the value for representing ' optocoupler is abnormal ' and terminates optocoupler detection program;
(6), will be with optocoupler(OC1)Receiving terminal the connected single-chip microcomputer of positive pole(PIC12F510)Can be arranged to defeated
The IO pin of exit pattern(GP5)It is arranged to high-impedance state;Reduce power loss;
(7), program return represent ' optocoupler is normal ' value and terminate optocoupler detection program.
10th, portable computer, it is characterised in that:Include the technical side described in any technology contents in technology contents 1-9
Case.
Technology contents illustrate and its advantage.
Principle:Single-chip microcomputer passes through sampling module(CYMK)Obtain bootstrap module(ZJMK)Start the bootstrapping end after bootstrapping function
Magnitude of voltage, and subtract ' dc source using the magnitude of voltage of acquisition(BAT)High-pressure stage magnitude of voltage and the 3rd diode(D3)
Turn-on voltage sum ' difference may determine that the 3rd diode(D3)Whether open a way;This circuit is in fuse circuit breaking and has
In the case of power input, optocoupler(OC1)Transmitting terminal can make optocoupler(OC1)Reception receiving end connect, make single-chip microcomputer
(PIC12F510)The open circuit of fuse can be monitored, and the battery power storage module with chip of micro-computer can be changed in real time
Operation without influenceing other battery power storage modules with chip of micro-computer.
Refer to single-chip microcomputer with chip of micro-computer.
Cost of the present invention is cheap, using it is flexible, service life is long, be hardly damaged, it is reliable and stable, can be transported in dc source
It whether there is in the case of row using the power test ' diode that positive pole is connected with the high-pressure stage of dc source ' of dc source
Open circuit, the open circuit that can reliably detect fuse by bypassing in real time.
Brief description of the drawings
Fig. 1 is the schematic diagram of embodiment 1.
Example is embodied
Below in conjunction with embodiment, the present invention will be described.
Embodiment 1, as shown in figure 1, the battery power storage module with chip of micro-computer, it is characterised in that:Comprising
Input node IN1, output node IN2, fuse LF, second resistance R2, first resistor R1, the first electric capacity C1, the first inductance L1,
First diode D1, the second electric capacity C2, the second diode D2, the 3rd diode D3, No. zero sampling resistor R20, No. one sampling electricity
Hinder R21, switch K1, chargeable battery BAT, power supply place GND1, single-chip microcomputer PIC12F510, bootstrapping node P, sampling node S;
First diode D1 positive pole is connected with input node IN1, and the first diode D1 negative pole connects via fuse
To chargeable battery BAT positive pole;
Second diode D2 negative pole is connected with output node IN2, the second diode D2 positive pole and the first diode D1
Negative pole be connected;
3rd diode D3 negative pole is connected with chargeable battery BAT positive pole, and the 3rd diode D3 positive pole and bootstrapping save
Point P is connected;
The positive pole of optocoupler OC1 transmitting terminal is connected with the first diode D1 negative pole, the negative pole warp of optocoupler OC1 transmitting terminal
Bootstrapping node P, the positive pole of optocoupler OC1 receiving terminal and can setting for single-chip microcomputer PIC12F510 are connected to by second resistance R2
It is connected for the IO pin GP5 of output mode, the negative pole of optocoupler OC1 receiving terminal is connected with power supply place GND1;
Switch K1 switching channels have a ends, the two connection ends of b ends, switch the K1 a ends of switching channels by first
Inductance L1 is connected to bootstrapping node P, and the b ends for switching K1 switching channels are connected with power supply place GND1, switch K1 control terminal
It is connected with a single-chip microcomputer PIC12F510 IO pin, switchs the K1 on off operating mode of switching channels by single-chip microcomputer PIC12F510's
Control;The shut-off for switching K1 switching channels can be controlled with conducting state by single-chip microcomputer PIC12F510, the 3rd diode D3
In the case of disconnection, the self inductance effect for switching the shut-off of K1 switching channels and the first inductance of handover trigger L1 of conducting state promotees
Allow the conducting of the magnitude of voltage and the 3rd diode D3 of bootstrapping node P high-pressure stage of the voltage increase higher than dc source BAT
Magnitude of voltage and and continue for a long time, the 3rd diode D3 is if normal because the 3rd diode D3 discharge process causes
Boot node P the magnitude of voltage of high-pressure stage of the voltage higher than dc source BAT and the turn-on voltage of the 3rd diode D3 and
Time can be very short, the high-pressure stage close to dc source BAT will be dropped to by postponing a bit of time bootstrapping node P magnitude of voltage
Magnitude of voltage and the 3rd diode D3 turn-on voltage and value, therefore this circuit can be voluntarily judged three or two in circuit
Pole pipe D3 open circuit situation;The default conditions for switching K1 are disconnection;
Sampling node S is connected with a single-chip microcomputer PIC12F510 IO pin that can be arranged to high-impedance state and sampling configuration;
No. zero sampling resistor R20 one end is connected with bootstrapping node P, No. zero sampling resistor R20 another end and sampling
Node S-phase connects;
One of No. one sampling resistor R21 end connects with sampling node S-phase, No. one sampling resistor R20 another end and list
One of piece machine PIC12F510 can be arranged to output mode and be connected with the IO pin of high-impedance state, and the IO pin are used for control one and adopted
Sample resistance R21 Grounding, the IO pin are arranged to output mode and node P voltage of being booted when being arranged to export low potential
Electric current is driven to flow through No. zero sampling resistor R20, No. one sampling resistor R21 successively so that single-chip microcomputer PIC12F510 can be from
Sampling node S takes sampling node S voltage data and calculates the real-time voltage value of bootstrapping node;No. one sampling when need not sample
Resistance R20 another end is connected with single-chip microcomputer PIC12F510 IO pin could be arranged to high-impedance state reduction power loss;
Single-chip microcomputer PIC12F510 supply pin is connected with chargeable battery BAT positive pole, single-chip microcomputer PIC12F510 ground connection
Pin is connected with power supply place GND1;
Second electric capacity C2 two ends are connected with single-chip microcomputer PIC12F510 grounding leg and supply pin respectively, play filtering
Effect;
Power supply place GND1 is connected with chargeable battery BAT negative pole.
Also include first resistor R1, the first electric capacity C1;A first electric capacity C1 end is connected with bootstrapping node P, the first electricity
Another end for holding C1 is connected to a ends for the switching channels for switching K1 via first resistor R1.
Also include the first voltage-stabiliser tube ZD1;First voltage-stabiliser tube ZD1 is correctly arranged on bootstrapping node P and power supply place GND1
Between ensure that bootstrapping node P voltage will not be too high in order to avoid damage circuit, the first voltage-stabiliser tube ZD1 voltage stabilizing value are more than dc source
BAT high-pressure stage and the voltage difference of low pressure pole, the high-pressure stage of the first voltage-stabiliser tube ZD1 voltage stabilizing value less than dc source BAT with
Two times of the voltage difference of low pressure pole.
Also include the second voltage-stabiliser tube ZD2;Second voltage-stabiliser tube ZD2 is correctly arranged on single-chip microcomputer PIC12F510 supply pin
Play a part of protecting single-chip microcomputer PIC12F510 between grounding leg.
Also include LED lamp bead, the light on and off of LED lamp bead are controlled by single-chip microcomputer PIC12F510, for indicating there is microcomputer
The position where the battery power storage module of movement piece is calculated, convenient use person finds problem battery position so as to be convenient for changing.
Also include communication module TXMK, single-chip microcomputer PIC12F510 can pass through communication module TXMK and external device communication.
Chargeable battery BAT is chargeable fuel cell.
Fuse LF is Thermal Cutoffs, has temperature transmission channels between fuse LF and chargeable battery BAT, when can fill
Fuse LF fusing when battery BAT temperature exceedes fuse LF fusing-off temperature, in the case of preventing that chargeable battery BAT from overheating
Continue to discharge and charge.
There is optocoupler detection program, its step includes in single-chip microcomputer PIC12F510:
1st, single-chip microcomputer PIC12F510 that the positive pole of the receiving terminal with optocoupler OC1 is connected can be arranged to output mode
IO pin GP5 be arranged to output mode and be arranged to export high potential;
2nd, reading can be arranged to export by single-chip microcomputer PIC12F510 that the positive pole of the receiving terminal with optocoupler OC1 is connected
The IO pin GP5 of pattern current potential;If the value of the current potential read is high potential, illustrate that optocoupler normally enters next step;If
The value of the current potential of reading is low potential, then illustrates optocoupler exception or fuse fracture, and program, which returns, represents that ' test crash disappears
Breath ' value and terminate optocoupler detection program;
3rd, closure switch K1;
4th, postpone, eliminate inductance L1 self inductance effect;
5th, reading can be arranged to export by single-chip microcomputer PIC12F510 that the positive pole of the receiving terminal with optocoupler OC1 is connected
The IO pin GP5 of pattern current potential;If the value of the current potential read is low potential, illustrate that optocoupler is normal, program enters in next step
Suddenly, then optocoupler exception is illustrated, program returns to the value for representing ' optocoupler is abnormal ' and terminates optocoupler detection program;
6th, single-chip microcomputer PIC12F510 that the positive pole of the receiving terminal with optocoupler OC1 is connected can be arranged to output mode
IO pin GP5 be arranged to high-impedance state;Reduce power loss;
7th, program returns to the value for representing ' optocoupler is normal ' and terminates optocoupler detection program.
Embodiment 2, portable computer, it is characterised in that:With shown in real-time example 1 with microcomputer core
The battery power storage module of piece.
Described in the application ' user ' can be that the mankind can also be automation equipment such as computer, machinery system
System, the computer system of automatic control, artificial intelligence system etc..
The unknown place of this explanation is prior art or common knowledge, therefore is not repeated.