Disclosure of Invention
An object of the utility model is to provide a charging circuit of two kinds of compatible charge methods to prior art's not enough for the charging device that mobile lighting equipment can two kinds of compatible different grade types charges, thereby has increased mobile lighting equipment charge method's variety.
In order to achieve the above purpose, the utility model adopts the following technical scheme:
a charging circuit compatible with two charging modes comprises: the charging interface, the voltage detection circuit, the control chip, the first switch circuit, the charging protection circuit, the second switch circuit and the charging management circuit;
one end of the voltage detection circuit is connected with the charging interface, and the other end of the voltage detection circuit is connected with the control chip;
the first end of the first switch circuit is connected with the control chip, the second end of the first switch circuit is connected with the charging protection circuit, and the third end of the first switch circuit is connected with the energy storage battery;
the first end of the second switch circuit is connected with the control chip, the second end of the second switch circuit is connected with the charging management circuit, and the third end of the second switch circuit is connected with the energy storage battery;
the charging interface is used for being connected with a first charging device or a second charging device so as to receive first communication request information sent by the first charging device or second communication request information sent by the second charging device;
the control chip is used for generating first communication control information according to the first communication request information to control the first switch circuit to be conducted so as to enable the first charging device to charge the mobile lighting equipment;
the control chip is further configured to generate second communication control information according to the second communication request information to control the second switch circuit to be turned on, so that the second charging device charges the mobile lighting device.
Further, the first switching circuit includes: the power supply comprises a first MOS tube and a first triode, wherein the drain electrode of the first MOS tube is used for connecting the positive connecting end of an energy storage battery, the source electrode of the first MOS tube is connected with a charging protection circuit, the grid electrode of the first MOS tube is connected with the collector electrode of the first triode, the emitting electrode of the first triode is grounded, and the base electrode of the first triode is connected with the first voltage output end of the control chip.
Further, the charge protection circuit includes: the source electrode of the second MOS tube is connected with the source electrode of the first MOS tube, the drain electrode of the second MOS tube is connected with the positive connecting end of the charging interface, the grid electrode of the second MOS tube is connected with the collector electrode of the second triode, the emitter electrode of the second triode is connected with the source electrode of the second MOS tube, the base electrode of the second triode is connected with the base electrode of the third triode, the collector electrode of the third triode is grounded, and the emitter electrode of the third triode is connected with the drain electrode of the second MOS tube.
Further, the second switching circuit includes: the source electrode of the third MOS tube is connected with the positive connecting end of the charging interface, the drain electrode of the third MOS tube is connected with the charging management circuit, the grid electrode of the third MOS tube is connected with the collector electrode of the fourth triode, the drain electrode of the fourth triode is grounded, and the base electrode of the fourth triode is connected with the second voltage output end of the control chip.
Further, the charge management circuit includes: the charging management chip is in a model of SGM41524.
Further, the voltage detection circuit includes: the first end of the second resistor is connected with the positive connecting end of the charging interface, the second end of the first resistor is connected with the first end of the second resistor, the second end of the second resistor is grounded, and the second end of the first resistor and the connecting end of the first end of the second resistor are connected with the detection end of the control chip.
Further, the charging circuit further includes: and the first end of the linear voltage reduction circuit is simultaneously connected with the positive connecting end of the charging interface and the positive connecting end of the energy storage battery, and the second end of the linear voltage reduction circuit is connected with the voltage input end of the control chip.
Further, the charging circuit includes: and the charging state display circuit is connected with the charging state feedback end of the control chip.
The utility model also provides a mobile lighting device, include: the charging circuit board is provided with the charging circuit compatible with two charging modes.
The utility model has the advantages that:
by setting the charging circuit to include: the charging interface, the voltage detection circuit, the control chip, the first switch circuit, the charging protection circuit, the second switch circuit and the charging management circuit enable the mobile lighting equipment to support charging of a 5V adapter and a lithium battery charger, enable the mobile lighting equipment to be compatible with two different types of charging devices for charging, and increase diversity of charging modes of the mobile lighting equipment.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are exemplary and intended to be used for explaining the present invention, and should not be construed as limiting the present invention.
In the description of the present invention, it is to be understood that the terms "length", "width", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", and the like indicate orientations or positional relationships based on those shown in the drawings, and are merely for convenience of description and simplicity of description, and do not indicate or imply that the device or element being referred to must have a particular orientation, be constructed and operated in a particular orientation, and thus, should not be construed as limiting the present invention.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of the present invention, "a plurality" means two or more unless specifically limited otherwise.
In the embodiments of the present invention, unless otherwise explicitly specified or limited, the terms "mounted," "connected," and "fixed" are to be construed broadly, e.g., as fixed or detachable connections or as an integral part; can be mechanically or electrically connected; either directly or indirectly through intervening media, either internally or in any other relationship. The specific meaning of the above terms in the present invention can be understood according to specific situations by those skilled in the art.
Referring to fig. 1 to 5, a charging circuit compatible with two charging methods includes: the charging interface, the voltage detection circuit, the control chip U3, the first switch circuit, the charging protection circuit, the second switch circuit and the charging management circuit; one end of the voltage detection circuit is connected with the charging interface, and the other end of the voltage detection circuit is connected with the control chip U3; the first end of the first switch circuit is connected with the control chip U3, the second end of the first switch circuit is connected with the charging protection circuit, and the third end of the first switch circuit is connected with the energy storage battery; the first end of the second switching circuit is connected with the control chip U3, the second end of the second switching circuit is connected with the charging management circuit, and the third end of the second switching circuit is connected with the energy storage battery; the charging interface is used for being connected with a first charging device or a second charging device so as to receive first communication request information sent by the first charging device or second communication request information sent by the second charging device; the control chip U3 is used for generating first communication control information according to the first communication request information to control the first switch circuit to be conducted so that the first charging device charges the mobile lighting equipment; the control chip U3 is further configured to generate second communication control information according to the second communication request information to control the second switch circuit to be turned on, so that the second charging device charges the mobile lighting device. In this embodiment, the model of the control chip is SC92L8532.
By setting the charging circuit to include: the charging interface, the voltage detection circuit, the control chip, the first switch circuit, the charging protection circuit, the second switch circuit and the charging management circuit enable the mobile lighting equipment to support charging of a 5V adapter and a lithium battery charger, enable the mobile lighting equipment to be compatible with two different types of charging devices for charging, and increase diversity of charging modes of the mobile lighting equipment.
In one embodiment, referring to fig. 1, the first switching circuit includes: first MOS pipe Q1 and first triode Q4, the drain electrode of first MOS pipe Q1 is used for connecting energy storage battery's positive pole link BAT +, the protection circuit that charges is connected to first MOS pipe Q1's source electrode, first triode Q4's collecting electrode is connected to first MOS pipe Q1's grid, and first MOS pipe Q1's grid still establishes ties the source electrode of first MOS pipe Q1's grid, first triode Q4's projecting pole ground connection, first triode Q4's base is connected control chip U3's first voltage output end P2.5. In this embodiment, the energy storage battery is a lithium battery
In one embodiment, referring to fig. 1, the charge protection circuit includes: the second MOS pipe Q2, second triode Q5 and third triode Q6, the source electrode of second MOS pipe Q2 is connected with the source electrode of first MOS pipe Q1, the drain electrode of second MOS pipe Q2 is connected with positive connecting end CH + of the interface that charges, the collector electrode of second triode Q5 is connected to the grid electrode of second MOS pipe Q2, and the collector electrode of second triode Q5 is grounded after being connected with fourth resistor R4, the source electrode of second MOS pipe Q2 is connected to the projecting pole of second triode Q5, the base electrode of third triode Q6 is connected to the base electrode of second triode Q5, the collector electrode of third triode Q6 is grounded, and the collector electrode of third triode Q6 is connected with the base electrode of third triode Q6 in series, still be equipped with third resistor R3 between the collector electrode of third triode Q6 and the earthing terminal, the drain electrode of second MOS pipe is connected to the projecting pole of third triode Q6.
When the positive connecting end CH + of the charging interface is not connected with the charging equipment, the positive connecting end BAT + of the energy storage battery is connected to the source electrode of the second MOS tube Q2 through the first MOS tube Q1, so that the source electrode of the second MOS tube Q2 has voltage, the source electrode of the second MOS tube Q2 is connected to the emitting electrode of the second triode Q5, the base electrode of the second triode Q5 is reached through the PN junction of the second triode Q5, a loop is formed by connecting the third resistor R3 to GND, at the moment, the second triode Q5 is conducted, the collector voltage of the second triode Q5 is the emitter voltage, the collector electrode of the second triode Q5 is connected to the grid electrode of the second MOS tube Q2, the grid electrode of the second MOS tube Q2 is cut off at a high level, at the moment, the direction of the current can only reach the source electrode through the positive connecting end CH + of the charging interface and the drain electrode of the second MOS tube Q2, the current can only go in and can not go out, and the short-circuit protection effect is achieved;
when the positive connecting end CH + of the charging interface is connected to the charging device, the drain electrode of the second MOS tube Q2 is connected with the positive connecting end CH +, the positive connecting end CH + is connected to the emitting electrode of the third triode Q6, the positive connecting end CH + is connected to the base electrode through the PN junction of the third triode Q6, the base electrode of the third triode Q6 is connected to the GND through the third resistor R3, the charging voltage of the positive connecting end CH + of the charging interface is higher than the source electrode voltage of the second MOS tube Q2, therefore, the base electrode voltage of the second triode Q5 is higher than the emitter electrode voltage, the base electrode voltage is cut off, no current flows through the collector electrode of the second triode Q5, the collector electrode of the second triode Q5 is connected to the GND through the fourth resistor R4, at the moment, the collector electrode voltage of the second triode Q5 is GND, the grid electrode of the second MOS tube Q2 is connected to the collector electrode of the second triode Q5, therefore, the voltage is GND, the second MOS tube Q2 is conducted, and the charging current flows through the source electrode of the second MOS tube Q2 to the drain electrode of the second MOS tube Q2, and therefore, the mobile lighting device can be normally charged.
In one embodiment, referring to fig. 2, the second switching circuit includes: third MOS pipe Q3 and fourth triode Q7, the positive terminal CH + of the interface that charges is connected to the source electrode of third MOS pipe Q3, still be connected with eighth resistance R8 between the source electrode of third MOS pipe Q3 and the grid of third MOS pipe Q3, the management circuit that charges is connected to the drain electrode of third MOS pipe Q3, the collecting electrode of fourth triode Q7 is connected to the grid of third MOS pipe Q3, the drain electrode ground connection of fourth triode Q7, the second voltage output end P2.7 of control chip U3 is connected to the base of fourth triode Q7.
In one embodiment, referring to fig. 2, the charging management circuit includes: the charging management chip U1, pin 7 VIN end of the charging management chip U1 is connected with the drain electrode of the third MOS tube Q3, pin 7 VIN end of the charging management chip U1 is connected with the capacitor C1 and then is grounded, pin 2 IND end of the charging management chip U1 is connected with the port of pin 12P 2.6 of the control chip U3 after being connected with the resistor R11, pin 3 CV end of the charging management chip U1 is connected with the resistor R19 and then is grounded, pin 4 CC of the charging management chip U1 is connected with the resistor R10 and then is grounded, pin 9 GND2 and pin 8 GND1 of the charging management chip U1 are both grounded, pin 6 of the charging management chip U1 is connected with the NTC, pin 8 of the charging management chip U1 is connected with the GND1, pin 1 SW of the charging management chip U1 is connected with the inductor L1 and then is connected with the positive electrode of the energy storage battery, pin 5 VBBAT + of the charging management chip U1 is connected with the positive electrode BAT + of the energy storage battery, pin 5 BAT + of the battery, and BAT + of the other end of the charging management chip U1 is connected with the capacitor C2, and the positive electrode of the battery, and BAT + AT are connected with the positive electrode of the positive electrode BAT + C2 of the positive electrode of the battery. In this embodiment, the model of the charging management chip U1 is SGM41524.
In one embodiment, referring to fig. 1, the voltage detection circuit includes: first resistance R1 and second resistance R2, the positive connecting end CH + of the interface that charges is connected to the first end of first resistance R1, the first end of second resistance R2 is connected to the second end of first resistance R1, the second end ground connection of second resistance R2, the detection end of control chip U3 is connected to the second end of first resistance R1 and the link end of the first end of second resistance R2.
In one embodiment, referring to fig. 4, the charging circuit further includes: and the first end of the linear voltage reduction circuit is connected with the positive connecting end of the charging interface and the positive connecting end of the energy storage battery, and the second end of the linear voltage reduction circuit is connected with the voltage input end of the control chip U3. Specifically, the linear voltage-reducing circuit includes: linear step-down chip U2, first diode D1 and second diode D2, linear step-down chip U2's earthing terminal GND ground connection, linear step-down chip U2's input VIN connects first diode D1's output, energy storage battery's positive link BAT is connected to first diode D1's input, second diode D2's output is still connected to linear step-down chip U2's input VIN, the positive link CH + of energy storage battery interface is connected to second diode D1's input, it has electric capacity C4 still to establish ties between linear step-down chip U2's input VIN and linear step-down chip U2's the earthing terminal GND, control chip U3's voltage output end VDD is connected to linear step-down chip U2's output OUT, still be connected with electric capacity C5 between linear step-down chip U2's output OUT and linear step-down chip U2's the earthing terminal GND. In this embodiment, the model of the linear buck chip U2 is XC620630v.
In one embodiment, referring to fig. 5, the charging circuit includes: and the charging state display circuit is connected with the charging state feedback end of the control chip. The specific charge state display circuit includes: RLED lamp and GLED lamp, the input of RLED lamp is connected with number 15 pin P2.1 port connection with control chip U3 behind the sixth resistance R6, and the input ground connection of RLED lamp, the input of GLED lamp is connected with number 14 pin P2.4 port connection with control chip U3 behind the seventh resistance R7, the input ground connection of GLED lamp.
The utility model also provides a mobile lighting device, include: the main part is equipped with charging circuit board in the main part, the last charging circuit who is equipped with a compatible two kinds of charging methods of charging circuit board.
The working principle is as follows: when the charging equipment is connected with a 5V adapter, the positive connecting end CH + of the charging interface is connected with the positive electrode output by the adapter, the negative electrode of the adapter is connected with the negative connecting end CH-of the charging interface (namely, the negative connecting end BAT-of the energy storage battery), the positive connecting end CH + of the charging interface is connected with one end of a first resistor R1, the voltage of CH _ AD between the first resistor and a second resistor is a second voltage, the control chip U3 detects the second voltage of CH _ AD through a detecting end P1.4 and judges that the second voltage is connected with the 5V adapter, the control chip U3 controls a second voltage output end P2.7 port to output high level, because the control chip U3 controls the port of the second voltage output end P2.7 to be connected to the base of the fourth triode Q7, the base of the fourth triode Q7 is conducted at a high level, so that the gate of the third MOS transistor Q3 is at a low level, the third MOS transistor Q3 is conducted, the positive connection end CH + of the charging interface passes through the source of the third MOS transistor Q3 and then is connected to the drain of the third MOS transistor Q3, the drain of the third MOS transistor Q3 is connected with the input end VIN of the charging management chip U1, the charging management chip U1 obtains the 5V voltage of the positive connection end CH + of the charging interface to start charging (wherein, one end of the ninth resistor R9 is connected with BAT —, the other end is connected with pin No. 3 CV of the charging management chip U1, and the full charging voltage is set to be 4.2V; one end of the resistor R10 is connected with BAT, the other end is connected with pin CC No. 3 of the charging management chip U1, the maximum charging current is set to be 2A, the input end VIN of the charging management chip U1 is internally connected with pin SW No. 1 of the charging management chip U1, the pin SW No. 1 of the charging management chip U1 is connected with the inductor L1 (wherein, the inductor L1 plays the role of energy storage, the switch type charging circuit is similar to a DC-DC voltage reduction circuit, inductor L1 acts as an energy storage function at DC-DC step-down), the other end of inductor L1 is connected to capacitor C2, and then one end of capacitor C3 is connected to the positive connecting end BAT + of the energy storage battery, and the negative connecting end BAT-of the energy storage battery is connected to CH-, forming a complete charging loop. In the charging process, the charging management chip U1 controls the pin IND No. 2 to output a high level, the pin P2.6 No. 12 of the control chip U3 detects the high level, the mobile lighting device is judged to be in the charging process, the control chip U3 controls the pin P2.1 No. 15 to output the high level, the pin P2.4 No. 14 of the control chip U3 outputs a low level, the low level is respectively connected to the indicator lamp D4 through the sixth resistor R6 and the seventh resistor R7, and the red color is displayed to indicate that the charging process is in progress; when charging is completed, the charging management chip U1 controls the pin IND No. 2 to output a low level to indicate that charging is completed, the pin P2.6 No. 12 of the control chip U3 detects the low level, the pin P2.4 No. 14 is controlled to be the low level, the pin P2.1 No. 15 is controlled to be the high level, the pins are respectively connected to the indicator lamp D4 through the sixth resistor R6 and the seventh resistor R7, green is displayed, and the charging is completed; at this moment, the 5V adapter is removed, no voltage exists at the positive connecting end CH + of the charging interface, the control chip U3 detects 0 voltage through the No. 9 pin P1.4 port, the 5V adapter is judged to be removed, the control chip U3 controls the No. 11 pin P2.7 to output low level, the fourth triode Q7 is turned off, therefore, the third MOS transistor Q6 is also turned off and cut off, the control chip U3 controls the No. 14 pin P2.4 port and the No. 15 pin P2.1 to output low level, the indicator lamp D4 is not bright, the charging removal is represented, and the charging state is not existed.
When the charging equipment is accessed by a lithium battery charger, the positive connecting end CH + of the charging interface is connected with the positive electrode output by the charger, and the negative electrode of the charger is connected with the negative connecting end CH-of the charging interface (namely the negative electrode BAT-); the first voltage output by the charger is arranged at the positive connecting end CH + of the charging interface, the control chip U3 judges that the lithium battery charger is connected through the first voltage detected by the detection end P1.4, the control chip U3 controls the No. 13 pin CH _4.2V to output high level, the CH _4.2V is connected to the base electrode of the first triode Q4, the base electrode of the first triode Q4 is conducted in high level, the emitter voltage of the first triode Q4 is equal to the collector voltage of 0V, so that the grid voltage of the first MOS tube Q1 is 0, the first MOS tube Q1 is conducted, the positive connecting end CH + of the charging interface is connected with the drain electrode of the second MOS tube Q2, the source electrode voltage of the second MOS tube Q2 is connected to the source electrode of the first MOS tube Q1, the drain electrode voltage of the first MOS tube Q1 is connected to the positive connecting end BAT + of the energy storage battery, and the negative connecting end CH + of the energy storage battery is connected to the negative connecting end CH-GND + of the charging interface, and a complete charging loop is formed. In the charging process, the voltage of the positive connecting end CH + of the charging interface is lower than 4.15V, the control chip U3 detects that the voltage is lower than 4.15V through the port CH _ AD of the pin P1.4 No. 9, the control chip U3 controls the pin LEDG No. 14 to output high level and the pin LEDR No. 15 to output low level when the charging is judged, the high level and the low level are respectively connected to the indicator lamp D4 through the sixth resistor R6 and the seventh resistor R7, and red color is displayed to indicate that the charging is in progress; when the charging is finished, the control chip U3 detects that the voltage is higher than 4.15V through the pin CH _ AD 9, which indicates that the charging is finished, controls the pin LEDR 14 to be at a high level and the pin LEDG 15 to be at a low level, and is respectively connected to the indicator lamp D4 through the sixth resistor R6 and the seventh resistor R7 to display green, which indicates that the charging is finished; at the moment, the lithium battery charger is removed, no voltage exists at a positive connecting end CH + of the charging interface, the control chip U3 detects 0 voltage through the No. 9 pin P1.4 port, the lithium battery charger is judged to be removed, the control chip U3 controls the No. 13 pin P2.5 port to output low level, the first triode Q4 is turned off, therefore, the first MOS tube Q4 is also turned off and cut off, the control chip U3 controls the No. 14 pin P2.4 and the No. 15 pin P2.1 to output low level, the indicating lamp D4 is not bright, the charging removal is represented, and the charging state is not existed.
The above-mentioned embodiments are only one of the preferred embodiments of the present invention, and the general changes and substitutions performed by those skilled in the art within the technical scope of the present invention should be included in the protection scope of the present invention.