Earphone wearing detection circuit and wireless bluetooth earphone
By employing a dual detection mechanism combining infrared light signals and capacitance detection, the wearing status of TWS Bluetooth earphones is accurately identified, solving the problem of false triggering and improving battery life.
Patent Information
- Application Number
- CN202521763603.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2025-08-18
- Publication Date
- 2026-08-25
- Estimated Expiration
- 2035-08-18
AI Technical Summary
In existing technologies, the wear detection method of TWS Bluetooth earphones is prone to accidental activation, resulting in reduced battery life. How to accurately identify whether the earphones are being worn has become an urgent problem to be solved.
A dual detection mechanism is adopted, which combines infrared light signals and capacitance detection to detect the distance and capacitance value between the earphone and the object being tested, respectively. When both distances are less than a preset distance, the controller outputs an in-ear detection signal to indicate that the earphone is being worn.
It enables more accurate determination of whether the headphones are being worn in various scenarios, reducing false triggers and improving battery life.
Smart Images

Figure CN224684327U_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of wireless Bluetooth headset technology, and in particular to a headset wearing detection circuit and a wireless Bluetooth headset. Background Technology
[0002] With the development of science and technology, the popularity of portable electronic products is increasing. True Wireless Stereo (TWS) Bluetooth headphones, as a type of portable electronic product, are often taken outdoors by users.
[0003] Given the limited battery capacity of TWS Bluetooth earbuds, to improve battery life, functions such as sound playback are typically scheduled to only be executed during actual user use. Current technology usually uses pressure sensors to detect pressure on the earbuds and determine whether the user needs to use them. However, this detection method can also be accidentally activated by the user's fingers handling the earbuds, thus reducing battery life. Therefore, accurately identifying whether a user is using TWS Bluetooth earbuds is a problem that urgently needs to be solved. Utility Model Content
[0004] The main purpose of this application is to provide an earphone wearing detection circuit and a wireless Bluetooth earphone, aiming to solve the technical problem of how to more accurately detect whether a wireless Bluetooth earphone is being worn.
[0005] To achieve the above objectives, embodiments of this application provide an earphone wearing detection circuit, which includes:
[0006] The first detection circuit is connected to the controller and is used to send and receive preset infrared light signals, and when receiving preset infrared light, it transmits the corresponding first distance detection signal to the controller.
[0007] The second detection circuit is connected to the controller and is used to collect the capacitance value corresponding to the capacitance detection terminal, and transmit the corresponding second distance detection signal to the controller when the capacitance value is collected.
[0008] The controller is used to output a corresponding in-ear detection signal when both the first distance corresponding to the first distance detection signal and the second distance corresponding to the second distance detection signal are less than a preset distance. The in-ear detection signal is used to indicate that the headphones are currently being worn. Attached Figure Description
[0009] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.
[0010] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0011] Figure 1 A structural connection diagram is provided for Embodiment 1 of the headphone wearing detection circuit of this application;
[0012] Figure 2 The circuit connection diagram provided for Embodiment 2 of the headphone wearing detection circuit of this application;
[0013] Figure 3 The circuit connection diagram provided for Embodiment 3 of the headphone wearing detection circuit of this application;
[0014] Figure 4 This is a structural schematic diagram of a wireless Bluetooth headset according to Embodiment 1 of this application.
[0015] The purpose, features, and advantages of this application will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation
[0016] It should be understood that the specific embodiments described herein are merely illustrative of the technical solutions of this application and are not intended to limit this application.
[0017] To better understand the technical solution of this application, a detailed description will be provided below in conjunction with the accompanying drawings and specific implementation methods.
[0018] This application presents a first embodiment of an earphone wearing detection circuit; please refer to [link / reference]. Figure 1 The headphone wearing detection circuit includes:
[0019] The first detection circuit 10 is connected to the controller 30 and is used to send and receive preset infrared light signals, and when receiving preset infrared light, it transmits the corresponding first distance detection signal to the controller 30.
[0020] The second detection circuit 20 is connected to the controller 30 and is used to collect the capacitance value corresponding to the capacitance detection terminal, and transmit the corresponding second distance detection signal to the controller 30 when the capacitance value is collected.
[0021] The controller 30 is used to output a corresponding in-ear detection signal when the first distance corresponding to the first distance detection signal and the second distance corresponding to the second distance detection signal are both less than a preset distance. The in-ear detection signal is used to indicate that the earphone is currently being worn.
[0022] It should be understood that the first detection circuit 10, the second detection circuit 20, and the controller 30 proposed in this embodiment are all disposed inside a wireless Bluetooth headset.
[0023] It should be noted that the preset infrared light signal can be infrared light of a specific wavelength, such as 940nm infrared light. The preset infrared light signal will be reflected when it encounters an obstacle.
[0024] It is easy to understand that the first distance detection signal refers to an electrical signal related to the process of transmitting / receiving a preset infrared light signal. The relevant information contained in this signal can represent the first distance between the earphone and the object being measured, obtained through infrared detection. In this embodiment, the first detection circuit 10 can transmit a preset infrared light signal and receive the reflected preset infrared light signal. At the same time, the first detection circuit 10 can also record the time between transmitting and receiving the preset infrared light signal, and transmit the corresponding first distance detection signal to the controller 30 when the preset infrared light signal is received.
[0025] It should be noted that the capacitance detection terminal is a hardware structure in the second detection circuit 20 used for capacitance detection. This hardware structure is conductive and can form an equivalent capacitance, the value of which changes according to changes in the external environment. Since human skin is also a conductor, it can also form an equivalent capacitance together with the capacitance detection terminal. According to the basic principle of capacitance, the greater the distance between two conductors, the smaller the equivalent capacitance; conversely, the closer the two conductors are, the larger the equivalent capacitance. Therefore, when the capacitance detection terminal is close to the skin, the equivalent capacitance is larger; when the capacitance detection terminal is far from the skin, the equivalent capacitance is smaller. Thus, the capacitance value of the equivalent capacitance is related to the distance from the object being measured.
[0026] As is easily understood, the second distance detection signal refers to an electrical signal related to the capacitance value of the equivalent capacitance formed at the detection terminal of the detection capacitor. The relevant information contained in this signal can represent the second distance between the earphone and the object under test (the object under test is a conductor) obtained through capacitance detection. In this embodiment, the second detection circuit 20 can collect the capacitance value of the equivalent capacitance formed at the detection terminal of the detection capacitor, thereby transmitting the corresponding second distance detection signal to the controller 30.
[0027] It is worth noting that in this embodiment, the object being measured corresponding to the first distance may or may not be a conductor, but the object being measured corresponding to the second distance must be a conductor.
[0028] It should be noted that the preset distance refers to the maximum distance between the earphone structure and the human skin when worn. In this embodiment, the first detection circuit 10 can be located inside the earphone, and its detection direction is directional, facing the user's skin when the user wears the earphone. The second detection circuit 20 can also be located inside the earphone, but its detection direction is non-directional; any conductor approaching it can change the equivalent capacitance formed at its capacitance detection terminal. Therefore, the object being measured by the first detection circuit 10 and the object being measured by the second detection circuit 20 can be the same object or different objects.
[0029] In specific implementation, the first detection circuit 10 can emit and receive preset infrared light signals, and when it receives the reflected preset infrared light signal, it sends a corresponding first distance detection signal to the controller 30. Simultaneously, the second detection circuit 20 can detect the equivalent capacitance formed at the capacitance detection terminal and send a corresponding second distance detection signal to the controller 30. The controller 30 can obtain the first distance between the earphone and the object being tested, detected by the first detection circuit 10, when it receives the first distance detection signal, and can obtain the second distance between the earphone and the object being tested (conductor), detected by the second detection circuit 20, when it receives the second distance detection signal. At this time, the controller 30 can compare the first and second distances with preset distances respectively. When both the first and second distances are less than the preset distance, it can be considered that the distance between the earphone and the human skin is sufficiently small, consistent with the situation of a human wearing earphones, and then the corresponding in-ear detection signal can be output to indicate that the earphone is currently in a wearing state.
[0030] It is worth noting that in practice, when the earphones are taken out or placed in place, the user's fingers usually pinch the stem structure on the outside of the earphones. Therefore, the user's fingers will not block the preset infrared light signal emitted by the first detection circuit 10 on the inside of the earphones, and will not interfere with the measurement process of the first distance. At this time, although the controller 30 may detect a second distance less than the preset distance because the finger is close to the capacitive detection end, the first distance it detects is usually still not less than the preset distance (when taking out or placing the earphones, the earphones are usually suspended in the air), and the controller 30 will not output an in-ear detection signal. When the earphones are temporarily placed on a plane with the inside of the earphones facing the plane, although the controller 30 may detect a first distance less than the preset distance because the plane is usually not a conductor, the second distance it detects is usually still not less than the preset distance, and the controller 30 will still not output an in-ear detection signal. When the earphones are worn with the inside of the earphones facing the user's cheek, the first distance and the second distance detected by the controller 30 will both be less than the preset distance, thus outputting an in-ear detection signal. Based on the above mechanism, it is possible to more accurately determine whether the earphones are currently being worn in a variety of common scenarios.
[0031] This application provides an earphone wearing detection circuit, which includes: a first detection circuit connected to a controller, used to send and receive a preset infrared light signal, and transmit a corresponding first distance detection signal to the controller when receiving the preset infrared light; a second detection circuit connected to the controller, used to collect the capacitance value corresponding to the capacitance detection terminal, and transmit a corresponding second distance detection signal to the controller when the capacitance value is collected; and a controller used to output a corresponding in-ear detection signal when both the first distance corresponding to the first distance detection signal and the second distance corresponding to the second distance detection signal are less than a preset distance, wherein the in-ear detection signal is used to indicate that the earphone is currently in a wearing state.
[0032] The first detection circuit generates a first distance detection signal by detecting the transmission and reception of infrared light, and transmits this signal to the controller. Simultaneously, the second detection circuit generates a second distance detection signal by detecting the capacitance value at its capacitance detection terminal, and transmits this signal to the controller. When the controller detects that both the first distance corresponding to the first distance detection signal and the second distance corresponding to the second distance detection signal are less than a preset distance, it outputs a corresponding in-ear detection signal to indicate that the headphones are currently being worn. This dual detection mechanism allows for a more accurate determination of whether the user needs to use the headphones.
[0033] Based on the first embodiment of the headphone wearing detection circuit of this application, the content that is the same as or similar to that in the first embodiment can be referred to the above description, and will not be repeated hereafter. Based on this, please refer to... Figure 2 The first detection circuit 10 includes: an infrared light emitter 11, an infrared light receiver 12, and a distance calculation unit 13;
[0034] The distance calculation unit 13 is connected to the infrared light transmitter 11, the infrared light receiver 12, and the controller 30, respectively.
[0035] Infrared light emitter 11 is used to emit a preset infrared light signal and output a first time signal to distance calculation unit 13 when emitting the infrared light signal;
[0036] Infrared light receiver 12 is used to receive the corresponding reflected preset infrared light signal, and when the infrared light signal is received, it outputs a second time signal to the distance calculation unit 13;
[0037] The distance calculation unit 13 is used to transmit the corresponding first distance detection signal to the controller 30 when it receives the first time signal and the second time signal.
[0038] It should be noted that the first time signal refers to the electrical signal used to represent the moment corresponding to the instant of transmitting the preset infrared light signal, and the second time signal refers to the electrical signal used to represent the moment corresponding to the instant of receiving the preset infrared light signal.
[0039] It is easy to understand that the wavelength of the preset infrared light signal is a known quantity. Therefore, the transmission speed of the preset infrared light signal can be determined by the wavelength, and the distance between the emission point (earphone) and the reflection point (object under test) of the preset infrared light signal can be determined by combining the transmission time of the preset infrared light signal. In this embodiment, the infrared reflector can emit the preset infrared light signal and output a corresponding first time signal to the distance calculation unit 13. The emitted preset infrared light signal can be reflected when it encounters the object under test. Subsequently, the infrared receiver 12 receives the preset infrared light signal and outputs a corresponding second time signal to the distance calculation unit 13 at the instant of reception. The distance calculation unit 13 can calculate the transmission time of the preset infrared light signal based on the emission time corresponding to the first time signal and the reception time corresponding to the second time signal. At this time, the transmission speed of the preset infrared light signal can be combined to generate a first distance detection signal that represents the distance between the earphone and the object under test, and transmit it to the controller 30.
[0040] It is worth noting that in this embodiment, the infrared light receiver 12 can be integrated into the distance calculation unit 13. Specifically, the distance calculation unit 13 can be a W2101 chip, which integrates the corresponding infrared light receiver 12 and can drive the infrared light transmitter 11 to operate. In this case, the controller 30 can communicate with the W2101 chip via the IIC bus to obtain the first distance detection signal. Furthermore, based on the above communication method, the controller 30 can also control the W2101 chip to drive the infrared light transmitter 11 to emit a preset infrared light signal at a certain period, thereby adjusting the response speed of the first detection circuit 10 to reduce unnecessary power consumption. As a preferred embodiment, the period for emitting the preset infrared light signal can be set to 300ms / time.
[0041] Furthermore, in this embodiment, the controller 30 is also configured to send an enable signal to the second detection circuit 20 when the first distance corresponding to the received first distance detection signal is less than a preset distance;
[0042] When the second detection circuit 20 receives the enable signal, it acquires the capacitance value corresponding to the capacitance detection terminal, and transmits the corresponding second distance detection signal to the controller 30 when the capacitance value is acquired.
[0043] It should be noted that, in this embodiment, to reduce power consumption, the first detection circuit 10 can operate periodically according to the settings. In this case, to further reduce power consumption, the second detection circuit 20 can only be triggered to operate when the first distance detected by the first detection circuit 10 is less than a preset distance.
[0044] It is easy to understand that the enable signal is an electrical signal used to trigger the second detection circuit 20 to operate. In this embodiment, when the first distance corresponding to the detected first distance detection signal is less than a preset distance, the controller 30 can output an enable signal to enable the second detection circuit 20 to enter the working state. When the second detection circuit 20 receives the enable signal, it enters the working state from the low-power standby state, starts to collect the capacitance value of the equivalent capacitance formed at the capacitance detection terminal, and transmits the second distance detection signal corresponding to the capacitance value (which can represent the second distance between the measured object and the earphone) to the controller 30.
[0045] Furthermore, in this embodiment, the second detection circuit 20 includes: a trigger unit 21 and a capacitive reactance sampling unit 22;
[0046] The enable terminal of the capacitive reactance sampling unit 22 is connected to the output terminal of the trigger unit 21, the input terminal of the trigger unit 21 is connected to the controller 30, and the output terminal of the capacitive reactance sampling unit 22 is also connected to the controller 30.
[0047] The trigger unit 21 is used to output a trigger signal to the capacitive reactance sampling unit 22 when an enable signal is received;
[0048] The capacitive reactance sampling unit 22 is used to collect the capacitance value of the capacitance detection terminal when a trigger signal is received, and to transmit the corresponding second distance detection signal to the controller 30 when the capacitance value is collected.
[0049] It is easy to understand that the trigger signal refers to the electrical signal used to trigger the capacitive reactance sampling unit 22 to enter the working mode. In this embodiment, when the trigger unit 21 receives the enable signal, it outputs the corresponding trigger signal to the capacitive reactance sampling unit 22. When the capacitive reactance sampling unit 22 receives the trigger signal, it enters the working state, collects the capacitance value of the equivalent capacitance formed at the capacitance detection terminal, and transmits the second distance detection signal corresponding to the capacitance value (which can represent the second distance between the measured object and the earphone) to the controller 30.
[0050] Furthermore, in this embodiment, the trigger unit 21 includes: a PMOS transistor Qp and a first resistor R1;
[0051] The gate of PMOS transistor Qp is connected to controller 30, the drain of PMOS transistor Qp is connected to the first end of the first resistor R1, the source of PMOS transistor Qp is grounded, and the second end of the first resistor R1 is connected to the capacitive reactance acquisition unit.
[0052] It is easy to understand that the second end of the first resistor R1 can be connected to the power supply terminal of the capacitive reactance sampling unit 22. The controller 30 typically provides a low-level electrical signal to the gate of the PMOS transistor Qp. In this embodiment, if the gate of the PMOS transistor Qp receives a high-level enable signal, the PMOS transistor Qp enters the off state, and the capacitive reactance sampling unit 22 can receive a high-level trigger signal, thus operating. If the gate of the PMOS transistor Qp receives a low level provided by the controller 30, the PMOS transistor Qp enters the on state. At this time, the capacitive reactance sampling unit 22 is equivalent to being grounded and will not operate normally. The first resistor R1 is used for current limiting to prevent excessive current from damaging the circuit when the PMOS transistor Qp is on.
[0053] Furthermore, in this embodiment, the capacitive reactance sampling unit 22 includes: a second resistor R2, a first capacitor C1, and a capacitive reactance sampling chip U0;
[0054] The sampling pin of the capacitive reactance sampling chip U0 is connected to the capacitance detection terminal, the data transmission pin of the capacitive reactance sampling chip U0 is connected to the controller 30, and the power supply pin of the capacitive reactance sampling chip U0 is connected to the output terminal of the trigger unit 21, the second terminal of the second resistor R2, and the first terminal of the first capacitor C1, respectively.
[0055] The first end of the second resistor R2 is connected to the power supply VCC, and the second end of the first capacitor C1 is grounded.
[0056] It should be noted that in this embodiment, the capacitance detection end can specifically be a pair of metal conductive sheets. The capacitive reactance sampling chip U0 can have a pair of sampling pins, which are respectively connected to the pair of metal conductive sheets, forming an equivalent capacitance between them. When the metal conductive sheets are close to human skin, the capacitance value of the equivalent capacitance will change, and the capacitive reactance sampling chip U0 can collect the capacitance value of the equivalent capacitance formed above through the sampling pins. The capacitive reactance sampling chip U0 has a data transmission pin, which can communicate with the controller 30 through the data transmission pin to transmit the corresponding second distance detection signal. The capacitive reactance sampling chip U0 also has a power supply pin, which can be connected to the power supply VCC through the second resistor R2 to receive the power provided by the power supply VCC for operation. As a preferred embodiment, the capacitive reactance sampling chip U0 can specifically be an AW93103 chip. The second resistor R2 is used for current limiting to prevent the current provided by the power supply VCC from being too large and damaging the capacitive reactance sampling chip U0. In addition, its power supply pin is also grounded through the first capacitor C1 to filter out the noise transmitted by the power supply VCC and to play a role in voltage stabilization.
[0057] It is worth noting that in this embodiment, the power supply received by the power supply pin is also controlled by the trigger signal. If a low-level trigger signal is received, the power supply pin of the capacitive sampling chip U0 will not receive normal power and will not work.
[0058] Based on the first and / or second embodiments of the headphone wearing detection circuit of this application, the content that is the same as or similar to the first and second embodiments described above in the third embodiment of the headphone wearing detection circuit of this application can be referred to the above description and will not be repeated hereafter. Based on this, please refer to... Figure 3 The controller 30 is configured to receive the second distance detection signal again based on a preset number of times when the first distance corresponding to the first distance detection signal is less than a preset distance and the second distance corresponding to the second distance detection signal is not less than the preset distance, and output an in-ear detection signal when the number of times the second distance corresponding to each second distance detection signal is less than the preset distance exceeds a second preset number of times.
[0059] It should be noted that in this embodiment, the first distance corresponding to the first distance detection signal and the second distance corresponding to the second distance detection signal may not be the same, but they will not differ significantly. In extreme cases, this may interfere with the detection results. For example, the controller 30 may detect that the first distance is less than a preset distance but the second distance is not less than a preset distance. In this case, the controller 30 may temporarily refrain from responding and instead continue to receive the second distance detection signal for a first preset number of times. When the number of times the second distance corresponding to the second distance detection signal is less than the preset distance exceeds the second preset number of times, the controller 30 outputs the corresponding in-ear detection signal, thus determining that the earphone is currently being worn. As one example, the first preset number of times can be 5 times and the second preset number of times can be 2 times.
[0060] Furthermore, in this embodiment, the controller 30 is configured to output a corresponding ear-out detection signal when the first distance corresponding to the first distance detection signal and the second distance corresponding to the second distance detection signal are not simultaneously less than a preset distance. The ear-out detection signal is used to indicate that the earphone is not currently being worn.
[0061] It is easy to understand that in this embodiment, if the controller 30 detects that either the first distance corresponding to the first distance detection signal or the second distance corresponding to the second distance detection signal is not less than a preset distance, then it outputs the corresponding ear detection signal, that is, it determines that the current earphone is not in the wearing state.
[0062] Furthermore, in this embodiment, the headphone wearing detection circuit also includes: a speaker 40;
[0063] Speaker 40 is connected to controller 30;
[0064] The controller 30 is also used to transmit an in-ear detection signal or an out-of-ear detection signal to the speaker 40;
[0065] Speaker 40 is used to enter standby mode when it receives an ear detection signal;
[0066] The speaker 40 is also used to enter normal operating mode when it receives an in-ear detection signal.
[0067] It should be noted that in this embodiment, the controller 30 is also connected to the speaker 40 of the headphones, and can output corresponding in-ear detection signals or out-of-ear detection signals to the speaker 40. If the speaker 40 receives the in-ear detection signal output by the controller 30, it can enter the normal working mode and play the currently set sound normally; if the speaker 40 receives the out-of-ear detection signal output by the controller 30, it can enter the low-power standby mode, pause the playback of the currently set sound, so as to reduce power consumption and improve battery life.
[0068] In addition, to achieve the above objectives, this application also proposes a wireless Bluetooth headset, which adopts all embodiments of the headset wearing detection circuit described above.
[0069] It should be noted that, in this embodiment, as Figure 4 As shown, Figure 4 This is a schematic diagram of the structure of a wireless Bluetooth headset according to an embodiment of this application. Inside the wireless Bluetooth headset, a lens 110 for transmitting infrared light is provided (facing the user's skin when the headset is worn). The first detection circuit (not shown in the figure) described above is located inside the lens 110, which has the function of transmitting and receiving infrared light, and can transmit and receive the preset infrared light signal through the lens 110. Further inside the wireless Bluetooth headset, a second detection circuit (not shown in the figure) connected to a metal conductive sheet 120 is also provided. This circuit can form an equivalent capacitance through the metal conductive sheet 120 and detect the capacitance value of the equivalent capacitance. Furthermore, the controller described above can be a system-on-a-chip (not shown in the figure) inside the wireless Bluetooth headset.
[0070] Compared with the prior art, the beneficial effects of the wireless Bluetooth headset provided in this application embodiment are the same as the beneficial effects of the headset wearing detection circuit provided in the above embodiments, and other technical features of the wireless Bluetooth headset are the same as those disclosed in the above embodiments, and will not be repeated here.
[0071] The above are merely preferred embodiments of this application and do not limit the patent scope of this application. Any equivalent structural or procedural transformations made using the content of this application's specification and drawings, or direct or indirect applications in other related technical fields, are similarly included within the patent scope of this application.
Claims
1. A headphone wearing detection circuit, characterized in that, The headphone wearing detection circuit includes: The first detection circuit, connected to the controller, is used to send and receive preset infrared light signals, and when receiving the preset infrared light, transmits a corresponding first distance detection signal to the controller. The second detection circuit is connected to the controller and is used to collect the capacitance value corresponding to the capacitance detection terminal, and transmit the corresponding second distance detection signal to the controller when the capacitance value is collected. The controller is configured to output a corresponding in-ear detection signal when both the first distance corresponding to the first distance detection signal and the second distance corresponding to the second distance detection signal are less than a preset distance. The in-ear detection signal is used to indicate that the earphone is currently being worn.
2. The headphone wearing detection circuit as described in claim 1, characterized in that, The first detection circuit includes: an infrared light emitter, an infrared light receiver, and a distance calculation unit; The distance calculation unit is connected to the infrared light transmitter, the infrared light receiver, and the controller, respectively. The infrared light emitter is used to emit the preset infrared light signal, and when emitting the infrared light signal, it outputs a first time signal to the distance calculation unit; The infrared light receiver is used to receive the corresponding reflected preset infrared light signal, and when the infrared light signal is received, it outputs a second time signal to the distance calculation unit; The distance calculation unit is used to transmit the corresponding first distance detection signal to the controller when it receives the first time signal and the second time signal.
3. The headphone wearing detection circuit as described in claim 1, characterized in that, The controller is further configured to send an enable signal to the second detection circuit when the first distance corresponding to the received first distance detection signal is less than the preset distance; When the second detection circuit receives the enable signal, it acquires the capacitance value corresponding to the capacitance detection terminal, and transmits the corresponding second distance detection signal to the controller when the capacitance value is acquired.
4. The headphone wearing detection circuit as described in claim 3, characterized in that, The second detection circuit includes: a trigger unit and a capacitive reactance sampling unit; The enable terminal of the capacitive reactance sampling unit is connected to the output terminal of the trigger unit, the input terminal of the trigger unit is connected to the controller, and the output terminal of the capacitive reactance sampling unit is also connected to the controller. The triggering unit is configured to output a trigger signal to the capacitive reactance sampling unit when the enable signal is received; The capacitive reactance sampling unit is used to collect the capacitance value of the capacitance detection terminal when the trigger signal is received, and to transmit the corresponding second distance detection signal to the controller when the capacitance value is collected.
5. The headphone wearing detection circuit as described in claim 4, characterized in that, The triggering unit includes: a PMOS transistor and a first resistor; The gate of the PMOS transistor is connected to the controller, the drain of the PMOS transistor is connected to the first end of the first resistor, the source of the PMOS transistor is grounded, and the second end of the first resistor is connected to the capacitive reactance acquisition unit.
6. The headphone wearing detection circuit as described in claim 4, characterized in that, The capacitive reactance sampling unit includes: a second resistor, a first capacitor, and a capacitive reactance sampling chip; The sampling pin of the capacitive reactance sampling chip is connected to the capacitance detection terminal, the data transmission pin of the capacitive reactance sampling chip is connected to the controller, and the power supply pin of the capacitive reactance sampling chip is connected to the output terminal of the trigger unit, the second terminal of the second resistor, and the first terminal of the first capacitor, respectively. The first end of the second resistor is connected to the power supply, and the second end of the first capacitor is grounded.
7. The headphone wearing detection circuit as described in claim 1, characterized in that, The controller is configured to receive the second distance detection signal again based on a preset number of times when the first distance corresponding to the first distance detection signal is less than the preset distance and the second distance corresponding to the second distance detection signal is not less than the preset distance, and to output the in-ear detection signal when the number of times the second distance corresponding to each of the second distance detection signals is less than the preset distance exceeds a second preset number of times.
8. The headphone wearing detection circuit as described in claim 1, characterized in that, The controller is configured to output a corresponding ear-out detection signal when the first distance corresponding to the first distance detection signal and the second distance corresponding to the second distance detection signal are not simultaneously less than the preset distance. The ear-out detection signal is used to indicate that the earphone is not currently being worn.
9. The headphone wearing detection circuit as described in claim 8, characterized in that, The headphone wearing detection circuit also includes: a speaker; The speaker is connected to the controller; The controller is also configured to transmit the in-ear detection signal or the out-of-ear detection signal to the speaker; The speaker is configured to enter standby mode upon receiving the ear detection signal; The speaker is also used to enter a normal operating mode when it receives the in-ear detection signal.
10. A wireless Bluetooth headset, characterized in that, The wireless Bluetooth headset uses the headset wearing detection circuit as described in any one of claims 1 to 9.