Charging self-detection method and circuit of wireless earphone, charging box and charging system

By setting independent in-charge detection contacts and positive contacts in the wireless earphone charging case, and combining current detection with theoretical current comparison, the problems of slow in-charge detection and abnormal charging detection are solved, achieving fast response and energy-saving charging.

CN115835115BActive Publication Date: 2026-06-02THE GBA NAT INST FOR NANOTECHNOLOGY INNOVATION

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
THE GBA NAT INST FOR NANOTECHNOLOGY INNOVATION
Filing Date
2022-12-15
Publication Date
2026-06-02

AI Technical Summary

Technical Problem

Existing wireless earphone charging cases have a slow response time when detecting whether earphones are inserted and cannot effectively detect abnormal charging states, resulting in wasted power consumption.

Method used

Independent in-charge detection contacts and positive contacts are set in the charging compartment. By comparing the detected charging current value with the theoretical charging current, it is determined whether the charging compartment is in an abnormal state, and the charging path is shut off or the user is notified when an abnormality occurs.

Benefits of technology

It improves the response speed of the earphone in-charge detection, avoids detection failure caused by abnormal power circuit, realizes self-detection of charging abnormalities, and saves power consumption.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115835115B_ABST
    Figure CN115835115B_ABST
Patent Text Reader

Abstract

This invention relates to the field of wireless earphone charging detection technology, and discloses a self-detection method, circuit, charging case, and charging system for wireless earphones. The invention detects the status of the wireless earphones. If earphones are detected in the charging case, in-case communication is performed to obtain the earphone's battery level / voltage. Based on the earphone's battery level / voltage, the current charging mode is determined, and the corresponding theoretical charging current is obtained. The theoretical charging current is compared with the actual detected value of the charging current to determine if the charging current is abnormal. If charging current is detected after the charging case is closed, but the earphone status detection result shows no earphones in the case, the in-case detection is deemed abnormal. This invention determines whether the charging case is charging abnormally from three dimensions: in-case detection, in-case communication detection, and charging current detection. It effectively achieves self-detection of charging case charging abnormalities. Combined with executing a charging termination response or other power-consuming operations or prompting the user about charging case abnormalities, it can effectively save power consumption.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of wireless headphone charging detection technology, and in particular to a wireless headphone charging self-detection method, circuit, charging case, and charging system. Background Technology

[0002] Wireless earbuds using TWS (True Wireless Stereo) technology consist of two parts: a charging case and a pair of earbuds. The charging case has contacts such as metal pins, springs, or POGO PINs. The connection between the charging case and the earbuds is formed by these contacts, thus creating a charging path between the charging case and the wireless earbuds.

[0003] Currently, charging cases typically have a contact that connects both a presence detection circuit (for detecting whether wireless earbuds are inserted) and the charging case's power circuit. When the presence detection circuit detects earbuds inserted, it starts charging them via the power circuit. The presence detection circuit determines whether the earbuds are in the charging case by checking for the presence of a charging circuit. However, this setup results in a slow response time for presence detection and cannot detect abnormal charging conditions in the charging case to determine whether to terminate the charging process or perform other power-consuming operations, leading to wasted power. Summary of the Invention

[0004] This invention provides a charging self-detection method, circuit, charging case, and charging system for wireless earphones, solving the technical problem of how to improve the response speed of earphone detection in the charging case while realizing self-detection of charging abnormalities in the charging case.

[0005] The first aspect of this invention provides a charging self-detection method for wireless earphones, applied to a charging case. The charging case is provided with a detection contact and a positive contact, the positive contact being connected to the power circuit of the charging case. The method includes:

[0006] If a feedback signal is received indicating that the in-cart detection contact is in contact with at least one earphone, then the corresponding earphone is determined to be the target earphone and the target earphone is determined to be in the in-cart state.

[0007] The charging current detection value of the power circuit of the charging case charging the target earphone is obtained;

[0008] When the detected charging current value is not greater than a preset current threshold, the theoretical charging current corresponding to the current charging mode of the target earphone is obtained.

[0009] Calculate the difference between the theoretical charging current and the detected charging current value;

[0010] If the difference exceeds a preset difference threshold, the charging compartment is determined to be in an abnormal charging current state.

[0011] According to one achievable method of the first aspect of the present invention, obtaining the theoretical charging current corresponding to the current charging mode of the target earphone includes:

[0012] Establish a communication connection with the target earphone and obtain the battery parameter values ​​of the target earphone;

[0013] The current charging mode of the target earphone is determined based on the battery parameter values;

[0014] Query the theoretical charging current corresponding to the current charging mode of the target earphone.

[0015] According to one achievable method of the first aspect of the present invention, determining the current charging mode of the target earphone based on the battery parameter value includes:

[0016] The charging mode that matches the battery parameter value is determined from the pre-stored charging mode list as the current charging mode of the target earphone; the pre-stored charging mode list is a list of the correspondence between battery parameter value ranges and charging modes; the battery parameter value is battery voltage or battery capacity.

[0017] According to one achievable embodiment of the first aspect of the invention, the method further includes:

[0018] The timing is started when the detected charging current value is not greater than the preset current threshold.

[0019] If the battery parameter value is not obtained when the timer reaches the preset time threshold, the charging compartment is determined to be in an abnormal communication state.

[0020] According to one achievable embodiment of the first aspect of the invention, the method further includes:

[0021] When the charging case is detected to be closed, the charging current is detected. If the detected charging current value is not 0 and no feedback signal is received that the charging case detection contact is in contact with the corresponding earphone, the charging case is determined to be in an abnormal state of in-case detection.

[0022] According to one achievable embodiment of the first aspect of the invention, the method further includes:

[0023] If the charging case is in an abnormal state of in-case detection, in-case communication, or charging current, the charging path between the power circuit and the positive contact will be shut down.

[0024] And / or, output a notification message to indicate a current charging case malfunction to alert the user.

[0025] A second aspect of the present invention provides a charging self-detection circuit for wireless earphones, applied to a charging case. The charging case is provided with a detection contact and a positive contact, the positive contact being connected to the power supply circuit of the charging case. The circuit includes:

[0026] The earphone in-pack detection module is used to determine that the corresponding earphone is the target earphone and to determine that the target earphone is in the earphone in-pack state if it receives a feedback signal that the in-pack detection contact is in contact with at least one earphone.

[0027] The actual charging current acquisition module is used to acquire the detected value of the charging current when the power circuit of the charging case charges the target earphones.

[0028] The theoretical charging current acquisition module is used to acquire the theoretical charging current corresponding to the current charging mode of the target earphone when the detected charging current value is not greater than a preset current threshold.

[0029] The calculation module is used to calculate the difference between the theoretical charging current and the detected charging current value;

[0030] The charging current abnormality determination module is used to determine that the charging compartment is in an abnormal charging current state if the difference exceeds a preset difference threshold.

[0031] According to one embodiment of the second aspect of the present invention, the theoretical charging current acquisition module comprises:

[0032] The acquisition unit is used to establish a communication connection with the target earphone and acquire the battery parameter values ​​of the target earphone;

[0033] A determining unit is configured to determine the current charging mode of the target earphone based on the battery parameter values;

[0034] The query unit is used to query the theoretical charging current corresponding to the current charging mode of the target earphone.

[0035] According to one achievable embodiment of the second aspect of the present invention, the determining unit comprises:

[0036] A determining subunit is used to determine, from a pre-stored charging mode list, a charging mode that matches the battery parameter value as the current charging mode of the target earphone; the pre-stored charging mode list is a list of the correspondence between battery parameter value ranges and charging modes; the battery parameter value is battery voltage or battery capacity.

[0037] According to one embodiment of the second aspect of the present invention, the charging self-detection circuit further includes:

[0038] The timing module is used to start timing when the detected charging current value is not greater than the preset current threshold.

[0039] The in-carrier communication anomaly determination module is used to determine that the charging compartment is in an in-carrier communication anomaly state if the battery parameter value is not obtained when the timing duration reaches a preset duration threshold.

[0040] According to one embodiment of the second aspect of the present invention, the charging self-detection circuit further includes:

[0041] The charging case detection anomaly determination module is used to detect the charging current when the charging case is closed. If the detected charging current value is not 0 and no feedback signal is received that the charging case detection contact is in contact with the corresponding earphone, the charging case is determined to be in an abnormal state of charging case detection.

[0042] According to one embodiment of the second aspect of the present invention, the charging self-detection circuit further includes:

[0043] An abnormal state response module is used to shut down the charging path between the power circuit and the positive contact if the charging compartment is in an abnormal state of in-compartment detection, in-compartment communication, or charging current; and / or output a reminder message to indicate the current abnormality of the charging compartment to alert the user.

[0044] According to one embodiment of the second aspect of the present invention, the charging self-detection circuit further includes:

[0045] The charging communication multiplexing switching module connects the actual charging current acquisition module and the theoretical charging current acquisition module, and is used to realize time-division multiplexing of charging output and serial communication.

[0046] A third aspect of the present invention provides a charging case, comprising:

[0047] A memory, a processor, and a charging self-detection program stored in the memory and executable on the processor; when executed by the processor, the charging self-detection program implements the charging self-detection circuit of the wireless earphone as can be achieved by any of the above.

[0048] A fourth aspect of the present invention provides a charging system, comprising:

[0049] The wireless earphone charging self-detection circuit described in any of the above methods;

[0050] An earphone circuit that is matched with the charging self-detection circuit.

[0051] As can be seen from the above technical solutions, the present invention has the following advantages:

[0052] This invention relates to a charging case, which has an in-case detection contact and a positive contact. The positive contact is connected to the charging case's power circuit. Upon receiving a feedback signal that the in-case detection contact is in contact with at least one earphone, the corresponding earphone is identified as the target earphone, and the target earphone is determined to be in the in-case state. The charging current detection value of the charging case's power circuit charging the target earphone is obtained. If the charging current detection value is not greater than a preset current threshold, the theoretical charging current corresponding to the current charging mode of the target earphone is obtained. The difference between the theoretical charging current and the charging current detection value is calculated. If the difference exceeds a preset difference threshold, the charging case is determined to be in an abnormal charging current state. Compared to the prior art that uses the same contact to connect the in-case detection circuit and the power circuit, this invention separates the in-case detection contact from the charging case's power circuit. The device determines that the earphones are in the charging case when the feedback signal of the contact point being in contact with at least one earphone is detected. This enables a rapid response for earphone presence detection, effectively improving the response speed. It also avoids the shortcomings of existing technologies where the charging case detection circuit and power circuit share a single contact point, leading to malfunctions in the power circuit and the inability to provide a charging circuit for detecting whether the earphones are in the case. Furthermore, this invention determines whether the charging case is in an abnormal charging current state by comparing the detected charging current value with the theoretical charging current. This achieves self-detection of charging case anomalies. If an abnormal charging current state is confirmed, power-consuming operations such as terminating the charging response can be performed promptly, or the user can be prompted to take relevant power-saving measures by notifying them of the charging case anomaly, effectively saving power consumption of the charging case. Attached Figure Description

[0053] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0054] Figure 1 A flowchart of a charging self-detection method for wireless earphones provided in an optional embodiment of the present invention;

[0055] Figure 2 A structural connection block diagram of a charging self-detection circuit for a wireless earphone is provided as an optional embodiment of the present invention;

[0056] Figure 3 This is a schematic diagram illustrating the working principle of a charging current detection module provided in an optional embodiment of the present invention;

[0057] Figure 4A structural connection block diagram of a charging self-detection circuit for a wireless earphone is provided as another optional embodiment of the present invention;

[0058] Figure 5 This is a schematic diagram illustrating the working principle of a charging communication multiplexing and switching module provided in an optional embodiment of the present invention;

[0059] Figure 6 The diagram below shows the structural connection of a charging self-detection circuit for a wireless earphone, which is provided as another optional embodiment of the present invention.

[0060] Figure label:

[0061] 1-Earphone in-cartridge detection module; 2-Actual charging current acquisition module; 3-Theoretical charging current acquisition module; 4-Calculation module; 5-Charging current anomaly judgment module; 6-Charging communication multiplexing switching module; 7-Timing module; 8-In-cartridge communication anomaly judgment module; 9-In-cartridge detection anomaly judgment module; 10-Abnormal state response module; 61-AP processor; 62-Charging / serial port switching unit; 63-Charging / serial port multiplexing line. Detailed Implementation

[0062] This invention provides a charging self-detection method, circuit, charging case, and charging system for wireless earphones, which solves the technical problem of how to improve the response speed of earphone in the charging case while realizing the self-detection of charging case charging abnormalities.

[0063] To make the objectives, features, and advantages of this invention more apparent and understandable, the technical solutions of the embodiments of this invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the embodiments described below are only some embodiments of this invention, and not all embodiments. Based on the embodiments of this invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this invention.

[0064] It should be noted that the concepts of "first" and "second" mentioned in this invention are only used to distinguish different devices, modules or units, and are not used to limit the order of functions performed by these devices, modules or units or their interdependencies.

[0065] The charging self-detection method and circuit of this application are applicable to wireless earphones. The wireless earphones can be TWS (True Wireless Stereo) earphones, including a charging case and a pair of earphones, a left earphone and a right earphone. The wireless earphones can connect to a user terminal using wireless communication technologies such as Bluetooth, thereby establishing a wireless communication link between the wireless earphones and the user terminal, enabling communication between them. For example, the wireless earphones receive audio data sent by the user terminal through this wireless communication link to play audio data. The user terminal includes, but is not limited to, mobile phones, laptops, e-readers, tablets, etc.

[0066] like Figure 1 The diagram shown is a flowchart of a charging self-detection method for wireless earphones according to a first aspect embodiment of this application. This method is applied to a charging case.

[0067] In this embodiment, the charging case is equipped with an in-case detection contact and a positive contact. The positive contact is connected to the charging case's power circuit. After the earphones are placed in the charging case, the contacts on the earphones connect to both the in-case detection contact and the positive contact of the charging case. This independent connection between the earphones' contacts and the positive contact forms a charging path between the earphones and the power circuit, allowing the charging case's power circuit to charge the earphones through this path.

[0068] This embodiment of a wireless earphone charging self-detection method includes steps S1-S5.

[0069] Step S1: If a feedback signal is received indicating that the in-cart detection contact is in contact with at least one earphone, then the corresponding earphone is determined to be the target earphone and the target earphone is determined to be in the in-cart state.

[0070] In this embodiment, the wireless earbuds may include a left earbud and a right earbud. Correspondingly, the charging case may be provided with a left earbud compartment and a right earbud compartment for storing the left earbud and the right earbud, respectively. The earbud in-case detection contact may be set in the left earbud compartment and the right earbud compartment, respectively. The earbud in-case detection contact set in the left earbud compartment can be used to detect and provide feedback on the left earbud's entry and exit status, and the earbud in-case detection contact set in the right earbud compartment can be used to detect and provide feedback on the right earbud's entry and exit status.

[0071] As an example, when the left earbud in the wireless earbuds is inserted into the charging case, the detection contact in the case comes into contact with the contact point of the left earbud, generating a corresponding feedback signal. Based on this feedback signal, it can be determined that the left earbud is in the earbud in the charging case.

[0072] Compared to existing technologies that use the same contact point to connect the in-carry detection circuit and the power circuit, this invention separates the in-carry detection contact point from the power circuit of the charging case. When a feedback signal is received that the in-carry detection contact point is in contact with at least one earphone, the present invention determines that the earphone is in the in-carry state. This enables a rapid response to the earphone being in the in-carry state, effectively improving the response speed of the earphone in-carry detection. Furthermore, it avoids the defect in existing technologies where the in-carry detection circuit and the power circuit share a single contact point, and the in-carry detection function fails when the power circuit malfunctions and cannot provide a charging circuit for detecting whether the earphone is in the in-carry state.

[0073] Step S2: Obtain the charging current detection value of the power circuit of the charging case when charging the target earphone.

[0074] As an example, when the left earbud is detected to be in the charging case, the current step is to obtain the charging current detection value of the charging case's power circuit charging the left earbud.

[0075] In one feasible approach, the charging case's power circuit can be configured to only charge the target earbuds after detecting that the charging case is closed. This allows the user to decide whether to have the charging case charge the earbuds while they are in the charging case based on whether the charging case is closed. Under this charging setting, during step S2, the charging current detection value for charging the target earbuds by the charging case's power circuit is obtained after detecting that the charging case is closed.

[0076] Step S3: When the detected charging current value is not greater than a preset current threshold, obtain the theoretical charging current corresponding to the current charging mode of the target earphone.

[0077] The charging current of each earbud can be monitored independently in real time throughout the entire charging process. The detected charging current value of the earbuds should not exceed a preset current threshold. This preset current threshold can be set according to actual conditions, for example, to 70 mA.

[0078] As one possible approach, the method further includes:

[0079] When the detected charging current value is greater than a preset current threshold, the charging path between the power circuit of the charging case and the target earphone is shut off.

[0080] If the detected charging current value is greater than the preset current threshold, it indicates that the earphone is in an abnormal state and is at risk of damage. By shutting off the charging path between the power circuit of the charging case and the target earphone, it is possible to prevent the earphone from being charged with excessive current and causing damage.

[0081] Furthermore, when the detected charging current value exceeds the preset current threshold, a corresponding prompt message can be sent to the user terminal that has established a communication link with the wireless earphones to remind the user to disconnect the earphones from the charging case in time, thereby protecting the earphones.

[0082] In one feasible approach, obtaining the theoretical charging current corresponding to the current charging mode of the target earphone includes:

[0083] Establish a communication connection with the target earphone and obtain the battery parameter values ​​of the target earphone;

[0084] The current charging mode of the target earphone is determined based on the battery parameter values;

[0085] Query the theoretical charging current corresponding to the current charging mode of the target earphone.

[0086] In this step, the current charging mode of the headphones is queried using battery parameter values ​​to estimate the theoretical charging current of the headphones in the current charging mode. The charging modes can include trickle charging, pre-charging, fast charging, constant voltage / constant current charging, and standby mode. The charging process is dynamic, and these charging modes can be set to correspond to different headphone voltage / charge ranges, with corresponding theoretical charging currents. For example, voltage range points Vpre, Vfast, and Vfloat can be set. Trickle charging mode is executed when the battery voltage is between 0 and Vpre; pre-charging mode is executed when the battery voltage is between Vpre and Vfast; fast charging mode is executed when the battery voltage is between Vfast and Vfloat; and constant voltage / constant current charging mode is executed when the battery voltage equals Vfloat. Charging stops when the current drops to the set termination current, and the headphones enter standby mode.

[0087] In one feasible approach, determining the current charging mode of the target earphone based on the battery parameter values ​​includes:

[0088] The charging mode that matches the battery parameter value is determined from the pre-stored charging mode list as the current charging mode of the target earphone; the pre-stored charging mode list is a list of the correspondence between battery parameter value ranges and charging modes; the battery parameter value is battery voltage or battery capacity.

[0089] In this embodiment, matching the charging mode using a pre-stored charging mode list allows for convenient and quick determination of the charging mode that matches the battery parameter values. When obtaining the corresponding theoretical charging current based on the determined charging mode, a list showing the correspondence between charging modes and theoretical charging currents can also be created in the same way.

[0090] Step S4: Calculate the difference between the theoretical charging current and the detected charging current value.

[0091] Step S5: If the difference exceeds a preset difference threshold, the charging compartment is determined to be in an abnormal charging current state.

[0092] The preset difference threshold can be set according to actual conditions. For example, the preset difference threshold can be set to 1 mA.

[0093] In this embodiment, the difference between the theoretical charging current and the detected charging current is compared with a preset difference threshold. Based on the comparison result, it is determined whether the charging compartment is in an abnormal charging current state. The method is simple and convenient.

[0094] In one feasible implementation, the method further includes:

[0095] The timing is started when the detected charging current value is not greater than the preset current threshold.

[0096] If the battery parameter value is not obtained when the timer reaches the preset time threshold, the charging compartment is determined to be in an abnormal communication state.

[0097] In this embodiment of the invention, the dimension of in-charge communication detection is added to determine whether the charging case is charging abnormally, which can further improve the comprehensiveness of the charging case's self-detection of charging abnormalities, thereby improving the reliability of the wireless earphones in actual use.

[0098] In one feasible implementation, the method further includes:

[0099] When the charging case is detected to be closed, charging current is detected. If the detected charging current value is not 0 and no feedback signal is received indicating that the charging case is in an abnormal state of in-case detection, the charging case is determined to be in an abnormal state of in-case detection. In this embodiment, when the wireless earphones have a left and a right earphone, the following conditions are met for determining that the charging case is in an abnormal state of in-case detection:

[0100] First, the charging current detection value of the left earphone is not 0 and no feedback signal is received indicating that the detection contact in the case is in contact with the left earphone.

[0101] Second, the charging current detection value of the right earphone is not 0 and no feedback signal is received indicating that the in-carrying detection contact is in contact with the right earphone.

[0102] If any of the above conditions are met, the charging compartment can be determined to be in an abnormal state of in-flight detection.

[0103] In a specific example, the wireless earbuds may include a left earbud and a right earbud. Correspondingly, the charging case is provided with left earbud slots and right earbud slots for storing the left earbud and right earbud respectively. When the target earbud is the left earbud, when the charging case is detected to be closed, the charging case will perform charging current detection on the left earbud slot. If the obtained charging current detection value is not 0 and no feedback signal is received that the in-case detection contact on the left earbud slot is in contact with the corresponding left earbud, the charging case is determined to be in an abnormal in-case detection state.

[0104] In another specific example, the wireless earbuds may include a left earbud and a right earbud. Accordingly, the charging case is provided with left earbud slots and right earbud slots for storing the left earbud and right earbud respectively. When the target earbud is the right earbud, when the charging case is detected to be closed, the charging case will perform charging current detection on the right earbud slot. If the obtained charging current detection value is not 0 and no feedback signal is received that the in-case detection contact on the right earbud slot is in contact with the corresponding right earbud, the charging case is determined to be in an abnormal in-case detection state.

[0105] In this embodiment of the invention, the dimension of in-charge detection is added to determine whether the charging case is charging abnormally, which can further improve the comprehensiveness of the self-detection of charging abnormalities in the charging case, thereby improving the reliability of the wireless earphones in actual use.

[0106] In one feasible implementation, the method further includes:

[0107] If the charging case is in an abnormal state of in-case detection, in-case communication, or charging current, the charging path between the power circuit and the positive contact will be shut down.

[0108] And / or, output a notification message to indicate a current charging case malfunction to alert the user.

[0109] As a specific implementation, the output of a notification message indicating a current charging case malfunction to alert the user may include:

[0110] Send the reminder message to the user terminal of the corresponding wireless earphone;

[0111] And / or, send the reminder information to the display screen on the charging case for display;

[0112] And / or, the reminder message may be played via earphones connected to the charging case.

[0113] In one example, when the charging case remains connected to a mobile terminal, which can be a user terminal interconnected with the wireless earphones, the charging case can send an alert message indicating the current charging case malfunction to the corresponding wireless earphone's user terminal when it determines that it is in an abnormal state of in-case detection, communication, or charging current. In other words, the alert message is sent to the corresponding wireless earphone's user terminal to notify the user.

[0114] In another example, the charging compartment may be equipped with a display screen. When the charging compartment determines that it is in a state of abnormality in the compartment detection, communication, or charging current, it can send an alert message indicating the current charging compartment abnormality to the display screen, so that the display screen can display the alert message indicating the current charging compartment abnormality.

[0115] In another example, when the charging case remains connected to the earphones, if the charging case determines that it is in a state of abnormality in case detection, communication, or charging current, it can transmit an alert message indicating the current abnormality of the charging case to the interconnected earphones, so that the earphones can play the alert message to notify the user.

[0116] In this embodiment, by shutting down the charging path between the power circuit and the positive contact when the charging compartment is in an abnormal state of in-compatibility detection, communication, or charging current, unnecessary power loss of the charging compartment can be avoided. By outputting a reminder message indicating the current charging compartment malfunction, the user can be alerted and promptly addressed to resolve the corresponding fault.

[0117] The present invention also provides a charging self-detection circuit for wireless headphones, which can be used to perform the charging self-detection method for wireless headphones described in any of the above embodiments of the present invention.

[0118] Please see Figure 2 , Figure 2 The diagram shows a structural connection block diagram of a charging self-detection circuit for a wireless earphone according to an embodiment of the present invention.

[0119] This invention provides a charging self-detection circuit for wireless earphones, comprising:

[0120] The earphone in-cart detection module 1 is used to determine that the corresponding earphone is the target earphone and to determine that the target earphone is in the earphone in-cart state if it receives a feedback signal that the in-cart detection contact is in contact with at least one earphone.

[0121] Actual charging current acquisition module 2 is used to acquire the charging current detection value of the power circuit of the charging case charging the target earphone;

[0122] Theoretical charging current acquisition module 3 is used to acquire the theoretical charging current corresponding to the current charging mode of the target earphone when the detected charging current value is not greater than a preset current threshold.

[0123] Calculation module 4 is used to calculate the difference between the theoretical charging current and the detected charging current value;

[0124] The charging current abnormality determination module 5 is used to determine that the charging compartment is in an abnormal charging current state if the difference exceeds a preset difference threshold.

[0125] The detection circuit corresponding to the actual charging current acquisition module 2 can adopt the existing charging current detection circuit of wireless headphones. As a specific implementation, the working principle of the actual charging current acquisition module 2 is as follows: Figure 3 As shown, the charging circuits input to the left and right earphones obtain weak voltage signals proportional to the charging current of each earphone (e.g., 1 / 100) through the series-connected left ear current sampling and right ear current sampling. The signals are then amplified by the signal amplification circuit so that the amplitude of the output is within the input range of the ADC (analog-to-digital converter). After the ADC conversion, the signal is calculated to obtain the detection value of the charging current flowing through each earphone.

[0126] In one feasible manner, the theoretical charging current acquisition module 3 includes:

[0127] The acquisition unit is used to establish a communication connection with the target earphone and acquire the battery parameter values ​​of the target earphone;

[0128] A determining unit is configured to determine the current charging mode of the target earphone based on the battery parameter values;

[0129] The query unit is used to query the theoretical charging current corresponding to the current charging mode of the target earphone.

[0130] In one feasible manner, the determining unit includes:

[0131] A determining subunit is used to determine, from a pre-stored charging mode list, a charging mode that matches the battery parameter value as the current charging mode of the target earphone; the pre-stored charging mode list is a list of the correspondence between battery parameter value ranges and charging modes; the battery parameter value is battery voltage or battery capacity.

[0132] The acquisition unit in the theoretical charging current acquisition module 3, in addition to establishing a communication connection with the target earphones, can also query and set earphone parameter status, and perform operations such as firmware upgrades. As a specific implementation, the communication between the charging case and the earphones inside is wired. Compared to wireless methods, wired methods are more stable and reliable, allowing for quick and effective recovery from malfunctions during earphone use, and simplifying firmware upgrades. The earphone parameter status can include pairing between the earphones and the charging case, as well as left and right ear pairing; these pairings are set via a wired connection, which is more stable and reliable.

[0133] In one feasible way, such as Figure 4 As shown, in Figure 3 Based on the charging self-detection circuit shown, the charging self-detection circuit further includes:

[0134] The charging communication multiplexing switching module 6 is connected to the actual charging current acquisition module 2 and the theoretical charging current acquisition module 3, and is used to realize time-division multiplexing of charging output and serial communication.

[0135] In this embodiment, by setting up a charging and communication multiplexing switching module 6, charging and communication can share the same line, reducing the requirements for the number of internal wiring and external connection terminals in the space-constrained headphones.

[0136] As a specific implementation method, such as Figure 5 As shown, the charging communication multiplexing switching module 6 includes an AP processor 61 and a charging / serial port switching unit 62. The charging / serial port switching unit 62 is connected to the actual charging current acquisition module 2 through a charging / serial port multiplexing line 63. The AP processor 61 performs time-sharing switching control of charging / communication for the charging / serial port switching unit 62.

[0137] In one feasible way, such as Figure 6 As shown, the charging self-detection circuit further includes:

[0138] The timing module 7 is used to start timing when the detected charging current value is not greater than the preset current threshold.

[0139] The in-carrier communication anomaly determination module 8 is used to determine that the charging compartment is in an in-carrier communication anomaly state if the battery parameter value is not obtained when the timing duration reaches the preset duration threshold.

[0140] In one feasible implementation, the charging self-detection circuit further includes:

[0141] The charging case detection anomaly determination module 9 is used to detect the charging current when the charging case is closed. If the obtained charging current detection value is not 0 and no feedback signal is received that the charging case detection contact is in contact with the corresponding earphone, the charging case is determined to be in an abnormal state of charging case detection.

[0142] In one feasible implementation, the charging self-detection circuit further includes:

[0143] The abnormal state response module 10 is used to shut down the charging path between the power circuit and the positive contact if the charging compartment is in an abnormal state of in-compartment detection, in-compartment communication, or charging current; and / or output a reminder message to indicate the current abnormality of the charging compartment to prompt the user.

[0144] The present invention also provides a charging case, comprising:

[0145] A memory, a processor, and a charging self-detection program stored in the memory and executable on the processor; when executed by the processor, the charging self-detection program implements the charging self-detection circuit of the wireless earphone as described in any of the preceding embodiments.

[0146] The present invention also provides a charging system, comprising:

[0147] The wireless earphone charging self-detection circuit as described in any of the above embodiments;

[0148] An earphone circuit that is matched with the charging self-detection circuit.

[0149] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working process of the charging self-detection circuit, module, and unit described above can be referred to the corresponding process in the foregoing method embodiments, and the specific beneficial effects of the charging self-detection circuit, module, and unit described above can be referred to the corresponding beneficial effects in the foregoing method embodiments, and will not be repeated here.

[0150] In the several embodiments provided in this application, it should be understood that the disclosed charging self-detection circuit and method can be implemented in other ways. For example, the embodiments of the charging self-detection circuit described above are merely illustrative. For instance, the division of modules is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple modules or components may be combined or integrated into another circuit, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be indirect coupling or communication connection through some interfaces, devices, or modules, and may be electrical, mechanical, or other forms.

[0151] The modules described as separate components may or may not be physically separate. The components shown as modules may or may not be physical modules; that is, they may be located in one place or distributed across multiple network modules. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs.

[0152] Furthermore, the functional modules in the various embodiments of the present invention can be integrated into one processing module, or each module can exist physically separately, or two or more modules can be integrated into one module. The integrated modules described above can be implemented in hardware or as software functional modules.

[0153] If the integrated module is implemented as a software functional module and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0154] The above-described embodiments are only used to illustrate the technical solutions of the present invention, and are not intended to limit it. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A self-detection method for charging wireless earphones, applied to a charging case, characterized in that, The charging compartment is equipped with a compartment detection contact and a positive contact, the positive contact being connected to the power circuit of the charging compartment. The method includes: If a feedback signal is received indicating that the in-cart detection contact is in contact with at least one earphone, then the corresponding earphone is determined to be the target earphone and the target earphone is determined to be in the in-cart state. The charging current detection value of the power circuit of the charging case charging the target earphone is obtained; Establish a communication connection with the target earphone and obtain the battery parameter values ​​of the target earphone; When the detected charging current value is not greater than a preset current threshold, the theoretical charging current corresponding to the current charging mode of the target earphone is obtained. Calculate the difference between the theoretical charging current and the detected charging current value; If the difference exceeds a preset difference threshold, the charging compartment is determined to be in an abnormal charging current state. The method further includes: The timing is started when the detected charging current value is not greater than the preset current threshold. If the battery parameter value is not obtained when the timer reaches the preset time threshold, the charging compartment is determined to be in an abnormal communication state.

2. The self-charging detection method for wireless earphones according to claim 1, characterized in that, The step of obtaining the theoretical charging current corresponding to the current charging mode of the target earphone includes: The current charging mode of the target earphone is determined based on the battery parameter values; Query the theoretical charging current corresponding to the current charging mode of the target earphone.

3. The self-charging detection method for wireless headphones according to claim 2, characterized in that, Determining the current charging mode of the target earphone based on the battery parameter values ​​includes: The charging mode that matches the battery parameter value is determined from the pre-stored charging mode list as the current charging mode of the target earphone; the pre-stored charging mode list is a list of the correspondence between battery parameter value ranges and charging modes; the battery parameter value is battery voltage or battery capacity.

4. The self-charging detection method for wireless earphones according to claim 3, characterized in that, The method further includes: When the charging case is detected to be closed, the charging current is detected. If the detected charging current value is not 0 and no feedback signal is received that the charging case detection contact is in contact with the corresponding earphone, the charging case is determined to be in an abnormal state of in-case detection.

5. The self-charging detection method for wireless headphones according to claim 4, characterized in that, The method further includes: If the charging case is in an abnormal state of in-case detection, in-case communication, or charging current, the charging path between the power circuit and the positive contact will be shut down. And / or, output a notification message to indicate a current charging case malfunction to alert the user.

6. A charging self-detection circuit for wireless earphones, applied to a charging case, characterized in that, The charging compartment is equipped with a self-detection contact and a positive contact. The positive contact is connected to the power circuit of the charging compartment. The charging self-detection circuit includes: The earphone in-pack detection module is used to determine that the corresponding earphone is the target earphone and to determine that the target earphone is in the earphone in-pack state if it receives a feedback signal that the in-pack detection contact is in contact with at least one earphone. The actual charging current acquisition module is used to acquire the detected value of the charging current when the power circuit of the charging case charges the target earphones. The theoretical charging current acquisition module is used to acquire the theoretical charging current corresponding to the current charging mode of the target earphone when the detected charging current value is not greater than a preset current threshold. Wherein, obtaining the theoretical charging current corresponding to the current charging mode of the target earphone includes: Establish a communication connection with the target earphone and obtain the battery parameter values ​​of the target earphone; The calculation module is used to calculate the difference between the theoretical charging current and the detected charging current value; The charging current abnormality determination module is used to determine that the charging compartment is in an abnormal charging current state if the difference exceeds a preset difference threshold. The timing module is used to start timing when the detected charging current value is not greater than the preset current threshold. The in-carrier communication anomaly determination module is used to determine that the charging compartment is in an in-carrier communication anomaly state if the battery parameter value is not obtained when the timing duration reaches a preset duration threshold.

7. The charging self-detection circuit for wireless earphones according to claim 6, characterized in that, Also includes: The charging communication multiplexing switching module connects the actual charging current acquisition module and the theoretical charging current acquisition module, and is used to realize time-division multiplexing of charging output and serial communication.

8. A charging case, characterized in that, include: A memory, a processor, and a charging self-detection program stored in the memory and executable on the processor; When the charging self-detection program is executed by the processor, it implements the charging self-detection method for wireless headphones as described in any one of claims 1-5.

9. A charging system, characterized in that, include: The wireless earphone charging self-detection circuit as described in claim 6 or 7; An earphone circuit that is matched with the charging self-detection circuit.