WO2020014853A1 - Earphone, and earphone in-ear detection method and system - Google Patents

Earphone, and earphone in-ear detection method and system Download PDF

Info

Publication number
WO2020014853A1
WO2020014853A1 PCT/CN2018/095879 CN2018095879W WO2020014853A1 WO 2020014853 A1 WO2020014853 A1 WO 2020014853A1 CN 2018095879 W CN2018095879 W CN 2018095879W WO 2020014853 A1 WO2020014853 A1 WO 2020014853A1
Authority
WO
WIPO (PCT)
Prior art keywords
wave
earphone
ear
amplitude
detection
Prior art date
Application number
PCT/CN2018/095879
Other languages
French (fr)
Chinese (zh)
Inventor
邱士嘉
谢冠宏
高铭坤
Original Assignee
万魔声学科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 万魔声学科技有限公司 filed Critical 万魔声学科技有限公司
Priority to PCT/CN2018/095879 priority Critical patent/WO2020014853A1/en
Priority to CN201880000840.4A priority patent/CN109076279A/en
Publication of WO2020014853A1 publication Critical patent/WO2020014853A1/en

Links

Images

Classifications

    • 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/1016Earpieces of the intra-aural type
    • 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
    • H04R29/001Monitoring arrangements; Testing arrangements for loudspeakers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R2201/00Details of transducers, loudspeakers or microphones covered by H04R1/00 but not provided for in any of its subgroups
    • H04R2201/10Details of earpieces, attachments therefor, earphones or monophonic headphones covered by H04R1/10 but not provided for in any of its subgroups

Definitions

  • the present invention relates to the technical field of sound playback equipment, and in particular, to a headset, a method and a system for detecting the in-ear of a headset.
  • the earphones currently on the market are generally equipped with a sensing device such as an infrared sensor or a laser sensor, and perform in-ear detection based on the sensing distance. For example, by using a sensing device to transmit a detected electromagnetic signal to the ear canal, and collect a reflected signal from the ear canal, and then determine the current based on the special difference characteristics between the detected electromagnetic signal and the reflected signal, such as time difference or information carrier difference.
  • the distance between the earphone and the human ear and when the distance is less than a predetermined distance value, it is set that the earphone has been inserted into the ear canal, thereby achieving ear detection.
  • the accuracy of the in-ear detection based on the electromagnetic signal-based distance sensing device is not high, and it is very easy to cause misjudgment if there is a foreign body obstruction in the sensing direction of the headphone sensing device.
  • an earphone a method and a system for earphone detection are provided.
  • a method for detecting earphone in-ear includes:
  • the earphone plays a detection sound wave; the detection sound wave has a first acoustic parameter;
  • FIG. 1 is a schematic flowchart of an earphone detection method for an earphone according to an embodiment
  • FIG. 2 is a schematic flowchart of a method for detecting in-ear earphones according to another embodiment
  • FIG. 3 is a schematic diagram of a frequency band and an amplitude of a sound wave detected before earphone detection in an embodiment
  • FIG. 4 is a schematic diagram of detecting a frequency band of a sound wave and a magnitude of a reflected wave after earphone detection in an embodiment
  • FIG. 5 is a schematic structural diagram of an earphone according to an embodiment
  • FIG. 6 is a schematic structural diagram of an earphone inserted into an ear canal in an embodiment
  • FIG. 7 is a schematic structural diagram of a headset in-ear detection system according to an embodiment.
  • FIG. 1 is a schematic flowchart of an earphone detection method for an earphone according to an embodiment.
  • a method for detecting in-ear earphones may include:
  • step S12 the detection sound wave is played.
  • the detection sound wave may have a first acoustic parameter, and the first acoustic parameter may include a frequency band, an amplitude, and the like.
  • step S14 reflected waves of the detected acoustic waves are collected.
  • sound waves may also be collected by using the foregoing earphones.
  • the sound waves such as the reflected waves of the detected sound waves and environmental noise may be collected by using the headphones.
  • the reflected wave described above has a second acoustic parameter, and the second acoustic parameter may also include a frequency band and an amplitude.
  • step S16 it is determined whether the earphone has been inserted into the ear based on the acoustic parameters of the detected acoustic wave and reflected wave.
  • in-ear detection may be performed on the earphone based on the first acoustic parameter and the second acoustic parameter. For example, based on the first acoustic parameter and the second acoustic parameter, it can be determined whether the reflected wave is a resonance wave for detecting the acoustic wave. If the resonance wave of the acoustic wave is detected, it can be determined that the earphone has been inserted into the ear at this time.
  • the method for detecting the in-ear of the earphone in the above embodiment is based on the acoustic parameters of the sound wave.
  • the in-ear detection of the earphone is based on the acoustic parameters of the sound wave. Since the sound wave has better propagation characteristics inside the ear with a complex structure than the electromagnetic wave signal, the accuracy of the in-ear detection can be effectively improved. , To reduce the false detection rate caused by the detection of foreign matter blocking detection wave transmission.
  • the above-mentioned first acoustic parameter may include a preset frequency band
  • the preset frequency band may be a seal formed by inserting the above-mentioned headphones (such as in-ear headphones or over-ear headphones) into different human ears. Resonant frequency band of the chamber.
  • the above-mentioned preset frequency band may be obtained based on big data analysis, so as to further improve the accuracy of the detection of the in-ear of the earphone.
  • the above-mentioned first acoustic parameter may further include a first amplitude, and the amplitude of the detected sound wave is constant to the first amplitude within the preset frequency range; meanwhile, the above-mentioned second acoustics
  • the parameter may include a second amplitude.
  • whether the reflected wave is a resonance wave for detecting a sound wave may be determined by determining whether the second amplitude is greater than the first amplitude.
  • the above-mentioned detection sound wave may be played in a frequency-sweeping manner, and the reflection wave of the detection sound wave may be collected in real time.
  • the collected reflection wave may be considered
  • the earphone and the inner cavity of the human ear have formed a relatively sealed cavity at this time, which means that the earphone has been inserted into the ear, and thus the above-mentioned earphone detection operation can be stopped, and the earphone can be continued after the earphone is inserted into the ear.
  • the above-mentioned detection sound wave can continue to be played in a loop, and the reflection wave collection and judgment are continued in real time until it is determined that the earphone has been in the ear.
  • a reference amplitude threshold may be preset, and the reference amplitude threshold may be greater than or equal to the above-mentioned first
  • the reference amplitude threshold may be set through a large data summary analysis process based on the characteristics of the resonance waves of the cavity formed inside the human ear, and the reference amplitude threshold is greater than the aforementioned first amplitude. For example, you can determine whether the second amplitude of the collected reflected wave is greater than the reference amplitude threshold. If the second amplitude is greater than the reference amplitude threshold, it means that the reflected wave is a resonance wave in the sealed cavity formed by the acoustic wave inside the human ear. , You can confirm that the headset is in the ear.
  • the maximum amplitude value of the reflected wave collected in the preset frequency band may be used as the above-mentioned second amplitude, and based on the second amplitude The above-mentioned determination of the resonance wave is performed. For example, as shown in FIG. 4, after performing a frequency sweep output operation from frequency F1 to frequency F3, the maximum amplitude value of the amplitude of the reflected wave collected by the scan output operation is extracted as the above-mentioned second amplitude value, such as The amplitude value A2 corresponding to the frequency F2 shown in FIG.
  • the second amplitude value is used as the second amplitude value; then, the second amplitude is compared with the above-mentioned reference amplitude threshold value to determine whether the earphone is in the ear during the scanning operation. That is, in this embodiment, the frequency sweep output operation can be performed every interval, and the maximum amplitude value of the reflected wave collected by the frequency sweep output is used as the second amplitude to perform in-ear detection, which can not only save the power consumption of in-ear detection, but also Can effectively improve the accuracy of in-ear detection. In addition, while sweeping the output to collect reflected waves, the amplitude of the reflected waves collected in real time may be used as the second amplitude for real-time judgment.
  • the above-mentioned earphone may include a speaker for playing sound and a microphone for noise reduction.
  • the above-mentioned speaker may be used to detect sound wave playback, and at the same time, the above-mentioned microphone is used. Collect reflected waves.
  • Traditional earphones are generally equipped with optical sensing devices such as infrared sensors and laser sensors to achieve earphone detection. This will increase the volume of the earphones and deviate from the trend of miniaturization of the earphones.
  • a window for setting the sensing device needs to be correspondingly opened on the shell of the earphone, which will increase the difficulty and cost of earphone production and debugging.
  • the earphone detection function of the above-mentioned earphones is implemented by sharing the speakers and microphones already set in the earphones, without adding other components, and without changing the structure and production process of the earphones, the earphones can be inserted into the earphones.
  • the accurate detection can reduce the difficulty and cost of earphone production and debugging while adapting to the trend of miniaturization of earphones.
  • FIG. 2 is a schematic flowchart of a method for detecting in-ear earphones in another embodiment.
  • FIG. 3 is a schematic diagram for detecting a frequency band and amplitude of a sound wave before in-ear detection of earphones in one embodiment.
  • FIG. 4 is a diagram for detecting the sound wave after in-ear detection of earphones in one embodiment. Schematic diagram of frequency band and reflected wave amplitude. Among them, the abscissa in FIGS.
  • the line segment L3 is a frequency-amplitude function between a reference amplitude threshold used as a reference and a preset frequency band.
  • the unit of the sound wave amplitude when the in-ear detection is directly performed using the sound wave amplitude, the unit of the sound wave amplitude may be decibel (db), and when the in-ear detection is performed based on the circuit structure, the unit of the sound wave amplitude may correspond to Convert to a voltage signal (such as mV) for in-ear detection, that is, in actual applications, the sound wave amplitude and other parameters can be converted accordingly according to the actual situation, so as to facilitate the in-ear detection operation, but the embodiment of this application does not detect the sound wave amplitude.
  • the unit is specifically limited.
  • the earphone detection is performed; the method for implementing the earphone detection may include the following steps:
  • Step S22 Set a reference amplitude threshold, and detect a preset frequency band and a first amplitude of the sound wave.
  • a detection sound wave used for in-ear detection can be set according to actual needs and combined with big data analysis; the detection sound wave L1 has acoustic parameters such as a preset frequency band suitable for different human ear structures and a first amplitude A1.
  • the sealed cavity formed by it When the earphone is inserted into any ear, the sealed cavity formed by it will resonate with a certain frequency sound wave, so the earphone can be detected by the resonance wave.
  • the sealed cavity formed by inserting the earphone into different ear canals has Certain differences, so the preset frequency band F for detecting the acoustic wave L1 can be set from frequency F1 to frequency F3, and the frequency F2 of the resonance wave in the sealed cavity formed above is located between the frequency F1 and the frequency F3, and The amplitude of the detection sound wave L1 between the above-mentioned frequency F1 and frequency F3 is constant to be the first amplitude A1; and for more accurate earphone detection, a reference amplitude threshold value A3 can be set based on data analysis, that is, the above-mentioned Within the range of frequency F1 and frequency F3, as long as the second amplitude A of the collected reflected wave L2 is greater than the above-mentioned reference amplitude threshold A3, the current ear
  • step S24 the sound waves of the headphones are cyclically played and detected in a frequency sweeping manner.
  • the above-mentioned earphone is used as a speaker for playing sound, and the frequency is continuously scanned from the frequency F1 to the frequency F2 shown in FIG. 3 to output the detection sound wave, and the amplitude of the output detection sound wave L1 is constant to the first amplitude A1.
  • step S26 the reflected wave is collected in real time by the microphone of the headset, and then the current second amplitude of the reflected wave is obtained.
  • a microphone (MIC) of the earphone may be used to synchronously collect the reflected wave of the detected sound wave, and then obtain the amplitude of the reflected wave as the second amplitude.
  • step S28 it is determined whether the second amplitude obtained in step S26 is greater than the reference amplitude threshold set in step S22; if the second amplitude is greater than the reference amplitude threshold, proceed to step S30; and the second amplitude is less than or equal to the reference amplitude If the threshold value is reached, step S24 is continued.
  • the second amplitude A of the reflected wave L2 at the frequency F2 is A2, that is, it can be determined at this time that the microphone has collected the
  • the reflected wave is a resonance wave, that is, the earphone has been inserted into the ear canal and forms a sealed cavity with the ear canal, and accordingly it can be determined that the current earphone has been inserted into the ear.
  • Step S30 The speaker of the earphone stops playing and detecting the sound wave.
  • the earphone can be stopped to detect the playback of sound waves, and normal sound playback or other corresponding operations can be performed, and the noise reduction headset is also restored to the normal use state.
  • the above-mentioned speaker detects the sound wave playback, and the noise reduction headset collects reflected waves, it can simultaneously perform normal sound playback and noise reduction operation, that is, the above-mentioned earphone detection does not affect the normality of the earphone speaker and the noise reduction headset.
  • the work has an impact and can happen simultaneously.
  • a frequency-sweeping loop is used to play a detection sound wave of a fixed amplitude through the speaker, thereby triggering the resonance of the sealed cavity formed by the earphone being inserted into the ear canal, so that the earphone can be detected by collecting the amplitude of the reflected wave.
  • the in-ear detection operation not only has high accuracy, but also does not increase the volume of the headset and the production and manufacturing costs, which is conducive to the miniaturization of the headset.
  • FIG. 5 is a schematic structural diagram of an earphone in an embodiment.
  • a headset 10 may include a speaker 12 and a microphone 14.
  • the speaker 12 may be used to play sounds, and the microphone 14 may be used to collect ambient sounds for noise reduction.
  • the speaker 12 can also be used to play detection sound waves, and the microphone can also be used to collect the reflection waves of the detection sound waves, and the in-ear detection operation of the earphone 10 can be performed based on the detection sound waves and the collected reflection waves.
  • the in-ear detection operation of the earphone 10 is performed by judging whether the reflected wave collected by the microphone 14 is a resonance wave of the detection sound wave played by the speaker 12; that is, if the reflected wave is a resonance wave of the detection sound wave, the description is The earphone 10 is currently inserted into the ear canal.
  • FIG. 6 is a schematic structural diagram of an earphone inserted into an ear canal in an embodiment.
  • the earphone 10 is an in-ear earphone. After the earphone 10 is inserted into the ear canal 16, the earphone 10 and the ear canal 16 form a sealed cavity, and then can be performed by acoustic resonance.
  • In-ear detection such as the above-mentioned speaker 12 can use the frequency sweeping method to cycle the detection sound wave of a preset frequency band, and the amplitude of the detection sound wave is constant, and then the reflection can be judged by the amplitude of the reflected wave collected by the microphone 14 Whether the wave is a resonance wave, that is, based on the process steps in any one of the embodiments of the method for detecting the in-ear of the earphone based on the earphones shown in FIGS. 5 to 6, and then accurately implement the in-ear detection operation of the earphone.
  • FIG. 7 is a schematic structural diagram of a headset in-ear detection system according to an embodiment.
  • the earphone detection system 20 may include an earphone 24 and a processor 22.
  • the processor 22 may be integrated in the earphone 22 and also integrated in a terminal device connected to the earphone 22.
  • the above-mentioned earphone 24 may include a speaker 242 and a microphone 244.
  • the speaker 242 may be used to play sound.
  • the microphone 244 may be used to collect environmental noise.
  • the above-mentioned speaker 242 may be used to play detection sound waves, and the microphone 244 may also be used to collect the detection.
  • a reflected wave of sound waves may be connected to the above-mentioned horn 242 and the microphone 244, respectively, and the processor 22 may be used to determine whether the reflected wave collected by the microphone 244 is a resonance wave of the detected sound wave played by the above-mentioned horn 242, thereby determining the current Whether the earphone 24 is already in the ear.
  • the earphone 24 shown in FIG. 7 may be the earphone 10 shown in FIGS. 5 to 6, and at the same time, the process steps in any one of the above methods for earphone detection may be performed. Then, the in-ear detection operation of the headphones is accurately realized.

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)
  • Headphones And Earphones (AREA)

Abstract

Provided is an earphone in-ear detection method. The method comprises: an earphone playing a detection sound wave, wherein the detection sound wave has a first acoustic parameter; collecting a reflected wave of the detection sound wave, wherein the reflected wave has a second acoustic parameter; and determining, based on the first acoustic parameter and the second acoustic parameter, whether the earphone is in an ear.

Description

耳机、耳机入耳检测的方法及系统Earphone, earphone detection method and system 技术领域Technical field
本发明涉及声音播放设备技术领域,特别涉及一种耳机、耳机入耳检测的方法及系统。The present invention relates to the technical field of sound playback equipment, and in particular, to a headset, a method and a system for detecting the in-ear of a headset.
背景技术Background technique
随着耳机小型化发展的趋势及对交互需求的增加,使得越来越多的耳机具有了入耳检测的功能。With the development trend of miniaturization of earphones and the increase in the demand for interaction, more and more earphones have the function of in-ear detection.
目前市场上的耳机,一般是通过增设诸如红外传感器或激光传感器等感测设备,并基于感测距离来进行入耳检测。例如,通过利用感测设备向耳道发射检测电磁信号,并采集耳道的反射信号,再根据上述检测电磁信号与反射信号之间特殊的差异特性,如时间差或信息载波差异等,来确定当前耳机与人耳之间的距离,并在该距离小于预定距离值时,设定耳机已经插入到耳道,进而实现入耳检测。The earphones currently on the market are generally equipped with a sensing device such as an infrared sensor or a laser sensor, and perform in-ear detection based on the sensing distance. For example, by using a sensing device to transmit a detected electromagnetic signal to the ear canal, and collect a reflected signal from the ear canal, and then determine the current based on the special difference characteristics between the detected electromagnetic signal and the reflected signal, such as time difference or information carrier difference. The distance between the earphone and the human ear, and when the distance is less than a predetermined distance value, it is set that the earphone has been inserted into the ear canal, thereby achieving ear detection.
但是,由于耳朵内部结构比较复杂,使得基于电磁信号的距离感测设备进行入耳检测,其精准度不高,且一旦耳机感测设备感测方向上存在异物遮挡时,极易造成误判断。However, due to the complicated internal structure of the ear, the accuracy of the in-ear detection based on the electromagnetic signal-based distance sensing device is not high, and it is very easy to cause misjudgment if there is a foreign body obstruction in the sensing direction of the headphone sensing device.
发明内容Summary of the invention
根据本申请的各种实施例,提供一种耳机、耳机入耳检测的方法及系统。According to various embodiments of the present application, an earphone, a method and a system for earphone detection are provided.
一种耳机入耳检测的方法,所述方法包括:A method for detecting earphone in-ear, the method includes:
所述耳机播放检测声波;所述检测声波具有第一声学参数;The earphone plays a detection sound wave; the detection sound wave has a first acoustic parameter;
采集所述检测声波的反射波;所述反射波具有第二声学参数;以及Collecting a reflected wave of the detection acoustic wave; the reflected wave has a second acoustic parameter; and
基于所述第一声学参数和所述第二声学参数,判断所述耳机是否已经入耳。Based on the first acoustic parameter and the second acoustic parameter, determine whether the earphone has been inserted into the ear.
本发明的一个或多个实施例的细节在下面的附图和描述中提出。本发明的其他特征、目的和优点将从说明书、附图以及权利要求书变得明显。Details of one or more embodiments of the invention are set forth in the accompanying drawings and description below. Other features, objects, and advantages of the invention will be apparent from the description, the drawings, and the claims.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他实施例的附图。In order to explain the technical solutions in the embodiments of the present application or the prior art more clearly, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings in the following description are merely These are some embodiments of the present application. For those of ordinary skill in the art, without any creative effort, drawings of other embodiments can be obtained according to these drawings.
图1为一实施例的耳机入耳检测方法的流程示意图;FIG. 1 is a schematic flowchart of an earphone detection method for an earphone according to an embodiment; FIG.
图2为另一实施例中耳机入耳检测方法的流程示意图;FIG. 2 is a schematic flowchart of a method for detecting in-ear earphones according to another embodiment; FIG.
图3为一个实施例中耳机入耳检测前检测声波的频段及幅度的示意图;3 is a schematic diagram of a frequency band and an amplitude of a sound wave detected before earphone detection in an embodiment;
图4为一个实施例中耳机入耳检测后检测声波的频段及反射波幅度的示意图;FIG. 4 is a schematic diagram of detecting a frequency band of a sound wave and a magnitude of a reflected wave after earphone detection in an embodiment; FIG.
图5为一个实施例中耳机的结构示意图;5 is a schematic structural diagram of an earphone according to an embodiment;
图6为一个实施例中耳机插入耳道后的结构示意图;6 is a schematic structural diagram of an earphone inserted into an ear canal in an embodiment;
图7为一个实施例中耳机入耳检测系统的结构示意图。FIG. 7 is a schematic structural diagram of a headset in-ear detection system according to an embodiment.
具体实施方式detailed description
为了便于理解本申请,下面将参照相关附图对本申请进行更全面的描述。 附图中给出了本申请的较佳实施例。但是,本申请可以以许多不同的形式来实现,并不限于本文所描述的实施例。相反地,提供这些实施例的目的是使对本申请的公开内容的理解更加透彻全面。In order to facilitate understanding of the present application, the present application will be described more fully with reference to the related drawings. The drawings show a preferred embodiment of the present application. However, this application can be implemented in many different forms and is not limited to the embodiments described herein. Rather, these embodiments are provided to provide a thorough and comprehensive understanding of the disclosure of this application.
图1为一实施例的耳机入耳检测方法的流程示意图。如图1所示,在一个可选的实施例中,一种耳机入耳检测的方法可包括:FIG. 1 is a schematic flowchart of an earphone detection method for an earphone according to an embodiment. As shown in FIG. 1, in an optional embodiment, a method for detecting in-ear earphones may include:
步骤S12,播放检测声波。In step S12, the detection sound wave is played.
具体地,通过利用耳机播放检测声波,该检测声波可具有第一声学参数,该第一声学参数可包括频段、幅度等。Specifically, by using a headset to play a detection sound wave, the detection sound wave may have a first acoustic parameter, and the first acoustic parameter may include a frequency band, an amplitude, and the like.
步骤S14,采集检测声波的反射波。In step S14, reflected waves of the detected acoustic waves are collected.
具体地,也可利用上述的耳机进行声波的采集,例如利用该耳机可采集上述检测声波的反射波及环境噪声等声波。其中,上述的反射波具有第二声学参数,且该第二声学参数也可包括频段及幅度等。Specifically, sound waves may also be collected by using the foregoing earphones. For example, the sound waves such as the reflected waves of the detected sound waves and environmental noise may be collected by using the headphones. The reflected wave described above has a second acoustic parameter, and the second acoustic parameter may also include a frequency band and an amplitude.
步骤S16,基于检测声波和反射波的声学参数判断上述的耳机是否已经入耳。In step S16, it is determined whether the earphone has been inserted into the ear based on the acoustic parameters of the detected acoustic wave and reflected wave.
具体地,可基于上述的第一声学参数和第二声学参数对耳机进行入耳检测。例如,可基于上述的第一声学参数和第二声学参数,来判断上述的反射波是否为检测声波的谐振波,若是检测声波的谐振波则可确定此时耳机已经入耳。Specifically, in-ear detection may be performed on the earphone based on the first acoustic parameter and the second acoustic parameter. For example, based on the first acoustic parameter and the second acoustic parameter, it can be determined whether the reflected wave is a resonance wave for detecting the acoustic wave. If the resonance wave of the acoustic wave is detected, it can be determined that the earphone has been inserted into the ear at this time.
上述实施例中耳机入耳检测的方法,基于声波的声学参数进行耳机入耳检测,由于声波相对于电磁波信号,在具有复杂结构的耳朵内部具有较佳的传播特性,故而可有效提升入耳检测的精准性,降低因异物阻挡检测波传输而造成的误判率。The method for detecting the in-ear of the earphone in the above embodiment is based on the acoustic parameters of the sound wave. The in-ear detection of the earphone is based on the acoustic parameters of the sound wave. Since the sound wave has better propagation characteristics inside the ear with a complex structure than the electromagnetic wave signal, the accuracy of the in-ear detection can be effectively improved. , To reduce the false detection rate caused by the detection of foreign matter blocking detection wave transmission.
在一个可选的实施例中,上述的第一声学参数可包括预设频段,该预设 频段可为上述耳机(如入耳式耳机或覆耳式耳机等)插入不同人耳所形成的密封腔室的谐振频段。其中,上述耳机入耳检测的方法中,则可基于大数据分析来获取上述的预设频段,以进一步提升对耳机入耳检测的精准度。In an optional embodiment, the above-mentioned first acoustic parameter may include a preset frequency band, and the preset frequency band may be a seal formed by inserting the above-mentioned headphones (such as in-ear headphones or over-ear headphones) into different human ears. Resonant frequency band of the chamber. In the method for detecting the in-ear of the earphone, the above-mentioned preset frequency band may be obtained based on big data analysis, so as to further improve the accuracy of the detection of the in-ear of the earphone.
在一个可选的实施例中,上述的第一声学参数还可包括第一幅度,且该检测声波的幅度在上述预设频段范围内恒定为该第一幅度;同时,上述的第二声学参数可包括第二幅度。其中,上述耳机入耳检测的方法中,可通过判断该第二幅度是否大于上述的第一幅度,来确定上述的反射波是否为检测声波的谐振波。例如,可采用扫频的方式循环播放上述的检测声波,并实时采集该检测声波的反射波,若上述反射波的第二幅度大于检测声波的第一幅度,则可认为所采集到的反射波为上述检测声波的谐振波,即此时耳机与人耳内腔已经形成一个相对密封的腔室,也即说明耳机已经入耳,进而可停止上述的耳机入耳检测操作,并继续进行耳机入耳后的其他操作;反之,则说明耳机并未入耳,则可继续循环播放上述的检测声波,并继续实时地进行反射波的采集及判断,直至确定耳机已经入耳。In an optional embodiment, the above-mentioned first acoustic parameter may further include a first amplitude, and the amplitude of the detected sound wave is constant to the first amplitude within the preset frequency range; meanwhile, the above-mentioned second acoustics The parameter may include a second amplitude. In the method for detecting in-ear earphones, whether the reflected wave is a resonance wave for detecting a sound wave may be determined by determining whether the second amplitude is greater than the first amplitude. For example, the above-mentioned detection sound wave may be played in a frequency-sweeping manner, and the reflection wave of the detection sound wave may be collected in real time. If the second amplitude of the reflection wave is greater than the first amplitude of the detection sound wave, the collected reflection wave may be considered For the above detection of the acoustic resonance wave, that is, the earphone and the inner cavity of the human ear have formed a relatively sealed cavity at this time, which means that the earphone has been inserted into the ear, and thus the above-mentioned earphone detection operation can be stopped, and the earphone can be continued after the earphone is inserted into the ear. Other operations; on the other hand, it means that the earphone is not in the ear, then the above-mentioned detection sound wave can continue to be played in a loop, and the reflection wave collection and judgment are continued in real time until it is determined that the earphone has been in the ear.
在另一个可选的实施例中,为了进一步的提升耳机入耳检测的精准度,上述耳机入耳检测的方法中,还可预先预设参考幅度阈值,该参考幅度阈值可大于或等于上述的第一幅度;其中,可基于人耳内部所形成腔室的谐振波的特性,通过大数据汇总分析处理来设定该参考幅度阈值,且该参考幅度阈值大于上述的第一幅度。例如,可通过判断上述所采集的反射波的第二幅度是否大于该参考幅度阈值,若第二幅度大于参考幅度阈值,则说明反射波为检测声波在人耳内部所形成密封腔室内的谐振波,即可确定此时耳机已经入耳。In another optional embodiment, in order to further improve the accuracy of the in-ear detection of the earphones, in the above-mentioned earphone detection method, a reference amplitude threshold may be preset, and the reference amplitude threshold may be greater than or equal to the above-mentioned first The reference amplitude threshold may be set through a large data summary analysis process based on the characteristics of the resonance waves of the cavity formed inside the human ear, and the reference amplitude threshold is greater than the aforementioned first amplitude. For example, you can determine whether the second amplitude of the collected reflected wave is greater than the reference amplitude threshold. If the second amplitude is greater than the reference amplitude threshold, it means that the reflected wave is a resonance wave in the sealed cavity formed by the acoustic wave inside the human ear. , You can confirm that the headset is in the ear.
在另一个可选的实施例中,为了使得耳机入耳检测更加的精准,还可将在上述预设频段内所采集的反射波的最大幅度值作为上述的第二幅度,并基于该第二幅度进行上述谐振波的判断。例如,如图4所示,在从频率F1至频率F3进行一个扫频输出的操作后,提取该扫描输出操作所采集的反射波的幅度中的最大幅度值作为上述的第二幅度值,如将图4所示的频率F2所对应的幅度值A2作为第二幅度值;然后,在将该第二幅度与上述的参考幅度阈值 进行对比,从而来确定上述的扫描操作过程中耳机是否入耳。即,在本实施例中,可每间隔一次扫频输出操作,并将该扫频输出所采集的反射波的最大幅度值作为第二幅度进行入耳检测,不仅能够节省入耳检测的功耗,还能有效提升入耳检测的精确度。另外,也可在进行扫频输出采集反射波的同时,将实时采集的反射波的幅度作为第二幅度进行实时判断,一旦判断出当前所采集的反射波的幅度大于上述的参考幅度阈值,则确定当前耳机已经入耳,同时可停止后续的反射波采集及入耳检测等相关操作,以继续执行耳机入耳后的相关操作。In another optional embodiment, in order to make the in-ear detection of the earphones more accurate, the maximum amplitude value of the reflected wave collected in the preset frequency band may be used as the above-mentioned second amplitude, and based on the second amplitude The above-mentioned determination of the resonance wave is performed. For example, as shown in FIG. 4, after performing a frequency sweep output operation from frequency F1 to frequency F3, the maximum amplitude value of the amplitude of the reflected wave collected by the scan output operation is extracted as the above-mentioned second amplitude value, such as The amplitude value A2 corresponding to the frequency F2 shown in FIG. 4 is used as the second amplitude value; then, the second amplitude is compared with the above-mentioned reference amplitude threshold value to determine whether the earphone is in the ear during the scanning operation. That is, in this embodiment, the frequency sweep output operation can be performed every interval, and the maximum amplitude value of the reflected wave collected by the frequency sweep output is used as the second amplitude to perform in-ear detection, which can not only save the power consumption of in-ear detection, but also Can effectively improve the accuracy of in-ear detection. In addition, while sweeping the output to collect reflected waves, the amplitude of the reflected waves collected in real time may be used as the second amplitude for real-time judgment. Once it is determined that the amplitude of the currently collected reflected waves is greater than the above-mentioned reference amplitude threshold, then Make sure that the current headset has been inserted into the ear. At the same time, you can stop related operations such as reflection wave collection and in-ear detection to continue to perform related operations after the headset is inserted into the ear.
在一个可选的实施例中,上述的耳机可包括用于播放声音的喇叭以及用于降噪的麦克风,在上述入耳检测方法中可利用上述的喇叭进行检测声波的播放,同时利用上述的麦克风进行反射波的收集。传统的耳机,一般是通过增设诸如红外传感器、激光传感器等光电感测设备来实现耳机入耳检测功能,则会增加耳机的体积,进而背离了耳机小型化发展的趋势;同时,由于增设感测设备,还需要在耳机的外壳上对应开设用于设置该感测设备的窗口,进而会增加耳机生产、调试的难度及成本。而本实施中,通过共享耳机中已经设置的喇叭和麦克风,来实现上述耳机的入耳检测功能,不用新增设其他元件,且不用对耳机的结构及生产工艺进行改动,即可实现对耳机入耳的精准的检测,在适应耳机小型化发展趋势的同时,还能降低耳机生产、调试的难度及成本。In an optional embodiment, the above-mentioned earphone may include a speaker for playing sound and a microphone for noise reduction. In the above-mentioned in-ear detection method, the above-mentioned speaker may be used to detect sound wave playback, and at the same time, the above-mentioned microphone is used. Collect reflected waves. Traditional earphones are generally equipped with optical sensing devices such as infrared sensors and laser sensors to achieve earphone detection. This will increase the volume of the earphones and deviate from the trend of miniaturization of the earphones. In addition, a window for setting the sensing device needs to be correspondingly opened on the shell of the earphone, which will increase the difficulty and cost of earphone production and debugging. In this implementation, the earphone detection function of the above-mentioned earphones is implemented by sharing the speakers and microphones already set in the earphones, without adding other components, and without changing the structure and production process of the earphones, the earphones can be inserted into the earphones. The accurate detection can reduce the difficulty and cost of earphone production and debugging while adapting to the trend of miniaturization of earphones.
图2为另一实施例中耳机入耳检测方法的流程示意图,图3为一个实施例中耳机入耳检测前检测声波的频段及幅度的示意图,图4为一个实施例中耳机入耳检测后检测声波的频段及反射波幅度的示意图。其中,图3~4中的横坐标表示声波频率F,纵坐标表示声波的幅度A,且图中的线段L1为检测声波的频率-幅度函数,线段L2为麦克风接收到的反射波的频率-幅度函数, 线段L3为作为参考的参考幅度阈值与预设频段之间的频率-幅度函数。FIG. 2 is a schematic flowchart of a method for detecting in-ear earphones in another embodiment. FIG. 3 is a schematic diagram for detecting a frequency band and amplitude of a sound wave before in-ear detection of earphones in one embodiment. FIG. 4 is a diagram for detecting the sound wave after in-ear detection of earphones in one embodiment. Schematic diagram of frequency band and reflected wave amplitude. Among them, the abscissa in FIGS. 3 to 4 represents the acoustic wave frequency F, the ordinate represents the amplitude A of the acoustic wave, and the line segment L1 in the figure is the frequency-amplitude function of the detected acoustic wave, and the line segment L2 is the frequency of the reflected wave received by the microphone − Amplitude function. The line segment L3 is a frequency-amplitude function between a reference amplitude threshold used as a reference and a preset frequency band.
需要注意的是,在本申请的实施例中,当直接利用声波幅度进行入耳检测时,声波幅度的单位可以为分贝(db),而基于电路结构对进行入耳检测时,声波幅度的单位可对应转为电压信号(如mV)进行入耳检测,即在实际的应用中,可根据实际情况对声波幅度及其他参数进行相应的转换,以便于进行入耳检测操作,而本申请的实施例不对声波幅度单位进行特别的限定。It should be noted that, in the embodiment of the present application, when the in-ear detection is directly performed using the sound wave amplitude, the unit of the sound wave amplitude may be decibel (db), and when the in-ear detection is performed based on the circuit structure, the unit of the sound wave amplitude may correspond to Convert to a voltage signal (such as mV) for in-ear detection, that is, in actual applications, the sound wave amplitude and other parameters can be converted accordingly according to the actual situation, so as to facilitate the in-ear detection operation, but the embodiment of this application does not detect the sound wave amplitude. The unit is specifically limited.
参见图2~4所示,结合实际应用,在一个可选的实施例中,基于耳道谐振的原理,在无需额外增加耳机元件的基础上,即可精准的检测出当前耳机是否已经插入耳道中,即进行耳机入耳检测;实现上述耳机入耳检测的方法可包括以下步骤:As shown in Figs. 2 to 4, in combination with practical applications, in an optional embodiment, based on the principle of ear canal resonance, it can accurately detect whether the current earphone has been inserted into the ear without additional earphone components. In the road, the earphone detection is performed; the method for implementing the earphone detection may include the following steps:
步骤S22,设定参考幅度阈值,以及检测声波的预设频段和第一幅度。Step S22: Set a reference amplitude threshold, and detect a preset frequency band and a first amplitude of the sound wave.
具体地,可根据实际需求,并结合大数据分析,设定用于入耳检测的检测声波;该检测声波L1具有适用于不同人耳结构的预设频段以及第一幅度A1等声学参数。Specifically, a detection sound wave used for in-ear detection can be set according to actual needs and combined with big data analysis; the detection sound wave L1 has acoustic parameters such as a preset frequency band suitable for different human ear structures and a first amplitude A1.
当耳机插入任意耳朵后,其所形成的密封腔室会对某一频率的声波产生谐振,故而可通过谐振波进行耳机入耳的检测;另外,由于耳机插入不同的耳道所形成密封腔室具有一定的差异性,故可设定检测声波L1的预设频段F从频率F1至频率F3,且上述所形成的密封腔室中的谐振波的频率F2均位于频率F1与频率F3之间,同时该检测声波L1在上述频率F1与频率F3之间的幅度恒定为第一幅度A1;而为了更加精准的进行耳机入耳检测,还可基于数据分析设定参考的参考幅度阈值A3,即后续在上述频率F1与频率F3范围内,只要所采集的反射波L2的第二幅度A大于上述的参考幅度阈值A3,即可认定当前耳机已经入耳;其中,F1≤F2≤F3,A1≤A3,且为了确保入耳检 测不会对人耳造成损伤,需要确保上述声学参数为A1、A、F1、F2及F3的声波均在人耳所能正常承受的范围内。When the earphone is inserted into any ear, the sealed cavity formed by it will resonate with a certain frequency sound wave, so the earphone can be detected by the resonance wave. In addition, the sealed cavity formed by inserting the earphone into different ear canals has Certain differences, so the preset frequency band F for detecting the acoustic wave L1 can be set from frequency F1 to frequency F3, and the frequency F2 of the resonance wave in the sealed cavity formed above is located between the frequency F1 and the frequency F3, and The amplitude of the detection sound wave L1 between the above-mentioned frequency F1 and frequency F3 is constant to be the first amplitude A1; and for more accurate earphone detection, a reference amplitude threshold value A3 can be set based on data analysis, that is, the above-mentioned Within the range of frequency F1 and frequency F3, as long as the second amplitude A of the collected reflected wave L2 is greater than the above-mentioned reference amplitude threshold A3, the current earphone can be deemed to have been inserted into the ear; where F1≤F2≤F3, A1≤A3, and To ensure that the ear detection does not cause damage to the human ear, it is necessary to ensure that the sound waves with the above-mentioned acoustic parameters A1, A, F1, F2, and F3 are within the range that the human ear can normally withstand.
步骤S24,利用耳机的喇叭,采用扫频的方式循环播放检测声波。In step S24, the sound waves of the headphones are cyclically played and detected in a frequency sweeping manner.
具体地,采用上述耳机用于播放声音的喇叭,不断的从图3中所示的频率F1到频率F2进行扫频输出检测声波,且所输出的检测声波L1的幅度恒定为第一幅度A1。Specifically, the above-mentioned earphone is used as a speaker for playing sound, and the frequency is continuously scanned from the frequency F1 to the frequency F2 shown in FIG. 3 to output the detection sound wave, and the amplitude of the output detection sound wave L1 is constant to the first amplitude A1.
步骤S26,利用耳机的麦克风实时采集反射波,进而获取该反射波当前的第二幅度。In step S26, the reflected wave is collected in real time by the microphone of the headset, and then the current second amplitude of the reflected wave is obtained.
具体地,在上述耳机的喇叭循环播放上述的检测声波的同时,可采用该耳机的麦克风(MIC)来同步的采集上述检测声波的反射波,进而来获取该反射波的幅度作为第二幅度。Specifically, while the speaker of the earphone plays the detected sound wave in a loop, a microphone (MIC) of the earphone may be used to synchronously collect the reflected wave of the detected sound wave, and then obtain the amplitude of the reflected wave as the second amplitude.
步骤S28,判断步骤S26中所获取的第二幅度是否大于步骤S22中所设定的参考幅度阈值;若第二幅度大于参考幅度阈值,继续进行步骤S30;而而第二幅度小于或等于参考幅度阈值,则继续进行步骤S24。In step S28, it is determined whether the second amplitude obtained in step S26 is greater than the reference amplitude threshold set in step S22; if the second amplitude is greater than the reference amplitude threshold, proceed to step S30; and the second amplitude is less than or equal to the reference amplitude If the threshold value is reached, step S24 is continued.
具体的,参见图3~4所示,当检测到当前反射波L2的第二幅度A小于上述的参考幅度阈值A3时,则说明当前耳机与耳道之间并未形成一个密封的腔室,即耳机并未插入到耳道中,并可使得耳机的喇叭继续采用扫频的方式循环播放上述的检测声波。一旦检测到所采集的反射波的第二幅度A大于参考幅度阈值时,如再图4中所示频率为F2处反射波L2的第二幅度A为A2,即此时可判定麦克风所采集的反射波为谐振波,即耳机已经插入耳道且与耳道形成密封的腔室,相应的就可判定当前耳机已经插入耳朵中。Specifically, referring to Figs. 3 to 4, when it is detected that the second amplitude A of the current reflected wave L2 is smaller than the above-mentioned reference amplitude threshold A3, it means that a sealed cavity is not formed between the current headset and the ear canal. That is, the earphone is not inserted into the ear canal, and the speaker of the earphone can continue to play the above-mentioned detection sound wave in a frequency sweeping manner. Once it is detected that the second amplitude A of the collected reflected wave is greater than the reference amplitude threshold, as shown in FIG. 4, the second amplitude A of the reflected wave L2 at the frequency F2 is A2, that is, it can be determined at this time that the microphone has collected the The reflected wave is a resonance wave, that is, the earphone has been inserted into the ear canal and forms a sealed cavity with the ear canal, and accordingly it can be determined that the current earphone has been inserted into the ear.
步骤S30,耳机的喇叭停止播放检测声波。Step S30: The speaker of the earphone stops playing and detecting the sound wave.
具体地,在上述步骤S28检测到耳机已经入耳后,可停止耳机进行检测 声波的播放,并可进行正常的声音播放或其他对应的操作,同时降噪耳麦也恢复至正常的使用状态。其中,在上述喇叭进行检测声波播放、降噪耳麦采集反射波的同时,同步可进行正常的声音播放以及降噪操作,即上述的耳机入耳检测并不会对耳机的喇叭和降噪耳麦的正常工作产生影响,且可同步进行。Specifically, after detecting that the earphone has been inserted into the ear in the above step S28, the earphone can be stopped to detect the playback of sound waves, and normal sound playback or other corresponding operations can be performed, and the noise reduction headset is also restored to the normal use state. Among them, while the above-mentioned speaker detects the sound wave playback, and the noise reduction headset collects reflected waves, it can simultaneously perform normal sound playback and noise reduction operation, that is, the above-mentioned earphone detection does not affect the normality of the earphone speaker and the noise reduction headset. The work has an impact and can happen simultaneously.
在上述耳机入耳检测方法的实施例中,通过喇叭进行扫频循环播放固定幅度的检测声波,进而触发耳机插入耳道所形成密封腔室的谐振,从而通过采集反射波的幅度即可进行耳机的入耳检测操作,不仅具有较高的精准性,且还不会增大耳机的体积及生产、制造成本,利于耳机的小型化发展。In the embodiment of the method for detecting the in-ear of the earphone, a frequency-sweeping loop is used to play a detection sound wave of a fixed amplitude through the speaker, thereby triggering the resonance of the sealed cavity formed by the earphone being inserted into the ear canal, so that the earphone can be detected by collecting the amplitude of the reflected wave. The in-ear detection operation not only has high accuracy, but also does not increase the volume of the headset and the production and manufacturing costs, which is conducive to the miniaturization of the headset.
图5为一个实施例中耳机的结构示意图。如图5所示,在一个可选的实施例中,一种耳机10可包括喇叭12和麦克风14,该喇叭12可用于播放声音,而麦克风14可用于采集环境声音进行降噪;其中,上述的喇叭12还可以用于播放检测声波,而麦克风还可用于采集上述检测声波的反射波,而基于上述的检测声波和所采集的反射波可进行上述耳机10的入耳检测操作。例如,通过判断上述麦克风14所采集的反射波是否为上述喇叭12所播放的检测声波的谐振波,来进行耳机10的入耳检测操作;即若上述的反射波为检测声波的谐振波,则说明当前耳机10已经插入到耳道中。FIG. 5 is a schematic structural diagram of an earphone in an embodiment. As shown in FIG. 5, in an optional embodiment, a headset 10 may include a speaker 12 and a microphone 14. The speaker 12 may be used to play sounds, and the microphone 14 may be used to collect ambient sounds for noise reduction. The speaker 12 can also be used to play detection sound waves, and the microphone can also be used to collect the reflection waves of the detection sound waves, and the in-ear detection operation of the earphone 10 can be performed based on the detection sound waves and the collected reflection waves. For example, the in-ear detection operation of the earphone 10 is performed by judging whether the reflected wave collected by the microphone 14 is a resonance wave of the detection sound wave played by the speaker 12; that is, if the reflected wave is a resonance wave of the detection sound wave, the description is The earphone 10 is currently inserted into the ear canal.
图6为一个实施例中耳机插入耳道后的结构示意图。在一个可选的实施例中,如图6所示,耳机10为入耳式耳机,当耳机10插入耳道16中后,该耳机10与耳道16形成密封腔室,进而可通过声波谐振进行入耳检测,如上述的喇叭12可采用扫频的方式循环播放预设频段的检测声波,且该检测声波的幅度是恒定的,后续则可通过麦克风14所采集的反射波的幅度来判断该反射波是否为谐振波,即基于图5~6中所示的耳机可进行上述耳机入耳检测的 方法中任意一个实施例中的流程步骤,进而精准的实现对耳机的入耳检测操作。FIG. 6 is a schematic structural diagram of an earphone inserted into an ear canal in an embodiment. In an optional embodiment, as shown in FIG. 6, the earphone 10 is an in-ear earphone. After the earphone 10 is inserted into the ear canal 16, the earphone 10 and the ear canal 16 form a sealed cavity, and then can be performed by acoustic resonance. In-ear detection, such as the above-mentioned speaker 12 can use the frequency sweeping method to cycle the detection sound wave of a preset frequency band, and the amplitude of the detection sound wave is constant, and then the reflection can be judged by the amplitude of the reflected wave collected by the microphone 14 Whether the wave is a resonance wave, that is, based on the process steps in any one of the embodiments of the method for detecting the in-ear of the earphone based on the earphones shown in FIGS. 5 to 6, and then accurately implement the in-ear detection operation of the earphone.
图7为一个实施例中耳机入耳检测系统的结构示意图。如图7所示,在一个可选的实施例中,耳机入耳检测系统20可包括耳机24和处理器22,该处理器22可集成在耳机22中,也集成在耳机22所连接的终端设备中。其中,上述的耳机24可包括喇叭242和麦克风244,喇叭242可用于播放声音,麦克风244可用于采集环境噪声,同时上述的喇叭242还可用于播放检测声波,而麦克风244还可用于采集上述检测声波的反射波;处理器22可分别与上述的喇叭242和麦克风244连接,该处理器22可用于判断麦克风244所采集的反射波是否为上述喇叭242所播放检测声波的谐振波,进而确定当前耳机24是否已经入耳。FIG. 7 is a schematic structural diagram of a headset in-ear detection system according to an embodiment. As shown in FIG. 7, in an optional embodiment, the earphone detection system 20 may include an earphone 24 and a processor 22. The processor 22 may be integrated in the earphone 22 and also integrated in a terminal device connected to the earphone 22. in. The above-mentioned earphone 24 may include a speaker 242 and a microphone 244. The speaker 242 may be used to play sound. The microphone 244 may be used to collect environmental noise. At the same time, the above-mentioned speaker 242 may be used to play detection sound waves, and the microphone 244 may also be used to collect the detection. A reflected wave of sound waves; the processor 22 may be connected to the above-mentioned horn 242 and the microphone 244, respectively, and the processor 22 may be used to determine whether the reflected wave collected by the microphone 244 is a resonance wave of the detected sound wave played by the above-mentioned horn 242, thereby determining the current Whether the earphone 24 is already in the ear.
在一个可选的实施例中,图7中所示的耳机24可为图5~6中所示的耳机10,同时也可进行上述耳机入耳检测的方法中任意一个实施例中的流程步骤,进而精准的实现对耳机的入耳检测操作。In an optional embodiment, the earphone 24 shown in FIG. 7 may be the earphone 10 shown in FIGS. 5 to 6, and at the same time, the process steps in any one of the above methods for earphone detection may be performed. Then, the in-ear detection operation of the headphones is accurately realized.
以上所述实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。The technical features of the embodiments described above can be arbitrarily combined. In order to simplify the description, all possible combinations of the technical features in the above embodiments have not been described. However, as long as there is no contradiction in the combination of these technical features, It should be considered as the scope described in this specification.
以上所述实施例仅表达了本发明的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本发明构思的前提下,还可以做出若干变形和改进,这些都属于本发明的保护范围。因此,本发明专利的保护范围应以所附权利要求为准。The above-mentioned embodiments only express several implementation manners of the present invention, and their descriptions are more specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be noted that, for those of ordinary skill in the art, without departing from the concept of the present invention, several modifications and improvements can be made, which all belong to the protection scope of the present invention. Therefore, the protection scope of the invention patent shall be subject to the appended claims.

Claims (10)

  1. 一种耳机入耳检测的方法,所述方法包括:A method for detecting earphone in-ear, the method includes:
    所述耳机播放检测声波;所述检测声波具有第一声学参数;The earphone plays a detection sound wave; the detection sound wave has a first acoustic parameter;
    采集所述检测声波的反射波;所述反射波具有第二声学参数;以及Collecting a reflected wave of the detection acoustic wave; the reflected wave has a second acoustic parameter; and
    基于所述第一声学参数和所述第二声学参数,判断所述耳机是否已经入耳。Based on the first acoustic parameter and the second acoustic parameter, determine whether the earphone has been inserted into the ear.
  2. 根据权利要求1所述的方法,其特征在于,所述基于所述第一声学参数和所述第二声学参数,判断所述耳机是否已经入耳包括:The method according to claim 1, wherein determining whether the earphone has been inserted into the ear based on the first acoustic parameter and the second acoustic parameter comprises:
    基于所述第一声学参数和所述第二声学参数判断所述反射波是否为所述检测声波的谐振波;Determining whether the reflected wave is a resonance wave of the detected acoustic wave based on the first acoustic parameter and the second acoustic parameter;
    其中,若所述反射波是所述检测声波的谐振波,则判定所述耳机已经入耳。Wherein, if the reflected wave is a resonance wave of the detection sound wave, it is determined that the earphone has been inserted into the ear.
  3. 根据权利要求2所述的方法,其特征在于,所述第一声学参数包括预设频段,所述方法还包括:The method according to claim 2, wherein the first acoustic parameter includes a preset frequency band, and the method further comprises:
    基于大数据分析获取所述预设频段;Obtaining the preset frequency band based on big data analysis;
    其中,所述预设频段为所述耳机插入不同人耳所形成的密封腔室的谐振频段。Wherein, the preset frequency band is a resonance frequency band formed by the earphone being inserted into a sealed cavity formed by different human ears.
  4. 根据权利要求3所述的方法,其特征在于,所述第一声学参数还包括第一幅度,且所述检测声波的幅度在所述预设频段范围内恒定为所述第一幅度;所述第二声学参数包括第二幅度,所述第二幅度为所采集的反射波的幅度值;所述方法还包括:The method according to claim 3, wherein the first acoustic parameter further includes a first amplitude, and the amplitude of the detected sound wave is constant to the first amplitude within the preset frequency band range; The second acoustic parameter includes a second amplitude, and the second amplitude is an amplitude value of the collected reflected wave; the method further includes:
    预设参考幅度阈值;所述参考幅度阈值大于或等于所述第一幅度;A preset reference amplitude threshold; the reference amplitude threshold is greater than or equal to the first amplitude;
    其中,所述基于所述第一声学参数和所述第二声学参数判断所述反射波是否为所述检测声波的谐振波包括:Wherein, determining whether the reflected wave is a resonance wave of the detection acoustic wave based on the first acoustic parameter and the second acoustic parameter includes:
    判断所述第二幅度是否大于所述参考幅度阈值;Determining whether the second amplitude is greater than the reference amplitude threshold;
    若所述第二幅度大于所述参考幅度阈值,则判定所述反射波为所述检测声波的谐振波;以及If the second amplitude is greater than the reference amplitude threshold, determining that the reflected wave is a resonance wave of the detected acoustic wave; and
    所述反射波为所述检测声波的谐振波时,所述第二幅度为所述反射波的最大幅度值。When the reflected wave is a resonance wave of the detected acoustic wave, the second amplitude is a maximum amplitude value of the reflected wave.
  5. 根据权利要求3所述的方法,其特征在于,采用扫频的方式循环播放所述检测声波;The method according to claim 3, wherein the detection sound wave is cyclically played in a frequency sweeping manner;
    其中,判定所述耳机已经入耳时,停止播放所述检测声波。When it is determined that the earphone has been inserted into the ear, the detection sound wave is stopped from being played.
  6. 根据权利要求1~5中任意一项所述的方法,其特征在于,所述耳机包括喇叭和麦克风,其特征在于,The method according to any one of claims 1 to 5, wherein the earphone includes a speaker and a microphone, and is characterized in that:
    利用所述喇叭播放所述检测声波;以及Playing the detection sound wave using the speaker; and
    利用所述麦克风采集所述检测声波的所述反射波。The reflected wave of the detection sound wave is collected using the microphone.
  7. 根据权利要求1~5中任意一项所述的方法,其特征在于,所述耳机为入耳式耳机。The method according to any one of claims 1 to 5, wherein the earphone is an in-ear earphone.
  8. 一种耳机,包括:A headset including:
    喇叭,用于播放声音;以及Speakers for playing sounds; and
    麦克风,用于采集环境声音;Microphone for capturing ambient sound;
    其中,所述喇叭还用于播放检测声波,所述麦克风还用于采集所述检测声波的反射波;以及Wherein, the speaker is further used for playing detection sound waves, and the microphone is further used for collecting reflected waves of the detection sound waves; and
    所述检测声波和所述反射波用于检测所述耳机是否入耳。The detection sound wave and the reflected wave are used to detect whether the earphone is in the ear.
  9. 根据权利要求8所述的耳机,其特征在于,所述耳机为入耳式耳机。The headset according to claim 8, wherein the headset is an in-ear headset.
  10. 一种耳机入耳检测系统,包括:An earphone detection system includes:
    耳机,包括喇叭和麦克风;所述喇叭用于播放检测声波,所述降噪耳麦用于采集所述检测声波的反射波;以及An earphone including a speaker and a microphone; the speaker is used to play a detection sound wave, and the noise reduction headset is used to collect a reflected wave of the detection sound wave; and
    处理器,分别与所述喇叭和所述麦克风连接;A processor, which is respectively connected to the speaker and the microphone;
    其中,所述处理器用于根据所述反射波是否为所述检测声波的谐振波,判断所述耳机是否已经入耳。The processor is configured to determine whether the earphone has entered the ear according to whether the reflected wave is a resonance wave of the detection sound wave.
PCT/CN2018/095879 2018-07-17 2018-07-17 Earphone, and earphone in-ear detection method and system WO2020014853A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2018/095879 WO2020014853A1 (en) 2018-07-17 2018-07-17 Earphone, and earphone in-ear detection method and system
CN201880000840.4A CN109076279A (en) 2018-07-17 2018-07-17 The method and system of the pleasant detection of earphone, earphone

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2018/095879 WO2020014853A1 (en) 2018-07-17 2018-07-17 Earphone, and earphone in-ear detection method and system

Publications (1)

Publication Number Publication Date
WO2020014853A1 true WO2020014853A1 (en) 2020-01-23

Family

ID=64789391

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/095879 WO2020014853A1 (en) 2018-07-17 2018-07-17 Earphone, and earphone in-ear detection method and system

Country Status (2)

Country Link
CN (1) CN109076279A (en)
WO (1) WO2020014853A1 (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109076279A (en) * 2018-07-17 2018-12-21 万魔声学科技有限公司 The method and system of the pleasant detection of earphone, earphone
CN110337054A (en) * 2019-06-28 2019-10-15 Oppo广东移动通信有限公司 Method, apparatus, equipment and the computer storage medium of test earphone wearing state
CN110278509A (en) * 2019-07-26 2019-09-24 歌尔股份有限公司 A kind of wireless headset control method, device and wireless headset and storage medium
CN111436016B (en) * 2019-10-29 2021-07-30 珠海市杰理科技股份有限公司 Earphone ear-to-ear debugging method, device and system and wireless earphone
CN110677768A (en) * 2019-10-31 2020-01-10 歌尔科技有限公司 Wireless earphone control method and device, wireless earphone and storage medium
CN111343534A (en) * 2020-03-02 2020-06-26 昆山众赢昌盛贸易有限公司 Wireless earphone in-ear detection method and wireless earphone
CN111988692B (en) * 2020-08-07 2022-11-15 歌尔科技有限公司 Earphone wearing state detection method and device, earphone and storage medium
CN112272346B (en) * 2020-11-27 2023-01-24 歌尔科技有限公司 In-ear detection method, earphone and computer readable storage medium
CN112911485B (en) * 2021-02-09 2022-06-17 恒玄科技(上海)股份有限公司 Wireless earphone in and out ear detection method, wireless earphone and medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060045304A1 (en) * 2004-09-02 2006-03-02 Maxtor Corporation Smart earphone systems devices and methods
CN102293013A (en) * 2009-01-23 2011-12-21 索尼爱立信移动通讯有限公司 Acoustic in-ear detection for earpiece
US20150215719A1 (en) * 2014-01-24 2015-07-30 Genya G. Turgul Detecting headphone earpiece location and orientation based on differential user ear temperature
US20170347180A1 (en) * 2016-05-27 2017-11-30 Bugatone Ltd. Determining earpiece presence at a user ear
WO2018085025A1 (en) * 2016-11-03 2018-05-11 Bose Corporation On/off head detection of personal acoustic device using an earpiece microphone
CN109076279A (en) * 2018-07-17 2018-12-21 万魔声学科技有限公司 The method and system of the pleasant detection of earphone, earphone

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060045304A1 (en) * 2004-09-02 2006-03-02 Maxtor Corporation Smart earphone systems devices and methods
CN102293013A (en) * 2009-01-23 2011-12-21 索尼爱立信移动通讯有限公司 Acoustic in-ear detection for earpiece
US20150215719A1 (en) * 2014-01-24 2015-07-30 Genya G. Turgul Detecting headphone earpiece location and orientation based on differential user ear temperature
US20170347180A1 (en) * 2016-05-27 2017-11-30 Bugatone Ltd. Determining earpiece presence at a user ear
WO2018085025A1 (en) * 2016-11-03 2018-05-11 Bose Corporation On/off head detection of personal acoustic device using an earpiece microphone
CN109076279A (en) * 2018-07-17 2018-12-21 万魔声学科技有限公司 The method and system of the pleasant detection of earphone, earphone

Also Published As

Publication number Publication date
CN109076279A (en) 2018-12-21

Similar Documents

Publication Publication Date Title
WO2020014853A1 (en) Earphone, and earphone in-ear detection method and system
US9674625B2 (en) Passive proximity detection
US9913022B2 (en) System and method of improving voice quality in a wireless headset with untethered earbuds of a mobile device
US20210144481A1 (en) Ultrasonic proximity sensors, and related systems and methods
WO2021179280A1 (en) Earphone and method for detecting wearing state thereof
JP6211716B2 (en) Method, apparatus, and hands-free call device for improving call quality of hands-free call device
WO2007063880A1 (en) Position detection system, audio device and terminal device used in the position detection system
US9686608B2 (en) Sensor
CN113630708B (en) Method and device for detecting abnormal earphone microphone, earphone kit and storage medium
JP2009284097A (en) Canal type earphone, using method thereof, and resonant frequency calculation apparatus
CN111065035A (en) Bone conduction earphone testing method and testing system
WO2019136475A1 (en) Voice isolation system
TWI558154B (en) Method and apparatus for audio testing
US11918345B2 (en) Cough detection
WO2008128173A1 (en) Method and device for voice operated control
US11297429B2 (en) Proximity detection for wireless in-ear listening devices
KR20220117290A (en) Systems and methods for on-ear detection of headsets
CN112235683B (en) Microphone and ambient sound noise reduction method
CN115039418A (en) System and method for on-ear detection of a headset
WO2018133247A1 (en) Abnormal sound detection method and apparatus
CN108810745B (en) Howling test method, howling test system and related device
EP4393163A1 (en) Wearable audio device zero-crossing based parasitic oscillation detection
US11627401B2 (en) Method and apparatus for on ear detect
US11206502B1 (en) System and method for evaluating an ear seal using normalization
WO2022042862A1 (en) Earphone device and method for earphone device

Legal Events

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

Ref document number: 18927063

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 14/05/2021)

122 Ep: pct application non-entry in european phase

Ref document number: 18927063

Country of ref document: EP

Kind code of ref document: A1