Automatic polarity conversion device for battery charging
By designing an automatic polarity conversion device for battery charging that includes forward and reverse charging circuits and signal conversion circuits, the problem of equipment damage and power supply interruption caused by reverse battery connection is solved, and normal charging is achieved regardless of the battery connection. Function.
Patent Information
- Application Number
- CN202323524165.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-24
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2033-12-24
AI Technical Summary
The existing battery charging protection device cannot provide power in time when it detects that the battery is reversely connected, causing the equipment to fail to work normally when the power system fails and easily causing battery damage.
A battery charging automatic polarity conversion device including a forward charging circuit, a reverse charging circuit, a signal conversion circuit and a polarity detection circuit is designed. It can charge regardless of whether the battery is connected forward or reversely. It can be judged by the polarity detection circuit. The battery polarity and output signal, the signal conversion circuit controls the conduction of the charging circuit to ensure that the battery can be charged normally under any access conditions.
It achieves normal charging regardless of whether the battery polarity is correct or incorrectly connected, avoiding the problem of equipment damage and battery not charging due to incorrect connection, and ensuring the normal power supply of the equipment when the power system fails.
Smart Images

Figure CN221767622U
Abstract
Description
Technical Field
[0001] The utility model relates to the field of electronic circuits, in particular to an automatic polarity conversion device for battery charging. Background Art
[0002] At present, most intelligent control devices use backup batteries. When the power system is normal, the backup batteries are automatically charged. When the power system fails, the backup batteries start to supply power to the intelligent control devices to ensure emergency backup of the control system and other work processes. In order to avoid damage to the internal circuit and battery of the device due to improper operation of reverse connection of the positive and negative poles of the battery, some reverse battery charging protection devices are available on the market.
[0003] For example, patent CN216056332U discloses an anti-reverse connection circuit and charger. The judgment circuit determines whether the charging output port is reversely connected based on the positive and negative polarity of the charging output port detected by the detection circuit, and then disconnects the switch circuit in time when the charging output port is reversely connected to disconnect the power circuit from the charging output port, thereby ensuring the safety of the device's power use. This method solves the problem of damage caused by reverse connection of the battery, but there is also the problem that reverse connection of the battery is not easy to detect, resulting in the battery being unable to charge, and other effects caused by the failure of the power system to supply power in time when it fails. Utility Model Content
[0004] The utility model aims to provide a battery charging automatic polarity conversion device, which can realize the battery charging function regardless of positive or negative polarity of the battery, whether it is positively connected or reversely connected, thereby avoiding the problem of damage to equipment caused by reverse connection of the battery, and also avoiding the problem that the backup battery cannot work normally due to reverse connection and failure to charge when the power system fails.
[0005] The technical solution of the utility model is: a battery charging automatic polarity conversion device, comprising a forward charging circuit, a reverse charging circuit, a signal conversion circuit and a polarity detection circuit, wherein the first input end of the forward charging circuit and the reverse charging circuit are connected to a charging power supply end, the output end of the forward charging circuit and the reverse charging circuit are connected to a charging end of a battery, the second input end of the forward charging circuit and the reverse charging circuit are connected to the output end of the signal conversion circuit, the input end of the signal conversion circuit is connected to the output end of the polarity detection circuit, and the input end of the polarity detection circuit is connected to the charging end of the battery.
[0006] Preferably, the charging end of the battery includes a battery positive terminal and a battery negative terminal, and the polarity detection circuit includes a voltage stabilizing circuit, an optocoupler U7, a voltage stabilizing tube ZD1, a resistor R20 and a resistor R21; the battery negative terminal is connected to the voltage stabilizing circuit and one end of the voltage stabilizing tube ZD1, the light emitting portion of the optocoupler U7 includes pin 1 and pin 2, the light receiver of the optocoupler U7 includes pin 3, pin 2 of the optocoupler U7 is connected to the other end of the voltage stabilizing tube ZD1, pin 3 of the optocoupler U7 is connected to the input end of the signal conversion circuit, pin 1 of the optocoupler U7 is connected to the first end of the resistor R21, the second end of the resistor R21 is connected to one end of the resistor R20, the other end of R20 is connected to the battery positive terminal, and the other end of the voltage stabilizing circuit is connected to the second end of the resistor R21.
[0007] Preferably, the voltage stabilizing circuit includes a diode D5, a diode D6, a voltage stabilizing tube ZD2, and a voltage stabilizing tube ZD3, the negative terminal of the battery is connected to the anode of the voltage stabilizing tube ZD2 and the cathode of the voltage stabilizing tube ZD3, the first end of the resistor R21 is connected to the anode of the diode D5 and the cathode of the diode D6, the cathode of the diode D5 is connected to the cathode of the voltage stabilizing tube ZD2, and the anode of the diode D6 is connected to the anode of the voltage stabilizing tube ZD3.
[0008] Preferably, the signal conversion circuit includes a MOS tube Q15, a transistor Q16, a transistor Q17 and a transistor Q18, the drain of the MOS tube Q15 and the collector of the transistor Q17 are both connected to the second input end of the forward charging circuit and the reverse charging circuit, the collector of the transistor Q16 is connected to the gate of the MOS tube Q15, the base of the transistor Q17 is connected to the collector of the transistor Q18, a resistor is connected in series between the bases of the transistors Q16, Q17 and Q18 and the output end of the polarity detection circuit respectively, and the emitters of the transistors Q16, Q17 and Q18 are grounded.
[0009] Preferably, the bases of the transistors Q16, Q17 and Q18 are respectively connected in series with a resistor and then grounded, and a resistor is connected in parallel between the source and the gate of the MOS transistor Q15.
[0010] Preferably, the charging power supply terminal includes a positive power supply terminal and a negative power supply terminal, the negative power supply terminal is grounded, and the charging end of the battery includes a positive battery terminal and a negative battery terminal; the reverse charging circuit includes a transistor Q1, a MOS tube Q3 and a first switch control circuit, the emitter of the transistor Q1 is connected to the positive power supply terminal, the collector of the transistor Q1 is connected to the negative battery terminal, the source of the MOS tube Q3 is connected to the negative power supply terminal, the drain of the MOS tube Q3 is connected to the positive battery terminal, the first end of the first switch control circuit is connected to the output end of the signal conversion circuit, the second end of the first switch control circuit is connected to the base of the transistor Q1, and the third end of the first switch control circuit is connected to the gate of the MOS tube Q3.
[0011] Preferably, the first switch control circuit includes a transistor Q9, a MOS transistor Q8, a MOS transistor Q14 and a plurality of resistors, a resistor is connected in series between the base of the transistor Q1 and the source of the MOS transistor Q8, the gate of the MOS transistor Q3 is connected to the drain of the MOS transistor Q8, the collector of the transistor Q9 is connected to the gate of the MOS transistor Q8, the emitter of the transistor Q9 is grounded, the base of the transistor Q9 is connected to the drain of the MOS transistor Q14, the gate of the MOS transistor Q14 is connected to the output end of the signal conversion circuit, a resistor is connected in series between the source of the MOS transistor Q14 and the base of the transistor Q1 and the positive terminal of the power supply, respectively, a resistor is connected in parallel between the source and the gate of the MOS transistor Q3, the MOS transistor Q8 and the MOS transistor Q14, and the base of the transistor Q9 is connected in series with a resistor and then grounded.
[0012] Preferably, the charging power supply end includes a positive power supply terminal and a negative power supply terminal, the negative power supply terminal is grounded, the charging end of the battery includes a positive battery terminal and a negative battery terminal, and the forward charging circuit includes a transistor Q2, a MOS tube Q4 and a second switch control circuit; the emitter of the transistor Q2 is connected to the positive power supply terminal, the collector of the transistor Q2 is connected to the positive battery terminal, the drain of the MOS tube Q4 is connected to the negative battery terminal, the source of the MOS tube Q4 is connected to the negative power supply terminal, the first end of the second switch control circuit is connected to the output end of the signal conversion circuit, the second end of the second switch control circuit is connected to the base of the transistor Q2, and the third end of the second switch control circuit is connected to the gate of the MOS tube Q4.
[0013] Preferably, the second switch control circuit includes a MOS tube Q5, a triode Q6 and a plurality of resistors; a resistor is connected in series between the base of the triode Q2 and the source of the MOS tube Q5, the gate of the MOS tube Q4 is connected to the drain of the MOS tube Q5, the gate of the MOS tube Q5 is connected to the collector of the triode Q6, the emitter of the triode Q6 is grounded, a resistor is connected in series between the base of the triode Q6 and the output end of the signal conversion circuit, a resistor is connected in parallel between the base and emitter of the triode Q2 and the triode Q6, and a resistor is connected in parallel between the gate and source of the MOS tube Q4 and the MOS tube Q5.
[0014] Compared with the prior art, the utility model proposes an automatic polarity conversion device for battery charging, comprising a forward charging circuit, a reverse charging circuit, a signal conversion circuit and a polarity detection circuit, wherein the polarity detection circuit is used to judge whether the charging end of the battery is connected to the battery and the polarity of the connected battery, and output a corresponding signal, and the signal conversion circuit is used to receive the signal output by the polarity detection circuit, and output a signal of whether charging and the battery connection polarity to the forward charging circuit and the reverse charging circuit; when the polarity of the connected battery is correct, the forward circuit is turned on to charge the battery, when the polarity of the connected battery is wrong, the reverse circuit is turned on to still charge the battery, and when the battery is not connected, both the forward circuit and the reverse circuit are not turned on and charging is not performed, so as to realize the function of being able to charge normally after connecting to an external battery regardless of whether the battery polarity is correct, solve the problem of damage to the battery caused by wrong battery polarity connection, and avoid the influence caused by the battery not being charged. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] Figure 1 It is a schematic diagram of the principle structure of an embodiment of the utility model.
[0016] Figure 2 It is a forward charging circuit and a reverse charging circuit diagram of an embodiment of the utility model.
[0017] Figure 3 This is a polarity detection circuit diagram of an embodiment of the utility model.
[0018] Figure 4 This is a signal conversion circuit diagram of an embodiment of the utility model. DETAILED DESCRIPTION
[0019] In order to facilitate the understanding of the present invention, the present invention will be described more comprehensively with reference to the accompanying drawings. However, the present invention can be implemented in many different forms and is not limited to the embodiments described herein. On the contrary, the purpose of providing these embodiments is to make the disclosure of the present invention more thorough and comprehensive.
[0020] It should be noted that when an element is referred to as being "fixed on" another element, it may be directly on the other element or there may be an intermediate element. When an element is considered to be "connected to" another element, it may be directly connected to the other element or there may be an intermediate element at the same time.
[0021] See also Figure 1 , a battery charging automatic polarity conversion device, comprising a forward charging circuit 102, a reverse charging circuit 101, a signal conversion circuit and a polarity detection circuit, wherein a first input end of the forward charging circuit 102 and a first input end of the reverse charging circuit 101 are connected to a charging power supply end, an output end of the forward charging circuit 102 and an output end of the reverse charging circuit 101 are connected to a charging end of a battery, a second input end of the forward charging circuit 102 and a second input end of the reverse charging circuit 101 are connected to an output end f of the signal conversion circuit, an input end c of the signal conversion circuit is connected to an output end of the polarity detection circuit, and an input end of the polarity detection circuit is connected to a charging end of a battery. The polarity detection circuit determines whether the charging end of the battery is connected to a battery and the polarity of the connected battery, and outputs a corresponding signal. After receiving the polarity signal output by the polarity detection circuit, the signal conversion circuit outputs a charging signal to the corresponding charging circuit. When the polarity of the connected battery is correct, the forward circuit is turned on to charge the battery. When the polarity of the connected battery is incorrect, the reverse circuit is turned on to still charge the battery. When the battery is not connected, both the forward circuit and the reverse circuit are not turned on and charging is not performed, thereby achieving the function of being able to charge normally regardless of whether the external battery is connected forwardly or reversely.
[0022] See also Figure 2-4 The charging power supply terminal includes a positive power supply terminal and a negative power supply terminal, the negative power supply terminal is grounded, and the battery charging terminal includes a positive battery terminal d and a negative battery terminal e.
[0023] The polarity detection circuit includes a voltage stabilizing circuit 103, a bidirectional optocoupler U7, a voltage stabilizing tube ZD1, a resistor R20 and a resistor R21; the light emitting part of the bidirectional optocoupler U7 includes pin 1 and pin 2, the light emitting part of the bidirectional optocoupler U7 is two positive and negative parallel photosensitive diodes, the pin 1 and the pin 2 are respectively connected to one end of the two positive and negative parallel photosensitive diodes, the light receiver of the bidirectional optocoupler U7 is a transistor, the collector of the transistor is pin 4, and the emitter of the transistor is pin 3; Pin 2 of the bidirectional optocoupler U7 is connected to the anode of the voltage regulator tube ZD1, pin 3 of the bidirectional optocoupler U7 is connected to the input terminal c of the signal conversion circuit, pin 4 of the bidirectional optocoupler U7 is connected to the power supply VCC1, pin 1 of the bidirectional optocoupler U7 is connected to the first end of the resistor R21, the second end of the resistor R21 is connected to one end of the resistor R20, the other end of R20 is connected to the positive terminal d of the battery, and the cathode of the voltage regulator tube ZD1 is connected to the negative terminal e of the battery.
[0024] The voltage stabilizing circuit 103 includes a diode D5, a diode D6, a voltage stabilizing tube ZD2 and a voltage stabilizing tube ZD3. The negative terminal e of the battery is connected to the anode of the voltage stabilizing tube ZD2 and the cathode of the voltage stabilizing tube ZD3. The second end of the resistor R21 is connected to the anode of the diode D5 and the cathode of the diode D6. The cathode of the diode D5 is connected to the cathode of the voltage stabilizing tube ZD2, and the anode of the diode D6 is connected to the anode of the voltage stabilizing tube ZD3.
[0025] Working principle of the polarity detection circuit: Assume that the voltage regulation value of the Zener diode ZD2 and the Zener diode ZD3 is V1, the Vf value of the diode D5 and the diode D6 is V2, the voltage regulation value of the Zener diode ZD1 is V3, the Vf value of the Zener diode ZD1 is V4, and the voltage drop between pin 1 and pin 2 of the bidirectional optocoupler U7 is V5.
[0026] When the battery polarity is correctly connected, that is, the polarity of the positive terminal d of the battery is positive and the polarity of the negative terminal e of the battery is negative, then the point N1 between the resistor R20 and the resistor R21 will form a stable voltage V1+V2 relative to the negative terminal e of the battery, and the current If flowing through the bidirectional optocoupler U7 is (V1+V2-V4-V5) / R21.
[0027] When the battery polarity is incorrectly connected, that is, the polarity of the battery positive terminal d is negative and the polarity of the battery negative terminal e is positive, then the point N1 relative to the battery positive terminal d will form a stable voltage V1+V2, and the current If flowing through the bidirectional optocoupler U7 is (V1+V2-V3-V5) / R21.
[0028] Because pin 3 and pin 4 of the bidirectional optocoupler U7 transistor are respectively the emitter and the collector, when the battery is correctly connected, the transistor of the bidirectional optocoupler U7 enters the amplification area, the pin 3 and the pin 4 are fully turned on, and the output end of the polarity detection circuit outputs the voltage V6; on the contrary, when the battery is incorrectly connected, the transistor of the bidirectional optocoupler U7 enters the saturation area, the pin 3 and the pin 4 are in a half-conduction state, and the output end of the polarity detection circuit outputs the voltage V7; and when the battery is not connected, the transistor of the optocoupler U7 enters the cut-off area, and the output end of the polarity detection circuit is in a high-impedance state.
[0029] The signal conversion circuit includes a P-type MOS tube Q15, a triode Q16, a triode Q17 and a triode Q18, a resistor R25, a resistor R28, a resistor R29, a resistor R30, a resistor R31, a resistor R32 and a resistor R33; the drain of the MOS tube Q15 and the collector of the triode Q17 are connected and then output to form an output end f of the signal conversion circuit, the source of the MOS tube Q15 can be connected to an external power supply or the positive terminal of the power supply, and in this embodiment, the source of the MOS tube Q15 is connected to the power supply VCC2, and the collector of the triode Q16 is connected to the gate of the MOS tube Q15 and one end of the resistor R25 The resistor R30 is connected in series between the base of the transistor Q16 and the output end of the polarity detection circuit, the base of the transistor Q16 is connected in series with the resistor R31 and then grounded, the base of the transistor Q17 is connected to one end of the resistor R28, the resistor R29 and the collector of the transistor Q18, the base of the transistor Q18 is connected to one end of the resistor R32 and the resistor R33, the other ends of the resistor R28 and the resistor R32 are connected to the output end of the polarity detection circuit, and the emitters of the transistors Q16, Q17 and Q18 and the other ends of the resistors R29, R33 and R31 are grounded respectively.
[0030] The working principle of the signal conversion circuit is as follows: when the input end c of the signal conversion circuit receives a signal of V6 from the polarity detection circuit, the transistors Q16 and Q18 are turned on, the resistor R25 is connected to the ground to form a voltage drop, so that the MOS transistor Q15 is also turned on. Due to the conduction of the transistor Q18, the transistor Q17 is turned off, and the output end f of the signal conversion circuit outputs a high level; when the input end c of the signal conversion circuit receives a signal of V7, the transistors Q16 and Q18 are turned off, the resistor R25 has no voltage drop, the MOS transistor Q15 is turned off, due to the cut-off of Q18, the transistor Q17 is turned on, the output end f of the signal conversion circuit is pulled to the ground, and a low level is output; when the signal received by the input end c of the signal conversion circuit is in a high-impedance state, the MOS transistor Q15, the transistor Q16, the transistor Q17, and the transistor Q18 are all turned off, and the output end f of the signal conversion circuit outputs a high-impedance state.
[0031] The reverse charging circuit 101 includes a transistor Q1, an N-type MOS transistor Q3, a P-type MOS transistor Q8, a transistor Q9 and a P-type MOS transistor Q14, and also includes resistors R8, R9, R10, R12, R13, R15 and R17; the emitter of the transistor Q1 is connected to the positive terminal of the power supply, the resistor R8 is connected in parallel between the base and the emitter of the transistor Q1, and the collector of the transistor Q1 is connected to the negative terminal of the battery; the resistor R9 is connected in series between the source of the MOS transistor Q8 and the base of the transistor Q1, and the resistor R12 is connected in parallel between the gate of the MOS transistor Q8 and its source; the collector of the transistor Q9 The gate of the MOS tube Q8 is connected, and the base of the triode Q9 is connected in series with the resistor R13 and then grounded; the resistor R15 is connected in series between the source of the MOS tube Q14 and the positive terminal of the power supply, the resistor R17 is connected in parallel between the source and the gate of the MOS tube Q14, and the gate of the MOS tube Q14 is connected to the output terminal f of the signal conversion circuit; the source of the MOS tube Q3 is connected to the negative terminal of the power supply, the resistor R10 is connected in parallel between the gate and the source of the MOS tube Q3, the gate of the MOS tube Q3 is connected to the drain of the MOS tube Q8, and the drain of the MOS tube Q3 is connected to the positive terminal d of the battery; the emitter of the triode Q9 is grounded.
[0032] The forward charging circuit 102 includes a transistor Q2, an N-type MOS transistor Q4, a P-type MOS transistor Q5 and a transistor Q6, and also includes resistors R1, R2, R3, R4, R6 and R11; the emitter of the transistor Q2 is connected to the positive terminal of the power supply, the resistor R1 is connected in parallel between the base and the emitter of the transistor Q2, and the collector of the transistor Q2 is connected to the positive terminal d of the battery; the emitter of the transistor Q6 is grounded, the resistor R11 is connected in series between the base of the transistor Q6 and the output terminal f of the signal conversion circuit, and the The resistor R6 is connected in parallel between the base and emitter of the transistor Q6, the collector of the transistor Q6 is connected to the gate of the MOS transistor Q5, the resistor R4 is connected in parallel between the gate and source of the MOS transistor Q5, the resistor R2 is connected in series between the source of the MOS transistor Q5 and the base of the transistor Q2, the drain of the MOS transistor Q5 is connected to the gate of the MOS transistor Q4, the resistor R3 is connected in parallel between the gate and source of the MOS transistor Q4, the source of the MOS transistor Q4 is connected to the negative electrode terminal of the power supply, and the drain of the MOS transistor Q4 is connected to the negative electrode terminal e of the battery.
[0033] The working principle of the reverse charging circuit 101 and the forward charging circuit 102 is as follows: when the output terminal f of the signal conversion circuit outputs a high level, the MOS tube Q14 of the reverse charging circuit 101 is not turned on, and the transistor Q6 of the forward charging circuit 102 is turned on. When the MOS transistor Q14 is not conducting, the base of the transistor Q9 has no voltage and is cut off, the resistor R12 has no voltage drop, the MOS transistor Q8 is not conducting, and the gate of the MOS transistor Q3 has no voltage, so that the transistors Q1 and Q3 are cut off, and thus the reverse charging circuit 101 does not charge; when the transistor Q6 is conducting, the resistor R4 forms a voltage drop, the MOS transistor Q5 is conducting, the resistor R1 forms a voltage drop, and the gate of the MOS transistor Q4 has a voltage, so that the transistors Q2 and the MOS transistor Q4 are conducting, forming a charging voltage with a positive polarity at the positive terminal d of the battery and a negative polarity at the negative terminal e of the battery. At this time, the charging mode is realized by the forward charging circuit 102.
[0034] On the contrary, when the output terminal f of the signal conversion circuit outputs a low level, the MOS tube Q14 of the reverse charging circuit 101 is turned on, and the transistor Q6 of the forward charging circuit 102 is not turned on. When the transistor Q6 is not turned on, the forward charging circuit 102 does not charge; when Q14 is turned on, a charging voltage is formed in which the polarity of the positive terminal d of the battery is negative and the polarity of the negative terminal e of the battery is positive. At this time, the charging mode is realized by the reverse charging circuit 101.
[0035] Similarly, when the output terminal f of the signal conversion circuit outputs a high impedance state, the MOS tube Q14 of the reverse charging circuit 101 and the transistor Q6 of the forward charging circuit 102 are not turned on, and the reverse charging circuit 101 and the forward charging circuit 102 are not charged.
[0036] In summary, the battery charging automatic polarity conversion device proposed by the utility model realizes the function of being able to charge normally after connecting to an external battery regardless of whether the polarity is correct or incorrect, thereby solving the problem of battery damage caused by incorrect battery connection and avoiding the impact of battery failure due to incorrect battery connection. The battery charging automatic polarity conversion device of the utility model can be applied to centralized controllers and single lamp controllers.
[0037] The technical scope of the present invention is not limited to the contents described above. Those skilled in the art can make various deformations and modifications to the above embodiments without departing from the technical concept of the present invention, and these deformations and modifications should all fall within the protection scope of the present invention.
Claims
1. A battery charging automatic polarity conversion device, characterized in that: It includes a forward charging circuit, a reverse charging circuit, a signal conversion circuit and a polarity detection circuit. The first input ends of the forward charging circuit and the reverse charging circuit are connected to a charging power supply end, the output ends of the forward charging circuit and the reverse charging circuit are connected to a charging end of a battery, the second input ends of the forward charging circuit and the reverse charging circuit are connected to the output end of the signal conversion circuit, the input end of the signal conversion circuit is connected to the output end of the polarity detection circuit, and the input end of the polarity detection circuit is connected to the charging end of the battery.
2. A battery charging automatic polarity conversion device as claimed in claim 1, characterized in that: The charging end of the battery includes a positive terminal and a negative terminal of the battery, and the polarity detection circuit includes a voltage stabilizing circuit, an optocoupler U7, a voltage stabilizing tube ZD1, a resistor R20 and a resistor R21; the negative terminal of the battery is connected to the voltage stabilizing circuit and one end of the voltage stabilizing tube ZD1, the light emitting portion of the optocoupler U7 includes pin 1 and pin 2, the light receiver of the optocoupler U7 includes pin 3, pin 2 of the optocoupler U7 is connected to the other end of the voltage stabilizing tube ZD1, pin 3 of the optocoupler U7 is connected to the input end of the signal conversion circuit, pin 1 of the optocoupler U7 is connected to the first end of the resistor R21, the second end of the resistor R21 is connected to one end of the resistor R20, the other end of R20 is connected to the positive terminal of the battery, and the other end of the voltage stabilizing circuit is connected to the second end of the resistor R21.
3. A battery charging automatic polarity conversion device as claimed in claim 2, characterized in that: The voltage stabilizing circuit includes a diode D5, a diode D6, a voltage stabilizing tube ZD2, and a voltage stabilizing tube ZD3. The negative terminal of the battery is connected to the anode of the voltage stabilizing tube ZD2 and the cathode of the voltage stabilizing tube ZD3. The first end of the resistor R21 is connected to the anode of the diode D5 and the cathode of the diode D6. The cathode of the diode D5 is connected to the cathode of the voltage stabilizing tube ZD2, and the anode of the diode D6 is connected to the anode of the voltage stabilizing tube ZD3.
4. A battery charging automatic polarity conversion device as claimed in claim 1, characterized in that: The signal conversion circuit includes a MOS tube Q15, a triode Q16, a triode Q17, a triode Q18 and a plurality of resistors. The drain of the MOS tube Q15 and the collector of the triode Q17 are both connected to the second input ends of the forward charging circuit and the reverse charging circuit. The collector of the triode Q16 is connected to the gate of the MOS tube Q15. The base of the triode Q17 is connected to the collector of the triode Q18. A resistor is connected in series between the bases of the triode Q16, the triode Q17 and the triode Q18 and the output end of the polarity detection circuit respectively. The emitters of the triode Q16, the triode Q17 and the triode Q18 are grounded.
5. A battery charging automatic polarity conversion device as claimed in claim 4, characterized in that: The bases of the transistors Q16, Q17 and Q18 are connected in series with a resistor and then grounded, and a resistor is connected in parallel between the source and the gate of the MOS transistor Q15.
6. A battery charging automatic polarity conversion device as claimed in claim 1, characterized in that: The charging power supply end includes a positive power supply terminal and a negative power supply terminal, the negative power supply terminal is grounded, and the charging end of the battery includes a positive battery terminal and a negative battery terminal; the reverse charging circuit includes a transistor Q1, a MOS transistor Q3 and a first switch control circuit, the emitter of the transistor Q1 is connected to the positive power supply terminal, the collector of the transistor Q1 is connected to the negative battery terminal, the source of the MOS transistor Q3 is connected to the negative power supply terminal, the drain of the MOS transistor Q3 is connected to the positive battery terminal, the first end of the first switch control circuit is connected to the output end of the signal conversion circuit, the second end of the first switch control circuit is connected to the base of the transistor Q1, and the third end of the first switch control circuit is connected to the gate of the MOS transistor Q3.
7. A battery charging automatic polarity conversion device as claimed in claim 6, characterized in that: The first switch control circuit includes a transistor Q9, a MOS transistor Q8, a MOS transistor Q14 and a plurality of resistors. A resistor is connected in series between the base of the transistor Q1 and the source of the MOS transistor Q8. The gate of the MOS transistor Q3 is connected to the drain of the MOS transistor Q8. The collector of the transistor Q9 is connected to the gate of the MOS transistor Q8. The emitter of the transistor Q9 is grounded. The base of the transistor Q9 is connected to the drain of the MOS transistor Q14. The gate of the MOS transistor Q14 is connected to the output end of the signal conversion circuit. A resistor is connected in series between the source of the MOS transistor Q14 and the base of the transistor Q1 and the positive terminal of the power supply, respectively. A resistor is connected in parallel between the source and the gate of the MOS transistors Q3, Q8 and Q14, respectively. The base of the transistor Q9 is connected in series with a resistor and then grounded.
8. A battery charging automatic polarity conversion device as claimed in claim 1, characterized in that: The charging power supply end includes a positive power supply terminal and a negative power supply terminal, the negative power supply terminal is grounded, the charging end of the battery includes a positive battery terminal and a negative battery terminal, the forward charging circuit includes a transistor Q2, a MOS tube Q4 and a second switch control circuit; the emitter of the transistor Q2 is connected to the positive power supply terminal, the collector of the transistor Q2 is connected to the positive battery terminal, the drain of the MOS tube Q4 is connected to the negative battery terminal, the source of the MOS tube Q4 is connected to the negative power supply terminal, the first end of the second switch control circuit is connected to the output end of the signal conversion circuit, the second end of the second switch control circuit is connected to the base of the transistor Q2, and the third end of the second switch control circuit is connected to the gate of the MOS tube Q4.
9. A battery charging automatic polarity conversion device as claimed in claim 8, characterized in that: The second switch control circuit includes a MOS tube Q5, a triode Q6 and a plurality of resistors; a resistor is connected in series between the base of the triode Q2 and the source of the MOS tube Q5, the gate of the MOS tube Q4 is connected to the drain of the MOS tube Q5, the gate of the MOS tube Q5 is connected to the collector of the triode Q6, the emitter of the triode Q6 is grounded, a resistor is connected in series between the base of the triode Q6 and the output end of the signal conversion circuit, a resistor is connected in parallel between the base and emitter of the triode Q2 and the triode Q6, and a resistor is connected in parallel between the gate and source of the MOS tube Q4 and the MOS tube Q5.
