Working lamp charging and discharging circuit with precise coulombmeter

CN221806497UActive Publication Date: 2024-10-01NINGBO UTEC ELECTRIC CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202323237066.6
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2023-11-29
Publication Date
2024-10-01
Estimated Expiration
2033-11-29

AI Technical Summary

Technical Problem

目前很多充电LED工作灯带有专用适配器充电,但是充电时间较长;随着手机、笔记本电脑的普及,在这些场合中,手机充电的需求明显增加

Benefits of technology

[0013] 1) The fast charging and discharging circuit can accurately display the real-time power of the work light. When the user connects the adapter and turns on the light, the system will automatically identify the power of the adapter. Directly driving the LED light source with the allowed power of the adapter can bring higher lumen effects. And reasonably allocate LED lighting power and battery charging power;

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN221806497U_ABST
    Figure CN221806497U_ABST
Patent Text Reader

Abstract

The utility model relates to a working lamp charging and discharging circuit containing a precise coulombmeter, which comprises a main circuit, a power supply module, an indicator lamp module, a control module and a fast charging protocol mcu circuit, the main circuit is composed of a constant-current LED light source, a precise coulometer module, a BUCK-BOOST buck-boost control circuit, a battery pack, a fourth capacitor, a third resistor, an eighth resistor, a ninth resistor, a sixth MOS tube, a seventh MOS tube, a first voltage-regulator tube, a second voltage-regulator tube and a TypeC female interface. The fast charge protocol mcu circuit is composed of a single-chip microcomputer, a first capacitor, a second capacitor, a seventh capacitor and an eighth capacitor. According to the utility model, the real-time electric quantity of the working lamp can be accurately displayed, when a user is connected with the adapter and turns on the lamp, the system can automatically identify the power of the adapter, the LED light source is directly driven by the allowable power of the adapter, a higher lumen effect can be brought, the working lamp can be charged through any adapter with a USB interface, and the user experience is greatly improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The utility model relates to a working lamp charging and discharging circuit containing a precision coulomb meter. Background Art

[0002] Work lights are lighting equipment used in workplaces and gathering places. Rechargeable LED work lights can be conveniently used for maintenance and decoration at home, especially in many occasions such as parties and camping. At present, many rechargeable LED work lights come with special adapters for charging, but the charging time is long; with the popularity of mobile phones and laptops, the demand for mobile phone charging has increased significantly in these occasions. At present, many household appliances have built-in USB mobile phone charging interfaces, but this interface can only discharge, not charge, and there is no fast charging protocol. At the same time, rechargeable LED work lights all have power indicators, but generally the voltage of the lithium battery is measured to determine the power. This method of judging the power is affected by the internal resistance of the battery and has a large error, and sometimes it cannot accurately display the power. Utility Model Content

[0003] The purpose of the utility model is to overcome the deficiencies in the prior art, thereby providing a working lamp charging and discharging circuit containing a precision coulomb meter.

[0004] The technical solution adopted by the utility model to solve its technical problems is:

[0005] A work light charging and discharging circuit containing a precision coulomb meter comprises a main circuit, a power supply module, an indicator light module, a control module and a fast charging protocol MCU circuit, characterized in that: the power supply module is composed of a voltage-stabilizing LDO chip, capacitor three, capacitor four, capacitor five, capacitor six, diode three, diode four and resistor ten, wherein the Vin end of the voltage-stabilizing LDO chip is connected to one end of capacitor four, one end of capacitor three and one end of resistor eleven, the other end of resistor ten is connected to the negative electrode of diode three and the negative electrode of diode four, the Vout end of the voltage-stabilizing LDO chip, one end of capacitor five and one end of capacitor six output 3.3V power supply, the other end of capacitor four, the other end of capacitor three, the other end of capacitor five, the other end of capacitor six and the GND end of the voltage-stabilizing LDO chip are grounded, the positive electrode of diode three is connected to the network label BAT+, and the negative electrode of diode four is connected to the network label TCin;The main circuit consists of a constant current LED light source, a precision coulomb meter module, a BUCK-BOOST step-up and step-down control circuit, a battery pack, capacitor 14, resistor 3, resistor 8, resistor 9, MOS tube 6, MOS tube 7, voltage regulator tube 1, voltage regulator tube 2, and a Type C female interface. The 1st pin of the constant current LED light source is connected to the 3rd pin of the precision coulomb meter module, the 2nd pin of the constant current LED light source is grounded, the 3rd pin of the constant current LED light source is connected to the network number 3000K, the 4th pin of the constant current LED light source is connected to the network number 5000K, the 5th pin of the constant current LED light source is connected to the network number Anolag, and the 1st pin of the precision coulomb meter module is connected to the BUCK-BOOST step-up and step-down control circuit 2nd pin, 2nd pin of the precision coulomb counter module is connected to the positive pole of the battery pack, 4th pin of the precision coulomb counter module is connected to the network label AINN2, 5th pin of the precision coulomb counter module is connected to the network label AINP2, 6th pin of the precision coulomb counter module is connected to the network label BAT+, the negative pole of the battery pack is grounded, 1st pin of the BUCK-BOOST buck-boost control circuit is connected to the drain of the MOS tube 7, 3rd pin of the BUCK-BOOST buck-boost control circuit is connected to the network label SCL, 4th pin of the BUCK-BOOST buck-boost control circuit is connected to the network label SDA, 5th pin of the BUCK-BOOST buck-boost control circuit is connected to the network label PSTOP, Pin 6 of the buck control circuit is connected to the network label Anolag, pin 7 of the BUCK-BOOST buck-boost control circuit is connected to the network label EN, pin 8 of the BUCK-BOOST buck-boost control circuit is connected to the network label Int, gate 6 of MOS tube, gate 7 of MOS tube, one end of resistor 8 is connected to one end of resistor 3, the other end of resistor 3 is connected to the network label TC_EN, the other end of resistor 8 is connected to the source of MOS tube 6, the source of MOS tube 7, the source and drain of MOS tube 6, one end of resistor 9, one end of capacitor 14, pin A4B9 of TypeC female interface, pin B4A9 of TypeC female interface are connected to the network label TCin, and pin A of TypeC female interface Pin 5, the positive pole of the voltage regulator tube 1 is connected to the network label CC1, pin B5 of TypeC female interface, the positive pole of the voltage regulator tube 2 is connected to the network label CC2, pin A6 of TypeC female interface, pin B6 of TypeC female interface is connected to the network label DP0, pin A7 of TypeC female interface, pin B7 of TypeC female interface is connected to the network label DM0, pin B1A12 of TypeC female interface, pin A1B12 of TypeC female interface, pin 1 of TypeC female interface, pin 2 of TypeC female interface, pin 3 of TypeC female interface, pin 4 of TypeC female interface, the other end of capacitor 14, the other end of resistor 9, the negative pole of the voltage regulator tube 1, and the negative pole of the voltage regulator tube 2 are grounded respectively;The indicator light module consists of indicator light 1, indicator light 2, indicator light 3, indicator light 4, resistor 4, resistor 5, resistor 6 and resistor 7, wherein the negative pole of indicator light 1, the negative pole of indicator light 2, the negative pole of indicator light 3 and the negative pole of indicator light 4 are grounded, one end of resistor 4 is connected to the positive pole of indicator light 1, one end of resistor 5 is connected to the positive pole of indicator light 2, one end of resistor 6 is connected to the positive pole of indicator light 3, one end of resistor 7 is connected to the positive pole of indicator light 4, the other end of resistor 4 is connected to the network label LD1, the other end of resistor 5 is connected to the network label LD2, the other end of resistor 6 is connected to the network label LD3, The other end of resistor seven is connected to the network label LD4; the control module is composed of button one, button two, resistor one, and resistor two, among which the first end of button one and the first end of button two are grounded respectively, the other end of button one is connected to the first end of resistor one, the other end of button two is connected to the first end of resistor two, the other end of resistor one is connected to the network label KY1, and the other end of resistor two is connected to the network label KY2; the fast charging protocol MCU circuit is composed of a single-chip microcomputer, capacitor one, capacitor two, capacitor seven, and capacitor eight, among which the 0th pin of the single-chip microcomputer is grounded, the 1st pin of the single-chip microcomputer is connected to the network label KY1, the 2nd pin of the single-chip microcomputer is connected to the network label KY2, the 3rd pin of the single-chip microcomputer and the first end of capacitor one are connected to the network label CC1, the 4th pin of the single-chip microcomputer and the first end of capacitor two are connected to the network label CC2, the 5th pin of the single-chip microcomputer is connected to a 3.3V power supply, the 6th pin of the single-chip microcomputer is connected to the network label 3000K, the 7th pin of the single-chip microcomputer is connected to the network label 5000K, the 9th pin of the single-chip microcomputer is connected to the network label Int, and the 10th pin of the single-chip microcomputer is connected Connect one end of capacitor 7, pin 11 of single-chip microcomputer is connected to 3.3V power supply, pin 12 of single-chip microcomputer is connected to one end of capacitor 8, pin 13 of single-chip microcomputer is connected to network label SCL, pin 16 of single-chip microcomputer is connected to network label SDA, pin 17 of single-chip microcomputer is connected to network label Anolag, pin 18 of single-chip microcomputer is connected to network label AINP2, pin 19 of single-chip microcomputer is connected to network label AINN2, pin 21 of single-chip microcomputer is connected to network label DM0, pin 22 of single-chip microcomputer is connected to network label DP0, pin 24 of single-chip microcomputer is connected to network label EN, pin 25 of single-chip microcomputer is connected to network label LD4, pin 26 of single-chip microcomputer is connected to network label LD3, pin 27 of single-chip microcomputer is connected to network label LD2, pin 29 of single-chip microcomputer is connected to network label LD1, pin 30 of single-chip microcomputer is connected to network label PSTOP, pin 32 of single-chip microcomputer is connected to network label TC_EN, the other end of capacitor 1, the other end of capacitor 2, the other end of capacitor 7, and the other end of capacitor 8 are grounded respectively. ;

[0006] Preferably, the diode three and diode four are of model 1N4148W.

[0007] Preferably, the voltage stabilizing LDO chip model is H57133-1.

[0008] Preferably, the models of the MOS tube six and the MOS tube seven are RU30L30M.

[0009] Preferably, the model of the first and second voltage regulator tubes is MMSZ5232B.

[0010] Preferably, the battery pack is a 14.8V / 4000mAh ternary lithium battery pack with a protection plate.

[0011] Preferably, the single chip microcomputer model is CS32G020.

[0012] Compared with the prior art, the utility model has the following advantages and effects:

[0013] 1) The fast charging and discharging circuit can accurately display the real-time power of the work light. When the user connects the adapter and turns on the light, the system will automatically identify the power of the adapter. Directly driving the LED light source with the allowable power of the adapter can bring higher lumen effects and reasonably allocate the LED luminous power and battery charging power;

[0014] 2) After adopting this fast charging and discharging circuit, the work light can be charged through any adapter with a USB interface. The adapter without a protocol is slow charging, and the adapter with a protocol (20W~120W) is fast charging, which can greatly improve the user experience;

[0015] 3) The work light can be used as a charging station through the charging and discharging circuit to fast charge the mobile phone. The protocols include PD protocol, QC protocol, APPLE protocol and other fast charging protocols. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] Figure 1 It is a schematic diagram of the main circuit of the utility model embodiment.

[0017] Figure 2 This is a circuit diagram of a power supply module according to an embodiment of the utility model.

[0018] Figure 3 The figure is a circuit diagram of the indicator light module of the utility model embodiment.

[0019] Figure 4 It is a circuit diagram of a control module of an embodiment of the utility model.

[0020] Figure 5 This is a circuit diagram of the fast charging protocol MCU circuit of the utility model embodiment.

[0021] The drawings described herein are used to provide further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute improper limitations on the present application. DETAILED DESCRIPTION

[0022] In order to make the above-mentioned purposes, features and advantages of the present invention more obvious and understandable, the specific implementation methods of the present invention are described in detail below with reference to the accompanying drawings.

[0023] Example

[0024] like Figure 1-Figure 5 As shown, this embodiment includes a main circuit, a power supply module, an indicator light module, a control module and a fast charging protocol MCU circuit. The function of the power supply module is to provide the power required for the entire charging and discharging circuit. The power supply module is composed of a voltage-stabilizing LDO chip U1, a capacitor C3, a capacitor C4, a capacitor C5, a capacitor C6, a diode D3, a diode D4, and a resistor R10. Specifically, the voltage-stabilizing LDO chip U1Vin end is connected to one end of the capacitor C4, one end of the capacitor C3, and one end of the resistor R10, and the other end of the resistor R10 is connected to the cathode of the diode D3 and the cathode of the diode D4. The voltage-stabilizing LDO chip U1Vout end, one end of the capacitor C5, and one end of the capacitor C6 output 3.3V power supply, the other end of the capacitor C4, the other end of the capacitor C3, the other end of the capacitor C5, the other end of the capacitor C6, and the voltage-stabilizing LDO chip U1GND end are grounded, the positive pole of the diode D3 is connected to the network label BAT+, and the negative pole of the diode D4 is connected to the network label TCin.

[0025] like Figure 1As shown, the main circuit consists of a constant current LED light source, a precision coulomb meter module, a BUCK-BOOST step-up and step-down control circuit, a battery pack Bat1, a capacitor C14, a resistor R3, a resistor R8, a resistor R9, a MOS tube M6, a MOS tube M7, a voltage regulator Z1, a voltage regulator Z2, and a Type C female interface DC1. Specifically, the 1st pin of the constant current LED light source is connected to the 3rd pin of the precision coulomb meter module, the 2nd pin of the constant current LED light source is grounded, the 3rd pin of the constant current LED light source is connected to the network number 3000K, the 4th pin of the constant current LED light source is connected to the network number 5000K, the 5th pin of the constant current LED light source is connected to the network number Anolag, the 1st pin of the precision coulomb meter module is connected to the 2nd pin of the BUCK-BOOST step-up and step-down control circuit, the 2nd pin of the precision coulomb meter module is connected to the positive pole of the battery pack Bat1, the 4th pin of the precision coulomb meter module is connected to the network number AINN2, the 5th pin of the precision coulomb meter module is connected to the network number AINP2, the 6th pin of the precision coulomb meter module is connected to the network number BAT+, and the battery pack The negative pole of Bat1 is grounded, the 1st pin of BUCK-BOOST buck-boost control circuit is connected to the drain of MOS tube 7 M7, the 3rd pin of BUCK-BOOST buck-boost control circuit is connected to the network label SCL, the 4th pin of BUCK-BOOST buck-boost control circuit is connected to the network label SDA, the 5th pin of BUCK-BOOST buck-boost control circuit is connected to the network label PSTOP, the 6th pin of BUCK-BOOST buck-boost control circuit is connected to the network label Anolag, the 7th pin of BUCK-BOOST buck-boost control circuit is connected to the network label EN, the 8th pin of BUCK-BOOST buck-boost control circuit is connected to the network label Int, M The gate of OS tube M6, the gate of MOS tube M7, one end of resistor R8 is connected to one end of resistor R3, the other end of resistor R3 is connected to the network label TC_EN, the other end of resistor R8 is connected to the source of MOS tube M6, the source of MOS tube M7, the source and drain of MOS tube M6, one end of resistor R9, one end of capacitor C14, the DC1A4B9 pin of TypeC female interface, the DC1B4A9 pin of TypeC female interface are connected to the network label TCin, the DC1A5 pin of TypeC female interface, the positive electrode of voltage regulator Z1 is connected to the network label CC1, the DC1B5 pin of TypeC female interface, the positive electrode of voltage regulator Z2 is connected to the network Network label CC2, TypeC female interface DC1A6 pin and TypeC female interface DC1B6 pin are connected to network label DP0, TypeC female interface DC1A7 pin and TypeC female interface DC1B7 pin are connected to network label DM0, TypeC female interface DC1B1A12 pin, TypeC female interface DC1A1B12 pin, TypeC female interface DC11 pin, TypeC female interface DC12 pin, TypeC female interface DC13 pin, TypeC female interface DC14 pin, the other end of capacitor fourteen C14, the other end of resistor nine R9, the negative pole of Zener diode one Z1, and the negative pole of Zener diode two Z2 are grounded respectively.

[0026] like Figure 3 As shown, the indicator light module is composed of indicator light 1 LED1, indicator light 2 LED2, indicator light 3 LED3, indicator light 4 LED4, resistor 4 R4, resistor 5 R5, resistor 6 R6, and resistor 7 R7. Specifically, the cathode of indicator light 1 LED1, the cathode of indicator light 2 LED2, the cathode of indicator light 3 LED3, and the cathode of indicator light 4 LED4 are grounded, one end of resistor 4 R4 is connected to the anode of indicator light 1 LED1, one end of resistor 5 R5 is connected to the anode of indicator light 2 LED2, one end of resistor 6 R6 is connected to the anode of indicator light 3 LED3, one end of resistor 7 R7 is connected to the anode of indicator light 4 LED4, the other end of resistor 4 R4 is connected to the network label LD1, the other end of resistor 5 R5 is connected to the network label LD2, the other end of resistor 6 R6 is connected to the network label LD3, and the other end of resistor 7 R7 is connected to the network label LD4.

[0027] like Figure 4 As shown, the control module is composed of a key 1 Key1, a key 2 Key2, a resistor 1 R1, and a resistor 2 R2. Specifically, one end of the key 1 Key1 and one end of the key 2 Key2 are grounded respectively, the other end of the key 1 Key1 is connected to one end of the resistor 1 R1, the other end of the key 2 Key2 is connected to one end of the resistor 2 R2, the other end of the resistor 1 R1 is connected to the network label KY1, and the other end of the resistor 2 R2 is connected to the network label KY2.

[0028] like Figure 5As shown, the fast charging protocol MCU circuit is composed of a single chip microcomputer U2, a capacitor C1, a capacitor C2, a capacitor C7, and a capacitor C8. Specifically, pin 0 of the single-chip microcomputer U2 is grounded, pin 1 of the single-chip microcomputer U2 is connected to the network label KY1, pin 2 of the single-chip microcomputer U2 is connected to the network label KY2, pin 3 of the single-chip microcomputer U2 and one end of capacitor C1 are connected to the network label CC1, pin 4 of the single-chip microcomputer U2 and one end of capacitor C2 are connected to the network label CC2, pin 5 of the single-chip microcomputer U2 is connected to a 3.3V power supply, pin 6 of the single-chip microcomputer U2 is connected to the network label 3000K (i.e., a 3000K color temperature selection control pin), pin 7 of the single-chip microcomputer U2 is connected to the network label 5000K (i.e., a 5000K color temperature selection control pin), pin 9 of the single-chip microcomputer U2 is connected to the network label Int (i.e., a protection interrupt signal), pin 10 of the single-chip microcomputer U2 is connected to one end of capacitor C7, pin 11 of the single-chip microcomputer U2 is connected to a 3.3V power supply, pin 12 of the single-chip microcomputer U2 is connected to one end of capacitor C8, and pin 13 of the single-chip microcomputer U2 is connected to a 3.3V power supply. Pin 13 is connected to the network labeled SCL (i.e. the communication clock pin), pin 16 of the single-chip microcomputer U2 is connected to the network labeled SDA, pin 17 of the single-chip microcomputer U2 is connected to the network labeled Anolag (i.e. the analog dimming signal), pin 18 of the single-chip microcomputer U2 is connected to the network labeled AINP2 (i.e. the power information), pin 19 of the single-chip microcomputer U2 is connected to the network labeled AINN2 (i.e. the power information), pin 21 of the single-chip microcomputer U2 is connected to the network labeled DM0, pin 22 of the single-chip microcomputer U2 is connected to the network labeled DP0, pin 24 of the single-chip microcomputer U2 is connected to the network labeled EN (i.e. the enable end), pin 25 of the single-chip microcomputer U2 is connected to the network labeled LD4, pin 26 of the single-chip microcomputer U2 is connected to the network labeled LD3, pin 27 of the single-chip microcomputer U2 is connected to the network labeled LD2, pin 29 of the single-chip microcomputer U2 is connected to the network labeled LD1, pin 30 of the single-chip microcomputer U2 is connected to the network labeled PSTOP, Pin 32 is connected to network label TC_EN (i.e., bus switch signal), and the other end of capacitor 1 C1, the other end of capacitor 2 C2, the other end of capacitor 7 C7, and the other end of capacitor 8 C8 are grounded respectively.

[0029] The working process of the control system of this embodiment is: the voltage-stabilizing LDO chip U1 of the power supply module generates 3.3V to power the single-chip computer U2; then the battery power indicator LED lights up for 1 second to prompt the system to start working. When the button is not pressed, the high voltage is disconnected, and there is no load on the USB interface, the single-chip computer U2 enters a sleep low-power state (microampere power consumption), and all switches are disconnected at this time; when the single-chip computer U2 is in the sleep state, any of the following state changes can wake up the single-chip computer U2 and put it into working state: turning on the light by pressing a button, inserting a USB adapter through the TypeC female interface DC1, or inserting a charging load such as a mobile phone into the TypeC female interface DC1. Next, several common states are described: 1) When the constant current LED light source is in sleep mode, after the USB adapter is connected to the constant current LED light source through the mobile phone, the single-chip computer U2 is awakened by pin 3\pin 4 or pin 22\pin 21, and communicates with the USB adapter through pin 3\pin 4\pin 22\pin 21. After confirming that the adapter is inserted, the single-chip computer U2 sets the system to the power receiving mode (sink role), reads the power supply protocol mode of the adapter (PD\QC and other protocols), the load capacity of the adapter, and selects the appropriate voltage and current. After successful communication, the adapter supplies power to the constant current LED light source according to the voltage and current selected by the single-chip computer U2; at the same time, the single-chip computer U2 starts the precision coulomb meter circuit to monitor the battery power, and controls the BUCK-BOOST step-up and step-down control circuit to match the battery voltage, controls the charging state (floating charge, fast charge, slow charge, etc.), controls the on and off of the charging circuit, and the charging indicator light indicates that it is charging according to the power level; at this time, when the light is turned on by key 1 and key 2, the single-chip computer U2 The brightness of the constant current LED light source will be set according to the output power of the adapter to ensure that the adapter has enough power to charge the battery pack Bat1 while supplying the constant current LED light source with luminous power. At the same time, the microcontroller U2 program controls the 3, 4, and 5 pins of the constant current LED light source to drive the constant current LED light source to work according to the preset lumen and color temperature parameters.2) When the constant current LED light source is in the on state, when the TypeC female interface DC1 is suspended, the TypeC female interface DC1 is inserted into a load device such as a mobile phone, and the single-chip microcomputer U2 communicates with the mobile phone load through pins 3\4\22\21. After confirming that it is a mobile phone load, the mobile phone load sets the system to power supply mode (source role), reads the charging protocol mode of the mobile phone (various protocols such as PD\QC), and sends the output voltage and current that the system can provide for the mobile phone to choose. After successful communication, the system charges the mobile phone according to the voltage and current selected by the single-chip microcomputer U2; at the same time, the single-chip microcomputer U2 starts the precision coulomb meter circuit to monitor the battery power, and controls the BUCK-BOOST step-up and step-down control circuit to match the voltage required for mobile phone charging. Indicator light LED1, indicator light LED2, indicator light LED3, and indicator light LED4 indicate the remaining power. If the battery power enters a low power state, the system turns off the light to protect the battery pack Bat1. In addition, the key 1 is the brightness switch of the constant current LED light source. Pressing it for the first time turns on the high brightness, pressing it for the second time turns on the medium brightness, pressing it for the third time turns on the low brightness, and pressing it for the fourth time turns off the light, and so on. The key 2 is the color temperature switch of the constant current LED light source. Pressing it for the first time selects 3000K, pressing it for the second time selects 4000K, and pressing it for the third time selects 5000K, and so on.

[0030] All functions implemented by the workflow of the above control system can be realized by a preset program, which is a prior art and will not be described in detail in this embodiment.

[0031] In this embodiment, the specific parameters or models of each electronic component include: resistor 1 R1, 1K; resistor 2 R2, 1K; resistor 3 R3, 1K; resistor 4 R4, 1K; resistor 5 R5, 1K; resistor 6 R6, 1K; resistor 7 R7, 1K; resistor 8 R8, 100K; resistor 9 R9, 10K; resistor 10 R10, 10; capacitor 1 C1, 300pF; capacitor 2 C2, 300pF; capacitor 3 C3, 10uF; capacitor 4 C4, 0.1uF; capacitor 5 C5, 0.1uF; capacitor 6 C6, 10uF; capacitor 7 C7, 4.7uF; capacitor 8 C8, 1uF; capacitor 14 C14, 1uF. The diode three D3 and the diode four D4 are of the model 1N4148W; the voltage regulator LDO chip U1 is of the model H57133-1; the MOS tube six M6 and the MOS tube seven M7 are of the model RU30L30M; the voltage regulator tube one Z1 and the voltage regulator tube two Z2 are of the model MMSZ5232B; the battery pack Bat1 is a ternary lithium battery pack Bat1 with a protection board of 14.8V / 4000mAh; the single chip microcomputer U2 is of the model CS32G020. The parameters and models of the electronic components are only one preferred embodiment of the present invention, but not only this preferred embodiment.

[0032] The above contents described in this specification are merely examples of the present utility model. Those skilled in the art of the present utility model may make various modifications or additions to the specific embodiments described, or replace them in similar ways, as long as they do not deviate from the contents of the present utility model specification or exceed the scope defined in the claims, they shall all fall within the protection scope of the present utility model.

Claims

1. A charging and discharging circuit of a working light containing a precision coulomb meter, comprising a main circuit, a power supply module, an indicator light module, a control module and a fast charging protocol MCU circuit, characterized in that: The power supply module is composed of a voltage-stabilizing LDO chip, capacitor three, capacitor four, capacitor five, capacitor six, diode three, diode four, and resistor ten, wherein the Vin end of the voltage-stabilizing LDO chip is connected to one end of capacitor four, one end of capacitor three, and one end of resistor eleven, the other end of resistor ten is connected to the negative electrode of diode three and the negative electrode of diode four, the Vout end of the voltage-stabilizing LDO chip, one end of capacitor five, and one end of capacitor six output 3.3V power supply, the other end of capacitor four, the other end of capacitor three, the other end of capacitor five, the other end of capacitor six, and the GND end of the voltage-stabilizing LDO chip are grounded, the positive electrode of diode three is connected to the network labeled BAT+, and the negative electrode of diode four is connected to the network labeled TCin; The main circuit consists of a constant current LED light source, a precision coulomb meter module, a BUCK-BOOST step-up and step-down control circuit, a battery pack, capacitor 14, resistor 3, resistor 8, resistor 9, MOS tube 6, MOS tube 7, voltage regulator tube 1, voltage regulator tube 2, and a Type C female interface. The 1st pin of the constant current LED light source is connected to the 3rd pin of the precision coulomb meter module, the 2nd pin of the constant current LED light source is grounded, the 3rd pin of the constant current LED light source is connected to the network number 3000K, the 4th pin of the constant current LED light source is connected to the network number 5000K, the 5th pin of the constant current LED light source is connected to the network number Anolag, and the 1st pin of the precision coulomb meter module is connected to the BUCK-BOOST step-up and step-down control circuit 2nd pin, 2nd pin of the precision coulomb counter module is connected to the positive pole of the battery pack, 4th pin of the precision coulomb counter module is connected to the network label AINN2, 5th pin of the precision coulomb counter module is connected to the network label AINP2, 6th pin of the precision coulomb counter module is connected to the network label BAT+, the negative pole of the battery pack is grounded, 1st pin of the BUCK-BOOST buck-boost control circuit is connected to the drain of the MOS tube 7, 3rd pin of the BUCK-BOOST buck-boost control circuit is connected to the network label SCL, 4th pin of the BUCK-BOOST buck-boost control circuit is connected to the network label SDA, 5th pin of the BUCK-BOOST buck-boost control circuit is connected to the network label PSTOP, Pin 6 of the buck control circuit is connected to the network label Anolag, pin 7 of the BUCK-BOOST buck-boost control circuit is connected to the network label EN, pin 8 of the BUCK-BOOST buck-boost control circuit is connected to the network label Int, gate 6 of MOS tube, gate 7 of MOS tube, one end of resistor 8 is connected to one end of resistor 3, the other end of resistor 3 is connected to the network label TC_EN, the other end of resistor 8 is connected to the source of MOS tube 6, the source of MOS tube 7, the source and drain of MOS tube 6, one end of resistor 9, one end of capacitor 14, pin A4B9 of TypeC female interface, pin B4A9 of TypeC female interface are connected to the network label TCin, and pin A of TypeC female interface Pin 5, the positive pole of the voltage regulator tube 1 is connected to the network label CC1, pin B5 of TypeC female interface, the positive pole of the voltage regulator tube 2 is connected to the network label CC2, pin A6 of TypeC female interface, pin B6 of TypeC female interface is connected to the network label DP0, pin A7 of TypeC female interface, pin B7 of TypeC female interface is connected to the network label DM0, pin B1A12 of TypeC female interface, pin A1B12 of TypeC female interface, pin 1 of TypeC female interface, pin 2 of TypeC female interface, pin 3 of TypeC female interface, pin 4 of TypeC female interface, the other end of capacitor 14, the other end of resistor 9, the negative pole of the voltage regulator tube 1, and the negative pole of the voltage regulator tube 2 are grounded respectively; The indicator light module is composed of indicator light 1, indicator light 2, indicator light 3, indicator light 4, resistor 4, resistor 5, resistor 6 and resistor 7, wherein the negative pole of indicator light 1, the negative pole of indicator light 2, the negative pole of indicator light 3 and the negative pole of indicator light 4 are grounded, one end of resistor 4 is connected to the positive pole of indicator light 1, one end of resistor 5 is connected to the positive pole of indicator light 2, one end of resistor 6 is connected to the positive pole of indicator light 3, one end of resistor 7 is connected to the positive pole of indicator light 4, the other end of resistor 4 is connected to the network label LD1, the other end of resistor 5 is connected to the network label LD2, the other end of resistor 6 is connected to the network label LD3, and the other end of resistor 7 is connected to the network label LD4; The control module is composed of a button 1, a button 2, a resistor 1, and a resistor 2, wherein one end of the button 1 and one end of the button 2 are grounded respectively, the other end of the button 1 is connected to one end of the resistor 1, the other end of the button 2 is connected to one end of the resistor 2, the other end of the resistor 1 is connected to a network number KY1, and the other end of the resistor 2 is connected to a network number KY2; The fast charging protocol MCU circuit is composed of a single-chip microcomputer, capacitor 1, capacitor 2, capacitor 7, and capacitor 8. Among them, the single-chip microcomputer 0 pin is grounded, the single-chip microcomputer 1 pin is connected to the network label KY1, the single-chip microcomputer 2 pin is connected to the network label KY2, the single-chip microcomputer 3 pin and the capacitor 1 end are connected to the network label CC1, the single-chip microcomputer 4 pin and the capacitor 2 end are connected to the network label CC2, the single-chip microcomputer 5 pin is connected to the 3.3V power supply, the single-chip microcomputer 6 pin is connected to the network label 3000K, the single-chip microcomputer 7 pin is connected to the network label 5000K, the single-chip microcomputer 9 pin is connected to the network label Int, the single-chip microcomputer 10 pin is connected to the capacitor 7 end, the single-chip microcomputer 11 pin is connected to the 3.3V power supply, the single-chip microcomputer 12 pin is connected to the capacitor 8 end, the single-chip microcomputer 13 pin is connected to the network label SCL, and the single-chip microcomputer 16 pin is connected Connect to network label SDA, pin 17 of the MCU is connected to network label Anolag, pin 18 of the MCU is connected to network label AINP2, pin 19 of the MCU is connected to network label AINN2, pin 21 of the MCU is connected to network label DM0, pin 22 of the MCU is connected to network label DP0, pin 24 of the MCU is connected to network label EN, pin 25 of the MCU is connected to network label LD4, pin 26 of the MCU is connected to network label LD3, pin 27 of the MCU is connected to network label LD2, pin 29 of the MCU is connected to network label LD1, pin 30 of the MCU is connected to network label PSTOP, pin 32 of the MCU is connected to network label TC_EN, the other end of capacitor 1, the other end of capacitor 2, the other end of capacitor 7, and the other end of capacitor 8 are grounded respectively.

2. The charging and discharging circuit of a working lamp containing a precision coulomb meter according to claim 1, characterized in that: The diode three and the diode four are of model 1N4148W.

3. The charging and discharging circuit of a working lamp containing a precision coulomb meter according to claim 1 is characterized in that: The voltage stabilizing LDO chip model is H57133-1.

4. The charging and discharging circuit of a working lamp containing a precision coulomb meter according to claim 1 is characterized in that: The models of the MOS tube six and the MOS tube seven are RU30L30M.

5. The charging and discharging circuit of a working lamp containing a precision coulombmeter according to claim 1, characterized in that: The model of the voltage regulator tube 1 and the voltage regulator tube 2 is MMSZ5232B.

6. The charging and discharging circuit of a working lamp containing a precision coulomb meter according to claim 1, characterized in that: The battery pack is a 14.8V / 4000mAh ternary lithium battery pack with a protection board.

7. The charging and discharging circuit of a working lamp containing a precision coulomb meter according to claim 1, characterized in that: The single chip microcomputer model is CS32G020.