METHOD AND SYSTEM FOR ROOM CALIBRATION IN A SPEAKER SYSTEM

Abstract
The present disclosure is related to a method and system for a room calibration in a speaker system using an internal microphone. The method comprises calculating an impulse response of a sound signal received at an internal microphone from at least one speaker, and performing the room calibration based on the calculated impulse response.
Description
TECHNICAL FIELD

The present invention relates to a method and a system for room calibration in a speaker system, and specifically relates to a method and a system for room calibration using an internal microphone inside the speaker system.


BACKGROUND

For the past few decades, it has been generally acknowledged that steady state impulse responses measured with one or several omnidirectional microphones at the listening area in a room can provide information as to how the speaker system will sound. Compared with the measurement during the product development, it will become much different in a user's room. Therefore, in-situ measurements need to be performed and accordingly an equalization and a delay of the input signal will be changed so that the measured response matches a target curve, and thus imperfections in loudspeakers and room environments can be repaired. This aspect is generally defined as Room Calibration. However, measuring response at the listening area usually entails that one or more external microphones along with some wires outside the speaker product is required which may be inconvenient.


In the past few years, a soundbar system has been widely used as a home theater. To provide a more real surround experience for the listeners, some soundbar designs optimize the directivity of speaker, for instance, we may use two side-firing tweeters on both sides of the soundbar may be used. It strengthens the sideward directivity while limiting the forward directivity with respect to the listening area, so the sound arriving at this area is mostly the sound reflection from the two sidewalls. The listener could find the virtual sound source on the sidewalls and thus feel that the sound field has expanded. However, if the soundbar is not on the symmetry axis of the room, the distances between the soundbar and the two sidewalls are not the same. So the left and right sound reflections become unbalanced as shown in FIG. 1.


To balance the left and right sound reflection, a room calibration method is considered. In a traditional room calibration method, there should be at least one external microphone in the listening area with long wires from the soundbar system, since the at least one external microphone can measure the sound at the desired position in the listening area and transmit the sound back to the system. Hence, the user can find out what the acoustic performance is in the listening area in this room. However, the external microphones and long wires may not be optimal because users may throw the wires away after calibration.


Therefore, there is a need to develop an improved room calibration method and system that can be convenient and effective for a user to perform in-situ measurements and accordingly perform a room calibration so as to obtain better sound experience.


SUMMARY

According to one aspect of the disclosure, a method for a room calibration in a speaker system is provided. The method comprises: calculating an impulse response of a signal received at an internal microphone from at least one speaker; and performing the room calibration based on the calculated impulse response.


Preferably, the internal microphone is positioned on a surface of a soundbar in the speaker system or the internal microphone is positioned inside one of the at least one speaker in the speaker system.


Preferably, calculating the impulse response of a signal received at the internal microphone from at least one speaker comprises: playing a forward sweep signal by one of the at least one speaker; recording a sound signal from the one of the at least one speaker by the internal microphone; and convolving an inverse of the forward sweep signal with the sound signal recorded by the internal microphone.


Preferably, calculating the impulse response of the signal received at the internal microphone from one of the at least one speaker comprises:


calculating the impulse response of the signal received at the internal microphone from one of the at least one speaker by an Acoustic Echo Cancellation (AEC) module.


Preferably, the at least one speaker comprises a left speaker and a right speaker, and the impulse response comprises a left impulse response and a right impulse response.


Preferably, the method further comprises calibrating a delay between the left speaker and the right speaker at a listener area, respectively based on the calculated left impulse response and the calculated right impulse response.


Preferably, the method further comprises calibrating a left gain of the left speaker and a right gain of the right speaker, respectively based on the calculated left impulse response and the calculated right impulse response.


Preferably, the method further comprises calibrating a left equalization of the left speaker and a right equalization of the right speaker, respectively based on the calculated left impulse response and the calculated right impulse response.


According to another aspect of the disclosure, a system for a room calibration in a speaker system is provided. The system comprises an internal microphone configured to recording a sound signal from at least one speaker; and a processor. The processor is configured to calculate an impulse response of the sound signal received at an internal microphone; and perform the room calibration based on the calculated impulse response.


According to another aspect of the disclosure, a computer readable media having computer-executable instructions for performing the above said method is provided.


Advantageously, the disclosed room calibration method and system in the aforesaid aspects of the present disclosure may realize an improved room calibration method and system that can be convenient and effective for a user to perform in-situ measurements and accordingly perform a room calibration so as to obtain better sound experience.


The systems, methods, features and advantages will be, or will become, apparent to one with skill in the art upon examination of the following figures and detailed description. It is intended that all such additional systems, methods, features and advantages be included within this description, be within the scope of the invention.





BRIEF DESCRIPTION OF THE DRAWINGS

The features, nature, and advantages of the present application may be better understood with reference to the following drawings and description. The components in the figures are not necessarily to scale, emphasis instead being placed upon illustrating the principles of the invention. Moreover, in the figures, like referenced numerals designate corresponding parts throughout the different views.



FIG. 1 illustrates a schematic view, which shows a case where the left and the right sound reflections become unbalanced if the distances between the soundbar and the two sidewalls are not the same.



FIG. 2 illustrates a speaker system comprising a room calibration system in accordance with one embodiment of the present disclosure.



FIG. 3 illustrates a schematic view, which shows a measurement model in accordance with one embodiment of the present disclosure.



FIG. 4 illustrates one example of the impulse response from the right speaker to microphone according to one embodiment of the present disclosure.



FIG. 5 illustrates one example of the impulse response from the left speaker to microphone according to one embodiment of the present disclosure.



FIG. 6 illustrates a signal flow graph according to another embodiment of the present disclosure.





DETAILED DESCRIPTION

It is to be understood that the following description of examples of implementations are given only for the purpose of illustration and are not to be taken in a limiting sense. The partitioning of examples in function blocks, modules or units shown in the drawings is not to be construed as indicating that these function blocks, modules or units are necessarily implemented as physically separate units. Functional blocks, modules or units shown or described may be implemented as separate units, circuits, chips, functions, modules, or circuit elements. One or more functional blocks or units may also be implemented in a common circuit, chip, circuit element or unit.



FIG. 2 illustrates a simple block graph of a speaker system comprising a room calibration system. As shown in FIG. 2, the speaker system 1 comprises a pre-processing system 11, a room calibration system 12 and a post-processing system 13. The pre-processing system 11 is configured to preprocess the input signal (such as Bluetooth music), such as adjusting audio effect, equalization of the music, limiter, volume control, etc. The room calibration system 12 comprises an internal microphone 121 and a calibration module 122 which can be implemented by a processor. The post-processing system 13 receives the calibrated audio signal from the room calibration system 12 and performs post-processing and then presents the audio to the user. The post-processing system 13 may comprises, for example, one or more amplifiers and one or more speakers. In the room calibration system 12, the internal microphone 121 is used to receive a signal from at least one speaker, for example, a left speaker and a right speaker. The calibration module 122 calculates an impulse response of the signal received at the internal microphone from at least one speaker, wherein the internal microphone may be set inside the speaker system. Then, the calibration module 122 performs the room calibration based on the calculated impulse response.



FIG. 3 illustrates a schematic view, which shows a measurement model in accordance with one embodiment of the present disclosure. Assuming that the listener sits in front of the soundbar and around its mid-perpendicular line, this is a common case because the soundbar is usually placed under a TV and the user usually faces both the TV and the soundbar with a suitable distance. In As shown in FIG. 3, the internal microphone is positioned on the surface of the soundbar, and is used to predict an acoustic performance at the listening position in the listening area. FIG. 3 shows the internal microphone is positioned on the surface of the soundbar and at center of the soundbar for example. However, the internal microphone can be positioned on any location of a surface of the soundbar. In FIG. 3, for example, a dash line, a solid line and a dot-dash line denote a sound reflection to the listener, a direct sound to the internal microphone and a sound reflection to the internal microphone, respectively.


Referring to FIG. 3, a room calibration method using an internal microphone inside the speaker system is further illustrated. For example, according to one embodiment of the present disclosure, the room calibration system 12 calculates the impulse response of the audio signal received from one speaker by the internal microphone on the soundbar, such as the audio signal from a right side-firing speaker. Then, a room calibration can be performed based on the calculated impulse response of the internal microphone on the soundbar.


For example, the right speaker plays a forward sweep signal x, the internal microphone on the soundbar records the signal ymic and the listener receives the signal ylis which is a pre-estimated value based on the position of the user. They satisfy the following equation,






y
mic
=x*h
mic
,y
lis
=x*h
lis  (1)


where hmic and hlis are the impulse response of the signal from the speaker to the internal microphone and the impulse response of the signal from the speaker to the listener, respectively. Then, the impulse response of the signal from the speaker to the internal microphone hmic can be obtained by convolving an inverse sweep signal xinv with the ymic,






h
mic
=x
inv
*y
mic  (2)


Based on the impulse response of the signal from the speaker to the internal microphone hmic, a delay between the left and right impulse response respectively from the left and right speaker at the listening area can be predicted and calibrated.


To illustrate further, FIG. 4 and FIG. 5 shows two examples of the hmic, wherein FIG. 4 shows one example of the impulse response from the right speaker to internal microphone and FIG. 5 shows the other example of the impulse response from the left speaker to the internal microphone. As shown in FIGS. 4-5, the first peak of the hmic indicates a direct sound while the second peak indicates a first sound reflection from the side obstacle. In most cases, for example, the side obstacle includes the sidewall. The delay sample between the first peak and the second peak indicates the distance from the soundbar to the sidewall. In order to balance the left and right speaker, the delay difference delayLR between the left and the right impulse response can be calculated by the following equation,





delayLR=(NL_p2−NL_p1)−(NR_p2−NR_p1)  (3)


wherein NL_p1, NL_p2, NR_p1 and NR_p2 are the indices of the first peaks and the second peaks of the left and right channel impulse responses, respectively.


If the microphone is positioned at the center point of the left and right speakers, the NL_p1 and NR_p1 should be almost the same, then the equation (3) becomes the following equation (4).





delayLR=NL_p2−NR_p2  (4)


Hence, the delay between the left and right speaker at the listening area, i.e., delayLR_lis, can be predicted and calibrated based on the delayLR,





delayLR_lis=α·delayLR  (5)


wherein α is a tuning parameter depending on a directional angle of the side-firing speaker, and it may be ranged from 1 to 3.


Then, the left delay of the left speaker and the right delay of the right speaker at the listening area can be calibrated respectively, based on the delay between the left and the right speaker at the listening area, delayLR_lis.


If the delayLR_lis is positive, then a delayL_lis and a delayR_lis are calibrated by:





delayL_lis=0 and delayR_lis=delayLR_lis;  (6)


otherwise, the delayL_lis and the delayR_lis are calibrated by:





delayR_lis=0 and delayL_lis=−delayLR_lis  (7)


wherein, the delayL_lis indicates a delay of the left speaker at the listening area, and the delayR_lis indicates a delay of the right speaker at the listening area.


Moreover, based on the impulse response of the signal from the speaker to the internal microphone hmic, sound levels of the left and the right channels of the left and the right speakers can be predicted and calibrated.


For example, the left sound level of the left speaker can be calibrated according to the left impulse response received at the internal microphone from the left speaker hmic_left, and the right sound level of the right speaker can be calibrated according to the right impulse response received at the internal microphone from the right speaker hmic_right. As described above, the hmic_left and hmic_right can be respectively calculated referring to equations (1) and (2). For example,






y
mic_left
=x*h
mic_left
,y
lis
=x*h
lis  (8)






y
mic_right
=x*h
mic_right
,y
lis
=x*h
lis  (9)






h
mic_left
=x
inv
*y
mic_left  (10)






h
mic_right
=x
inv
*y
mic_right  (11)


Then, a left sound level of the left speaker levelL and a right sound level of the right speaker levelR can be calculated, based on the calculated left impulse response hmic_left of the signal received at the internal microphone and the calculated left impulse response hmic_right of the signal received at the internal microphone.


For example,











l

e

v

e


l

T

a

r

g

e

t



=



1
M






i
=
1

M



h
mic_target
2

(
i
)





,




(
12
)














level
L

=



1
M






i
=
1

M



h
mic_left
2

(
i
)





,
and




(
13
)















level

R

=



1
M






i
=
1

M



h
mic_right
2

(
i
)





,




(
14
)







wherein M is the length of the hmic_target, hmic_target is an expected target impulse response of the audio signal received at the internal microphone, and wherein levelTarget indicates the calculated sound level based on the target impulse response, levelL indicates the calculated left sound level of the left speaker, and levelR indicates the calculated right sound level of the right speaker.


Then, the gain of the left speaker gainL and the gain of the right speaker gainR can be calibrated. For example





gainL=levelTarget−levelL and  (15)





gainR=levelTarget−levelR  (16)


In addition, the left equalization, equalizationL of the left speaker can be calibrated according to the left impulse response received at the internal microphone from the left speaker hmic left, and the right sound level equalization, equalizationL of the right speaker can be calibrated according to the right impulse response received at the internal microphone from the right speaker hmic_right.


For example, the target frequency response FRTarget, the left frequency response FRL, and the right frequency response FRR can be given by:






FR
Target
=|FFT(hmic_target)|,  (17)






FR
L
=|FFT(hmic_left)|  (18)






FR
R
=|FFT(hmic_right)|  (19)


wherein FFT is Fast Fourier Transform and |*| is an absolute operator.


Then, for example, the equalizations of the left and right speakers can be calibrated by:





equalizationL=FRTarget−FRL  (20)





equalizationR=FRTarget−FRR  (21)



FIG. 6 illustrates a signal flow graph according to another embodiment of the present disclosure. As shown in FIG. 6, the system may comprise at least one smart speaker inside which at least one internal microphone is built for an Acoustic Echo Cancellation (AEC) for self-tuning. This entails that, at least one the internal microphone can be built inside the left and/or right speaker. The AEC is designed to cancel an acoustic feedback between a speaker and a microphone in the speaker system. For example, when at least one speaker plays music, for example a left speaker and a right speaker, the internal microphone records the music from within the speaker and the internal microphone also records the speech from the listener. The AEC module can analyze the recorded signal and a reference music signal, and then extract the speech from the mixed signal and then input the speech signal to an Automatic Speech Recognition (ASR). The reference music signal is input from a standard audio chain which is usually used to preprocess the input signal (such as Bluetooth music), such as adjusting audio effect, equalization of the music, limiter, volume control, etc. Thus, in this speaker system including an AEC module, the speaker system can be calibrated while the music is playing, instead of playing a forward sweep signal at first.


As can be seen in FIG. 6, some part of the AEC signal chain is reused, which outputs the impulse response of the speaker system in the room. For example, the AEC is estimating the impulse response of sound signal from the left speaker or from the right speaker to the internal microphone, thus the system can cancel the reference signal convolving the impulse response and obtain the clean speech. This impulse response can be regarded as the in-situ measurement of the impulse response of the left and right speaker. As shown in FIG. 6, a target curve of impulse response of the speaker can be preset, and then it is compared with the in-situ measured impulse response. The calibration is effective on the speaker playback once there is some difference between the measured frequency response and the target frequency response.


Different with the external microphone measurement at the listening area, the internal microphone can only measure the mid-low frequency response accurately because of an acoustic near field theory and a stronger directivity of speaker in the high frequency range. Therefore, only a mid-low frequency response of the sound signal is calibrated with the internal microphone.


For example, the left impulse response of the signal from the left speaker to the internal microphone inside the speaker hmic left and the right impulse response of the signal from the right speaker to the internal microphone inside the speaker hmic_right, can be calculated by the AEC module.


Then, the left equalization, equalizationL of the left speaker can be calibrated according to the left impulse response received at the internal microphone from the left speaker hmic left, and the right sound level equalization, equalizationL of the right speaker can be calibrated according to the right impulse response received at the internal microphone from the right speaker hmic_right.


For example, the target frequency response FRTarget, the left frequency response FRL, and the right frequency response FRR can be given by:






FR
Target
=|FFT(hmic_target)|,  (22)






FR
L
=|FFT(hmic_left)|  (23)






FR
R
=|FFT(hmic_right)|  (24)


wherein FFT is Fast Fourier Transform and I*1 is an absolute operator.


Then, for example, the equalizations of the left and right speakers can be calibrated by:





equalizationL=FRTarget−FRL  (25)





equalizationR=FRTarget−FRR  (26)


The method and the system in the aforesaid embodiments of the present disclosure may realize an improved room calibration method and system that can be convenient and effective for a user to perform in-situ measurements and accordingly perform a room calibration so as to obtain better sound experience.


It will be understood by persons skilled in the art, that one or more modules, processes or sub-processes described in connection with FIGS. 1-6 may be performed by hardware and/or software. If the process is performed by software or the module is implemented by software, the software may reside in software memory (not shown) in a suitable electronic processing component or system, and may be executed by the processor. The software in the memory may include executable instructions for implementing logical functions (that is, “logic” that may be implemented either in digital form such as digital circuitry or source code or in analog form such as analog circuitry or an analog source such as an analog electrical signal), and may selectively be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device. The computer readable medium may selectively be, for example, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus or device, such as, a RAM, a ROM, an EPROM, etc.


With regard to the processes, systems, methods, heuristics, etc., described herein, it should be understood that, although the steps of such processes, etc., have been described as occurring according to a certain ordered sequence, such processes could be practiced with the described steps performed in an order other than the order described herein. It further should be understood that certain steps could be performed simultaneously, that other steps could be added, or that certain steps described herein could be omitted. In other words, the descriptions of processes herein are provided for the purpose of illustrating certain embodiments, and should in no way be construed so as to limit the claims.


To clarify the use in the pending claims and to hereby provide notice to the public, the phrases “at least one of <A>, <B>, . . . and <N>” or “at least one of <A>, <B>, . . . <N>, or combinations thereof” are defined by the Applicant in the broadest sense, superseding any other implied definitions herebefore or hereinafter unless expressly asserted by the Applicant to the contrary, to mean one or more elements selected from the group comprising A, B, . . . and N, that is to say, any combination of one or more of the elements A, B, . . . or N including any one element alone or in combination with one or more of the other elements which may also include, in combination, additional elements not listed.


While various embodiments of the disclosure have been described, it will be apparent to those of ordinary skill in the art that many more embodiments and implementations are possible that are within the scope of the disclosure. Accordingly, the disclosure is not to be restricted except in light of the attached claims and their equivalents.

Claims
  • 1. A method for a room calibration in a speaker system, comprising: calculating an impulse response of a sound signal received at an internal microphone from at least one speaker; andperforming the room calibration based on the calculated impulse response.
  • 2. The method of claim 1, wherein the internal microphone is positioned on a surface of a soundbar in the speaker system.
  • 3. The method of claim 1, wherein the internal microphone is positioned inside one of the at least one speaker in the speaker system.
  • 4. The method of claim 2, wherein calculating the impulse response of the sound signal received at the internal microphone from the at least one speaker comprising: playing a forward sweep signal by one of the at least one speaker;recording the sound signal from the one of the at least one speaker by the internal microphone; andconvolving an inverse of the forward sweep signal with the sound signal recorded by the internal microphone.
  • 5. The method of claim 3, wherein calculating the impulse response of the sound signal received at the internal microphone from one of the at least one speaker comprising: calculating the impulse response of the sound signal received at the internal microphone from one of the at least one speaker by an Acoustic Echo Cancellation (AEC) module.
  • 6. The method of claim 4, wherein the at least one speaker comprises a left speaker and a right speaker, the impulse response comprises a left impulse response and a right impulse response, the method further comprising: calibrating a delay between the left speaker and the right speaker at a listener area, respectively based on the calculated left impulse response and the calculated right impulse response.
  • 7. The method of claim 4, wherein the at least one speaker comprises a left speaker and a right speaker, the impulse response comprises a left impulse response and a right impulse response, the method further comprising: calibrating a left gain of the left speaker and a right gain of the right speaker, respectively based on the calculated left impulse response and the calculated right impulse response.
  • 8. The method of claim 4, wherein the at least one speaker comprises a left speaker and a right speaker, the impulse response comprises a left impulse response and a right impulse response, the method further comprising: calibrating a left equalization of the left speaker and a right equalization of the right speaker, respectively based on the calculated left impulse response and the calculated right impulse response.
  • 9. The method of claim 5, wherein the at least one speaker comprises a left speaker and a right speaker, the impulse response comprises a left impulse response and a right impulse response, the method further comprising: calibrating a left equalization of the left speaker and a right equalization of the right speaker, respectively based on the calculated left impulse response and the calculated right impulse response.
  • 10. A system for a room calibration in a speaker system, comprising: an internal microphone configured to record a sound signal from at least one speaker; anda processor configured to: calculate an impulse response of the sound signal received at an internal microphone; andperform the room calibration based on the calculated impulse response.
  • 11. The system of claim 10, wherein the internal microphone is positioned on a surface of a soundbar in the speaker system.
  • 12. The system of claim 10, wherein the internal microphone is positioned inside one of the at least one speaker in the speaker system.
  • 13. The system of claim 11, wherein the processor is further configured to: play a forward sweep signal by one of the at least one speaker;record the sound signal from the one of the at least one speaker by the internal microphone; andconvolve an inverse of the forward sweep signal with the sound signal recorded by the internal microphone.
  • 14. The system of claim 12, wherein the system further comprises an Acoustic Echo Cancellation (AEC) module, the AEC module is configured to calculate the impulse response of the sound signal received at the internal microphone from one of the at least one speaker.
  • 15. The system of claim 13, wherein the at least one speaker comprises a left speaker and a right speaker, the impulse response comprises a left impulse response and a right impulse response; and wherein the processor is further configured to calibrate a delay between the left speaker and the right speaker at a listener area, respectively based on the calculated left impulse response and the calculated right impulse response.
  • 16. The system of claim 13, wherein the at least one speaker comprises a left speaker and a right speaker, the impulse response comprises a left impulse response and a right impulse response; and wherein the processor is further configured to calibrate a left gain of the left speaker and a right gain of the right speaker, respectively based on the calculated left impulse response and the calculated right impulse response.
  • 17. The system of claim 13, wherein the at least one speaker comprises a left speaker and a right speaker, the impulse response comprises a left impulse response and a right impulse response; and wherein the processor is further configured to calibrate a left equalization of the left speaker and a right equalization of the right speaker, respectively based on the calculated left impulse response and the calculated right impulse response.
  • 18. The system of claim 14, wherein the at least one speaker comprises a left speaker and a right speaker, the impulse response comprises a left impulse response and a right impulse response, the processor is further configured to: calibrate a left equalization of the left speaker and a right equalization of the right speaker, respectively based on the calculated left impulse response and the calculated right impulse response.
  • 19. (canceled)
  • 20. A computer-program product embodied in a non-transitory computer readable medium that is programmed a room calibration in a speaker system, the computer-program product comprising instructions for: calculating an impulse response of a sound signal received at an internal microphone from at least one speaker; andperforming the room calibration based on the calculated impulse response.
  • 21. The computer-program product of claim 20, wherein calculating the impulse response of the sound signal received at the internal microphone from the at least one speaker comprising: playing a forward sweep signal by one of the at least one speaker;recording the sound signal from the one of the at least one speaker by the internal microphone; andconvolving an inverse of the forward sweep signal with the sound signal recorded by the internal microphone.
CROSS-REFERENCE TO RELATED APPLICATIONS

This application is the U.S. national phase of PCT Application No. PCT/CN2019/089299 filed on May 30, 2019, the disclosure of which is hereby incorporated in its entirety by reference herein.

PCT Information
Filing Document Filing Date Country Kind
PCT/CN2019/089299 5/30/2019 WO 00