Detection circuit of mobile power supply
Through the combination of the SE9020C detection chip, the STC89C52 microcontroller and the ADC0809 chip, the problem of the lack of protection mechanism in the mobile power supply detection circuit is solved, automatic identification and safety detection of lithium batteries are realized, and the safe use and efficient charging of the battery are ensured.
Patent Information
- Application Number
- CN202420021095.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-04
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2034-01-04
AI Technical Summary
The existing mobile power supply detection circuit lacks a protection mechanism and is easily damaged or failed due to overcharging or over-discharging.
The SE9020C detection chip is used to synergize with the STC89C52 microcontroller, combined with the ADC0809 chip, to realize automatic identification of battery polarity, and has built-in short-circuit, over-current, and temperature protection functions. It supports colorful lights and dual-light modes, and requires almost no external components.
It realizes the safety detection and protection of mobile power supply and ensures the safe use of batteries. The charging current reaches 250mA, the charging voltage accuracy is 4.2V±1%, and it provides real-time monitoring and control of lithium battery voltage, current and temperature.
Smart Images

Figure CN221650564U
Abstract
Description
Technical Field
[0001] The utility model relates to the field of circuits, in particular to a detection circuit for a mobile power source. Background Art
[0002] The detection circuit of the existing mobile power supply lacks a protection mechanism, such as overcharge protection, over-discharge protection, etc., which makes the mobile power supply easily damaged or ineffective. Utility Model Content
[0003] In order to achieve the above purpose, the utility model provides the following technical solutions:
[0004] A detection circuit for a mobile power source comprises a battery, a detection chip, an ADC chip and a single-chip microcomputer. The voltage and current signals of the battery are connected to the input end of the detection chip, the ADC output pin of the detection chip is connected to the input end of the ADC chip, the output end of the ADC chip is connected to the input end of the single-chip microcomputer, the model of the detection chip is SE9020C, the detection chip is used to detect the voltage or current signal of the battery and has the function of automatically identifying the polarity of the battery, the model of the ADC chip is ADC0809, and the ADC chip is used to perform analog-to-digital conversion on the voltage or current signal of the battery so that the single-chip microcomputer can read and process it.
[0005] Furthermore, the model of the single chip microcomputer is STC89C52, and the power pins of the STC89C52 single chip microcomputer and the ADC0809 chip are respectively connected to the power supply voltage.
[0006] Furthermore, the XTAL pin of the STC89C52 single-chip microcomputer is electrically connected to a crystal oscillator, and the CLK pin of the ADC0809 chip is electrically connected to another crystal oscillator.
[0007] Further, the ALE / PROG pin of the STC89C52 microcontroller is electrically connected to the ALE pin of the ADC0809 chip, and the START pin of the STC89C52 microcontroller is electrically connected to the START pin of the ADC0809 chip.
[0008] Further, the EOC pin of the STC89C52 microcontroller is electrically connected to the OE pin of the ADC0809 chip.
[0009] Compared with the prior art, the beneficial effects of the utility model are as follows:
[0010] This application uses the SE9020C chip and the STC89C52 microcontroller, which work together to enable the detection circuit of the mobile power supply to automatically identify the battery polarity. The charging current can reach 250mA (TYP), and almost no peripheral components are required. The SE9020C has a built-in accurate reference voltage source, short circuit protection, overcurrent protection, and temperature protection functions. The charging voltage accuracy is 4.2V±1%, supports colorful lights and dual-light mode, and provides SOT-23 and PSOP-8 packages. BRIEF DESCRIPTION OF THE DRAWINGS
[0011] Figure 1 This is the circuit diagram of this application. DETAILED DESCRIPTION
[0012] The following will be combined with the drawings in the embodiments of the utility model to clearly and completely describe the technical solutions in the embodiments of the utility model. Obviously, the described embodiments are only part of the embodiments of the utility model, not all of the embodiments. Based on the embodiments in the utility model, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the utility model.
[0013] The present application provides a detection circuit of a mobile power supply, such as Figure 1 As shown, it includes a battery, a detection chip, an ADC chip, and a single-chip microcomputer. The battery: as the battery to be detected, provides a voltage or current signal. SE9020C: is used to detect the voltage or current signal of the lithium battery, and has the function of automatically identifying the battery polarity. ADC0809: is used to convert the voltage or current signal of the lithium battery into an analog-to-digital signal so that the single-chip microcomputer can read and process it. The single-chip microcomputer: reads the conversion result of ADC0809, thereby realizing the detection and processing of the lithium battery.
[0014] SE9020C is a single-cell lithium battery charging IC with the function of automatically identifying the battery polarity. The charging current can reach 250mA (TYP) and almost no peripheral components are required. It has a built-in accurate reference voltage source, short-circuit protection, over-current protection, and temperature protection functions. The charging voltage accuracy is 4.2V±1%, supports colorful lights and dual-light mode, and provides SOT-23 and PSOP-8 packages. The detection circuit of the mobile power supply is mainly used to detect information such as battery voltage, current, and temperature to ensure the safe use of the battery. SE9020C can be connected to the ADC (analog-digital converter) inside the mobile power supply to realize the detection of battery voltage, current, and temperature. Specifically, SE9020C can convert analog signals such as battery voltage, current, and temperature into digital signals through the ADC interface, and then process and analyze them through the digital signal processing circuit to realize real-time monitoring and control of the battery status. The circuit connection method of SE9020C and ADC0809 is as follows: First, connect the ADC output of SE9020C to the input of ADC0809. The ADC output of SE9020C is an analog signal, which needs to be connected to the analog input port of ADC0809. Secondly, configure other pins of ADC0809 as needed. For example, you may need to configure the start signal, clock signal, etc. In the detection circuit of the mobile power supply, specifically, connect the ADC output of SE9020C to the input of ADC0809. This can be achieved by connecting the ADC output line of SE9020C to the analog input port of ADC0809. Connect the voltage or current signal of the mobile power supply to the input of SE9020C. SE9020C has the function of automatically identifying the polarity of the battery and can automatically charge the lithium battery. At the same time, it has the functions of over-temperature protection, over-current protection, and short-circuit protection to prevent dangerous situations such as charging and exploding batteries. The voltage or current signal of the mobile power supply is converted to digital through ADC0809. ADC0809 is an 8-channel, 8-bit successive approximation A / D converter, which can latch the decoded signal according to the address code and select only one of the 8 analog input signals for A / D conversion. The conversion result of ADC0809 is read by the single-chip microcomputer to realize the detection of the mobile power supply. The model of the single-chip microcomputer is STC89C52, and the connection of STC89C52 in the detection circuit is as follows: 1. Power connection: Connect the power pin (such as VCC) of STC89C52 to the power supply voltage to provide the chip with the power required for operation.
[0015] Similarly, connect the power pin (such as Vcc) of ADC0809 to the power supply voltage. 2. Clock connection: STC89C52 requires a clock signal to drive its internal circuit. Connect the clock pins (such as XTAL1 and XTAL2) of STC89C52 to an external clock source to provide a clock signal for the chip. Similarly, ADC0809 also requires a clock signal to drive its internal circuit. Connect the clock pin (such as CLK) of ADC0809 to an external clock source. 3. Control line connection: Both STC89C52 and ADC0809 have some control line pins for controlling the functions and operations of the chip. According to the specific circuit design, connect the control line pins of STC89C52 to the corresponding control signals, such as ALE / PROG, START, EOC, etc. Similarly, connect the control line pins of ADC0809 to the corresponding control signals, such as ALE, START, OE, etc. 4. Analog input connection: ADC0809 has multiple analog input terminals (such as IN0~IN7) for receiving analog signals. According to the specific circuit design, connect the analog signal to the analog input terminal of ADC0809. 5. Digital output connection: ADC0809 has multiple digital output terminals (such as 2-1 to 2-8) for outputting conversion results. According to the specific circuit design, connect the digital output terminal to the data bus or other interface of STC89C52 or other processors.
[0016] In the embodiment to be protected in this application, a detection circuit of a mobile power supply is provided, such as Figure 1 As shown, it includes a battery, a detection chip, an ADC chip, and a single-chip microcomputer. The voltage and current signals of the battery are connected to the input end of the detection chip, the ADC output pin of the detection chip is connected to the input end of the ADC chip, and the output end of the ADC chip is connected to the input end of the single-chip microcomputer. The model of the detection chip is SE9020C. The detection chip is used to detect the voltage or current signal of the battery and has the function of automatically identifying the polarity of the battery. The model of the ADC chip is ADC0809. The ADC chip is used to perform analog-to-digital conversion on the voltage or current signal of the battery so that the single-chip microcomputer can read and process it.
[0017] Preferably, the model of the single chip microcomputer is STC89C52, and the power pins of the STC89C52 single chip microcomputer and the ADC0809 chip are respectively connected to the power supply voltage.
[0018] Preferably, the XTAL pin of the STC89C52 single-chip microcomputer is electrically connected to a crystal oscillator, and the CLK pin of the ADC0809 chip is electrically connected to another crystal oscillator.
[0019] Preferably, the ALE / PROG pin of the STC89C52 single-chip microcomputer is electrically connected to the ALE pin of the ADC0809 chip, and the START pin of the STC89C52 single-chip microcomputer is electrically connected to the START pin of the ADC0809 chip.
[0020] Preferably, the EOC pin of the STC89C52 single chip microcomputer is electrically connected to the OE pin of the ADC0809 chip.
[0021] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.
Claims
1. A detection circuit for a mobile power source, characterized in that: The invention comprises a battery, a detection chip, an ADC chip and a single-chip microcomputer. The voltage and current signals of the battery are connected to the input end of the detection chip, the ADC output pin of the detection chip is connected to the input end of the ADC chip, the output end of the ADC chip is connected to the input end of the single-chip microcomputer, the model of the detection chip is SE9020C, the detection chip is used to detect the voltage or current signal of the battery and has the function of automatically identifying the polarity of the battery, the model of the ADC chip is ADC0809, and the ADC chip is used to perform analog-to-digital conversion on the voltage or current signal of the battery so that the single-chip microcomputer can read and process it.
2. A detection circuit for a mobile power source according to claim 1, characterized in that: The model of the single chip microcomputer is STC89C52, and the power pins of the STC89C52 single chip microcomputer and the ADC0809 chip are respectively connected to the power supply voltage.
3. A detection circuit for a mobile power source according to claim 2, characterized in that: The XTAL pin of the STC89C52 single-chip microcomputer is electrically connected to a crystal oscillator, and the CLK pin of the ADC0809 chip is electrically connected to another crystal oscillator.
4. A detection circuit for a mobile power source according to claim 3, characterized in that: The ALE / PROG pin of the STC89C52 microcontroller is electrically connected to the ALE pin of the ADC0809 chip, and the START pin of the STC89C52 microcontroller is electrically connected to the START pin of the ADC0809 chip.
5. A detection circuit for a mobile power source according to claim 4, characterized in that: The EOC pin of the STC89C52 microcontroller is electrically connected to the OE pin of the ADC0809 chip.
