CN115371539A - Earphone, method, device and medium for detecting wearing of earphone - Google Patents

Earphone, method, device and medium for detecting wearing of earphone Download PDF

Info

Publication number
CN115371539A
CN115371539A CN202110550660.7A CN202110550660A CN115371539A CN 115371539 A CN115371539 A CN 115371539A CN 202110550660 A CN202110550660 A CN 202110550660A CN 115371539 A CN115371539 A CN 115371539A
Authority
CN
China
Prior art keywords
wearing
sensor
earphone
capacitance value
headset
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110550660.7A
Other languages
Chinese (zh)
Inventor
于学球
石亦欣
姜英
俞军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Fudan Microelectronics Group Co Ltd
Original Assignee
Shanghai Fudan Microelectronics Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Fudan Microelectronics Group Co Ltd filed Critical Shanghai Fudan Microelectronics Group Co Ltd
Priority to CN202110550660.7A priority Critical patent/CN115371539A/en
Publication of CN115371539A publication Critical patent/CN115371539A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01BMEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
    • G01B7/00Measuring arrangements characterised by the use of electric or magnetic techniques
    • G01B7/14Measuring arrangements characterised by the use of electric or magnetic techniques for measuring distance or clearance between spaced objects or spaced apertures
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R1/00Details of transducers, loudspeakers or microphones
    • H04R1/10Earpieces; Attachments therefor ; Earphones; Monophonic headphones
    • H04R1/1091Details not provided for in groups H04R1/1008 - H04R1/1083
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R29/00Monitoring arrangements; Testing arrangements

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Acoustics & Sound (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Otolaryngology (AREA)
  • General Physics & Mathematics (AREA)
  • Headphones And Earphones (AREA)

Abstract

The embodiment of the invention provides an earphone, and a method, equipment and a medium for detecting wearing of the earphone. The method includes acquiring a first reference capacitance value corresponding to a wearing auxiliary sensor and a second reference capacitance value corresponding to the wearing sensor, receiving a capacitance signal related to the headset to generate a first capacitance value, and determining whether a first variation amount thereof with respect to the first reference capacitance value is greater than a first wearing auxiliary threshold value, if so, receiving the capacitance signal related to the headset entering the ear to generate a second capacitance value, and determining whether a second variation amount thereof with respect to the second reference capacitance value is greater than the first wearing threshold value, if so, receiving the capacitance signal related to the headset leaving the hand to generate a third capacitance value, and determining whether a third variation amount thereof with respect to the first capacitance value is less than the second wearing auxiliary threshold value, and if so, determining that the headset is in a worn state. The scheme of the embodiment of the invention can effectively improve the detection accuracy of the earphone state.

Description

Earphone, method, device and medium for detecting wearing of earphone
Technical Field
The present invention relates to the field of signal processing technologies, and in particular, to an earphone, and a method, an apparatus, and a medium for detecting wearing of the earphone.
Background
The prior art for detecting whether the headset is worn includes a light detection technology and an infrared detection technology. The light detection technology detects the wearing state of the headset by using a proximity sensor; the infrared detection is to emit infrared light outwards through the infrared sensor or receive the infrared light to obtain the distance between the infrared detection sensor and the human ear, and the wearing state of the earphone is detected based on the distance.
However, when the existing technologies are used to detect whether the earphone is worn, the false detection rate is high.
Disclosure of Invention
The technical problem solved by the invention comprises that the error detection rate is higher when the earphone is detected whether to be worn or not in the prior art.
To solve the above technical problem, the present invention provides a method for detecting wearing of an earphone, the earphone including a wearing auxiliary sensor and a wearing sensor, the wearing auxiliary sensor being adapted to sense a capacitance signal associated with holding the earphone in hand or leaving the earphone in hand, the wearing sensor being adapted to sense a capacitance signal associated with entering and exiting the earphone from ear, the method including: s1, acquiring a first reference capacitance value corresponding to a wearing auxiliary sensor and a second reference capacitance value corresponding to the wearing sensor; s2, receiving a capacitance signal which is sensed by the wearing auxiliary sensor and is related to the handheld earphone to generate a first capacitance value, and judging whether a first variation of the first capacitance value relative to a first reference capacitance value is larger than a first wearing auxiliary threshold value; s3, if the first variation is larger than the first wearing auxiliary threshold value, receiving a capacitance signal which is sensed by the wearing sensor and is related to the in-ear of the earphone to generate a second capacitance value, and judging whether the second variation of the second capacitance value is larger than the first wearing threshold value or not; s4, if the second variation is larger than the first wearing threshold value, receiving a capacitance signal which is sensed by the wearing auxiliary sensor and is related to the fact that the hand leaves the earphone to generate a third capacitance value, and judging whether the third variation of the third capacitance value is smaller than the second wearing auxiliary threshold value or not; and S5, if the third variation is smaller than the second wearing auxiliary threshold, determining that the earphone is in a worn state.
Optionally, the wear sensor comprises at least one wear sensor; when the wear sensors include at least two wear sensors, the method includes: if the first variation is larger than the first wearing auxiliary threshold value, detecting the second capacitance values of the at least two wearing sensors, and judging whether the second variations of the second capacitance values are larger than the first wearing threshold values corresponding to the wearing sensors respectively, if so, receiving capacitance signals sensed by the wearing auxiliary sensors and related to the leaving of the hands from the earphone to generate third capacitance values, and judging whether the third variations of the first capacitance values are smaller than the second wearing auxiliary threshold values.
Optionally, the method comprises: and receiving the capacitance signal which is sensed by the wearing sensor and is related to the ear emergence of the earphone after the earphone is determined to be in the wearing state to generate a fourth capacitance value, judging whether the fourth variation of the capacitance value is smaller than a second wearing threshold value, if so, determining that the earphone is in the non-wearing state, and otherwise, determining that the earphone is in the wearing state.
Optionally, the method comprises: s1 is performed when the headset is powered on or when it is determined that the headset is in an unworn state.
Optionally, the wear sensor comprises at least one wear sensor; when the wear sensors include at least two wear sensors, the method includes: after the earphone is determined to be in the worn state, detecting the fourth capacitance values of the at least two wearing sensors respectively, and judging whether the fourth variation of the second capacitance values is smaller than the second wearing threshold value corresponding to each wearing sensor respectively, if so, determining that the earphone is in the unworn state, otherwise, determining that the earphone is in the worn state.
Optionally, the method comprises: and detecting a first capacitance value of the wearing auxiliary sensor after the earphone is determined to be in the worn state, and judging whether a first variation of the first capacitance value is larger than a first wearing auxiliary threshold value, if so, determining that the earphone is normally moved out, otherwise, determining that the earphone is abnormally moved out.
Optionally, the method comprises: the capacitance signals sensed by the wearing auxiliary sensor and the wearing sensor are received based on a first period when the headset is in an unworn state.
Optionally, the headset includes a touch sensor adapted to sense a capacitive signal related to a touch operation, where the touch operation includes several operations of touching the headset to cause a playback device connected to the headset to perform a corresponding action, and the method includes: the method may further include starting to detect the wearing auxiliary sensor, the wearing sensor, and/or the touch sensor based on a second period when the headset is determined to be in the worn state or when a signal regarding a touch operation is received after the headset is determined to be in the worn state, wherein the second period is less than the first period.
The invention also provides a device for detecting wearing of an earphone, comprising: a processor; a memory storing a computer program operable on the processor; wherein the computer program realizes the above method when executed by a processor.
The present invention also provides a computer-readable storage medium having a computer program stored thereon, which when executed, implements the above-described method.
The present invention also provides an earphone comprising: a wear assist sensor adapted to sense a capacitance signal associated with the headset being held or hands being off; a wear sensor adapted to sense a capacitance signal associated with the headset in and out of the ear; a signal processing circuit connected to the wearing auxiliary sensor and the wearing sensor and adapted to acquire a first reference capacitance value corresponding to the wearing auxiliary sensor and a second reference capacitance value corresponding to the wearing sensor, receive a capacitance signal sensed by the wearing auxiliary sensor to generate a first capacitance value associated with the headset and a third capacitance value associated with the headset being away from the hand, and receive a signal sensed by the wearing sensor to generate a second capacitance value associated with the headset being in the ear; and the controller is connected with the signal processing circuit and is suitable for judging whether a first variation of the first capacitance value relative to the first reference capacitance value is larger than a first wearing auxiliary threshold value or not, judging whether a second variation of the second capacitance value relative to the second reference capacitance value is larger than the first wearing threshold value or not if the first variation is larger than the first wearing auxiliary threshold value, judging whether a third variation of the third capacitance value relative to the first capacitance value is smaller than the second wearing auxiliary threshold value if the first variation is larger than the second wearing auxiliary threshold value, and determining that the earphone is in a worn state if the third variation is larger than the second wearing auxiliary threshold value.
Optionally, the signal processing circuit is adapted to receive the signal sensed by the wearing sensor to generate a fourth capacitance value associated with the ear outlet of the earphone; the controller is adapted to determine whether a fourth variation of the wearing sensor with respect to the second capacitance value is smaller than a second wearing threshold value based on a fourth capacitance value of the wearing sensor after determining that the earphone is in the worn state, and if so, determine that the earphone is in the unworn state, otherwise, determine that the earphone is in the worn state.
Optionally, the earphone comprises a touch sensor adapted to sense a capacitive signal related to a touch operation, where the touch operation includes a number of operations of touching the earphone to cause a playback device connected to the earphone to perform a corresponding action.
Optionally, the signal processing circuit is adapted to receive a capacitance signal sensed by the touch sensor and generate a fifth capacitance value related to the touch operation, and the controller is adapted to generate a control signal corresponding to the touch operation based on the fifth capacitance value so as to enable the playback device to perform a corresponding action.
Optionally, the headset comprises a housing, the wear aid sensor, the wear sensor and the touch sensor all engaging an inner surface of the housing.
Optionally, the headset comprises a multiplexing sensor, the controller being adapted to cause the multiplexing sensor to act as a wearing aid sensor when the headset is powered on or when it is determined that the headset is in an unworn state, and to cause the multiplexing sensor to act as a touch sensor when it is determined that the headset is in a worn state.
Compared with the prior art, the technical scheme of the embodiment of the invention has the beneficial effect.
For example, the existing earphones with the wearing detection function generally have the problem of false detection, such as when the earphones are placed on a table, held by a user or placed in a pocket, the state of the earphones can be detected as being in a worn state; in the technical solution of the embodiment of the present invention, three steps of sequentially determining (e.g., whether the first variation is greater than the first wearing assistance threshold, whether the second variation is greater than the first wearing assistance threshold, and whether the third variation is less than the second wearing assistance threshold) are included, which may effectively improve the accuracy of detecting the state of the headset, and enable the headset to perform a corresponding action based on the identified state of the headset, e.g., enable the touch sensor to be inoperative or not receive and process the capacitance signal sensed by the touch sensor when the headset is in an unworn state, which both reduces the power consumption of the headset and improves the user experience.
For another example, when the headset is loose (e.g., the headset is loose due to the user running or touching the hand by mistake) after wearing the headset, the state of the headset may be erroneously detected as being in an unworn state; in the technical solution of the embodiment of the present invention, a relevant determining step (for example, whether the fourth variation is smaller than the second wearing threshold) is included, which may effectively improve the accuracy of detecting the state of the headset, and the headset performs a corresponding action based on the identified state of the headset, for example, when the headset is in the wearing state, the touch sensor is enabled to work, and the playing device connected to the headset performs a corresponding action, which improves the user experience.
For another example, in the technical solution of the embodiment of the present invention, the capacitance signals sensed by the wearing aid sensor and the wearing sensor are received based on a first period when the earphone is in the unworn state, and the wearing aid sensor, the wearing sensor and/or the touch sensor are detected based on a second period when the earphone is in the worn state or when a signal related to a touch operation is received after the earphone is determined to be in the worn state, where the second period is smaller than the first period, which reduces power consumption of the earphone when the earphone is unworn and improves cruising ability of the earphone.
Drawings
Fig. 1 is a schematic flow chart of a method for detecting wearing of an earphone according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of an earphone according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of another earphone in the embodiment of the present invention;
fig. 4 is a schematic structural diagram of another earphone in the embodiment of the present invention.
Detailed Description
In embodiments of the invention, the headset is an in-ear headset, including wired and wireless headsets. Wired headphones means a connection between headphones and a playback device by a tangible line; the wireless earphone is connected with the playing device in a wireless mode and comprises an infrared earphone and a Bluetooth earphone. The playing device includes fixed and mobile electronic devices capable of playing sound, such as a music player, a mobile phone and a television.
In the embodiment of the present invention, wearing the headphone means that the headphone is in the ear and in a state in which it can be listened to, and not wearing the headphone means that the headphone is out of the ear and in a state in which it cannot be listened to.
In the embodiment of the present invention, the condition that the handheld earphone or the earphone is in the handheld state includes that the earphone is held in the handheld state and the capacitance signal sensed by the wearing auxiliary sensor changes when the hand approaches the earphone, and the condition that the earphone is inserted into the ear or the earphone is in the ear insertion state includes that the earphone enters and contacts the ear and the capacitance signal sensed by the wearing sensor changes when the earphone approaches the ear.
In the embodiment of the invention, when the earphone is in the ear, the earphone can send a signal to the playing device connected with the earphone, so that the playing device automatically plays programs or plays the programs again; when the earphone is worn, the earphone can send a signal to the playing equipment connected with the earphone, so that the playing equipment automatically plays programs, continuously plays programs or executes actions corresponding to touch operation; when the earphone is out of the ear, the earphone can send a signal to the playing device connected with the earphone, so that the playing device can pause playing the program, stop playing the program, and play the program by using other devices except the earphone (for example, playing the program by using a loudspeaker of the playing device, an external sound device and the like). The touch control operation includes several operations of controlling the earphone to generate a corresponding control signal when a human hand approaches or touches the earphone touch control sensor, and the control signal can enable the playing device connected with the earphone to execute corresponding actions (such as playing, pausing, stopping, fast forwarding, fast rewinding, switching to a previous program, switching to a next program, and volume adjustment).
In the embodiment of the invention, the wearing auxiliary sensor, the wearing sensor and the touch sensor are all capacitive sensors.
In the embodiment of the present invention, the first variation and the second variation are positive values, the third variation and the fourth variation are negative values, the first wearing assistance threshold and the first wearing threshold are positive values, and the second wearing assistance threshold and the second wearing threshold are negative values; when the specific numerical value comparison is performed, the third variation, the fourth variation, the second wearing assistance threshold, and the second wearing threshold are compared by taking absolute values thereof.
In order to make the objects, features and advantages of the embodiments of the present invention more comprehensible, specific embodiments accompanied with figures are described in detail below. It is to be understood that the following specific examples are illustrative of the invention and are not to be construed as limiting the invention. In addition, for convenience of description, only a part, not all of the structure related to the present invention is shown in the drawings.
The embodiment of the invention provides a method for detecting wearing of an earphone.
The headset includes a wear assist sensor and a wear sensor. The auxiliary wearing sensor is used for sensing capacitance signals related to the earphone being held or the earphone being away from the hand, and the wearing sensor is used for sensing capacitance signals related to the earphone entering and exiting the ear.
As shown in fig. 1, the method 100 of detecting wearing of a headphone includes steps S1 to S5.
S1, a first reference capacitance value corresponding to the wearing auxiliary sensor and a second reference capacitance value corresponding to the wearing sensor are obtained.
The first reference capacitance value is related to the material of the auxiliary sensor, the surface area of the earphone shell, the material and the thickness of the earphone shell, and the second reference capacitance value is related to the material of the auxiliary sensor, the surface area of the earphone shell, the material and the thickness of the earphone shell.
In one embodiment, the first baseline capacitance value and the second baseline capacitance value are each between 5 picofarads and 20 picofarads.
The first reference capacitance value corresponding to the wearing auxiliary sensor and the second reference capacitance value corresponding to the wearing sensor may be actively acquired based on charging and discharging of the capacitor when the earphone is in an unworn state. For example, the state when the headset is powered on (i.e., turned on) is set to the state that the headset is not worn, and S1 may be performed when the headset is powered on or when the headset is detected to be in the unworn state.
Specifically, the first reference capacitance value and the second reference capacitance value may be obtained when the earphone is powered on; the first reference capacitance value and the second reference capacitance value can be acquired when the earphone is detected to be in an unworn state, the two reference capacitance values can be updated timely after the earphone is electrified for a period of time, and detection errors caused by long-time use of the earphone and offset of the first reference capacitance value and the second reference capacitance value are avoided.
And S2, receiving the capacitance signal which is sensed by the wearing auxiliary sensor and is related to the handheld earphone to generate a first capacitance value, and judging whether a first variation of the first capacitance value relative to a first reference capacitance value is larger than a first wearing auxiliary threshold value.
If the earphone is held by hands, the capacitance signal sensed by wearing the auxiliary sensor changes, and the corresponding first capacitance value is increased by a first variable quantity compared with the first reference capacitance value when the earphone is not held by hands.
In particular implementations, the first wear assistance threshold may be greater than or equal to 0.2 picofarads, less than or equal to 1.5 picofarads.
And S3, if the first variation is larger than the first wearing auxiliary threshold value, receiving a capacitance signal which is sensed by the wearing sensor and is related to the ear insertion of the earphone to generate a second capacitance value, and judging whether the second variation of the second capacitance value is larger than the first wearing threshold value or not.
If the first variation is larger than the first wearing auxiliary threshold, the earphone is in a handheld state, otherwise, the earphone is in an unpeeled state.
When the earphone is in a handheld state, if the earphone is in the ear, the capacitance signal sensed by the wearing sensor changes, and the corresponding second capacitance value increases by a second variable quantity compared with a second reference capacitance value when the earphone is not in the ear.
The wear sensor may comprise one, two or more wear sensors.
In some embodiments, the wear sensor comprises at least two wear sensors; s3 comprises the following steps: if the first variation is larger than the first wearing auxiliary threshold value, detecting the second capacitance values of the at least two wearing sensors, and judging whether the second variations of the second capacitance values are larger than the first wearing threshold values corresponding to the wearing sensors respectively, if so, receiving capacitance signals sensed by the wearing auxiliary sensors and related to the leaving of the hand from the earphone to generate third capacitance values, and judging whether the third variations of the first capacitance values are smaller than the second wearing auxiliary threshold values.
Different wear sensors may have different configurations, locations and manners of engagement with the earphone house, and thus, they may have different first wear thresholds.
Specifically, the at least two wearing sensors may both correspond to the same first wearing threshold value, and may also respectively correspond to different first wearing threshold values; in the at least two wearing sensors, a part of the wearing sensors may correspond to the same first wearing threshold, and another part of the wearing sensors may correspond to different first wearing thresholds. Wherein the first wearing threshold may be one value or a set of values.
The at least two wearing sensors are located at different positions, and the earphone is determined to be in an in-ear state only when the corresponding second variable quantities are larger than the corresponding first wearing threshold values, so that the accuracy of earphone state detection can be improved.
In particular implementations, the first wear threshold may be greater than or equal to 0.2 picofarads, less than or equal to 1.5 picofarads.
And S4, if the second variation is larger than the first wearing threshold value, receiving a capacitance signal which is sensed by the wearing auxiliary sensor and is related to the departure of the hand from the earphone to generate a third capacitance value, and judging whether the third variation of the first capacitance value is smaller than the second wearing auxiliary threshold value or not.
If the second variation is larger than the first wearing threshold, the earphone is in an in-ear state, otherwise, the earphone is in an out-of-ear state.
When the earphone is in the in-ear state, if the earphone leaves the hand, the capacitance signal sensed by the wearing auxiliary sensor changes, and the corresponding third capacitance value is reduced by a third variable quantity (an absolute value) compared with the first capacitance value.
In a specific implementation, the second wear assistance threshold (in absolute terms) may be greater than or equal to 0.1 picofarad, less than or equal to 1.0 picofarad.
And S5, if the third variation is smaller than the second wearing auxiliary threshold, determining that the earphone is in a worn state.
When the third variation is not less than the second wearing assistance threshold, it indicates that the hand is not away from the earphone, the hand may adjust the earphone near the ear or prepare to take the earphone away from the ear, and the earphone is in an unstable state; at this time, the earphone is set to an unworn state. When the third variation is smaller than the second wearing assistance threshold, it indicates that the hand has left the earphone, which is a stable state; at this time, the earphone is set to a wearing state.
Step S6 may also be performed after determining that the headset is in a worn state.
S6, the method comprises the following steps: and receiving a capacitance signal which is sensed by the wearing sensor and is related to the ear emergence of the earphone to generate a fourth capacitance value, judging whether the fourth variation of the capacitance value is smaller than a second wearing threshold value, if so, determining that the earphone is in an unworn state, otherwise, determining that the earphone is in a worn state.
After the earphone is in the worn state, if the earphone leaves the ear, the capacitance signal sensed by the wearing sensor changes, and the corresponding fourth capacitance value is reduced by a fourth variable quantity (an absolute value) compared with the second capacitance value.
In particular implementations, the second wear threshold (in absolute terms) may be greater than or equal to 0.1 picofarads, less than or equal to 1.0 picofarads.
In some embodiments, the wear sensor comprises at least two wear sensors; s6 comprises the following steps: after the earphone is determined to be in the worn state, detecting the fourth capacitance values of the at least two wearing sensors respectively, and judging whether the fourth variation of the second capacitance values is smaller than the second wearing threshold value corresponding to each wearing sensor respectively, if so, determining that the earphone is in the unworn state, otherwise, determining that the earphone is in the worn state.
Different wear sensors may have different configurations, locations and manners of engagement with the earphone house, and thus, they may have different second wear thresholds.
Specifically, the at least two wearing sensors may both correspond to the same second wearing threshold value, or may correspond to different second wearing threshold values; in the at least two wearing sensors, a part of the wearing sensors may correspond to the same second wearing threshold, and another part of the wearing sensors may correspond to different second wearing thresholds. Wherein the second wearing threshold may be one value or a set of values.
When the headset is slightly loosened after the headset is determined to be in the worn state (for example, the looseness caused by the user running or pressing the headset with a finger), the partial wearing sensor may be away from the ear, and the corresponding partial fourth variation may be smaller than the second wearing threshold, which may result in false detection of the headset state if only the partial fourth variation is compared with the second wearing threshold. In the embodiment of the present invention, the at least two wearing sensors are located at different positions, the headset is detected based on whether the fourth variation amounts of the at least two wearing sensors with respect to the second capacitance value are all smaller than the second wearing threshold value corresponding to each of the wearing sensors, and the headset is determined to be in the unworn state only when all the fourth variation amounts are smaller than the corresponding second wearing threshold values, which may improve the accuracy of headset state detection.
In other embodiments, the first capacitance value of the wear-assist sensor is detected after the headset is determined to be in the worn state, and it is determined whether a first variation thereof with respect to the first reference capacitance value is greater than a first wear-assist threshold. If the judgment result is yes, the earphone is held by hands, and therefore the earphone is determined to be normally moved out; otherwise, it indicates that the headset is not held in the hand, and thus is determined to be abnormally removed (e.g., the user slides down the headset in a violent exercise).
In an embodiment of the present invention, the headset may receive the wearing auxiliary sensor and the capacitance signal sensed by the wearing sensor based on a first period when the headset is in an unworn state.
The headset may include a touch sensor adapted to sense a capacitive signal related to a touch operation, the touch operation including several operations of touching or controlling the headset to cause a playback device connected to the headset to perform a corresponding action.
The wearing auxiliary sensor, the wearing sensor, and/or the touch sensor may be detected based on a second period, which is less than the first period, when the headset is determined to be in the worn state or when a signal regarding a touch operation is received after the headset is determined to be in the worn state.
In particular implementations, the first period may be greater than or equal to 80 milliseconds and less than or equal to 400 milliseconds; the second period may be greater than or equal to 20 milliseconds and less than 80 milliseconds.
An embodiment of the present invention further provides an apparatus for detecting wearing of a headset, including a processor and a memory, where the memory stores a computer program that is executable on the processor, and when the computer program is executed by the processor, the method for detecting wearing of a headset described above with reference to fig. 1 is implemented.
An embodiment of the present invention further provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed, the method for detecting wearing of an earphone is implemented in conjunction with fig. 1.
The embodiment of the invention also provides the earphone.
As shown in fig. 2, the headset 200 includes a wearing auxiliary sensor 210, a wearing sensor 220, a signal processing circuit 230, and a controller 240.
The wear assist sensor 210 is used to sense a capacitance signal associated with holding or removing the hand from the headset 200.
The wear sensor 220 is used to sense capacitive signals associated with the entry and exit of the headset 200 into and out of the ear. The wear sensor may comprise one, two or more wear sensors.
The signal processing circuit 230 connects the wearing assistance sensor 210 and the wearing sensor 220. The signal processing circuit 230 may acquire a first reference capacitance value corresponding to the wearing auxiliary sensor 210 and a second reference capacitance value corresponding to the wearing sensor 220, receive a capacitance signal sensed by the wearing auxiliary sensor 210 to generate a first capacitance value associated with the headset 200 and a third capacitance value associated with the departure of the hand from the headset 200, and receive a signal sensed by the wearing sensor 220 to generate a second capacitance value associated with the entry of the headset 200 into the ear.
The controller 240 is connected to the signal processing circuit 230 and receives signals output therefrom, such as signals related to the first reference capacitance value, the second reference capacitance value, the first capacitance value, the second capacitance value, and the third capacitance value. The controller 240 determines whether a first variation of the first capacitance value with respect to the first reference capacitance value is greater than a first wearing auxiliary threshold, determines whether a second variation of the second capacitance value with respect to the second reference capacitance value is greater than the first wearing threshold if the first variation is greater than the first wearing auxiliary threshold, determines whether a third variation of the third capacitance value with respect to the first capacitance value is less than the second wearing auxiliary threshold if the second variation is greater than the second wearing auxiliary threshold, and determines that the headset is in a worn state if the third variation is greater than the first wearing auxiliary threshold.
In a specific implementation, the signal processing circuit 230 and the controller 240 may be two components, wherein the former may include a touch signal processing chip, and the latter may include a control chip; the touch signal processing circuit 230 and the controller 240 may also be integrated into one component to perform touch signal processing and control functions.
In a specific implementation, the signal processing circuit 230 may receive the signal sensed by the wearing sensor 220 to generate a fourth capacitance value related to the ear outlet of the earphone 200; the controller 240 may receive the signal regarding the fourth capacitance value, and determine whether a fourth variation amount thereof regarding the second capacitance value is smaller than the second wearing threshold value based on the fourth capacitance value of the wearing sensor 220 after determining that the headset 200 is in the worn state, and if so, determine that the headset 200 is in the unworn state, otherwise determine that the headset 200 is in the worn state.
In a specific implementation, the headset 200 may include a touch sensor for sensing a capacitive signal related to a touch operation, where the touch operation includes several operations of touching the headset to cause a playback device connected to the headset to perform a corresponding action.
In an implementation, the capacitance signal, such as the signal sensed by the wearing auxiliary sensor 210, the wearing sensor 220, and the touch sensor, may be an analog signal; the capacitance value (or referred to as a capacitance value signal) generated by the signal processing circuit 230, for example, signals related to the first reference capacitance value, the second reference capacitance value, the first capacitance value, the second capacitance value, the third capacitance value, and the fourth capacitance value, may be digital signals.
In an implementation, the signal processing circuit 230 may receive the capacitance signal sensed by the touch sensor to generate a fifth capacitance value related to the touch operation, and the controller 240 may generate a control signal corresponding to the touch operation based on the fifth capacitance value to enable the playback device to perform a corresponding action.
In a specific implementation, the signal processing circuit 230 may generate a corresponding capacitance value in real time when receiving a capacitance signal sensed by the wearing auxiliary sensor 210, the wearing sensor 220, or the touch sensor.
In a specific implementation, the headset 200 includes a housing, and the wear aid sensor 210, the wear sensor 220, and the touch sensor may all be coupled to an inner surface of the housing.
In the prior art such as optical detection and infrared detection, in order to detect the wearing state of the earphone, holes need to be punched on the shell of the earphone, so that the structure of the earphone is complex, the assembly difficulty is increased, and the production cost is increased.
In the embodiment of the invention, the wearing sensor, the wearing auxiliary sensor and the touch sensor can be jointed on the inner surface of the earphone shell, when a human hand approaches or contacts the earphone, two poles of a capacitor are formed with the sensors, and the earphone shell is used as a medium between the two poles; whether the human hand and the like approach or contact the earphone can be determined through the capacitance value of the capacitor, and the capacitance detection means does not need to form holes in the earphone shell, so that the structure is simple, and the cost is low.
In a particular application scenario, the headset 200 may be a headset having a particular configuration, such as the headsets 300 and 400 shown in fig. 3 and 4, respectively.
The earphones 200, 300, 400 in the different embodiments have similar components and may perform similar functions; the functions, positional relationships, signal connection relationships, data transmission relationships, and the like of the relevant components in the different embodiments may be referred to one another unless otherwise indicated.
Fig. 3 includes sub-figures 3a and 3b, which illustrate side and front profiles, respectively, of the headset 300.
The earpiece 300 includes a head 310 and a handle 320. The housing of the headset 300 may include a head housing and a handle housing; the head 310 includes a head housing and a cavity enclosed thereby, and the handle 320 includes a handle housing and a cavity enclosed thereby.
Head 310 includes a region 311 that can be contacted or sensed by the ear and a region 312 that is not contacted or sensed by the ear, separated by the dashed line; the area 311 that can be contacted or sensed by the ear can be referred to as a wear sensing zone, the area 312 that is not contacted and sensed by the ear and the outer surface area of the handle 320 can be referred to as a touch sensing zone.
The wear sensor may have a shape that fits the inner surface of the ear, for example a four sided fan shape as illustrated in fig. 3 (as shown at 314, 315). The number of wear sensors may be one, two or more, two wear sensors 314, 315 being illustrated in fig. 3.
The wear sensors 314, 315 may be located in a wear sensing area, such as near the earphone sound outlet hole 318 or at the lower edge 319 of the head 310.
The wear-assist sensor may have any shape, for example, a circle, a bar. The number of wearing support sensors may be one, two or more, and one wearing support sensor 313 is illustrated in fig. 3.
In some embodiments, the headset 300 further includes a touch sensor that senses a capacitive signal associated with a touch operation.
The touch sensors may have any shape, e.g. circular, block-shaped, and the number of touch sensors may be one, two or more, two touch sensors 316, 317 being illustrated in fig. 3.
The wear aid sensor 313 and the touch sensors 316, 317 may be disposed in the touch sensitive area, for example, the wear aid sensor 313 may be disposed in an upper portion of the outer surface of the area 312 and/or the handle 320, and the touch sensors 316, 317 may be disposed in a middle portion and/or a lower portion of the outer surface of the handle 320.
The wearing auxiliary sensor and the touch sensor may be sensors independent from each other, i.e., the wearing auxiliary sensor is only used for sensing a capacitance signal related to holding or taking a hand off the headset, and the touch sensor is only used for sensing a capacitance signal related to a touch operation.
The wearing auxiliary sensor and the touch sensor can be multiplexed to be used as a multiplexing sensor; for example, one or more of the touch sensors are multiplexed as wear assist sensors, and one or more of the wear assist sensors are multiplexed as touch sensors. When the earphone is powered on or the earphone is determined to be in an unworn state, the multiplexing sensor serves as an auxiliary wearing sensor; and when the earphone is determined to be in the worn state, multiplexing the sensor as a touch sensor.
As shown in fig. 4, headset 400 includes a head 410 and a handle 420, head 410 including a region 411 that can contact or sense with an ear and a region 412 that does not contact or sense with an ear, separated by dashed lines. A wear sensor 413 is provided in the area 411, and a multiplexing sensor 414 and a touch sensor 415 for touch only are provided in the handle 420.
The auxiliary wearing sensor and the touch sensor are multiplexed to be used as a multiplexing sensor, so that the area occupation of the sensor to the earphone shell area can be reduced, the number of the sensors is reduced, and more spaces and other functional components can be reserved.
Regarding the structure, function, implementation manner, and the like of the headset in the embodiment of the present invention, reference may be made to the above description related to the method for detecting wearing of the headset in conjunction with fig. 1, and details are not repeated here.
Although the present invention is disclosed above, the present invention is not limited thereto. Various changes and modifications may be effected therein by one skilled in the art without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (16)

1. A method of detecting wearing of a headset, the headset comprising a wearing aid sensor adapted to sense a capacitance signal associated with holding or removing a hand from the headset and a wearing sensor adapted to sense a capacitance signal associated with entering and exiting an ear of the headset, the method comprising:
s1, acquiring a first reference capacitance value corresponding to the wearing auxiliary sensor and a second reference capacitance value corresponding to the wearing sensor;
s2, receiving a capacitance signal which is sensed by the wearing auxiliary sensor and is related to holding the earphone by hand to generate a first capacitance value, and judging whether a first variation of the first capacitance value is larger than a first wearing auxiliary threshold value;
s3, if the first variation is larger than the first wearing auxiliary threshold, receiving a capacitance signal which is sensed by the wearing sensor and is related to the earphone in-ear to generate a second capacitance value, and judging whether the second variation of the second capacitance value is larger than the first wearing threshold or not;
s4, if the second variation is larger than the first wearing threshold, receiving a capacitance signal related to the fact that the hand leaves the earphone and sensed by the wearing auxiliary sensor to generate a third capacitance value, and judging whether the third variation of the first capacitance value is smaller than a second wearing auxiliary threshold or not;
and S5, if the third variation is smaller than the second wearing auxiliary threshold, determining that the earphone is in a worn state.
2. The method of claim 1, wherein the wear sensor comprises at least one wear sensor; when the wear sensor includes at least two wear sensors, the method includes: if the first variation is larger than the first wearing auxiliary threshold, detecting a second capacitance value of each of the at least two wearing sensors, and determining whether second variations thereof with respect to the second reference capacitance value are both larger than the first wearing threshold corresponding to each of the wearing sensors, and if so, receiving a capacitance signal related to the departure of the hand from the earphone sensed by the wearing auxiliary sensor to generate a third capacitance value, and determining whether the third variation thereof with respect to the first capacitance value is smaller than the second wearing auxiliary threshold.
3. The method of claim 1, comprising: receiving a capacitance signal which is sensed by the wearing sensor and is related to the ear emergence of the earphone after the earphone is determined to be in the wearing state to generate a fourth capacitance value, judging whether the fourth variation of the fourth capacitance value is smaller than a second wearing threshold value, if so, determining that the earphone is in the non-wearing state, otherwise, determining that the earphone is in the wearing state.
4. The method of claim 3, comprising: performing S1 when the headset is powered on or when it is determined that the headset is in an unworn state.
5. The method of claim 3, wherein the wear sensor comprises at least one wear sensor; when the wear sensor includes at least two wear sensors, the method includes: after the earphone is determined to be in the worn state, detecting a fourth capacitance value of each of the at least two wearing sensors, and judging whether fourth variation of the second capacitance value is smaller than a second wearing threshold value corresponding to each wearing sensor, if so, determining that the earphone is in the unworn state, otherwise, determining that the earphone is in the worn state.
6. The method of claim 3, comprising: detecting a first capacitance value of the wearing auxiliary sensor after the earphone is determined to be in a worn state, and judging whether a first variation of the first capacitance value is larger than a first wearing auxiliary threshold value, if so, determining that the earphone is normally moved out, otherwise, determining that the earphone is abnormally moved out.
7. The method of claim 1, comprising: receiving capacitance signals sensed by the wearing auxiliary sensor and the wearing sensor based on a first period when the headset is in an unworn state.
8. The method of claim 7, wherein the headset comprises a touch sensor adapted to sense a capacitive signal associated with a touch operation, the touch operation comprising operations to touch the headset to cause a playback device connected to the headset to perform corresponding actions, the method comprising: starting to detect the wearing auxiliary sensor, the wearing sensor, and/or the touch sensor based on a second period when the headset is determined to be in the worn state or when a signal regarding the touch operation is received after the headset is determined to be in the worn state, wherein the second period is smaller than the first period.
9. An apparatus for detecting wearing of a headset, comprising:
a processor;
a memory storing a computer program executable on the processor;
wherein the computer program, when executed by the processor, implements the method of any one of claims 1 to 8.
10. A computer-readable storage medium storing a computer program, wherein the computer program is configured to perform the method of any one of claims 1 to 8 when executed.
11. An earphone, comprising:
a wear assist sensor adapted to sense a capacitance signal associated with holding or removing the headset;
a wear sensor adapted to sense a capacitance signal associated with the headset in and out of the ear;
a signal processing circuit connected to the wear auxiliary sensor and the wear sensor and adapted to acquire a first reference capacitance value corresponding to the wear auxiliary sensor and a second reference capacitance value corresponding to the wear sensor, receive a capacitance signal sensed by the wear auxiliary sensor to generate a first capacitance value related to holding the earphone in hand and a third capacitance value related to leaving the earphone in hand, and receive a signal sensed by the wear sensor to generate a second capacitance value related to inserting the earphone into the ear;
a controller connected to the signal processing circuit and adapted to determine whether a first variation of the first capacitance value with respect to the first reference capacitance value is greater than a first wearing assistance threshold, if so, determine whether a second variation of the second capacitance value with respect to the second reference capacitance value is greater than the first wearing threshold, if so, determine whether a third variation of the third capacitance value with respect to the first capacitance value is less than the second wearing assistance threshold, and if so, determine that the headset is in a worn state.
12. The headset of claim 11, wherein the signal processing circuit is adapted to receive the signal sensed by the wear sensor to generate a fourth capacitance value associated with the headset exiting the ear; the controller is suitable for judging whether a fourth variation of the wearing sensor relative to the second capacitance value is smaller than a second wearing threshold value or not based on a fourth capacitance value of the wearing sensor after the earphone is determined to be in the worn state, if so, determining that the earphone is in the unworn state, otherwise, determining that the earphone is in the worn state.
13. The headset of claim 11, comprising a touch sensor adapted to sense a capacitive signal associated with a touch operation, wherein the touch operation comprises a number of operations that touch the headset to cause a playback device connected to the headset to perform a corresponding action.
14. The earphone according to claim 13, wherein the signal processing circuit is adapted to receive the capacitance signal sensed by the touch sensor and generate a fifth capacitance value related to a touch operation, and the controller is adapted to generate a control signal corresponding to the touch operation based on the fifth capacitance value so as to cause the playing device to perform a corresponding action.
15. The headset of claim 13, comprising a housing, the wear assist sensor, the wear sensor, and the touch sensor each engaging an inner surface of the housing.
16. The headset of claim 13, comprising a multiplexing sensor, wherein the controller is adapted to cause the multiplexing sensor to act as the wearing aid sensor when the headset is powered on or when the headset is determined to be in an unworn state, and to cause the multiplexing sensor to act as the touch sensor when the headset is determined to be in a worn state.
CN202110550660.7A 2021-05-17 2021-05-17 Earphone, method, device and medium for detecting wearing of earphone Pending CN115371539A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110550660.7A CN115371539A (en) 2021-05-17 2021-05-17 Earphone, method, device and medium for detecting wearing of earphone

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110550660.7A CN115371539A (en) 2021-05-17 2021-05-17 Earphone, method, device and medium for detecting wearing of earphone

Publications (1)

Publication Number Publication Date
CN115371539A true CN115371539A (en) 2022-11-22

Family

ID=84058348

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110550660.7A Pending CN115371539A (en) 2021-05-17 2021-05-17 Earphone, method, device and medium for detecting wearing of earphone

Country Status (1)

Country Link
CN (1) CN115371539A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2869594A1 (en) * 2013-11-05 2015-05-06 Xiaomi Inc. Method and device for controlling terminal by using headset wire, and apparatus
CN110447242A (en) * 2019-02-01 2019-11-12 深圳市汇顶科技股份有限公司 Wear detection device, method and earphone
CN111106821A (en) * 2019-12-04 2020-05-05 维沃移动通信有限公司 Touch control method and wearable device
CN111366175A (en) * 2020-04-20 2020-07-03 深圳市科奈信科技有限公司 Wireless earphone, method and device for detecting wearing state of wireless earphone and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2869594A1 (en) * 2013-11-05 2015-05-06 Xiaomi Inc. Method and device for controlling terminal by using headset wire, and apparatus
CN110447242A (en) * 2019-02-01 2019-11-12 深圳市汇顶科技股份有限公司 Wear detection device, method and earphone
CN111106821A (en) * 2019-12-04 2020-05-05 维沃移动通信有限公司 Touch control method and wearable device
CN111366175A (en) * 2020-04-20 2020-07-03 深圳市科奈信科技有限公司 Wireless earphone, method and device for detecting wearing state of wireless earphone and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
易艺;宋爱国;李会军;冷明鑫;: "电容式触觉传感器微电容检测电路设计", 仪表技术与传感器, no. 05, 15 May 2020 (2020-05-15) *

Similar Documents

Publication Publication Date Title
TWI736666B (en) Wireless ear buds
US10728646B2 (en) Earbud devices with capacitive sensors
EP3691291A1 (en) Wireless earpiece and control method therefor
EP3688998B1 (en) On/off head detection using capacitive sensing
CN113316076B (en) Wearing detection device and method and earphone
US20060045304A1 (en) Smart earphone systems devices and methods
US20070274530A1 (en) Audio Entertainment System, Device, Method, And Computer Program
US20110182457A1 (en) In-ear earphone with capacitive sensing function
CN109257674B (en) Wearing condition detection method and device of wireless earphone and wireless earphone
JP2010136035A (en) Music playback system and information processing method
KR20100088833A (en) Earphone device and method using it
US9538277B2 (en) Method and apparatus for controlling a sound input path
CN112040359B (en) Earphone control method and earphone
WO2022033176A1 (en) Audio play control method and apparatus, and electronic device and storage medium
CN115371539A (en) Earphone, method, device and medium for detecting wearing of earphone
CN108632713B (en) Volume control method and device, storage medium and terminal equipment
CN112752179A (en) Earphone control method, handle module and earphone
CN113395628B (en) Earphone control method and device, electronic equipment and computer readable storage medium
JP2015042008A (en) Audio playback system, earphones adopted for audio playback system, and automatic control method for audio playback system
CN114640922B (en) Intelligent earphone and in-ear adaptation method and medium thereof
CN109756625A (en) control method, control device, electronic device and storage medium
KR20150145671A (en) An input method using microphone and the apparatus therefor
CN114422905A (en) Control method and control device of wireless earphone, earphone assembly and storage medium
CN115550778A (en) Wireless earphone and control method thereof
KR20080110430A (en) System for function control in portable terminal

Legal Events

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