A charging alarm control circuit for digital products
By designing a charging alarm control circuit in the charger, real-time monitoring and protection of the charging process is achieved, the problems of overvoltage, overcurrent and overtemperature during the charging process are solved, and the safety and reliability of digital products are improved.
Patent Information
- Application Number
- CN201910476843.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-06-03
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2039-06-03
AI Technical Summary
Existing chargers have weak resistance performance in harsh power grid environments, which can easily cause digital products to be damaged due to overheating or overvoltage during the charging process, leading to spontaneous combustion problems and the lack of effective protection measures.
Design a digital product charging alarm control circuit, including a micro control unit, buzzer drive circuit, wireless module, external power supply voltage detection circuit, external temperature detection circuit, power management IC circuit and current detection and control circuit, through these components Real-time monitoring and protection of the charging process, including over-voltage, over-current and over-temperature protection functions.
It effectively prevents digital products from being damaged due to overvoltage, overcurrent and overtemperature during charging, improves the safety and reliability of the charger, and avoids the risk of spontaneous combustion of equipment.
Smart Images

Figure CN110165741B
Abstract
Description
Technical Field
[0001] The invention relates to a charging alarm control circuit, in particular to a charging alarm control circuit for a digital product, and belongs to the technical field of charging alarm control circuits. Background Art
[0002] The charger uses high-frequency power supply technology and advanced intelligent dynamic adjustment charging technology. The industrial frequency machine is designed based on traditional analog circuit principles. The internal power devices of the machine (such as transformers, inductors, capacitors, etc.) are relatively large. Generally, there is a small noise when running with a large load. However, this model has strong resistance to harsh power grid environment conditions, and its reliability and stability are stronger than those of high-frequency machines.
[0003] Nowadays, there is little protection for chargers. Digital products are often damaged or spontaneously combust due to overheating and overvoltage during the charging process. Therefore, a circuit with charging alarm control for digital products is needed to protect digital products during charging. Summary of the invention
[0004] The main purpose of the present invention is to provide a charging alarm control circuit for a digital product, which has the function of protecting a charging head from overcurrent, overvoltage and overtemperature.
[0005] The purpose of the present invention can be achieved by adopting the following technical solutions:
[0006] A charging alarm control circuit for digital products, comprising a micro control unit, a buzzer driving circuit, a wireless module, an external power supply voltage detection circuit, an external temperature detection circuit, a power management IC circuit, an external power supply circuit, a current detection and control circuit and an output port, characterized in that the micro control unit is used for charging control, arming control, alarm control and status display;
[0007] Buzzer driving circuit: When an alarm occurs, the buzzer is driven to emit a sharp alarm sound to serve as an alarm reminder;
[0008] Wireless module: plays the role of wireless reception;
[0009] External power supply voltage detection circuit: used to detect the external voltage. When the external voltage is too high, the external charging circuit is cut off through the control of the microcontroller unit.
[0010] External temperature detection circuit: used to detect the temperature of the external device charging head during charging. When the temperature of the external device charging head is too high, the microcontroller unit cuts off the current of this port;
[0011] Power management IC circuit: used to control the flow and direction of power output from the external power supply circuit to meet the control needs of the microcontroller unit;
[0012] External power supply circuit: used to provide a stable voltage to the microcontroller unit;
[0013] Current detection and control circuit: plays the role of detecting and controlling the current when charging through the first output port;
[0014] The microcontroller unit receives or sends wireless signals through the wireless module, the microcontroller unit controls the buzzer driving circuit to sound the alarm of the buzzer SP1, the microcontroller unit receives the voltage signal fed back from the external power supply and the temperature signal at the charging head of the external device through the external temperature detection circuit and the external temperature detection circuit, the microcontroller unit detects and controls the charging of the current at the output port through the current detection and control circuit and feeds back its control signal to the microcontroller unit, and the power management IC circuit cooperates with the microcontroller unit to control the external power supply circuit to supply power to the microcontroller unit and the output port.
[0015] Preferably, P1.0, P1.1, P1.2, P1.3, P1.4 and P1.5 in the microcontroller are all set as ADC interface terminals, P1.0, P1.1 and P1.2 are respectively connected to the AD1 interface terminal in the first current detection and control circuit, the AD2 interface terminal in the second current detection and control circuit and the AD3 interface terminal in the third current detection and control circuit, P1.3 is connected to the Detector-DC interface terminal in the external power supply voltage detection circuit, P1.4 is connected to the cathode of the light-emitting diode D1 through a wire, the anode of the light-emitting diode D1 is connected to one end of the resistor R17 through a wire, and the other end of the resistor R17 is connected to the power supply VCC through a wire, P1.5 is connected to one end of the resistor R9 in the buzzer drive circuit through a wire, P1.6 and P1.7 in the microcontroller are both set as XTAL\ADC interface terminals, P1.6 is connected to the PT1 terminal of the MICRO USB in the first current detection and control circuit, wherein the MICRO The 6, 7, 8 and 9 terminals of the USB are connected, P1.7 is connected to the PT2 terminal of the MICRO USB in the second current detection and control circuit, wherein the 6, 7, 8 and 9 terminals of the MICRO USB are connected, P5.4 in the microcontroller unit is set as the RST interface terminal, and P5.4 is connected to the RED2 terminal in the port LED display circuit, the P5.5 interface terminal in the microcontroller unit is connected to the BLUE2 terminal in the port LED display circuit, P3.2 and P3.3 in the microcontroller unit are both set as the INT interface terminal, P3.2 is connected to the RED1 terminal in the port LED display circuit, P3.3 is connected to the BLUE1 terminal in the port LED display circuit, the VCC interface terminal in the microcontroller unit is connected in parallel with a resistor R5 and a capacitor C7 through a wire, the other end of the capacitor C7 is grounded, the other end of the resistor R5 is connected to the power supply VCC, the GND interface terminal in the microcontroller unit is grounded, P3.0 in the microcontroller unit is set as the RXD interface terminal, P3.1 is set as the TXD interface terminal, P3.0 is connected to the 3 interface in the software download port JP2, P3. 1 is connected to the 4th interface of the software download port JP2 and the resistor R12, the other end of the resistor R12 is connected to the 3rd interface of the linkage switch SW1, the 4th interface of the linkage switch SW and one end of the resistor R14, the other end of the resistor R14 is connected to the power supply VCC, the 1st interface of the linkage switch SW1 and the 2nd interface of the linkage switch SW are connected to the ground, the 1st interface of the software download port JP2 is connected to the power supply VCC, the 2nd interface of the software download port JP2 is grounded, P2.2 and P2.3 in the micro control unit are respectively connected to the S1CONB and S1CONA interfaces in the first current detection and control circuit, P2.4 and P2.5 in the micro control unit are respectively connected to the S2CONB and S2CONA interfaces in the second current detection and control circuit, P2.6 and P2.7 in the micro control unit are respectively connected to the S3CONB and S3CONA interfaces in the third current detection and control circuit, and P2.1. P2.0, P3.7, P3.6, P3.5 and P3.4 are respectively connected to port 3 CE, port 4 CS, port 5 SCK, port 6 MOSI, port 7 MISO and port 8 IRQ in the wireless module XN1. Port 1 in the wireless module XN1 is connected in parallel with a group of resistor R4 and capacitor C6. The other end of resistor R4 is connected to the power supply VCC, and the other end of capacitor C6 is connected to the wireless module XN1 and grounded. .
[0016] Preferably, the port LED display circuit includes a first port LED display circuit and a second port LED display circuit, in the first port LED display circuit, RED1 connected to P3.2 in the micro control unit is connected in series with a resistor R31, and the other end of the resistor R31 is connected to the base 1 of the transistor Q8, the emitter 2 of the transistor Q8 is grounded, the collector 3 of the transistor Q8 is connected to the cathode of the diode D8, the anode of the diode D8 is connected to a resistor R22, the other end of the resistor R22 is set to the LED R1 end and is connected to the 3 terminal of the MICRO USB in the first current detection and control circuit, in the port LED display circuit, BLUE1 connected to P3.3 in the micro control unit is connected in series with a resistor R34, the other end of the resistor R34 is connected to the base 1 of the transistor Q10, the emitter 2 of the transistor Q10 is grounded, the collector 3 of the transistor Q10 is connected in series with a resistor R23, the other end of the resistor R23 is set to the LED B1 and is connected to the MICRO USB in the first current detection and control circuit 2 terminal of the USB, RED2 in the second port LED display circuit connected to P5.4 in the micro control unit is connected in series with a resistor R32, the other end of the resistor R32 is connected to the base 1 of the transistor Q9, the emitter 2 of the transistor Q9 is grounded, the collector 3 of the transistor Q9 is connected to the cathode of the diode D9, the anode of the diode D9 is connected to a resistor R33, the other end of the resistor R33 is set to the LED R2 terminal and is connected to the 3 terminal of the MICRO USB in the second current detection and control circuit, BLUE2 in the port LED display circuit connected to P5.5 in the micro control unit is connected in series with a resistor R35, the other end of the resistor R35 is connected to the base 1 of the transistor Q11, the emitter 2 of the transistor Q11 is grounded, the collector 3 of the transistor Q11 is connected in series with a resistor R36, the other end of the resistor R36 is set to LED B2 and is connected to the 2 terminal of the MICRO USB in the second current detection and control circuit.
[0017] Preferably, the other end of the resistor R9 in the buzzer driving circuit connected to P1.5 in the microcontroller unit is connected to the base 1 of the transistor Q2, the emitter 2 of the transistor Q2 is grounded, the collector 3 of the transistor Q2 is connected to the 2 terminal of the buzzer SP1, the 2 terminal of T1 and one end of the capacitor C10, the 1 terminal of the buzzer is connected in series with a capacitor C11, the other end of C11 is grounded, the 3 terminal of T1 is connected to the 1 terminal of the buzzer, the 1 terminal of T1 is connected to VBAT through a wire, and the other end of the capacitor C10 is grounded.
[0018] Preferably, the current detection and control circuit includes a first current detection and control circuit and a second current detection and control circuit, one end of S1CONA in the first current detection and control circuit connected to P2.3 in the micro control unit is connected in series with a resistor R15, the other end of the resistor R15 is connected to the gate of the field effect transistor Q1, the source of the field effect transistor Q1 is connected to the anode of the diode D5, the capacitor C12 and the resistor R16, the cathode of the diode D5 and the other end of the capacitor C12 are connected to one end of the resistor R18 and grounded, the drain of the field effect transistor Q1, the other end of the resistor R16 and one end of the transient voltage suppression diode TVS1 are all connected to the 5th terminal of the MICRO USB in the first current detection and control circuit, the other end of the transient voltage suppression diode TVS1 is grounded, and the MICRO The 5th terminal of USB is connected to the drain of field effect transistor Q3, the source of field effect transistor Q3 is connected to the other end of resistor R18 and the drain of field effect transistor Q4, the gate of field effect transistor Q3 is connected to one end of resistor R20, the source of field effect transistor Q4 is connected to one end of resistor R38, and the connection point is point P1, the gate of field effect transistor Q4 is connected to one end of resistor R21, the other end of resistor R21 is connected to the other end of resistor R20, and the connection point is S1CONB connected to P2.3 in the micro control unit, the other end of resistor R38 is connected to capacitor C15, the other end of capacitor C15 is grounded, and the connection point between resistor R38 and capacitor C15 is AD1 connected to P1.0 in the micro control unit, and MICRO in the first current detection and control circuit The 1 connection port of the USB outputs a 5V DC voltage, one end of S2CONA connected to P2.5 in the micro control unit in the second current detection and control circuit is connected in series with a resistor R26, the other end of the resistor R26 is connected to the gate of the field effect transistor Q5, the source of the field effect transistor Q5 is connected to the anode of the diode D7, the capacitor C14 and the resistor R27, the cathode of the diode D7 and the other end of the capacitor C14 are connected to one end of the resistor R28 and grounded, the drain of the field effect transistor Q5, the other end of the resistor R27 and one end of the transient voltage suppression diode TVS2 are all connected to the 5 connection terminal of the MICRO USB in the second current detection and control circuit, the other end of the transient voltage suppression diode TVS2 is grounded, and the MICRO in the second current detection and control circuit The 5th terminal of USB is connected to the drain of field effect transistor Q6, the source of field effect transistor Q6 is connected to the other end of resistor R28 and the drain of field effect transistor Q7, the gate of field effect transistor Q6 is connected to one end of resistor R29, the source of field effect transistor Q7 is connected to one end of resistor R37, and the connection point is point P2, the gate of field effect transistor Q7 is connected to one end of resistor R30, the other end of resistor R30 is connected to the other end of resistor R29, and the connection point is S2CONB and P2 in the micro control unit.4, the other end of the resistor R37 is connected to the capacitor C16, the other end of the capacitor C16 is grounded, and the connection point between the resistor R37 and the capacitor C16 is AD2 connected to P1.1 in the micro control unit, and the 1 connection port of the MICRO USB in the second current detection and control circuit outputs a 5V DC voltage. .
[0019] Preferably, the external temperature detection circuit includes a first port temperature detection circuit and a second port temperature detection circuit, the PT1 connection point in the first port temperature detection circuit is connected to P1.6 in the micro control unit and is connected to capacitor C8, resistor R10, thermistor PT1 and resistor R13, the other ends of resistor R13, capacitor C8 and resistor R10 are connected to each other and grounded, the other end of thermistor PT1 is connected to the upper resistor R7, the other end of the upper resistor R7 is connected to the power supply, the connection point between thermistor PT1 and the upper resistor R7 is set as PT1A connection point, the PT1A connection point is connected to MICRO in the first current detection and control circuit The PT2 wiring point in the second port temperature detection circuit is connected to P1.7 in the micro control unit and is connected to capacitor C13, resistor R24, thermistor PT2 and resistor R25. The other ends of resistor R25, capacitor C13 and resistor R24 are connected to each other and grounded. The other end of thermistor PT2 is connected to the upper resistor R11. The other end of the upper resistor R11 is connected to the power supply. The connection point between thermistor PT2 and the upper resistor R11 is set as PT2A wiring point, and the PT2A wiring point is connected to the MICRO USB 4 wiring ports in the second current detection and control circuit.
[0020] Preferably, the other end of the Detector-DC connected to P1.3 in the external power supply voltage detection circuit is connected to resistors R6 and R8, the other end of resistor R8 is grounded, the other end of resistor R6 is connected to one end of resistor R3, the other end of resistor R3 outputs voltage, and the other end of resistor R3 is connected to the positive electrode of capacitor C5 and polarity capacitor C4, the other end of capacitor C5 is grounded, and the negative electrode of polarity capacitor C4 is grounded.
[0021] Preferably, the power management IC circuit includes a charging management IC chip U2, which is connected to the positive electrode of the polarity capacitor C4 with the digital interface VIN end of the charging management IC chip U2, the class pin PROG in the charging management IC chip U2 is connected to one end of the resistor R2, the other end of the resistor R2 is grounded, the voltage output terminal VOUT of the charging management IC chip U2 is connected to the 1 interface in the battery BAT, the digital ground VSS in the charging management IC chip U2 is grounded, and the voltage output terminal VOUT of the charging management IC chip U2 is also connected to the capacitor C3, and the other end of the capacitor C3 is grounded, the 2 terminal of the battery BAT is grounded, and the voltage output terminal VOUT of the charging management IC chip U2 and the 1 interface in the battery BAT are the BAT point.
[0022] Preferably, the external power supply circuit includes a power supply circuit and an auxiliary power supply circuit, the power supply circuit includes a charging management IC chip U1, the input end IN of the charging management IC chip U1 is connected to a capacitor C2, a positive electrode of a polar capacitor C9, a cathode of a diode D6 and a cathode of a diode D4, the other end of the capacitor C2 is connected to a negative electrode of the polar capacitor C9 and is grounded, the anode of the diode D6 outputs a voltage, the anode of the diode D4 is connected to a voltage output end VOUT of the charging management IC chip U2 and a BAT point at an interface 1 in the battery BAT, the ground end GND of the charging management IC chip U1 is connected to the ground, the output end OUT of the charging management IC chip U1 is connected to a capacitor C1 and a power supply VCC, the other end of the capacitor C1 is grounded, and a resistor R1 is connected to the voltage output end VOUT of the charging management IC chip U2 and a BAT point at an interface 1 in the battery BAT in the auxiliary power supply circuit, the other end of the resistor R1 is connected to the anode of the diode D2, and the cathode of the diode D2 outputs a voltage.
[0023] Beneficial technical effects of the present invention:
[0024] 1. Overvoltage protection: R3, R6, and R8 in the circuit form a voltage sampling circuit, and the sampled voltage is sent to the MCU. When the external voltage is too high (exceeding the preset voltage), Q1, Q3, and Q4 are turned off through the control of the MCU, and the external charging current is cut off to play an overvoltage protection role.
[0025] 2. Overcurrent protection: After entering the defense mode, when Q1, Q3, and Q4 are all turned on, the level detected at the P1 terminal is the voltage of R18 (small resistance, small internal resistance of the MOS tube, so this voltage is very small). When the charging current is large (or the load is short-circuited), the voltage on R18 increases further. When it exceeds the preset value, it is controlled by the MCU. At this time, Q1, Q3, and Q4 are all cut off (S1_CONA, S1_CONB are low level). At this time, the charging circuit: +5V load port 5 pin----R16, D5 charging current is very small, which plays an overcurrent protection role. When overcurrent occurs, the voltage detected by the ADC is the voltage at the D5 terminal.
[0026] 3. Over-temperature protection: R7, PT1 (thermistor, this resistor is welded on the external charging head, used to detect the temperature of the connection between the external charging head and the external device) C8, R10 in the circuit form a voltage sampling circuit. When the voltage is detected to exceed the preset voltage (the temperature at the connection between the charging head and the device is too high), the charging current of the external device is cut off through the control of the MCU to play an over-temperature protection role. This function is mainly considered that the charging current is not very large, but due to other reasons, the temperature at the connection between the charging head and the external device is too high, which may burn the charging head or the external device. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] Figure 1 A system diagram of a preferred embodiment of a charging alarm control circuit for digital products according to the present invention;
[0028] Figure 2 A micro control unit and a bottom switch circuit diagram of an alarm according to a preferred embodiment of a digital product charging alarm control circuit of the present invention;
[0029] Figure 3 A wireless module circuit diagram of a preferred embodiment of a digital product charging alarm control circuit according to the present invention;
[0030] Figure 4 A circuit diagram of a software download port according to a preferred embodiment of a charging alarm control circuit for digital products of the present invention;
[0031] Figure 5 A port LED display circuit diagram of a preferred embodiment of a charging alarm control circuit for digital products according to the present invention;
[0032] Figure 6 A buzzer driving circuit diagram of a preferred embodiment of a digital product charging alarm control circuit according to the present invention;
[0033] Figure 7 A first current detection and control circuit diagram of a preferred embodiment of a charging alarm control circuit for a digital product according to the present invention;
[0034] Figure 8 A second current detection and control circuit diagram of a preferred embodiment of the digital product charging alarm control circuit of the present invention;
[0035] Fig. 9 A first external temperature detection circuit diagram of a preferred embodiment of a digital product charging alarm control circuit according to the present invention;
[0036] Fig.10 A second external temperature detection circuit diagram of a preferred embodiment of a digital product charging alarm control circuit according to the present invention;
[0037] Fig.11 It is a circuit diagram of an external power supply voltage detection circuit according to a preferred embodiment of the digital product charging alarm control circuit of the present invention;
[0038] Fig.12 A power management IC circuit diagram of a preferred embodiment of a digital product charging alarm control circuit according to the present invention;
[0039] Fig.13 The present invention is a circuit diagram of an external power supply according to a preferred embodiment of a charging alarm control circuit for a digital product. DETAILED DESCRIPTION
[0040] In order to make the technical solution of the present invention more clear and specific to those skilled in the art, the present invention is further described in detail below in conjunction with embodiments and drawings, but the implementation manner of the present invention is not limited thereto.
[0041] In this embodiment, if Figure 1 As shown, the digital product charging alarm control circuit provided in this embodiment includes a microcontroller unit, a buzzer driving circuit, a wireless module, an external power supply voltage detection circuit, an external temperature detection circuit, a power management IC circuit, an external power supply circuit, a current detection and control circuit and an output port. The microcontroller unit receives or sends a wireless signal through the wireless module, the microcontroller unit controls the buzzer driving circuit to alarm the buzzer SP1, the microcontroller unit receives the voltage signal fed back from the external power supply and the temperature signal at the charging head of the external device through the external temperature detection circuit and the external temperature detection circuit, the microcontroller unit detects and controls the charging of the output port through the current detection and control circuit and feeds back its control signal to the microcontroller unit, and the power management IC circuit cooperates with the microcontroller unit to control the external power supply circuit to power the microcontroller unit and the output port.
[0042] In this embodiment, if Figure 2 , Figure 3 and Figure 4As shown, P1.0, P1.1, P1.2, P1.3, P1.4 and P1.5 in the microcontroller are all set as ADC interface terminals, P1.0, P1.1 and P1.2 are respectively connected to the AD1 interface terminal in the first current detection and control circuit, the AD2 interface terminal in the second current detection and control circuit and the AD3 interface terminal in the third current detection and control circuit, P1.3 is connected to the Detector-DC interface terminal in the external power supply voltage detection circuit, P1.4 is connected to the cathode of the light-emitting diode D1 through a wire, the anode of the light-emitting diode D1 is connected to one end of the resistor R17 through a wire, and the other end of the resistor R17 is connected to the power supply VCC through a wire, P1.5 is connected to one end of the resistor R9 in the buzzer drive circuit through a wire, P1.6 and P1.7 in the microcontroller are all set as XTAL\ADC interface terminals, P1.6 is connected to the PT1 terminal of the MICRO USB in the first current detection and control circuit, wherein the MICRO The 6, 7, 8 and 9 terminals of the USB are connected, P1.7 is connected to the PT2 terminal of the MICROUSB in the second current detection and control circuit, wherein the 6, 7, 8 and 9 terminals of the MICRO USB are connected, P5.4 in the microcontroller unit is set as the RST interface terminal, and P5.4 is connected to the RED2 terminal in the port LED display circuit, the P5.5 interface terminal in the microcontroller unit is connected to the BLUE2 terminal in the port LED display circuit, P3.2 and P3.3 in the microcontroller unit are both set as the INT interface terminal, P3.2 is connected to the RED1 terminal in the port LED display circuit, P3.3 is connected to the BLUE1 terminal in the port LED display circuit, the VCC interface terminal in the microcontroller unit is connected in parallel with a resistor R5 and a capacitor C7 through a wire, the other end of the capacitor C7 is grounded, the other end of the resistor R5 is connected to the power supply VCC, the GND interface terminal in the microcontroller unit is grounded, P3.0 in the microcontroller unit is set as the RXD interface terminal, P3.1 is set as the TXD interface terminal, P3.0 is connected to the 3 interface in the software download port JP2, P3. 1 is connected to the 4th interface of the software download port JP2 and the resistor R12, the other end of the resistor R12 is connected to the 3rd interface of the linkage switch SW1, the 4th interface of the linkage switch SW and one end of the resistor R14, the other end of the resistor R14 is connected to the power supply VCC, the 1st interface of the linkage switch SW1 and the 2nd interface of the linkage switch SW are connected to the ground, the 1st interface of the software download port JP2 is connected to the power supply VCC, the 2nd interface of the software download port JP2 is grounded, P2.2 and P2.3 in the micro control unit are respectively connected to the S1CONB and S1CONA interfaces in the first current detection and control circuit, P2.4 and P2.5 in the micro control unit are respectively connected to the S2CONB and S2CONA interfaces in the second current detection and control circuit, P2.6 and P2.7 in the micro control unit are respectively connected to the S3CONB and S3CONA interfaces in the third current detection and control circuit, and P2.1. P2.0, P3.7, P3.6, P3.5 and P3.4 are respectively connected to port 3 CE, port 4 CS, port 5 SCK, port 6 MOSI, port 7 MISO and port 8 IRQ in the wireless module XN1. Port 1 in the wireless module XN1 is connected in parallel with a group of resistor R4 and capacitor C6. The other end of resistor R4 is connected to the power supply VCC, and the other end of capacitor C6 is connected to the wireless module XN1 and grounded. .
[0043] Charging control, deployment control, alarm control and status display are realized through the micro control unit, and digital wireless reception and transmission of the micro control unit are realized through the wireless module XN1. The software download port JP2 is used to download the program online, wherein the other end of the resistor R12 is connected to the 3 interface of the linkage switch SW1, the 4 interface of the linkage switch SW and one end of the resistor R14, and the other end of the resistor R14 is connected to the power supply VCC. The 1 interface of the linkage switch SW1 and the 2 interface of the linkage switch SW are connected to form the bottom switch of the alarm. When the alarm is in the anti-theft state, when it is considered to be pried up, an alarm is triggered, and the anti-theft device and the external device are taken away artificially.
[0044] The microcontroller involved in this article uses the LAP5W413AS model single-chip microcomputer, which has a central processing unit CPU with good digital processing capabilities, random access memory RAM, read-only memory ROM, multiple I / O ports and interrupt systems, timer / counter and other functional display drive circuits, pulse width modulation circuits, analog multiplexers, A / D converters and other circuits.
[0045] In this embodiment, if Figure 5As shown, the port LED display circuit includes a first port LED display circuit and a second port LED display circuit. In the first port LED display circuit, RED1 connected to P3.2 in the micro control unit is connected in series with a resistor R31, and the other end of the resistor R31 is connected to the base 1 of the transistor Q8, the emitter 2 of the transistor Q8 is grounded, the collector 3 of the transistor Q8 is connected to the cathode of the diode D8, the anode of the diode D8 is connected to a resistor R22, the other end of the resistor R22 is set to the LED R1 end and is connected to the 3 terminal of the MICRO USB in the first current detection and control circuit, and the port LED display circuit BLUE1 connected to P3.3 in the micro control unit is connected in series with a resistor R34, the other end of the resistor R34 is connected to the base 1 of the transistor Q10, the emitter 2 of the transistor Q10 is grounded, the collector 3 of the transistor Q10 is connected in series with a resistor R23, the other end of the resistor R23 is set to the LED B1 and is connected to the MICRO USB in the first current detection and control circuit. 2 terminal of the USB, RED2 connected to P5.4 in the micro control unit in the second port LED display circuit is connected in series with a resistor R32, the other end of the resistor R32 is connected to the base 1 of the transistor Q9, the emitter 2 of the transistor Q9 is grounded, the collector 3 of the transistor Q9 is connected to the cathode of the diode D9, the anode of the diode D9 is connected to a resistor R33, the other end of the resistor R33 is set to the LED R2 terminal and is connected to the 3 terminal of the MICRO USB in the second current detection and control circuit, BLUE2 connected to P5.5 in the micro control unit in the port LED display circuit is connected in series with a resistor R35, the other end of the resistor R35 is connected to the base 1 of the transistor Q11, the emitter 2 of the transistor Q11 is grounded, the collector 3 of the transistor Q11 is connected in series with a resistor R36, the other end of the resistor R36 is set to LED B2 and is connected to the 2 terminal of the MICRO USB in the second current detection and control circuit, and the port LED display circuit is used to display whether the external device is connected or whether an alarm occurs.
[0046] The diodes involved in this article are all 1N5819, which is a Schottky diode with a reverse withstand voltage of 40V and a rated forward current of 1A. The reverse recovery time of 1N5819 is extremely short, making it suitable for high-frequency circuits. The transistors are all BC847, which is a chip-shaped transistor that takes up little space and is suitable for use in integrated circuits.
[0047] In this embodiment, if Figure 6As shown, the other end of the resistor R9 connected to P1.5 in the microcontroller unit in the buzzer driving circuit is connected to the base 1 of the transistor Q2, the emitter 2 of the transistor Q2 is grounded, the collector 3 of the transistor Q2 is connected to the 2 terminal of the buzzer SP1, the 2 terminal of T1 and one end of the capacitor C10, the 1 terminal of the buzzer is connected in series with the capacitor C11, the other end of C11 is grounded, the 3 terminal of T1 is connected to the 1 terminal of the buzzer, the 1 terminal of T1 is connected to VBAT through a wire, the other end of the capacitor C10 is grounded, and when an alarm occurs, the buzzer SP1 emits a sharp alarm sound to serve as a reminder.
[0048] The T1 model involved in this article is L200, and the buzzer SP1 model is TMB12A05.
[0049] In this embodiment, if Figure 7 and Figure 8As shown, the current detection and control circuit includes a first current detection and control circuit and a second current detection and control circuit, one end of S1CONA connected to P2.3 in the micro control unit in the first current detection and control circuit is connected in series with a resistor R15, the other end of the resistor R15 is connected to the gate of the field effect transistor Q1, the source of the field effect transistor Q1 is connected to the anode of the diode D5, the capacitor C12 and the resistor R16, the cathode of the diode D5 and the other end of the capacitor C12 are connected to one end of the resistor R18 and grounded, the drain of the field effect transistor Q1, the other end of the resistor R16 and one end of the transient voltage suppression diode TVS1 are all connected to the 5th terminal of the MICRO USB in the first current detection and control circuit, the other end of the transient voltage suppression diode TVS1 is grounded, and the MICRO The 5th terminal of USB is connected to the drain of field effect transistor Q3, the source of field effect transistor Q3 is connected to the other end of resistor R18 and the drain of field effect transistor Q4, the gate of field effect transistor Q3 is connected to one end of resistor R20, the source of field effect transistor Q4 is connected to one end of resistor R38, and the connection point is point P1, the gate of field effect transistor Q4 is connected to one end of resistor R21, the other end of resistor R21 is connected to the other end of resistor R20, and the connection point is S1CONB connected to P2.3 in the micro control unit, the other end of resistor R38 is connected to capacitor C15, the other end of capacitor C15 is grounded, and the connection point between resistor R38 and capacitor C15 is AD1 connected to P1.0 in the micro control unit, and MICRO in the first current detection and control circuit The 1 connection port of the USB outputs a 5V DC voltage, one end of S2CONA connected to P2.5 in the micro control unit in the second current detection and control circuit is connected in series with a resistor R26, the other end of the resistor R26 is connected to the gate of the field effect transistor Q5, the source of the field effect transistor Q5 is connected to the anode of the diode D7, the capacitor C14 and the resistor R27, the cathode of the diode D7 and the other end of the capacitor C14 are connected to one end of the resistor R28 and grounded, the drain of the field effect transistor Q5, the other end of the resistor R27 and one end of the transient voltage suppression diode TVS2 are all connected to the 5 connection terminal of the MICRO USB in the second current detection and control circuit, the other end of the transient voltage suppression diode TVS2 is grounded, and the MICRO in the second current detection and control circuit The 5th terminal of USB is connected to the drain of field effect transistor Q6, the source of field effect transistor Q6 is connected to the other end of resistor R28 and the drain of field effect transistor Q7, the gate of field effect transistor Q6 is connected to one end of resistor R29, the source of field effect transistor Q7 is connected to one end of resistor R37, and the connection point is point P2, the gate of field effect transistor Q7 is connected to one end of resistor R30, the other end of resistor R30 is connected to the other end of resistor R29, and the connection point is S2CONB and P2 in the micro control unit.4, the other end of the resistor R37 is connected to the capacitor C16, the other end of the capacitor C16 is grounded, and the connection point between the resistor R37 and the capacitor C16 is AD2 connected to P1.1 in the micro control unit, and the 1 connection port of the MICRO USB in the second current detection and control circuit outputs a 5V DC voltage, which plays the role of current detection and charging control. .
[0050] The field effect transistor involved in this article adopts the SI2312 model. This model of field effect transistor is a patch-shaped field effect transistor, which occupies a small space and is suitable for use in integrated circuits. The transient voltage suppression diode TVS adopts the ESD05 model.
[0051] In this embodiment, if Fig. 9 and Fig.10 As shown, the external temperature detection circuit includes a first port temperature detection circuit and a second port temperature detection circuit. The PT1 connection point in the first port temperature detection circuit is connected to P1.6 in the micro control unit and is connected to a capacitor C8, a resistor R10, a thermistor PT1 and a resistor R13. The other ends of the resistor R13, the capacitor C8 and the resistor R10 are connected to each other and grounded. The other end of the thermistor PT1 is connected to the upper resistor R7. The other end of the upper resistor R7 is connected to the power supply. The connection point between the thermistor PT1 and the upper resistor R7 is set as a PT1A connection point. The PT1A connection point is connected to the MICRO in the first current detection and control circuit. The PT2 wiring point in the second port temperature detection circuit is connected to P1.7 in the micro control unit and is connected to capacitor C13, resistor R24, thermistor PT2 and resistor R25. The other ends of resistor R25, capacitor C13 and resistor R24 are connected to each other and grounded. The other end of thermistor PT2 is connected to the upper resistor R11. The other end of the upper resistor R11 is connected to the power supply. The connection point between thermistor PT2 and the upper resistor R11 is set as PT2A wiring point. The PT2A wiring point is connected to the MICRO USB 4 wiring ports in the second current detection and control circuit. When the temperature at the charging head of the external device is excessive, the current of this port is disconnected through the micro control unit.
[0052] In this embodiment, if Fig.11 As shown, the other end of the Detector-DC connected to P1.3 in the external power supply voltage detection circuit is connected to resistors R6 and R8, the other end of the resistor R8 is grounded, the other end of the resistor R6 is connected to one end of the resistor R3, the other end of the resistor R3 outputs a voltage, and the other end of the resistor R3 is connected to the positive electrode of the capacitor C5 and the polarity capacitor C4, the other end of the capacitor C5 is grounded, and the negative electrode of the polarity capacitor C4 is grounded. When it is detected that the external voltage is too high, the external charging circuit is cut off through the control of the microcontroller.
[0053] In this embodiment, if Fig.12 As shown, the power management IC circuit includes a charging management IC chip U2, and the digital interface VIN end of the charging management IC chip U2 is connected to the positive electrode of the polarity capacitor C4, the class pin PROG in the charging management IC chip U2 is connected to one end of the resistor R2, and the other end of the resistor R2 is grounded, the voltage output terminal VOUT of the charging management IC chip U2 is connected to the 1 interface in the battery BAT, the digital ground VSS in the charging management IC chip U2 is grounded, and the voltage output terminal VOUT of the charging management IC chip U2 is also connected to the capacitor C3, and the other end of the capacitor C3 is grounded, the 2 terminal of the battery BAT is grounded, and the voltage output terminal VOUT of the charging management IC chip U2 and the 1 interface in the battery BAT are connected as the BAT point to provide charging current to the battery to ensure safe charging of the battery.
[0054] The charging management IC chip U2 involved in this article adopts the MCP73832 model.
[0055] In this embodiment, if Fig.13 As shown, the external power supply circuit includes a power supply circuit and an auxiliary power supply circuit. The power supply circuit includes a charging management IC chip U1. The input end IN of the charging management IC chip U1 is connected to a capacitor C2, a positive electrode of a polar capacitor C9, a cathode of a diode D6 and a cathode of a diode D4. The other end of the capacitor C2 is connected to the negative electrode of the polar capacitor C9 and grounded. The anode of the diode D6 outputs a voltage. The anode of the diode D4 is connected to the voltage output end VOUT of the charging management IC chip U2 and the BAT point at the interface 1 in the battery BAT. The ground end GND of the charging management IC chip U1 is connected to the ground. The output end OUT of the charging management IC chip U1 is connected to a capacitor C1 and a power supply VCC. The other end of the capacitor C1 is grounded. The LDO voltage regulator circuit provides a voltage to the micro control unit. In the auxiliary power supply circuit, a resistor R1 is connected to the voltage output end VOUT of the charging management IC chip U2 and the BAT point at the interface 1 in the battery BAT. The other end of the resistor R1 is connected to the anode of the diode D2. The cathode of the diode D2 outputs a voltage. When there is no external power supply, power is provided to the ADC sampling circuit of the port.
[0056] The charging management IC chip U1 involved in this article adopts the KX6209 model.
[0057] like Figure 1-Figure 13 As shown, the working process of the digital product charging alarm control circuit provided in this embodiment is as follows:
[0058] Step 1: When there is no external device connected to the port, Q1 is turned on (S1_CONA is high level), Q3 and Q4 are not turned on (S1_CONB is low level), the level of P1 is 0, and the value detected by ADC is 0. When there is an external device connected to the port, the pin 1 of the port is +5V, which passes through the external device, from the pin 5 of the port through Q1, D5, and then to the ground to form a charging loop. At this time, the level of P1 is 0.3V (determined by the characteristics of the diode), and the value detected by ADC is not 0. At this time, the alarm enters the armed state;
[0059] Step 2: After entering the armed state, when the value detected by ADC reaches the preset value, Q3 and Q4 are turned on (S1_CONB becomes high level), and the charging current flows from pin 1 of the port through the external device, and then returns to pin 5 of the port, through Q3, resistor 18 (0.022R) to the ground, forming a charging loop. At this time, the charging current increases (there is no voltage drop of the diode);
[0060] Step 3: Alarm generation: After entering the defense mode, when the external device is unplugged, the voltage at the P1 terminal becomes 0 (no current flows through D5 or R18), and an alarm occurs.
[0061] In summary, in this embodiment, R3, R6, and R8 in the circuit form a voltage sampling circuit, and the sampled voltage is sent to the MCU. When the external voltage is too high (exceeding the preset voltage), Q1, Q3, and Q4 are turned off through the control of the MCU, and the external charging current is cut off to play an overvoltage protection role. After entering the defense, when Q1, Q3, and Q4 are all turned on, the level detected at the P1 end is the voltage of R18 (the resistance is small, and the internal resistance of the MOS tube is small, so this voltage is very small). When the charging current is large (or the load is short-circuited), the voltage on R18 increases further. When it exceeds the preset value, Q1, Q3, and Q4 are controlled by the MCU. 4 are all cut off (S1_CONA, S1_CONB are low level), the charging circuit at this time: +5V load port 5 pin----R16, D5 charging current is very small, which plays an overcurrent protection role. When overcurrent occurs, the ADC detects the voltage at the D5 end. R7, PT1 (thermistor, this resistor is welded on the external charging head, used to detect the temperature at the connection between the external charging head and the external device) C8, R10 in the circuit form a voltage sampling circuit. When the voltage is detected to exceed the preset voltage (the temperature at the connection between the charging head and the device is too high), the charging current of the external device is cut off through the control of the MCU to play an overtemperature protection role. This function is mainly considered that the charging current is not very large, but due to other reasons, the temperature at the connection between the charging head and the external device is too high and the charging head or the external device is burned.
[0062] The above description is only a further embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can make equivalent replacements or changes according to the technical solutions and concepts of the present invention within the scope disclosed by the present invention, which belong to the protection scope of the present invention.
Claims
1. A charging alarm control circuit for digital products, comprising a microcontroller unit, a buzzer drive circuit, a wireless module, an external power supply voltage detection circuit, an external temperature detection circuit, a power management IC circuit, an external power supply circuit, a current detection and control circuit and an output port, characterized in that: Micro control unit: used for charging control, arming control, alarm control and status display; Buzzer driving circuit: When an alarm occurs, the buzzer is driven to emit a sharp alarm sound to serve as an alarm reminder; Wireless module: plays the role of wireless reception; External power supply voltage detection circuit: used to detect the external voltage. When the external voltage is too high, the external charging circuit is cut off through the control of the microcontroller unit. External temperature detection circuit: used to detect the temperature of the external device charging head during charging. When the temperature of the external device charging head is too high, the microcontroller unit cuts off the current of this port; Power management IC circuit: used to control the flow and direction of power output from the external power supply circuit to meet the control needs of the microcontroller unit; External power supply circuit: used to provide a stable voltage to the microcontroller unit; Current detection and control circuit: plays the role of detecting and controlling the current when charging through the first output port; The microcontroller unit receives or sends wireless signals through the wireless module, the microcontroller unit controls the buzzer driving circuit to sound the alarm of the buzzer SP1, the microcontroller unit receives the voltage signal fed back from the external power supply and the temperature signal at the charging head of the external device through the external temperature detection circuit and the external temperature detection circuit, the microcontroller unit detects and controls the charging of the output port through the current detection and control circuit and feeds back the control signal to the microcontroller unit, and the power management IC circuit cooperates with the microcontroller unit to control the external power supply circuit to supply power to the microcontroller unit and the output port; In the microcontroller unit, P1.0, P1.1, P1.2, P1.3, P1.4 and P1.5 are all set as ADC interface terminals, P1.0, P1.1 and P1.2 are respectively connected to the AD1 interface terminal in the first current detection and control circuit, the AD2 interface terminal in the second current detection and control circuit and the AD3 interface terminal in the third current detection and control circuit, P1.3 is connected to the Detector-DC interface terminal in the external power supply voltage detection circuit, P1.4 is connected to the cathode of the light-emitting diode D1 through a wire, the anode of the light-emitting diode D1 is connected to one end of the resistor R17 through a wire, and the other end of the resistor R17 is connected to the power supply VCC through a wire, P1.5 is connected to one end of the resistor R9 in the buzzer drive circuit through a wire, P1.6 and P1.7 in the microcontroller unit are both set as XTAL\ADC interface terminals, P1.6 is connected to the PT1 terminal of the MICRO USB in the first current detection and control circuit, wherein the MICRO The 6, 7, 8 and 9 wiring terminals of the USB are connected, P1.7 is connected to the PT2 wiring terminal of the MICRO USB in the second current detection and control circuit, wherein the 6, 7, 8 and 9 wiring terminals of the MICRO USB are connected, P5.4 in the microcontrol unit is set as the RST interface terminal, and P5.4 is connected to the RED2 wiring terminal in the port LED display circuit, the P5.5 interface terminal in the microcontrol unit is connected to the BLUE2 wiring terminal in the port LED display circuit, P3.2 and P3.3 in the microcontrol unit are both set as INT interface terminals, P3.2 is connected to the RED1 wiring terminal in the port LED display circuit, P3.3 is connected to the BLUE1 wiring terminal in the port LED display circuit, the VCC interface terminal in the microcontrol unit is connected in parallel with a resistor R5 and a capacitor C7 through a wire, the other end of the capacitor C7 is grounded, the other end of the resistor R5 is connected to the power supply VCC, and the GND in the microcontrol unit The interface end is grounded, P3.0 in the microcontroller unit is set as the RXD interface end and P3.1 is set as the TXD interface end, P3.0 is connected to the 3 interface of the software download port JP2, P3.1 is connected to the 4 interface of the software download port JP2 and the resistor R12, the other end of the resistor R12 is connected to the 3 interface of the linkage switch SW1, the 4 interface of the linkage switch SW and one end of the resistor R14, the other end of the resistor R14 is connected to the power supply VCC, the 1 interface of the linkage switch SW1 is connected to the 2 interface of the linkage switch SW and connected to the ground, the 1 interface of the software download port JP2 is connected to the power supply VCC, the 2 interface of the software download port JP2 is grounded, P2.2 and P2.3 in the microcontroller unit are respectively connected to the S1 CONB and S1 CONA interfaces in the first current detection and control circuit, P2.4 and P2.5 in the microcontroller unit are respectively connected to the S2 CONB and S2CONA interfaces in the second current detection and control circuit, and P2.6 and P2.7 are respectively connected to the S3 CONB and S3 CONA interfaces in the third current detection and control circuit, P2.1, P2.0, P3.7, P3.6, P3.5 and P3.4 in the microcontroller unit are respectively connected to the 3rd port CE, 4th port CS, 5th port SCK, 6th port MOSI, 7th port MISO and 8th port IRQ in the wireless module XN1, and a group of resistor R4 and capacitor C6 are connected in parallel to port 1 of the wireless module XN1, the other end of the resistor R4 is connected to the power supply VCC, and the other end of the capacitor C6 is connected to the wireless module XN1 and grounded;. The port LED display circuit includes a first port LED display circuit and a second port LED display circuit. In the first port LED display circuit, RED1 connected to P3.2 in the micro control unit is connected in series with a resistor R31, and the other end of the resistor R31 is connected to the base 1 of the transistor Q8, the emitter 2 of the transistor Q8 is grounded, the collector 3 of the transistor Q8 is connected to the cathode of the diode D8, the anode of the diode D8 is connected to a resistor R22, the other end of the resistor R22 is set as the LED R1 end and is connected to the 3 terminal of the MICRO USB in the first current detection and control circuit, and BLUE1 connected to P3.3 in the micro control unit in the port LED display circuit is connected in series with a resistor R34, the other end of the resistor R34 is connected to the base 1 of the transistor Q10, the emitter 2 of the transistor Q10 is grounded, the collector 3 of the transistor Q10 is connected in series with a resistor R23, the other end of the resistor R23 is set as the LED B1 and is connected to the MICRO USB in the first current detection and control circuit. 2 terminal of the USB, RED2 in the second port LED display circuit connected to P5.4 in the micro control unit is connected in series with a resistor R32, the other end of the resistor R32 is connected to the base 1 of the transistor Q9, the emitter 2 of the transistor Q9 is grounded, the collector 3 of the transistor Q9 is connected to the cathode of the diode D9, the anode of the diode D9 is connected to a resistor R33, the other end of the resistor R33 is set to the LED R2 terminal and is connected to the 3 terminal of the MICRO USB in the second current detection and control circuit, BLUE2 in the port LED display circuit connected to P5.5 in the micro control unit is connected in series with a resistor R35, the other end of the resistor R35 is connected to the base 1 of the transistor Q11, the emitter 2 of the transistor Q11 is grounded, the collector 3 of the transistor Q11 is connected in series with a resistor R36, the other end of the resistor R36 is set to LED B2 and is connected to the 2 terminal of the MICRO USB in the second current detection and control circuit; The other end of the resistor R9 connected to P1.5 in the microcontroller unit in the buzzer driving circuit is connected to the base 1 of the transistor Q2, the emitter 2 of the transistor Q2 is grounded, the collector 3 of the transistor Q2 is connected to the 2 terminal of the buzzer SP1, the 2 terminal of T1 and one end of the capacitor C10, the 1 terminal of the buzzer is connected in series with the capacitor C11, the other end of C11 is grounded, the 3 terminal of T1 is connected to the 1 terminal of the buzzer, the 1 terminal of T1 is connected to VBAT through a wire, and the other end of the capacitor C10 is grounded; The current detection and control circuit includes a first current detection and control circuit and a second current detection and control circuit. In the first current detection and control circuit, one end of S1 CONA connected to P2.3 in the micro control unit is connected in series with a resistor R15. The other end of the resistor R15 is connected to the gate of the field effect transistor Q1. The source of the field effect transistor Q1 is connected to the anode of the diode D5, the capacitor C12 and the resistor R16. The cathode of the diode D5 and the other end of the capacitor C12 are connected to one end of the resistor R18 and grounded. The drain of the field effect transistor Q1, the other end of the resistor R16 and one end of the transient voltage suppression diode TVS1 are all connected to the 5th terminal of the MICRO USB in the first current detection and control circuit. The other end of the transient voltage suppression diode TVS1 is grounded. The 5th terminal of USB is connected to the drain of field effect transistor Q3, the source of field effect transistor Q3 is connected to the other end of resistor R18 and the drain of field effect transistor Q4, the gate of field effect transistor Q3 is connected to one end of resistor R20, the source of field effect transistor Q4 is connected to one end of resistor R38, and the connection point is point P1, the gate of field effect transistor Q4 is connected to one end of resistor R21, the other end of resistor R21 is connected to the other end of resistor R20, and the connection point is S1 CONB connected to P2.3 in the micro control unit, the other end of resistor R38 is connected to capacitor C15, the other end of capacitor C15 is grounded, and the connection point between resistor R38 and capacitor C15 is AD1 connected to P1.0 in the micro control unit, the 1st wiring port of MICRO USB in the first current detection and control circuit outputs a 5V DC voltage, and S2 in the second current detection and control circuit is connected to P2.5 in the micro control unit. One end of CONA is connected in series with a resistor R26, the other end of the resistor R26 is connected to the gate of the field effect transistor Q5, the source of the field effect transistor Q5 is connected to the anode of the diode D7, the capacitor C14 and the resistor R27, the cathode of the diode D7 and the other end of the capacitor C14 are connected to one end of the resistor R28 and grounded, the drain of the field effect transistor Q5, the other end of the resistor R27 and one end of the transient voltage suppression diode TVS2 are all connected to the 5th terminal of MICROUSB in the second current detection and control circuit, the other end of the transient voltage suppression diode TVS2 is grounded, and the MICRO in the second current detection and control circuit The 5th terminal of USB is connected to the drain of field effect transistor Q6, the source of field effect transistor Q6 is connected to the other end of resistor R28 and the drain of field effect transistor Q7, the gate of field effect transistor Q6 is connected to one end of resistor R29, the source of field effect transistor Q7 is connected to one end of resistor R37, and the connection point is point P2, the gate of field effect transistor Q7 is connected to one end of resistor R30, the other end of resistor R30 is connected to the other end of resistor R29, and the connection point is S2 CONB and P2 in the micro control unit.4, the other end of the resistor R37 is connected to the capacitor C16, the other end of the capacitor C16 is grounded, and the connection point between the resistor R37 and the capacitor C16 is AD2 connected to P1.1 in the micro control unit, and the 1 connection port of the MICRO USB in the second current detection and control circuit outputs a 5V DC voltage. .
2. A digital product charging alarm control circuit according to claim 1, characterized in that: The external temperature detection circuit includes a first port temperature detection circuit and a second port temperature detection circuit. The PT1 connection point in the first port temperature detection circuit is connected to P1.6 in the micro control unit and is connected to capacitor C8, resistor R10, thermistor PT1 and resistor R13. The other ends of resistor R13, capacitor C8 and resistor R10 are connected to each other and grounded. The other end of thermistor PT1 is connected to the upper resistor R7. The other end of the upper resistor R7 is connected to the power supply. The connection point between thermistor PT1 and the upper resistor R7 is set as PT1A connection point. The PT1A connection point is connected to MICRO in the first current detection and control circuit. The PT2 wiring point in the second port temperature detection circuit is connected to P1.7 in the micro control unit and is connected to capacitor C13, resistor R24, thermistor PT2 and resistor R25. The other ends of resistor R25, capacitor C13 and resistor R24 are connected to each other and grounded. The other end of thermistor PT2 is connected to the upper resistor R11. The other end of the upper resistor R11 is connected to the power supply. The connection point between thermistor PT2 and the upper resistor R11 is set as PT2A wiring point, and the PT2A wiring point is connected to the MICRO USB 4 wiring ports in the second current detection and control circuit.
3. A digital product charging alarm control circuit according to claim 1, characterized in that: The other end of the Detector-DC connected to P1.3 in the external power supply voltage detection circuit is connected to resistors R6 and R8, the other end of resistor R8 is grounded, the other end of resistor R6 is connected to one end of resistor R3, the other end of resistor R3 outputs voltage, and the other end of resistor R3 is connected to the positive electrode of capacitor C5 and polarity capacitor C4, the other end of capacitor C5 is grounded, and the negative electrode of polarity capacitor C4 is grounded.
4. A digital product charging alarm control circuit according to claim 1, characterized in that: The power management IC circuit includes a charging management IC chip U2, and the digital interface VIN end of the charging management IC chip U2 is connected to the positive electrode of the polarity capacitor C4, the class pin PROG in the charging management IC chip U2 is connected to one end of the resistor R2, the other end of the resistor R2 is grounded, the voltage output terminal VOUT of the charging management IC chip U2 is connected to the 1 interface in the battery BAT, the digital ground VSS in the charging management IC chip U2 is grounded, and the voltage output terminal VOUT of the charging management IC chip U2 is also connected to the capacitor C3, and the other end of the capacitor C3 is grounded, the 2 terminal of the battery BAT is grounded, and the voltage output terminal VOUT of the charging management IC chip U2 and the 1 interface in the battery BAT are the BAT point.
5. A digital product charging alarm control circuit according to claim 1, characterized in that: The external power supply circuit includes a power supply circuit and an auxiliary power supply circuit. The power supply circuit includes a charging management IC chip U1. The input end IN of the charging management IC chip U1 is connected to a capacitor C2, a positive electrode of a polar capacitor C9, a cathode of a diode D6 and a cathode of a diode D4. The other end of the capacitor C2 is connected to a negative electrode of the polar capacitor C9 and is grounded. The anode of the diode D6 outputs a voltage. The anode of the diode D4 is connected to a voltage output end VOUT of the charging management IC chip U2 and a BAT point at an interface 1 in the battery BAT. The ground end GND of the charging management IC chip U1 is connected to the ground. The output end OUT of the charging management IC chip U1 is connected to a capacitor C1 and a power supply VCC. The other end of the capacitor C1 is grounded. In the auxiliary power supply circuit, a resistor R1 is connected to a voltage output end VOUT of the charging management IC chip U2 and a BAT point at an interface 1 in the battery BAT. The other end of the resistor R1 is connected to an anode of the diode D2, and the cathode of the diode D2 outputs a voltage.
Citation Information
Patent Citations
Charger detector of electric vehicle
CN101865959A
Low-power-consumption stable voltage backlight control circuit and television
CN104253960A
Charging Control Circuit for New Energy Electric Vehicle
CN109017425A
UPS power supply touch-screen color display
CN201535999U
Intelligent current leakage protection circuit
CN201726102U
