Power supply circuit and related device
Through the EIS module, the battery internal resistance is detected and the charging strategy is adjusted, the safety problems caused by battery aging in terminal devices are solved, and more efficient battery management and safety improvement is achieved.
Patent Information
- Application Number
- CN202311052405.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-08-18
- Publication Date
- 2025-02-21
AI Technical Summary
After long-term use, the battery in the terminal device is prone to excessive charge for a long time, overheating or bloating, resulting in low battery safety.
The internal resistance of the battery is detected by the EIS module and the charging strategy of the battery is adjusted based on the internal resistance of the battery, characterize the battery aging degree and adjust it, reducing the situation where the charging strategy does not match the battery aging degree, thereby reducing battery heating, bulging and unsatisfactory charging Electricity and other phenomena improve the safety of the battery.
By adjusting the charging strategy, the aging degree of the battery can be more accurately reflected, the battery abnormalities caused by mismatch can be reduced, and the safety and service life of the battery can be improved.
Smart Images

Figure CN119496240A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of terminal technology, and in particular to a power supply circuit and related devices. Background Art
[0002] With the development and progress of society, terminal devices such as mobile phones and tablet computers have become an indispensable part of people's lives. Terminal devices are usually equipped with batteries for the convenience of users.
[0003] However, after the terminal device has been used for a long time, the battery may not be fully charged for a long time, the battery may overheat or the battery may swell, and the battery safety is low. Summary of the invention
[0004] The embodiment of the present application provides a power supply circuit and related devices, which are applied to the field of terminal technology. The internal resistance of the battery is detected by the EIS module, and the charging strategy of the battery is adjusted based on the internal resistance of the battery. The degree of battery aging is characterized and adjusted based on the internal resistance of the battery, so as to reduce the mismatch between the charging strategy and the degree of battery aging, thereby reducing battery heating, bulging, and undercharging, and improving the safety of the battery.
[0005] In a first aspect, an embodiment of the present application provides a power supply circuit, which includes an EIS module, a controller, and a power management module; the EIS module is connected to the controller, the controller is connected to the power management module, and the EIS module is also connected to a battery.
[0006] The EIS module can detect the internal resistance of the battery and transmit the internal resistance of the battery to the controller. The controller can obtain the charging cut-off voltage and / or charging cut-off current of the battery according to the internal resistance of the battery, and send a first control signal to the power management module; the first control signal includes the charging cut-off voltage and / or charging cut-off current; the power management module can control the charging cut-off voltage and / or charging cut-off current of the battery according to the first control signal.
[0007] In this way, the degree of battery aging is characterized and adjusted based on the internal resistance of the battery, reducing the mismatch between the charging strategy and the degree of battery aging, thereby reducing battery heating, bulging, and incomplete charging, and improving the safety of the battery. Optionally, the EIS module includes: a detection unit and a control unit; the input end of the detection unit is connected to the first end of the control unit, and the output end of the detection unit is connected to the second end of the control unit; the control unit can control the detection unit to output multiple disturbance signals to the battery at the first end, and the frequencies of the multiple disturbance signals are different; the detection unit detects multiple voltage signals output by the battery under multiple disturbance signals, and converts the multiple voltage signals into multiple digital signals; the detection unit transmits the multiple digital signals to the control unit through the second end. After the control unit obtains the multiple digital signals, it obtains the internal resistance of the battery based on the multiple digital signals.
[0008] In this way, the EIS module can apply disturbance signals of different frequencies to the battery and measure the voltage change of the battery under the disturbance signal, thereby obtaining the impedance of the battery at different frequencies and the internal resistance of the battery.
[0009] Optionally, the disturbance signal includes: a square wave or a quasi-square wave.
[0010] In this way, the square wave signal or square wave-like signal is simple to implement and easy to obtain.
[0011] Optionally, the detection unit includes: a first resistor, a switch tube Q1, a first differential amplifier and an analog-to-digital converter; one end of the first resistor is connected to the positive electrode of the battery, the other end of the first resistor is connected to the first electrode of the switch tube Q1, and the second electrode of the switch tube Q1 is grounded; the first input end of the first differential amplifier is connected to the positive electrode of the battery, the second input end of the first differential amplifier is connected to the negative electrode of the battery, and the output end of the first differential amplifier is connected to the input end of the analog-to-digital converter; wherein the input end of the detection unit is the control electrode of the switch tube Q1; and the output end of the detection unit is the output end of the analog-to-digital converter.
[0012] The control unit can control the switch tube Q1 to be turned on or off through the first end to control the detection unit to output multiple disturbance signals to the battery. The first differential amplifier in the detection unit can amplify the difference between the voltage at the positive electrode of the battery and the voltage at the negative electrode of the battery based on the first amplification factor; the analog-to-digital converter can convert the voltage signals output by the multiple first differential amplifiers into multiple digital signals and transmit the multiple digital signals to the control unit; after obtaining the multiple digital signals, the control unit obtains the internal resistance of the battery based on the multiple digital signals.
[0013] In this way, by turning on or off the switch tube Q1, the detection unit outputs a disturbance signal to the battery. The method is simple and easy to implement. In addition, the size of the switch tube is small and the cost is low.
[0014] Optionally, the control unit may control the switch tube Q1 to be turned on or off at a duty cycle of 50% via the first terminal.
[0015] In this way, when the duty cycle is 50%, subsequent calculations can be facilitated and the difficulty of calculation can be reduced.
[0016] Optionally, the control unit can perform Fourier transform on multiple digital signals to obtain voltage values corresponding to multiple frequencies; the control unit can calculate the voltage values corresponding to multiple frequencies and the current value flowing through the first resistor to obtain the impedance of the battery at multiple frequencies; the control unit can perform fitting processing on the impedance of the battery at multiple frequencies to obtain the internal resistance of the battery.
[0017] In this way, the control unit can obtain the internal resistance of the battery according to the multiple digital signals.
[0018] Optionally, the detection unit further includes: a constant current source; the constant current source is connected between the first resistor and the battery, or the constant current source is connected between the first resistor and the switch tube Q1; the constant current source can stabilize the current flowing through the first resistor.
[0019] In this way, the current output by the battery is stable, which can reduce the test error caused by current instability, improve the accuracy of EIS testing, and improve the accuracy of battery internal resistance.
[0020] Optionally, the constant current source includes: a second differential amplifier, a second resistor and a switch tube Q2; the constant current source is connected between the first resistor and the battery, the first pole of the switch tube Q2 is connected to the positive pole of the battery, the second pole of the switch tube Q2 is connected to one end of the first resistor, the control pole of the switch tube Q2 is connected to the output end of the second differential amplifier, and the first input end of the second differential amplifier can input the first reference voltage; the second input end of the second differential amplifier is connected to the other end of the second resistor, and one end of the second resistor is connected to the second pole of the switch tube Q2.
[0021] Alternatively, the constant current source is connected between the first resistor and the switch tube Q1, the first electrode of the switch tube Q2 is connected to the other end of the first resistor, the second electrode of the switch tube Q2 is connected to the first electrode of the switch tube Q1, the control electrode of the switch tube Q2 is connected to the output end of the second differential amplifier, and the first input end of the second differential amplifier can input the first reference voltage; the second input end of the second differential amplifier is connected to the other end of the second resistor, and one end of the second resistor is connected to the second electrode of the switch tube Q2.
[0022] The second differential amplifier can adjust the voltage at the control electrode of the switch tube Q2 based on the voltage at the other end of the second resistor and the first reference voltage to stabilize the voltage at one end of the second resistor.
[0023] In this way, the voltage at the second resistor is collected in real time through the second differential amplifier, and the resistance of Q2 is adjusted based on the voltage at the second resistor and the first reference voltage, thereby keeping the current flowing through the first resistor stable.
[0024] Optionally, the constant current source includes: a switch tube Q3, a third differential amplifier, a third resistor, a fourth differential amplifier and a fourth resistor; when the constant current source is located between the first resistor and the battery, the first electrode of the switch tube Q3 is connected to the positive electrode of the battery, the second electrode of the switch tube Q3 is connected to one end of the third resistor, and the control electrode of the switch tube Q3 is connected to the output end of the third differential amplifier; the other end of the third resistor is connected to one end of the first resistor; the first input end of the third differential amplifier can input a second reference voltage; the second input end of the third differential amplifier is connected to one end of the fourth resistor; the other end of the fourth resistor is connected to the output end of the fourth differential amplifier; one end of the third resistor is connected to the first input end of the fourth differential amplifier, and the other end of the third resistor is connected to the second input end of the fourth differential amplifier.
[0025] Alternatively, when the constant current source is located between the first resistor and the switch tube Q1, the first electrode of the switch tube Q3 is connected to the other end of the first resistor, the second electrode of the switch tube Q3 is connected to one end of the third resistor, and the control electrode of the switch tube Q3 is connected to the output end of the third differential amplifier; the other end of the third resistor is connected to the first electrode of the switch tube Q1; the first input end of the third differential amplifier can input the second reference voltage; the second input end of the third differential amplifier is connected to one end of the fourth resistor; the other end of the fourth resistor is connected to the output end of the fourth differential amplifier; one end of the third resistor is connected to the first input end of the fourth differential amplifier, and the other end of the third resistor is connected to the second input end of the fourth differential amplifier.
[0026] The fourth differential amplifier can output a voltage based on the voltage difference across the third resistor, and the voltage output by the fourth differential amplifier is proportional to the voltage difference across the third resistor; the third differential amplifier can adjust the voltage at the control electrode of the switch tube Q3 based on the second reference voltage and the voltage at one end of the fourth resistor to stabilize the voltage difference across the third resistor.
[0027] In this way, the voltage across the third resistor can be collected, and the resistance of the switch tube Q3 can be adjusted based on the voltage difference across the third resistor, so that the current flowing through the first resistor remains stable. In addition, the resistance value of the third resistor is fixed, and feedback adjustment is performed based on the voltage difference across the third resistor. It can be understood that feedback adjustment is performed based on the current flowing through the third resistor, so that the current flowing through the first resistor is stable, and the accuracy of the internal resistance of the battery calculated based on the current flowing through the first resistor can be improved later.
[0028] Optionally, the detection unit also includes: capacitor C1, and / or capacitor C2; one end of capacitor C1 is connected to the positive electrode of the battery, and the other end of capacitor C1 is connected to the first input end of the first differential amplifier; one end of capacitor C2 is connected to the negative electrode of the battery, and the other end of capacitor C1 is connected to the second input end of the first differential amplifier; capacitor C1 can filter out the DC component of the voltage input to the first input end of the first differential amplifier; capacitor C2 can filter out the DC component of the voltage input to the second input end of the first differential amplifier.
[0029] In this way, capacitor C1 can filter out the DC voltage signal input to the first differential amplifier; capacitor C2 can filter out the DC voltage signal input to the first differential amplifier, reduce the interference of the DC voltage signal on the AC voltage signal, and improve the test accuracy.
[0030] Optionally, the detection unit also includes: a first switch unit and a fifth differential amplifier; the first input end of the first switch unit is connected to the output end of the first differential amplifier; the second input end of the first switch unit is connected to the output end of the fifth differential amplifier; the output end of the first switch unit is connected to the analog-to-digital converter; the first input end of the fifth differential amplifier is connected to the positive pole of the battery, and the second input end of the fifth differential amplifier is connected to the negative pole of the battery.
[0031] The control unit can control the first input end of the first switch unit to be connected to the output end of the first switch unit when the switching frequency of the switch tube Q1 is greater than the first value, so that the first differential amplifier and the analog-to-digital converter are connected; the EIS module can collect the voltage signal output by the battery through a path including capacitors C1 and C2. When the switching frequency is low, the EIS module filters out the DC component through capacitors C1 and C2, reduces the interference of the DC voltage signal, makes the AC voltage signal more accurate, and improves the accuracy of the test results.
[0032] The control unit can control the second input end of the first switch unit to be connected to the output end of the first switch unit when the switching frequency of the switch tube Q1 is less than or equal to the first value, so that the fifth differential amplifier and the analog-to-digital converter are connected. The EIS module can collect the voltage signal output by the battery through a path that does not include a capacitor. When the switching frequency is high, the EIS module does not filter out the DC component, reduces the influence of the capacitor on the AC voltage signal, and improves the accuracy of the test.
[0033] Optionally, the detection unit also includes: a first switch unit includes: a switch S1 and a switch S2; a first pole of the switch S1 is connected to the output end of the first differential amplifier, a second pole of the switch S1 is connected to the analog-to-digital converter, and a control pole of the switch S1 is controlled by a control unit; a first pole of the switch S2 is connected to the output end of the fifth differential amplifier, a second pole of the switch S2 is connected to the analog-to-digital converter, and a control pole of the switch S2 is controlled by the control unit.
[0034] The control unit can control the switch S1 to be turned on and the switch S2 to be turned off when the switching frequency of the switch tube Q1 is greater than the first value, so that the first differential amplifier and the analog-to-digital converter are connected; the control unit can control the switch S1 to be turned off and the switch S2 to be turned on when the switching frequency of the switch tube Q1 is less than or equal to the first value, so that the fifth differential amplifier and the analog-to-digital converter are connected.
[0035] In this way, the two test paths of the EIS module are controlled by two switch tubes, which has a simple structure and is easy to implement.
[0036] Optionally, the controller can also obtain the discharge cut-off voltage and / or discharge cut-off current of the battery based on the internal resistance of the battery, and send a second control signal to the power management module; the second control signal also includes: the discharge cut-off voltage and / or the discharge cut-off current; the power management module can also control the discharge cut-off voltage and / or discharge cut-off current of the battery according to the second control signal.
[0037] In this way, the power supply circuit can adjust the battery charging parameters based on the aging degree of the battery, reduce the overcharging of the battery, reduce the phenomenon of battery heating and swelling, and extend the battery life.
[0038] Optionally, the circuit also includes: a fuel meter; the fuel meter is connected to the controller; the fuel meter can detect the current of the battery and transmit the current of the battery to the controller; the controller can control the EIS module to detect the internal resistance of the battery when the battery current is less than the first threshold for a first period of time.
[0039] In this way, when the battery has no load or a small load and the battery is relatively stable, EIS detection is performed to improve the accuracy of the test.
[0040] Optionally, the fuel gauge includes: a fifth resistor, a sixth differential amplifier; the circuit further includes: a second switch unit; the EIS module includes: a first differential amplifier and an analog-to-digital converter; one end of the fifth resistor is connected to the negative electrode of the battery, the other end of the fifth resistor is grounded, the first input end of the sixth differential amplifier is connected to one end of the fifth resistor, the second input end of the sixth differential amplifier is connected to the other end of the fifth resistor, and the output end of the sixth differential amplifier is connected to the first input end of the second switch unit; the second input end of the second switch unit is connected to the output end of the first differential amplifier, and the output end of the second switch unit is connected to the analog-to-digital converter; the second switch unit is controlled by the controller. The fuel gauge can obtain the current of the battery based on the voltage signal of the fifth resistor determined by the sixth differential amplifier and the resistance value of the fifth resistor.
[0041] The controller can control the first input terminal of the second switch unit to be connected to the output terminal of the second switch unit when the battery current is less than the first threshold value for a first time period, so that the first differential amplifier is connected to the analog-to-digital converter. The controller can also control the second input terminal of the second switch unit to be connected to the output terminal of the second switch unit when the battery current is greater than or equal to the first threshold value, so that the sixth differential amplifier is connected to the analog-to-digital converter.
[0042] In this way, the fuel gauge and EIS modules can reuse the analog-to-digital converter, reducing the cost of the power circuit.
[0043] Optionally, the circuit also includes: a first protection circuit, a second protection circuit, a first switch M1, a second switch M2, a third switch M3 and a fourth switch M4; the first detection end of the first protection circuit is connected to the positive electrode of the battery, the first control end of the first protection circuit is connected to the control end of the first switch M1, the second control end of the first protection circuit is connected to the control end of the second switch M2, the first detection end of the second protection circuit is connected to the positive electrode of the battery, the first control end of the second protection circuit is connected to the control end of the third switch M3, and the second control end of the second protection circuit is connected to the control end of the fourth switch M4.
[0044] One connection end of the first switch M1 is connected to the negative electrode of the battery, the other connection end of the first switch M1 is connected to one connection end of the second switch M2, the other connection end of the second switch M2 is connected to one connection end of the third switch M3, the other connection end of the third switch M3 is connected to one connection end of the fourth switch M4, and the other connection end of the fourth switch M4 is connected to the negative electrode of the battery.
[0045] The first protection circuit can control the first switch M1 and / or the second switch M2 to disconnect to interrupt the connection between the battery and the load when it detects that the battery has an overvoltage, undervoltage, and / or overcurrent phenomenon; the second protection circuit can control the third switch M3 and / or the fourth switch M4 to disconnect to interrupt the connection between the battery and the load when it detects that the battery has an overvoltage, undervoltage, and / or overcurrent phenomenon.
[0046] In this way, the battery can be protected from overvoltage, undervoltage, and / or overcurrent, thereby improving the safety of the battery. The two battery protection circuits can achieve dual protection, further improving the safety of the battery.
[0047] In a second aspect, an embodiment of the present application provides a chip, comprising: an EIS module as described in any one of the first aspects.
[0048] Optionally, the chip further includes one or more of the following modules: a power meter, a first protection circuit, and a second protection circuit.
[0049] In a third aspect, an embodiment of the present application provides a terminal device, which may also be referred to as a terminal, user equipment (UE), mobile station (MS), mobile terminal (MT), etc. The terminal device may be a mobile phone, a smart TV, a wearable device, a tablet computer (Pad), a computer with wireless transceiver function, a virtual reality (VR) terminal device, an augmented reality (AR) terminal device, a wireless terminal in industrial control, a wireless terminal in self-driving, a wireless terminal in remote medical surgery, a wireless terminal in smart grid, a wireless terminal in transportation safety, a wireless terminal in smart city, a wireless terminal in smart home, etc.
[0050] The terminal device includes: a power supply circuit as described in any one of the first aspects.
[0051] In a fifth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program. When the computer program is executed by a processor, the method executed by the controller in the first aspect is implemented.
[0052] In a sixth aspect, an embodiment of the present application provides a computer program product, which includes a computer program. When the computer program is run, the computer executes the method executed by the controller in the first aspect.
[0053] In a seventh aspect, an embodiment of the present application provides a chip, the chip including a processor, the processor being used to call a computer program in a memory to execute the method executed by the controller in the first aspect.
[0054] It should be understood that the second to seventh aspects of the present application correspond to the technical solutions of the first aspect of the present application, and the beneficial effects achieved by each aspect and the corresponding feasible implementation methods are similar and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0055] Figure 1 A schematic diagram of the connection relationship between a battery protection board and a main board in a possible design;
[0056] Figure 2A schematic diagram of the connection relationship between a battery protection board and a main board provided in an embodiment of the present application;
[0057] Figure 3A A schematic diagram of the structure of an EIS module provided in an embodiment of the present application;
[0058] Figure 3B A schematic diagram of the structure of a detection unit of an EIS module provided in an embodiment of the present application;
[0059] Figure 3C A schematic diagram of the structure of a detection unit of an EIS module provided in an embodiment of the present application;
[0060] Figure 4A A schematic diagram of the structure of an EIS module provided in an embodiment of the present application;
[0061] Figure 4B A schematic diagram of the structure of an EIS module provided in an embodiment of the present application;
[0062] Figure 5 A schematic diagram of the connection relationship between a battery protection board and a main board provided in an embodiment of the present application;
[0063] Figure 6 A schematic diagram of the structure of an EIS module and an electricity meter when a shared analog-to-digital converter is provided in an embodiment of the present application;
[0064] Figure 7 A schematic diagram of the structure of a battery protection board provided in an embodiment of the present application;
[0065] Figure 8 A schematic diagram of the structure of a first module provided in an embodiment of the present application;
[0066] Fig. 9 A schematic diagram of the structure of a terminal device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0067] To facilitate understanding of the embodiments of the present application, some terms involved in the present application are first briefly explained.
[0068] 1. Electrochemical impedance spectroscopy (EIS): By applying a small-amplitude disturbance signal with different frequencies (for example, an AC sinusoidal potential wave) to the electrochemical system (battery), the ratio of the AC potential to the current signal of the electrochemical system (i.e., the impedance of the electrochemical system) is measured as the frequency ω of the disturbance signal changes, or the phase angle f of the impedance changes as ω changes, so that the impedance of the electrochemical system can be analyzed more accurately.
[0069] 2. Charging cut-off capacity: It can be understood as the total amount of electricity charged into the battery when charging stops.
[0070] It should be noted that the charge cut-off capacity is related to the charge cut-off current and / or the charge cut-off voltage. The charge cut-off capacity may increase with an increase in the charge cut-off voltage, or may increase with a decrease in the charge cut-off current; conversely, the charge cut-off capacity may decrease with a decrease in the charge cut-off voltage, or may decrease with an increase in the charge cut-off current.
[0071] It is understandable that battery charging generally corresponds to two processes: constant voltage charging and constant current charging. Specifically, during the battery charging process, the terminal device first charges the battery with a fixed current until the battery voltage reaches the charging cut-off voltage. When the battery voltage reaches the charging cut-off voltage, the terminal device controls the battery to maintain the charging cut-off voltage and gradually reduces the charging current until the charging current is less than or equal to the charging cut-off current.
[0072] 3. Switching tube: It can be a metal oxide semiconductor field-effect transistor (MOSFET), an insulated gate bipolar transistor (IGBT), a power triode, a gallium nitride (GaN) transistor, or other types of power devices.
[0073] 4. Other terms
[0074] In the embodiments of the present application, words such as "first" and "second" are used to distinguish the same or similar items with substantially the same functions and effects. For example, the first chip and the second chip are only used to distinguish different chips, and their order is not limited. Those skilled in the art can understand that words such as "first" and "second" do not limit the quantity and execution order, and words such as "first" and "second" do not necessarily limit them to be different.
[0075] It should be noted that in the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.
[0076] In the embodiments of the present application, "at least one" refers to one or more, and "more than one" refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The character " / " generally indicates that the previous and next associated objects are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, or c can represent: a, b, c, ab, a--c, bc, or abc, where a, b, c can be single or multiple.
[0077] 5. Terminal equipment
[0078] The terminal device of the embodiment of the present application may also be any form of electronic device. For example, the electronic device may include a handheld device, a vehicle-mounted device, etc. For example, some electronic devices are: mobile phones, tablet computers, PDAs, laptop computers, mobile internet devices (MIDs), wearable devices, virtual reality (VR) devices, augmented reality (AR) devices, wireless terminals in industrial control, wireless terminals in self driving, wireless terminals in remote medical surgery, wireless terminals in smart grids, wireless terminals in transportation safety, wireless terminals in smart cities, wireless terminals in smart homes, cellular phones, cordless phones, session initiation protocol (SIP) phones, wireless local loop (WLL) stations, personal digital assistants (PDAs), handheld devices with wireless communication capabilities, computing devices or other processing devices connected to wireless modems, vehicle-mounted devices, wearable devices, terminal devices in 5G networks or future evolved public land mobile communication networks (public land mobile The embodiments of the present application do not limit this.
[0079] As an example but not limitation, in the embodiments of the present application, the electronic device may also be a wearable device. Wearable devices may also be referred to as wearable smart devices, which are a general term for wearable devices that are intelligently designed and developed using wearable technology for daily wear, such as glasses, gloves, watches, clothing, and shoes. A wearable device is a portable device that is worn directly on the body or integrated into the user's clothes or accessories. Wearable devices are not only hardware devices, but also powerful functions achieved through software support, data interaction, and cloud interaction. Broadly speaking, wearable smart devices include full-featured, large-sized, and fully or partially independent of smartphones, such as smart watches or smart glasses, as well as devices that only focus on a certain type of application function and need to be used in conjunction with other devices such as smartphones, such as various types of smart bracelets and smart jewelry for vital sign monitoring.
[0080] In addition, in the embodiments of the present application, the electronic device can also be a terminal device in the Internet of Things (IoT) system. IoT is an important part of the future development of information technology. Its main technical feature is to connect objects to the network through communication technology, thereby realizing an intelligent network that interconnects people and machines and things.
[0081] The electronic devices in the embodiments of the present application may also be referred to as: terminal equipment, user equipment (UE), mobile station (MS), mobile terminal (MT), access terminal, user unit, user station, mobile station, mobile station, remote station, remote terminal, mobile device, user terminal, terminal, wireless communication equipment, user agent or user device, etc.
[0082] In an embodiment of the present application, the electronic device or each network device includes a hardware layer, an operating system layer running on the hardware layer, and an application layer running on the operating system layer. The hardware layer includes hardware such as a central processing unit (CPU), a memory management unit (MMU), and a memory (also called main memory). The operating system can be any one or more computer operating systems that implement business processing through processes, such as Linux operating system, Unix operating system, Android operating system, iOS operating system, or Windows operating system. The application layer includes applications such as browsers, address books, word processing software, and instant messaging software.
[0083] Terminal devices are usually equipped with batteries, which are used to charge terminal devices. As the terminal device is used for a longer time, the activity of the chemical substances inside the battery gradually decreases, and the battery ages. Battery aging will cause the internal resistance of the battery to increase. As the battery ages, the battery capacity may continue to decrease. Therefore, different charging strategies need to be formulated according to the degree of battery aging to improve battery safety.
[0084] When formulating a charging strategy, the charge cutoff power is an important charging parameter. The charge cutoff power can be understood as the total amount of power charged into the battery when the terminal device stops charging the battery. For example, for batteries with a low degree of aging, a higher charge cutoff power can be set so that the battery has more power when fully charged and the charging frequency is reduced; for batteries with a high degree of aging, a lower charge cutoff power can be set to reduce phenomena such as overheating of the battery and swelling, thereby improving safety.
[0085] If the terminal device makes inaccurate judgment on the degree of battery aging, the actual degree of battery aging may not match the charging strategy, which may cause the battery installed in the terminal device to heat up, swell, etc., and the battery safety is low.
[0086] For example, in some possible designs, the aging degree of the battery can be reflected by the number of full charge and discharge cycles of the battery, that is, the cycle value. In the terminal device, each time the battery completes a full charge and discharge cycle, the cycle value recorded in the terminal device mainboard can increase by 1. Among them, when the cumulative charging power of the battery is equal to 100% of the power, and the cumulative discharge power of the battery is equal to 100% of the power, it can be determined that the battery has completed a full charge and discharge cycle. In this way, for batteries that have been used for a long time, the cycle value recorded in the terminal device mainboard can be a larger value, and for batteries that have not been used or have been used for a short time, the cycle value recorded in the terminal device mainboard can be 0 or a smaller value.
[0087] That is to say, the larger the cycle value recorded in the terminal device motherboard, the higher the degree of battery aging is, and the lower the charging cut-off power in the charging strategy is, which can reduce battery heating, bulging and other phenomena; the smaller the cycle value recorded in the terminal device motherboard, the lower the degree of battery aging is, and the higher the charging cut-off power in the charging strategy is, which can make the battery have more power when it is fully charged and reduce the charging frequency.
[0088] However, when replacing the battery or motherboard of a terminal device, the cycle value recorded in the terminal device motherboard may not correspond to the aging degree of the battery, causing the charging strategy to not match the aging degree of the battery, resulting in heating, swelling, and other phenomena in the battery installed in the terminal device.
[0089] For example, when the motherboard in the terminal device is replaced, because the replaced motherboard is a new motherboard, the cycle value stored in the new motherboard is the initial value, which can be 0 or a smaller value, while the battery has not been replaced and the battery may have been used for a long time. The actual cycle value of the battery is larger, that is, the cycle value of the new motherboard is smaller than the actual cycle value of the battery. Therefore, when the terminal device uses the cycle value in the new motherboard to judge the aging of the battery, the terminal device may underestimate the aging degree of the battery, and then the terminal device will adopt a more relaxed charging strategy. For example, the terminal device uses a larger charging cut-off power to charge the battery, causing the battery installed in the terminal device to heat up, bulge, and other phenomena.
[0090] It is understandable that the charge cut-off capacity is related to the charge cut-off voltage and / or the charge cut-off current, and the charge cut-off capacity may increase with the increase of the charge cut-off voltage, and may increase with the decrease of the charge cut-off current. Therefore, when the terminal device confirms to adopt a charging strategy with a larger charge cut-off capacity according to the cycle value stored in the new motherboard, the charge cut-off voltage of the terminal device may be larger than the charge cut-off voltage required by the battery, or the charge cut-off current in the terminal device may be smaller than the charge cut-off current required by the battery, which may cause the battery in the terminal device to heat up, bulge, etc.
[0091] For example, when the original battery in the terminal device is replaced with a new battery, because the original battery may have been used for a long time, the cycle value stored in the motherboard is larger; while the actual cycle value of the new battery is smaller, that is, the cycle value of the motherboard is greater than the actual cycle value of the new battery. Therefore, when the terminal device uses the cycle value in the motherboard to judge the aging of the battery, the terminal device may overestimate the aging degree of the battery, and then the terminal device will adopt a more stringent charging strategy, resulting in part of the power in the battery installed in the terminal device not being fully utilized.
[0092] For example, when the terminal device confirms the charging strategy based on the cycle value stored in the mainboard, the charging cut-off voltage of the terminal device may be smaller than the charging cut-off voltage required by the new battery, or the charging cut-off current in the terminal device may be larger than the charging cut-off current required by the new battery, resulting in part of the power of the new battery not being utilized, the new battery cannot be fully charged, and the charging frequency of the terminal device is increased.
[0093] In addition, even if the motherboard and battery in the terminal device are replaced, the aging degree of the battery is also affected by the battery charging speed, battery temperature, etc., and the cycle value may not accurately reflect the aging degree of the battery. Therefore, when the terminal device determines the battery charging cut-off power based on the cycle value, the battery charging cut-off power is smaller or larger, and the terminal device may also have problems such as bulging, heating, fast power consumption, and high charging frequency.
[0094] For example, Figure 1 The schematic diagram of the connection relationship between a battery protection board and a mainboard in a possible design. The structure shown in the schematic diagram can enable the terminal device to implement the above-described determination of the charging cut-off power based on the cycle value in the mainboard.
[0095] like Figure 1 As shown, the terminal device includes: a battery protection board 101, a main board 102 and a board-to-board connector (BTB) 103. The battery protection board 101 and the main board 102 are connected via the BTB 103.
[0096] Figure 1 In the embodiment, the battery protection board 101 is provided with a battery 104, an anti-counterfeiting circuit 105, a first protection circuit 106, a first switch M1, a second switch M2, a second protection circuit 107, a third switch M3 and a fourth switch M4. The main board 102 is provided with a controller 108, a power meter 109 and a power management module 110.
[0097] The anti-counterfeiting circuit 105 is connected to the controller 108, and the fuel gauge 109 is connected to the power management module 110. The fuel gauge 109 is connected to the controller 108; the first detection end of the first protection circuit 106 is connected to the positive electrode of the battery 104, the first control end of the first protection circuit 106 is connected to the control end of the first switch M1, the second control end of the first protection circuit 106 is connected to the control end of the second switch M2, the first detection end of the second protection circuit 107 is connected to the positive electrode of the battery 104, the first control end of the second protection circuit 107 is connected to the control end of the third switch M3, and the second control end of the second protection circuit 211 is connected to the control end of the fourth switch M4;
[0098] One connection end of the first switch M1 is connected to the negative electrode of the battery 104, the other connection end of the first switch M1 is connected to one connection end of the second switch M2, the other connection end of the second switch M2 is connected to one connection end of the third switch M3, the other connection end of the third switch M3 is connected to one connection end of the fourth switch M4, and the other connection end of the fourth switch M4 is connected to the negative electrode of the battery.
[0099] The battery 104 is used to supply power to the battery protection board 101 and / or the main board 102 .
[0100] The anti-counterfeiting circuit 105 is used to store anti-counterfeiting information and / or battery-related information. The anti-counterfeiting information is used to indicate whether the battery is a genuine battery. The battery-related information includes one or more of the following: battery type, battery life, battery serial number, etc.
[0101] Adaptively, the controller 108 can obtain the anti-counterfeiting information and / or battery-related information stored in the anti-counterfeiting circuit 105, and confirm whether the battery is a genuine battery based on the anti-counterfeiting information. When the battery is a genuine battery, the terminal device can be used normally; when the battery is not a genuine battery, the normal use of the terminal device can be prohibited. In this way, the battery used by the terminal device can be a regular battery certified by the terminal manufacturer, protecting the interests of the manufacturer and reducing the safety risks brought by counterfeit and inferior batteries.
[0102] The first protection circuit 106 is used to control the first switch M1 and / or the second switch M2 to be disconnected when it is detected that the battery 104 has an overvoltage, undervoltage, and / or overcurrent phenomenon.
[0103] The second protection circuit 107 is used to control the third switch M3 and / or the fourth switch M4 to be disconnected when it is detected that the battery 104 has an overvoltage, undervoltage, and / or overcurrent phenomenon.
[0104] Among them, battery overvoltage may refer to the phenomenon that the voltage at both ends of the battery is too high; battery undervoltage may refer to the phenomenon that the voltage at both ends of the battery is too low; battery overcurrent may refer to the phenomenon that the current flowing through the battery is greater than the rated current of the battery, and battery overcurrent may include charging overcurrent and discharging overcurrent. It should be noted that battery overvoltage and overcurrent may cause battery heating, bulging, etc.; battery undervoltage may cause excessive discharge of the battery, reducing the battery life.
[0105] The first protection circuit 106 may be understood as the first level of protection for the battery, and the second protection circuit 107 may be understood as the second level of protection for the battery.
[0106] Generally, the first level of protection and the second level of protection will not be triggered at the same time, and the voltage threshold or current threshold corresponding to the first level of protection is smaller than the voltage threshold or current threshold corresponding to the second level of protection.
[0107] Taking charging overcurrent protection as an example, the principle of dual protection of the battery by the first protection circuit 106 and the second protection circuit 107 is briefly described: during the charging process, when the current flowing through the battery 104 is greater than the first current threshold preset by the first protection circuit 106, the first protection circuit 106 can control the first switch M1 and / or the second switch M2 to be disconnected to disconnect the current passing through the battery 104; if the first protection circuit 106 fails and cannot disconnect the charging circuit in time, the battery 104 will continue to be charged. When the current flowing through the battery 104 is greater than the current threshold preset by the second protection circuit 106, the second protection circuit 107 can control the third switch M3 and / or the fourth switch M4 to be disconnected to disconnect the current passing through the battery 104.
[0108] In this way, the battery can be protected by the first protection chip, the second protection chip and the first switch M1 to the fourth switch M4, so that the battery can be used safely.
[0109] The fuel gauge 109 is used to detect battery parameters and transmit the detected battery parameters to the controller 108. The battery parameters may include: battery voltage, current, temperature, etc.
[0110] The power meter 109 is also used to confirm the amount of power charged into the battery, the amount of power discharged from the battery, the remaining power of the battery, etc. based on the battery parameters. When the battery completes a cycle, the cycle value stored in the controller 108 increases by 1.
[0111] Exemplarily, when the battery is charging, the fuel gauge 109 can detect the charging current of the battery in real time, and obtain the amount of power charged into the battery according to the product of the charging current and time; when the battery is discharging, the fuel gauge 109 can detect the discharging current of the battery in real time, and obtain the amount of power discharged from the battery according to the product of the discharging current and time. The fuel gauge 109 can calculate the remaining power of the battery according to the difference between the amount of power charged into the battery and the amount of power discharged from the battery.
[0112] The controller 108 is used to confirm the battery charging strategy based on the stored cycle value, and transmit a control signal to the power management module 110. The control signal includes: the charging strategy. Adaptively, the power management module 110 is used to control the battery charging according to the charging strategy in the control signal.
[0113] Exemplarily, the controller 108 is used to confirm the charging cut-off voltage and / or charging cut-off current to be used when charging the battery based on the stored battery full charge and discharge cycle value, and send a control signal to the power management module 110. The power management module 110 controls the battery charging according to the charging cut-off voltage and / or charging cut-off current in the control signal.
[0114] The controller 108 may be a SOC chip, a processor, etc. in the terminal device. The power management module 110 may be a charger chip or a power management IC (PMIC) in the terminal device. The present application embodiment does not limit this.
[0115] but, Figure 1 The circuit shown may result in a mismatch between the cycle value stored in the controller and the actual cycle value of the battery. For example, the battery and / or the mainboard in the terminal device are disassembled, which may lead to abnormal phenomena such as the battery not being fully charged for a long time, heating, swelling, etc., and the battery safety is low.
[0116] In view of this, an embodiment of the present application provides a power supply circuit. An impedance module is added to the terminal device to detect the impedance of the battery, and the internal resistance of the battery is determined by the battery impedance, thereby determining the degree of aging of the battery installed in the terminal device. Because the internal resistance of the battery can characterize the internal condition of the battery, the degree of aging of the battery confirmed by the internal resistance of the battery will be more accurate, so the terminal device can determine the appropriate charging strategy based on the accurate degree of battery aging, and reduce the phenomenon of battery heating, bulging or incomplete charging caused by the mismatch between the charging strategy and the degree of battery aging.
[0117] For example, Figure 2 A schematic diagram of the connection relationship between a battery protection board 201 and a main board 202 provided in an embodiment of the present application. Figure 2 As shown, the terminal device includes: a battery protection board 201, a main board 202 and a board-to-board connector (BTB) 203. The battery protection board 201 and the main board 202 are connected via the BTB 203.
[0118] The battery protection board 201 is provided with a battery 204 and an EIS module 205. The main board 102 is provided with a controller 206 and a power management module 208. The battery 204 is used to supply power to the battery protection board 201 and the main board 202.
[0119] The EIS module 205 is used to detect the internal resistance of the battery 204 .
[0120] In an embodiment of the present application, the EIS module 205 can output disturbance signals of multiple frequencies to the battery 204, and detect multiple voltage signals output by the battery 204 under the disturbance signals. The EIS module 205 processes the multiple voltage signals to obtain the internal resistance of the battery 204. Exemplarily, the EIS module 205 processes the multiple voltage signals to obtain the impedance of the battery 204 at different frequencies; the EIS module 205 obtains the internal resistance of the battery by fitting the impedance of the battery 204 at multiple frequencies with the equivalent circuit model (EMC). Among them, the disturbance signal may include, for example, a sine wave signal, or a square wave signal or a quasi-square wave signal, and the quasi-square wave signal is a signal that is approximately a square wave signal. The structure, working principle, etc. of the EIS module 205 can refer to the corresponding description below, which will not be repeated here.
[0121] It is understandable that the EIS module 205 performs detection when the battery is unloaded or the load is small, and the battery is in a stable state, and a more accurate detection result will be obtained. Among them, the terminal device can confirm the load size in the circuit and whether the circuit is stable through the current of the battery. Therefore, in some embodiments, when the terminal device determines that the duration of the battery current less than the first threshold value continues to reach the first duration, the terminal device controls the EIS module to start EIS detection. In this way, the accuracy of the measurement result can be improved.
[0122] The first threshold value may be 10 mA, or 20 mA, or any other value, which is not limited here. The first duration may be 0.5 hour, or 1 hour, or any other value, which is not limited here.
[0123] In the embodiment of the present application, the controller 206 may be a system on chip (SOC), a processor, a micro control unit (MCU), etc. in the terminal device. The power management module 208 may be a charger chip or a power management IC (PMIC) in the terminal device. The embodiment of the present application does not limit this.
[0124] The controller 206 is used to determine the charging parameters of the battery based on the internal resistance of the battery. The controller 206 is used to send a first control signal to the power management module 208. The first control signal includes: charging parameters. Adaptively, the power management module 208 is used to control the charging parameters of the battery according to the first control signal. In this way, the terminal device can adjust the charging parameters of the battery based on the aging degree of the battery, reduce the overcharging of the battery, reduce the phenomenon of battery heating, swelling, etc., and extend the battery life.
[0125] Exemplarily, the charging parameters of the battery 204 include one or more of the following: charging cut-off voltage, charging cut-off current, etc.
[0126] Exemplarily, the controller 206 determines the charging cut-off voltage and / or charging cut-off current of the battery 204 based on the internal resistance of the battery, and sends a first control signal to the power management module 208. Adaptively, the power management module 208 is used to control the charging cut-off voltage and / or charging cut-off current of the battery 204 according to the first control signal.
[0127] In some embodiments, the controller 206 pre-stores a corresponding relationship between the internal resistance of the battery and the charging cut-off voltage; the controller 206 determines the charging cut-off voltage to be used when charging the battery based on the internal resistance of the battery detected by the EIS module 205 and the corresponding relationship. Adaptively, the power management module 208 is used to control the battery to charge according to the charging cut-off voltage. The internal resistance of the battery may be inversely proportional to the charging cut-off voltage.
[0128] In other embodiments, the controller 206 pre-stores a corresponding relationship between the internal resistance of the battery and the charging cut-off current; the controller 206 determines the charging cut-off current to be used when charging the battery based on the internal resistance of the battery detected by the EIS module 205 and the corresponding relationship. Adaptively, the power management module 208 is used to control the battery to charge according to the charging cut-off current. The internal resistance of the battery may be proportional to the charging cut-off current.
[0129] The controller 206 may also obtain the charging cut-off voltage and / or charging cut-off current to be used when charging the battery in any other manner, which is not limited here.
[0130] On the basis of the above embodiment, the controller 206 is further used to confirm the discharge parameters of the battery based on the internal resistance of the battery, and send a second control signal to the power management module 208. The second control signal also includes: discharge parameters. Adaptively, the power management module 208 is used to control the discharge parameters of the battery based on the second control signal. In this way, the terminal device can adjust the discharge parameters of the battery based on the aging degree of the battery, reduce the over-discharge of the battery, and extend the battery life.
[0131] Exemplarily, the discharge parameters of the battery include one or more of the following: discharge cut-off voltage, discharge cut-off current, etc.
[0132] In some embodiments, the controller 206 pre-stores a correspondence between the internal resistance of the battery and the discharge cut-off voltage; the controller 206 determines the discharge cut-off voltage to be used when the battery is discharged based on the internal resistance of the battery detected by the EIS module 205 and the correspondence. Adaptively, the power management module 208 is used to control the battery to discharge according to the discharge cut-off voltage. The internal resistance of the battery may be proportional to the discharge cut-off voltage.
[0133] In other embodiments, the controller 206 pre-stores a correspondence between the internal resistance of the battery and the discharge cut-off current; the controller 206 determines the discharge cut-off current to be used when the battery is discharged based on the internal resistance of the battery detected by the EIS module 205 and the correspondence. Adaptively, the power management module 208 is used to control the battery to discharge according to the discharge cut-off current. The internal resistance of the battery may be inversely proportional to the discharge cut-off current.
[0134] The controller may also obtain the discharge cut-off voltage and / or discharge cut-off current to be used when the battery is discharged by any other method, which is not limited here.
[0135] It is understandable that the controller 206 can send the first control signal and the second control signal to the power management module 208 at the same time; or the controller 206 first sends the first control signal to the power management module 208, and then sends the second control signal to the power management module 208. The embodiment of the present application does not limit the sequence of the first control signal and the second control signal. In the embodiment of the present application, the first control signal and the second control signal can be the same control signal or different control signals, which is not limited here.
[0136] On the basis of the above embodiment, the battery protection board further includes: an anti-counterfeiting circuit, a first protection circuit, a second protection circuit, etc. Figure 2 As shown, the battery protection board further includes: an anti-counterfeiting circuit 209, a first protection circuit 210, a second protection circuit 211, a first switch M1, a second switch M2, a third switch M3 and a fourth switch M4.
[0137] The connection relationship between the anti-counterfeiting circuit 209, the first protection circuit 210, the second protection circuit 211, the first switch M1, the second switch M2, the third switch M3 and the fourth switch M4, as well as the specific functions of each device can refer to the above Figure 1 The description is not repeated here.
[0138] The following is an example of the structural implementation and algorithm implementation of the EIS module. Figure 3A Schematic diagram of the structure of the EIS module 205. FIG. 3B to FIG. 4B Both are schematic diagrams of the structure of the detection unit 2051 in the EIS module 205.
[0139] For example, Figure 3A This is a schematic diagram of the structure of an EIS module provided in an embodiment of the present application. Figure 3A As shown, the EIS module 205 includes a detection unit 2051 and a control unit 2052. The input terminal 1a of the detection unit 2051 is connected to the first terminal 2a of the control unit 2052, and the output terminal 1b of the detection unit 2051 is connected to the second terminal 2b of the control unit 2052.
[0140] In an embodiment of the present application, the control unit 2052 can control the detection unit 2051 to generate disturbance signals of multiple frequencies through the first end 2a; the detection unit 2051 can detect multiple voltage signals output by the battery under multiple disturbance signals, and convert the multiple voltage signals into multiple digital signals; the voltage signal includes: an AC voltage signal of the battery 204 caused by the disturbance signal, or a superimposed signal of the AC voltage signal of the battery 204 caused by the disturbance signal and the DC voltage signal output by the battery 204.
[0141] The control unit 2052 can obtain a plurality of digital signals detected by the detection unit 2051 through the second terminal 2b, and obtain the internal resistance of the battery based on the plurality of digital signals.
[0142] For example, the control unit 2052 can obtain the impedance of the battery corresponding to the multiple frequencies through the multiple data signals; the control unit 2052 obtains the internal resistance of the battery by fitting the impedance of the multiple batteries. The embodiment of the present application does not limit the processing process of the control unit 2052 obtaining the internal resistance of the battery based on the multiple digital signals.
[0143] In some embodiments, the control unit 2052 can control the detection unit 2051 to generate sine waves of multiple frequencies through the first terminal 2a; the detection unit 2051 detects the voltage signals output by the battery at multiple frequencies and converts the multiple voltage signals into multiple digital signals; the control unit 2052 can process the multiple digital signals detected by the detection unit 2051 through the second terminal 2b to obtain the internal resistance of the battery. In this way, the EIS module can detect the internal resistance of the battery.
[0144] Exemplarily, the detection unit 2051 can output the sine wave required for the test through a current generator. The detection unit 2051 of the EIS module 205 can convert the voltage signal of the battery output obtained by the detection unit 2051 through an analog to digital converter (ADC) into a digital signal for representing the battery impedance, so as to facilitate the subsequent processing of the control unit 2052.
[0145] In some other embodiments, the control unit 2052 can control the detection unit 2051 to generate square waves or quasi-square waves of multiple frequencies through the first terminal 2a; the detection unit 2051 detects the voltage signals output by the battery at multiple frequencies and converts the multiple voltage signals into multiple digital signals; the control unit 2052 can process the multiple digital signals detected by the detection unit 2051 through the second terminal 2b to obtain the internal resistance of the battery. In this way, the EIS module can detect the internal resistance of the battery, and the square wave is easy to obtain and easy to implement.
[0146] like Figure 3AAs shown, the control unit 2052 may include: a driving circuit and a processing circuit. The driving circuit is used to drive the switch tube in the detection unit 2051 to turn on or off, so as to control the detection unit 2051 to output a square wave or a quasi-square wave to the battery 204; the processing circuit is used to process the multiple digital signals output by the detection unit 2051 to obtain the internal resistance of the battery.
[0147] Exemplarily, the processing circuit may process a plurality of digital signals output by the detection unit 2051 to obtain the impedance of the battery at a plurality of frequencies, and obtain the internal resistance of the battery based on the impedance change.
[0148] The control unit 2052 may be an MCU or other control structure. The embodiment of the present application does not specifically limit the specific structure, position, etc. of the control unit 2052.
[0149] Combine the following Figure 3B and Figure 3C The structure and operation process of the detection unit 2051 of the EIS module are described.
[0150] For example, Figure 3B The structure diagram of the detection unit 2051 of an EIS module provided in an embodiment of the present application is shown in FIG. Figure 3B As shown, the detection unit 2051 includes: a resistor 301 , a switch tube Q1 , a first differential amplifier 302 and an analog-to-digital converter 303 .
[0151] One end of the resistor 301 is connected to the positive electrode of the battery 204, the other end of the resistor 301 is connected to the first electrode 3a of the switch tube Q1, and the second electrode 3b of the switch tube Q1 is grounded; the first input terminal 4a of the first differential amplifier 302 is connected to the positive electrode of the battery 204; the second input terminal 4b of the first differential amplifier 302 is connected to the negative electrode of the battery 204, and the output terminal 4c of the first differential amplifier 302 is connected to the input terminal of the analog-to-digital converter 303. The control terminal 3c of the switch tube Q1 is the input terminal 1a of the detection unit 2051, the control terminal 3c of the switch tube Q1 is connected to the first terminal 2a of the control unit 2052, the output terminal of the analog-to-digital converter 303 is the output terminal 1b of the detection unit 2051, and the output terminal of the analog-to-digital converter 303 is connected to the second terminal 2b of the control unit 2052.
[0152] The switch tube Q1 is used to be turned on or off under the control of the control unit 2052 to generate a disturbance signal.
[0153] It should be noted that the switch tube Q1 is used to be turned on or off under the control of the control unit 2052 , and can generate a voltage with a square wave variation or a voltage with a square wave variation at the battery 204 .
[0154] It should be noted that the voltage of the square wave-like change or the square wave change can be decomposed into sine waves of different frequencies by Fourier. It can be understood that the conduction of the switch tube Q1 will cause the battery 204, the resistor 301, and the switch tube Q1 to form a loop, and a current flows through the resistor 301. The switch tube Q1 is turned on and off alternately, so that the voltage at both ends of the battery 204 changes, so that the detection unit 2051 outputs a disturbance signal to the battery 204.
[0155] For example, the switching frequency of the switch tube Q1 may be 0.1 Hz-10 KHz. In this way, the voltage signal output by the battery under low-frequency and high-frequency disturbance signals is measured to improve the accuracy of the internal resistance.
[0156] In some embodiments, the value range of the resistor 301 may be 5-200 ohms. In this way, the resistor 301 may correspond to the internal resistance of the battery, so that the AC voltage signal generated by the battery 204 due to the disturbance signal is more obvious, thereby improving the accuracy of the test result.
[0157] The first differential amplifier 302 is used to amplify the difference between the voltage at the positive electrode of the battery 204 and the voltage at the negative electrode of the battery 204 based on the first amplification factor, so that the difference between the signals is more obvious, and the accuracy of subsequent signal processing is improved. The first amplification factor can be a preset fixed value, or it can be dynamically adjusted based on the control of the control unit 2052, so that the voltage value output by the first differential amplifier 302 can meet the performance requirements of the magic converter 303, which is not specifically limited in the embodiment of the present application.
[0158] The analog-to-digital converter 303 is used to convert the voltage signal output by the first differential amplifier 302 into a digital signal. Further, the detection unit 2051 can calculate the internal resistance of the battery after obtaining the digital signals of the disturbance signals of multiple frequencies.
[0159] Exemplarily, the control unit 2052 can perform Fourier transformation on the multiple digital signals to obtain voltage values corresponding to multiple frequencies, calculate the ratio of the voltage values corresponding to the multiple frequencies to the current flowing through the resistor 301, and obtain the impedance of the battery 204 at multiple frequencies. The control unit 2052 obtains the internal resistance of the battery by fitting the impedance of the battery at multiple frequencies.
[0160] Combine the following Figure 3B The workflow of the EIS module is described.
[0161] When the battery current is less than the first threshold value for a continuous first time, the control unit 2051 outputs at least N disturbance signals to the switch tube Q1; the N disturbance signals correspond to different frequencies. The duty cycles of the N disturbance signals may be the same, wherein the duty cycle may be understood as the proportion of the power-on time to the total time in a pulse cycle, and the value of the duty cycle is not limited, for example, when the duty cycle is 50%, it may be convenient for subsequent calculations.
[0162] Taking the frequency of the first disturbance signal as the first frequency as an example, the switch tube Q1 is turned on or off according to the first frequency, and the duration of the switch tube Q1 being turned on is the same as the duration of the switch tube Q1 being turned off. Adaptively, the voltage across the battery 204 changes according to the first frequency. The first differential amplifier calculates the voltage of the positive electrode of the battery 204 and the voltage of the battery 204, the difference between the voltage at the positive electrode of the battery 204 and the voltage at the negative electrode of the battery 204, and obtains the voltage signal of the battery 204 at the first frequency.
[0163] The analog-to-digital converter 303 converts the voltage signal of the battery 204 at the first frequency into a digital signal corresponding to the first disturbance signal, and transmits the digital signal corresponding to the first disturbance signal to the control unit of the EIS module 205 .
[0164] For other signals except the first disturbance signal in the N disturbance signals, the control unit 2051 can also obtain the digital signals of each other disturbance signal, and then the control unit 2051 can obtain the change of impedance of the battery 204 at different frequencies based on the digital signals corresponding to the N disturbance signals, and obtain the internal resistance of the battery 204.
[0165] Specifically, the control unit 2052 can perform Fourier decomposition on the digital signals corresponding to the multiple frequencies to obtain the voltage spectra output by the battery 204 at the multiple frequencies, and then obtain the internal resistance of the battery by performing algorithmic processing on the voltage spectra output by the battery 204 at the multiple frequencies. Exemplarily, the algorithmic processing can be to obtain an EIS impedance spectrum based on the voltage spectrum output by the battery 204 at the multiple frequencies; and obtain the internal resistance of the battery by fitting and analyzing the EIS impedance spectrum with the equivalent model.
[0166] In this way, the disturbance signal is output to the battery through the switch tube, which is simple and easy to implement. In addition, the switch tube is small in size and occupies a small area.
[0167] Based on the structure shown in 3B, the EIS module 205 further includes: capacitor C1 and / or capacitor C2. Capacitor C1 is located between the battery and the first differential amplifier; capacitor C2 is located between the first differential amplifier and the second pole of Q1. In this way, the DC voltage signal in the voltage signal of the battery 204 can be filtered out, the interference of the DC voltage signal on the AC voltage signal can be reduced, and the accuracy of the test result can be improved.
[0168] In some embodiments, the value range of the capacitor C1 is 0.1-2.2 microfarads; the value range of the capacitor C2 is 0.1-2.2 microfarads.
[0169] Exemplarily, one end of capacitor C1 is connected to the positive electrode of battery 204, and the other end of capacitor C1 is connected to the first input terminal 4a of the first differential amplifier 302; one end of capacitor C2 is connected to the negative electrode of battery 204, and the other end of capacitor C2 is connected to the second input terminal 4b of the first differential amplifier 302.
[0170] In this way, capacitor C1 can filter out the DC voltage signal input to the first input terminal of the first differential amplifier 302; capacitor C2 can filter out the DC voltage signal input to the second input terminal of the first differential amplifier 302, reduce the interference of the DC voltage signal on the AC voltage signal, and improve the test accuracy.
[0171] It should be noted that capacitor C1 and capacitor C2 can filter out the DC voltage of the battery itself, so that the voltage difference obtained in the first comparator 302 is the voltage difference generated by the disturbance signal at both ends of the battery. Because the disturbance signal usually has a small current value, the voltage difference obtained in the first comparator 302 is small, and the voltage signal transmitted by the first comparator 302 to the analog-to-digital converter 303 is small, so the power supply circuit can use an analog-to-digital converter with lower specification requirements, thereby reducing the cost of the power supply circuit.
[0172] It is understandable that when the frequency of the disturbance signal is small, the AC voltage signal of the battery caused by the disturbance signal is similar to the DC voltage signal, and capacitors C1 and C2 may filter out part of the AC voltage signal, causing the voltage value corresponding to the AC voltage signal output by the first differential amplifier to be smaller, and thus the test structure of the power supply circuit is inaccurate.
[0173] In some embodiments, the EIS module includes two detection paths, one of which includes capacitor C1 and capacitor C2, and the other does not include capacitor C1 and capacitor C2. When the switching frequency is high, the voltage signal output by the battery 204 is collected through the path including capacitor C1 and capacitor C2; when the switching frequency is low, the voltage signal output by the battery 204 is collected through the path without capacitor C1 and capacitor C2. In this way, different paths are used based on the high and low switching frequencies. When the switching frequency is high, the DC component is filtered out by the capacitor to reduce the interference of the DC voltage signal, making the AC voltage signal more accurate and improving the accuracy of the test results; when the switching frequency is low, the DC component is not filtered out, reducing the influence of the capacitor on the AC voltage signal, and improving the accuracy of the test.
[0174] For example, Figure 3CThis is a schematic diagram of the structure of an EIS module provided in an embodiment of the present application. Figure 3C As shown, the EIS module includes: a resistor 301, a switch tube Q1, a first differential amplifier 302, an analog-to-digital converter 303, a capacitor C1, a capacitor C2, a switch S1, a switch S2 and a fifth differential amplifier 304. In the EIS module, one detection path is a battery 204, a capacitor C1, a capacitor C2, a first differential amplifier 302, a switch S1 and an analog-to-digital converter 303; the other detection path is a battery 204, a fifth differential amplifier 304, a switch S2 and an analog-to-digital converter 303.
[0175] The connections and functions of the resistor 301 , the switch tube Q1 , the first differential amplifier 302 , the analog-to-digital converter 303 , the capacitor C1 , and the capacitor C2 can refer to the above corresponding descriptions and will not be repeated here.
[0176] The first input terminal 5a of the fifth differential amplifier 304 is connected to the positive electrode of the battery 204, and the second input terminal 5b of the fifth differential amplifier 304 is connected to the negative electrode of the battery 204. The first terminal 6a of the switch S1 is connected to the output terminal 5c of the first differential amplifier 302, the second terminal 6b of the switch S1 is connected to the analog-to-digital converter 303, and the control terminal 6c of the switch S1 is controlled by the control unit 2052. The first terminal 7a of the switch S2 is connected to the output terminal 5c of the fifth differential amplifier 304, the second terminal 7b of the switch S2 is connected to the analog-to-digital converter 303, and the control terminal 7c of the switch S2 is controlled by the control unit 2052.
[0177] The function of the fifth differential amplifier 304 is similar to that of the first differential amplifier, and will not be described in detail here.
[0178] In the embodiment of the present application, the switch S1 and the switch S2 may be a single-pole single-throw switch or a switch tube. The switch S1 and the switch S2 may also be replaced by other structures that can achieve the same function, such as a single-pole double-throw switch. The embodiment of the present application does not specifically limit the replacement structure of the switch S1 and the switch S2.
[0179] Taking the case where both the switch S1 and the switch S2 are switch tubes as an example, the control unit 2052 is used to control the switch S1 to be turned on and the switch S2 to be turned off when the switching frequency of the switch tube Q1 is greater than the first value, so that the first differential amplifier 302 is connected to the analog-to-digital converter 303. In this way, the detection unit 2051 filters out the DC component through the capacitor C1 and the capacitor C2, and the first differential amplifier 302 collects the voltage across the battery 204 to obtain the voltage signal output by the battery 204.
[0180] The control unit 2052 is further configured to control the switch S1 to be turned off and the switch S2 to be turned on when the switching frequency of the switch tube Q1 is less than or equal to the first value, so that the fifth differential amplifier 304 is connected to the analog-to-digital converter 303. The detection unit 2051 collects the voltage across the battery 204 through the fifth differential amplifier 304 to obtain a voltage signal output by the battery 204.
[0181] The first value may be 100 Hz, 1000 Hz, or any other value. The embodiment of the present application does not limit the specific value of the first value.
[0182] In this way, there are two paths to detect the voltage, and different paths are used based on the switching frequency. When the switching frequency is high, the DC component is filtered out by the capacitor, making the voltage signal more accurate and improving the accuracy of the test results; when the switching frequency is low, the influence of the capacitor on the AC voltage signal is reduced, thereby improving the accuracy of the test.
[0183] On the basis of the above embodiment, the detection unit 2051 further includes: a constant current source. The constant current source is used to stabilize the current flowing through the resistor 301. In this way, during the EIS test, the current output by the battery is stable, thereby reducing the test error caused by the unstable current, improving the accuracy of the EIS test, and improving the accuracy of the battery internal resistance.
[0184] It is understandable that, in the above embodiment, the current flowing through the resistor 301 may be determined by a constant current source, or by any other method, which is not limited here.
[0185] In the embodiment of the present application, the constant current source may be located between the battery 204 and the resistor 301 , or between the resistor 301 and the switch tube Q1 .
[0186] Combine the following Figure 4A and Figure 4B The structures of two constant current sources are described.
[0187] For example, Figure 4A A schematic diagram of the structure of an EIS module provided in an embodiment of the present application. Figure 4A As shown, the detection unit 2051 includes: a resistor 301 , a switch tube Q1 , a first differential amplifier 302 , an analog-to-digital converter 303 and a constant current source 401 .
[0188] Figure 4A In the circuit shown, the constant current source 401 is located between the battery 204 and the resistor 301. One end of the constant current source 401 is connected to the battery 204, and the other end of the constant current source 401 is connected to one end of the resistor 301.
[0189] It is understandable that the constant current source 401 can also be located between the resistor 301 and the switch tube Q1. One end of the constant current source 401 is connected to the resistor 301, and the other end of the constant current source 401 is connected to the first pole 3a of the switch tube Q1. The specific location of the constant current source 401 is not limited in the embodiment of the present application.
[0190] In the embodiment of the present application, the constant current source 401 includes: a second differential amplifier 411, a resistor 412 and a switch tube Q2.
[0191] Taking the constant current source 401 located between the battery 204 and the resistor 301 as an example, the first electrode 8a of the switch tube Q2 is connected to the positive electrode of the battery 204, the second electrode 8b of the switch tube Q2 is connected to one end of the resistor 301, the second electrode 8b of the switch tube Q2 is connected to one end of the resistor 412, the control electrode 8c of the switch tube Q2 is connected to the output end 9c of the second differential amplifier 411, the first input end 9a of the second differential amplifier 411 is used to input the first reference voltage; the second input end 9b of the second differential amplifier 411 is connected to the other end of the resistor 412.
[0192] The second differential amplifier 411 is used to adjust the voltage at the control electrode of the switch tube Q2 based on the voltage at the other end of the resistor 412 and the first reference voltage, so as to adjust the resistance of the switch tube Q2 and stabilize the voltage at one end of the resistor 412. Specifically, the second differential amplifier 411 can calculate the difference between the voltage at the other end of the resistor 412 and the first reference voltage, and adjust the voltage at the control electrode 8c of the switch tube Q2 based on the difference and the second amplification factor to adjust the resistance of the switch tube Q2. The switch tube Q2 works in the linear region, and the resistance of the switch tube Q2 is adjustable.
[0193] Among them, the second amplification factor can be a preset fixed value, or it can be dynamically adjustable based on the control of the control unit 2052, so that the voltage value output by the second differential amplifier 411 can meet the adjustment of the resistance of the switch tube Q2, and the embodiment of the present application does not make specific limitations.
[0194] When the current flowing through the resistor 301 is high, the voltage at one end of the resistor 412 is high. The second differential amplifier 411 calculates the difference between the voltage at the other end of the resistor 412 and the first reference voltage, and adjusts the voltage at the control electrode 8c of the switch tube Q2 based on the difference and the second amplification factor, so that the resistance of the switch tube Q2 increases, and then the voltage at one end of the resistor 412 decreases, and the current flowing through the resistor 301 decreases.
[0195] When the current flowing through the resistor 301 is low, the voltage at one end of the resistor 412 is low, and the second differential amplifier 411 calculates the difference between the voltage at the other end of the resistor 412 and the first reference voltage, and adjusts the voltage at the control electrode 8c of the switch tube Q2 based on the difference and the second amplification factor, so that the resistance of the switch tube Q2 is reduced, and then the voltage at one end of the resistor 412 is increased, and the current flowing through the resistor 301 is increased.
[0196] In this way, the voltage at the resistor 412 is collected in real time by the second differential amplifier, and the resistance of Q2 is adjusted based on the voltage at the resistor 412 and the first reference voltage, thereby keeping the current flowing through the resistor 301 stable.
[0197] For example, Figure 4B This is a schematic diagram of the structure of an EIS module provided in an embodiment of the present application. Figure 4B As shown, the detection unit 2051 includes: a resistor 301 , a switch tube Q1 , a first differential amplifier 302 , an analog-to-digital converter 303 , and a constant current source 402 .
[0198] Figure 4B In the circuit shown, the constant current source 402 is located between the resistor 301 and the switch tube Q1. One end of the constant current source 402 is connected to the other end of the resistor 301, and the other end of the constant current source 402 is connected to the first electrode 3a of the switch tube Q1.
[0199] It is understandable that the constant current source 402 may also be located between the battery 204 and the resistor 301 . One end of the constant current source 402 is connected to the battery 204 , and the other end of the constant current source 402 is connected to one end of the resistor 301 .
[0200] In the embodiment of the present application, the constant current source 402 includes: a switch tube Q3 , a third differential amplifier 421 , a sampling resistor 422 , a fourth differential amplifier 423 and a resistor 424 .
[0201] Taking the constant current source 402 located between the resistor 301 and the switch tube Q1 as an example, the first electrode 10a of the switch tube Q3 is connected to the other end of the resistor 301, the second electrode 10b of the switch tube Q3 is connected to one end of the sampling resistor 422, and the control electrode 10c of the switch tube Q3 is connected to the output end 11c of the third differential amplifier 421; the other end of the sampling resistor 422 is connected to the first electrode 3a of the switch tube Q1; the first input end 11a of the third differential amplifier 421 is used to input the second reference voltage; the second input end 11b of the third differential amplifier 421 is connected to one end of the resistor 424; the other end of the resistor 424 is connected to the output end 12c of the fourth differential amplifier 423; one end of the sampling resistor 422 is connected to the first input end 12a of the fourth differential amplifier 423, and the other end of the sampling resistor 422 is connected to the second input end 12b of the fourth differential amplifier 423.
[0202] In some embodiments, the resistance of the sampling resistor 422 ranges from 0.75 ohms to 100 ohms.
[0203] Taking the switch tube Q3 as NMOS as an example, the drain of the switch tube Q3 is connected to the positive electrode of the battery 204 , the source of the switch tube Q3 is connected to one end of the sampling resistor 422 , and the gate of the switch tube Q3 is connected to the output end of the third differential amplifier 421 .
[0204] The fourth differential amplifier is used to output a voltage based on the voltage across the sampling resistor 422, and the voltage output by the fourth differential amplifier is proportional to the voltage difference across the sampling resistor 422. It can be understood that the voltage output by the fourth differential amplifier 423 increases as the voltage difference across the sampling resistor 422 increases, and decreases as the voltage difference across the sampling resistor 422 decreases.
[0205] The third differential amplifier 421 is used to adjust the voltage at the control electrode 10c of the switch tube Q3 based on the difference between the second reference voltage and the voltage at one end of the resistor 424 and the third amplification factor, so as to adjust the resistance of the switch tube Q3 and stabilize the voltage difference across the sampling resistor 422. Specifically, the third differential amplifier 421 can calculate the difference between the second reference voltage and the voltage at one end of the resistor 424, and adjust the voltage at the control electrode 10c of the switch tube Q3 based on the difference and the third amplification factor, so as to adjust the resistance of the switch tube Q3. The switch tube Q3 works in the linear region, and the resistance of the switch tube Q3 is adjustable.
[0206] Among them, the third amplification factor can be a preset fixed value, or it can be dynamically adjustable based on the control of the control unit 2052, so that the voltage value output by the third differential amplifier 421 can meet the adjustment of the resistance of the switch tube Q3, and the embodiment of the present application does not make specific limitations.
[0207] It can be understood that the voltage at one end of the resistor 424 corresponds to the voltage output by the fourth differential amplifier 423. It can also be understood that the third differential amplifier 421 is used to adjust the voltage at the control electrode 10c of the switch tube Q3 based on the second reference voltage and the voltage output by the fourth differential amplifier 423 to adjust the resistance of the switch tube Q3.
[0208] When the current flowing through the resistor 301 is high, the voltage difference between the two ends of the sampling resistor 422 is high, the voltage output by the fourth differential amplifier 423 is high, and the voltage at the other end of the resistor 424 is high. The third differential amplifier 421 calculates the difference between the voltage at the other end of the resistor 424 and the second reference voltage, and adjusts the voltage at the control electrode 10c of the switch tube Q3 based on the difference and the third amplification factor, so that the resistance of the switch tube Q3 increases, and then the current flowing through the resistor 422 decreases, and the current flowing through the resistor 301 decreases.
[0209] When the current flowing through the resistor 301 is low, the voltage difference between the two ends of the sampling resistor 422 is low, the voltage output by the fourth differential amplifier 423 is low, and the voltage at the other end of the resistor 424 is low. The third differential amplifier 421 calculates the difference between the voltage at the other end of the resistor 424 and the second reference voltage, and adjusts the voltage at the control electrode 10c of the switch tube Q3 based on the difference and the third amplification factor, so that the resistance of the switch tube Q3 is reduced, and then the current flowing through the resistor 422 is increased, and the current flowing through the resistor 301 is increased.
[0210] In this way, the voltage across the sampling resistor 422 can be collected, and the resistance of the switch tube Q3 can be adjusted based on the voltage difference across the sampling resistor 422 to keep the current flowing through the resistor 301 stable. Figure 4B The resistance value of the sampling resistor 422 in the constant current source shown is fixed, and feedback adjustment is performed based on the voltage difference across the sampling resistor 422. It can be understood that feedback adjustment is performed based on the current flowing through the sampling resistor 422, so that the current flowing through the resistor 301 is stable, and the accuracy of the internal resistance of the battery calculated based on the current flowing through the resistor 301 can be subsequently improved.
[0211] Accordingly, the sampling accuracy of the battery AC voltage signal by the first differential amplifier and the analog-to-digital converter can be reduced, the accuracy requirement of the analog-to-digital converter in the power supply circuit can be reduced, and the cost of the analog-to-digital converter can be reduced.
[0212] In a possible implementation, the sampling resistor corresponding to the EIS module 205 and the sampling resistor corresponding to the first protection circuit 210 are the same resistor. Figure 2 In the embodiment, the first protection circuit 210 and / or the second protection circuit 211 detects the voltage of the battery 204 through the resistor 212. The resistor 301 and the resistor 212 in the EIS module 205 can be the same resistor. In this way, by reusing the resistors, the number of resistors on the battery protection board side can be reduced, the space occupied and the cost can be reduced, and the terminal device can be miniaturized.
[0213] It is understandable that the anti-counterfeiting circuit 209, the first protection circuit 210, the second protection circuit 211 and the EIS module 205 can be independent modules, or multiple modules can be integrated together. For example, the anti-counterfeiting circuit 209, the first protection circuit 210 and the second protection circuit 211 are integrated together; or, the anti-counterfeiting circuit 209, the first protection circuit 210, the second protection circuit 211 and the EIS module 209 are integrated together. In this way, the occupied area of the battery protection board can be reduced, which is conducive to the miniaturization of the terminal device. The embodiment of the present application does not limit the number and type of modules integrated together.
[0214] Based on the above embodiment, the power supply circuit further includes a power meter 207. The power meter 207 is used to detect battery parameters and transmit the battery parameters to the controller on the mainboard side. The battery parameters may include: battery voltage, current and temperature.
[0215] In a possible implementation, the controller 206 determines the battery charging parameters and discharging parameters based on the battery internal resistance and the battery temperature. In this way, the charging strategy and the discharging strategy are more accurate by taking into account the effect of the battery temperature on the battery internal resistance.
[0216] Exemplarily, the controller 206 stores the correspondence between the internal resistance of the battery, the temperature of the battery, and the battery charging parameters, and the controller determines the charging parameters of the battery 204 based on the internal resistance of the battery 204, the temperature of the battery 204, and the correspondence. The embodiment of the present application does not limit the specific correspondence.
[0217] In some embodiments, the power meter 207 is connected to the power management module 208 ( Figure 2 (not shown), the fuel gauge 207 transmits the battery temperature to the power management module 208. When the temperature of the battery 204 is less than or equal to the temperature setting value, the power management module 208 charges the battery; or, when the temperature of the battery 204 is greater than the temperature setting value, the power management module 208 stops charging the battery. In this way, when the battery temperature is high, charging the battery is stopped, reducing the battery overheating and improving the safety of the battery.
[0218] In a possible implementation, the fuel gauge 207 is also used to predict the power based on the detected current of the battery 204. Exemplarily, the fuel gauge 207 integrates the current collected through the sampling resistor 212 to obtain the power output by the battery, and then predicts the remaining power of the battery to display the remaining power of the battery on the display screen.
[0219] In some embodiments, the fuel gauge 207 is also used to update the relationship between open circuit voltage (OCV) and power based on the internal resistance of the battery, thereby improving the accuracy of battery power evaluation, making power prompts more accurate, and improving user experience.
[0220] In some embodiments, the fuel gauge 207 includes: a sampling resistor, a differential amplifier, and an analog-to-digital converter. The differential amplifier obtains a voltage signal of the sampling resistor based on the voltage across the sampling resistor; the analog-to-digital converter converts the voltage signal of the sampling resistor into a digital signal to obtain a current flowing through the sampling resistor, and then obtains the amount of power output by the battery.
[0221] In the embodiment of the present application, the power meter can be set on the main board (such as Figure 2 As shown), it can also be set on the battery protection board (as Figure 5 No limitation is given here.
[0222] For example, Figure 5 A schematic diagram of the connection relationship between a battery protection board and a main board provided in an embodiment of the present application. Figure 5 As shown, the terminal device includes: a battery protection board 501, a main board 502 and a BTB 503. The battery protection board 501 and the main board 502 are connected via the BTB 503.
[0223] Figure 5 In the embodiment, the battery protection board 501 is provided with a battery 504, an EIS module 505 and a fuel gauge 507. The main board 502 is provided with a controller 506 and a power management module 208.
[0224] The structures and functions of the battery 504, the EIS module 505, the fuel gauge 507, the controller 506 and the power management module 508 can refer to the above Figures 2 to 4B The corresponding description will not be repeated here.
[0225] Figure 5 The fuel meter 507 shown is located on the battery protection board side. The fuel meter 507 does not need to be connected to the battery through the BTB, which can reduce the lead length connecting the fuel meter 507 and the battery, reduce the lead voltage drop and the influence of the BTB on the relevant parameters of the battery, improve the detection accuracy of the battery related parameters, and improve the accuracy of the relevant parameters.
[0226] In some embodiments, the EIS module 505 and the fuel gauge 507 may share the same sampling resistor. In this way, by reusing the resistor, the number of resistors on the battery protection board side can be reduced, the space occupied and the cost can be reduced, which is conducive to the miniaturization of the terminal device.
[0227] In some embodiments, the EIS module 505 and the fuel gauge 507 share the same analog-to-digital converter.
[0228] It is understandable that the EIS module needs to operate when the current output by the battery is small or no current. When the current output by the battery is small or no current, the EIS module uses the analog-to-digital converter. When the current is large, the fuel gauge predicts the power by the current flowing through the sampling resistor. When the current output by the battery is large, the fuel gauge uses the analog-to-digital converter.
[0229] In an embodiment of the present application, when the battery current is less than a first threshold value for a continuous period of time reaching a first period of time, the EIS module operates using an analog-to-digital converter; when the battery current is greater than or equal to the first threshold value, or when the battery current is less than the first threshold value for a continuous period of time less than the first period of time, the fuel gauge uses the analog-to-digital converter.
[0230] In this way, by multiplexing analog-to-digital converters, the number of analog-to-digital converters in the circuit can be reduced, the space occupied and the cost can be reduced, which is conducive to the miniaturization of terminal equipment.
[0231] For example, Figure 6 This is a schematic diagram of the structure of an EIS module 505 and an electric meter 507 when a common analog-to-digital converter is provided in an embodiment of the present application. Figure 6 As shown, the circuit includes: a battery 204, a sampling resistor 601, a sixth differential amplifier 602, an EIS module 603 and a switch S3. The EIS module 603 includes a switch S4. The switch S4 is located between the first differential amplifier 302 and the analog-to-digital converter 303. The first pole 15a of the switch S4 is connected to the output terminal 4c of the first differential amplifier 302, and the second pole 15b of the switch S4 is connected to the analog-to-digital converter 303; the control pole 15c of the switch S4 is controlled by the controller in the power supply circuit.
[0232] One end of the sampling resistor 601 is connected to the negative electrode of the battery 204, and the other end of the sampling resistor 601 is grounded; the first input end 13a of the sixth differential amplifier 602 is connected to one end of the sampling resistor 601, the second input end 13b of the sixth differential amplifier 602 is connected to the other end of the sampling resistor 601, the output end 13c of the sixth differential amplifier 602 is connected to the first pole 14a of the switch S3, and the second pole 14b of the switch S3 is connected to the analog-to-digital converter in the EIS module. The control pole 14c of the switch S3 is controlled by the controller in the power supply circuit.
[0233] The sixth differential amplifier 602 is used to determine the voltage signal of the sampling resistor 601, and transmit the voltage signal of the sampling resistor 601 to the analog-to-digital converter in the EIS module 603. The analog-to-digital converter can convert the voltage signal of the sampling resistor 601 into a digital signal for representing the voltage signal of the sampling resistor 601. The subsequent fuel gauge can determine the current of the battery based on the digital signal for representing the voltage signal of the sampling resistor 601 and the resistance value of the sampling resistor 601.
[0234] In the embodiment of the present application, the switch S3 and the switch S4 may be single-pole single-throw switches or switch tubes.
[0235] The switch S3 and the switch S4 may also be replaced by other structures that can achieve the same function, such as a single-pole double-throw switch, etc. The embodiment of the present application does not specifically limit the replacement structure of the switch S3 and the switch S4.
[0236] Taking the case where both switch S3 and switch S4 are switch tubes, the controller is used to control switch S3 to be turned on and switch S4 to be turned off when the duration of the battery current being less than the first threshold value does not continuously reach the first duration, or when the battery current is greater than or equal to the first threshold value, so that the sixth differential amplifier 602 is connected to the analog-to-digital converter 303. In this way, the fuel gauge can collect the voltage across the sampling resistor 601 through the sixth differential amplifier 602 to obtain a voltage signal of the sampling resistor 601.
[0237] The controller is used to control the switch S3 to be turned off and the switch S4 to be turned on when the battery current is less than the first threshold value for a first time period, so that the first differential amplifier 302 is connected to the analog-to-digital converter 303. In this way, the EIS module can collect the voltage across the battery 204 through the first differential amplifier 302 to obtain the voltage signal output by the battery 204.
[0238] Above Figure 6 In the embodiment shown, the EIS module 603 is Figure 3B The EIS module 603 is shown as an example. Figure 3C The EIS module shown, Figure 4A The EIS module shown and Figure 4B The EIS module shown in the figure, the embodiment of the present application does not limit the specific structure of the EIS module 603.
[0239] It is understandable that when the EIS module 603 is Figure 3B When the EIS module is shown, the switch S4 can be located between the switch S2 and the analog-to-digital converter 303, or between the switch S1 and the analog-to-digital converter 303. Figure 3B The switch S1 in the embodiment can be the same switch, and the switch S4 can be the same switch as the above switch. Figure 3B The switch S2 in the example may be the same switch, etc. The embodiment of the present application does not specifically limit the specific connection of the four switches or the replacement structure of the four switches. The four switches refer to switch S1, switch S2, switch S3 and switch S4.
[0240] If switch S4 is connected to the above Figure 3BThe switch S1 in the circuit is the same switch; when the duration of the battery current being less than the first threshold value continues to reach the first duration, and the switching frequency of Q1 is greater than the first value, the switch S4 is turned on, and the switch S2 and the switch S3 are both turned off, so as to collect the voltage across the battery 204 through the first differential amplifier 302, and obtain the voltage signal output by the battery 204. When the duration of the battery current being less than the first threshold value continues to reach the first duration, and the switching frequency of Q1 is less than or equal to the first value, the switch S2 is turned on, and the switch S4 and the switch S3 are both turned off, so as to collect the voltage across the battery 204 through the fifth differential amplifier 304, and obtain the voltage signal output by the battery 204. When the duration of the battery current being less than the first threshold value continues to not reach the first duration, or the battery current is greater than or equal to the first threshold value, the switch S3 is turned on, and the switch S2 and the switch S4 are both turned off, so as to collect the voltage across the sampling resistor 601 through the sixth differential amplifier 302, and obtain the voltage signal of the sampling resistor 601. The switch S2, the switch S3 and the switch S4 may also be replaced by other structures that can achieve the same function, such as a single-pole triple-throw switch, etc. The embodiment of the present application does not specifically limit the replacement structure of the switch S2, the switch S3 and the switch S4.
[0241] If switch S4 is connected to the above Figure 3B The switch S2 in is the same switch. When the duration of the battery current being less than the first threshold value continues to reach the first duration, and the switching frequency of Q1 is greater than the first value, the switch S1 is turned on, and the switch S4 and the switch S3 are both turned off, so as to collect the voltage across the battery 204 through the first differential amplifier 302, and obtain the voltage signal output by the battery 204. When the duration of the battery current being less than the first threshold value continues to reach the first duration, and the switching frequency of Q1 is less than or equal to the first value, the switch S4 is turned on, and the switch S1 and the switch S3 are both turned off, so as to collect the voltage across the battery 204 through the fifth differential amplifier 304, and obtain the voltage signal output by the battery 204. When the duration of the battery current being less than the first threshold value continues to not reach the first duration, or the battery current is greater than or equal to the first threshold value, the switch S3 is turned on, and the switch S1 and the switch S4 are both turned off, so as to collect the voltage across the sampling resistor 601 through the sixth differential amplifier 302, and obtain the voltage signal of the sampling resistor 601. The switch S1, switch S3 and switch S4 may also be replaced by other structures that can achieve the same function, such as a single-pole triple-throw switch, etc. The embodiment of the present application does not specifically limit the replacement structure of the switch S1, switch S3 and switch S4.
[0242] In some other embodiments, the EIS module 505 and the electricity meter 507 do not share the analog-to-digital converter. In this way, the EIS module 505 and the electricity meter 507 can better meet the different voltage signal collection requirements of the EIS module 505 and the electricity meter 507.
[0243] Based on the above embodiment, the battery protection board further includes: an anti-counterfeiting circuit, a first protection circuit and a second protection circuit. Figure 5 As shown, the battery protection board 501 further includes an anti-counterfeiting circuit 509 . One end of the anti-counterfeiting circuit 509 is connected to the power source 504 , and the other end of the anti-counterfeiting circuit 509 is connected to the BTB 503 .
[0244] The function of the anti-counterfeiting circuit 509 can be referred to the above corresponding description, which will not be repeated here.
[0245] like Figure 5 As shown, the battery protection board 501 further includes: a first protection circuit 510 and a second protection circuit 511 .
[0246] The structures and functions of the first protection circuit 510 and the second protection circuit 511 can refer to the above corresponding descriptions, which will not be repeated here.
[0247] In some embodiments, the first protection circuit and / or the second protection circuit detects the voltage of the battery 204 through a sampling resistor. Figure 5 As shown, the sampling resistor corresponding to the first protection circuit is resistor 512 .
[0248] In possible implementation mode 1, the sampling resistor corresponding to the EIS module 505 is the same as the sampling resistor corresponding to the first protection circuit 510. In this way, by reusing resistors, the number of resistors on the battery protection board side can be reduced, reducing space occupation and cost, which is conducive to the miniaturization of terminal equipment.
[0249] In possible implementation mode 2, the sampling resistor corresponding to the power meter 507 and the sampling resistor corresponding to the first protection circuit 510 are the same resistor. In this way, by reusing resistors, the number of resistors on the battery protection board side can be reduced, reducing space occupation and cost, which is conducive to the miniaturization of terminal equipment.
[0250] In possible implementation mode 3, the sampling resistor corresponding to the EIS module 505, the sampling resistor corresponding to the fuel gauge 507, and the sampling resistor corresponding to the first protection circuit 510 are the same resistor. In this way, by reusing resistors, the number of resistors on the battery protection board side can be reduced, reducing space occupation and cost, which is conducive to the miniaturization of terminal equipment.
[0251] It can be understood that in the above embodiment, the anti-counterfeiting circuit 509, the first protection circuit 510, the second protection circuit 511, the EIS module 505 and the fuel gauge 507 can be independent modules, or multiple modules can be integrated together. For example, the anti-counterfeiting circuit 509, the first protection circuit 510 and the second protection circuit 511 are integrated into the same chip; or, the anti-counterfeiting circuit 509, the first protection circuit 510, the EIS module 505 and the fuel gauge 507 are integrated into the same chip. In this way, the occupied area of the battery protection board can be reduced, which is conducive to the miniaturization of the terminal device.
[0252] In addition, when the fuel gauge 507 and the first protection circuit 510 are integrated in the same chip, the switch corresponding to the first protection circuit can be actively controlled to be turned on or off, thereby improving the flexibility of the charging and discharging scheme. The embodiment of the present application does not limit the number and type of modules integrated in the same chip.
[0253] For example, taking the case where the first protection circuit, the EIS module, and the power meter are integrated into the same chip, Figure 7 This is a schematic diagram of the structure of a battery protection board provided in an embodiment of the present application. Figure 7 As shown, the battery protection board includes: a first module 801. The first module 801 integrates an EIS module, a power meter and a first protection circuit.
[0254] The first module 801 includes a plurality of pins, including a pin for connecting to a resistor corresponding to the EIS, a pin for collecting the battery voltage, a pin for connecting to a controller, and a pin for connecting to the first switch M1 and / or the second switch M2.
[0255] For example, Figure 7 As shown, the pins for connecting the resistor corresponding to the EIS include: VDRA pin, CSN pin and CSP pin; VDRA pin is connected to resistor 811, CSN pin is connected to one end of resistor 812, and CSP pin is connected to the other end of resistor 812. CSN pin and CSP pin are used to sample the voltage across the resistor, and the first module 801 confirms the current flowing through resistor 812, which is convenient for subsequent EIS calculation. Resistor 811 can correspond to the above-mentioned resistor 301; resistor 812 can correspond to the above-mentioned resistor 422.
[0256] The pins for collecting the battery voltage include: VBATHF pin, VBATLF pin, VDRB pin and VSS pin. The VBATHF pin is connected to a capacitor C1, and the VBATLF pin is connected to a capacitor C2.
[0257] The functions of capacitors C1 and C2 can refer to the corresponding descriptions above. The VBATHF pin is used to collect the positive voltage of the battery; the VBATLF pin is used to collect the negative voltage of the battery. The VDRB pin is used to collect the positive voltage of the battery; the VSS pin is used to collect the negative voltage of the battery.
[0258] Pins for connecting to the controller: INT pin, SDA pin, SCL pin and CE pin. The third pin is used for data communication. For example, the INT pin is used to transmit an interrupt signal to notify the controller that there is data to be processed; the SDA pin is used to transmit a data signal; the SCL pin is used to transmit a command, etc.; the CE pin is used to transmit a clock signal. The INT pin, SDA pin, SCL pin and CE pin can form a communication interface.
[0259] Pins for connecting the first switch M1 and / or the second switch M2: CSG pin and DSG pin. The CSG pin is used to control the first switch M1 to be turned on or off to achieve the protection function of the first protection circuit; the DSG pin is used to control the second switch M2 to be turned on or off to achieve the protection function of the first protection circuit.
[0260] In some embodiments, the battery protection board further includes a second module 802. The second module 802 includes a second protection circuit. The second module 802 includes a pin for connecting the third switch M3 and / or the fourth switch M4.
[0261] In the above embodiment, the first protection circuit may correspond to two switches, namely the first switch M1 and the second switch M2. The first protection circuit may also correspond to four switches, namely the first switch M1, the second switch M2, the fifth switch M5 and the sixth switch M6. Similarly, in the above embodiment, the second protection circuit may correspond to two switches, namely the third switch M3 and the fourth switch M4. The second protection circuit may also correspond to four switches, namely the third switch M3, the fourth switch M4, the seventh switch M7 and the eighth switch M8. The embodiment of the present application does not specifically limit the number of switches corresponding to the protection circuit.
[0262] It is understandable that the second protection circuit may also be located in the first module 801. The embodiment of the present application does not limit the specific location of the second protection circuit. The first module 801 further includes a fifth pin for connecting the third switch M3 and / or the fourth switch M4.
[0263] For example, Figure 8 This is a schematic diagram of the structure of a first module provided in an embodiment of the present application. Figure 8 As shown, the first module includes: analog circuit and digital circuit. The analog circuit includes: the analog part of the EIS module, the analog circuit of the fuel gauge, the system power supply and the driving circuit. The digital part includes: the processing unit and the anti-counterfeiting unit.
[0264] The analog circuit of the EIS module includes but is not limited to: a constant current source and an analog-to-digital converter of the EIS module, etc. The analog-to-digital converter of the EIS module is used to convert the tested analog signal into a digital signal to facilitate the processing of the subsequent processing unit.
[0265] The analog circuit of the fuel gauge includes but is not limited to: an analog-to-digital converter of the fuel gauge, etc.
[0266] The system power supply is used to supply power to the first module.
[0267] The driving circuit is used to drive the switches corresponding to the protection circuit. Exemplarily, the driving circuit can be used to drive the switches corresponding to the first protection circuit, for example, the first switch M1 and the second switch M2, etc. The driving circuit can also be used to drive the switches corresponding to the second protection circuit, for example, the third switch M3 and the fourth switch M4, etc.
[0268] The processing unit is used to confirm the relevant parameters of the battery based on the digital signal transmitted by the analog circuit. The processing unit is also used to communicate with the controller on the mainboard side and transmit the relevant parameters such as the voltage, internal resistance, current and temperature of the battery to the controller, so as to facilitate the subsequent controller to confirm the battery charging parameters and discharging parameters based on the relevant parameters of the battery.
[0269] Exemplarily, taking the EIS test as an example, the processing unit obtains the impedance value of the battery at different frequencies based on the digital signal of the analog-to-digital converter from the EIS module, and performs algorithm fitting processing on the impedance value of the battery at different frequencies to obtain the internal resistance of the battery, and then confirm the degree of aging of the battery.
[0270] The anti-counterfeiting unit is used to store anti-counterfeiting information and / or battery-related information. The anti-counterfeiting information is used to indicate whether the battery is a genuine battery. The battery-related information includes: battery type, battery life, battery serial number, etc.
[0271] An embodiment of the present application provides a terminal device, which includes: the above-mentioned power supply circuit.
[0272] For example, Fig. 9 A schematic diagram of the structure of a terminal device provided in an embodiment of the present application. Fig. 9As shown, the terminal device includes: the terminal device may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.
[0273] It is to be understood that the structure illustrated in the embodiment of the present invention does not constitute a specific limitation on the terminal device. In other embodiments of the present application, the terminal device may include more or fewer components than shown in the figure, or combine certain components, or split certain components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.
[0274] The processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.
[0275] The controller can obtain the battery's charging parameters, discharging parameters, etc. according to the battery's internal resistance; the controller can also send a control signal to the power management module; the control signal includes charging parameters, discharging parameters, etc. The charging parameters and discharging parameters can refer to the above corresponding descriptions and will not be repeated here.
[0276] The process of the controller determining the charging parameters and discharging parameters of the battery according to the internal resistance of the battery can refer to the above corresponding description, which will not be repeated here.
[0277] The function of the power management module 141 can refer to the above Figures 2 to 8 The corresponding description will not be repeated here.
[0278] In addition, on top of the above components, the device also runs an operating system, such as an iOS operating system, an Android operating system, or a Windows operating system, etc. Applications can be installed and run on the operating system.
[0279] The software system of the terminal device can adopt a layered architecture, an event-driven architecture, a microkernel architecture, a microservice architecture, or a cloud architecture, etc., which will not be elaborated here.
[0280] The embodiment of the present application provides a chip. The chip includes the EIS module in the above power circuit. The structure and function of the EIS module can refer to the above corresponding description, which will not be repeated here.
[0281] Optionally, the chip further includes one or more of the following: an electric meter, a first protection circuit, a second protection circuit, and an anti-counterfeiting circuit. The structures and functions of the electric meter, the first protection circuit, the second protection circuit, and the anti-counterfeiting circuit can refer to the above corresponding descriptions and will not be repeated here.
[0282] The embodiment of the present application provides a chip. The chip includes a processor, and the processor is used to call a computer program in a memory to execute the technical solution of the controller in the above embodiment. Its implementation principle and technical effect are similar to those of the above related embodiments, and will not be repeated here.
[0283] The embodiment of the present application also provides a computer-readable storage medium. The computer-readable storage medium stores a computer program. When the computer program is executed by the processor, the method executed by the above controller is implemented. The method described in the above embodiment can be implemented in whole or in part by software, hardware, firmware, or any combination thereof. If implemented in software, the function can be stored as one or more instructions or codes on a computer-readable medium or transmitted on a computer-readable medium. Computer-readable media can include computer storage media and communication media, and can also include any medium that can transfer a computer program from one place to another. The storage medium can be any target medium that can be accessed by a computer.
[0284] In one possible implementation, a computer-readable medium may include RAM, ROM, compact disc read-only memory (CD-ROM) or other optical disk storage, disk storage or other magnetic storage devices, or any other medium that is intended to carry or store the required program code in the form of instructions or data structures and can be accessed by a computer. Moreover, any connection is appropriately referred to as a computer-readable medium. For example, if a coaxial cable, fiber optic cable, twisted pair, digital subscriber line (DSL) or wireless technology (such as infrared, radio and microwave) is used to transmit software from a website, server or other remote source, the coaxial cable, fiber optic cable, twisted pair, DSL or wireless technology such as infrared, radio and microwave are included in the definition of medium. Disks and optical disks as used herein include optical disks, laser disks, optical disks, digital versatile disks (DVD), floppy disks and Blu-ray disks, where disks usually reproduce data magnetically, while optical disks reproduce data optically using lasers. Combinations of the above should also be included in the scope of computer-readable media.
[0285] An embodiment of the present application provides a computer program product, which includes a computer program. When the computer program is executed, the computer executes the method executed by the controller.
[0286] The embodiments of the present application are described with reference to the flowcharts and / or block diagrams of the methods, devices (systems) and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processing unit of a general-purpose computer, a special-purpose computer, an embedded processor or other programmable device to generate a machine, so that the instructions executed by the processing unit of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0287] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards, and provide corresponding operation entrances for users to choose to authorize or refuse.
[0288] The above specific implementation methods further illustrate the purpose, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above are only specific implementation methods of the present invention and are not used to limit the protection scope of the present invention. Any modifications, equivalent substitutions, improvements, etc. made on the basis of the technical solutions of the present invention should be included in the protection scope of the present invention.
Claims
1. A power supply circuit, characterized in that: include: EIS module, controller and power management module; The EIS module is connected to the controller, the controller is connected to the power management module, and the EIS module is also used to connect to a battery; The EIS module is used to detect the internal resistance of the battery; The controller is used to obtain a charging cut-off voltage and / or a charging cut-off current of the battery according to the internal resistance of the battery, and send a first control signal to the power management module; The first control signal includes the charging cut-off voltage and / or the charging cut-off current; The power management module is used to control the charging cut-off voltage and / or the charging cut-off current of the battery according to the first control signal.
2. The circuit according to claim 1, characterized in that The EIS module includes: a detection unit and a control unit; The input end of the detection unit is connected to the first end of the control unit, and the output end of the detection unit is connected to the second end of the control unit; The control unit is used to control the detection unit to output a plurality of disturbance signals to the battery through the first end, wherein the frequencies of the plurality of disturbance signals are different; The detection unit is used to detect a plurality of voltage signals output by the battery under the plurality of disturbance signals, and convert the plurality of voltage signals into a plurality of digital signals; The control unit is further configured to obtain the plurality of digital signals through the second end, and obtain the internal resistance of the battery based on the plurality of digital signals.
3. The circuit according to claim 2, characterized in that The disturbance signal includes: a square wave or a quasi-square wave.
4. The circuit according to claim 3, characterized in that The detection unit includes: a first resistor, a switch tube Q1, a first differential amplifier and an analog-to-digital converter; One end of the first resistor is connected to the positive electrode of the battery, the other end of the first resistor is connected to the first electrode of the switch tube Q1, and the second electrode of the switch tube Q1 is grounded; the first input end of the first differential amplifier is connected to the positive electrode of the battery, the second input end of the first differential amplifier is connected to the negative electrode of the battery, and the output end of the first differential amplifier is connected to the input end of the analog-to-digital converter; Wherein, the input end of the detection unit is the control electrode of the switch tube Q1; the output end of the detection unit is the output end of the analog-to-digital converter; The control unit is specifically used to control the switch tube Q1 to be turned on or off through the first end, so as to control the detection unit to output the multiple disturbance signals to the battery; The first differential amplifier is used to amplify the difference between the voltage at the positive electrode of the battery and the voltage at the negative electrode of the battery based on a first amplification factor; The analog-to-digital converter is used to convert the voltage signals output by the first differential amplifiers into the digital signals, and transmit the digital signals to the control unit; The control unit is specifically configured to obtain the internal resistance of the battery based on the multiple digital signals.
5. The circuit according to claim 4, characterized in that The control unit is specifically configured to control the switch tube Q1 to be turned on or off at a duty cycle of 50% through the first end.
6. The circuit according to claim 4 or 5, characterized in that The control unit is specifically used to perform Fourier transformation on the multiple digital signals to obtain voltage values corresponding to multiple frequencies; The control unit is further used to calculate the ratio of the voltage values corresponding to the multiple frequencies to the current value flowing through the first resistor to obtain the impedance of the battery at the multiple frequencies; The control unit is further used to perform fitting processing on the impedance of the battery at the multiple frequencies to obtain the internal resistance of the battery.
7. The circuit according to any one of claims 4 to 6, characterized in that: The detection unit also includes: a constant current source; The constant current source is connected between the first resistor and the battery, or the constant current source is connected between the first resistor and the switch tube Q1; The constant current source is used to stabilize the current flowing through the first resistor.
8. The circuit according to claim 7, characterized in that The constant current source includes: a second differential amplifier, a second resistor and a switch tube Q2; The constant current source is connected between the first resistor and the battery, the first electrode of the switch tube Q2 is connected to the positive electrode of the battery, the second electrode of the switch tube Q2 is connected to one end of the first resistor, the control electrode of the switch tube Q2 is connected to the output end of the second differential amplifier, the first input end of the second differential amplifier is used to input a first reference voltage; the second input end of the second differential amplifier is connected to the other end of the second resistor, and one end of the second resistor is connected to the second electrode of the switch tube Q2; Alternatively, the constant current source is connected between the first resistor and the switch tube Q1, the first electrode of the switch tube Q2 is connected to the other end of the first resistor, the second electrode of the switch tube Q2 is connected to the first electrode of the switch tube Q1, the control electrode of the switch tube Q2 is connected to the output end of the second differential amplifier, and the first input end of the second differential amplifier is used to input a first reference voltage; the second input end of the second differential amplifier is connected to the other end of the second resistor, and one end of the second resistor is connected to the second electrode of the switch tube Q2; The second differential amplifier is used to adjust the voltage at the control electrode of the switch tube Q2 based on the voltage at the other end of the second resistor and the first reference voltage to stabilize the voltage at one end of the second resistor.
9. The circuit according to claim 7, characterized in that The constant current source includes: a switch tube Q3, a third differential amplifier, a third resistor, a fourth differential amplifier and a fourth resistor; When the constant current source is located between the first resistor and the battery, the first electrode of the switch tube Q3 is connected to the positive electrode of the battery, the second electrode of the switch tube Q3 is connected to one end of the third resistor, and the control electrode of the switch tube Q3 is connected to the output end of the third differential amplifier; the other end of the third resistor is connected to one end of the first resistor; the first input end of the third differential amplifier is used to input a second reference voltage; the second input end of the third differential amplifier is connected to one end of the fourth resistor; the other end of the fourth resistor is connected to the output end of the fourth differential amplifier; one end of the third resistor is connected to the first input end of the fourth differential amplifier, and the other end of the third resistor is connected to the second input end of the fourth differential amplifier; Alternatively, when the constant current source is located between the first resistor and the switch tube Q1, the first electrode of the switch tube Q3 is connected to the other end of the first resistor, the second electrode of the switch tube Q3 is connected to one end of the third resistor, and the control electrode of the switch tube Q3 is connected to the output end of the third differential amplifier; the other end of the third resistor is connected to the first electrode of the switch tube Q1; the first input end of the third differential amplifier is used to input a second reference voltage; the second input end of the third differential amplifier is connected to one end of the fourth resistor; the other end of the fourth resistor is connected to the output end of the fourth differential amplifier; one end of the third resistor is connected to the first input end of the fourth differential amplifier, and the other end of the third resistor is connected to the second input end of the fourth differential amplifier; The fourth differential amplifier is used to output a voltage based on the voltage difference across the third resistor, and the voltage output by the fourth differential amplifier is proportional to the voltage difference across the third resistor; The third differential amplifier is used to adjust the voltage at the control electrode of the switch tube Q3 based on the second reference voltage and the voltage at one end of the fourth resistor, so as to stabilize the voltage difference across the third resistor.
10. The circuit according to any one of claims 4 to 9, characterized in that: The detection unit further includes: a capacitor C1, and / or a capacitor C2; One end of the capacitor C1 is connected to the positive electrode of the battery, and the other end of the capacitor C1 is connected to the first input end of the first differential amplifier; one end of the capacitor C2 is connected to the negative electrode of the battery, and the other end of the capacitor C1 is connected to the second input end of the first differential amplifier; The capacitor C1 is used to filter out a DC component of a voltage input to the first input terminal of the first differential amplifier; The capacitor C2 is used to filter out a DC component of a voltage input to the second input terminal of the first differential amplifier.
11. The circuit according to claim 10, characterized in that The detection unit further includes: a first switch unit and a fifth differential amplifier; The first input end of the first switch unit is connected to the output end of the first differential amplifier; the second input end of the first switch unit is connected to the output end of the fifth differential amplifier; the output end of the first switch unit is connected to the analog-to-digital converter; the first input end of the fifth differential amplifier is connected to the positive electrode of the battery, and the second input end of the fifth differential amplifier is connected to the negative electrode of the battery; The control unit is specifically configured to control the first input end of the first switch unit to be connected to the output end of the first switch unit when the switching frequency of the switch tube Q1 is greater than a first value, so that the first differential amplifier is connected to the analog-to-digital converter; The control unit is specifically used to control the second input end of the first switch unit to be connected to the output end of the first switch unit when the switching frequency of the switch tube Q1 is less than or equal to the first value, so that the fifth differential amplifier and the analog-to-digital converter are connected.
12. The circuit according to claim 11, characterized in that The detection unit further includes: the first switch unit includes: a switch S1 and a switch S2; The first electrode of the switch S1 is connected to the output end of the first differential amplifier, the second electrode of the switch S1 is connected to the analog-to-digital converter, and the control electrode of the switch S1 is controlled by the control unit; the first electrode of the switch S2 is connected to the output end of the fifth differential amplifier, the second electrode of the switch S2 is connected to the analog-to-digital converter, and the control electrode of the switch S2 is controlled by the control unit; The control unit is specifically configured to control the switch S1 to be turned on and the switch S2 to be turned off when the switching frequency of the switch tube Q1 is greater than a first value, so that the first differential amplifier is connected to the analog-to-digital converter; The control unit is further configured to control the switch S1 to be turned off and the switch S2 to be turned on when the switching frequency of the switch tube Q1 is less than or equal to a first value, so that the fifth differential amplifier is connected to the analog-to-digital converter.
13. The circuit according to any one of claims 1 to 12, characterized in that: The controller is further configured to obtain a discharge cut-off voltage and / or a discharge cut-off current of the battery based on the internal resistance of the battery, and send a second control signal to the power management module; The second control signal further includes: the discharge cut-off voltage and / or the discharge cut-off current; The power management module is further used to control the discharge cut-off voltage and / or the discharge cut-off current of the battery according to the second control signal.
14. The circuit according to any one of claims 1 to 13, characterized in that: The circuit further comprises: an electric meter; the electric meter is connected to the controller; The fuel gauge is used to detect the current of the battery and transmit the current of the battery to the controller; The controller is used to control the EIS module to detect the internal resistance of the battery when the duration of time during which the current of the battery is less than the first threshold value continues to reach a first duration.
15. The circuit according to claim 14, characterized in that The fuel gauge includes: a fifth resistor and a sixth differential amplifier; the circuit also includes: a second switch unit; the EIS module includes: a first differential amplifier and an analog-to-digital converter; One end of the fifth resistor is connected to the negative electrode of the battery, the other end of the fifth resistor is grounded, the first input end of the sixth differential amplifier is connected to one end of the fifth resistor, the second input end of the sixth differential amplifier is connected to the other end of the fifth resistor, the output end of the sixth differential amplifier is connected to the first input end of the second switch unit; the second input end of the second switch unit is connected to the output end of the first differential amplifier, the output end of the second switch unit is connected to the analog-to-digital converter; the second switch unit is controlled by the controller; The fuel gauge is used to obtain the current of the battery based on the voltage signal of the fifth resistor determined by the sixth differential amplifier and the resistance value of the fifth resistor; The controller is further configured to, when the duration for which the current of the battery is less than the first threshold value continuously reaches a first duration, control the first input end of the second switch unit to be connected to the output end of the second switch unit, so that the first differential amplifier is connected to the analog-to-digital converter; The controller is also used to control the second input end of the second switch unit to be connected to the output end of the second switch unit when the current of the battery is greater than or equal to the first threshold, so that the sixth differential amplifier and the analog-to-digital converter are connected.
16. The circuit according to any one of claims 1 to 15, characterized in that: The circuit further includes: a first protection circuit, a second protection circuit, a first switch M1, a second switch M2, a third switch M3 and a fourth switch M4; The first detection end of the first protection circuit is connected to the positive electrode of the battery, the first control end of the first protection circuit is connected to the control end of the first switch M1, the second control end of the first protection circuit is connected to the control end of the second switch M2, the first detection end of the second protection circuit is connected to the positive electrode of the battery, the first control end of the second protection circuit is connected to the control end of the third switch M3, and the second control end of the second protection circuit is connected to the control end of the fourth switch M4; One connection end of the first switch M1 is connected to the negative electrode of the battery, the other connection end of the first switch M1 is connected to one connection end of the second switch M2, the other connection end of the second switch M2 is connected to one connection end of the third switch M3, the other connection end of the third switch M3 is connected to one connection end of the fourth switch M4, and the other connection end of the fourth switch M4 is connected to the negative electrode of the battery; The first protection circuit is used for controlling the first switch M1 and / or the second switch M2 to be disconnected when overvoltage, undervoltage, and / or overcurrent are detected in the battery, so as to interrupt the connection between the battery and the load; The second protection circuit is used for controlling the third switch M3 and / or the fourth switch M4 to be disconnected when overvoltage, undervoltage, and / or overcurrent are detected in the battery, so as to interrupt the connection between the battery and the load.
17. A chip, characterized in that: include: The EIS module according to any one of claims 1 to 16.
18. The chip according to claim 17, characterized in that: The chip further includes one or more of the following modules: a fuel gauge, a first protection circuit, and a second protection circuit.
19. A terminal device, characterized in that: include: A power supply circuit as claimed in any one of claims 1 to 16.
Citation Information
Cited By
Power supply circuit and related apparatus
EP4734323A1
Power supply circuit and related apparatus
WO2025039524A1