WO2023184439A1 - Battery connector snap-fit detection system, method and electronic device - Google Patents

Battery connector snap-fit detection system, method and electronic device Download PDF

Info

Publication number
WO2023184439A1
WO2023184439A1 PCT/CN2022/084660 CN2022084660W WO2023184439A1 WO 2023184439 A1 WO2023184439 A1 WO 2023184439A1 CN 2022084660 W CN2022084660 W CN 2022084660W WO 2023184439 A1 WO2023184439 A1 WO 2023184439A1
Authority
WO
WIPO (PCT)
Prior art keywords
battery connector
battery
connection detection
pin
module
Prior art date
Application number
PCT/CN2022/084660
Other languages
French (fr)
Chinese (zh)
Inventor
李星
Original Assignee
北京小米移动软件有限公司
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 北京小米移动软件有限公司 filed Critical 北京小米移动软件有限公司
Priority to PCT/CN2022/084660 priority Critical patent/WO2023184439A1/en
Priority to CN202280000817.1A priority patent/CN117546389A/en
Publication of WO2023184439A1 publication Critical patent/WO2023184439A1/en

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/50Testing of electric apparatus, lines, cables or components for short-circuits, continuity, leakage current or incorrect line connections
    • G01R31/66Testing of connections, e.g. of plugs or non-disconnectable joints
    • G01R31/68Testing of releasable connections, e.g. of terminals mounted on a printed circuit board
    • G01R31/69Testing of releasable connections, e.g. of terminals mounted on a printed circuit board of terminals at the end of a cable or a wire harness; of plugs; of sockets, e.g. wall sockets or power sockets in appliances
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries

Definitions

  • the present disclosure relates to the field of battery technology, and in particular, to a battery connector engagement detection system, method and electronic device.
  • battery connector snapping detection methods are usually aimed at the charging structure of dual battery connectors with dual charge pumps, or the charging architecture of single battery connectors with single charge pumps.
  • this battery connector snap-in detection method is not suitable for the charging structure of a single charge pump for multi-battery connectors.
  • the present disclosure provides a battery connector snap detection system, method and electronic device.
  • a battery connector snap detection system including:
  • a plurality of battery connectors the female socket of each battery connector is connected to the single charge pump, and the male socket of each battery connector is connected to the battery;
  • connection detection module each of the connection detection modules is connected to the corresponding battery connector
  • a processor the processor is connected to each of the connection detection modules, wherein the processor is configured to detect the battery connection corresponding to each of the connection detection modules based on the grounding condition of each of the connection detection modules. Is the device fastened?
  • the number of the at least one connection detection module is less than or equal to the number of the plurality of battery connectors.
  • the plurality of battery connectors include a first battery connector and a second battery connector.
  • the number of the at least one connection detection module is one; the connection detection module includes a resistor component and an ADC (Analog to Digital Converter, ADC) module, wherein,
  • One end of the resistor component is connected to the ADC module, and the other end of the resistor component is connected to the first pin on the female base of the first battery connector.
  • the female socket of the first battery connector further includes a second pin, and the second pin is grounded;
  • the male socket of the first battery connector includes a third pin and The fourth pin, the third pin and the fourth pin are short-circuited; wherein the third pin corresponds to the snapping position of the first pin, and the fourth pin is connected to the fourth pin.
  • the buckling position of the second pin is corresponding, so that when the female socket and the male socket of the first battery connector are buckled together, the ADC module is grounded.
  • the ADC module is an independent ADC circuit; or, the ADC module is a pin with an ADC function on a charging chip.
  • the second battery connector communicates with the processor through a communication protocol, so that the processor performs encryption authentication on the battery based on the communication protocol to detect the first Whether the second battery connector is engaged.
  • a battery connector snap-in detection method is provided.
  • the method is used in the battery connector snap-in detection system of the aforementioned first aspect.
  • the detection method includes:
  • each connection detection module Based on the grounding condition of each connection detection module, it is detected whether the battery connector corresponding to each connection detection module is engaged.
  • detecting whether the battery connector corresponding to each connection detection module is engaged based on the grounding condition of each connection detection module includes: responding to each of the connection detection modules.
  • the connection detection module is grounded, and it is determined that the battery connector corresponding to each connection detection module is successfully engaged; or, in response to each connection detection module not being grounded, it is determined that the battery connector corresponding to each connection detection module is Battery connector failed to engage.
  • determining whether each of the connection detection modules is grounded includes:
  • the ADC module According to the voltage value collected by the ADC module, it is determined whether the corresponding connection detection module is grounded.
  • determining whether the corresponding connection detection module is grounded based on the voltage value collected by the ADC module includes:
  • connection detection module corresponding to the ADC module is grounded
  • connection detection module corresponding to the ADC module is not grounded.
  • the detection method further includes:
  • the method further includes: performing encryption authentication on the battery to detect whether the second battery connector is engaged.
  • the method further includes: determining the detection result of each battery connector; and performing visual processing on the detection result of each battery connector.
  • an electronic device including the battery connector engagement detection system as described in the first aspect.
  • another electronic device including:
  • a processor a memory for storing instructions executable by the processor, wherein the instructions are executed by the processor to enable the processor to perform the method described in the second aspect.
  • a non-transitory computer-readable storage medium storing computer instructions, the computer instructions being used to cause the computer to execute the method described in the second aspect.
  • An additional detection module is connected in series to the battery connector, so that whether the connection detection module is grounded can be used to detect whether the corresponding battery connector is engaged.
  • the engagement detection can be performed independently for a certain battery connector, and for accurate judgment of the single
  • the charge pump multi-battery connector creates conditions for the fastening of the battery connector in the battery charging system, which can reduce the proportion of fault feedback of slow after-sales charging.
  • FIG. 1 is a block diagram of a battery connector snap detection system according to an exemplary embodiment.
  • FIG. 2 is a block diagram of another battery connector snap detection system according to an exemplary embodiment.
  • FIG. 3 is a diagram illustrating an example of connection between a charging chip and two battery connectors according to an exemplary embodiment.
  • FIG. 4 is a diagram illustrating an example of connection between a charging chip and two battery connectors according to an exemplary embodiment.
  • FIG. 5 is a block diagram of yet another battery connector snap detection system according to an exemplary embodiment.
  • FIG. 6 is a flow chart of a battery connector snap detection method according to an exemplary embodiment.
  • FIG. 7 is a flow chart of another battery connector engagement detection method according to an exemplary embodiment.
  • Figure 8 is an example diagram illustrating power management state machine polling according to an exemplary embodiment.
  • FIG. 9 is a block diagram of an electronic device according to an exemplary embodiment.
  • the battery connector snap-in detection solution provided by the embodiment of the present disclosure is suitable for a charging system with multiple battery connectors and a single charge pump.
  • an additional detection module is connected in series on the battery connector, so as to use whether the connection detection module is grounded to detect whether the corresponding battery connector is engaged.
  • FIG. 1 is a block diagram of a battery connector snap detection system according to an exemplary embodiment.
  • the battery connector snap detection system may include: a single charge pump 100 , a battery 200 , a plurality of battery connectors 2101 , at least one connection detection module 300 and a processor 400 .
  • Each battery connector includes a male socket and a female socket, and the male socket of each battery connector can be connected to the battery.
  • the male sockets of multiple battery connectors are located at different positions of the battery.
  • the female socket of each battery connector can be connected to a single charge pump.
  • the single charge pump and the female socket of each battery connector can be provided on the motherboard.
  • both the charging chip (charging IC) and the single charge pump can charge the battery through the battery connector, and the power and functions of the charging chip (charging IC) and the single charge pump will be different.
  • the charging chip (charging IC) can be understood as a battery management chip.
  • the charging power of the charging chip is smaller than the charging power of a single charge pump.
  • a single charge pump can be used to charge the battery.
  • temperature factors can also be considered.
  • a charging chip needs to be used to charge the battery to avoid the battery temperature being too high.
  • a single charge pump can be used. Charge the battery.
  • the charging chip (charging IC), single charge pump, connection detection module and processor may be co-located on the motherboard, and the motherboard may also have other components, which will not be detailed here. limited.
  • the processor in this disclosure may be a mainboard processor, or the processor in this disclosure may be different from a mainboard processor.
  • the charging chip (charging IC) can communicate with the mainboard processor.
  • the charging chip (charging IC) can communicate with the mainboard processor based on the information transfer interface (MPI).
  • MPI information transfer interface
  • Single charge The pump can communicate with the mainboard processor based on the I2C communication protocol.
  • each connection detection module 300 is connected to the female socket a of the corresponding battery connector 2101 .
  • a processor 400 may be connected to each connection detection module 300 .
  • the processor 400 can be used to detect whether the battery connector 2101 corresponding to each connection detection module 300 is engaged based on the grounding condition of each connection detection module 300. For example, determine whether each connection detection module 300 is engaged. 300 is grounded to detect whether the battery connector 2101 corresponding to each connection detection module 300 is engaged.
  • an additional detection module is connected in series on the battery connector, so that whether the connection detection module is grounded is used to detect whether the corresponding battery connector is snap-in.
  • a certain The battery connector is independently tested for engagement and creates conditions for accurate judgment of the engagement of the battery connector in a charging system with a single charge pump and multiple battery connectors. Therefore, the present disclosure provides a battery connection snapping detection scheme suitable for a single charge pump charging structure of a multi-battery connector, which can reduce the fault feedback ratio of slow after-sales charging.
  • each connection detection module includes a resistor component and an ADC (Analog to Digital Converter) module, wherein one end of the resistor component is connected to the ADC module, and the other end of the resistor component is connected to Detect the first pin connection on the female socket of the battery connector corresponding to the module.
  • the female socket of the battery connector corresponding to the connection detection module may also include a second pin, and the second pin is grounded, wherein the first pin and the second pin are not in contact with each other.
  • the male socket of the battery connector corresponding to the connection detection module includes a third pin and a fourth pin, and the third pin and the fourth pin are short-circuited, where the third pin is fastened to the first pin
  • the male socket and the female socket of the battery connector corresponding to the connection detection module are successfully engaged, the third pin and the first pin will be engaged and connected, and the fourth pin and the second pin will be engaged and connected.
  • the connection detection module with the battery connector can be grounded. Therefore, the corresponding battery connection can be detected by judging whether the connection detection module is grounded. Is the device fastened?
  • the size of the resistor component may be 100 kiloohms. The size of the resistor component may be determined according to the actual situation and is not specifically limited.
  • first and second pins in this disclosure are respectively free pins on the female socket of the battery connector; the third pin and the fourth pin are respectively on the male socket of the battery connector. of free pins.
  • the number of at least one connection detection module 300 may be less than or equal to the number of multiple battery connectors 2101 .
  • the number of at least one connection detection module 300 is the same as the number of battery connectors 2101 .
  • the number of the plurality of battery connectors 2101 is two, that is, including the master battery connector and the slave battery connector
  • the number of the at least one connection detection module 300 is two, that is, the number of the at least one connection detection module 300 is two, that is, it includes the connection detection module 10 and the connection detection module 20 .
  • Figure 2 is a block diagram of another battery connector snap detection system according to an exemplary embodiment.
  • the charging chip (charging IC) can be processed by the motherboard.
  • the single charge pump can communicate with the motherboard processor (not shown in Figure 2), the charging chip (charging IC), the single charge pump, the processor, the motherboard processor and the connection detection module Can be located on the motherboard.
  • the connection detection module 10 includes a resistor component 11 and an ADC module 12. One end of the resistor component 11 is connected to the ADC module 12, and the other end of the resistor component 11 is connected to the first pin on the female base 1a of the main battery connector 1. Pin 1a1 is connected.
  • the female base 1a of the main battery connector 1 may also include a second pin 1a2, the second pin 1a2 is connected to the ground, and the first pin 1a1 and the second pin 1a2 are not short-circuited.
  • the male socket 1b of the main battery connector 1 includes a third pin 1b1 and a fourth pin 1b2.
  • the third pin 1b1 and the fourth pin 1b2 are short-circuited, wherein the buckle of the third pin 1b1 and the first pin 1a1
  • the fourth pin 1b2 corresponds to the engaged position of the second pin 1a2, so that when the female socket and the male socket of the main battery connector 1 are engaged, the ADC module 12 is grounded. In this way, when the male socket of the main battery connector 1 and the female socket of the main battery connector 1 are successfully engaged, the third pin 1b1 and the first pin 1a1 will be engaged and connected, and the fourth pin 1b2 and the second pin will be engaged. 1a2 will be snap-connected. Since the second pin 1a2 is grounded and the third pin 1b1 and the fourth pin 1b2 are short-circuited, the connection detection module 10 can be grounded. Therefore, the processor 400 can determine whether the connection detection module 10 Ground to detect whether main battery connector 1 is engaged.
  • the connection detection module 20 includes a resistor component 21 and an ADC module 22 .
  • One end of the resistor component 21 is connected to the ADC module 22 , and the other end of the resistor component 21 is connected to the female socket 2 a of the battery connector 2 .
  • the first pin 2a1 is connected.
  • the female base 2a of the slave battery connector 2 may also include a second pin 2a2, the second pin 2a2 is connected to the ground, and the first pin 2a1 and the second pin 2a2 are not short-circuited.
  • the male socket 2b of the battery connector 2 includes a third pin 2b1 and a fourth pin 2b2.
  • the third pin 2b1 and the fourth pin 2b2 are short-circuited, wherein the third pin 2b1 is connected to the first pin 2a1.
  • the fourth pin 2b2 corresponds to the engaged position of the second pin 2a2, so that when the female socket and the male socket of the battery connector 2 are engaged, the ADC module 22 is grounded. In this way, when the male socket of the slave battery connector 2 and the female socket of the slave battery connector 2 are successfully engaged, the third pin 2b1 and the first pin 2a1 will be engaged and connected, and the fourth pin 2b2 and the second pin will be engaged.
  • the pin 2a2 will be snap-connected.
  • connection detection module 20 can be grounded. Therefore, the processor 400 can determine the connection detection module 20 Whether it is grounded to detect whether the slave battery connector 2 is engaged.
  • FIG 3 is an example diagram of the connection between the charging chip and two battery connectors according to an exemplary embodiment.
  • the charging chip (charging IC) can be different from the mainboard processor.
  • Processor communication (not shown in Figure 3)
  • single charge pump can communicate with motherboard processor (not shown in Figure 3)
  • charging chip (charging IC) single charge pump
  • processor motherboard processor
  • connection detection Modules can be located on the motherboard.
  • the ADC module can be an independent ADC circuit.
  • an ADC circuit can be provided on the motherboard and used as a part of the connection detection module.
  • the charging chip (charging IC) can be connected to two battery connectors.
  • the charging chip can be directly connected to the slave battery connector 2. Since there is a path between the master battery connector and the slave battery connector (not shown in Figure 3), the slave battery can be connected through this path.
  • the connector can also communicate with the charging chip so that the charging chip charges the battery through the battery connector.
  • the single charge pump has a path connection with both battery connectors, so that the single charge pump charges the battery through the two battery connectors.
  • the charging chip can also be connected to the main battery connector and the slave battery connector respectively. For example, one pin in the charging chip is connected to the main battery connector, and another pin in the charging chip is connected to the slave battery connector. .
  • both battery connectors can be connected to a single charge pump using the same path.
  • the number of channels between the two battery connectors and the charging chip, as well as the number of channels between the two battery connectors and the single charge pump, can be set according to the actual situation.
  • the charging chip and the single charge pump are connected to the motherboard.
  • the connection relationships of other components may refer to the connection relationships in the prior art. This disclosure does not specifically limit this and will not be repeated.
  • FIG. 4 is an example diagram of the connection between the charging chip and two battery connectors according to an exemplary embodiment.
  • the charging chip (charging IC) can be different from the mainboard processor.
  • Processor communication (not shown in Figure 4)
  • single charge pump can communicate with motherboard processor (not shown in Figure 4)
  • charging chip (charging IC)
  • single charge pump can communicate with motherboard processor (not shown in Figure 4)
  • charging chip (charging IC)
  • single charge pump single charge pump
  • processor motherboard processor and connection detection Modules
  • the ADC module may be a pin with an ADC function on a charging chip (charging IC).
  • the ADC module in the connection detection module 20 can be a pin with the ADC function on the charging IC.
  • the charging IC communicates with the female socket of the slave battery connector 2 through the ADC pin 2, the resistor component 21 One of pin 2a1 is connected.
  • the ADC module in the connection detection module 10 can also be a pin on the charging IC.
  • the charging IC connects the ADC pin 1, the resistor component 11 and the female socket of the main battery connector 1. One pin 1a1 is connected.
  • the ADC module in the connection detection module can be a pin with the ADC function on the charging IC.
  • a resistor component is connected in series between this pin and a pin on the female base of the first battery connector. , to form an ADC channel, which is completed by the male socket of the first battery connector to ground the ADC channel. Therefore, a single multi-battery connector is realized with almost no increase in cost and minimal changes to the hardware battery. Battery connection snap detection of charge pump charging structure.
  • the number of at least one connection detection module may be less than the number of battery connectors.
  • the plurality of battery connectors include a first battery connector and a second battery connector.
  • the number of at least one connection detection module is one.
  • Figure 5 is a block diagram of another battery connector snap detection system according to an exemplary embodiment.
  • the processor in this embodiment can be a mainboard processor, and the charging chip (charging IC) can be connected to the mainboard processor.
  • the single charge pump can communicate with the motherboard processor based on the I2C communication protocol, and the charging chip (charging IC), single charge pump, processor and connection detection module can be located on the motherboard.
  • the plurality of battery connectors include a first battery connector 211 and a second battery connector 212 ; at least one connection detection module includes a connection detection module 300 .
  • the connection detection module 300 is connected to the first battery connector 211.
  • the connection detection module 300 includes a resistor component 310 and an ADC module 320. One end of the resistor component 310 is connected to the ADC module 320, and the other end of the resistor component 310 is connected to the female socket 211a of the first battery connector 211. The first pin of 211a1 is connected.
  • the female socket 211a of the first battery connector 211 also includes a second pin 211a2, the second pin 211a2 is grounded, and the first pin 211a1 is connected to the second pin 211a2. Pin 211a2 is not short-circuited.
  • the male socket 211b of the first battery connector 211 includes a third pin 211b1 and a fourth pin 211b2.
  • the third pin 211b1 and the fourth pin 211b2 are designed to be short-circuited, wherein the third pin 211b1 and the first pin 211a1
  • the fourth pin 211b2 corresponds to the buckling position of the second pin 211a2, so that when the female socket and the male socket of the first battery connector 211 are engaged, the ADC module 320 is grounded. In this way, when the male socket of the first battery connector 211 and the female socket of the first battery connector 211 are successfully engaged, the third pin 211b1 and the first pin 211a1 will be engaged and connected, and the fourth pin 211b2 and the fourth pin 211b2 will be engaged. The two pins 211a2 will be snap-connected.
  • connection detection module 300 can be grounded. Therefore, the processor 400 can determine the connection detection by Whether the module 300 is grounded is used to detect whether the first battery connector 211 is engaged.
  • the first battery connector may be a slave battery connector
  • the second battery connector may be a master battery connector.
  • encryption authentication of the battery may be used to detect the engagement of the second battery connector.
  • the second battery connector communicates with the processor through a communication protocol (such as I2C protocol), so that the processor performs encryption authentication on the battery based on the communication protocol to detect whether the second battery connector is engaged.
  • the second battery connector is the main battery connector
  • the path connecting the second battery connector to the single charge pump includes I2C.
  • the single charge pump can also communicate with the motherboard processor based on the I2C protocol. Therefore, the processor can perform encrypted authentication on the battery based on I2C communication to detect whether the second battery connector is engaged.
  • the processor in this disclosure may be a mainboard processor, or the processor in this disclosure may be different from a mainboard processor.
  • the single charge pump is connected to the motherboard processor, and the processor in the present disclosure communicates with the motherboard processor, so that the processor in the present disclosure can obtain the data from the motherboard processor.
  • the motherboard processor obtains relevant information inside the battery based on I2C communication.
  • the relevant information inside the battery can be obtained through I2C communication to detect whether the second battery connector is successfully engaged.
  • the relevant information inside the battery can be obtained through I2C communication
  • the seat buckle is closed successfully.
  • the relevant information inside the battery cannot be obtained through I2C communication, it can be considered that the communication connection between the battery and the motherboard processor is abnormal, and it can be determined that the male socket of the second battery connector on the battery is connected to the second battery
  • the female base of the device has not been successfully engaged.
  • the single charge pump has a path connection with both battery connectors.
  • the I2C communication line comes from the main battery connector and is connected to the single charge pump and processor.
  • the slave battery connector is connected to the single charge pump.
  • I2C communication cannot be carried out between processors.
  • I2C communication is also possible between the battery connector and a single charge pump and processor.
  • the master battery connector can implement snap-in detection based on I2C communication
  • the slave battery connector can implement snap-in detection based on the connection detection module.
  • the ADC module in the connection detection module 300 can be an independent ADC circuit.
  • an ADC circuit can be set on the motherboard and used as a part of the connection detection module 300 .
  • the charging chip (charging IC) can be connected to the two battery connectors. The connection method can be seen in the connection of the charging chip in Figure 3, which will not be described again here.
  • the master battery connector can implement snap-in detection based on I2C communication
  • the slave battery connector can implement snap-in detection based on the connection detection module.
  • the ADC module in the connection detection module 300 may be a pin on the charging chip (charging IC).
  • the charging IC is connected to the slave battery connector through the ADC pin and resistor component 310 .
  • the charging IC has a path connection with both battery connectors.
  • the charging IC is directly connected to the main battery connector, and the charging IC is connected to the slave battery connector through its own ADC pin and resistor component.
  • the charging IC can be connected to the two battery connectors through its own ADC pin, resistor component and the path.
  • the single charge pump has a path connection with both battery connectors, so that the single charge pump charges the battery through the two battery connectors.
  • both battery connectors can be connected to a single charge pump using the same path. It should be noted that the number of channels between the two battery connectors and the charging chip, as well as the number of channels between the two battery connectors and the single charge pump, can be set according to the actual situation, and this disclosure does not specify this. limited.
  • FIG. 6 is a flow chart of a battery connector snap-in detection method according to an exemplary embodiment. As shown in Figure 6, the battery connector snap-in detection method is used for the battery connector described in any of the above embodiments. Snap detection system, the battery connector snap detection method may include the following steps.
  • step 601 based on the grounding condition of each connection detection module, it is detected whether the battery connector corresponding to each connection detection module is engaged.
  • an additional detection module is connected in series on the battery connector, so that whether the connection detection module is grounded is used to detect whether the corresponding battery connector is engaged. , for example, it can independently conduct snapping detection for a certain battery connector, and create conditions for accurately judging the snapping status of the battery connector in a charging system with a single charge pump and multiple battery connectors, thereby reducing after-sales charging slow faults. Feedback ratio.
  • the specific implementation method of detecting whether the battery connector corresponding to each connection detection module is engaged based on the grounding condition of each connection detection module may be as follows: in response to the grounding of each connection detection module , determine that the battery connector corresponding to each connection detection module is successfully engaged; or, in response to each connection detection module not being grounded, determine that the battery connector corresponding to each connection detection module fails to engage.
  • whether the main battery connector 1 is engaged can be detected by determining whether the connection detection module 10 is grounded. For example, when the connection detection module 10 is grounded, it is determined that the main battery connector 1 is successfully engaged; when the connection detection module 10 is not grounded, it is determined that the main battery connector 1 fails to be engaged or is not engaged. It is also possible to detect whether the slave battery connector 2 is fastened by judging whether the connection detection module 20 is grounded. For example, when the connection detection module 20 is grounded, it is determined that the slave battery connector 2 is fastened successfully; when the connection detection module 20 is not grounded, then It is determined that the battery connector 2 fails to engage or is not engaged. As a result, it is possible to independently detect the engagement of a certain battery connector, creating conditions for accurately judging the engagement status of the battery connector in a charging system with a single charge pump and multiple battery connectors.
  • determining whether each connection detection module is grounded can be implemented as follows: obtaining the voltage value collected by the ADC module in each connection detection module; judging the corresponding voltage value based on the voltage value collected by the ADC module. The connection detects whether the module is grounded.
  • the implementation of determining whether the corresponding connection detection module is grounded based on the voltage value collected by the ADC module can be as follows: compare the voltage value collected by the ADC module with a preset reference voltage; respond In response to the voltage value collected by the ADC module and the reference voltage meeting the first condition, it is determined that the connection detection module corresponding to the ADC module is grounded; or, in response to the voltage value collected by the ADC module and the reference voltage meeting the second condition, it is determined that the connection detection module corresponding to the ADC module is grounded.
  • the connection detection module is not connected to ground.
  • the charging power of the battery in response to the failure of the battery connector to engage, is reduced; and/or in response to the voltage value collected by the ADC module and the reference voltage not meeting the first condition and the second condition. , reporting battery abnormal status information to the electronic device.
  • the detection result of each battery connector is determined; and the detection result of each battery connector is visualized.
  • the number of at least one connection detection module may be less than or equal to the number of multiple battery connectors. In one implementation, the number of at least one connection detection module may be less than the number of battery connectors.
  • the plurality of battery connectors include a first battery connector and a second battery connector.
  • the number of at least one connection detection module is one. Another example of a method for the battery connector snap-in detection system shown in FIG. 5 will be given below in conjunction with FIG. 7 to introduce the battery connector snap-in detection solution of the present disclosure in detail.
  • FIG. 7 is a flow chart of another battery connector snap-in detection method according to an exemplary embodiment. As shown in FIG. 7 , the battery connector snap-in detection method may include the following steps.
  • step 701 obtain the voltage value collected by the ADC module in the connection detection module.
  • a resistor component with a fixed resistance is connected in series between the ADC module and the female socket of the first battery connector, and the ADC path is grounded by snapping the male socket of the first battery connector, whereby the ADC can be
  • the module collects the voltage value of the ADC channel so as to use the voltage value to detect whether the first battery connector is engaged.
  • step 702 determine whether the connection detection module is grounded based on the voltage value collected by the ADC module.
  • the voltage value is used to detect whether the first battery connector is engaged. For example, when the male connector of the first battery connector is engaged with the female connector of the first battery connector, the ADC module is connected to a resistor component with a fixed resistance, and a fixed voltage value is read. At this time, the ADC module can be judged. The first battery connector snaps into place. For another example, when the male socket of the first battery connector is not fastened to the female socket of the first battery connector, the ADC module is in a floating state and reads a floating value. At this time, the first battery can be determined. The connector is not engaged.
  • the voltage value collected by the ADC module is compared with a preset reference voltage; in response to the voltage value collected by the ADC module and the reference voltage meeting the first condition, Determine that the connection detection module corresponding to the ADC module is grounded; or, in response to the voltage value collected by the ADC module and the reference voltage meeting the second condition, determine that the connection detection module corresponding to the ADC module is not grounded.
  • the above-mentioned first condition and second condition are related to the size of the built-in pull-up resistor of the ADC module.
  • the first condition can be: the voltage value collected by the ADC module is half of the reference voltage VREF;
  • the second condition can be: the voltage value collected by the ADC module
  • the voltage value is the reference voltage VREF, that is, the voltage value collected by the ADC module is the same as the reference voltage VREF.
  • the relationship between the resistance value of the built-in pull-up resistor of the ADC module and the above-mentioned resistor component can determine the first condition and the second condition, which can be set according to the actual situation. This disclosure does not specifically limit this.
  • a certain allowable error can be added, such as the allowable error
  • the error can be ⁇ 10%. For example, assuming the allowable error is ⁇ 10%, as shown in Figure 8, if the voltage value collected by the ADC module falls within this Within the range, it can be determined that the connection detection module is grounded, thereby it can be determined that the first battery connector is successfully engaged, and the normal charging strategy can be maintained at this time.
  • the connection detection module is not grounded, and it can be determined personally that the first battery connector is not fastened properly. At this time, the charging power can be reduced, and Uploads information of battery connector failure to the operating system of the electronic device. If the voltage value collected by the ADC module does not fall within this Within the range and does not fall within the range of VREF ⁇ 10%, it can be determined that the first battery connector is not engaged and an abnormal state is uploaded to the operating system of the electronic device.
  • the abnormal state may be an abnormality in the charging circuit or a charging problem.
  • the hardware components in the system are abnormal, or the charging chip status may be abnormal, etc. Therefore, the ADC module can be used to add judgment logic to the original software charging state machine for polling without increasing additional power consumption.
  • step 703 in response to the connection detection module being grounded, it is determined that the first battery connector is successfully engaged.
  • the detection method may further include step 704.
  • step 704 in response to the connection detection module not being grounded, it is determined that the first battery connector fails to engage.
  • the battery may be cryptographically authenticated to detect whether the second battery connector is engaged. It can be understood that when the second battery connector is engaged, the real voltage inside the battery can be obtained based on I2C communication. Therefore, the engagement of the second battery connector can be detected based on I2C communication.
  • the relevant information inside the battery can be obtained through I2C communication. If the relevant information inside the battery can be obtained through I2C communication, it can be considered that the communication connection between the battery and the motherboard processor is normal. It can be determined that the male socket of the second battery connector on the battery and the female socket of the second battery connector are successfully engaged.
  • the relevant information inside the battery cannot be obtained through I2C communication, it can be considered that the communication connection between the battery and the motherboard processor is abnormal, and it can be determined that the male socket of the second battery connector on the battery is connected to the second battery The female base of the device has not been successfully engaged.
  • the detection result of the first battery connector and the detection result of the second battery connector can be determined, and Visualize the detection results of the first battery connector and the detection results of the second battery connector.
  • the detection result of the first battery connector and the detection result of the second battery connector can be displayed on the display interface of the electronic device. Therefore, by displaying the detection structure on the electronic device, it is convenient for the user to check the engagement status of the battery connector, so that the electronic device can detect the engagement status of its own battery connector, and can completely detect the electronic device without resorting to external equipment. Detection of battery connector snap-in inside the device.
  • the display interface may also display at least one of the current remaining power of the electronic device, the current temperature of the battery in the electronic device, the identification information of the battery, and the like.
  • the battery connector snap-in detection method can be applied to special scenarios. For example, when it is determined that the electronic device has fallen from a certain height, the above-mentioned battery connector snap-in detection method can be executed. , where the height can be 50 centimeters or other higher heights, and is not specifically limited here. In this way, the detection result of each battery connector can be determined, and the detection result of each battery connector can be displayed on the display interface of the electronic device.
  • the battery connector snap detection method can be applied to the battery installation scenario before the electronic device leaves the factory.
  • the battery needs to be installed on the electronic device.
  • the battery is installed on the
  • the battery connector needs to be buckled and tested to determine whether the battery is installed successfully.
  • the battery connector buckling detection method of the present disclosure can be used to perform buckling detection of each battery connector. , and determine the test result of each battery connector, and display the test result of each battery connector on an external display device, so as to check whether the battery is successfully installed through the display device.
  • an additional detection module is connected in series on the battery connector, so that whether the connection detection module is grounded is used to detect whether the corresponding battery connector is snap-in.
  • a certain The battery connector is independently tested for engagement and creates conditions for accurate judgment of the engagement of the battery connector in a charging system with a single charge pump and multiple battery connectors. Therefore, the present disclosure provides a battery connection snapping detection scheme suitable for a single charge pump charging structure of a multi-battery connector, which can reduce the fault feedback ratio of slow after-sales charging.
  • the present disclosure also provides an electronic device, which may include the battery connector snap-in detection system as described in any of the above embodiments, which will not be described again.
  • FIG. 9 is a block diagram of an electronic device according to an exemplary embodiment.
  • the electronic device 900 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, or the like.
  • the electronic device 900 may include one or more of the following components: a processing component 902 , a memory 904 , a power supply component 906 , a multimedia component 908 , an audio component 910 , an input/output (I/O) interface 912 , and a sensor component 914 , and communication component 916.
  • Processing component 902 generally controls the overall operations of electronic device 900, such as operations associated with display, phone calls, data communications, camera operations, and recording operations.
  • the processing component 902 may include one or more processors 920 to execute instructions to complete all or part of the steps of the above method.
  • processing component 902 may include one or more modules that facilitate interaction between processing component 902 and other components.
  • processing component 902 may include a multimedia module to facilitate interaction between multimedia component 908 and processing component 902.
  • Memory 904 is configured to store various types of data to support operations at electronic device 900 . Examples of such data include instructions for any application or method operating on electronic device 900, contact data, phonebook data, messages, pictures, videos, etc.
  • Memory 904 may be implemented by any type of volatile or non-volatile storage device, or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EEPROM), Programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk.
  • SRAM static random access memory
  • EEPROM electrically erasable programmable read-only memory
  • EEPROM erasable programmable read-only memory
  • EPROM Programmable read-only memory
  • PROM programmable read-only memory
  • ROM read-only memory
  • magnetic memory flash memory, magnetic or optical disk.
  • Power supply component 906 provides power to various components of electronic device 900 .
  • Power supply components 906 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to electronic device 900 .
  • the power supply assembly 906 may include the battery connector engagement detection system described in any of the above embodiments of the present disclosure.
  • Multimedia component 908 includes a screen that provides an output interface between the electronic device 900 and the user.
  • the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user.
  • the touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide action.
  • multimedia component 908 includes a front-facing camera and/or a rear-facing camera.
  • the front camera and/or the rear camera may receive external multimedia data.
  • Each front-facing camera and rear-facing camera can be a fixed optical lens system or have a focal length and optical zoom capabilities.
  • Audio component 910 is configured to output and/or input audio signals.
  • audio component 910 includes a microphone (MIC) configured to receive external audio signals when electronic device 900 is in operating modes, such as call mode, recording mode, and voice recognition mode. The received audio signals may be further stored in memory 904 or sent via communications component 916 .
  • audio component 910 also includes a speaker for outputting audio signals.
  • the I/O interface 912 provides an interface between the processing component 902 and a peripheral interface module, which may be a keyboard, a click wheel, a button, etc. These buttons may include, but are not limited to: Home button, Volume buttons, Start button, and Lock button.
  • Sensor component 914 includes one or more sensors for providing various aspects of status assessment for electronic device 900 .
  • the sensor component 914 can detect the open/closed state of the electronic device 900 , the relative positioning of components, such as the display and keypad of the electronic device 900 , the sensor component 914 can also detect the electronic device 900 or an electronic device 900 The position of components changes, the presence or absence of user contact with the electronic device 900 , the orientation or acceleration/deceleration of the electronic device 900 and the temperature of the electronic device 900 change.
  • Sensor assembly 914 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact.
  • Sensor assembly 914 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications.
  • the sensor component 914 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
  • Communication component 916 is configured to facilitate wired or wireless communication between electronic device 900 and other devices.
  • the electronic device 900 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof.
  • the communication component 916 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel.
  • the communications component 916 also includes a near field communications (NFC) module to facilitate short-range communications.
  • NFC near field communications
  • the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
  • RFID radio frequency identification
  • IrDA infrared data association
  • UWB ultra-wideband
  • Bluetooth Bluetooth
  • electronic device 900 may be configured by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable A programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic component implementation is used to perform the above method.
  • ASICs application specific integrated circuits
  • DSPs digital signal processors
  • DSPDs digital signal processing devices
  • PLDs programmable logic devices
  • FPGA field programmable A programmable gate array
  • controller microcontroller, microprocessor or other electronic component implementation is used to perform the above method.
  • a non-transitory computer-readable storage medium including instructions such as a memory 904 including instructions, which can be executed by the processor 920 of the electronic device 900 to complete the above method is also provided.
  • the non-transitory computer-readable storage medium may be ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, etc.

Abstract

The present disclosure relates to a battery connector snap-fit detection system, a method and an electronic device. The battery connector snap-fit detection system comprises a single charge pump, a battery, a plurality of battery connectors, at least one connection detection module and a processor, the receptacle of each battery connector being connected to the single charge pump, and the plug of each battery connector being connected to the battery; each connection detection module being connected to a corresponding battery connector; the processor being connected to each connection detection module; and the processor being used for judging whether each connection detection module is grounded, so as to detect whether the battery connector corresponding to each connection detection module is snap-fitted. In the present disclosure, by additionally connecting in series the detection module(s) to the battery connectors, whether each battery connector is snap-fitted can be detected by means of utilizing whether the corresponding connection detection module is grounded.

Description

电池连接器扣合检测系统、方法以及电子设备Battery connector snap detection system, method and electronic device 技术领域Technical field
本公开涉及电池技术领域,尤其涉及一种电池连接器扣合检测系统、方法及电子设备。The present disclosure relates to the field of battery technology, and in particular, to a battery connector engagement detection system, method and electronic device.
背景技术Background technique
检测电子设备中电池连接器是否扣合成功属于一个必不可少的环节,如果缺少该环节,则一定程度上会提高售后充电慢的故障反馈比例。相关技术中,电池连接器扣合检测方法通常是针对双电池连接器双电荷泵的充电结构,或者是针对单电池连接器单电荷泵的充电架构。然而,这种电池连接器扣合检测方法不适用于多电池连接器单电荷泵的充电结构。Detecting whether the battery connector in electronic equipment is successfully engaged is an indispensable link. If this link is missing, the rate of after-sales fault feedback of slow charging will be increased to a certain extent. In the related art, battery connector snapping detection methods are usually aimed at the charging structure of dual battery connectors with dual charge pumps, or the charging architecture of single battery connectors with single charge pumps. However, this battery connector snap-in detection method is not suitable for the charging structure of a single charge pump for multi-battery connectors.
发明内容Contents of the invention
本公开提供一种电池连接器扣合检测系统、方法及电子设备。The present disclosure provides a battery connector snap detection system, method and electronic device.
根据本公开实施例的第一方面,提供一种电池连接器扣合检测系统,包括:According to a first aspect of an embodiment of the present disclosure, a battery connector snap detection system is provided, including:
单电荷泵;Single charge pump;
电池;Battery;
多个电池连接器,每个所述电池连接器的母座均与所述单电荷泵连接,每个所述电池连接器的公座均与所述电池连接;A plurality of battery connectors, the female socket of each battery connector is connected to the single charge pump, and the male socket of each battery connector is connected to the battery;
至少一个连接检测模块,每个所述连接检测模块与对应的所述电池连接器连接;At least one connection detection module, each of the connection detection modules is connected to the corresponding battery connector;
处理器,所述处理器与每个所述连接检测模块连接,其中,所述处理器用于基于每个所述连接检测模块的接地情况,检测每个所述连接检测模块对应的所述电池连接器是否扣合。A processor, the processor is connected to each of the connection detection modules, wherein the processor is configured to detect the battery connection corresponding to each of the connection detection modules based on the grounding condition of each of the connection detection modules. Is the device fastened?
在本公开的一些实施例中,所述至少一个连接检测模块的数目小于或等于所述多个电池连接器的数目。In some embodiments of the present disclosure, the number of the at least one connection detection module is less than or equal to the number of the plurality of battery connectors.
在本公开的一些实施例中,所述多个电池连接器包括第一电池连接器和第二电池连接器。In some embodiments of the present disclosure, the plurality of battery connectors include a first battery connector and a second battery connector.
在本公开的一些实施例中,所述至少一个连接检测模块的数目为一个;所述连接检测模块包括电阻组件和ADC(Analog to Digital Converter,模数转换器)模块,其中,In some embodiments of the present disclosure, the number of the at least one connection detection module is one; the connection detection module includes a resistor component and an ADC (Analog to Digital Converter, ADC) module, wherein,
所述电阻组件的一端与所述ADC模块连接,所述电阻组件的另一端与所述第一电池连接器的母座上的第一引脚连接。One end of the resistor component is connected to the ADC module, and the other end of the resistor component is connected to the first pin on the female base of the first battery connector.
在本公开的一些实施例中,所述第一电池连接器的母座还包括第二引脚,所述第二引脚接地;所述第一电池连接器的公座包括第三引脚和第四引脚,所述第三引脚和所述第四引脚短路;其中,所述第三引脚与所述第一引脚的扣合位置对应,所述第四引脚与所述第二引脚的扣合位置对应,以使得当第一电池连接器的母座和公座扣合时,所述ADC模块接地。In some embodiments of the present disclosure, the female socket of the first battery connector further includes a second pin, and the second pin is grounded; the male socket of the first battery connector includes a third pin and The fourth pin, the third pin and the fourth pin are short-circuited; wherein the third pin corresponds to the snapping position of the first pin, and the fourth pin is connected to the fourth pin. The buckling position of the second pin is corresponding, so that when the female socket and the male socket of the first battery connector are buckled together, the ADC module is grounded.
在本公开的一些实施例中,所述ADC模块为独立的ADC电路;或者,所述ADC模块为充电芯片上具有ADC功能的引脚。In some embodiments of the present disclosure, the ADC module is an independent ADC circuit; or, the ADC module is a pin with an ADC function on a charging chip.
在本公开的一些实施例中,所述第二电池连接器通过通信协议与所述处理器进行通信,使得所述处理器基于所述通信协议对所述电池进行加密认证,以检测所述第二电池连接器是否扣合。In some embodiments of the present disclosure, the second battery connector communicates with the processor through a communication protocol, so that the processor performs encryption authentication on the battery based on the communication protocol to detect the first Whether the second battery connector is engaged.
根据本公开实施例的第二方面,提供一种电池连接器扣合检测方法,该方法用于如前述第一方面的电池连接器扣合检测系统,该检测方法包括:According to a second aspect of the embodiment of the present disclosure, a battery connector snap-in detection method is provided. The method is used in the battery connector snap-in detection system of the aforementioned first aspect. The detection method includes:
基于每个所述连接检测模块的接地情况,检测每个所述连接检测模块对应的所述电池连接器是否扣合。Based on the grounding condition of each connection detection module, it is detected whether the battery connector corresponding to each connection detection module is engaged.
在本公开的一些实施例中,所述基于每个所述连接检测模块的接地情况,检测每个所述连接检测模块对应的所述电池连接器是否扣合,包括:响应于每个所述连接检测模块接地,确定每个所述连接检测模块对应的所述电池连接器扣合成功;或者,响应于每个所述连接检测模块未接地,确定每个所述连接检测模块对应的所述电池连接器扣合失败。In some embodiments of the present disclosure, detecting whether the battery connector corresponding to each connection detection module is engaged based on the grounding condition of each connection detection module includes: responding to each of the connection detection modules. The connection detection module is grounded, and it is determined that the battery connector corresponding to each connection detection module is successfully engaged; or, in response to each connection detection module not being grounded, it is determined that the battery connector corresponding to each connection detection module is Battery connector failed to engage.
在本公开的一些实施例中,判断每个所述连接检测模块是否接地,包括:In some embodiments of the present disclosure, determining whether each of the connection detection modules is grounded includes:
获取每个所述连接检测模块之中所述ADC模块采集到的电压值;Obtain the voltage value collected by the ADC module in each of the connection detection modules;
根据所述ADC模块采集到的电压值,判断对应的所述连接检测模块是否接地。According to the voltage value collected by the ADC module, it is determined whether the corresponding connection detection module is grounded.
在本公开的一些实施例中,所述根据所述ADC模块采集到的电压值,判断对应的所述连接检测模块是否接地,包括:In some embodiments of the present disclosure, determining whether the corresponding connection detection module is grounded based on the voltage value collected by the ADC module includes:
将所述ADC模块采集到的电压值与预设的基准电压进行对比;Compare the voltage value collected by the ADC module with the preset reference voltage;
响应于所述ADC模块采集到的电压值与所述基准电压满足第一条件,确定所述ADC模块对应的所述连接检测模块接地;In response to the voltage value collected by the ADC module and the reference voltage meeting the first condition, it is determined that the connection detection module corresponding to the ADC module is grounded;
或者,响应于所述ADC模块采集到的电压值与所述基准电压满足第二条件,确定所述ADC模块对应的所述连接检测模块未接地。Alternatively, in response to the voltage value collected by the ADC module and the reference voltage meeting the second condition, it is determined that the connection detection module corresponding to the ADC module is not grounded.
在本公开的一些实施例中,该检测方法还包括:In some embodiments of the present disclosure, the detection method further includes:
响应于所述电池连接器扣合失败,降低对所述电池的充电功率;In response to the failure of the battery connector to engage, reduce the charging power of the battery;
和/或,响应于所述ADC模块采集到的电压值与所述基准电压未满足所述第一条件和所述第二条件,向电子设备上报电池异常状态信息。And/or, in response to the voltage value collected by the ADC module and the reference voltage not meeting the first condition and the second condition, reporting battery abnormal status information to the electronic device.
在本公开的一些实施例中,所述方法还包括:对所述电池进行加密认证,以检测所述第二电池连接器是否扣合。In some embodiments of the present disclosure, the method further includes: performing encryption authentication on the battery to detect whether the second battery connector is engaged.
在本公开的一些实施例中,所述方法还包括:确定每个所述电池连接器的检测结果;将每个所述电池连接器的检测结果进行可视化处理。In some embodiments of the present disclosure, the method further includes: determining the detection result of each battery connector; and performing visual processing on the detection result of each battery connector.
根据本公开实施例的第三方面,提供一种电子设备,包括如前述第一方面所述的电池连接器扣合检测系统。According to a third aspect of an embodiment of the present disclosure, an electronic device is provided, including the battery connector engagement detection system as described in the first aspect.
根据本公开实施例的第四方面,提供另一种电子设备,包括:According to a fourth aspect of an embodiment of the present disclosure, another electronic device is provided, including:
处理器,用于存储所述处理器可执行指令的存储器,其中,所述指令被所述处理器执行以使所述处理器能够执行如前述第二方面所述的方法。A processor, a memory for storing instructions executable by the processor, wherein the instructions are executed by the processor to enable the processor to perform the method described in the second aspect.
根据本公开实施例的第五方面,提供一种存储有计算机指令的非瞬时计算机可读存储介质,述计算机指令用于使所述计算机执行如前述第二方面所述的方法。According to a fifth aspect of an embodiment of the present disclosure, there is provided a non-transitory computer-readable storage medium storing computer instructions, the computer instructions being used to cause the computer to execute the method described in the second aspect.
本公开的实施例提供的技术方案可以包括以下有益效果:The technical solutions provided by the embodiments of the present disclosure may include the following beneficial effects:
在电池连接器上额外串联连接检测模块,以便利用该连接检测模块是否接地来检测对应电池连接器是否扣合,例如,可以针对某一个电池连接器独立的进行扣合检测,并为准确判断单电荷泵多电池连接器的电池充电系统中电池连接器的扣合情况创造条件,从而可以降低售后充电慢的故障反馈比例。An additional detection module is connected in series to the battery connector, so that whether the connection detection module is grounded can be used to detect whether the corresponding battery connector is engaged. For example, the engagement detection can be performed independently for a certain battery connector, and for accurate judgment of the single The charge pump multi-battery connector creates conditions for the fastening of the battery connector in the battery charging system, which can reduce the proportion of fault feedback of slow after-sales charging.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only, and do not limit the present disclosure.
附图说明Description of drawings
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本发明的实施例,并与说明书一起用于解释本发明的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description serve to explain the principles of the invention.
图1是根据一示例性实施例示出的一种电池连接器扣合检测系统的框图。FIG. 1 is a block diagram of a battery connector snap detection system according to an exemplary embodiment.
图2是根据一示例性实施例示出的另一种电池连接器扣合检测系统的框图。FIG. 2 is a block diagram of another battery connector snap detection system according to an exemplary embodiment.
图3是根据一示例性实施例示出的充电芯片与两个电池连接器间的连接示例图。FIG. 3 is a diagram illustrating an example of connection between a charging chip and two battery connectors according to an exemplary embodiment.
图4是根据一示例性实施例示出的充电芯片与两个电池连接器间的连接示例图。FIG. 4 is a diagram illustrating an example of connection between a charging chip and two battery connectors according to an exemplary embodiment.
图5是根据一示例性实施例示出的又一种电池连接器扣合检测系统的框图。FIG. 5 is a block diagram of yet another battery connector snap detection system according to an exemplary embodiment.
图6是根据一示例性实施例示出的一种电池连接器扣合检测方法的流程图。FIG. 6 is a flow chart of a battery connector snap detection method according to an exemplary embodiment.
图7是根据一示例性实施例示出的另一种电池连接器扣合检测方法的流程图。FIG. 7 is a flow chart of another battery connector engagement detection method according to an exemplary embodiment.
图8是根据一示例性实施例示出的电源管理状态机轮询的示例图。Figure 8 is an example diagram illustrating power management state machine polling according to an exemplary embodiment.
图9是根据一示例性实施例示出的一种电子设备的框图。FIG. 9 is a block diagram of an electronic device according to an exemplary embodiment.
具体实施方式Detailed ways
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本发明相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本发明的一些方面相一致的装置和方法的例子。Exemplary embodiments will be described in detail herein, examples of which are illustrated in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the invention. Rather, they are merely examples of apparatus and methods consistent with aspects of the invention as detailed in the appended claims.
需要说明的是,本公开的实施例提供的电池连接器扣合检测方案适用于多电池连接器单电荷泵的充电系统。本公开通过在电池连接器上额外串联连接检测模块,以便利用该连接检测模块是否接地来检测对应电池连接器是否扣合。It should be noted that the battery connector snap-in detection solution provided by the embodiment of the present disclosure is suitable for a charging system with multiple battery connectors and a single charge pump. In the present disclosure, an additional detection module is connected in series on the battery connector, so as to use whether the connection detection module is grounded to detect whether the corresponding battery connector is engaged.
图1是根据一示例性实施例示出的一种电池连接器扣合检测系统的框图。如图1所示,该电池连接器扣合检测系统可以包括:单电荷泵100、电池200、多个电池连接器2101、至少一个连接检测模块300和处理器400。其中,每个电池连接器均包括公座和母座,每个电池连接器的公座均可以与电池连接,例如,多个电池连接器的公座设于电池的不同位置。每个电池连接器的母座均可以与单电荷泵连接,例如,单电荷泵和每个电池连接器的母座可以设于主板上。FIG. 1 is a block diagram of a battery connector snap detection system according to an exemplary embodiment. As shown in FIG. 1 , the battery connector snap detection system may include: a single charge pump 100 , a battery 200 , a plurality of battery connectors 2101 , at least one connection detection module 300 and a processor 400 . Each battery connector includes a male socket and a female socket, and the male socket of each battery connector can be connected to the battery. For example, the male sockets of multiple battery connectors are located at different positions of the battery. The female socket of each battery connector can be connected to a single charge pump. For example, the single charge pump and the female socket of each battery connector can be provided on the motherboard.
可以理解,充电芯片(充电IC)和单电荷泵均可以通过电池连接器为电池充电,其中, 充电芯片(充电IC)和单电荷泵的功率和功能会有所不同。其中,充电芯片(充电IC)可理解为电池管理芯片,充电芯片的充电功率小于单电荷泵的充电功率,例如,在电池充电阶段,当电池当前电量低时,可以利用单电荷泵为电池充电,以加快充电速度;当电池当前电量较高,如接近满电时,可以利用充电芯片为电池充电。又如,还可以考虑温度因素,在电池充电阶段,当电池当前温度较高时,需利用充电芯片为电池充电,以避免电池温度过高,当电池当前温度较低时,可以利用单电荷泵为电池充电。可选地,还可以结合考虑电池当前电量和当前温度,来选择是利用充电芯片或单电荷泵为电池充电。或者,还可以基于其他条件来选择是利用充电芯片或单电荷泵为电池充电,在此不再一一举例。It can be understood that both the charging chip (charging IC) and the single charge pump can charge the battery through the battery connector, and the power and functions of the charging chip (charging IC) and the single charge pump will be different. Among them, the charging chip (charging IC) can be understood as a battery management chip. The charging power of the charging chip is smaller than the charging power of a single charge pump. For example, during the battery charging stage, when the current battery power is low, a single charge pump can be used to charge the battery. , to speed up charging; when the current battery capacity is relatively high, such as when it is close to full power, the charging chip can be used to charge the battery. For another example, temperature factors can also be considered. During the battery charging stage, when the current temperature of the battery is high, a charging chip needs to be used to charge the battery to avoid the battery temperature being too high. When the current temperature of the battery is low, a single charge pump can be used. Charge the battery. Optionally, you can also choose to use a charging chip or a single charge pump to charge the battery by taking into account the current battery capacity and current temperature. Alternatively, you can also choose to use a charging chip or a single charge pump to charge the battery based on other conditions, and no examples will be given here.
需要说明的是,在本公开的实施例中,充电芯片(充电IC)、单电荷泵、连接检测模块和处理器可共同位于主板上,该主板上还可以具有其他部件,在此不再具体限定。其中,本公开中的处理器可以为主板处理器,或者,本公开中的处理器与主板处理器不同。当本公开中的处理器与主板处理器不同时,充电芯片(充电IC)可以与主板处理器通信,比如充电芯片(充电IC)可以基于信息传递接口(MPI)与主板处理器通信,单电荷泵可以基于I2C通信协议与主板处理器通信。It should be noted that in the embodiment of the present disclosure, the charging chip (charging IC), single charge pump, connection detection module and processor may be co-located on the motherboard, and the motherboard may also have other components, which will not be detailed here. limited. The processor in this disclosure may be a mainboard processor, or the processor in this disclosure may be different from a mainboard processor. When the processor in the present disclosure is different from the mainboard processor, the charging chip (charging IC) can communicate with the mainboard processor. For example, the charging chip (charging IC) can communicate with the mainboard processor based on the information transfer interface (MPI). Single charge The pump can communicate with the mainboard processor based on the I2C communication protocol.
在本公开的实施例中,如图1所示,每个电池连接器2101的母座a均与单电荷泵100连接,每个电池连接器2101的公座b均与电池200连接,比如每个电池连接器2101的公座b均在电池200的不同位置。其中,每个连接检测模块300与对应的电池连接器2101的母座a连接。In the embodiment of the present disclosure, as shown in Figure 1, the female socket a of each battery connector 2101 is connected to the single charge pump 100, and the male socket b of each battery connector 2101 is connected to the battery 200. For example, each The male sockets b of each battery connector 2101 are at different positions of the battery 200. Each connection detection module 300 is connected to the female socket a of the corresponding battery connector 2101 .
如图1所示,处理器400可以与每个连接检测模块300连接。在本公开的实施例中,处理器400可以用于基于每个连接检测模块300的接地情况,检测每个连接检测模块300对应的电池连接器2101是否扣合,比如,判断每个连接检测模块300是否接地,以检测每个连接检测模块300对应的电池连接器2101是否扣合。As shown in FIG. 1 , a processor 400 may be connected to each connection detection module 300 . In an embodiment of the present disclosure, the processor 400 can be used to detect whether the battery connector 2101 corresponding to each connection detection module 300 is engaged based on the grounding condition of each connection detection module 300. For example, determine whether each connection detection module 300 is engaged. 300 is grounded to detect whether the battery connector 2101 corresponding to each connection detection module 300 is engaged.
根据本公开实施例的电池连接器扣合检测系统,通过在电池连接器上额外串联连接检测模块,以便利用该连接检测模块是否接地来检测对应电池连接器是否扣合,例如,可以针对某一个电池连接器独立的进行扣合检测,并为准确判断单电荷泵多电池连接器的充电系统中电池连接器的扣合情况创造条件。由此,本公开提供了一种适用于多电池连接器单电荷泵充电结构的电池连接扣合检测方案,可以降低售后充电慢的故障反馈比例。According to the battery connector snap-in detection system according to the embodiment of the present disclosure, an additional detection module is connected in series on the battery connector, so that whether the connection detection module is grounded is used to detect whether the corresponding battery connector is snap-in. For example, a certain The battery connector is independently tested for engagement and creates conditions for accurate judgment of the engagement of the battery connector in a charging system with a single charge pump and multiple battery connectors. Therefore, the present disclosure provides a battery connection snapping detection scheme suitable for a single charge pump charging structure of a multi-battery connector, which can reduce the fault feedback ratio of slow after-sales charging.
在本公开的一些实施例中,每个连接检测模块包括电阻组件和ADC(Analog to Digital Converter,模数转换器)模块,其中,电阻组件的一端与ADC模块连接,电阻组件的另一端与连接检测模块对应的电池连接器的母座上的第一引脚连接。可选地,在本公开的实施例中,与连接检测模块对应的电池连接器的母座上还可包括第二引脚,第二引脚接地,其中第一引脚与第二引脚不短路;与连接检测模块对应的电池连接器的公座包括第三引脚和第四引脚,第三引脚和第四引脚短路,其中,第三引脚与第一引脚的扣合位置对应,第四引脚与第二引脚的扣合位置对应,以使得当与连接检测模块对应的电池连接器的母座和公座扣合时,ADC模块接地。这样,当与连接检测模块对应的电池连接器的公座与母座成功扣合时,第三引脚与第一引脚会扣合连接,第四引脚与第二引脚会扣合连接,由于第二引 脚接地,第三引脚和第四引脚短路,所以可以使得与该电池连接器的连接检测模块接地,由此,可以通过判断连接检测模块是否接地,以检测对应电池连接器是否扣合。作为一种可能实现方式的示例,该电阻组件的大小可以为100千欧,该电阻组件的大小可以根据实际情况来决定,对此不做具体限定。In some embodiments of the present disclosure, each connection detection module includes a resistor component and an ADC (Analog to Digital Converter) module, wherein one end of the resistor component is connected to the ADC module, and the other end of the resistor component is connected to Detect the first pin connection on the female socket of the battery connector corresponding to the module. Optionally, in the embodiment of the present disclosure, the female socket of the battery connector corresponding to the connection detection module may also include a second pin, and the second pin is grounded, wherein the first pin and the second pin are not in contact with each other. Short circuit; the male socket of the battery connector corresponding to the connection detection module includes a third pin and a fourth pin, and the third pin and the fourth pin are short-circuited, where the third pin is fastened to the first pin The positions correspond, and the fourth pin corresponds to the buckling position of the second pin, so that when the female socket and the male socket of the battery connector corresponding to the connection detection module are buckled, the ADC module is grounded. In this way, when the male socket and the female socket of the battery connector corresponding to the connection detection module are successfully engaged, the third pin and the first pin will be engaged and connected, and the fourth pin and the second pin will be engaged and connected. , since the second pin is grounded and the third pin and the fourth pin are short-circuited, the connection detection module with the battery connector can be grounded. Therefore, the corresponding battery connection can be detected by judging whether the connection detection module is grounded. Is the device fastened? As an example of a possible implementation, the size of the resistor component may be 100 kiloohms. The size of the resistor component may be determined according to the actual situation and is not specifically limited.
需要说明的是,本公开中的第一引脚、第二引脚分别为电池连接器的母座上的空闲引脚;第三引脚和第四引脚分别为电池连接器的公座上的空闲引脚。It should be noted that the first and second pins in this disclosure are respectively free pins on the female socket of the battery connector; the third pin and the fourth pin are respectively on the male socket of the battery connector. of free pins.
还需要说明的是,在本公开的一些实施例中,至少一个连接检测模块300的数目可以小于或等于多个电池连接器2101的数目。在一种实现方式中,至少一个连接检测模块300的数目与多个电池连接器2101的数目相同。例如,假设多个电池连接器2101的数目为两个,即包括主电池连接器和从电池连接器,至少一个连接检测模块300的数目为两个,即包括连接检测模块10和连接检测模块20。图2是根据一示例性实施例示出的另一种电池连接器扣合检测系统的框图,其中,本实施例中的处理器与主板处理器不同时,充电芯片(充电IC)可以与主板处理器通信(图2中未示出),单电荷泵可以与主板处理器通信(图2中未示出),充电芯片(充电IC)、单电荷泵、处理器、主板处理器和连接检测模块可以位于主板上。It should also be noted that in some embodiments of the present disclosure, the number of at least one connection detection module 300 may be less than or equal to the number of multiple battery connectors 2101 . In one implementation, the number of at least one connection detection module 300 is the same as the number of battery connectors 2101 . For example, assume that the number of the plurality of battery connectors 2101 is two, that is, including the master battery connector and the slave battery connector, and the number of the at least one connection detection module 300 is two, that is, the number of the at least one connection detection module 300 is two, that is, it includes the connection detection module 10 and the connection detection module 20 . Figure 2 is a block diagram of another battery connector snap detection system according to an exemplary embodiment. When the processor in this embodiment is different from the motherboard processor, the charging chip (charging IC) can be processed by the motherboard. The single charge pump can communicate with the motherboard processor (not shown in Figure 2), the charging chip (charging IC), the single charge pump, the processor, the motherboard processor and the connection detection module Can be located on the motherboard.
如图2所示,连接检测模块10包括电阻组件11和ADC模块12,电阻组件11的一端与ADC模块12连接,电阻组件11的另一端与主电池连接器1的母座1a上的第一引脚1a1连接。可选地,主电池连接器1的母座1a上还可包括第二引脚1a2,第二引脚1a2接地,其中第一引脚1a1与第二引脚1a2不短路。主电池连接器1的公座1b包括第三引脚1b1和第四引脚1b2,第三引脚1b1和第四引脚1b2短路,其中,第三引脚1b1与第一引脚1a1的扣合位置对应,第四引脚1b2与第二引脚1a2的扣合位置对应,以使得当主电池连接器1的母座和公座扣合时,ADC模块12接地。这样,当主电池连接器1的公座与主电池连接器1的母座成功扣合时,第三引脚1b1与第一引脚1a1会扣合连接,第四引脚1b2与第二引脚1a2会扣合连接,由于第二引脚1a2接地,第三引脚1b1和第四引脚1b2短路,所以可以使得连接检测模块10接地,由此,处理器400可以通过判断连接检测模块10是否接地以检测主电池连接器1是否扣合。As shown in Figure 2, the connection detection module 10 includes a resistor component 11 and an ADC module 12. One end of the resistor component 11 is connected to the ADC module 12, and the other end of the resistor component 11 is connected to the first pin on the female base 1a of the main battery connector 1. Pin 1a1 is connected. Optionally, the female base 1a of the main battery connector 1 may also include a second pin 1a2, the second pin 1a2 is connected to the ground, and the first pin 1a1 and the second pin 1a2 are not short-circuited. The male socket 1b of the main battery connector 1 includes a third pin 1b1 and a fourth pin 1b2. The third pin 1b1 and the fourth pin 1b2 are short-circuited, wherein the buckle of the third pin 1b1 and the first pin 1a1 The fourth pin 1b2 corresponds to the engaged position of the second pin 1a2, so that when the female socket and the male socket of the main battery connector 1 are engaged, the ADC module 12 is grounded. In this way, when the male socket of the main battery connector 1 and the female socket of the main battery connector 1 are successfully engaged, the third pin 1b1 and the first pin 1a1 will be engaged and connected, and the fourth pin 1b2 and the second pin will be engaged. 1a2 will be snap-connected. Since the second pin 1a2 is grounded and the third pin 1b1 and the fourth pin 1b2 are short-circuited, the connection detection module 10 can be grounded. Therefore, the processor 400 can determine whether the connection detection module 10 Ground to detect whether main battery connector 1 is engaged.
其中,如图2所示,连接检测模块20包括电阻组件21和ADC模块22,电阻组件21的一端与ADC模块22连接,电阻组件21的另一端与从电池连接器2的母座2a上的第一引脚2a1连接。可选地,从电池连接器2的母座2a上还可包括第二引脚2a2,第二引脚2a2接地,其中第一引脚2a1与第二引脚2a2不短路。从电池连接器2的公座2b包括第三引脚2b1和第四引脚2b2,第三引脚2b1和第四引脚2b2短路,其中,第三引脚2b1与第一引脚2a1的扣合位置对应,第四引脚2b2与第二引脚2a2的扣合位置对应,以使得当从电池连接器2的母座和公座扣合时,ADC模块22接地。这样,当从电池连接器2的公座与从电池连接器2的母座成功扣合时,第三引脚2b1与第一引脚2a1会扣合连接,第四引脚2b2与第二引脚2a2会扣合连接,由于第二引脚2a2接地,第三引脚2b1和第四引脚2b2短路,所以可以使得连接检测模块20接地,由此,处理器400可以通过判断连接检测模块20是 否接地以检测从电池连接器2是否扣合。As shown in FIG. 2 , the connection detection module 20 includes a resistor component 21 and an ADC module 22 . One end of the resistor component 21 is connected to the ADC module 22 , and the other end of the resistor component 21 is connected to the female socket 2 a of the battery connector 2 . The first pin 2a1 is connected. Optionally, the female base 2a of the slave battery connector 2 may also include a second pin 2a2, the second pin 2a2 is connected to the ground, and the first pin 2a1 and the second pin 2a2 are not short-circuited. The male socket 2b of the battery connector 2 includes a third pin 2b1 and a fourth pin 2b2. The third pin 2b1 and the fourth pin 2b2 are short-circuited, wherein the third pin 2b1 is connected to the first pin 2a1. The fourth pin 2b2 corresponds to the engaged position of the second pin 2a2, so that when the female socket and the male socket of the battery connector 2 are engaged, the ADC module 22 is grounded. In this way, when the male socket of the slave battery connector 2 and the female socket of the slave battery connector 2 are successfully engaged, the third pin 2b1 and the first pin 2a1 will be engaged and connected, and the fourth pin 2b2 and the second pin will be engaged. The pin 2a2 will be snap-connected. Since the second pin 2a2 is grounded and the third pin 2b1 and the fourth pin 2b2 are short-circuited, the connection detection module 20 can be grounded. Therefore, the processor 400 can determine the connection detection module 20 Whether it is grounded to detect whether the slave battery connector 2 is engaged.
图3是根据一示例性实施例示出的充电芯片与两个电池连接器间的连接示例图,其中,本实施例中的处理器与主板处理器不同时,充电芯片(充电IC)可以与主板处理器通信(图3中未示出),单电荷泵可以与主板处理器通信(图3中未示出),充电芯片(充电IC)、单电荷泵、处理器、主板处理器和连接检测模块可以位于主板上。需要说明的是,在本公开的实施例中,如图3所示,该ADC模块可以为独立的ADC电路,比如可以在主板上设置一个ADC电路,将该ADC电路作为连接检测模块的一部分。其中,在本实施例中,充电芯片(充电IC)可以与两个电池连接器连接。例如,如图3所示,充电芯片可以直接与从电池连接器2连接,由于主电池连接器与从电池连接器之间存在通路(图3中未示出),通过该通路可以使得从电池连接器也可以与充电芯片连通,以便充电芯片通过从电池连接器为电池充电。其中,单电荷泵与两个电池连接器都有通路连接,以便单电荷泵通过两个电池连接器为电池充电。可选地,充电芯片还可以分别与主电池连接器和从电池连接器连接,比如充电芯片中的一个引脚与主电池连接器连接,充电芯片中的另一个引脚与从电池连接器连接。可选地,两个电池连接器也可以使用同一通路与单电荷泵连接。两个电池连接器与充电芯片间的通路个数,以及两个电池连接器与单电荷泵间的通路个数,可以根据实际情况来设定,此外,充电芯片以及单电荷泵与主板上的其他部件的连接关系可参见现有技术的连接关系,本公开对此不做具体限定,也不再赘述。Figure 3 is an example diagram of the connection between the charging chip and two battery connectors according to an exemplary embodiment. When the processor in this embodiment is different from the mainboard processor, the charging chip (charging IC) can be different from the mainboard processor. Processor communication (not shown in Figure 3), single charge pump can communicate with motherboard processor (not shown in Figure 3), charging chip (charging IC), single charge pump, processor, motherboard processor and connection detection Modules can be located on the motherboard. It should be noted that, in the embodiment of the present disclosure, as shown in Figure 3, the ADC module can be an independent ADC circuit. For example, an ADC circuit can be provided on the motherboard and used as a part of the connection detection module. Among them, in this embodiment, the charging chip (charging IC) can be connected to two battery connectors. For example, as shown in Figure 3, the charging chip can be directly connected to the slave battery connector 2. Since there is a path between the master battery connector and the slave battery connector (not shown in Figure 3), the slave battery can be connected through this path. The connector can also communicate with the charging chip so that the charging chip charges the battery through the battery connector. Among them, the single charge pump has a path connection with both battery connectors, so that the single charge pump charges the battery through the two battery connectors. Optionally, the charging chip can also be connected to the main battery connector and the slave battery connector respectively. For example, one pin in the charging chip is connected to the main battery connector, and another pin in the charging chip is connected to the slave battery connector. . Alternatively, both battery connectors can be connected to a single charge pump using the same path. The number of channels between the two battery connectors and the charging chip, as well as the number of channels between the two battery connectors and the single charge pump, can be set according to the actual situation. In addition, the charging chip and the single charge pump are connected to the motherboard. The connection relationships of other components may refer to the connection relationships in the prior art. This disclosure does not specifically limit this and will not be repeated.
图4是根据一示例性实施例示出的充电芯片与两个电池连接器间的连接示例图,其中,本实施例中的处理器与主板处理器不同时,充电芯片(充电IC)可以与主板处理器通信(图4中未示出),单电荷泵可以与主板处理器通信(图4中未示出),充电芯片(充电IC)、单电荷泵、处理器、主板处理器和连接检测模块可以位于主板上。在本公开的实施例中,该ADC模块可以为充电芯片(充电IC)上具有ADC功能的引脚。例如,如图4所示,连接检测模块20中的ADC模块可以是充电IC上具有ADC功能的一个引脚,充电IC通过该ADC引脚2、电阻组件21与从电池连接器2的母座的一个引脚2a1连接。类似地,如图4所示,连接检测模块10中的ADC模块也可以是充电IC上的一个引脚,充电IC通过该ADC引脚1、电阻组件11与主电池连接器1的母座的一个引脚1a1连接。Figure 4 is an example diagram of the connection between the charging chip and two battery connectors according to an exemplary embodiment. When the processor in this embodiment is different from the mainboard processor, the charging chip (charging IC) can be different from the mainboard processor. Processor communication (not shown in Figure 4), single charge pump can communicate with motherboard processor (not shown in Figure 4), charging chip (charging IC), single charge pump, processor, motherboard processor and connection detection Modules can be located on the motherboard. In embodiments of the present disclosure, the ADC module may be a pin with an ADC function on a charging chip (charging IC). For example, as shown in Figure 4, the ADC module in the connection detection module 20 can be a pin with the ADC function on the charging IC. The charging IC communicates with the female socket of the slave battery connector 2 through the ADC pin 2, the resistor component 21 One of pin 2a1 is connected. Similarly, as shown in Figure 4, the ADC module in the connection detection module 10 can also be a pin on the charging IC. The charging IC connects the ADC pin 1, the resistor component 11 and the female socket of the main battery connector 1. One pin 1a1 is connected.
也就是说,连接检测模块中的ADC模块可以是充电IC上具有ADC功能的一个引脚,这样,在该引脚与第一电池连接器的母座上的一个引脚之间串联一个电阻组件,以构成一个ADC通路,通过第一电池连接器的公座扣合完成以使得该ADC通路接地,由此,在几乎没有增加成本、硬件电池极小改动的情况下实现了多电池连接器单电荷泵充电结构的电池连接扣合检测。That is to say, the ADC module in the connection detection module can be a pin with the ADC function on the charging IC. In this way, a resistor component is connected in series between this pin and a pin on the female base of the first battery connector. , to form an ADC channel, which is completed by the male socket of the first battery connector to ground the ADC channel. Therefore, a single multi-battery connector is realized with almost no increase in cost and minimal changes to the hardware battery. Battery connection snap detection of charge pump charging structure.
在另一种实现方式中,至少一个连接检测模块的数目可以小于多个电池连接器的数目。可选地,在本公开的实施例中,多个电池连接器包括第一电池连接器和第二电池连接器。可选地,至少一个连接检测模块的数目为一个。图5是根据一示例性实施例示出的另一种电池连接器扣合检测系统的框图,其中,本实施例中的处理器可以为主板处理器,充电芯片(充电IC)可以与主板处理器通信(图5中未示出),单电荷泵可以与主板处理器基于 I2C通信协议通信,充电芯片(充电IC)、单电荷泵、处理器和连接检测模块可以位于主板上。In another implementation, the number of at least one connection detection module may be less than the number of battery connectors. Optionally, in embodiments of the present disclosure, the plurality of battery connectors include a first battery connector and a second battery connector. Optionally, the number of at least one connection detection module is one. Figure 5 is a block diagram of another battery connector snap detection system according to an exemplary embodiment. The processor in this embodiment can be a mainboard processor, and the charging chip (charging IC) can be connected to the mainboard processor. For communication (not shown in Figure 5), the single charge pump can communicate with the motherboard processor based on the I2C communication protocol, and the charging chip (charging IC), single charge pump, processor and connection detection module can be located on the motherboard.
如图5所示,多个电池连接器包括第一电池连接器211和第二电池连接器212;至少一个连接检测模块包括一个连接检测模块300。其中,连接检测模块300与第一电池连接器211连接。例如,如图5所示,连接检测模块300包括电阻组件310和ADC模块320,电阻组件310的一端与ADC模块320连接,电阻组件310的另一端与第一电池连接器211的母座211a上的第一引脚211a1连接。As shown in FIG. 5 , the plurality of battery connectors include a first battery connector 211 and a second battery connector 212 ; at least one connection detection module includes a connection detection module 300 . Among them, the connection detection module 300 is connected to the first battery connector 211. For example, as shown in Figure 5, the connection detection module 300 includes a resistor component 310 and an ADC module 320. One end of the resistor component 310 is connected to the ADC module 320, and the other end of the resistor component 310 is connected to the female socket 211a of the first battery connector 211. The first pin of 211a1 is connected.
在本公开的实施例中,如图5所示,第一电池连接器211的母座211a上还包括第二引脚211a2,第二引脚211a2接地,且第一引脚211a1与第二引脚211a2不短路。第一电池连接器211的公座211b包括第三引脚211b1和第四引脚211b2,第三引脚211b1和第四引脚211b2短路设计,其中,第三引脚211b1与第一引脚211a1的扣合位置对应,第四引脚211b2与第二引脚211a2的扣合位置对应,以使得当第一电池连接器211的母座和公座扣合时,ADC模块320接地。这样,当第一电池连接器211的公座与第一电池连接器211的母座成功扣合时,第三引脚211b1与第一引脚211a1会扣合连接,第四引脚211b2与第二引脚211a2会扣合连接,由于第二引脚211a2接地,第三引脚211b1和第四引脚211b2短路,所以可以使得连接检测模块300接地,由此,处理器400可以通过判断连接检测模块300是否接地以检测第一电池连接器211是否扣合。In the embodiment of the present disclosure, as shown in Figure 5, the female socket 211a of the first battery connector 211 also includes a second pin 211a2, the second pin 211a2 is grounded, and the first pin 211a1 is connected to the second pin 211a2. Pin 211a2 is not short-circuited. The male socket 211b of the first battery connector 211 includes a third pin 211b1 and a fourth pin 211b2. The third pin 211b1 and the fourth pin 211b2 are designed to be short-circuited, wherein the third pin 211b1 and the first pin 211a1 The fourth pin 211b2 corresponds to the buckling position of the second pin 211a2, so that when the female socket and the male socket of the first battery connector 211 are engaged, the ADC module 320 is grounded. In this way, when the male socket of the first battery connector 211 and the female socket of the first battery connector 211 are successfully engaged, the third pin 211b1 and the first pin 211a1 will be engaged and connected, and the fourth pin 211b2 and the fourth pin 211b2 will be engaged. The two pins 211a2 will be snap-connected. Since the second pin 211a2 is grounded and the third pin 211b1 and the fourth pin 211b2 are short-circuited, the connection detection module 300 can be grounded. Therefore, the processor 400 can determine the connection detection by Whether the module 300 is grounded is used to detect whether the first battery connector 211 is engaged.
在本公开的实施例中,第一电池连接器可以为从电池连接器,第二电池连接器可以为主电池连接器。其中,对于第二电池连接器的扣合检测,可以采用对电池进行加密认证以检测第二电池连接器的扣合情况。在一种实现方式中,第二电池连接器通过通信协议(如I2C协议)与处理器进行通信,使得处理器基于通信协议对电池进行加密认证,以检测第二电池连接器是否扣合。In embodiments of the present disclosure, the first battery connector may be a slave battery connector, and the second battery connector may be a master battery connector. For the detection of the engagement of the second battery connector, encryption authentication of the battery may be used to detect the engagement of the second battery connector. In one implementation, the second battery connector communicates with the processor through a communication protocol (such as I2C protocol), so that the processor performs encryption authentication on the battery based on the communication protocol to detect whether the second battery connector is engaged.
例如,第二电池连接器为主电池连接器,该第二电池连接器与单电荷泵连接的通路中包含I2C,单电荷泵也可以基于I2C协议与主板处理器进行通信连接。因此,处理器可以基于I2C通信对电池进行加密认证,以检测第二电池连接器是否扣合。其中,本公开中的处理器可以为主板处理器,或者,本公开中的处理器与主板处理器不同。当本公开中的处理器与主板处理器不同时,单电荷泵与主板处理器连接,本公开中的处理器与主板处理器通信,以便本公开中的处理器可以从主板处理器中获取该主板处理器基于I2C通信获取到电池内部的相关信息。For example, the second battery connector is the main battery connector, and the path connecting the second battery connector to the single charge pump includes I2C. The single charge pump can also communicate with the motherboard processor based on the I2C protocol. Therefore, the processor can perform encrypted authentication on the battery based on I2C communication to detect whether the second battery connector is engaged. The processor in this disclosure may be a mainboard processor, or the processor in this disclosure may be different from a mainboard processor. When the processor in the present disclosure is different from the motherboard processor, the single charge pump is connected to the motherboard processor, and the processor in the present disclosure communicates with the motherboard processor, so that the processor in the present disclosure can obtain the data from the motherboard processor. The motherboard processor obtains relevant information inside the battery based on I2C communication.
也就是说,可以判断是否能够通过I2C通信获取到电池内部的相关信息(比如电池内部真实电压)以检测第二电池连接器是否扣合成功。例如,若能够通过I2C通信获取到电池内部的相关信息,则可以认为电池与主板处理器间的通信连接正常,可以确定电池上的第二电池连接器的公座与第二电池连接器的母座扣合成功。可选地,如果未能够通过I2C通信获取到电池内部的相关信息,则可以认为电池与主板处理器间的通信连接异常,可以确定电池上的第二电池连接器的公座与第二电池连接器的母座未扣合成功。其中,需要说明的是,单电荷泵与两个电池连接器都有通路连接,其中I2C通信线是从主电池连接器出 来的连接到单电荷泵和处理器,从电池连接器与单电荷泵、处理器之间无法进行I2C通信。作为一种示例,从电池连接器与单电荷泵、处理器之间也可以I2C通信。In other words, it can be determined whether the relevant information inside the battery (such as the real voltage inside the battery) can be obtained through I2C communication to detect whether the second battery connector is successfully engaged. For example, if the relevant information inside the battery can be obtained through I2C communication, it can be considered that the communication connection between the battery and the motherboard processor is normal, and the male socket of the second battery connector on the battery and the female socket of the second battery connector can be determined. The seat buckle is closed successfully. Optionally, if the relevant information inside the battery cannot be obtained through I2C communication, it can be considered that the communication connection between the battery and the motherboard processor is abnormal, and it can be determined that the male socket of the second battery connector on the battery is connected to the second battery The female base of the device has not been successfully engaged. Among them, it should be noted that the single charge pump has a path connection with both battery connectors. The I2C communication line comes from the main battery connector and is connected to the single charge pump and processor. The slave battery connector is connected to the single charge pump. ,I2C communication cannot be carried out between processors. As an example, I2C communication is also possible between the battery connector and a single charge pump and processor.
继续以上述至少一个连接检测模块的数目为一个的示例进行说明,在本示例中,主电池连接器可以基于I2C通信来实现扣合检测,从电池连接器可以基于连接检测模块来实现扣合检测。需要说明的是,在本示例中,连接检测模块300中的ADC模块可以为独立的ADC电路,比如可以在主板上设置一个ADC电路,将该ADC电路作为连接检测模块300的一部分。其中,充电芯片(充电IC)可以与两个电池连接器连接,连接方式可参见图3中充电芯片的连接,在此不再赘述。Continuing to illustrate with the above example in which the number of at least one connection detection module is one, in this example, the master battery connector can implement snap-in detection based on I2C communication, and the slave battery connector can implement snap-in detection based on the connection detection module. . It should be noted that in this example, the ADC module in the connection detection module 300 can be an independent ADC circuit. For example, an ADC circuit can be set on the motherboard and used as a part of the connection detection module 300 . Among them, the charging chip (charging IC) can be connected to the two battery connectors. The connection method can be seen in the connection of the charging chip in Figure 3, which will not be described again here.
继续以上述至少一个连接检测模块的数目为一个的示例进行说明,在本示例中,主电池连接器可以基于I2C通信来实现扣合检测,从电池连接器可以基于连接检测模块来实现扣合检测。需要说明的是,在本示例中,连接检测模块300中的ADC模块可以为充电芯片(充电IC)上的引脚。充电IC通过该ADC引脚、电阻组件310与从电池连接器连接。其中,充电IC与两个电池连接器都有通路连接,比如充电IC与主电池连接器直接连接,充电IC通过自身的ADC引脚和电阻组件与从电池连接器连接。可选地,两个电池连接器之间存在通路,这样,充电IC通过自身的ADC引脚、电阻组件以及该通路,即可与两个电池连接器连接。其中,单电荷泵与两个电池连接器都有通路连接,以便单电荷泵通过两个电池连接器为电池充电。可选地,两个电池连接器也可以使用同一通路与单电荷泵连接。需要说明的是,两个电池连接器与充电芯片间的通路个数,以及两个电池连接器与单电荷泵间的通路个数,可以根据实际情况来设定,本公开对此不做具体限定。Continuing to illustrate with the above example in which the number of at least one connection detection module is one, in this example, the master battery connector can implement snap-in detection based on I2C communication, and the slave battery connector can implement snap-in detection based on the connection detection module. . It should be noted that in this example, the ADC module in the connection detection module 300 may be a pin on the charging chip (charging IC). The charging IC is connected to the slave battery connector through the ADC pin and resistor component 310 . Among them, the charging IC has a path connection with both battery connectors. For example, the charging IC is directly connected to the main battery connector, and the charging IC is connected to the slave battery connector through its own ADC pin and resistor component. Optionally, there is a path between the two battery connectors, so that the charging IC can be connected to the two battery connectors through its own ADC pin, resistor component and the path. Among them, the single charge pump has a path connection with both battery connectors, so that the single charge pump charges the battery through the two battery connectors. Alternatively, both battery connectors can be connected to a single charge pump using the same path. It should be noted that the number of channels between the two battery connectors and the charging chip, as well as the number of channels between the two battery connectors and the single charge pump, can be set according to the actual situation, and this disclosure does not specify this. limited.
基于上述实施例,本公开提供了一种电池连接器扣合检测方法。图6是根据一示例性实施例示出的一种电池连接器扣合检测方法的流程图,如图6所示,电池连接器扣合检测方法用于上述任一实施例所述的电池连接器扣合检测系统,该电池连接器扣合检测方法可以包括以下步骤。Based on the above embodiments, the present disclosure provides a battery connector snap detection method. Figure 6 is a flow chart of a battery connector snap-in detection method according to an exemplary embodiment. As shown in Figure 6, the battery connector snap-in detection method is used for the battery connector described in any of the above embodiments. Snap detection system, the battery connector snap detection method may include the following steps.
在步骤601中,基于每个连接检测模块的接地情况,检测每个连接检测模块对应的电池连接器是否扣合。In step 601, based on the grounding condition of each connection detection module, it is detected whether the battery connector corresponding to each connection detection module is engaged.
可选地,如上述任一实施例所述的电池连接器扣合检测系统中,在电池连接器上额外串联连接检测模块,以便利用该连接检测模块是否接地来检测对应电池连接器是否扣合,例如,可以针对某一个电池连接器独立的进行扣合检测,并为准确判断单电荷泵多电池连接器的充电系统中电池连接器的扣合情况创造条件,从而可以降低售后充电慢的故障反馈比例。Optionally, in the battery connector engagement detection system as described in any of the above embodiments, an additional detection module is connected in series on the battery connector, so that whether the connection detection module is grounded is used to detect whether the corresponding battery connector is engaged. , for example, it can independently conduct snapping detection for a certain battery connector, and create conditions for accurately judging the snapping status of the battery connector in a charging system with a single charge pump and multiple battery connectors, thereby reducing after-sales charging slow faults. Feedback ratio.
在本公开的一些实施例中,所述基于每个连接检测模块的接地情况,检测每个连接检测模块对应的电池连接器是否扣合的具体实现方式可如下:响应于每个连接检测模块接地,确定每个连接检测模块对应的电池连接器扣合成功;或者,响应于每个连接检测模块未接地,确定每个连接检测模块对应的电池连接器扣合失败。In some embodiments of the present disclosure, the specific implementation method of detecting whether the battery connector corresponding to each connection detection module is engaged based on the grounding condition of each connection detection module may be as follows: in response to the grounding of each connection detection module , determine that the battery connector corresponding to each connection detection module is successfully engaged; or, in response to each connection detection module not being grounded, determine that the battery connector corresponding to each connection detection module fails to engage.
举例而言,以上述如图2所示的电池连接器扣合检测系统为例,可以通过判断连接检 测模块10是否接地以检测主电池连接器1是否扣合。例如,当连接检测模块10接地,则确定主电池连接器1扣合成功;当连接检测模块10未接地,则确定主电池连接器1扣合失败或未扣合。还可以通过判断连接检测模块20是否接地以检测从电池连接器2是否扣合,例如,当连接检测模块20接地,则确定从电池连接器2扣合成功;当连接检测模块20未接地,则确定从电池连接器2扣合失败或未扣合。由此,可以实现对某一个电池连接器独立的进行扣合检测,为准确判断单电荷泵多电池连接器的充电系统中电池连接器的扣合情况创造条件。For example, taking the battery connector engagement detection system shown in Figure 2 as an example, whether the main battery connector 1 is engaged can be detected by determining whether the connection detection module 10 is grounded. For example, when the connection detection module 10 is grounded, it is determined that the main battery connector 1 is successfully engaged; when the connection detection module 10 is not grounded, it is determined that the main battery connector 1 fails to be engaged or is not engaged. It is also possible to detect whether the slave battery connector 2 is fastened by judging whether the connection detection module 20 is grounded. For example, when the connection detection module 20 is grounded, it is determined that the slave battery connector 2 is fastened successfully; when the connection detection module 20 is not grounded, then It is determined that the battery connector 2 fails to engage or is not engaged. As a result, it is possible to independently detect the engagement of a certain battery connector, creating conditions for accurately judging the engagement status of the battery connector in a charging system with a single charge pump and multiple battery connectors.
在本公开的一些实施例中,判断每个连接检测模块是否接地的实现方式可如下:获取每个连接检测模块之中ADC模块采集到的电压值;根据ADC模块采集到的电压值,判断对应的连接检测模块是否接地。In some embodiments of the present disclosure, determining whether each connection detection module is grounded can be implemented as follows: obtaining the voltage value collected by the ADC module in each connection detection module; judging the corresponding voltage value based on the voltage value collected by the ADC module. The connection detects whether the module is grounded.
在一种实现方式中,所述根据ADC模块采集到的电压值,判断对应的连接检测模块是否接地的实现方式可如下:将ADC模块采集到的电压值与预设的基准电压进行对比;响应于ADC模块采集到的电压值与基准电压满足第一条件,确定ADC模块对应的连接检测模块接地;或者,响应于ADC模块采集到的电压值与基准电压满足第二条件,确定ADC模块对应的连接检测模块未接地。In one implementation, the implementation of determining whether the corresponding connection detection module is grounded based on the voltage value collected by the ADC module can be as follows: compare the voltage value collected by the ADC module with a preset reference voltage; respond In response to the voltage value collected by the ADC module and the reference voltage meeting the first condition, it is determined that the connection detection module corresponding to the ADC module is grounded; or, in response to the voltage value collected by the ADC module and the reference voltage meeting the second condition, it is determined that the connection detection module corresponding to the ADC module is grounded. The connection detection module is not connected to ground.
在本公开的一些实施例中,响应于电池连接器扣合失败,降低对电池的充电功率;和/或,响应于ADC模块采集到的电压值与基准电压未满足第一条件和第二条件,向电子设备上报电池异常状态信息。In some embodiments of the present disclosure, in response to the failure of the battery connector to engage, the charging power of the battery is reduced; and/or in response to the voltage value collected by the ADC module and the reference voltage not meeting the first condition and the second condition. , reporting battery abnormal status information to the electronic device.
在本公开的一些实施例中,确定每个电池连接器的检测结果;将每个电池连接器的检测结果进行可视化处理。In some embodiments of the present disclosure, the detection result of each battery connector is determined; and the detection result of each battery connector is visualized.
需要说明的是,在本公开的一些实施例中,至少一个连接检测模块的数目可以小于或等于多个电池连接器的数目。在一种实现方式中,至少一个连接检测模块的数目可以小于多个电池连接器的数目。可选地,在本公开的实施例中,多个电池连接器包括第一电池连接器和第二电池连接器。可选地,至少一个连接检测模块的数目为一个。下面将结合图7给出另一种用于上述图5所示的电池连接器扣合检测系统的方法的示例,以详细介绍本公开的电池连接器扣合检测方案。It should be noted that, in some embodiments of the present disclosure, the number of at least one connection detection module may be less than or equal to the number of multiple battery connectors. In one implementation, the number of at least one connection detection module may be less than the number of battery connectors. Optionally, in embodiments of the present disclosure, the plurality of battery connectors include a first battery connector and a second battery connector. Optionally, the number of at least one connection detection module is one. Another example of a method for the battery connector snap-in detection system shown in FIG. 5 will be given below in conjunction with FIG. 7 to introduce the battery connector snap-in detection solution of the present disclosure in detail.
图7是根据一示例性实施例示出的另一种电池连接器扣合检测方法的流程图,如图7所示,该电池连接器扣合检测方法可以包括以下步骤。FIG. 7 is a flow chart of another battery connector snap-in detection method according to an exemplary embodiment. As shown in FIG. 7 , the battery connector snap-in detection method may include the following steps.
在步骤701中,获取连接检测模块之中ADC模块采集到的电压值。In step 701, obtain the voltage value collected by the ADC module in the connection detection module.
可选地,ADC模块与第一电池连接器的母座之间串联一个固定阻值的电阻组件,通过扣合该第一电池连接器公座来将该ADC通路接地,由此,可以通过ADC模块采集该ADC通路的电压值,以便利用该电压值的大小来检测该第一电池连接器是否扣合。Optionally, a resistor component with a fixed resistance is connected in series between the ADC module and the female socket of the first battery connector, and the ADC path is grounded by snapping the male socket of the first battery connector, whereby the ADC can be The module collects the voltage value of the ADC channel so as to use the voltage value to detect whether the first battery connector is engaged.
在步骤702中,根据ADC模块采集到的电压值,判断连接检测模块是否接地。In step 702, determine whether the connection detection module is grounded based on the voltage value collected by the ADC module.
可选地,利用该电压值的大小来检测该第一电池连接器是否扣合。例如,当第一电池连接器的公座与第一电池连接器的母座扣合上,ADC模块接入一个固定阻值的电阻组件,读取到一个固定的电压值,此时可以判断该第一电池连接器扣合。又如,当第一电池连接 器的公座未扣合到第一电池连接器的母座上时,ADC模块处于悬空状态,读取到一个浮动变化的值,此时可以判断该第一电池连接器未扣合。Optionally, the voltage value is used to detect whether the first battery connector is engaged. For example, when the male connector of the first battery connector is engaged with the female connector of the first battery connector, the ADC module is connected to a resistor component with a fixed resistance, and a fixed voltage value is read. At this time, the ADC module can be judged. The first battery connector snaps into place. For another example, when the male socket of the first battery connector is not fastened to the female socket of the first battery connector, the ADC module is in a floating state and reads a floating value. At this time, the first battery can be determined. The connector is not engaged.
为了提高检测的准确度,在本公开的一些实施例中,将ADC模块采集到的电压值与预设的基准电压进行对比;响应于ADC模块采集到的电压值与基准电压满足第一条件,确定ADC模块对应的连接检测模块接地;或者,响应于ADC模块采集到的电压值与基准电压满足第二条件,确定ADC模块对应的连接检测模块未接地。In order to improve the accuracy of detection, in some embodiments of the present disclosure, the voltage value collected by the ADC module is compared with a preset reference voltage; in response to the voltage value collected by the ADC module and the reference voltage meeting the first condition, Determine that the connection detection module corresponding to the ADC module is grounded; or, in response to the voltage value collected by the ADC module and the reference voltage meeting the second condition, determine that the connection detection module corresponding to the ADC module is not grounded.
需要说明的是,在本公开的实施例中,上述第一条件和第二条件,与ADC模块内置的上拉电阻的大小有关。例如,ADC模块内置的上拉电阻与上述电阻组件的阻值相同,则该第一条件可以是:ADC模块采集到的电压值为基准电压VREF的一半;第二条件可以是:ADC模块采集到的电压值为基准电压VREF,即ADC模块采集到的电压值与基准电压VREF相同。也就是说,ADC模块内置的上拉电阻与上述电阻组件的阻值关系,可以决定第一条件和第二条件,具体可以根据实际情况来设定,本公开对此不做具体限定。It should be noted that in the embodiment of the present disclosure, the above-mentioned first condition and second condition are related to the size of the built-in pull-up resistor of the ADC module. For example, if the pull-up resistor built into the ADC module has the same resistance value as the above resistor component, then the first condition can be: the voltage value collected by the ADC module is half of the reference voltage VREF; the second condition can be: the voltage value collected by the ADC module The voltage value is the reference voltage VREF, that is, the voltage value collected by the ADC module is the same as the reference voltage VREF. In other words, the relationship between the resistance value of the built-in pull-up resistor of the ADC module and the above-mentioned resistor component can determine the first condition and the second condition, which can be set according to the actual situation. This disclosure does not specifically limit this.
为了进一步提高检测的准确度,可选地,在本公开的一些实施例中,在将ADC模块采集到的电压值与预设的基准电压进行对比时,可以加入一定的允许误差,比如该允许误差可以为±10%。举例而言,假设允许误差±10%,如图8所示,如果ADC模块采集到的电压值落入该
Figure PCTCN2022084660-appb-000001
范围内,则可以确定连接检测模块接地,从而可确定第一电池连接器扣合成功,此时可以保持正常充电策略。如果ADC模块采集到的电压值未落入该
Figure PCTCN2022084660-appb-000002
范围,且ADC模块采集到的电压值落入VREF±10%范围内,则可以确定连接检测模块未接地,从个人可确定第一电池连接器未扣合好,此时可以降低充电功率,并向电子设备的操作系统上传电池连接器扣合失败的信息。如果ADC模块采集到的电压值未落入该
Figure PCTCN2022084660-appb-000003
范围内,且未落入VREF±10%范围内,则可以确定第一电池连接器未扣合,且向电子设备的操作系统上传异常状态,该异常状态可能是充电电路异常,也可能是充电系统中硬件部件异常,或者还可能是充电芯片状态异常等。由此,使用ADC模块能够将判断逻辑加入在原有软件充电状态机里轮询,不会增加额外的功耗。
In order to further improve the accuracy of detection, optionally, in some embodiments of the present disclosure, when comparing the voltage value collected by the ADC module with the preset reference voltage, a certain allowable error can be added, such as the allowable error The error can be ±10%. For example, assuming the allowable error is ±10%, as shown in Figure 8, if the voltage value collected by the ADC module falls within this
Figure PCTCN2022084660-appb-000001
Within the range, it can be determined that the connection detection module is grounded, thereby it can be determined that the first battery connector is successfully engaged, and the normal charging strategy can be maintained at this time. If the voltage value collected by the ADC module does not fall within this
Figure PCTCN2022084660-appb-000002
range, and the voltage value collected by the ADC module falls within the range of VREF ±10%, it can be determined that the connection detection module is not grounded, and it can be determined personally that the first battery connector is not fastened properly. At this time, the charging power can be reduced, and Uploads information of battery connector failure to the operating system of the electronic device. If the voltage value collected by the ADC module does not fall within this
Figure PCTCN2022084660-appb-000003
Within the range and does not fall within the range of VREF ±10%, it can be determined that the first battery connector is not engaged and an abnormal state is uploaded to the operating system of the electronic device. The abnormal state may be an abnormality in the charging circuit or a charging problem. The hardware components in the system are abnormal, or the charging chip status may be abnormal, etc. Therefore, the ADC module can be used to add judgment logic to the original software charging state machine for polling without increasing additional power consumption.
在步骤703中,响应于连接检测模块接地,确定第一电池连接器扣合成功。In step 703, in response to the connection detection module being grounded, it is determined that the first battery connector is successfully engaged.
可选的,在本公开的一些实施例中,如图7所示,该检测方法还可包括步骤704。在步骤704中,响应于连接检测模块未接地,确定第一电池连接器扣合失败。Optionally, in some embodiments of the present disclosure, as shown in Figure 7, the detection method may further include step 704. In step 704, in response to the connection detection module not being grounded, it is determined that the first battery connector fails to engage.
在本公开的一些实施例中,可以对电池进行加密认证,以检测第二电池连接器是否扣合。可以理解,当第二电池连接器扣合的情况下,基于I2C通信可以获取到电池内部的真实电压。因此,可以基于I2C通信来实现对第二电池连接器的扣合进行检测。In some embodiments of the present disclosure, the battery may be cryptographically authenticated to detect whether the second battery connector is engaged. It can be understood that when the second battery connector is engaged, the real voltage inside the battery can be obtained based on I2C communication. Therefore, the engagement of the second battery connector can be detected based on I2C communication.
例如,判断是否能够通过I2C通信获取到电池内部的相关信息(比如电池内部真实电压),若能够通过I2C通信获取到电池内部的相关信息,则可以认为电池与主板处理器间的通信连接正常,可以确定电池上的第二电池连接器的公座与第二电池连接器的母座扣合 成功。可选地,如果未能够通过I2C通信获取到电池内部的相关信息,则可以认为电池与主板处理器间的通信连接异常,可以确定电池上的第二电池连接器的公座与第二电池连接器的母座未扣合成功。For example, determine whether the relevant information inside the battery (such as the true voltage inside the battery) can be obtained through I2C communication. If the relevant information inside the battery can be obtained through I2C communication, it can be considered that the communication connection between the battery and the motherboard processor is normal. It can be determined that the male socket of the second battery connector on the battery and the female socket of the second battery connector are successfully engaged. Optionally, if the relevant information inside the battery cannot be obtained through I2C communication, it can be considered that the communication connection between the battery and the motherboard processor is abnormal, and it can be determined that the male socket of the second battery connector on the battery is connected to the second battery The female base of the device has not been successfully engaged.
为了提升用户体验,方便用户查看电池连接器的扣合情况,可选地,在本公开的一些实施例中,可以确定第一电池连接器的检测结果和第二电池连接器的检测结果,并将第一电池连接器的检测结果和第二电池连接器的检测结果进行可视化处理。例如,可以将第一电池连接器的检测结果和第二电池连接器的检测结果展示在电子设备的显示界面上。由此,通过将该检测结构显示在电子设备上,方便用户查看查看电池连接器的扣合情况,使得电子设备可以对自身电池连接器扣合情况进行检测,无需借助外界设备即可完整对电子设备内部的电池连接器扣合的检测。可选地,该显示界面上还可以展示该电子设备的当前剩余电量、电子设备中电池的当前温度、该电池的标识信息等中的至少一种。In order to improve the user experience and facilitate the user to check the engagement status of the battery connector, optionally, in some embodiments of the present disclosure, the detection result of the first battery connector and the detection result of the second battery connector can be determined, and Visualize the detection results of the first battery connector and the detection results of the second battery connector. For example, the detection result of the first battery connector and the detection result of the second battery connector can be displayed on the display interface of the electronic device. Therefore, by displaying the detection structure on the electronic device, it is convenient for the user to check the engagement status of the battery connector, so that the electronic device can detect the engagement status of its own battery connector, and can completely detect the electronic device without resorting to external equipment. Detection of battery connector snap-in inside the device. Optionally, the display interface may also display at least one of the current remaining power of the electronic device, the current temperature of the battery in the electronic device, the identification information of the battery, and the like.
可选的,在本公开的一些实施例中,该电池连接器扣合检测方法可以应用于特殊场景,例如,在确定电子设备从一定高度处坠落时,可以执行上述电池连接器扣合检测方法,其中,该高度可以是50厘米或者其他更高的高度,在此不做具体限定。这样,可以确定每个电池连接器的检测结果,并将每个电池连接器的检测结果展示在电子设备的显示界面上。Optionally, in some embodiments of the present disclosure, the battery connector snap-in detection method can be applied to special scenarios. For example, when it is determined that the electronic device has fallen from a certain height, the above-mentioned battery connector snap-in detection method can be executed. , where the height can be 50 centimeters or other higher heights, and is not specifically limited here. In this way, the detection result of each battery connector can be determined, and the detection result of each battery connector can be displayed on the display interface of the electronic device.
可选的,该电池连接器扣合检测方法可以应用于电子设备出厂前电池安装场景,比如,生成电子设备且出厂前,需为该电子设备安装电池,在本示例中,在将电池安装到电子设备的电池位置处时,需要对电池连接器进行扣合检测,以确定该电池是否安装成功,此时可以利用本公开的电池连接器扣合检测方法对每个电池连接器进行扣合检测,并确定每个电池连接器的检测结果,并将每个电池连接器的检测结果展示外部的显示设备,以便通过该显示设备查看该电池是否安装成功。Optionally, the battery connector snap detection method can be applied to the battery installation scenario before the electronic device leaves the factory. For example, when the electronic device is generated and shipped from the factory, the battery needs to be installed on the electronic device. In this example, the battery is installed on the When the battery of the electronic device is in position, the battery connector needs to be buckled and tested to determine whether the battery is installed successfully. At this time, the battery connector buckling detection method of the present disclosure can be used to perform buckling detection of each battery connector. , and determine the test result of each battery connector, and display the test result of each battery connector on an external display device, so as to check whether the battery is successfully installed through the display device.
根据本公开实施例的电池连接器扣合检测方法,通过在电池连接器上额外串联连接检测模块,以便利用该连接检测模块是否接地来检测对应电池连接器是否扣合,例如,可以针对某一个电池连接器独立的进行扣合检测,并为准确判断单电荷泵多电池连接器的充电系统中电池连接器的扣合情况创造条件。由此,本公开提供了一种适用于多电池连接器单电荷泵充电结构的电池连接扣合检测方案,可以降低售后充电慢的故障反馈比例。According to the battery connector snap-in detection method according to the embodiment of the present disclosure, an additional detection module is connected in series on the battery connector, so that whether the connection detection module is grounded is used to detect whether the corresponding battery connector is snap-in. For example, a certain The battery connector is independently tested for engagement and creates conditions for accurate judgment of the engagement of the battery connector in a charging system with a single charge pump and multiple battery connectors. Therefore, the present disclosure provides a battery connection snapping detection scheme suitable for a single charge pump charging structure of a multi-battery connector, which can reduce the fault feedback ratio of slow after-sales charging.
基于上述实施例,本公开还提供了一种电子设备,该电子设备可以包括如上述任一实施例所述的电池连接器扣合检测系统,在此不再赘述。Based on the above embodiments, the present disclosure also provides an electronic device, which may include the battery connector snap-in detection system as described in any of the above embodiments, which will not be described again.
基于上述实施例,本公开还提供了另一种电子设备。图9是根据一示例性实施例示出的一种电子设备的框图。例如,电子设备900可以是移动电话,计算机,数字广播终端,消息收发设备,游戏控制台,平板设备,医疗设备,健身设备,个人数字助理等。Based on the above embodiments, the present disclosure also provides another electronic device. FIG. 9 is a block diagram of an electronic device according to an exemplary embodiment. For example, the electronic device 900 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, or the like.
参照图9,电子设备900可以包括以下一个或多个组件:处理组件902,存储器904,电源组件906,多媒体组件908,音频组件910,输入/输出(I/O)的接口912,传感器组件914,以及通信组件916。Referring to FIG. 9 , the electronic device 900 may include one or more of the following components: a processing component 902 , a memory 904 , a power supply component 906 , a multimedia component 908 , an audio component 910 , an input/output (I/O) interface 912 , and a sensor component 914 , and communication component 916.
处理组件902通常控制电子设备900的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作。处理组件902可以包括一个或多个处理器920来执行 指令,以完成上述的方法的全部或部分步骤。此外,处理组件902可以包括一个或多个模块,便于处理组件902和其他组件之间的交互。例如,处理组件902可以包括多媒体模块,以方便多媒体组件908和处理组件902之间的交互。 Processing component 902 generally controls the overall operations of electronic device 900, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 902 may include one or more processors 920 to execute instructions to complete all or part of the steps of the above method. Additionally, processing component 902 may include one or more modules that facilitate interaction between processing component 902 and other components. For example, processing component 902 may include a multimedia module to facilitate interaction between multimedia component 908 and processing component 902.
存储器904被配置为存储各种类型的数据以支持在电子设备900的操作。这些数据的示例包括用于在电子设备900上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,消息,图片,视频等。存储器904可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。 Memory 904 is configured to store various types of data to support operations at electronic device 900 . Examples of such data include instructions for any application or method operating on electronic device 900, contact data, phonebook data, messages, pictures, videos, etc. Memory 904 may be implemented by any type of volatile or non-volatile storage device, or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EEPROM), Programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk.
电源组件906为电子设备900的各种组件提供电力。电源组件906可以包括电源管理系统,一个或多个电源,及其他与为电子设备900生成、管理和分配电力相关联的组件。电源组件906可以包括本公开上述任一实施例所述的电池连接器扣合检测系统。 Power supply component 906 provides power to various components of electronic device 900 . Power supply components 906 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to electronic device 900 . The power supply assembly 906 may include the battery connector engagement detection system described in any of the above embodiments of the present disclosure.
多媒体组件908包括在所述电子设备900和用户之间的提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(LCD)和触摸面板(TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。所述触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与所述触摸或滑动操作相关的持续时间和压力。在一些实施例中,多媒体组件908包括一个前置摄像头和/或后置摄像头。当电子设备900处于操作模式,如拍摄模式或视频模式时,前置摄像头和/或后置摄像头可以接收外部的多媒体数据。每个前置摄像头和后置摄像头可以是一个固定的光学透镜系统或具有焦距和光学变焦能力。 Multimedia component 908 includes a screen that provides an output interface between the electronic device 900 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide action. In some embodiments, multimedia component 908 includes a front-facing camera and/or a rear-facing camera. When the electronic device 900 is in an operating mode, such as a shooting mode or a video mode, the front camera and/or the rear camera may receive external multimedia data. Each front-facing camera and rear-facing camera can be a fixed optical lens system or have a focal length and optical zoom capabilities.
音频组件910被配置为输出和/或输入音频信号。例如,音频组件910包括一个麦克风(MIC),当电子设备900处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器904或经由通信组件916发送。在一些实施例中,音频组件910还包括一个扬声器,用于输出音频信号。 Audio component 910 is configured to output and/or input audio signals. For example, audio component 910 includes a microphone (MIC) configured to receive external audio signals when electronic device 900 is in operating modes, such as call mode, recording mode, and voice recognition mode. The received audio signals may be further stored in memory 904 or sent via communications component 916 . In some embodiments, audio component 910 also includes a speaker for outputting audio signals.
I/O接口912为处理组件902和外围接口模块之间提供接口,上述外围接口模块可以是键盘,点击轮,按钮等。这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。The I/O interface 912 provides an interface between the processing component 902 and a peripheral interface module, which may be a keyboard, a click wheel, a button, etc. These buttons may include, but are not limited to: Home button, Volume buttons, Start button, and Lock button.
传感器组件914包括一个或多个传感器,用于为电子设备900提供各个方面的状态评估。例如,传感器组件914可以检测到电子设备900的打开/关闭状态,组件的相对定位,例如所述组件为电子设备900的显示器和小键盘,传感器组件914还可以检测电子设备900或电子设备900一个组件的位置改变,用户与电子设备900接触的存在或不存在,电子设备900方位或加速/减速和电子设备900的温度变化。传感器组件914可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件914还可以包括光传感器,如CMOS或CCD图像传感器,用于在成像应用中使用。在一些实施例中,该传感器组件914还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。 Sensor component 914 includes one or more sensors for providing various aspects of status assessment for electronic device 900 . For example, the sensor component 914 can detect the open/closed state of the electronic device 900 , the relative positioning of components, such as the display and keypad of the electronic device 900 , the sensor component 914 can also detect the electronic device 900 or an electronic device 900 The position of components changes, the presence or absence of user contact with the electronic device 900 , the orientation or acceleration/deceleration of the electronic device 900 and the temperature of the electronic device 900 change. Sensor assembly 914 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. Sensor assembly 914 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor component 914 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
通信组件916被配置为便于电子设备900和其他设备之间有线或无线方式的通信。电子设备900可以接入基于通信标准的无线网络,如WiFi,2G或3G,或它们的组合。在一个示例性实施例中,通信组件916经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,所述通信组件916还包括近场通信(NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(RFID)技术,红外数据协会(IrDA)技术,超宽带(UWB)技术,蓝牙(BT)技术和其他技术来实现。 Communication component 916 is configured to facilitate wired or wireless communication between electronic device 900 and other devices. The electronic device 900 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In one exemplary embodiment, the communication component 916 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, the communications component 916 also includes a near field communications (NFC) module to facilitate short-range communications. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
在示例性实施例中,电子设备900可以被一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述方法。In an exemplary embodiment, electronic device 900 may be configured by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable A programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic component implementation is used to perform the above method.
在示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器904,上述指令可由电子设备900的处理器920执行以完成上述方法。例如,所述非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions, such as a memory 904 including instructions, which can be executed by the processor 920 of the electronic device 900 to complete the above method is also provided. For example, the non-transitory computer-readable storage medium may be ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, etc.
本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本发明的其它实施方案。本申请旨在涵盖本发明的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本发明的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本发明的真正范围和精神由下面的权利要求指出。Other embodiments of the invention will be readily apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention that follow the general principles of the invention and include common knowledge or customary technical means in the technical field that are not disclosed in the present disclosure. . It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims.
应当理解的是,本发明并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本发明的范围仅由所附的权利要求来限制。It is to be understood that the present invention is not limited to the precise construction described above and illustrated in the accompanying drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the invention is limited only by the appended claims.

Claims (17)

  1. 一种电池连接器扣合检测系统,其特征在于,包括:A battery connector snap detection system, which is characterized by including:
    单电荷泵;Single charge pump;
    电池;Battery;
    多个电池连接器,每个所述电池连接器的母座均与所述单电荷泵连接,每个所述电池连接器的公座均与所述电池连接;A plurality of battery connectors, the female socket of each battery connector is connected to the single charge pump, and the male socket of each battery connector is connected to the battery;
    至少一个连接检测模块,每个所述连接检测模块与对应的所述电池连接器连接;At least one connection detection module, each of the connection detection modules is connected to the corresponding battery connector;
    处理器,所述处理器与每个所述连接检测模块连接,其中,所述处理器用于基于每个所述连接检测模块的接地情况,检测每个所述连接检测模块对应的所述电池连接器是否扣合。A processor, the processor is connected to each of the connection detection modules, wherein the processor is configured to detect the battery connection corresponding to each of the connection detection modules based on the grounding condition of each of the connection detection modules. Is the device fastened?
  2. 如权利要求1所述的电池连接器扣合检测系统,其特征在于,所述至少一个连接检测模块的数目小于或等于所述多个电池连接器的数目。The battery connector engagement detection system of claim 1, wherein the number of the at least one connection detection module is less than or equal to the number of the plurality of battery connectors.
  3. 如权利要求1所述的电池连接器扣合检测系统,其特征在于,所述多个电池连接器包括第一电池连接器和第二电池连接器。The battery connector engagement detection system of claim 1, wherein the plurality of battery connectors include a first battery connector and a second battery connector.
  4. 如权利要求3所述的电池连接器扣合检测系统,其特征在于,所述至少一个连接检测模块的数目为一个;所述连接检测模块包括电阻组件和模数转换器(ADC)模块,其中,The battery connector snap detection system according to claim 3, wherein the number of the at least one connection detection module is one; the connection detection module includes a resistor component and an analog-to-digital converter (ADC) module, wherein ,
    所述电阻组件的一端与所述ADC模块连接,所述电阻组件的另一端与所述第一电池连接器的母座上的第一引脚连接。One end of the resistor component is connected to the ADC module, and the other end of the resistor component is connected to the first pin on the female base of the first battery connector.
  5. 如权利要求4所述的电池连接器扣合检测系统,其特征在于,所述第一电池连接器的母座还包括第二引脚,所述第二引脚接地;所述第一电池连接器的公座包括第三引脚和第四引脚,所述第三引脚和所述第四引脚短路;其中,所述第三引脚与所述第一引脚的扣合位置对应,所述第四引脚与所述第二引脚的扣合位置对应,以使得当第一电池连接器的母座和公座扣合时,所述ADC模块接地。The battery connector engagement detection system of claim 4, wherein the female base of the first battery connector further includes a second pin, and the second pin is grounded; and the first battery connector The male socket of the device includes a third pin and a fourth pin, and the third pin and the fourth pin are short-circuited; wherein the third pin corresponds to the buckling position of the first pin. , the fourth pin corresponds to the buckling position of the second pin, so that when the female socket and the male socket of the first battery connector are buckled, the ADC module is grounded.
  6. 如权利要求4或5所述的电池连接器扣合检测系统,其特征在于,所述ADC模块为独立的ADC电路;或者,所述ADC模块为充电芯片上具有ADC功能的引脚。The battery connector snap detection system according to claim 4 or 5, wherein the ADC module is an independent ADC circuit; or the ADC module is a pin with an ADC function on a charging chip.
  7. 如权利要求4所述的电池连接器扣合检测系统,其特征在于,所述第二电池连接器通过通信协议与所述处理器进行通信,使得所述处理器基于所述通信协议对所述电池进行加密认证,以检测所述第二电池连接器是否扣合。The battery connector snap detection system according to claim 4, wherein the second battery connector communicates with the processor through a communication protocol, so that the processor performs the detection of the battery connector based on the communication protocol. The battery performs encryption authentication to detect whether the second battery connector is engaged.
  8. 一种电池连接器扣合检测方法,其特征在于,所述方法应用于如权利要求1至7中任一项所述的电池连接器扣合检测系统,所述方法包括:A battery connector snap-in detection method, characterized in that the method is applied to the battery connector snap-in detection system according to any one of claims 1 to 7, and the method includes:
    基于每个所述连接检测模块的接地情况,检测每个所述连接检测模块对应的所述电池连接器是否扣合。Based on the grounding condition of each connection detection module, it is detected whether the battery connector corresponding to each connection detection module is engaged.
  9. 如权利要求8所述的方法,其特征在于,所述基于每个所述连接检测模块的接地情况,检测每个所述连接检测模块对应的所述电池连接器是否扣合,包括:The method of claim 8, wherein detecting whether the battery connector corresponding to each connection detection module is engaged based on the grounding condition of each connection detection module includes:
    响应于每个所述连接检测模块接地,确定每个所述连接检测模块对应的所述电池连接 器扣合成功;In response to each of the connection detection modules being grounded, it is determined that the battery connector corresponding to each of the connection detection modules is successfully engaged;
    或者,响应于每个所述连接检测模块未接地,确定每个所述连接检测模块对应的所述电池连接器扣合失败。Alternatively, in response to each connection detection module not being grounded, it is determined that the battery connector corresponding to each connection detection module has failed to engage.
  10. 如权利要求8所述的方法,其特征在于,判断每个所述连接检测模块是否接地,包括:The method of claim 8, wherein determining whether each of the connection detection modules is grounded includes:
    获取每个所述连接检测模块之中所述ADC模块采集到的电压值;Obtain the voltage value collected by the ADC module in each of the connection detection modules;
    根据所述ADC模块采集到的电压值,判断对应的所述连接检测模块是否接地。According to the voltage value collected by the ADC module, it is determined whether the corresponding connection detection module is grounded.
  11. 如权利要求10所述的方法,其特征在于,所述根据所述ADC模块采集到的电压值,判断对应的所述连接检测模块是否接地,包括:The method of claim 10, wherein determining whether the corresponding connection detection module is grounded based on the voltage value collected by the ADC module includes:
    将所述ADC模块采集到的电压值与预设的基准电压进行对比;Compare the voltage value collected by the ADC module with the preset reference voltage;
    响应于所述ADC模块采集到的电压值与所述基准电压满足第一条件,确定所述ADC模块对应的所述连接检测模块接地;In response to the voltage value collected by the ADC module and the reference voltage meeting the first condition, it is determined that the connection detection module corresponding to the ADC module is grounded;
    或者,响应于所述ADC模块采集到的电压值与所述基准电压满足第二条件,确定所述ADC模块对应的所述连接检测模块未接地。Alternatively, in response to the voltage value collected by the ADC module and the reference voltage meeting the second condition, it is determined that the connection detection module corresponding to the ADC module is not grounded.
  12. 如权利要求11所述的方法,其特征在于,还包括:The method of claim 11, further comprising:
    响应于所述电池连接器扣合失败,降低对所述电池的充电功率;In response to the failure of the battery connector to engage, reduce the charging power of the battery;
    和/或,响应于所述ADC模块采集到的电压值与所述基准电压未满足所述第一条件和所述第二条件,向电子设备上报电池异常状态信息。And/or, in response to the voltage value collected by the ADC module and the reference voltage not meeting the first condition and the second condition, reporting battery abnormal status information to the electronic device.
  13. 如权利要求8所述的方法,其特征在于,所述方法应用于如权利要求4至6中任一项所述的电池连接器扣合检测系统;所述方法还包括:The method according to claim 8, characterized in that the method is applied to the battery connector snap-in detection system according to any one of claims 4 to 6; the method further includes:
    基于所述通信协议对所述电池进行加密认证,以检测所述第二电池连接器是否扣合。Encryption authentication is performed on the battery based on the communication protocol to detect whether the second battery connector is engaged.
  14. 如权利要求8至13中任一项所述的方法,其特征在于,还包括:The method according to any one of claims 8 to 13, further comprising:
    确定每个所述电池连接器的检测结果;Determine the test results of each of said battery connectors;
    将每个所述电池连接器的检测结果进行可视化处理。The test results of each battery connector are visualized.
  15. 一种电子设备,其特征在于,包括如权利要求1至7中任一项所述的电池连接器扣合检测系统。An electronic device, characterized by comprising the battery connector engagement detection system according to any one of claims 1 to 7.
  16. 一种电子设备,其特征在于,包括处理器,用于存储所述处理器可执行指令的存储器,其中,所述指令被所述处理器执行以使所述处理器能够执行如权利要求8至14中任一项所述的方法。An electronic device, characterized by comprising a processor and a memory for storing instructions executable by the processor, wherein the instructions are executed by the processor to enable the processor to execute the instructions of claims 8 to The method described in any one of 14.
  17. 一种存储有计算机指令的非瞬时计算机可读存储介质,其特征在于,所述计算机指令用于使所述计算机执行如权利要求8至14中任一项所述的方法。A non-transitory computer-readable storage medium storing computer instructions, characterized in that the computer instructions are used to cause the computer to execute the method according to any one of claims 8 to 14.
PCT/CN2022/084660 2022-03-31 2022-03-31 Battery connector snap-fit detection system, method and electronic device WO2023184439A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2022/084660 WO2023184439A1 (en) 2022-03-31 2022-03-31 Battery connector snap-fit detection system, method and electronic device
CN202280000817.1A CN117546389A (en) 2022-03-31 2022-03-31 Battery connector buckling detection system and method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2022/084660 WO2023184439A1 (en) 2022-03-31 2022-03-31 Battery connector snap-fit detection system, method and electronic device

Publications (1)

Publication Number Publication Date
WO2023184439A1 true WO2023184439A1 (en) 2023-10-05

Family

ID=88198769

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/084660 WO2023184439A1 (en) 2022-03-31 2022-03-31 Battery connector snap-fit detection system, method and electronic device

Country Status (2)

Country Link
CN (1) CN117546389A (en)
WO (1) WO2023184439A1 (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014217258A (en) * 2013-04-30 2014-11-17 日産自動車株式会社 Power supply device, power supply system and control method for power supply device
CN205565228U (en) * 2016-02-29 2016-09-07 深圳市大疆创新科技有限公司 Public plug, female, Unmanned vehicles , chargeable call subassembly, charger and battery of connector
CN105958559A (en) * 2016-03-30 2016-09-21 惠州Tcl移动通信有限公司 Divided multi-cascade power supply device and charging and discharging method thereof
US20180342886A1 (en) * 2017-05-24 2018-11-29 Samsung Electronics Co., Ltd. Method for controlling operation of battery on basis of state thereof, and electronic device for supporting same
CN209282342U (en) * 2018-10-11 2019-08-20 华为技术有限公司 A kind of battery system and mobile terminal detecting state in place
CN210074082U (en) * 2019-04-28 2020-02-14 深圳市大疆创新科技有限公司 Battery equipment
CN212622995U (en) * 2020-03-10 2021-02-26 维沃移动通信有限公司 Detection circuit and electronic equipment
CN113725961A (en) * 2021-08-17 2021-11-30 珠海市魅族科技有限公司 Multi-connector battery topology framework, control method thereof and electronic equipment
CN113725956A (en) * 2021-08-17 2021-11-30 珠海市魅族科技有限公司 Controllable power supply system of single-cell battery, charging method of controllable power supply system and terminal equipment

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014217258A (en) * 2013-04-30 2014-11-17 日産自動車株式会社 Power supply device, power supply system and control method for power supply device
CN205565228U (en) * 2016-02-29 2016-09-07 深圳市大疆创新科技有限公司 Public plug, female, Unmanned vehicles , chargeable call subassembly, charger and battery of connector
CN105958559A (en) * 2016-03-30 2016-09-21 惠州Tcl移动通信有限公司 Divided multi-cascade power supply device and charging and discharging method thereof
US20180342886A1 (en) * 2017-05-24 2018-11-29 Samsung Electronics Co., Ltd. Method for controlling operation of battery on basis of state thereof, and electronic device for supporting same
CN209282342U (en) * 2018-10-11 2019-08-20 华为技术有限公司 A kind of battery system and mobile terminal detecting state in place
CN210074082U (en) * 2019-04-28 2020-02-14 深圳市大疆创新科技有限公司 Battery equipment
CN212622995U (en) * 2020-03-10 2021-02-26 维沃移动通信有限公司 Detection circuit and electronic equipment
CN113725961A (en) * 2021-08-17 2021-11-30 珠海市魅族科技有限公司 Multi-connector battery topology framework, control method thereof and electronic equipment
CN113725956A (en) * 2021-08-17 2021-11-30 珠海市魅族科技有限公司 Controllable power supply system of single-cell battery, charging method of controllable power supply system and terminal equipment

Also Published As

Publication number Publication date
CN117546389A (en) 2024-02-09

Similar Documents

Publication Publication Date Title
US11556163B2 (en) Electronic device including connector and method for controlling power transmission/reception in electronic device
WO2018039940A1 (en) Touch control apparatus and method, and electronic device
CN105703185A (en) Signal transmission method, signal transmission device and adapter connecting head
CN103957103A (en) Safety authentication method and device and mobile terminal
EP3901732A1 (en) Method and device for detecting ambient light, electronic device, and storage medium
WO2017024725A1 (en) Interface circuit, and state switching method and device
KR20170000710A (en) Electronic apparatus and method for preventing misperception of ear phone inserting of the same
CN107329520B (en) USB interface connection method, device and system of mobile terminal
US11205906B2 (en) Charging processing method, terminal device and storage medium
KR20210014356A (en) Electronic device for preventing damage of usb device and operating method thereof
CN105630655A (en) Charging connection prompting method and apparatus
KR102566099B1 (en) Power supply control method of power strip, device and power strip
CN107681727B (en) Control method and device of electronic equipment
US20150130984A1 (en) Electronic device including an image sensor
CN112798988A (en) Detection circuit, detection method and device, and electronic device
WO2023184439A1 (en) Battery connector snap-fit detection system, method and electronic device
CN106877451B (en) Charging port short-circuit protection method and device
CN106654737B (en) The electrifying method and device of socket
KR20170055866A (en) Device and operation method thereof
US11394225B2 (en) Method and apparatus for changing impedance of terminal included in connector
CN107526471B (en) Touch screen control method and device and storage medium
CN112383661B (en) Mobile terminal automatic test method and device, electronic equipment and storage medium
CN111866785B (en) Terminal, parameter measurement method, device and storage medium
CN116930826A (en) Method and device for detecting buckling of battery connector
CN107463471B (en) Method and device for diagnosing terminal screen

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22934276

Country of ref document: EP

Kind code of ref document: A1