Summary of the invention
The utility model provides a kind of battery charger, to solve the easily anti-inserted problem of end cell in prior art.
The utility model provides a kind of battery charger, comprising:
By the positive pole of battery and light-emitting diode D
6negative pole connects, described light-emitting diode D
6positive pole and current-limiting resistance R
8one end connect, described current-limiting resistance R
8the other end be connected to ground;
The negative pole of described battery is connected to ground.
When battery is anti-inserted, D
6negative pole electromotive force lower than positive electrode potential, described light-emitting diode D
6conducting is luminous.
Preferably, described light-emitting diode D
6positive terminal or described current-limiting resistance R
8be connected to the ground the side connect, be connected with single-chip microcomputer;
When battery is anti-inserted, described microprocessor detect is to described light-emitting diode D
6on current, trigger buzzer carry out buzzing.
Preferably, described light-emitting diode D
6positive terminal or described current-limiting resistance R
8be connected to the ground the side connect, be connected with the collector electrode of optocoupler;
The emitter of described optocoupler respectively with the first divider resistance R
11with the second divider resistance R
13one end connect, the second divider resistance R
13the other end be connected to ground, the first divider resistance R
11the other end be connected with described single-chip microcomputer;
The base stage of described optocoupler is by the 3rd divider resistance R
14be connected with the positive pole of charge power supply.
Preferably, this circuit also comprises: electric capacity C
3with voltage-stabiliser tube ZD
2;
Electric capacity C
3with voltage-stabiliser tube ZD
2one end of positive pole is connected to ground respectively, electric capacity C
3with voltage-stabiliser tube ZD
2one end of negative pole respectively with the first divider resistance R
11one end and single-chip microcomputer connect.
Preferably, be also provided with in charge circuit: inductance L
1with electric capacity C
2, E
1, and light-emitting diode D
5;
The positive terminal of described battery also respectively with inductance L
1with electric capacity C
2, E
1one end connect, electric capacity C
2, E
1the other end all with light-emitting diode D
5one end connect, and electric capacity C
2, E
1the other end be also connected to ground simultaneously, described light-emitting diode D
5the other end and inductance L
1one end connect, when in charging process, charging current transient state is excessive, described light-emitting diode D
5conducting brightens.
The utility model beneficial effect is as follows:
The utility model passes through the positive pole of battery and light-emitting diode D
6negative pole connects, and by this light-emitting diode D
6positive pole and current-limiting resistance R
8connect, when battery is anti-inserted, D
6negative pole electromotive force lower than positive electrode potential, described light-emitting diode D
6conducting luminescence reminds user battery anti-inserted, thus efficiently solves the easily anti-inserted problem of end cell in prior art.
Embodiment
In order to solve the easily anti-inserted problem of end cell in prior art, the utility model provides a kind of battery charger, by by the positive pole of battery and light-emitting diode D
6negative pole connects, and by this light-emitting diode D
6positive pole and current-limiting resistance R
8connect, when battery is anti-inserted, light-emitting diode D
6luminous user's battery of reminding is anti-inserted.Below in conjunction with accompanying drawing and embodiment, the utility model is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the utility model, do not limit the utility model.
The utility model embodiment provides a kind of battery charger, see Fig. 1, comprising:
By the positive pole of battery and light-emitting diode D
6negative pole connects, described light-emitting diode D
6positive pole and current-limiting resistance R
8one end connect, described current-limiting resistance R
8the other end be connected to ground;
When battery is anti-inserted, D
6negative pole electromotive force lower than positive electrode potential, described light-emitting diode D6 conducting is luminous, namely when battery is anti-inserted, electric current from ground through described current-limiting resistance R
8enter described light-emitting diode D
6, described light-emitting diode D
6luminous.
The utility model passes through the positive pole of battery to be connected with light-emitting diode D6 negative pole, and by this light-emitting diode D
6positive pole be connected with current-limiting resistance R8, when battery is anti-inserted, electric current from ground through current-limiting resistance R
8enter light-emitting diode D
6, trigger light-emitting diode D
6luminescence, to remind user that battery is anti-inserted, thus efficiently solves the easily anti-inserted problem of end cell in prior art.
The utility model additionally provides following preferred embodiment, is specially, by described light-emitting diode D
6positive terminal, or described current-limiting resistance R
8be connected to the ground the side connect, be connected with single-chip microcomputer; When battery is anti-inserted, electric current from ground through described current-limiting resistance R
8enter described single-chip microcomputer, or electric current directly enters described single-chip microcomputer from ground, and trigger buzzer and carry out buzzing.
That is, the utility model is when anti-inserted, except by light-emitting diode D
6carry out luminous when reminding user's battery anti-inserted, also carry out buzzing remind user's battery anti-inserted simultaneously by triggering buzzer.
The annexation of the utility model inverse inserting-preventing circuit will be introduced in detail below:
Described light-emitting diode D
6positive terminal or described current-limiting resistance R
8be connected to the ground the side connect, be connected with the collector electrode of optocoupler;
The collector electrode of described optocoupler is by resistance R
14connect with fundamental voltage (fundamental voltage i.e. its charging circuit the charging voltage that is suitable for, fundamental voltage of the present utility model is 12V);
The emitter of described optocoupler respectively with the first divider resistance R
11with the second divider resistance R
13one end connect, the second divider resistance R
13the other end be connected to ground, the first divider resistance R
11the other end be connected with single-chip microcomputer.The effect of inverse inserting-preventing can well be played by foregoing circuit.
In order to ensure the stability of charging current, charging circuit of the present utility model is also provided with: electric capacity C
3with voltage-stabiliser tube ZD
2; Concrete, the utility model is by electric capacity C
3with voltage-stabiliser tube ZD
2one end of positive pole is connected to ground respectively, electric capacity C
3with voltage-stabiliser tube ZD
2one end of negative pole respectively with the first divider resistance R
11one end and single-chip microcomputer connect, the base stage of optocoupler is by the 3rd divider resistance R
14be connected with the positive pole of charge power supply.
By electric capacity C
3with voltage-stabiliser tube ZD
2effectively can ensure the current stabilization of inverse inserting-preventing circuit, thus improve the fail safe of inverse inserting-preventing circuit.
The battery charger of the utility model embodiment also comprises makes the stable circuit of charging voltage, concrete: the utility model passes through COM
3port is connected with the PWM port of single-chip microcomputer, Single-chip Controlling COM
3the frequency of the PWM port signal of port, makes triode N
3break-make is realized by control overflow, so the break-make of the switch of control triode P2, the final size controlling charging voltage.Can effectively ensure the steady of charging voltage by foregoing circuit, and then ensure that the stability of charging.
The inductance L that the utility model is provided with in described charge circuit
1with electric capacity C
2, E
1, and light-emitting diode D
5, and light-emitting diode D
5, described inductance L
1with described electric capacity C
2, E
1for preventing charging current transient state excessive in charging process, and when in charging process, charging current transient state is excessive, described light-emitting diode D
5brighten.
Concrete, the utility model by the positive terminal of battery also respectively with inductance L
1with electric capacity C
2, E
1one end connect, electric capacity C
2, E
1the other end all with light-emitting diode D
5one end connect, and electric capacity C
2, E
1the other end be also connected to ground simultaneously, described light-emitting diode D
5the other end and inductance L
1one end connect, when in charging process, charging current transient state is excessive, described light-emitting diode D
5conducting brightens.
It should be noted that, the utility model also can by the above-mentioned inductance L preventing charging current transient state excessive
1with electric capacity C
2, E
1be arranged on counterflow-preventing diode D
2and D
3between, specifically as shown in Figure 1.
The utility model also comprises: for the discharge circuit discharged;
This discharge circuit specifically comprises: if 12V electricity suddenly disappears or lower than lower limit threshold values, single-chip microcomputer responds, COM in electric power system
5mouth sets high, and battery begins through P
5power to control loop, and D
4, D
7serve the effect of counterflow-preventing.
Below in conjunction with Fig. 1, detailed explanation and explanation are carried out to the discharge and recharge of circuit described in the utility model and inverse plugging process:
(1) charging process
This circuit is the charge-discharge circuit of 12V voltage, and in charging process, the starting point of the energy, on the 16V on right side powers, if cell voltage is lower than design threshold values, just needs power supply.
A: single-chip microcomputer passes through COM
1mouth gathers the voltage swing of present battery, R
1, R
5be divider resistance, precision is 1%, R
3be current-limiting resistance, prevent from burning out single-chip microcomputer, ZD
1, C
1shield.Single-chip microcomputer gathers the voltage of present battery by this mouthful, and reacts;
B: if cell voltage is lower than threshold values, can put COM
2mouth is high level, by conducting N
1base current, allow relay K
1adhesive, then conducting charge circuit, thus allow battery charging, D
1fly-wheel diode, protection relay effect;
C: in charging process, possibility transient current is excessive, easily washes out circuit element, so introduce COM
3port, this port is a PWM output port, by the frequency of the base current of control N3 pipe thus control P
2the break-make frequency of pipe, thus control the size of charging voltage, in charge circuit, add inductance L
1, prevent the phenomenon occurring in circuit that charging current is excessive, serve protective effect, D
2, D
3rise and prevent counter flow action;
(2) discharge process
If 12V electricity suddenly disappears or lower than lower limit threshold values, single-chip microcomputer responds, COM in electric power system
5mouth sets high, and battery begins through P
5power to control loop, D
4, D
7serve the effect of counterflow-preventing.
(3) inverse inserting-preventing protection
In production process or maintenance process, operating personnel may not distinguish the both positive and negative polarity of battery, and battery is anti-inserted, if this circuit battery is anti-inserted, and D
6light-emitting diode can be bright, and optocoupler normally works simultaneously, after optocoupler, and COM
4mouth can collect a high level, can open buzzer path after single-chip microcomputer collection signal, and continues to report to the police.
The utility model at least can reach following beneficial effect:
The utility model achieves discharge and recharge and the defencive function of battery from hardware circuit, improves the reliability that system is switched to power-down state by normal condition greatly.And it is slight to generate heat in charging process of the present utility model, and impulse current is little, and charging is level and smooth, discharge reliably and safety economy.
Although be example object, disclosed preferred embodiment of the present utility model, it is also possible for those skilled in the art will recognize various improvement, increase and replacement, and therefore, scope of the present utility model should be not limited to above-described embodiment.