Earphone box body and wireless earphone system
By combining a current detection module and controller with a voltage divider module and a comparator module, the problem of wireless earphone insertion/exit detection being associated with the case lid was solved, achieving accurate detection independent of the case lid and reducing costs.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- HUAWEI TECH CO LTD
- Filing Date
- 2021-09-24
- Publication Date
- 2026-04-28
AI Technical Summary
Existing wireless earphone entry/exit detection technology requires association with the charging case's open/closed lid, which means that it cannot accurately detect the earphone status or charging when the lid is damaged, lost, or not closed, resulting in detection and charging failures.
The system employs a current detection module and a controller to determine the earphone's entry/exit status by detecting the current change between the charging case and the wireless earphones, independent of the case lid status. It also combines a voltage divider module and a comparator module to output an interrupt signal to the controller for status determination.
It enables accurate detection of earphones entering and leaving the charging case without needing to be connected to the case lid while charging, reducing product costs and improving the reliability and dependability of the detection.
Smart Images

Figure CN115866467B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of electronic technology, and in particular to an earphone housing and a wireless earphone system. Background Technology
[0002] As users increasingly demand portability, wireless earbuds are gaining popularity. Wireless earbuds are used in conjunction with a charging case, which stores and charges the earbuds. In-case detection technology, applied to earbuds with charging cases, uses communication and sensors to determine when earbuds have been removed from the case. When earbuds are removed, the charging case needs to be aware of this and disable certain functions (such as charging) to avoid potential risks such as high power consumption and hot-swapping.
[0003] Currently, existing headphone insertion / removal detection technologies typically involve connecting a pull-up resistor to the charging case's multiplexed pin and a pull-down resistor to the headphone, creating a voltage divider. The multiplexed pin generates two voltages when the headphone is inserted into and removed from the case. During communication, the voltage on the multiplexed pin is detected to determine the headphone's status. However, this detection relies on the charging case's lid being closed. If the voltage output on the multiplexed pin is not disabled, headphone insertion / removal cannot be detected. Damaged or missing lids, or failure to close the lid by the user, can prevent the case from determining the headphone's status or from charging it, leading to detection or charging malfunctions. Summary of the Invention
[0004] This application provides a wireless earphone and a wireless earphone system. The wireless earphone and wireless earphone system using the embodiments of this application no longer associate the detection of earphones entering and leaving the case with the case lid. It can detect earphones entering and leaving the case while charging, and can also reduce product costs.
[0005] In a first aspect, embodiments of this application provide an earphone case, the earphone case including a charging case, a current detection module, and a controller; the charging case is electrically connected to a wireless earphone and is used to output a charging voltage to the wireless earphone; the current detection module is electrically connected between the charging case and the wireless earphone and is used to detect the current between the charging case and the wireless earphone; the controller is electrically connected to the current detection module; if the current detection module detects the current between the charging case and the wireless earphone, it outputs a first-level interrupt signal to the controller; if the current detection module does not detect the current between the charging case and the wireless earphone, it outputs a second-level interrupt signal to the controller; wherein, the first level is a high level and the second level is a low level; or, the first level is a low level and the second level is a high level.
[0006] According to the embodiments of this application, the current between the earphone case and the wireless earphone can be detected by the current detection module, thereby outputting a corresponding interrupt signal to the controller. The controller can determine the insertion / exit status of the wireless earphone based on the level of the interrupt signal. Therefore, with the wireless earphone and wireless earphone system of the embodiments of this application, the insertion / exit detection is no longer associated with the case cover, and can be detected during charging, which can also reduce product costs.
[0007] In one possible design, the earphone case further includes a voltage divider module and a comparator module. The voltage divider module is electrically connected between the charging case and the wireless earphone. The voltage divider module is used to output a voltage divider signal to the comparator module, and the comparator module is used to output an interrupt signal based on the voltage divider signal.
[0008] In one possible design, the earphone housing further includes an OR gate module electrically connected to the comparator module and the current detection module. The OR gate module is used to receive a first interrupt signal from the comparator module and an interrupt signal from the operational amplifier, and output a corresponding interrupt signal to the controller.
[0009] In one possible design, when the wireless earphones are in the case and charging, the comparator module does not work, while the current detection module works normally.
[0010] In one possible design, when the wireless earphones are in the case and not being charged, the comparator module operates normally, while the current detection module does not operate.
[0011] In one possible design, the charging case includes a first charging pin and a first ground pin, and the wireless earphone includes a second charging pin and a second ground pin, wherein the first charging pin is electrically connected to the second charging pin, and the first ground pin is electrically connected to the second ground pin.
[0012] In one possible design, the current detection module includes an operational amplifier and a first resistor, the first resistor being electrically connected between the first ground pin and the second pin, the first input terminal of the operational amplifier being electrically connected to the first end of the first resistor, the second input terminal of the operational amplifier being electrically connected to the second end of the first resistor, and the output terminal of the operational amplifier being electrically connected to the OR gate module.
[0013] In one possible design, the voltage divider module includes a first diode, a second resistor, and a third resistor. The first end of the second resistor is electrically connected to a power supply, the second end of the second resistor is electrically connected to the anode of the first diode, the cathode of the first diode is electrically connected to the first charging pin and the second charging pin, the first end of the third resistor is electrically connected to the first charging pin and the second charging pin, and the second end of the third resistor is electrically connected to the first ground pin and the second ground pin.
[0014] In one possible design, the comparator module includes a comparator, a fourth resistor, and a fifth resistor. The first input terminal of the comparator is electrically connected to the power supply through the fourth resistor. The first input terminal of the comparator is also grounded through the fifth resistor. The second input terminal of the comparator is electrically connected to the node between the second end of the second resistor and the anode of the first diode. The output terminal of the comparator is electrically connected to the OR gate module.
[0015] Secondly, embodiments of this application also provide a wireless earphone system, the wireless earphone system including wireless earphones and an earphone housing as described above.
[0016] Using the earphone case and wireless earphone system in this embodiment, current detection can be used to determine the earphone's insertion / exit status. This insertion / exit detection does not need to be associated with a case switch. Charging is supported after the case is opened. When the earphone is inserted / exited, an interrupt signal is sent to notify the controller. The controller reads the level of the interrupt signal to determine the earphone's insertion / exit status. Furthermore, this embodiment can also use a comparator to convert the voltage divider signal of the earphone insertion / exit into an interrupt signal, use an operational amplifier to detect the current, and process the two detection signals through an OR gate module to determine the earphone's insertion / exit status. Attached Figure Description
[0017] Figure 1 This is a schematic diagram of the product form of a wireless earphone and earphone case provided in an embodiment of this application.
[0018] Figure 2 This is a schematic diagram of another wireless earphone and earphone case provided in the embodiments of this application.
[0019] Figure 3 This is a specific application scenario diagram of the wireless earphone system according to an embodiment of this application.
[0020] Figure 4 This is a circuit diagram of a wireless earphone system according to an embodiment of this application.
[0021] Figure 5 This is another circuit diagram of the wireless earphone system according to an embodiment of this application.
[0022] Figure 6 This is another circuit diagram of the wireless earphone system according to an embodiment of this application.
[0023] Figure 7 This is another circuit diagram of the wireless earphone system according to an embodiment of this application.
[0024] Figure 8 This is another circuit diagram of the wireless earphone system according to an embodiment of this application.
[0025] Figure 9 This is another circuit diagram of the wireless earphone system according to an embodiment of this application.
[0026] Figure 10-12 This is a schematic diagram of the wireless earphone insertion and removal state according to an embodiment of this application.
[0027] Figure 13 This is another circuit diagram of the wireless earphone system according to an embodiment of this application.
[0028] Figure 14 This is a flowchart of a wireless earphone ejection detection method provided in an embodiment of this application.
[0029] Figure 15 This is a flowchart of a wireless earphone insertion detection method provided in an embodiment of this application.
[0030] Figure 16 This is another flowchart of the wireless earphone ejection detection method provided in the embodiments of this application.
[0031] Figure 17 This is another flowchart of the wireless earphone case insertion detection method provided in the embodiments of this application.
[0032] Explanation of main component symbols
[0033] Wireless headphone system 100 wireless headphones 10 Headphone body 11 Earphone case 20 Storage cavity 21 Voltage divider module 23 Comparator module 24 Current detection module 25 OR gate module 26 controller 27 Charging case 28 charging pin POGO ground pin GND First charging pin POGO1 Second charging pin POGO2 First grounding pin GND1 Second grounding pin GND2 resistance R1-R15 operational amplifier U1 comparator U2 switch Q1-Q3 power supply VCC
[0034] The following detailed description, in conjunction with the accompanying drawings, will further illustrate this application. Detailed Implementation
[0035] It should be noted that when a component is considered to be "connected" to another component, it can be directly connected to the other component or may also have a component that is centrally located. When a component is considered to be "set" on another component, it can be directly set on the other component or may also have a component that is centrally located.
[0036] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein in the specification of this application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. The term "and / or" as used herein includes any and all combinations of one or more of the associated listed items.
[0037] Wireless headsets can be used with electronic devices such as mobile phones, laptops, and watches to handle audio services such as media and calls, as well as other service data. For example, the audio services can include playing music, recordings, sound from video files, background music in games, and call notification sounds for the user; it can also include playing the other party's voice data or collecting the user's voice data and sending it to the other party in call service scenarios such as telephone calls, audio calls, video calls, games, and voice assistants.
[0038] For wireless earbuds to provide various services in conjunction with the aforementioned electronic devices, the prerequisite is that the earbuds are removed from the charging case by the user. Specifically, when the earbuds are removed from the case, it is necessary to detect their removal in a timely manner to activate the earbuds' functions (such as Bluetooth and wear detection). Similarly, when the earbuds are placed back into the case, it is necessary to detect their insertion in a timely manner to deactivate the aforementioned functions and conserve battery power. Therefore, earbud insertion / removal detection is crucial for wireless earbuds.
[0039] Currently, the state relationship between the earphones and the case can be detected by placing a single-axis Hall sensor and a magnet at a corresponding position on the case. When the earphones enter or leave the case, the strength of the magnetic field changes, triggering the Hall sensor to send an interrupt. Therefore, the state of the earphones being removed from the case can be determined by observing the edge of the sensor. For example, in one scenario, when the user opens the case, the case detects an opening event and wakes up the earphones, at which point the earphones are in the opened-and-placed-in-case state. Then, when the user removes the earphones, the earphones detect an exit-from-case event, at which point they are in the exit-from-case state.
[0040] Obviously, the above scheme uses multiple Hall sensors, which will result in a very complex magnetic field environment that is easily affected by external magnetic fields and poses a risk of false detection.
[0041] In another scenario, the earphone insertion / removal detection technology can connect a pull-up resistor to the charging case's multiplexed pin and a pull-down resistor to the earphones, creating a voltage divider. The multiplexed pin generates two voltages when the earphones are inserted into and removed from the case. During communication, the voltage of the multiplexed pin is detected to determine the earphone's status in the case. However, this insertion / removal detection requires the charging case's lid to be closed. If the voltage output of the multiplexed pin is not turned off, the insertion / removal of the earphones cannot be detected. If the lid is damaged, lost, or left open by the user, the case may be unable to determine the earphone's status or charge it, leading to detection or charging malfunctions.
[0042] Therefore, this application provides an earphone case and a wireless earphone system. The earphone case and the wireless earphone system can use current detection technology to detect the earphone's entry and exit status. Therefore, the detection of the earphone entering and exiting the case does not need to be associated with the case lid. The earphone can be detected when charging, and the design cost can also be reduced.
[0043] Please see Figure 1 , Figure 1 The diagram shown is a structural schematic of a wireless earphone system 100 provided in one embodiment of this application. Figure 1 As shown, in this embodiment, the wireless earphone system 100 may include a wireless earphone 10 and an earphone housing 20.
[0044] It is understood that the wireless earphone 10 includes a pair of earphone bodies, such as a pair of earphone bodies 11, that can be used with the user's left and right ears. In some possible implementations, the wireless earphone 10 can specifically be an earbud, an over-ear, or an in-ear earphone.
[0045] For example, the wireless earphone 10 can be a true wireless stereo (TWS) earphone. The earphone case 20 is an earphone case used to store the earphone body 11. For example, the earphone case 20 may include two storage cavities 21. The storage cavities 21 can be used to store the earphone body 11.
[0046] It should be noted that, Figure 1 The schematic diagram illustrating one product form of the wireless earphone system is provided by way of example only. The wireless earphones provided in this application embodiment include, but are not limited to, Figure 1 The wireless earphones 10 shown, and the earphone case, include but are not limited to Figure 1 The earphone housing 20 is shown. In another possible implementation, such as... Figure 2As shown, the wireless earphone 10 may include two earphone bodies 11. The earphone housing 20 may include a housing cavity 21 for receiving the earphone bodies 11. Of course, in some embodiments, the wireless earphone may also include only one earphone body, which will not be described in detail here.
[0047] In a scenario, such as Figure 3 As shown, the wireless earphone 10 may include a charging pin POGO and a ground pin GND. The charging pin POGO is a multiplexed pin for both charging and communication.
[0048] Please see Figure 4 The following will illustrate the wireless earphone system 100 provided in the embodiments of this application with reference to the accompanying drawings and actual application scenarios.
[0049] Figure 4 The diagram shown is a structural schematic of a wireless earphone system 100 provided in one embodiment of this application. In this embodiment, the wireless earphone system 100 may include a wireless earphone 10 and an earphone case 20. The earphone case 20 may include a charging case 28.
[0050] It is understood that in this embodiment, the wireless earphone 10 may include a first charging pin POGO1 and a first ground pin GND1. The charging case 28 may include a second charging pin POGO2 and a second ground pin GND2. The first charging pin POGO1 is electrically connected to the second charging pin POGO2, and the first ground pin GND1 is electrically connected to the second ground pin GND2. The first charging pin POGO1 is electrically connected to the first ground pin GND1 through a resistor R1.
[0051] Furthermore, the earphone housing 20 may also include a voltage divider module 23 and a current detection module 25.
[0052] In this embodiment, the voltage divider module 23 may include resistors R2 and R3, and diode D1. The second ground pin GND2 is electrically connected to the first ground pin GND1 through resistor R3. The first end of resistor R2 is electrically connected to the power supply VCC, which can be used to output a 3.3V voltage. The second end of resistor R2 is electrically connected to the anode of diode D1, and the cathode of diode D1 is electrically connected to the first charging pin POGO1 and the second charging pin POGO2. The current detection module 25 is electrically connected to both ends of resistor R3. It can be understood that resistor R3 can be a sampling resistor, and the current detection module 25 can detect the current through resistor R3. In one scenario, the current detection module 25 can perform low-end sampling through the sampling resistor. Alternatively, in another scenario, the current detection module 25 can perform high-end sampling through the sampling resistor.
[0053] In one embodiment, the earphone case 20 may further include a controller 27, which may be electrically connected to the current detection module 25. Based on this design, the controller 27 can receive an interrupt signal output by the current detection module 25 to determine the insertion / exit status of the wireless earphone 10.
[0054] It is understood that "removing from the case" as described above can refer to the user taking the wireless earphone 10 out of the earphone case 20. Furthermore, "removing from the case" as described above can refer to the user placing the wireless earphone 10 into the earphone case 20.
[0055] It is understood that, in some possible implementations, the controller 27 may be a microcontroller unit (MCU).
[0056] In one scenario, when the wireless earphone 10 is charging, the second charging pin POGO2 of the charging case 28 can output a charging voltage to the first charging pin POGO1. At this time, the charging current output by the earphone case 20 can pass through resistors R1 and R3. If the current detection module 25 detects current flowing through resistor R3, it can output a high-level interrupt signal to the controller 27. The controller 27 can then confirm that the wireless earphone 10 is in the charging case state based on the high-level interrupt signal. If the current detection module 25 does not detect current flowing through resistor R3, it can output a low-level interrupt signal to the controller 27. The controller 27 can then confirm that the wireless earphone 10 is out of the charging case state based on the low-level interrupt signal.
[0057] In another scenario, when the wireless earphone 10 is not charging, the second charging pin POGO2 of the earphone case 20 will not output charging voltage to the first charging pin POGO1, and the power supply VCC will output 3.3V, meaning leakage current can flow through resistors R2, R1, and R3. If the current detection module 25 detects current flowing through resistor R3, it can output a high-level interrupt signal to the controller 27. The controller 27 can then confirm that the wireless earphone 10 is in the case-in state based on this high-level interrupt signal. If the current detection module 25 does not detect current flowing through resistor R3, it can output a low-level interrupt signal to the controller 27. The controller 27 can then confirm that the wireless earphone 10 is out of the case based on this low-level interrupt signal.
[0058] In the above scenario, when the wireless earphone 10 is inserted into the case, the current detection module 25 detects leakage current and can output a high-level interrupt signal to the controller 27. When the wireless earphone 10 is removed from the case, the leakage current disappears, and the current detection module 25 can output a low-level interrupt signal to the controller 27. It can be understood that the relationship between the wireless earphone's insertion / removal status and the interrupt signal is shown in the following truth table 1.
[0059] Truth Table 1: Relationship between the wireless earphone's charging case status and interrupt signal
[0060] Interrupt signal Wireless earphone charging case status 0 Out of box 1 Put into box
[0061] Please see Figure 5 , Figure 5 The diagram shown is a circuit diagram of a wireless earphone system 100 provided in another embodiment of this application.
[0062] and Figure 4 The difference in the wireless earphone system 100 shown is that, in this embodiment, the current detection module 25 may include an operational amplifier U1 and four resistors R9-R12.
[0063] The first input terminal of operational amplifier U1 is electrically connected between the second ground pin GND2 and the first end of resistor R3 via resistor R9. The first input terminal of operational amplifier U1 is also electrically connected to the output terminal of operational amplifier U1 via resistor R10. The second input terminal of operational amplifier U1 is electrically connected to the second end of resistor R3 via resistor R11, and the second input terminal of operational amplifier U1 is also grounded via resistor R12. The output terminal of operational amplifier U1 can output the interrupt signal to controller 27.
[0064] Please see Figure 6, Figure 6 The diagram shown is a structural schematic of a wireless earphone system 100 provided in another embodiment of this application.
[0065] and Figure 4 The difference in the wireless headphone system 100 shown is that, as Figure 6 As shown in the figure, in this embodiment, the earphone housing may further include a comparator module 24 and an OR gate module 26.
[0066] In this embodiment, the comparator module 24 can be electrically connected to the node between the second end of the resistor R2 and the anode of the diode D1. Both the comparator module 24 and the current detection module 25 are electrically connected to the OR gate module 26, and the current detection module 25 is electrically connected to both ends of the resistor R3. It can be understood that the resistor R3 can be a sampling resistor.
[0067] In one possible implementation, the controller 27 can be electrically connected to the OR gate module 26. In this embodiment, the OR gate module 26 can receive signals output by the current detection module 25 and the comparator module 24, and output an interrupt signal accordingly. Based on this design, the controller 27 can receive the interrupt signal output by the OR gate module 26 to determine the out-of-box status of the wireless earphone 10.
[0068] Please see Figure 7 , Figure 7 The diagram shown is a circuit diagram of a wireless earphone system 100 provided in another embodiment of this application.
[0069] In this embodiment, the comparator module 24 may include three switches Q1-Q3 and five resistors R4-R8. The first terminal of switch Q1 is electrically connected to the node between the second terminal of resistor R2 and the anode of diode D1, and the second terminal of switch Q1 is grounded. The third terminal of switch Q3 is electrically connected to the first terminal of resistor R4. The first terminal of switch Q1 serves as the control terminal of switch Q1. The second terminal of resistor R4 is electrically connected to the power supply VCC, which can output a voltage of 3.3V. The second terminal of switch Q2 is electrically connected to the first terminal of resistor R4, and the first terminal of switch Q2 is electrically connected to the node between the first terminals of resistors R5 and R6. The third terminal of switch Q2 is electrically connected to the third terminal of switch Q1, and the third terminal of switch Q2 is also grounded through resistor R7. The second terminal of resistor R5 is electrically connected to the power supply VCC, and the second terminal of resistor R6 is grounded. The first terminal of switch Q2 serves as the control terminal of switch Q1. The second terminal of switch Q3 is electrically connected to the power supply VCC through resistor R8. The second terminal of switch Q3 is also electrically connected to the OR gate module 26. The third terminal of switch Q3 is grounded. The first terminal of switch Q3 is the control terminal of switch Q3. It can be understood that the diode D1 in this embodiment can be used to prevent the 5V voltage output by the earphone housing 20 from flowing back into the power supply VCC, which outputs 3.3V.
[0070] It is understood that the current detection module 25 in this embodiment may include an operational amplifier U1 and four resistors R9-R12.
[0071] The first input terminal of operational amplifier U1 is electrically connected between the second ground pin GND2 and the first end of resistor R3 via resistor R9. The first input terminal of operational amplifier U1 is also electrically connected to the output terminal of operational amplifier U1 via resistor R10. The second input terminal of operational amplifier U1 is electrically connected to the second end of resistor R3 via resistor R11. The second input terminal of operational amplifier U1 is also grounded via resistor R12. The output terminal of operational amplifier U1 is electrically connected to the OR gate module 26.
[0072] The OR gate module 26 may include diodes D2 and D3 and resistor R13. The anode of diode D2 may be electrically connected to the second terminal of switch Q3, the cathode of diode D2 may be electrically connected to the cathode of diode D3, the anode of diode D3 may be electrically connected to the output terminal of operational amplifier U1, and the cathode of diode D3 is also grounded through resistor R13. In some embodiments, the cathodes of diodes D2 and D3 may output an interrupt signal.
[0073] It's understandable that there are two scenarios for testing wireless earbuds upon removal from the charging case. The first scenario is testing the earbuds while they are charging. The second scenario is testing the earbuds while they are in standby mode.
[0074] like Figure 8 As shown, in the first scenario, the wireless earphone 10 can be in a charging state, that is, the second charging pin POGO2 of the earphone case 20 outputs a 5V charging voltage, and there is charging current on both the first charging pin POGO1 and the second charging pin POGO2. At this time, the comparator module 24 does not work, and the current detection module 25 works normally. Based on this design, when the wireless earphone 10 is removed from the case, the first charging pin POGO1 of the wireless earphone 10 is disconnected from the second charging pin POGO2 of the earphone case 20. At this time, the current detection module 25 can detect that there is no current on both the first charging pin POGO1 and the second charging pin POGO2, that is, the first charging pin POGO1 and the second charging pin POGO2 can go from having current flowing through them to having no current. As a result, the output signal of the current detection module 25 flips, the comparator module 24 can maintain its original output, the OR gate module 26 only detects the flip signal, and the controller 27 can detect the interrupt signal. The controller 27 can determine that the wireless earphone 10 has been removed from the case by reading the signal level at this time.
[0075] For example, when the earphones are charging, if the wireless earphones 10 are not removed from the charging case, the first charging pin POGO1 is connected to the second charging pin POGO2. That is, the second charging pin POGO2 of the earphone case 20 can output voltage to the first charging pin POGO1 of the wireless earphones 10. The current detection module 25 can detect the current across the resistor R3, thereby determining that there is charging current on both the first charging pin POGO1 and the second charging pin POGO2. The operational amplifier U1 can output a low-level first signal to the first input terminal of the OR gate module 26.
[0076] Since the comparator module 24 outputs a low-level second signal to the second input of the OR gate module 26, the OR gate module 26 can output a low-level interrupt signal to the controller 27. When the wireless earphone 10 is removed from its case, the first charging pin POGO1 and the second charging pin POGO2 are disconnected, meaning there is no current on either pin. The operational amplifier U1 can output a high-level first signal to the first input of the OR gate module 26. Since the comparator module 24 outputs a low-level second signal to its second input, the OR gate module 26 can output a high-level interrupt signal to the controller 27. The controller 27 can determine whether the wireless earphone 10 has been removed from its case by reading the signal level at this time.
[0077] like Figure 9 As shown, in the second scenario, the wireless earphone 10 is not charging. In this case, the current detection module 25 is not working, while the comparator module 24 works normally. Before the wireless earphone 10 leaves the case, the voltage divider module 23 divides the 3.3V output from the power supply VCC. The node between resistor R2 and diode D1 outputs a voltage divider signal to the comparator module 24. When the wireless earphone 10 leaves the case, the voltage divider signal changes. At this time, the output signal of the comparator module 24 flips, the current detection module 25 maintains its original output signal, and the OR gate module 26 only detects the flip signal. The controller 27 can then detect an interrupt signal and determine whether the wireless earphone 10 has left the case by reading the signal level at this time.
[0078] It is understandable that in some possible implementations, when the controller 27 detects that the wireless earphone 10 has been removed from the case, it needs to switch the first charging pin POGO1 to the communication state. At this time, when the wireless earphone 10 is put back into the case, the comparator module 24 works normally, the output signal of the comparator module 24 flips, the controller 27 detects the interrupt signal, and can determine that the wireless earphone 10 has been put back into the case by reading the level of the interrupt signal at this time.
[0079] It's understandable that there are two scenarios for the in-charger standby mode of wireless earbuds. The first scenario is: the wireless earbuds switch from charging to non-charging mode. The second scenario is: the wireless earbuds switch from non-charging mode to charging mode.
[0080] When the wireless earphone switches from charging to non-charging, the current detection module 25 switches from normal operation to non-operation, and the comparator module 24 switches from non-operation to normal operation; at this time, the voltage level remains unchanged. When the wireless earphone switches from non-charging to charging, the current detection module 25 switches from non-operation to normal operation, and the comparator module 24 switches from normal operation to non-operation; at this time, the voltage level can remain unchanged.
[0081] Based on the above design, the relationship between the wireless earphone's input / output box and the first signal, the second signal, and the interrupt signal can satisfy the following truth table 2.
[0082] Truth Table 2: Relationship between the wireless earphone's input / output box and the first signal, second signal, and interrupt signal
[0083] First signal Second signal Interrupt signal Wireless earphone charging case 0 0 0 Box outside 1 0 1 Inside the box 0 1 1 Inside the box
[0084] Please see Figure 10 When the wireless earphone is communicating inside the box, the voltage of the first charging pin POGO1 is the communication voltage (e.g., about 1.5V). At this time, when the wireless earphone is quickly inserted into or removed from the box, the interrupt signal can change between 1 and 0 according to the truth table 2.
[0085] Please see Figure 11 When the wireless earphones are charging in the case, the voltage of the first charging pin POGO1 is the charging voltage (e.g., around 5V). At this time, when the wireless earphones are quickly inserted into or removed from the case, the interrupt signal can vary between 1 and 0 as described in truth table 2.
[0086] Please see Figure 12 When the wireless earphone is inside the case, when it switches from charging state to communication state or vice versa, the interrupt signal can remain unchanged, as shown in Truth Table 2, i.e., it can be constant at 1.
[0087] Using the embodiments of this application, the controller can determine the entry and exit status of the wireless earphone by determining the level of the interrupt signal, and whether the wireless earphone is in a charging state or not charging state will not affect the interrupt signal logic.
[0088] Furthermore, this application embodiment achieves wireless earphone insertion / exit detection by adding only a few components, thus saving more on structural design costs. The power consumption of this application mainly depends on the power consumption of the operational amplifier. Since the current detection module is only activated during charging, if the power consumption of the current detection module is 1-2mA, it may affect the charging efficiency by 2%-3%. The lower the power consumption of the operational amplifier, the smaller the impact on charging efficiency.
[0089] Please see Figure 13, Figure 13 The diagram shown is a circuit diagram of a wireless earphone system 100 provided in another embodiment of this application.
[0090] and Figure 7 The difference in the wireless earphone system 100 shown is that, in this embodiment, as... Figure 13 As shown, the comparator module 24 may include a comparator U2, a resistor R14, and a resistor R15. The first input terminal of the comparator U2 may be electrically connected to the node between the anode of the diode D1 and the resistor R2. The second input terminal of the comparator U2 may be grounded through the resistor R14. The second input terminal of the comparator U2 may also be electrically connected to the power supply VCC through the resistor R15. The output terminal of the comparator U2 may be electrically connected to the anode of the diode D2.
[0091] It is understood that the comparator used in the embodiments of this application is a comparator IC, which occupies less space and has higher reliability.
[0092] In this embodiment, a comparator module can convert the voltage divider signal of the wireless earphone entering and exiting the charging case into high and low level interrupt signals. A high-precision operational amplifier is used to sample and amplify the current of the earphone charging case to charge the wireless earphone, and output high and low level interrupt signals. Then, an OR gate module is used to combine the two interrupt signals to output an interrupt signal to the controller. Thus, the controller can determine the status of the wireless earphone entering and exiting the charging case based on the level of the interrupt signal.
[0093] Please see Figure 14 This is a flowchart illustrating a method for detecting the removal of a wireless earphone from its charging case according to an embodiment of this application. The method for detecting the removal of a wireless earphone from its charging case in this embodiment may include the following steps:
[0094] Step S141: The wireless earphones are inside the case.
[0095] Step S142: The current detection module detects the current of the wireless earphone.
[0096] by Figure 4 Taking the wireless earphone system 100 as an example, when the wireless earphone 10 is charging, the second charging pin POGO2 of the earphone housing 20 can output a charging voltage to the first charging pin POGO1. At this time, the charging current output by the earphone housing 20 can pass through the resistors R1 and R3. If the current detection module 25 does not detect current flowing through the resistor R3, the current detection module 25 can output a low-level interrupt signal to the controller 27.
[0097] When the wireless earphone 10 is not charging, the second charging pin POGO2 of the earphone case 20 will not output charging voltage to the first charging pin POGO1, and the power supply VCC will output 3.3V, meaning leakage current can flow through resistors R2, R1, and R3. If the current detection module 25 does not detect current flowing through resistor R3, the current detection module 25 can output a low-level interrupt signal to the controller 27. Step S143: Determine whether the wireless earphone has left the case based on the level of the interrupt signal output by the current detection module. If the interrupt signal is low, proceed to step S144; otherwise, return to step S141.
[0098] Step S144: The wireless earphones are removed from the box.
[0099] The controller 27 can determine that the wireless earphone 10 is in the unpacked state based on the high-level interrupt signal output by the current detection module 25.
[0100] In the above scenario, when the wireless earphone 10 is removed from the case, the leakage current disappears, and the current detection module 25 can output a low-level interrupt signal to the controller 27.
[0101] Please see Figure 15 This is a flowchart illustrating a method for detecting the insertion of wireless earphones into a case, as provided in an embodiment of this application. The method for detecting the insertion of wireless earphones into a case in this embodiment may include the following steps:
[0102] Step S151: The wireless earphones are outside the case.
[0103] Step S152: The current detection module detects the current of the wireless earphone.
[0104] Step S153: Confirm whether the wireless earphone is placed in the case. If the interrupt signal is high, proceed to step S154; otherwise, return to step S151.
[0105] by Figure 4Taking the wireless earphone system 100 as an example, when the wireless earphone 10 is charging, the second charging pin POGO2 of the earphone housing 20 can output a charging voltage to the first charging pin POGO1. At this time, the charging current output by the earphone housing 20 can pass through the resistors R1 and R3. If the current detection module 25 can detect the current flowing through the resistor R3, the current detection module 25 can output a high-level interrupt signal to the controller 27. When the wireless earphone 10 is not charging, the second charging pin POGO2 of the earphone housing 20 will not output a charging voltage to the first charging pin POGO1, and the power supply VCC will output a voltage of 3.3V, meaning that leakage current can flow through the resistors R2, R1, and R3. If the current detection module 25 detects that current is flowing through the resistor R3, the current detection module 25 can output a high-level interrupt signal to the controller 27.
[0106] In the above scenario, when the wireless earphone 10 is inserted into the case, the current detection module 25 detects leakage current and can output a high-level interrupt signal to the controller 27. When the wireless earphone 10 is removed from the case, the leakage current disappears, and the current detection module 25 can output a low-level interrupt signal to the controller 27.
[0107] Step S154: Place the wireless earphones into the case.
[0108] The controller 27 can determine that the wireless earphone 10 is in the case-in state based on the high-level interrupt signal output by the current detection module 25.
[0109] In the above scenario, when the wireless earphone 10 is inserted into the case, the current detection module 25 detects leakage current and can output a high-level interrupt signal to the controller 27.
[0110] Please see Figure 16 This is a flowchart illustrating a method for detecting the removal of a wireless earphone from its charging case according to an embodiment of this application. The method for detecting the removal of a wireless earphone from its charging case in this embodiment may include the following steps:
[0111] Step S161: The wireless earphones are inside the case.
[0112] In step S162, the current detection module is not working, and the comparator module starts detection.
[0113] by Figure 6 Taking the wireless earphone system 100 shown as an example, the current detection module 25 is not working, and the comparator module 24 starts detection. The comparator module 24 detects the voltage divider signal output by the voltage divider module 23, and then outputs an interrupt signal to the OR gate module 26.
[0114] Step S163: Confirm whether the wireless earphones are in the case. If yes, proceed to step S164; otherwise, return to step S161.
[0115] In this embodiment, the OR gate module 26 can output an interrupt signal to the controller 27 based on the signal output by the comparator module 24.
[0116] Step S164: Confirm that the wireless earphones are in the case.
[0117] In one possible implementation, if the controller 27 receives a high-level interrupt signal, the controller can determine that the wireless earphone 10 is inserted into the case.
[0118] Please see Figure 17 This is a flowchart illustrating a method for detecting the insertion of wireless earphones into a case, as provided in an embodiment of this application. The method for detecting the insertion of wireless earphones into a case in this embodiment may include the following steps:
[0119] Step S171, the wireless earphone is on the outside and inside.
[0120] Step S172: Confirm whether the wireless earphones are charging. If yes, proceed to step S173; otherwise, proceed to step S174.
[0121] Step S173: The comparator module is turned off, and the current detection module starts detection.
[0122] In this embodiment, if the wireless earphone 10 is charging, the comparator module 24 is turned off, and the current detection module 25 starts detection. At this time, the current detection module 25 can detect the current flowing through the resistor R3.
[0123] Step S174: The current detection module is turned off, and the comparator module starts detection.
[0124] If the wireless earphone 10 is not charging, the current detection module 25 is turned off, and the comparator module 24 starts detection. At this time, the comparator module can detect the voltage divider signal of the voltage divider module 23.
[0125] Step S175: Confirm that the wireless earphone is in the out-of-box state or in the communication switching state. If the wireless earphone is in the out-of-box state, proceed to step S177. If the wireless earphone is in the communication switching state, proceed to step S174.
[0126] The controller 27 can determine whether the wireless earphone is in the out-of-box state or switching communication state based on the detection result of the current detection module.
[0127] Step S176: Confirm that the wireless earbuds are in the unpacked state or in the charging state. If the wireless earbuds are in the unpacked state, proceed to step S177. If the wireless earbuds are in the charging state, proceed to step S173.
[0128] The controller 27 can determine whether the wireless earphone is in the unpacked state or switching charging state based on the detection result of the comparator module 24.
[0129] Step S177: Remove the wireless earphones from the box.
[0130] Using the earphone case and wireless earphone system in this embodiment, current detection can be used to determine the earphone's insertion / exit status. This insertion / exit detection does not need to be associated with a case switch. Charging is supported after the case is opened. When the earphone is inserted / exited, an interrupt signal is sent to notify the controller. The controller reads the level of the interrupt signal to determine the earphone's insertion / exit status. Furthermore, this embodiment can also use a comparator to convert the voltage divider signal of the earphone insertion / exit into an interrupt signal, use an operational amplifier to detect the current, and process the two detection signals through an OR gate module to determine the earphone's insertion / exit status.
[0131] The above description is merely a preferred embodiment of this application and is not intended to limit this application in any way. Although the preferred embodiment has been disclosed above, it is not intended to limit this application. Any person skilled in the art can make some modifications or alterations to the above-disclosed technical content to create equivalent embodiments without departing from the scope of the technical solution of this application. Any simple modifications, equivalent changes, and alterations made to the above embodiments based on the technical essence of this application without departing from the scope of the technical solution of this application shall still fall within the scope of the technical solution of this application.
Claims
1. An earphone case, characterized in that, The earphone case includes a charging case, a current detection module, a voltage divider module, and a controller; The charging case is electrically connected to the wireless earphones and is used to output charging voltage to the wireless earphones. The current detection module is electrically connected between the charging case and the wireless earphone, and is used to detect the current between the charging case and the wireless earphone; The voltage divider module is electrically connected between the charging case and the wireless earphones, and is used to provide current between the charging case and the wireless earphones when the wireless earphones are not charging; The controller is electrically connected to the current detection module; If the current detection module detects the current between the charging case and the wireless earphones, it outputs a first-level interrupt signal; If the current detection module does not detect current between the charging case and the wireless earphone, it outputs a second-level interrupt signal; wherein the first level is high and the second level is low; or, the first level is low and the second level is high. The earphone housing also includes a comparator module, the voltage divider module is used to output a voltage divider signal to the comparator module, and the comparator module is used to output a first interrupt signal according to the voltage divider signal; The earphone housing also includes an OR gate module, which is electrically connected to the comparator module and the current detection module. The OR gate module is used to receive the first interrupt signal output by the comparator module and the interrupt signal output by the current detection module, and output a corresponding second interrupt signal to the controller.
2. The earphone case as described in claim 1, characterized in that, When the wireless earphones are in the case and charging, the comparator module does not work, while the current detection module works normally.
3. The earphone case as described in claim 1, characterized in that, When the wireless earphones are placed in the case and not being charged, the comparator module works normally, while the current detection module does not work.
4. The earphone case as described in any one of claims 1-3, characterized in that, The charging case includes a first charging pin and a first grounding pin, and the wireless earphone includes a second charging pin and a second grounding pin. The first charging pin is electrically connected to the second charging pin, and the first grounding pin is electrically connected to the second grounding pin.
5. The earphone case as described in claim 4, characterized in that, The current detection module includes an operational amplifier and a first resistor. The first resistor is electrically connected between the first ground pin and the second ground pin. The first input terminal of the operational amplifier is electrically connected to the first end of the first resistor. The second input terminal of the operational amplifier is electrically connected to the second end of the first resistor. The output terminal of the operational amplifier is electrically connected to the OR gate module.
6. The earphone case as described in claim 4, characterized in that, The voltage divider module includes a first diode, a second resistor, and a third resistor. The first end of the second resistor is electrically connected to a power supply, and the second end of the second resistor is electrically connected to the anode of the first diode. The cathode of the first diode is electrically connected to the first charging pin and the second charging pin. The first end of the third resistor is electrically connected to the first charging pin and the second charging pin, and the second end of the third resistor is electrically connected to the first ground pin and the second ground pin.
7. The earphone case as described in claim 6, characterized in that, The comparator module includes a comparator, a fourth resistor, and a fifth resistor. The first input terminal of the comparator is electrically connected to the power supply through the fourth resistor. The first input terminal of the comparator is also grounded through the fifth resistor. The second input terminal of the comparator is electrically connected to the node between the second end of the second resistor and the anode of the first diode. The output terminal of the comparator is electrically connected to the OR gate module.
8. A wireless earphone system, characterized in that, The wireless earphone system includes wireless earphones and an earphone housing as described in any one of claims 1-7.
Citation Information
Patent Citations
Wireless Bluetooth earphone charging box system and communication method thereof
CN113225635A
Wireless earphone charging circuit and earphone box
CN210327940U