CN114460478B - Detection method and circuit for electronic equipment battery and electronic equipment - Google Patents

Detection method and circuit for electronic equipment battery and electronic equipment Download PDF

Info

Publication number
CN114460478B
CN114460478B CN202110876523.2A CN202110876523A CN114460478B CN 114460478 B CN114460478 B CN 114460478B CN 202110876523 A CN202110876523 A CN 202110876523A CN 114460478 B CN114460478 B CN 114460478B
Authority
CN
China
Prior art keywords
resistor
battery
pin
voltage
electronic equipment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110876523.2A
Other languages
Chinese (zh)
Other versions
CN114460478A (en
Inventor
黄停
朱辰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Honor Device Co Ltd
Original Assignee
Honor Device Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Honor Device Co Ltd filed Critical Honor Device Co Ltd
Priority to CN202110876523.2A priority Critical patent/CN114460478B/en
Publication of CN114460478A publication Critical patent/CN114460478A/en
Application granted granted Critical
Publication of CN114460478B publication Critical patent/CN114460478B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/36Arrangements for testing, measuring or monitoring the electrical condition of accumulators or electric batteries, e.g. capacity or state of charge [SoC]
    • G01R31/385Arrangements for measuring battery or accumulator variables
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01VGEOPHYSICS; GRAVITATIONAL MEASUREMENTS; DETECTING MASSES OR OBJECTS; TAGS
    • G01V3/00Electric or magnetic prospecting or detecting; Measuring magnetic field characteristics of the earth, e.g. declination, deviation

Abstract

The application provides a detection method and a circuit of an electronic equipment battery and electronic equipment. A detection circuit at a battery of an electronic device, comprising: a first resistor connected to ground; the control component is connected with the first resistor and used for communicating the connection between the first resistor and the first pin when the electronic equipment is started; the electronic equipment is started and is completed, and the connection between the first resistor and the first pin is cut off, so that the in-place detection of the battery is realized, and the identification error of the battery is avoided.

Description

Detection method and circuit for electronic equipment battery and electronic equipment
Technical Field
The present invention relates to the field of electronic technologies, and in particular, to a method and a circuit for detecting a battery of an electronic device, and an electronic device.
Background
In order to detect whether the battery of the electronic equipment is in place or not, the battery of the electronic equipment is provided with a pin, and the pin is externally connected with a pull-down resistor. However, the introduction of the pull-down resistor may cause inaccurate voltage division of the resistor on the pin of the battery of the electronic device, which may cause an error when the identity of the battery of the electronic device is identified by using the voltage division of the resistor.
Disclosure of Invention
The application provides a detection method and a circuit of an electronic equipment battery and electronic equipment, which are used for ensuring that the battery is detected in place and avoiding battery identity recognition errors.
In order to achieve the purpose, the invention provides the following technical scheme:
in a first aspect, the present application provides a detection circuit for a battery of an electronic device, which is applied to the electronic device, wherein the electronic device includes a battery, the battery is provided with a first pin, and the first pin is used for providing a signal for battery detection; the detection circuit of the electronic equipment battery comprises: a first resistor and a control part connected with the first resistor; the first resistor is grounded, and the control component is used for communicating the connection between the first resistor and the first pin when the electronic equipment is started; and after the electronic equipment is started, the connection between the first resistor and the first pin is cut off.
From the above, it can be seen that: when the electronic equipment is started, the first resistor is connected with the first pin, the first resistor is grounded, and the level value of the first pin is low under the action that the first resistor pulls the voltage to the ground, so that the in-place detection of the battery is realized. After the electronic equipment is started, when the electronic equipment identifies the battery identity, the connection between the first resistor and the first pin is cut off, so that the level value of the first pin is ensured to be obtained only under the action of the pull-down resistor and the pull-up resistor, and the battery identity is identified correctly.
In one possible embodiment, the control means comprises: the first switch tube and the second switch tube; the input end of the first switching tube is connected with the first pin, the output end of the first switching tube is connected with the first resistor, and the control end of the first switching tube is connected with system voltage; the input end of the second switch tube is connected to the control end of the first switch tube, the output end of the second switch tube is grounded, the control end receives a control instruction, the control instruction is used for controlling the second switch tube to be cut off when the electronic equipment is started, and the second switch tube is controlled to be switched on when the electronic equipment is started.
In this possible embodiment, when the electronic device is turned on, the first switch tube is turned on, the second switch tube is turned off, the first resistor is connected to the first pin, the first resistor is grounded, and a level value of the first pin is low under the action of the first resistor pulling a voltage to the ground, so that the in-place detection of the battery is realized. When the electronic equipment is started, and the battery identity is identified by the electronic equipment, the second switching tube is switched on, the first switching tube is switched off, the connection between the first resistor and the first pin is cut off, the level value of the first pin is ensured to be obtained only under the action of the pull-down resistor and the pull-up resistor, and the battery identity is identified correctly.
In one possible embodiment, the control means comprises: the low dropout linear regulator is connected to a first pin, and a first resistor refers to a grounding resistor in the low dropout linear regulator; the low dropout linear regulator is not powered on when the electronic equipment is started, and the voltage of the grounding resistor to the first pin is pulled down to the ground; the low dropout linear regulator is powered on when the electronic equipment is started, and the voltage of the ground resistor to the first pin is pulled up to the output voltage of the low dropout linear regulator.
In this possible embodiment, when the electronic device is powered on, the low dropout regulator is not powered on when the electronic device is powered on, the voltage of the ground resistor to the first pin is pulled down to the ground, and the level value of the first pin is low under the action of the ground resistor to the voltage pulled down to the ground, so that the in-place detection of the battery is realized. When the electronic equipment is started, and the electronic equipment identifies the identity of the battery, the voltage of the ground resistor on the first pin is pulled up to the output voltage of the low dropout regulator, so that the level value of the first pin is ensured to be obtained only under the action of the pull-down resistor and the pull-up resistor, and the identity of the battery is identified correctly.
In one possible embodiment, a low dropout linear regulator includes: the circuit comprises an adjusting tube, a first sampling resistor, a second sampling resistor and a comparison amplifier; the positive input end of the comparison amplifier receives a reference voltage, and the negative input end of the comparison amplifier receives a reference voltage and is grounded; the comparison amplifier is used for comparing the reference voltage with the reference voltage and outputting a control voltage according to the comparison result of the reference voltage and the reference voltage; the adjusting tube is coupled with the comparison amplifier and used for receiving the control voltage output by the comparison amplifier and outputting adjusting current from the output end under the control of the control voltage; one end of the first sampling resistor is connected with the positive input end of the comparison amplifier, and the other end of the first sampling resistor is connected with the output end of the adjusting tube; one end of the second sampling resistor is connected with the positive input end of the comparison amplifier, and the other end of the second sampling resistor is connected with the ground.
In one possible embodiment, the control means comprises: a regulating tube and a comparison amplifier; the positive input end of the comparison amplifier receives a reference voltage, and the negative input end of the comparison amplifier receives a reference voltage and is grounded; the comparison amplifier is used for comparing the reference voltage with the reference voltage and outputting a control voltage according to the comparison result of the reference voltage and the reference voltage; the adjusting tube is coupled with the comparison amplifier and used for receiving the control voltage output by the comparison amplifier and outputting adjusting current from the output end under the control of the control voltage.
In one possible embodiment, the first resistor comprises: a first sampling resistor and a second sampling resistor; one end of the first sampling resistor is connected with the positive input end of the comparison amplifier, and the other end of the first sampling resistor is connected with the output end of the adjusting tube; one end of the second sampling resistor is connected with the positive input end of the comparison amplifier, and the other end of the second sampling resistor is connected with the ground.
In this possible embodiment, when the electronic device is turned on, the voltage source is input, the regulating tube is turned off, the first sampling resistor and the second sampling resistor are equivalent to a pull-down resistor, and the pull-down resistor provides the pin voltage for the first pin to pull to the ground. Under the action of the pull-down resistor for pulling the voltage to the ground, the level value of the first pin is low, and therefore the detection that the battery is in place is achieved. The electronic equipment is started, the electronic equipment is powered on, the voltage source has power input, the adjusting tube is conducted, the first sampling resistor and the second sampling resistor are equivalent to a pull-up resistor, the level value of the first pin is ensured to be obtained only under the action of the pull-down resistor and the pull-up resistor, and the battery identity is correctly identified.
In a second aspect, the present application provides an electronic device, including a battery and a detection circuit of the battery of the electronic device, wherein a first pin is disposed on the battery, the first pin is used for providing a signal detected by the battery, and the detection circuit of the battery of the electronic device includes: a first resistor connected to ground; the control component is connected with the first resistor and used for communicating the connection between the first resistor and the first pin when the electronic equipment is started; and after the electronic equipment is started, the connection between the first resistor and the first pin is cut off.
From the above, it can be seen that: when the electronic equipment is started, the first resistor is connected with the first pin, the first resistor is grounded, and the level value of the first pin is low under the action of the first resistor on voltage pulled to the ground, so that the in-place detection of the battery is realized. After the electronic equipment is started, when the electronic equipment identifies the battery identity, the connection between the first resistor and the first pin is cut off, so that the level value of the first pin is ensured to be obtained only under the action of the pull-down resistor and the pull-up resistor, and the battery identity is identified correctly.
In one possible embodiment, the control component comprises a first switch tube and a second switch tube; the input end of the first switching tube is connected with the first pin, the output end of the first switching tube is connected with the first resistor, and the control end of the first switching tube is connected with system voltage; the input end of the second switch tube is connected to the control end of the first switch tube, the output end of the second switch tube is grounded, the control end receives a control instruction, the control instruction is used for controlling the second switch tube to be cut off when the electronic equipment is started, and the second switch tube is controlled to be switched on when the electronic equipment is started.
In one possible embodiment, the control means comprises: the low dropout linear regulator is connected to a first pin, and a first resistor refers to a grounding resistor in the low dropout linear regulator; the low dropout linear regulator is not powered on when the electronic equipment is started, and the voltage of the grounding resistor to the first pin is pulled down to the ground; the low dropout linear regulator is powered on when the electronic equipment is started, and the voltage of the ground resistor to the first pin is pulled up to the output voltage of the low dropout linear regulator.
In one possible embodiment, a low dropout linear regulator comprises: the circuit comprises an adjusting tube, a first sampling resistor, a second sampling resistor and a comparison amplifier; the positive input end of the comparison amplifier receives a reference voltage, and the negative input end of the comparison amplifier receives the reference voltage and is grounded; the comparison amplifier is used for comparing the reference voltage with the reference voltage and outputting a control voltage according to the comparison result of the reference voltage and the reference voltage; the adjusting tube is coupled with the comparison amplifier and used for receiving the control voltage output by the comparison amplifier and outputting adjusting current from the output end under the control of the control voltage; one end of the first sampling resistor is connected with the positive input end of the comparison amplifier, and the other end of the first sampling resistor is connected with the output end of the adjusting tube; one end of the second sampling resistor is connected with the positive input end of the comparison amplifier, and the other end of the second sampling resistor is connected with the ground.
In one possible embodiment, the control means comprises: a regulating tube and a comparison amplifier; the positive input end of the comparison amplifier receives a reference voltage, and the negative input end of the comparison amplifier receives a reference voltage and is grounded; the comparison amplifier is used for comparing the reference voltage with the reference voltage and outputting a control voltage according to the comparison result of the reference voltage and the reference voltage; the adjusting tube is coupled with the comparison amplifier and used for receiving the control voltage output by the comparison amplifier and outputting adjusting current from the output end under the control of the control voltage.
In one possible embodiment, the first resistor includes: a first sampling resistor and a second sampling resistor; one end of the first sampling resistor is connected with the positive input end of the comparison amplifier, and the other end of the first sampling resistor is connected with the output end of the adjusting tube; one end of the second sampling resistor is connected with the positive input end of the comparison amplifier, and the other end of the second sampling resistor is connected with the ground.
In a third aspect, the present application provides a method for detecting a battery of an electronic device, which is applied to the electronic device, where a battery of the electronic device is provided with a first pin, and the first pin is used to provide a signal detected by the battery, and the method for detecting a battery of the electronic device includes: when the electronic equipment is started, the voltage of the first pin is pulled down to the ground by using the first resistor; and after the electronic equipment is started, cutting off the connection between the first resistor and the first pin.
From the above, it can be seen that: in the detection method of the electronic equipment battery, when the electronic equipment is started, the voltage of a first pin is pulled down to the ground by using a first resistor, and the level value of the first pin is low under the action of the first resistor on the voltage pulled to the ground, so that the in-place detection of the battery is realized. After the electronic equipment is started, when the electronic equipment identifies the battery identity, the connection between the first resistor and the first pin is cut off, so that the level value of the first pin is ensured to be obtained only under the action of the pull-down resistor and the pull-up resistor, and the battery identity is identified correctly.
Drawings
Fig. 1 is a schematic composition diagram of a hardware structure of an electronic device according to an embodiment of the present disclosure;
fig. 2 is a circuit diagram of an in-place detection circuit of a battery of an electronic device according to an embodiment of the present disclosure;
fig. 3 is a circuit diagram of a battery detection circuit of an electronic device according to an embodiment of the present disclosure;
fig. 4a is a circuit diagram of a detection circuit of a battery of an electronic device according to an embodiment of the present application;
fig. 4b is a diagram illustrating a detection process of a battery of an electronic device according to an embodiment of the present disclosure;
fig. 4c is a diagram illustrating a detection process of a battery of an electronic device according to an embodiment of the present disclosure;
FIG. 5 is a circuit diagram of a detection circuit for a battery of an electronic device according to another embodiment of the present application;
fig. 6 is a circuit diagram of a low dropout linear regulator according to an embodiment of the present application;
fig. 7 is a circuit diagram of a detection circuit of a battery of an electronic device according to another embodiment of the present application;
FIG. 8a is a diagram illustrating a process for detecting a battery of an electronic device according to another embodiment of the present application;
FIG. 8b is a diagram illustrating a process for detecting a battery of an electronic device according to another embodiment of the present application;
fig. 9 is a flowchart of a method for detecting a battery of an electronic device according to an embodiment of the present application.
Detailed Description
The terms "first", "second" and "third", etc. in the description and claims of this application and the description of the drawings are used for distinguishing between different objects and not for limiting a particular order.
In this application, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrases "comprising one of 8230; \8230;" 8230; "does not exclude the presence of additional like elements in a process, method, article, or apparatus that comprises the element.
Fig. 1 shows a schematic structural diagram of an electronic device 100. The electronic device 100 may be a mobile phone, a tablet Computer, a desktop, a laptop, a notebook, an Ultra-mobile Personal Computer (UMPC), a handheld Computer, a netbook, a Personal Digital Assistant (PDA), a wearable electronic device, a smart watch, and the like.
The electronic device 100 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, a display 170 (flexible screen), and the like.
It is to be understood that the illustrated structure of the embodiment of the present application does not specifically limit the electronic device 100. In other embodiments of the present application, electronic device 100 may include more or fewer components than shown, or some components may be combined, some components may be split, or a different arrangement of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
Processor 110 may include one or more processing units, such as: the processor 110 may include an Application Processor (AP), a modem processor, a Graphics Processing Unit (GPU), an Image Signal Processor (ISP), a controller, a memory, a video codec, a Digital Signal Processor (DSP), a baseband processor, and/or a neural-Network Processing Unit (NPU), etc. The different processing units may be separate devices or may be integrated into one or more processors. The processor may be, among other things, a neural center and a command center of the electronic device 100. The processor can generate an operation control signal according to the instruction operation code and the timing signal to complete the control of instruction fetching and instruction execution.
A memory may also be provided in the processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may hold instructions or data that have just been used or recycled by the processor 110. If the processor 110 needs to use the instruction or data again, it can be called directly from memory. Avoiding repeated accesses reduces the latency of the processor 110, thereby increasing the efficiency of the system.
The internal memory 121 may be used to store computer-executable program code, which includes instructions. The processor 110 executes various functional applications of the electronic device 100 and data processing by executing instructions stored in the internal memory 121. The internal memory 121 may include a program storage area and a data storage area. The storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, and the like) required by at least one function, and the like. The storage data area may store data (such as audio data, phone book, etc.) created during use of the electronic device 100, and the like. In addition, the internal memory 121 may include a high-speed random access memory, and may further include a nonvolatile memory, such as at least one magnetic disk storage device, a flash memory device, a universal flash memory (UFS), and the like.
The charging management module 140 is configured to receive a charging input from a charger. The charging management module 140 may also supply power to the electronic device through the power management module 141 while charging the battery 142.
The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives an input of the battery 142 and/or the charge management module 140, and supplies power to the processor 110, the internal memory 121, the external memory, the mobile communication module 150, the wireless communication module 160, the flexible screen 170, and the like.
The power management module 141 may also be used to monitor parameters such as battery capacity, battery cycle count, battery state of health (leakage, impedance), etc. In some other embodiments, the power management module 141 may also be disposed in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 may also be disposed in the same device.
In the process of starting up the electronic device shown in fig. 1, it is usually detected whether the battery 142 is in place or not, the electronic device fails to start up if the battery 142 is not in place, and the electronic device is normally started up if the battery 142 is in place.
In order to support the function of the electronic device for detecting whether the battery is in place, referring to fig. 2, a BATT _ ID pin for identifying whether the battery is in place may be added to the battery, and a pull-down resistor R0 is arranged inside the battery and connected to the BATT _ ID pin.
In the process of starting up the electronic equipment, a voltage value pulled down by the pull-down resistor R0 is output by a BATT _ ID pin, and is subjected to analog-to-digital conversion to obtain an ADC _ BATT _ ID level value which is input into a Power Management integrated circuit (Power Management IC, PMIC), and the PMIC detects that the battery is in place by using the ADC _ BATT _ ID level value.
A Power Management Integrated Circuit (PMIC) is a component of the charging Management module 140 shown in fig. 1, and is mainly used for voltage conversion, voltage stabilization, and battery Management.
The electronic device detects that the battery is in place, and after the electronic device is normally started, the identity of the battery is further usually identified. Specifically, the PMIC may identify the battery identity according to the ADC _ BATT _ ID level value, and distinguish batteries of different manufacturers of different types. The BATT _ ID pin is connected with a pull-down resistor R0, different batteries are connected, and the resistance values of the pull-down resistor R0 connected with the BATT _ ID pin are different. For the BATT _ ID pin, the pull-down resistor R0 may bring down the pin voltage, and the pull-up resistor R1 may bring up the pin voltage. Under the action of the pull-down resistor R0 and the pull-up resistor R1, the voltage value of the BATT _ ID pin is the divided voltage value of the voltage V1 and is uniquely corresponding to the resistance value of the pull-down resistor R0 of the battery, and the PMIC identifies the identity of the battery according to the level value of the ADC _ BATT _ ID pin and distinguishes the batteries of different models and different manufacturers.
The resistor R2 is connected into a circuit for protecting the battery, and the influence of the resistor R2 can be ignored in the scheme of battery detection.
In consideration of battery protection, the BATT _ ID pin of some electronic device batteries needs to be used as a communication interface, and a pull-down resistor R0 is not configured inside the batteries to provide connection for the BATT _ ID pin. In consideration of this situation, an additional pull-down resistor is introduced into the circuit of the battery of the electronic device to detect whether the battery is in place or not.
Referring to fig. 3, an additional pull-down resistor R3 is introduced to connect to the PMIC, and the pull-down resistor R3 can provide a voltage pull-down function no matter whether the battery BATT _ ID pin of the battery is connected to the pull-down resistor R0, and the PMIC can still detect whether the battery is in place according to the ADC _ BATT _ ID level value.
The pull-down resistor R0 in the battery is removed, and when the battery is identified, the pull-down resistor R3 can bring pin voltage pull-down and the pull-up resistor R1 can bring pin voltage pull-up for the BATT _ ID pin. Under the action of the pull-down resistor R3 and the pull-up resistor R1, the voltage value of the BATT _ ID pin is the divided voltage value of the voltage V1 and is uniquely corresponding to the resistance value of the pull-down resistor R3 of the battery, and the PMIC identifies the identity of the battery according to the level value of the ADC _ BATT _ ID pin and distinguishes batteries of different models and different manufacturers.
However, if the pull-down resistor R0 is still left inside the battery of the electronic device, and the pull-down resistor R3 is also connected to the circuit of the battery, the following problems may occur:
when the battery ID (identity, identification number) is identified, the resistance voltage division is inaccurate, which causes the battery identity identification to be wrong.
As mentioned above, the pull-down resistor R3 also provides a voltage pull-down, so that, for the BATT _ ID pin, the voltage value of the BATT _ ID pin under the action of the pull-down resistor R3 and the pull-up resistor R1 is further divided by the pull-down resistor R3, which causes an error in the ADC _ BATT _ ID level value, and a false determination occurs when the PMIC identifies the battery identity.
The battery identity is misjudged, further resulting in an erroneous battery model being constructed based on the battery parameters obtained from the misjudged identity. The battery runs in a wrong mode, which causes the problems of abnormal running, abnormal shutdown and the like of the electronic equipment.
Example one
The embodiment of the application provides a detection circuit of an electronic equipment battery. Referring to fig. 4a, the detection circuit of the battery of the electronic device includes: a resistor R3, a switch tube N1 and a switch tube N2.
The resistor R3 belongs to a pull-down resistor, one end of the resistor R is grounded, and the other end of the resistor R is connected with the output end of the switch tube N1. The input end of the switch tube N1 is connected with a power management integrated circuit PMIC of the electronic equipment, the control end of the switch tube N1 is connected with a system voltage VREG-SYS, and the system voltage VREG-SYS is also electrified when the electronic equipment is in a shutdown state. The input end of the switch tube N2 is connected with the control end of the switch tube N1, the output end of the switch tube N2 is grounded, and the control end of the switch tube N2 receives an instruction so as to respond to the instruction in a conducting or cut-off state.
Fig. 4a shows that the switching transistor N1 and the switching transistor N2 are both P-channel MOS transistors. However, neither the switching transistor N1 nor the switching transistor N2 in the embodiment of the present application is limited to the P-channel MOS transistor. In some embodiments, the switch tube N1 and the switch tube N2 may also be switch components such as an insulated gate bipolar transistor, a switch transistor, and a switch.
Referring to fig. 4b, the electronic device is powered on and the electronic device is not powered. However, the control end of the switching tube N1 is connected to the system voltage VREG-SYS and is always electrified, so that the switching tube N1 can be always in a conducting state. And when the electronic device is in the starting process, the electronic device is not electrified, so that the control end of the switch tube N2 is defaulted to be low level, and the switch tube N2 is in a cut-off state. At this time, the switch tube N1 is turned on, the switch tube N2 is turned off, and the resistor R3 is connected to PMIC to provide a pin voltage for the BATT _ ID pin and pull the pin voltage to ground. Under the action that the resistor R3 pulls the voltage to the ground, the ADC _ BATT _ ID level value received by the PMIC is low, and further the electronic equipment can be normally started when the battery is detected to be in place.
After the electronic equipment is started, the electronic equipment can identify the identity of the battery. Referring to fig. 4c, the charging management module of the electronic device generates a high level command to control the switching tube N2 to be turned on. The switch tube N2 is conducted, the system voltage VREG-SYS is pulled to the ground, the switch tube N1 is changed from conduction to cut-off, and the resistor R3 is cut off to form a circuit.
It can thus be seen that: the on or off state of the switch tube N1 and the switch tube N2 can realize that the resistor R3 is connected to the BATT _ ID pin or the connection of the resistor R3 and the BATT _ ID pin is cut off.
It should be noted that the switching tube N1 and the switching tube N2 may be understood as forming a control component, and the function is to control the resistor R3 to be connected to the BATT _ ID pin, or to cut off the connection between the resistor R3 and the BATT _ ID pin.
When the electronic equipment is started and identifies the identity of the battery, the resistor R3 is cut off from the circuit, which brings the following advantages:
when the electronic equipment identifies the battery identity, the resistor R3 is cut off from the circuit, the influence caused by the pull-down voltage of the resistor R3 disappears, and the ADC _ BATT _ ID level value received by the PMIC is guaranteed to be a voltage division value formed by the voltage V1 at the BATT _ ID pin under the action of the pull-down resistor R0 and the pull-up resistor R1. The voltage division value uniquely corresponds to the resistance value of a pull-down resistor R0 of the battery, and the PMIC can correctly identify the identity of the battery according to the ADC _ BATT _ ID level value and distinguish the batteries of different generation manufacturers with different types.
Further, if the pull-down resistor R0 is not arranged in the battery of the electronic device, the electronic device is turned on, the switch tube N1 is turned on, the switch tube N2 is turned off, and the resistor R3 is also connected to the PMIC to provide a pin voltage for the BATT _ ID pin to pull to the ground. Under the action that the resistor R3 pulls the voltage to the ground, the ADC _ BATT _ ID level value received by the PMIC is low, and the detection of whether the battery is in place is ensured.
After the electronic equipment is started, the electronic equipment needs to identify the identity of the battery, the switch tube N2 is switched on, the switch tube N1 is switched from on to off, and the resistor R3 is cut off out of the circuit, so that the ADC _ BATT _ ID level value received by the PMIC is guaranteed to be a voltage division value formed at a BATT _ ID pin by the voltage V1 under the action of the pull-down resistor R0 and the pull-up resistor R1. The voltage division value is uniquely corresponding to the resistance value of a pull-down resistor R0 of the battery, and the PMIC can correctly identify the identity of the battery according to the ADC _ BATT _ ID level value.
It can thus be seen that: whether the pull-down resistor R0 is arranged in the battery of the electronic equipment or not, the BATT _ ID pin is controlled by the detection circuit of the battery of the electronic equipment provided by the embodiment to provide the correct level value for judging whether the battery is in place or not and identifying the identity of the battery, so that the detection of whether the battery is in place or not is ensured, and the identity of the battery is accurately identified.
Example two
Fig. 5 shows another detection circuit for a battery of an electronic device according to an embodiment of the present application. Referring to fig. 5, the detection circuit of the battery of the electronic device includes: a low dropout regulator (LDO) connected to the BATT _ ID pin through a pull-up resistor R1.
Fig. 6 shows a circuit diagram of an implementation of an LDO provided in an embodiment of the present application. The components of the LDO circuit mainly comprise: the device comprises a regulating tube VT, a sampling resistor R4, a sampling resistor R5 and a comparison amplifier A. Wherein:
the voltage source Vin is used for providing a reference voltage, the comparison amplifier A is coupled with the reference voltage source Vin, the positive input end is used for receiving a reference voltage Vref, the negative input end is used for receiving a sampling voltage of the reference voltage, the reference voltage Vref and the sampling voltage are compared, and a control voltage is output according to a comparison result of the reference voltage Vref and the sampling voltage.
The adjusting tube VT is coupled with the comparison amplifier A, and is used for receiving the control voltage output by the comparison amplifier A and outputting the adjusting current from the output end under the control of the control voltage. The output end of the regulating tube VT is used as the voltage output end of the LDO.
One end of the sampling resistor R5 is connected with the positive input end of the comparison amplifier A, and the other end is connected with the output end of the adjusting tube VT. One end of the sampling resistor R4 is connected to the positive input terminal of the comparison amplifier a, and the other end is connected to ground.
In this embodiment, when the voltage source Vin has no input, the LDO does not output the voltage Vout, and the interior of the LDO is equivalently a pull-down resistor. When the voltage source Vin has an input, the LDO outputs a voltage Vout, and the inside of the LDO is equivalent to a pull-up resistor.
In some embodiments, the components of the LDO circuit may be directly connected to the BATT _ ID pin of the battery through the pull-up resistor R1, so as to form a detection circuit for the battery of the electronic device. Referring to fig. 7, the detection circuit of the electronic device shown in this embodiment includes: the device comprises a regulating tube VT, a sampling resistor R4, a sampling resistor R5 and a comparison amplifier A. Wherein:
a voltage source Vin is used to provide a reference voltage, and a comparison amplifier a is coupled to the reference voltage source Vin. The positive input end of the comparison amplifier A is used for receiving the reference voltage Vref, the negative input end is used for receiving the sampling voltage of the reference voltage, comparing the reference voltage Vref with the sampling voltage, and outputting the control voltage according to the comparison result of the reference voltage Vref and the sampling voltage.
The adjusting tube VT is coupled with the comparison amplifier A, and is used for receiving the control voltage output by the comparison amplifier A and outputting the adjusting current from the output end under the control of the control voltage.
One end of the sampling resistor R5 is connected with the positive input end of the comparison amplifier A, and the other end is connected with the output end of the adjusting tube VT. One end of the sampling resistor R4 is connected with the positive input end of the comparison amplifier A, and the other end is connected with the ground.
The connection point of the sampling resistor R5 and the output end of the adjusting tube VT is connected with the pull-up resistor R1.
In some embodiments, the end of the sampling resistor R4 connected to ground may also be connected to a zener diode. Connected to the zener diode in the circuit of fig. 7 is a constant current source, indicating a constant current output by the voltage source Vin.
Referring to fig. 8a, when the electronic device is turned on, the electronic device is not powered on, so the voltage source Vin has no power input, the tuning transistor VT is turned off, the output voltage Vout is 0, the sampling resistor R4 and the sampling resistor R5 are equivalent to a pull-down resistor, and the pull-down resistor is connected to the PMIC to provide a pin voltage for the BATT _ ID pin to pull down to the ground. Under the action that the pull-down resistor pulls the voltage to the ground, the ADC _ BATT _ ID level value received by the PMIC is low, and therefore the electronic equipment can be normally started when the battery is detected to be in place.
Referring to fig. 8b, after the electronic device is powered on, the voltage source Vin has a power input, the regulating tube VT is turned on, and the sampling resistor R4 and the sampling resistor R5 are equivalent to a pull-up resistor. It can be understood that when the electronic device is turned on and identifies the identity of the battery, the sampling resistor R4 and the sampling resistor R5 are equivalent to a pull-up resistor, which means that the BATT _ ID pin is not connected to a pull-down resistor, thereby removing the influence of the pull-down resistor and ensuring the accuracy of battery identity identification.
From the above, it can be seen that: in the detection circuit of the electronic equipment battery, when the electronic equipment is started, the sampling resistor R4 and the sampling resistor R5 are equivalent to a pull-down resistor, so that whether the battery is in place or not is ensured to be detected; after the electronic equipment is started, the sampling resistor R4 and the sampling resistor R5 are equivalent to a pull-up resistor, detection on the identity of the battery is not influenced, the starting requirement is guaranteed, battery identity recognition is not influenced, and the electronic equipment has the advantage of simple design.
Furthermore, if the pull-down resistor R0 is not arranged in the battery of the electronic device, the electronic device is turned on, the sampling resistor R4 and the sampling resistor R5 are equivalent to a pull-down resistor, and are connected to the PMIC to provide a pin voltage for the BATT _ ID pin to pull to the ground. Under the action of the pull-down resistor for pulling the voltage to the ground, the ADC _ BATT _ ID level value received by the PMIC is low, and the detection of whether the battery is in place is ensured.
After the electronic equipment is started, the electronic equipment needs to identify the identity of the battery, the sampling resistor R4 and the sampling resistor R5 are equivalent to a pull-up resistor, and the pull-up resistor has small function, so that the ADC _ BATT _ ID level value received by the PMIC is guaranteed to be a voltage division value formed by the voltage V1 at the BATT _ ID pin under the function of the pull-down resistor R0 and the pull-up resistor R1. The voltage division value is uniquely corresponding to the resistance value of a pull-down resistor R0 of the battery, and the PMIC can correctly identify the identity of the battery according to the ADC _ BATT _ ID level value.
It can thus be seen that: whether the pull-down resistor R0 is arranged in the battery of the electronic equipment or not, the BATT _ ID pin is controlled by the detection circuit of the battery of the electronic equipment provided by the embodiment to provide the correct level value for judging whether the battery is in place or not and identifying the identity of the battery, so that the detection of whether the battery is in place or not is ensured, and the identity of the battery is accurately identified.
It should be noted that the tuning transistor VT and the comparison amplifier A2 may be understood as forming a control component, and the function is to control the sampling resistor R4 and the sampling resistor R5 to be connected to the BATT _ ID pin, or to disconnect the sampling resistor R4 and the sampling resistor R5 from the BATT _ ID pin.
When applied, the detection circuit of the battery of the electronic device provided in the above two embodiments may be disposed in the charging management module 140 shown in fig. 1, and connected to the resistor R1, the resistor R2 and the PMIC of the charging management module 140, and the specific connection form may be as shown in fig. 4a, fig. 5 and fig. 7.
EXAMPLE III
Fig. 9 is a flowchart of a method for detecting a battery of an electronic device according to an embodiment of the present disclosure. The method for detecting the battery of the electronic device provided by the embodiment is applied to the electronic device shown in fig. 1, and the method for detecting the battery of the electronic device comprises the following steps:
s901, detecting the starting state of the electronic equipment.
The battery detection of the electronic device comprises: the in-place detection of the battery and the identification of the battery. The battery in-place detection can be understood as: whether a battery is configured in the electronic device is detected. The identification of the battery can be understood as: ID identification of the battery. As described above, when the electronic device is turned on, it is detected whether the battery is in place. When the electronic device is started, the identity of the battery is identified, so that the starting state of the electronic device needs to be detected first.
In some embodiments, whether the electronic device is powered on may be detected by whether a power-on key of the electronic device is triggered. And the preset startup time of the electronic equipment can be set, the timer is started after the startup key of the electronic equipment is triggered, and the electronic equipment is determined to be started up when the preset startup time is reached by the timing of the timer.
S902, when the electronic device is started, the voltage of the first pin is pulled down to the ground by the pull-down resistor.
The first pin belongs to one pin of the battery, and the level value of the pin is mainly used for in-place detection and identity identification of the battery. The pull-down resistor belongs to a resistor with one end connected to the ground, when the electronic equipment is started, the voltage of the first pin is pulled down to the ground by the pull-down resistor, and the level value of the first pin is low. Therefore, by identifying whether the first pin is low, it can be determined whether a battery is present in the electronic device.
In one implementation, as shown in fig. 4a, an electronic device includes: a switch tube N1 and a switch tube N2. The control end of the switch tube N1 is connected to a system voltage VREG-SYS, the input end of the switch tube N1 is connected to a power management integrated circuit PMIC of the electronic equipment, and the output end of the switch tube N1 is connected to a pull-down resistor. The input end of the switch tube N2 is connected with the control end of the switch tube N1, the output end of the switch tube N2 is grounded, and the control end of the switch tube N2 receives an instruction. Based on this, step S902 includes: when the electronic equipment is started, the switch tube N1 is controlled to be switched on, and the switch tube N2 is controlled to be switched off.
In another implementation, as shown in fig. 5, the electronic device includes a low dropout regulator, the low dropout regulator is connected to the first pin, and the internal structure of the low dropout regulator is shown in fig. 6.
When the voltage source Vin has no input, the low dropout regulator does not output the voltage Vout, and the interior of the low dropout regulator is equivalent to a pull-down resistor. When the voltage source Vin has input, the low dropout regulator outputs a voltage Vout, and the internal part is equivalent to a pull-up resistor. Based on this, step S902 includes: when the electronic equipment is started, the low dropout linear regulator is controlled not to be powered on and does not output voltage.
In another implementation, as shown in fig. 7, the electronic device includes a tuning tube VT, a sampling resistor R4, a sampling resistor R5, and a comparison amplifier a. The positive input end of the comparison amplifier A is used for receiving the reference voltage Vref, the negative input end is used for receiving the sampling voltage of the reference voltage, comparing the reference voltage Vref with the sampling voltage, and outputting the control voltage according to the comparison result of the reference voltage Vref and the sampling voltage. The adjusting tube VT is coupled with the comparison amplifier A, and is used for receiving the control voltage output by the comparison amplifier A and outputting the adjusting current from the output end under the control of the control voltage. One end of the sampling resistor R5 is connected with the positive input end of the comparison amplifier A, and the other end is connected with the output end of the adjusting tube VT. One end of the sampling resistor R4 is connected with the positive input end of the comparison amplifier A, and the other end is connected with the ground. The connection point of the sampling resistor R5 and the output end of the adjusting tube VT is connected with the pull-up resistor R1. Based on this, step S902 includes: when the electronic device is started, the voltage source Vin has no input, and the regulating tube VT is cut off.
And S903, when the electronic equipment is started, the connection between the pull-down resistor and the first pin is cut off.
After the electronic device is started, the first pin cannot be pulled to the ground by the pull-down resistor, otherwise, the identification of the identity of the battery is affected, and therefore the connection between the pull-down resistor and the first pin needs to be cut off.
In one implementation, based on the electronic device shown in fig. 4a, step S903 includes: when the electronic equipment is started, the switching tube N1 is controlled to be cut off, and the switching tube N2 is controlled to be conducted.
In another embodiment, based on the electronic device shown in fig. 5, step S903 includes: and when the electronic equipment is started, controlling the low dropout linear regulator to be electrified and outputting voltage.
In another embodiment, based on the electronic device shown in fig. 7, step S903 includes: when the electronic device is started, the voltage source Vin has a voltage input, and the regulating tube VT is turned on.
In the detection method for the battery of the electronic device provided by this embodiment, when the electronic device is turned on and identifies the identity of the battery, the following advantages are brought by cutting off the connection between the pull-down resistor and the first pin:
when the electronic equipment identifies the battery, the connection between the pull-down resistor and the first pin is cut off, the influence caused by the pull-down voltage of the pull-down resistor disappears, and the ADC _ BATT _ ID level value received by the PMIC is guaranteed to be a voltage division value formed at the BATT _ ID pin by the voltage V1 under the action of the pull-down resistor R0 and the pull-up resistor R1. The voltage division value is uniquely corresponding to the resistance value of a pull-down resistor R0 of the battery, and the PMIC can correctly identify the identity of the battery according to the ADC _ BATT _ ID level value and distinguish the batteries of different generation manufacturers with different types.

Claims (13)

1. The detection circuit of the electronic equipment battery is characterized by being applied to electronic equipment, wherein a first pin is arranged on the battery of the electronic equipment, and the first pin is used for providing a signal detected by the battery; the first pin is connected with a voltage through a pull-up resistor, and the detection circuit of the electronic equipment battery comprises:
a first resistor connected to ground;
the control component is used for communicating the connection between the first resistor and the first pin when the electronic equipment is started, and when the first resistor is connected with the first pin, a signal of the first pin is obtained by using the first resistor and is used for realizing the detection of whether a battery is in place; and after the electronic equipment is started, cutting off the connection between the first resistor and the first pin, and when the connection between the first resistor and the first pin is cut off, obtaining a signal of the first pin by using the pull-up resistor and the internal resistor of the battery, so as to realize the detection of the identity of the battery.
2. The detection circuit of the electronic device battery according to claim 1, wherein the control section includes: the first switch tube and the second switch tube;
the input end of the first switch tube is connected to the first pin, the output end of the first switch tube is connected to the first resistor, and the control end of the first switch tube is connected to system voltage;
the input end of the second switch tube is connected to the control end of the first switch tube, the output end of the second switch tube is grounded, the control end receives a control instruction, the control instruction is used for controlling the second switch tube to be switched off when the electronic equipment is started, and the second switch tube is controlled to be switched on when the electronic equipment is started.
3. The detection circuit of the electronic device battery according to claim 1, wherein the control section includes: the low dropout linear regulator is connected to the first pin, and the first resistor refers to a grounding resistor in the low dropout linear regulator;
the low dropout regulator is not powered on when the electronic equipment is started, and the ground resistor pulls down the voltage of the first pin to the ground; and the low dropout linear regulator is powered on after the electronic equipment is started, and the voltage of the first pin is pulled up to the output voltage of the low dropout linear regulator by the grounding resistor.
4. The detection circuit of the electronic device battery according to claim 3, wherein the LDO comprises: the circuit comprises an adjusting tube, a first sampling resistor, a second sampling resistor and a comparison amplifier;
the positive input end of the comparison amplifier receives a reference voltage, and the negative input end of the comparison amplifier receives a reference voltage and is grounded; the comparison amplifier is used for comparing the reference voltage with the reference voltage and outputting a control voltage according to the comparison result of the reference voltage and the reference voltage;
the adjusting tube is coupled with the comparison amplifier and used for receiving the control voltage output by the comparison amplifier and outputting adjusting current from an output end under the control of the control voltage;
one end of the first sampling resistor is connected with the positive input end of the comparison amplifier, and the other end of the first sampling resistor is connected with the output end of the adjusting tube;
one end of the second sampling resistor is connected with the positive input end of the comparison amplifier, and the other end of the second sampling resistor is connected with the ground.
5. The detection circuit of the electronic device battery according to claim 1, wherein the control section includes: a regulating tube and a comparison amplifier;
the positive input end of the comparison amplifier receives a reference voltage, and the negative input end of the comparison amplifier receives a reference voltage and is grounded; the comparison amplifier is used for comparing the reference voltage with the reference voltage and outputting a control voltage according to the comparison result of the reference voltage and the reference voltage;
the adjusting tube is coupled with the comparison amplifier and used for receiving the control voltage output by the comparison amplifier and outputting adjusting current from an output end under the control of the control voltage.
6. The detection circuit of the electronic device battery of claim 5, wherein the first resistance comprises: a first sampling resistor and a second sampling resistor;
one end of the first sampling resistor is connected with the positive input end of the comparison amplifier, and the other end of the first sampling resistor is connected with the output end of the adjusting tube;
one end of the second sampling resistor is connected with the positive input end of the comparison amplifier, and the other end of the second sampling resistor is connected with the ground.
7. An electronic device, comprising:
the battery is provided with a first pin, the first pin is used for providing a signal detected by the battery, and the first pin is connected with voltage through a pull-up resistor;
a detection circuit for an electronic device battery, the detection circuit for an electronic device battery comprising:
a first resistor connected to ground;
the control component is used for communicating the connection between the first resistor and the first pin when the electronic equipment is started, and when the first resistor is connected with the first pin, a signal of the first pin is obtained by using the first resistor and is used for realizing the detection of whether a battery is in place; and after the electronic equipment is started, cutting off the connection between the first resistor and the first pin, and when the connection between the first resistor and the first pin is cut off, obtaining a signal of the first pin by using the pull-up resistor and the internal resistor of the battery, so as to realize the detection of the identity of the battery.
8. The electronic device according to claim 7, wherein the control section includes: the first switch tube and the second switch tube;
the input end of the first switch tube is connected to the first pin, the output end of the first switch tube is connected to the first resistor, and the control end of the first switch tube is connected to system voltage;
the input end of the second switch tube is connected to the control end of the first switch tube, the output end of the second switch tube is grounded, the control end receives a control instruction, the control instruction is used for controlling the second switch tube to be cut off when the electronic equipment is started, and controlling the second switch tube to be conducted when the electronic equipment is started.
9. The electronic device according to claim 7, wherein the control section includes: the low dropout linear regulator is connected to the first pin, and the first resistor refers to a grounding resistor in the low dropout linear regulator;
the low dropout regulator is not powered on when the electronic equipment is started, and the voltage of the grounding resistor to the first pin is pulled down to the ground; and the low dropout linear regulator is powered on when the electronic equipment is started, and the voltage of the ground resistor to the first pin is pulled up to the output voltage of the low dropout linear regulator.
10. The electronic device of claim 9, wherein the low dropout linear regulator comprises: the circuit comprises an adjusting tube, a first sampling resistor, a second sampling resistor and a comparison amplifier;
the positive input end of the comparison amplifier receives a reference voltage, and the negative input end of the comparison amplifier receives the reference voltage and is grounded; the comparison amplifier is used for comparing the reference voltage with the reference voltage and outputting a control voltage according to the comparison result of the reference voltage and the reference voltage;
the adjusting tube is coupled with the comparison amplifier and used for receiving the control voltage output by the comparison amplifier and outputting adjusting current from an output end under the control of the control voltage;
one end of the first sampling resistor is connected with the positive input end of the comparison amplifier, and the other end of the first sampling resistor is connected with the output end of the adjusting tube;
one end of the second sampling resistor is connected with the positive input end of the comparison amplifier, and the other end of the second sampling resistor is connected with the ground.
11. The electronic device according to claim 7, wherein the control section includes: a regulating tube and a comparison amplifier;
the positive input end of the comparison amplifier receives a reference voltage, and the negative input end of the comparison amplifier receives a reference voltage and is grounded; the comparison amplifier is used for comparing the reference voltage with the reference voltage and outputting a control voltage according to the comparison result of the reference voltage and the reference voltage;
the adjusting tube is coupled with the comparison amplifier and used for receiving the control voltage output by the comparison amplifier and outputting adjusting current from an output end under the control of the control voltage.
12. The electronic device of claim 11, wherein the first resistance comprises: a first sampling resistor and a second sampling resistor;
one end of the first sampling resistor is connected with the positive input end of the comparison amplifier, and the other end of the first sampling resistor is connected with the output end of the adjusting tube;
one end of the second sampling resistor is connected with the positive input end of the comparison amplifier, and the other end of the second sampling resistor is connected with the ground.
13. The method for detecting the battery of the electronic equipment is applied to the electronic equipment, a first pin is arranged on the battery of the electronic equipment and used for providing a signal detected by the battery, the first pin is connected with voltage through a pull-up resistor, and the method for detecting the battery of the electronic equipment comprises the following steps:
when the electronic equipment is started, the voltage of the first pin is pulled down to the ground by using a first resistor, and under the action of the first resistor, a signal of the first pin is used for realizing the detection of whether a battery is in place;
and after the electronic equipment is started, the first resistor is disconnected from the first pin, and a signal of the first pin is used for realizing the detection of the identity of the battery under the action of the pull-up resistor and the internal resistor of the battery.
CN202110876523.2A 2021-07-30 2021-07-30 Detection method and circuit for electronic equipment battery and electronic equipment Active CN114460478B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110876523.2A CN114460478B (en) 2021-07-30 2021-07-30 Detection method and circuit for electronic equipment battery and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110876523.2A CN114460478B (en) 2021-07-30 2021-07-30 Detection method and circuit for electronic equipment battery and electronic equipment

Publications (2)

Publication Number Publication Date
CN114460478A CN114460478A (en) 2022-05-10
CN114460478B true CN114460478B (en) 2023-01-24

Family

ID=81406101

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110876523.2A Active CN114460478B (en) 2021-07-30 2021-07-30 Detection method and circuit for electronic equipment battery and electronic equipment

Country Status (1)

Country Link
CN (1) CN114460478B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102890243A (en) * 2011-07-20 2013-01-23 海洋王照明科技股份有限公司 Measuring circuit and measuring device for battery capacity as well as battery capacity meter
CN203350420U (en) * 2013-06-26 2013-12-18 天津成科自动化工程技术有限公司 Battery voltage monitoring circuit for battery powered equipment
CN108960354A (en) * 2017-05-23 2018-12-07 重庆无线绿洲通信技术有限公司 Battery case location determining method, battery compartment, battery case and battery management main system
CN110829523A (en) * 2019-10-31 2020-02-21 华为技术有限公司 Electronic equipment and reverse charging method
CN112104019A (en) * 2020-08-26 2020-12-18 济南浪潮高新科技投资发展有限公司 Battery state detection device

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5443013B2 (en) * 2009-02-10 2014-03-19 セイコーインスツル株式会社 Battery protection circuit and battery device
CN201466766U (en) * 2009-08-07 2010-05-12 北京新能瑞泰电子技术有限责任公司 Storage battery pack management system and storage battery pack charging management system
CN102186237A (en) * 2011-03-09 2011-09-14 肇庆理士电源技术有限公司 Battery, system and method realizing positioning and monitoring
CN102984368B (en) * 2012-11-19 2016-04-13 Tcl通讯(宁波)有限公司 A kind of mobile terminal for automatically identifying genuine battery and recognition methods thereof
CN103545882B (en) * 2013-10-11 2015-07-22 华为技术有限公司 Battery in-situ test method and device and battery charge system
CN105449784A (en) * 2015-12-31 2016-03-30 小米科技有限责任公司 Power supply device applied to mobile terminal and power supply method for power supply device
KR20180128579A (en) * 2017-05-24 2018-12-04 삼성전자주식회사 Method for controlling battery based on status of battery and electronic device for supporting the same
CN107492925A (en) * 2017-08-09 2017-12-19 浙江亚特电器有限公司 High-tension battery bag charging circuit with identity recognition function

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102890243A (en) * 2011-07-20 2013-01-23 海洋王照明科技股份有限公司 Measuring circuit and measuring device for battery capacity as well as battery capacity meter
CN203350420U (en) * 2013-06-26 2013-12-18 天津成科自动化工程技术有限公司 Battery voltage monitoring circuit for battery powered equipment
CN108960354A (en) * 2017-05-23 2018-12-07 重庆无线绿洲通信技术有限公司 Battery case location determining method, battery compartment, battery case and battery management main system
CN110829523A (en) * 2019-10-31 2020-02-21 华为技术有限公司 Electronic equipment and reverse charging method
CN112104019A (en) * 2020-08-26 2020-12-18 济南浪潮高新科技投资发展有限公司 Battery state detection device

Also Published As

Publication number Publication date
CN114460478A (en) 2022-05-10

Similar Documents

Publication Publication Date Title
US9483093B2 (en) Electronic device and method for controlling a setting of a maximum consumption current
US9246342B2 (en) Charging system for portable electronic equipment
US9577452B2 (en) Portable electronic device and charging method therefor
US8796988B2 (en) Input-output circuit
US11249141B2 (en) Apparatus and method for testing adaptor
US9077195B2 (en) Input-output circuit
EP3093945A1 (en) Electronic device, charger within the electronic device, and detecting method for detecting abnormal status of connector of electronic device
US20120023344A1 (en) Semiconductor apparatus
US9723408B2 (en) Electronic device and method of preventing erroneous recognizing inserting connector into earphone jack
US20110304303A1 (en) Protection structure for battery charging
US20120249119A1 (en) Input-output circuit
CN110829540B (en) Load access identification method, charging control method and device
US20200117633A1 (en) Methods and apparatus to enable status change detection in a low power mode of a microcontroller unit
CN109167420B (en) Charging control circuit, charging circuit and charging control method
CN114460478B (en) Detection method and circuit for electronic equipment battery and electronic equipment
CN116662232A (en) Electronic equipment and detection method
CN212063521U (en) Load access recognition device and charging device
CN116774092B (en) Battery detection method, circuit, device, chip and readable storage medium
US20140189412A1 (en) Time sequence circuit for power supply unit
CN210491177U (en) Bluetooth sound box integrated with wireless charging module
CN111431149B (en) Battery protection circuit, terminal and battery protection method
CN215870736U (en) Protection device and earphone box
US20200373693A1 (en) Electronic device and control method thereof
US8796890B2 (en) Power control module
CN114222018A (en) Charging test system and method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant