CN112333595A - Earphone calibration method, device and system - Google Patents

Earphone calibration method, device and system Download PDF

Info

Publication number
CN112333595A
CN112333595A CN202011220158.1A CN202011220158A CN112333595A CN 112333595 A CN112333595 A CN 112333595A CN 202011220158 A CN202011220158 A CN 202011220158A CN 112333595 A CN112333595 A CN 112333595A
Authority
CN
China
Prior art keywords
earphone
feedforward
noise reduction
frequency response
response signal
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
CN202011220158.1A
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.)
Shengyuan Science And Technology Shenzhen Co ltd
Original Assignee
Shengyuan Science And Technology Shenzhen 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 Shengyuan Science And Technology Shenzhen Co ltd filed Critical Shengyuan Science And Technology Shenzhen Co ltd
Priority to CN202011220158.1A priority Critical patent/CN112333595A/en
Publication of CN112333595A publication Critical patent/CN112333595A/en
Pending legal-status Critical Current

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/1083Reduction of ambient noise
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R3/00Circuits for transducers, loudspeakers or microphones
    • H04R3/04Circuits for transducers, loudspeakers or microphones for correcting frequency response
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R2460/00Details of hearing devices, i.e. of ear- or headphones covered by H04R1/10 or H04R5/033 but not provided for in any of their subgroups, or of hearing aids covered by H04R25/00 but not provided for in any of its subgroups
    • H04R2460/01Hearing devices using active noise cancellation

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)
  • Soundproofing, Sound Blocking, And Sound Damping (AREA)
  • Headphones And Earphones (AREA)

Abstract

The application provides a method, a device and a system for calibrating an earphone, which are applied to the technical field of earphone noise reduction, wherein the method for calibrating the earphone comprises the following steps: acquiring first standard audio data played by an external player and first personalized audio data acquired by a detection microphone placed in an ear canal of a user, and determining a passive curve signal corresponding to the user; acquiring a first frequency response signal corresponding to a feedforward microphone in the earphone to be calibrated and a second frequency response signal corresponding to an earphone loudspeaker in the earphone to be calibrated; determining a feedforward transfer function according to the passive curve signal, the first frequency response signal and the second frequency response signal; and calibrating the feedforward noise reduction filtering parameters of the feedforward noise reduction filter according to the feedforward transfer function. Therefore, different first personalized audio data can be collected for different users, so that the earphone can be calibrated according to the difference of the ears of different users, and each user can be guaranteed to have a good noise reduction effect.

Description

Earphone calibration method, device and system
Technical Field
The application relates to the technical field of earphone noise reduction, in particular to an earphone calibration method, device and system.
Background
At present, an Active Noise Cancellation (ANC) technology is widely applied to earphones, and the technology can reduce the ambient Noise heard by a user in the using process so as to protect the hearing of the user from being damaged by Noise and enable the user to have better listening experience. The basic principle of ANC is as follows: the microphone in the earphone is used for acquiring external noise, the noise signal acquired by the filter circuit is used for processing, and then the processed sound signal is played by the loudspeaker in the earphone to be offset with the noise so as to achieve the effect of noise reduction.
During the production of ANC headphones, the ANC effect of the headphones needs to be calibrated. However, the current ANC headset calibration is based on a test fixture on a production line, and even if the test consistency can be ensured, due to differences of human ears, the noise reduction effect of some users wearing ANC headsets is poor due to the fact that test calibration is performed by adopting a consistent standard.
Disclosure of Invention
An object of the embodiments of the present application is to provide a method, an apparatus, and a system for calibrating an earphone, so as to solve the technical problem that the noise reduction effect of an ANC earphone worn by some users is poor due to the existing test calibration using a consistent standard.
In order to achieve the above purpose, the technical solutions provided in the embodiments of the present application are as follows:
in a first aspect, an embodiment of the present application provides a method for calibrating an earphone, where the method includes: acquiring first standard audio data played by an external player and first personalized audio data acquired by a detection microphone placed in an ear canal of a user; determining a passive curve signal corresponding to the user according to the first standard audio data and the first personalized audio data; wherein the passive curve signal is a difference between the first standard audio data and the first personalized audio data; acquiring a first frequency response signal and a second frequency response signal; the first frequency response signal is a frequency response signal corresponding to a feedforward microphone in the earphone to be calibrated, and the second frequency response signal is a frequency response signal corresponding to an earphone loudspeaker in the earphone to be calibrated; determining a feed-forward transfer function according to the passive curve signal, the first frequency response signal and the second frequency response signal; the feedforward transfer function is the transfer function of a feedforward noise reduction filter corresponding to the earphone to be calibrated; and calibrating the feedforward noise reduction filtering parameters of the feedforward noise reduction filter according to the feedforward transfer function. In the scheme, a detection microphone placed in an ear canal of a user is used for collecting first personalized audio data personalized for the user, a passive curve signal corresponding to the user is generated based on the first personalized audio data, and a feedforward transfer function corresponding to the user is further determined so as to calibrate the earphone to be calibrated. Therefore, different first personalized audio data can be collected for different users, so that the earphone can be calibrated according to the difference of the ears of different users, and each user can be guaranteed to have a good noise reduction effect.
In an optional embodiment of the present application, the calibrating the feedforward noise reduction filter parameters of the feedforward noise reduction filter according to the feedforward transfer function includes: determining an amplitude curve and a phase curve of the feedforward transfer function; and adjusting the feedforward noise reduction filtering parameters by using a digital signal processing algorithm so as to match the amplitude of the curve corresponding to the feedforward noise reduction filter with the amplitude curve and fit the phase of the curve corresponding to the feedforward noise reduction filter with the phase curve. In the above scheme, a digital signal processing algorithm may be used to adjust the feedforward noise reduction filter parameters corresponding to the feedforward noise reduction filter corresponding to the headphone to be calibrated, so as to calibrate the headphone to be calibrated.
In an alternative embodiment of the present application, the acquiring the first frequency response signal includes: acquiring second standard audio data played by the external player and second personalized audio data acquired by the feedforward microphone; determining the first frequency response signal from the second standard audio and the second personalized audio data. In the above scheme, the standard audio may be played through the external player, and the feedforward microphone acquires the personalized audio to obtain a first frequency response signal corresponding to the feedforward microphone, so that the feedforward transfer function corresponding to the feedforward noise reduction filter corresponding to the headphone to be calibrated may be determined by using the first frequency response signal to complete personalized calibration of the headphone to be calibrated.
In an alternative embodiment of the present application, the acquiring the second frequency response signal includes: acquiring third standard audio data played by the earphone loudspeaker and third personalized audio data acquired by the detection microphone; determining the second frequency response signal from the third standard audio and the third personalized audio data. In the above scheme, the standard audio can be played through the earphone speaker, and the personalized audio is collected by the detection microphone to obtain the second frequency response signal corresponding to the earphone speaker, so that the feedforward transfer function corresponding to the feedforward noise reduction filter corresponding to the earphone to be calibrated can be determined by using the second frequency response signal to complete the personalized calibration of the earphone to be calibrated.
In an optional embodiment of the present application, after said calibrating feedforward noise reduction filter parameters of said feedforward noise reduction filter according to said feedforward transfer function, said method further comprises: and sending the calibrated feedforward noise reduction filtering parameters to an earphone production party so that the earphone production party utilizes the calibrated feedforward noise reduction filtering parameters to produce the personalized earphones. In the above scheme, the calibrated feedforward noise reduction filter parameters of the feedforward noise reduction filter can be fed back to a factory, and the factory directly utilizes the calibrated feedforward noise reduction filter parameters to produce the personalized earphone of the user, so that the user can use the personalized earphone calibrated by the user.
In an optional embodiment of the present application, after said calibrating feedforward noise reduction filter parameters of said feedforward noise reduction filter according to said feedforward transfer function, said method further comprises: and sending the calibrated feedforward noise reduction filter parameters to the earphone to be calibrated so that the earphone to be calibrated replaces the feedforward noise reduction filter parameters before calibration by the calibrated feedforward noise reduction filter parameters. In the above scheme, the parameters before calibration in the earphone to be calibrated can be replaced by using the feedforward noise reduction filter parameters of the calibrated feedforward noise reduction filter to obtain the personalized earphone of the user, so that the user can use the personalized earphone subjected to the personalized calibration.
In an optional embodiment of the present application, the calibration method further comprises: acquiring fourth personalized audio data acquired by a feedback microphone in the earphone to be calibrated when the earphone loudspeaker plays a fourth standard audio; determining a third frequency response signal according to the fourth personalized audio data; the third frequency response signal is a frequency response signal corresponding to the feedback microphone; determining a feedback transfer function according to the third frequency response signal; the feedback transfer function is the transfer function of the feedback noise reduction filter corresponding to the earphone to be calibrated; and calibrating the feedback noise reduction filtering parameters of the feedback noise reduction filter according to the feedback transfer function. In the above scheme, in addition to calibrating the feedforward noise reduction earphone, the feedback noise reduction earphone and the hybrid earphone can also be calibrated, so that each user can be guaranteed to have a better noise reduction effect for different earphone types.
In a second aspect, an embodiment of the present application provides an earphone calibration device, including: the first acquisition module is used for acquiring first standard audio data played by the external player and first personalized audio data acquired by a detection microphone placed in an ear canal of a user; the first determining module is used for determining a passive curve signal corresponding to the user according to the first standard audio data and the first personalized audio data; wherein the passive curve signal is a difference between the first standard audio data and the first personalized audio data; the second acquisition module is used for acquiring the first frequency response signal and the second frequency response signal; the first frequency response signal is a frequency response signal corresponding to a feedforward microphone in the earphone to be calibrated, and the second frequency response signal is a frequency response signal corresponding to an earphone loudspeaker in the earphone to be calibrated; a second determining module, configured to determine a feedforward transfer function according to the passive curve signal, the first frequency response signal, and the second frequency response signal; the feedforward transfer function is the transfer function of a feedforward noise reduction filter corresponding to the earphone to be calibrated; and the first calibration module is used for calibrating the feedforward noise reduction filtering parameters of the feedforward noise reduction filter according to the feedforward transfer function. In the scheme, a detection microphone placed in an ear canal of a user is used for collecting first personalized audio data personalized for the user, a passive curve signal corresponding to the user is generated based on the first personalized audio data, and a feedforward transfer function corresponding to the user is further determined so as to calibrate the earphone to be calibrated. Therefore, different first personalized audio data can be collected for different users, so that the earphone can be calibrated according to the difference of the ears of different users, and each user can be guaranteed to have a good noise reduction effect.
In an optional embodiment of the present application, the first calibration module is further configured to: determining an amplitude curve and a phase curve of the feedforward transfer function; and adjusting the feedforward noise reduction filtering parameters by using a digital signal processing algorithm so as to match the amplitude of the curve corresponding to the feedforward noise reduction filter with the amplitude curve and fit the phase of the curve corresponding to the feedforward noise reduction filter with the phase curve. In the above scheme, a digital signal processing algorithm may be used to adjust the feedforward noise reduction filter parameters corresponding to the feedforward noise reduction filter corresponding to the headphone to be calibrated, so as to calibrate the headphone to be calibrated.
In an optional embodiment of the present application, the second obtaining module is further configured to: acquiring second standard audio data played by the external player and second personalized audio data acquired by the feedforward microphone; determining the first frequency response signal from the second standard audio and the second personalized audio data. In the above scheme, the standard audio may be played through the external player, and the feedforward microphone acquires the personalized audio to obtain a first frequency response signal corresponding to the feedforward microphone, so that the feedforward transfer function corresponding to the feedforward noise reduction filter corresponding to the headphone to be calibrated may be determined by using the first frequency response signal to complete personalized calibration of the headphone to be calibrated.
In an optional embodiment of the present application, the second obtaining module is further configured to: acquiring third standard audio data played by the earphone loudspeaker and third personalized audio data acquired by the detection microphone; determining the second frequency response signal from the third standard audio and the third personalized audio data. In the above scheme, the standard audio can be played through the earphone speaker, and the personalized audio is collected by the detection microphone to obtain the second frequency response signal corresponding to the earphone speaker, so that the feedforward transfer function corresponding to the feedforward noise reduction filter corresponding to the earphone to be calibrated can be determined by using the second frequency response signal to complete the personalized calibration of the earphone to be calibrated.
In an optional embodiment of the present application, the headset calibration device further comprises: and the first sending module is used for sending the calibrated feedforward noise reduction filtering parameters to an earphone production party so that the earphone production party utilizes the calibrated feedforward noise reduction filtering parameters to produce the personalized earphones. In the above scheme, the calibrated feedforward noise reduction filter parameters of the feedforward noise reduction filter can be fed back to the earphone production side, and the earphone production side directly utilizes the calibrated feedforward noise reduction filter parameters to produce the personalized earphone of the user, so that the user can use the personalized earphone calibrated by the user.
In an optional embodiment of the present application, the headset calibration device further comprises: and the second sending module is used for sending the calibrated feedforward noise reduction filter parameters to the earphone to be calibrated so that the earphone to be calibrated replaces the feedforward noise reduction filter parameters before calibration by the calibrated feedforward noise reduction filter parameters. In the above scheme, the parameters before calibration in the earphone to be calibrated can be replaced by using the feedforward noise reduction filter parameters of the calibrated feedforward noise reduction filter to obtain the personalized earphone of the user, so that the user can use the personalized earphone subjected to the personalized calibration.
In an optional embodiment of the present application, the headset calibration device further comprises: the third acquisition module is used for acquiring fourth personalized audio data acquired by a feedback microphone in the earphone to be calibrated when the earphone loudspeaker plays a fourth standard audio; a third determining module, configured to determine a third frequency response signal according to the fourth personalized audio data; the third frequency response signal is a frequency response signal corresponding to the feedback microphone; a fourth determining module, configured to determine a feedback transfer function according to the third frequency response signal; the feedback transfer function is the transfer function of the feedback noise reduction filter corresponding to the earphone to be calibrated; and the second calibration module is used for calibrating the feedback noise reduction filtering parameters of the feedback noise reduction filter according to the feedback transfer function. In the above scheme, in addition to calibrating the feedforward noise reduction earphone, the feedback noise reduction earphone and the hybrid earphone can also be calibrated, so that each user can be guaranteed to have a better noise reduction effect for different earphone types.
In a third aspect, an embodiment of the present application provides an earphone calibration system, including: the earphone body comprises a feedforward microphone and an earphone loudspeaker; the detection microphone is used for collecting audio data in the ear canal of the user; a calibration module, communicatively connected to the feedforward microphone, the earpiece speaker and the detection microphone, for performing the earpiece calibration method according to the first aspect; an external player.
In an optional embodiment of the present application, the earphone body further comprises: a feedback microphone; the calibration module is in communication connection with the feedback microphone and is further configured to perform the headset calibration method according to the first aspect.
In a fourth aspect, an embodiment of the present application provides an electronic device, including: a processor, a memory, and a bus; the processor and the memory are communicated with each other through the bus; the memory stores program instructions executable by the processor, the processor invoking the program instructions capable of performing the headset calibration method as in the first aspect.
In a fifth aspect, embodiments of the present application provide a non-transitory computer-readable storage medium storing computer instructions that cause the computer to perform the headset calibration method as in the first aspect.
In order to make the aforementioned objects, features and advantages of the present application more comprehensible, embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments of the present application will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and that those skilled in the art can also obtain other related drawings based on the drawings without inventive efforts.
Fig. 1 is a schematic structural diagram of an earphone calibration system according to an embodiment of the present disclosure;
fig. 2 is a flowchart of an earphone calibration method according to an embodiment of the present disclosure;
fig. 3 is a flowchart of another earphone calibration method provided in the embodiments of the present application;
fig. 4 is a block diagram illustrating a structure of an earphone calibration apparatus according to an embodiment of the present disclosure;
fig. 5 is a block diagram of an electronic device according to an embodiment of the present disclosure.
Icon: 10-headset calibration system; 100-an earphone body; 101-a feedforward microphone; 102-a headphone speaker; 103-a feedback microphone; 200-a detection microphone; 300-calibration module.
Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application.
Referring to fig. 1, fig. 1 is a schematic structural diagram of an earphone calibration system according to an embodiment of the present application, where the earphone calibration system 10 may include: the earphone comprises an earphone body 100, a detection microphone 200 and a calibration module 300.
In an optional implementation manner, the earphones provided in the embodiments of the present application are all ANC earphones, where the ANC earphones may have multiple types, including: a feed-forward noise reduction headphone, a feedback noise reduction headphone, and a hybrid noise reduction headphone (shown in fig. 1 as a hybrid noise reduction headphone). Each type of headset will be briefly described in turn.
First, the noise reduction headphone of the feedforward type is introduced, in this case, the headphone body 100 includes a feedforward microphone 101 and a headphone speaker 102. The earphone speaker 102 is disposed inside the earphone body 100 and is used for playing audio; the feedforward microphone 101 is also arranged inside the earphone body 100, and the direction is towards the outside of the ear for collecting external noise, and then through the feedforward noise reduction filter inside the earphone body 100, the sound wave opposite to the external noise is added when the feedforward noise reduction earphone plays music, so as to offset the external noise.
Next, a feedback noise reduction headphone is introduced, in which the headphone body 100 includes a feedback microphone 103 and a headphone speaker 102. Similarly, the earphone speaker 102 is disposed inside the earphone body 100 and is used for playing audio; the feedback microphone 103 is also arranged inside the earphone body 100, and the direction of the feedback microphone faces the inner side of the ear, so that noise in the ear cavity of the user can be collected, and then the feedback noise reduction filter inside the earphone body 100 is used for adding sound waves which are opposite to the noise in the ear cavity of the user while the feedback noise reduction earphone plays music, so that the noise in the ear cavity of the user can be offset.
Finally, the hybrid noise reduction headphone is described, in which the headphone body 100 includes a feedforward microphone 101, a feedback microphone 103, and a headphone speaker 102. The arrangement and operation principle of the feedforward microphone 101, the feedback microphone 103 and the earphone speaker 102 are similar to those of the feedforward noise reduction earphone and the feedback noise reduction earphone in the above embodiments, and are not described herein again.
It is understood that the earphone body 100 may include, in addition to the feedforward microphone 101, the feedback microphone 103 and the earphone speaker 102, an ear muff, an ear insertion part, a head mount or a data cable, and the like, and those skilled in the art may make a suitable choice according to the actual situation, and the embodiment of the present application is not limited specifically.
The headset calibration system 10 provided by the embodiment of the application can be used for calibrating the three types of headsets. In the calibration process, in order to ensure that the calibrated earphone has a good noise reduction effect for each user, the earphone calibration system 10 may further include a detection microphone 200 for collecting audio data in the ear canal of the user. This is because the ears of different users vary from one another, and the audio data in the ear canals of the users collected by the detection microphones 200 are personalized audio data unique to the users, and the personalized calibration of the earphones can be realized based on the personalized audio data.
As an embodiment, the detecting microphone 200 may be a single microphone, and when the user needs to calibrate the earphone, the detecting microphone 200 may be placed in the ear canal and then the earphone is worn; as another embodiment, the detecting microphone 200 may also be a part of the earphone body 100, that is, the detecting microphone 200 may be disposed on the earphone body 100 (for example, fixed on the earphone body 100 or detachably disposed on the earphone body 100), and when the user needs to calibrate the earphone, the user can directly wear the earphone and place the detecting microphone 200 in the ear canal.
In addition, the headset calibration system 10 may further include a calibration module 300, where the calibration module 300 may be communicatively connected to the detection microphone 200 in the above embodiments, and is configured to receive the audio data collected by the detection microphone 200 and calibrate the headset according to the received audio data. The specific method performed by the calibration module 300 will be described in detail in the following embodiments, which will not be described herein.
It is understood that the calibration module 300 may also be communicatively connected to the earphone body 100.
As an embodiment, when the earphone is a feedforward noise reduction earphone, the calibration module 300 may be connected to one or more components of the feedforward microphone 101 and the earphone speaker 102 disposed inside the earphone body 100, and configured to receive audio data collected by the feedforward microphone 101 and audio data played by the earphone speaker 102 (or control the earphone speaker 102 to play audio data).
As another embodiment, when the earphone is a feedback noise reduction earphone, the calibration module 300 may be connected to one or more components of the earphone speaker 102 and the feedback microphone 103 disposed inside the earphone body 100, and configured to receive audio data collected by the feedforward microphone 101 and audio data played by the earphone speaker 102 (or control the earphone speaker 102 to play audio data) and audio data collected by the feedback microphone 103.
As still another embodiment, when the earphone is a hybrid noise reduction earphone, the calibration module 300 may be connected to one or more of the feedforward microphone 101, the earphone speaker 102 and the feedback microphone 103 disposed inside the earphone body 100.
It is understood that the feedforward microphone 101, the earphone speaker 102, the feedback microphone 103, the detection microphone 200 and the calibration module 300 may perform data transmission in a wireless connection manner, may also perform data transmission in a wired connection manner, may also perform data transmission in a wireless connection manner in part, and perform data transmission in a wired connection manner in another part, which is not specifically limited in this embodiment of the present application.
In the above embodiments, the calibration module 300 may be an electronic device, such as: notebook computer, cell-phone, panel computer etc. staff or user can calibrate the earphone based on calibration module 300 at the calibration scene. At this time, the calibration module 300 may be connected to the detection microphone 200 by a wire, or may be connected to the feedforward microphone 101, the earpiece speaker 102, or the feedback microphone 103 by a wire, and directly receive the audio data sent by the detection microphone 200, the feedforward microphone 101, the earpiece speaker 102, or the feedback microphone 103.
Of course, in the above embodiment, the calibration module 300 may also be a server in the cloud, and a worker or a user may remotely calibrate the headset. At this time, the calibration module 300 may be wirelessly connected to the detection microphone 200, and may also be wirelessly connected to the feedforward microphone 101, the earphone speaker 102, or the feedback microphone 103, and the detection microphone 200, the feedforward microphone 101, the earphone speaker 102, and the feedback microphone 103 upload the audio data to the calibration module 300.
Further, the earphone calibration system 10 provided in the embodiment of the present application may further include an external player for playing audio during the calibration process.
In alternative embodiments, there are multiple implementations of the external player. As an embodiment, the external player may be a single speaker, such as a sound box, and during the calibration process, the sound box may be opened to play audio; as another embodiment, the external player may be a part of the calibration module 300, such as: when the calibration module 300 is a desktop computer, the external player may be an external speaker of the computer. In the calibration process, the calibration module 300 may drive the external player to play audio through the sound card device.
Further, the headset calibration system 10 provided in the embodiment of the present application may further include a sensor connected to the calibration module 300 for collecting wearing data of the user.
In an alternative embodiment, the sensor in the headset calibration system 10 may send the collected data about the user wearing the headset to the calibration module 300 after the user wears the headset, so that the calibration module 300 can determine that the user has worn the headset, and thus, the process of calibrating the headset may be automatically started.
It will be appreciated that in order to calibrate both sides of the headset simultaneously, two parts of the structure in the above described embodiment should be present simultaneously, for example: two feedforward microphones 101 and two feedback microphones 103 respectively disposed at left and right sides of the earphone body 100; two detecting microphones 200 are respectively used for collecting audio data in the ear canals of the left ear and the right ear of the user.
Based on the above earphone calibration system 10, the embodiment of the present application further provides an earphone calibration method, which is applied to the calibration module 300 in the earphone calibration system 10. The headphone calibration method for calibrating a feed-forward noise reduction headphone is described below.
Referring to fig. 2, fig. 2 is a flowchart of a headset calibration method according to an embodiment of the present disclosure, where the headset calibration method includes the following steps:
step S201: the method comprises the steps of obtaining first standard audio data played by an external player and first personalized audio data collected by a detection microphone placed in an ear canal of a user.
Step S202: and determining a passive curve signal corresponding to the user according to the first standard audio data and the first personalized audio data.
Step S203: a first frequency response signal and a second frequency response signal are obtained.
Step S204: a feedforward transfer function is determined from the passive curve signal, the first frequency response signal, and the second frequency response signal.
Step S205: and calibrating the feedforward noise reduction filtering parameters of the feedforward noise reduction filter according to the feedforward transfer function.
In an alternative embodiment, when a user needs to calibrate one earphone to be calibrated, the earphone to be calibrated may be worn, the detection microphone is placed in the ear canal, and then the external player plays audio (for convenience of description, named as first standard audio data), at this time, the detection microphone placed in the ear canal of the user collects audio data (for convenience of description, named as first personalized audio data), and then the calibration module may start to perform the above steps S201 to S205.
The transfer function (named as feedforward transfer function for ease of description) corresponding to the feedforward noise reduction filter corresponding to the existing headphone to be calibrated can be expressed as:
g(ff)=fpassive-frefmic-fspk
wherein g (ff) denotes the feed forward transfer function, fpassiveIndicates a passive curve signal, f, obtained using a test fixturerefmicThe frequency response signal corresponding to the feedforward microphone in the earphone to be calibrated (named as the first frequency response signal for convenience of description), fspkRefers to the frequency response signal (named as the second frequency response signal for convenience of description) corresponding to the earphone loudspeaker in the earphone to be calibrated.
And the passive curve signal is a passive signal obtained by testing in the process of reducing the noise of the feedforward noise reduction filter by using a test fixture in a factory. The signal is a consistent signal for a fixed test fixture, but the difference with the result obtained by actual wearing of human ears is large.
The result obtained by the test of the first frequency response signal jig is close to the result obtained by the personal wearing. As an embodiment, the first frequency response signal may be determined by the following steps:
the method comprises the steps of firstly, obtaining second standard audio data played by an external player and second personalized audio data collected by a feedforward microphone.
In a second step, a first frequency response signal is determined based on the second standard audio and the second personalized audio data.
When the first frequency response signal is determined, the external player plays standard audio (named as second standard audio data for convenience of description), the earphone speaker does not play audio, the feedforward microphone collects personalized audio (named as second personalized audio data for convenience of description), and then the first frequency response signal is a difference value between the second standard audio and the second personalized audio data.
Similarly, the second frequency response signal tool tests results that are close to the results of being worn by the individual. As an embodiment, the second frequency response signal may be determined by the following steps:
the method comprises the steps of firstly, obtaining third standard audio data played by an earphone loudspeaker and third personalized audio data collected by a detection microphone.
In a second step, a second frequency response signal is determined based on the third standard audio and the third personalized audio data.
When the second frequency response signal is determined, the earphone speaker plays a standard audio (named as third standard audio data for convenience of description), the detection microphone collects a personalized audio (named as third personalized audio data for convenience of description), and the third frequency response signal is a difference value between the third standard audio data and the third personalized audio data.
It is understood that the difference between the two audio data means that the curve corresponding to the two audio data is subtracted.
It should be noted that the first standard audio data, the second standard audio data, and the third standard audio data provided in the embodiment of the present application may be the same audio data, or may also be different audio data, which is not specifically limited in the embodiment of the present application, and those skilled in the art may make appropriate adjustments according to actual situations.
Based on the feedforward transfer function, it can be seen that, because the result difference of the passive curve signal obtained by the test for the test fixture and the actual wearing test for the human ear is large, and the feedforward noise reduction filter parameter of the feedforward noise reduction filter needs to be calibrated based on the feedforward transfer function in the calibration process, the personalized calibration can be realized by replacing the passive curve signal in the transfer function corresponding to the feedforward noise reduction filter with the personalized passive function of the user.
In step S201, the calibration module may acquire the first standard audio data played by the external player in a plurality of ways, for example: receiving first standard audio data sent by an external player; or, controlling the external player to play the first standard audio data, etc.; the calibration module may acquire the first personalized audio data acquired by the detection microphone in a plurality of ways, for example: receiving first personalized audio data collected by a detection microphone in a wireless communication mode; or, the first personalized audio data collected by the detection microphone and the like are received in a wired communication mode. The embodiments of the present application are not specifically limited to these examples, and those skilled in the art can make appropriate adjustments according to actual situations.
In step S202, the calibration module may determine a passive curve signal corresponding to the user based on the acquired first standard audio data and the acquired first personalized audio data, where the passive curve signal is a difference between the first standard audio data and the first personalized audio data. It can be understood that the passive curve signal is an individualized passive curve signal of the user, and is different from the passive curve signal obtained by the test of the test fixture, and the passive curve signals of different users are also different.
In step S203, the result obtained by the fixture test is close to the result obtained by the personal wear test for the first frequency response signal and the second frequency response signal, so that the calibration module may obtain the first frequency response signal and the second frequency response signal in various ways. For example: the calibration module can be obtained by determining the first frequency response signal and the second frequency response signal in the calibration process of the earphone to be calibrated by adopting the mode of determining the first frequency response signal and the second frequency response signal in the embodiment; or the first frequency response signal and the second frequency response signal may have been determined and stored in the to-be-calibrated earphone at the time of factory shipment, and the calibration module may directly receive the first frequency response signal and the second frequency response signal sent by the to-be-calibrated earphone; alternatively, the first frequency response signal and the second frequency response signal may be determined and stored in the cloud or in the calibration module local at the time of factory shipment, and the calibration module may directly read the cloud or the local first frequency response signal and the local second frequency response signal, and the like. This is not particularly limited by the examples of the present application.
In step S204, based on the above formula and the determined passive curve signal, the first frequency response signal and the second frequency response signal, the feedforward transfer function corresponding to the user can be determined, and the step of calibrating the feedforward noise reduction filter parameters of the feedforward noise reduction filter according to the feedforward transfer function in step S205 is executed.
As an embodiment, the step S205 may include the following steps:
in a first step, an amplitude curve and a phase curve of the feedforward transfer function are determined.
And secondly, adjusting the feedforward noise reduction filtering parameters by using a digital signal processing algorithm so as to match the amplitude and amplitude curves of the corresponding curves of the feedforward noise reduction filter and fit the phase and phase curves of the corresponding curves of the feedforward noise reduction filter.
In the implementation of the method, a detection microphone placed in an ear canal of a user is used for collecting first personalized audio data personalized for the user, a passive curve signal corresponding to the user is generated based on the first personalized audio data, and a feedforward transfer function corresponding to the user is further determined so as to calibrate the earphone to be calibrated. Therefore, different first personalized audio data can be collected for different users, so that the earphone can be calibrated according to the difference of the ears of different users, and each user can be guaranteed to have a good noise reduction effect.
A headphone calibration method for calibrating a feedback noise reduction headphone is described below.
Referring to fig. 3, fig. 3 is a flowchart of another earphone calibration method according to an embodiment of the present disclosure, where the earphone calibration method includes the following steps:
step S301: and acquiring fourth personalized audio data acquired by a feedback microphone in the earphone to be calibrated when the earphone loudspeaker plays the fourth standard audio.
Step S302: a third frequency response signal is determined from the fourth personalized audio data.
Step S303: a feedback transfer function is determined from the third frequency response signal.
Step S304: and calibrating the feedback noise reduction filtering parameters of the feedback noise reduction filter according to the feedback transfer function.
In an alternative embodiment, the transfer function (named as feedback transfer function for ease of description) corresponding to the feedback noise reduction filter corresponding to the existing headphone to be calibrated may be expressed as:
g(fb)=-fspktoerrmi
wherein g (fb) denotes a feedback transfer function, fspktoerrmiRefers to the frequency response signal (named third frequency response signal for convenience of description) corresponding to the feedback microphone.
In the above steps S301 to S302, in order to determine the third frequency response signal, the standard audio (named as a fourth standard audio for convenience of description) played by the earphone speaker is obtained, and meanwhile, the calibration module obtains the personalized audio data (named as a fourth personalized audio data for convenience of description) collected by the feedback microphone in the earphone to be calibrated.
Similarly, the calibration module may obtain the fourth linearized audio data in various ways, such as: receiving fourth personalized audio data collected by a feedback microphone in a wireless communication mode; or, the fourth personalized audio data collected by the feedback microphone and the like are received in a wired communication mode. Because the third frequency response signal that the tool test obtained is close with the third frequency response signal that individual wore the result, the mode that the calibration module acquireed fourth nature audio data can also be: receiving a third frequency response signal sent by the earphone to be calibrated; or directly reading a cloud or local third frequency response signal and the like. The embodiments of the present application are not specifically limited to these examples, and those skilled in the art can make appropriate adjustments according to actual situations.
In step S303, based on the above formula, the third frequency response signal can be directly inverted, so as to obtain the feedback transfer function.
In step S304, an implementation manner of calibrating the feedback noise reduction filter parameter of the feedback noise reduction filter according to the feedback transfer function is similar to the implementation manner of calibrating the feedforward noise reduction filter parameter of the feedforward noise reduction filter according to the feedforward transfer function in the foregoing embodiment, and details are not repeated here.
In the above scheme, in addition to calibrating the feedforward noise reduction earphone, the feedback noise reduction earphone and the hybrid earphone can also be calibrated, so that each user can be guaranteed to have a better noise reduction effect for different earphone types.
A headphone calibration method for calibrating a hybrid noise reduction headphone is described below.
Since both the feedforward microphone and the feedback microphone exist in the hybrid noise reduction earphone, the calibration of the feedforward microphone and the calibration of the feedback microphone can be performed simultaneously in steps S201 to S205 and S301 to S304, and detailed description of specific embodiments will not be provided herein.
It should be noted that, in the process of calibrating the feedforward microphone, the passive curve signal obtained by the test of the fixture is greatly different from the passive curve signal obtained by being worn by an individual, so to ensure the personalization of the calibration, steps S201 to S205 need to be executed. In the calibration process of the feedback microphone, the third frequency response signal obtained by the test of the fixture is close to the third frequency response signal obtained by the personal wear, so steps S301 to S304 may be selectively executed or not executed.
Further, after completing step S205 or step S304, the earphone may be adjusted based on the calibrated feedforward noise reduction filter parameter or the feedback noise reduction filter parameter. The adjustment mode includes two types:
firstly, the calibrated feedforward noise reduction filtering parameter or the feedback noise reduction filtering parameter is transmitted back to the earphone production party, and the earphone production party directly uses the calibrated feedforward noise reduction filtering parameter or the feedback noise reduction filtering parameter to produce the earphone. At this time, the earphone calibration method provided in the embodiment of the present application may further include the following steps:
and sending the calibrated feedforward noise reduction filtering parameters to an earphone production party so that the earphone production party utilizes the calibrated feedforward noise reduction filtering parameters to produce the personalized earphones.
In an optional implementation manner, when purchasing an earphone, a user may determine an individualized feedforward noise reduction filtering parameter of the user, and then the calibration module may directly send the feedforward noise reduction filtering parameter to an earphone production party, and the earphone production party directly produces an earphone by using the calibrated parameter, and then gives the earphone to the user, so that the earphone is an individualized earphone for the user.
In the embodiment of the application, the calibrated feedforward noise reduction filter parameter of the feedforward noise reduction filter can be fed back to the earphone production side, and the earphone production side directly utilizes the calibrated feedforward noise reduction filter parameter to produce the personalized earphone of the user, so that the user can use the personalized earphone calibrated by the user.
And secondly, replacing the feedforward noise reduction filter parameters or the feedback noise reduction filter parameters before calibration in the earphone to be calibrated by using the calibrated feedforward noise reduction filter parameters or the feedback noise reduction filter parameters. At this time, the earphone calibration method provided in the embodiment of the present application may further include the following steps:
and sending the calibrated feedforward noise reduction filter parameters to the earphone to be calibrated so that the earphone to be calibrated replaces the feedforward noise reduction filter parameters before calibration by the calibrated feedforward noise reduction filter parameters.
In an optional implementation manner, since a user wants to take the earphone on the spot (at this time, the standard parameter stored in the earphone when leaving the factory) or the user wants to calibrate the existing earphone again (at this time, the earphone is stored as the parameter after the previous calibration), after the user determines the personalized feedforward noise reduction filtering parameter on the spot, the calibration module may directly send the feedforward noise reduction filtering parameter to the earphone to be calibrated, and the earphone to be calibrated replaces the parameter of the feedforward noise reduction filter before calibration with the calibrated feedforward noise reduction filter parameter.
In the embodiment of the application, the feedforward noise reduction filter parameters of the calibrated feedforward noise reduction filter can be used for replacing the parameters before calibration in the earphone to be calibrated so as to obtain the personalized earphone of the user, so that the user can use the personalized earphone calibrated by the user.
Referring to fig. 4, fig. 4 is a block diagram illustrating a headset calibration apparatus according to an embodiment of the present disclosure, where the headset calibration apparatus 400 includes: the first obtaining module 401 is configured to obtain first standard audio data played by an external player and first personalized audio data collected by a detection microphone placed in an ear canal of a user; a first determining module 402, configured to determine a passive curve signal corresponding to the user according to the first standard audio data and the first personalized audio data; wherein the passive curve signal is a difference between the first standard audio data and the first personalized audio data; a second obtaining module 403, configured to obtain a first frequency response signal and a second frequency response signal; the first frequency response signal is a frequency response signal corresponding to a feedforward microphone in the earphone to be calibrated, and the second frequency response signal is a frequency response signal corresponding to an earphone loudspeaker in the earphone to be calibrated; a second determining module 404, configured to determine a feed-forward transfer function according to the passive curve signal, the first frequency response signal, and the second frequency response signal; the feedforward transfer function is the transfer function of a feedforward noise reduction filter corresponding to the earphone to be calibrated; a first calibration module 405, configured to calibrate the feedforward noise reduction filter parameters of the feedforward noise reduction filter according to the feedforward transfer function.
In the embodiment of the application, a detection microphone placed in an ear canal of a user is used for collecting first personalized audio data personalized for the user, a passive curve signal corresponding to the user is generated based on the first personalized audio data, and a feedforward transfer function corresponding to the user is further determined so as to calibrate the earphone to be calibrated. Therefore, different first personalized audio data can be collected for different users, so that the earphone can be calibrated according to the difference of the ears of different users, and each user can be guaranteed to have a good noise reduction effect.
Further, the first calibration module 405 is further configured to: determining an amplitude curve and a phase curve of the feedforward transfer function; and adjusting the feedforward noise reduction filtering parameters by using a digital signal processing algorithm so as to match the amplitude of the curve corresponding to the feedforward noise reduction filter with the amplitude curve and fit the phase of the curve corresponding to the feedforward noise reduction filter with the phase curve.
In the embodiment of the present application, a digital signal processing algorithm may be used to adjust the feedforward noise reduction filtering parameter corresponding to the feedforward noise reduction filter corresponding to the headphone to be calibrated, so as to calibrate the headphone to be calibrated.
Further, the second obtaining module 403 is further configured to: acquiring second standard audio data played by the external player and second personalized audio data acquired by the feedforward microphone; determining the first frequency response signal from the second standard audio and the second personalized audio data.
In the embodiment of the application, the standard audio can be played through the external player, and the feedforward microphone acquires the personalized audio to obtain the first frequency response signal corresponding to the feedforward microphone, so that the feedforward transfer function corresponding to the feedforward noise reduction filter corresponding to the earphone to be calibrated can be determined by using the first frequency response signal to complete personalized calibration of the earphone to be calibrated.
Further, the second obtaining module 403 is further configured to: acquiring third standard audio data played by the earphone loudspeaker and third personalized audio data acquired by the detection microphone; determining the second frequency response signal from the third standard audio and the third personalized audio data.
In the embodiment of the application, the standard audio can be played through the earphone speaker, and the personalized audio is collected by the detection microphone to obtain the second frequency response signal corresponding to the earphone speaker, so that the feedforward transfer function corresponding to the feedforward noise reduction filter corresponding to the earphone to be calibrated can be determined by using the second frequency response signal to complete personalized calibration of the earphone to be calibrated.
Further, the earphone calibration apparatus 400 further includes: and the first sending module is used for sending the calibrated feedforward noise reduction filtering parameters to an earphone production party so that the earphone production party utilizes the calibrated feedforward noise reduction filtering parameters to produce the personalized earphones.
In the embodiment of the application, the calibrated feedforward noise reduction filter parameter of the feedforward noise reduction filter can be fed back to the earphone production side, and the earphone production side directly utilizes the calibrated feedforward noise reduction filter parameter to produce the personalized earphone of the user, so that the user can use the personalized earphone calibrated by the user.
Further, the earphone calibration apparatus 400 further includes: and the second sending module is used for sending the calibrated feedforward noise reduction filter parameters to the earphone to be calibrated so that the earphone to be calibrated replaces the feedforward noise reduction filter parameters before calibration by the calibrated feedforward noise reduction filter parameters.
In the embodiment of the application, the feedforward noise reduction filter parameters of the calibrated feedforward noise reduction filter can be used for replacing the parameters before calibration in the earphone to be calibrated so as to obtain the personalized earphone of the user, so that the user can use the personalized earphone calibrated by the user.
Further, the earphone calibration apparatus 400 further includes: the third acquisition module is used for acquiring fourth personalized audio data acquired by a feedback microphone in the earphone to be calibrated when the earphone loudspeaker plays a fourth standard audio; a third determining module, configured to determine a third frequency response signal according to the fourth personalized audio data; the third frequency response signal is a frequency response signal corresponding to the feedback microphone; a fourth determining module, configured to determine a feedback transfer function according to the third frequency response signal; the feedback transfer function is the transfer function of the feedback noise reduction filter corresponding to the earphone to be calibrated; and the second calibration module is used for calibrating the feedback noise reduction filtering parameters of the feedback noise reduction filter according to the feedback transfer function.
In the embodiment of the application, the feedforward noise reduction earphone can be calibrated, the feedback noise reduction earphone and the hybrid earphone can be calibrated, and therefore, each user can be guaranteed to have a good noise reduction effect according to different earphone types.
Referring to fig. 5, fig. 5 is a block diagram of an electronic device according to an embodiment of the present disclosure, where the electronic device 500 includes: at least one processor 501, at least one communication interface 502, at least one memory 503, and at least one communication bus 504. Wherein, the communication bus 504 is used for realizing direct connection communication of these components, the communication interface 502 is used for communicating signaling or data with other node devices, and the memory 503 stores machine readable instructions executable by the processor 501. When the electronic device 500 is in operation, the processor 501 communicates with the memory 503 via the communication bus 504, and the machine-readable instructions, when invoked by the processor 501, perform the headset calibration method described above.
For example, the processor 501 of the embodiment of the present application may read the computer program from the memory 503 through the communication bus 504 and execute the computer program to implement the following method: step S201: the method comprises the steps of obtaining first standard audio data played by an external player and first personalized audio data collected by a detection microphone placed in an ear canal of a user. Step S202: and determining a passive curve signal corresponding to the user according to the first standard audio data and the first personalized audio data. Step S203: a first frequency response signal and a second frequency response signal are obtained. Step S204: a feedforward transfer function is determined from the passive curve signal, the first frequency response signal, and the second frequency response signal. Step S205: and calibrating the feedforward noise reduction filtering parameters of the feedforward noise reduction filter according to the feedforward transfer function. In some examples, the processor 501 may also calibrate the feedback noise reduction headphone, that is, may perform the following steps: step S301: and acquiring fourth personalized audio data acquired by a feedback microphone in the earphone to be calibrated when the earphone loudspeaker plays the fourth standard audio. Step S302: a third frequency response signal is determined from the fourth personalized audio data. Step S303: a feedback transfer function is determined from the third frequency response signal. Step S304: and calibrating the feedback noise reduction filtering parameters of the feedback noise reduction filter according to the feedback transfer function.
The processor 501 may be an integrated circuit chip having signal processing capabilities. The Processor 501 may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but also Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field-Programmable Gate arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components. Which may implement or perform the various methods, steps, and logic blocks disclosed in the embodiments of the present application. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The Memory 503 may include, but is not limited to, Random Access Memory (RAM), Read Only Memory (ROM), Programmable Read Only Memory (PROM), Erasable Read Only Memory (EPROM), electrically Erasable Read Only Memory (EEPROM), and the like.
It will be appreciated that the configuration shown in FIG. 5 is merely illustrative and that electronic device 500 may include more or fewer components than shown in FIG. 5 or have a different configuration than shown in FIG. 5. The components shown in fig. 5 may be implemented in hardware, software, or a combination thereof. In this embodiment, the electronic device 500 may be, but is not limited to, an entity device such as a desktop, a laptop, a smart phone, an intelligent wearable device, and a vehicle-mounted device, and may also be a virtual device such as a virtual machine. In addition, the electronic device 500 is not necessarily a single device, but may also be a combination of multiple devices, such as a server cluster, and the like.
Embodiments of the present application also provide a computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions, which when executed by a computer, the computer is capable of performing the steps of the headset calibration method in the above embodiments, for example, including: acquiring first standard audio data played by an external player and first personalized audio data acquired by a detection microphone placed in an ear canal of a user; determining a passive curve signal corresponding to the user according to the first standard audio data and the first personalized audio data; wherein the passive curve signal is a difference between the first standard audio data and the first personalized audio data; acquiring a first frequency response signal and a second frequency response signal; the first frequency response signal is a frequency response signal corresponding to a feedforward microphone in the earphone to be calibrated, and the second frequency response signal is a frequency response signal corresponding to an earphone loudspeaker in the earphone to be calibrated; determining a feed-forward transfer function according to the passive curve signal, the first frequency response signal and the second frequency response signal; the feedforward transfer function is the transfer function of a feedforward noise reduction filter corresponding to the earphone to be calibrated; and calibrating the feedforward noise reduction filtering parameters of the feedforward noise reduction filter according to the feedforward transfer function.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions when actually implemented, and for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of devices or units through some communication interfaces, and may be in an electrical, mechanical or other form.
In addition, units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
Furthermore, the functional modules in the embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
In this document, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions.
The above description is only an example of the present application and is not intended to limit the scope of the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (10)

1. A method of headset calibration, the method comprising:
acquiring first standard audio data played by an external player and first personalized audio data acquired by a detection microphone placed in an ear canal of a user;
determining a passive curve signal corresponding to the user according to the first standard audio data and the first personalized audio data; wherein the passive curve signal is a difference between the first standard audio data and the first personalized audio data;
acquiring a first frequency response signal and a second frequency response signal; the first frequency response signal is a frequency response signal corresponding to a feedforward microphone in the earphone to be calibrated, and the second frequency response signal is a frequency response signal corresponding to an earphone loudspeaker in the earphone to be calibrated;
determining a feed-forward transfer function according to the passive curve signal, the first frequency response signal and the second frequency response signal; the feedforward transfer function is the transfer function of a feedforward noise reduction filter corresponding to the earphone to be calibrated;
and calibrating the feedforward noise reduction filtering parameters of the feedforward noise reduction filter according to the feedforward transfer function.
2. The headphone calibration method of claim 1, wherein the calibrating the feedforward noise reduction filter parameters of the feedforward noise reduction filter according to the feedforward transfer function comprises:
determining an amplitude curve and a phase curve of the feedforward transfer function;
and adjusting the feedforward noise reduction filtering parameters by using a digital signal processing algorithm so as to match the amplitude of the curve corresponding to the feedforward noise reduction filter with the amplitude curve and fit the phase of the curve corresponding to the feedforward noise reduction filter with the phase curve.
3. The headphone calibration method according to claim 1 or 2, wherein after the calibrating the feedforward noise reduction filter parameters of the feedforward noise reduction filter according to the feedforward transfer function, the method further comprises:
and sending the calibrated feedforward noise reduction filtering parameters to an earphone production party so that the earphone production party utilizes the calibrated feedforward noise reduction filtering parameters to produce the personalized earphones.
4. The headphone calibration method according to claim 1 or 2, wherein after the calibrating the feedforward noise reduction filter parameters of the feedforward noise reduction filter according to the feedforward transfer function, the method further comprises:
and sending the calibrated feedforward noise reduction filter parameters to the earphone to be calibrated so that the earphone to be calibrated replaces the feedforward noise reduction filter parameters before calibration by the calibrated feedforward noise reduction filter parameters.
5. A headset calibration method according to claim 1 or 2, characterized in that the calibration method further comprises:
acquiring fourth personalized audio data acquired by a feedback microphone in the earphone to be calibrated when the earphone loudspeaker plays a fourth standard audio;
determining a third frequency response signal according to the fourth personalized audio data; the third frequency response signal is a frequency response signal corresponding to the feedback microphone;
determining a feedback transfer function according to the third frequency response signal; the feedback transfer function is the transfer function of the feedback noise reduction filter corresponding to the earphone to be calibrated;
and calibrating the feedback noise reduction filtering parameters of the feedback noise reduction filter according to the feedback transfer function.
6. An earphone calibration device, comprising:
the first acquisition module is used for acquiring first standard audio data played by the external player and first personalized audio data acquired by a detection microphone placed in an ear canal of a user;
the first determining module is used for determining a passive curve signal corresponding to the user according to the first standard audio data and the first personalized audio data; wherein the passive curve signal is a difference between the first standard audio data and the first personalized audio data;
the second acquisition module is used for acquiring the first frequency response signal and the second frequency response signal; the first frequency response signal is a frequency response signal corresponding to a feedforward microphone in the earphone to be calibrated, and the second frequency response signal is a frequency response signal corresponding to an earphone loudspeaker in the earphone to be calibrated;
a second determining module, configured to determine a feedforward transfer function according to the passive curve signal, the first frequency response signal, and the second frequency response signal; the feedforward transfer function is the transfer function of a feedforward noise reduction filter corresponding to the earphone to be calibrated;
and the first calibration module is used for calibrating the feedforward noise reduction filtering parameters of the feedforward noise reduction filter according to the feedforward transfer function.
7. An earphone calibration system, comprising:
the earphone body comprises a feedforward microphone and an earphone loudspeaker;
the detection microphone is used for collecting audio data in the ear canal of the user;
a calibration module, communicatively coupled to the feedforward microphone, the earpiece speaker and the probing microphone, for performing the earpiece calibration method of any of claims 1-4;
an external player.
8. The headset calibration system of claim 7, wherein the headset body further comprises:
a feedback microphone;
the calibration module is communicatively connected to the feedback microphone and is further configured to perform the headset calibration method of claim 5.
9. An electronic device, comprising: a processor, a memory, and a bus;
the processor and the memory are communicated with each other through the bus;
the memory stores program instructions executable by the processor, the processor invoking the program instructions to perform the headset calibration method of any of claims 1-5.
10. A non-transitory computer-readable storage medium storing computer instructions which, when executed by a computer, cause the computer to perform the headset calibration method of any of claims 1-5.
CN202011220158.1A 2020-11-04 2020-11-04 Earphone calibration method, device and system Pending CN112333595A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011220158.1A CN112333595A (en) 2020-11-04 2020-11-04 Earphone calibration method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011220158.1A CN112333595A (en) 2020-11-04 2020-11-04 Earphone calibration method, device and system

Publications (1)

Publication Number Publication Date
CN112333595A true CN112333595A (en) 2021-02-05

Family

ID=74315700

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011220158.1A Pending CN112333595A (en) 2020-11-04 2020-11-04 Earphone calibration method, device and system

Country Status (1)

Country Link
CN (1) CN112333595A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113301488A (en) * 2021-05-20 2021-08-24 歌尔股份有限公司 Calibration method and device of noise reduction earphone, electronic equipment and storage medium
CN113345400A (en) * 2021-05-31 2021-09-03 锐迪科微电子(上海)有限公司 Calibration method and device of active noise reduction system of wearable device, storage medium and terminal
CN113709646A (en) * 2021-07-29 2021-11-26 黎兴荣 Earphone production measurement and calibration system
CN114025273A (en) * 2021-11-08 2022-02-08 深圳市智链信息技术有限公司 A to ear debugging auxiliary device for bluetooth headset
CN114449434A (en) * 2022-04-07 2022-05-06 荣耀终端有限公司 Microphone calibration method and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106792305A (en) * 2015-11-19 2017-05-31 鹦鹉无人机股份有限公司 Audio headset
CN108200504A (en) * 2018-03-02 2018-06-22 会听声学科技(北京)有限公司 The operatic tunes property sort method of active noise reduction earphone
CN110062320A (en) * 2019-04-25 2019-07-26 深圳市美格信测控技术有限公司 The test method that noise cancelling headphone filter calculates
CN110996209A (en) * 2019-12-13 2020-04-10 恒玄科技(上海)股份有限公司 Active noise reduction method and system and earphone
CN111800694A (en) * 2020-06-30 2020-10-20 深圳市豪恩声学股份有限公司 Filter design method and device of active noise reduction earphone and test equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106792305A (en) * 2015-11-19 2017-05-31 鹦鹉无人机股份有限公司 Audio headset
CN108200504A (en) * 2018-03-02 2018-06-22 会听声学科技(北京)有限公司 The operatic tunes property sort method of active noise reduction earphone
CN110062320A (en) * 2019-04-25 2019-07-26 深圳市美格信测控技术有限公司 The test method that noise cancelling headphone filter calculates
CN110996209A (en) * 2019-12-13 2020-04-10 恒玄科技(上海)股份有限公司 Active noise reduction method and system and earphone
CN111800694A (en) * 2020-06-30 2020-10-20 深圳市豪恩声学股份有限公司 Filter design method and device of active noise reduction earphone and test equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
阿甘: "如何设计一款主动降噪(ANC)耳机", 《HTTP://WWW.JIAHEU.COM/TOPIC/159900.HTML》 *

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113301488A (en) * 2021-05-20 2021-08-24 歌尔股份有限公司 Calibration method and device of noise reduction earphone, electronic equipment and storage medium
CN113301488B (en) * 2021-05-20 2022-10-18 歌尔股份有限公司 Calibration method and device of noise reduction earphone, electronic equipment and storage medium
CN113345400A (en) * 2021-05-31 2021-09-03 锐迪科微电子(上海)有限公司 Calibration method and device of active noise reduction system of wearable device, storage medium and terminal
CN113709646A (en) * 2021-07-29 2021-11-26 黎兴荣 Earphone production measurement and calibration system
CN114025273A (en) * 2021-11-08 2022-02-08 深圳市智链信息技术有限公司 A to ear debugging auxiliary device for bluetooth headset
CN114449434A (en) * 2022-04-07 2022-05-06 荣耀终端有限公司 Microphone calibration method and electronic equipment
CN114449434B (en) * 2022-04-07 2022-08-16 北京荣耀终端有限公司 Microphone calibration method and electronic equipment

Similar Documents

Publication Publication Date Title
CN112333595A (en) Earphone calibration method, device and system
KR102266080B1 (en) Frequency-dependent sidetone calibration
US9812115B2 (en) Active noise-cancellation feedback signal transmission
US9516407B2 (en) Active noise control with compensation for error sensing at the eardrum
US20140254828A1 (en) System and Method for Personalization of an Audio Equalizer
JP6314977B2 (en) Input device, transmission method, host device, reception method, signal processing system, and transmission / reception method
EP2953383B1 (en) Signal processing circuit
KR102045600B1 (en) Earphone active noise control
JP2018137735A (en) Method and device for streaming communication with hearing aid device
EP2202998A1 (en) A device for and a method of processing audio data
CN111800722B (en) Feedforward microphone function detection method and device, terminal equipment and storage medium
CN110753296B (en) Sensitivity calibration method and device for left loudspeaker and right loudspeaker of wireless earphone and earphone box
CN102957981B (en) Headphone device
US20180249277A1 (en) Method of Stereophonic Recording and Binaural Earphone Unit
CN109155802B (en) Apparatus for producing an audio output
US10984779B2 (en) Audio adjustment method and associated audio adjustment device for active noise cancellation
CN113574593A (en) Tuning method, manufacturing method, computer readable storage medium and tuning system
CN114071308A (en) Earphone self-adaptive tuning method and device, earphone and readable storage medium
US20100104118A1 (en) Earpiece based binaural sound capturing and playback
CN112153534B (en) Call quality adjusting method and device, computer equipment and storage medium
WO2018149073A1 (en) Noise-cancelling headphone and electronic device
CN110740413A (en) environmental sound monitoring parameter calibration system and method
CN113542966B (en) Earphone and control method thereof
TWI746001B (en) Head-mounted apparatus and stereo effect controlling method thereof
WO2023160286A1 (en) Noise reduction parameter adaptation method and apparatus

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20210205

RJ01 Rejection of invention patent application after publication