TW201626814A - Compensator system for frequency response of loudspeaker - Google Patents

Compensator system for frequency response of loudspeaker Download PDF

Info

Publication number
TW201626814A
TW201626814A TW104100211A TW104100211A TW201626814A TW 201626814 A TW201626814 A TW 201626814A TW 104100211 A TW104100211 A TW 104100211A TW 104100211 A TW104100211 A TW 104100211A TW 201626814 A TW201626814 A TW 201626814A
Authority
TW
Taiwan
Prior art keywords
speaker
frequency response
sound pressure
unit
compensation
Prior art date
Application number
TW104100211A
Other languages
Chinese (zh)
Inventor
白明憲
陳科宏
鄭當耀
Original Assignee
國立交通大學
國立清華大學
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 國立交通大學, 國立清華大學 filed Critical 國立交通大學
Priority to TW104100211A priority Critical patent/TW201626814A/en
Publication of TW201626814A publication Critical patent/TW201626814A/en

Links

Abstract

A compensating system for frequency response of loudspeaker, comprising: a model unit for producing desired sound pressure based upon input voltage. Without sensors, a sound pressure estimation unit for estimating the cone velocity of the loudspeaker according to the voltage and current of a voice coil of the loudspeaker and calculating a sound pressure of a sound field around the loudspeaker according to the voice coil; with sensors, the sensors can sense the sound pressure of the sound field, a comparing unit for comparing the desired sound pressure and the sound pressure of the sound field to get the difference, and a compensation unit for adjusting the frequency response of the loudspeaker based on the difference.

Description

揚聲器之頻率響應補償系統 Speaker frequency response compensation system

本發明係關於一種揚聲器之頻率響應補償技術,詳而言之,係關於一種透過量測或估測振膜速度以補償揚聲器及環境聲場之揚聲器之頻率響應補償系統。 The present invention relates to a frequency response compensation technique for a speaker, and more particularly to a frequency response compensation system for a speaker that measures or estimates the diaphragm speed to compensate for the speaker and the ambient sound field.

由於消費電子裝置的小型化,揚聲器的發展趨勢是微小和輕薄,如此不僅使揚聲器的大小受到限制,同時,導致揚聲器中容易引起失真(distortion),在此清況下,許多研究提出揚聲器補償方式,藉此減少非線性失真,例如,有研究提出自適應式控制以補償揚聲器的非線性特性。 Due to the miniaturization of consumer electronic devices, the development trend of speakers is small and light, which not only limits the size of the speakers, but also causes distortion in the speakers. In this case, many studies have proposed speaker compensation methods. Thereby, nonlinear distortion is reduced. For example, research has proposed adaptive control to compensate for the nonlinear characteristics of the speaker.

關於房間響應的改善,在一般情況下,因為揚聲器膜片不能產生低於機械響應頻率的足夠體積速度(volume velocity),故動圈式(moving coil)揚聲器在低頻範圍內呈現較差的響應,基於頻率響應的增強對於聲音訊號的再現是很重要的關鍵下,改善頻率響應變得十分重要,一種提升低頻響應的方法是增加揚聲器的半徑範圍,然而效率的增加是無法如預期的大,因為揚聲器的質量(mass)也隨著半徑增加而增大,另一種改善揚聲器響應的方法是使 用定量反饋技術(quantitative feedback technique,QFT),在此方法中,模型匹配方法是容易發生開環(open-loop)的問題。另外,其他傳統方法還有電子補償,此類音頻系統都配備有均衡器(equalizer)以增強低音輸出,在此情況下,僅有低頻響應的幅度增加,而非所有頻率響應。由上可知,透過改善頻率響應,特別是透過電子的補償手段,將有助於聲音訊號的再現。 Regarding the improvement of the room response, in general, because the speaker diaphragm cannot produce a sufficient volume velocity lower than the mechanical response frequency, the moving coil speaker exhibits a poor response in the low frequency range, based on The enhancement of the frequency response is very important for the reproduction of the sound signal. It is very important to improve the frequency response. One way to improve the low frequency response is to increase the radius of the speaker. However, the increase in efficiency cannot be as expected because of the speaker. The mass also increases with increasing radius. Another way to improve speaker response is to make With quantitative feedback technique (QFT), in this method, the model matching method is prone to open-loop problems. In addition, other traditional methods include electronic compensation. These audio systems are equipped with an equalizer to enhance the bass output. In this case, only the amplitude of the low frequency response is increased, rather than all frequency responses. It can be seen from the above that the improvement of the frequency response, especially through the means of electronic compensation, will contribute to the reproduction of the audio signal.

因此,如何找出一種揚聲器之頻率響應補償技術,可針對固定係數或自適應式演算法以提供揚聲器的前置的補償,特別是還滿足有感測器或無感測器的不同情境,實已成目前本領域技術人員所追求的目標。 Therefore, how to find a frequency response compensation technology for a speaker can provide a pre-compensation of the speaker for a fixed coefficient or an adaptive algorithm, in particular, a different situation with a sensor or a sensorless It has become the goal pursued by those skilled in the art.

鑒於上述習知技術之缺點,本發明之目的係提供一種補償系統,可提供以估測手段或利用自適應式演算法,在有感測器或無感測器下,提供對揚聲器或環境聲場的不同補償,以使低頻增益增加及使頻率響應變平整。 In view of the above disadvantages of the prior art, it is an object of the present invention to provide a compensation system that provides an estimate or a adaptive algorithm to provide a speaker or ambient sound with or without a sensor. Different compensation of the field to increase the low frequency gain and flatten the frequency response.

為達成前述目的及其他目的,本發明提出一種揚聲器之頻率響應補償系統,包括模型單元、聲壓估測單元、比較單元以及補償單元,其中,該模型單元係依據輸入電壓,產生理想聲壓,該聲壓估測單元包括根據該揚聲器內之音圈的電壓和電流以估測出該揚聲器之振膜速度之振膜速度量測器,以及依據該振膜速度計算出該揚聲器所在聲場之聲壓之微分器,該比較單元計算該理想聲壓及該聲場之聲壓以得到差值,該補償單元以該差值調整該揚聲器之頻率 響應。 To achieve the foregoing and other objects, the present invention provides a frequency response compensation system for a speaker, including a model unit, a sound pressure estimation unit, a comparison unit, and a compensation unit, wherein the model unit generates an ideal sound pressure according to an input voltage. The sound pressure estimating unit includes a diaphragm speed measuring device that estimates a diaphragm speed of the speaker according to a voltage and a current of the voice coil in the speaker, and calculates a sound field of the speaker according to the diaphragm speed. a sound pressure differentiator, the comparison unit calculates the ideal sound pressure and the sound pressure of the sound field to obtain a difference, and the compensation unit adjusts the frequency of the speaker by the difference response.

於一實施例中,該揚聲器之係數為固定者,該補償單元係依據該差值調整該輸入電壓。 In one embodiment, the coefficient of the speaker is fixed, and the compensation unit adjusts the input voltage according to the difference.

於另一實施例中,該補償單元更包括用於以摺積方式調整該揚聲器之係數之自適應式演算法。 In another embodiment, the compensation unit further includes an adaptive algorithm for adjusting the coefficients of the speaker in a convolution manner.

於再一實施例中,利用該自適應式演算法調整該揚聲器之頻率響應係包括離線操作和線上操作。 In still another embodiment, adjusting the frequency response of the speaker using the adaptive algorithm includes offline operation and online operation.

本發明還提出一種揚聲器之頻率響應補償系統,其包含模型單元、感測單元、比較單元以及補償單元,其中,該模型單元係依據輸入電壓,產生理想聲壓,該感測單元係用於感測該揚聲器所在聲場之聲壓,該比較單元係計算該理想聲壓及該聲場之聲壓以得到差值,以及該補償單元係以該差值調整該揚聲器之頻率響應。 The invention also provides a frequency response compensation system for a speaker, which comprises a model unit, a sensing unit, a comparison unit and a compensation unit, wherein the model unit generates an ideal sound pressure according to an input voltage, and the sensing unit is used for sensing The sound pressure of the sound field of the speaker is measured, the comparison unit calculates the ideal sound pressure and the sound pressure of the sound field to obtain a difference, and the compensation unit adjusts the frequency response of the speaker with the difference.

於一實施例中,該揚聲器之係數為固定者,該補償單元係依據該差值調整該輸入電壓。 In one embodiment, the coefficient of the speaker is fixed, and the compensation unit adjusts the input voltage according to the difference.

於另一實施例中,該補償單元更包括用於以摺積方式調整該揚聲器之係數之自適應式演算法。 In another embodiment, the compensation unit further includes an adaptive algorithm for adjusting the coefficients of the speaker in a convolution manner.

於再一實施例中,利用該自適應式演算法調整該揚聲器之頻率響應係包括離線操作和線上操作。 In still another embodiment, adjusting the frequency response of the speaker using the adaptive algorithm includes offline operation and online operation.

相較於先前技術,本發明所提出之揚聲器之頻率響應補償系統,提供有感測單元和無感測單元的不同執行方案,在有感測單元下,可將感測單元所感測之聲壓作為補償判斷時的依據,若無感測單元下,則透過估測揚聲器之音圈的電壓和電流以計算出揚聲器所在聲場之聲壓,再 者,不管是否有感測器,兩者方案還可與揚聲器之係數為固定或可變相搭配,亦即僅考量揚聲器的補償,可採用揚聲器之係數為固定的選擇,若還要考量揚聲器之所在聲場環境,則可選擇自適應式演算法來調整揚聲器之係數。由上可知,將有四種不同情況的來執行揚聲器之頻率響應的補償,且透過上述不同補償方案,將提供揚聲器較佳的頻率響應補償效果。 Compared with the prior art, the frequency response compensation system of the speaker provided by the present invention provides different execution schemes of the sensing unit and the non-sensing unit. Under the sensing unit, the sound pressure sensed by the sensing unit can be detected. As the basis for the compensation judgment, if there is no sensing unit, the voltage and current of the voice coil of the speaker are estimated to calculate the sound pressure of the sound field of the speaker, and then Regardless of whether there is a sensor or not, the two schemes can be matched with the fixed or variable coefficient of the speaker, that is, only the compensation of the speaker can be considered, and the coefficient of the speaker can be fixed, if the speaker is also considered In the sound field environment, an adaptive algorithm can be selected to adjust the coefficients of the speaker. It can be seen from the above that there will be four different situations to perform the compensation of the frequency response of the speaker, and through the above different compensation schemes, the better frequency response compensation effect of the speaker will be provided.

1、2‧‧‧揚聲器之頻率響應補償系統 1, 2‧‧‧Speaker frequency response compensation system

11、21‧‧‧模型單元 11, 21‧‧‧ model unit

12‧‧‧聲壓估測單元 12‧‧‧Sound Pressure Estimation Unit

121‧‧‧振膜速度量測器 121‧‧‧diaphragm speed measuring device

122‧‧‧微分器 122‧‧‧Differentiator

13、23‧‧‧比較單元 13, 23‧‧‧ comparison unit

14、24‧‧‧補償單元 14, 24‧‧‧Compensation unit

22‧‧‧感測單元 22‧‧‧Sensor unit

第1圖係顯示本發明之揚聲器之頻率響應補償系統一實施例的系統架構圖;第2圖係顯示本發明之揚聲器之頻率響應補償系統另一實施例的系統架構圖;第3圖係顯示本發明所述之自適應式濾波器的示意圖;第4A-4C圖係顯示本發明所述之不同狀態下前饋補償系統的示意圖;第5圖係顯示包含揚聲器和用戶麥克風之設備(plant)的示意圖;第6A和6B圖係顯示本發明所述之顯示動圈式揚聲器之類比電路的示意圖;以及第7圖係顯示不具感測單元之揚聲器補償的示意圖。 1 is a system architecture diagram showing an embodiment of a frequency response compensation system for a speaker of the present invention; and FIG. 2 is a system architecture diagram showing another embodiment of a frequency response compensation system for a speaker of the present invention; A schematic diagram of an adaptive filter according to the present invention; 4A-4C is a schematic diagram showing a feedforward compensation system in different states according to the present invention; and FIG. 5 is a diagram showing a plant including a speaker and a user microphone. 6A and 6B are schematic views showing an analog circuit of a moving coil type speaker according to the present invention; and Fig. 7 is a schematic view showing speaker compensation without a sensing unit.

以下係藉由特定的實施例說明本發明之實施方式,熟悉此技術之人士可由本說明書所揭示之內容輕易地瞭解本 發明之其他特點與功效。本發明亦可藉由其他不同的具體實施例加以施行或應用。 The embodiments of the present invention are described below by way of specific embodiments, and those skilled in the art can easily understand the present disclosure. Other features and effects of the invention. The invention may also be embodied or applied by other different embodiments.

為了使低頻增益增加和頻率響應變平整,本發明提出兩個前饋補償方法,兩種方法分別為具有感測器的自適應式揚聲器補償以及不具感測器的自適應式揚聲器補償,每種方法都包含線上和離線操作,具感測器補償的麥克風用於接收估計訊號,自適應式濾波系統則更新補償器以產生最佳的訊號。 In order to increase the low frequency gain and flatten the frequency response, the present invention proposes two feedforward compensation methods, which are adaptive speaker compensation with sensors and adaptive speaker compensation without sensors, each. The methods include both online and offline operations, with a sensor-compensated microphone for receiving the estimated signal and an adaptive filtering system for updating the compensator to produce the best signal.

在無感測器的補償揚聲器和房間響應時,估計揚聲器振膜速度(cone velocity)是必要的,揚聲器振膜速度一直被認為是揚聲器補償的一個重要參數,振膜速度的直接存取需要感測器,例如加速度計或雷射振動計,但可能導致揚聲器的不希望質量負擔,揚聲器保護可利用限制通過估測振膜速度的輸出電壓來達成,另一種應用是圓頂特性(dome)的補償,Klippe音響分析系統量測輸入電流以評估最大音圈峰位移(voice coil peak displacement)。在本發明中,無感測器的補償是量測揚聲器的電壓來估計振膜速度,並由振膜速度獲得的聲壓,最後,利用自適應式演算法來補償聲壓。 It is necessary to estimate the cone velocity of the speaker when the speaker is not compensated by the sensor and the room response. The speaker diaphragm speed has always been considered as an important parameter of the speaker compensation, and the direct access needs of the diaphragm speed. A detector, such as an accelerometer or a laser vibrometer, may cause an undesired mass burden on the speaker. The speaker protection can be achieved by limiting the output voltage by estimating the diaphragm speed. Another application is dome-shaped (dome) For compensation, the Klippe acoustic analysis system measures the input current to evaluate the maximum voice coil peak displacement. In the present invention, the sensorless compensation is to measure the voltage of the speaker to estimate the diaphragm speed, and the sound pressure obtained from the diaphragm speed, and finally, an adaptive algorithm is used to compensate the sound pressure.

在每一個操作的補償方法,都設計成使用模型匹配並在數位訊號處理器(DSP)來實現。數位訊號處理器在定點演算法(fixed-point algorithm)中實施,定點演算法為本領域的技術人員所熟知,故本發明省略說明,另外,本發明中還提出使用基於自適應式演算法的模型匹配程序, 其特性是原理簡單並且易於應用。 The compensation method for each operation is designed to use model matching and implemented in a digital signal processor (DSP). The digital signal processor is implemented in a fixed-point algorithm. The fixed-point algorithm is well known to those skilled in the art, and the present invention omits the description. In addition, the present invention also proposes to use an adaptive algorithm based algorithm. Model matching program, Its characteristics are simple in principle and easy to apply.

參閱第1圖,其係說明本發明之揚聲器之頻率響應補償系統一實施例的系統架構圖。如圖所示,揚聲器之頻率響應補償系統1係包括:模型單元11、聲壓估測單元12、比較單元13以及補償單元14,可透過量測音圈之電壓和電流以得到如何補償的依據。 Referring to Fig. 1, there is shown a system architecture diagram of an embodiment of a frequency response compensation system for a loudspeaker of the present invention. As shown in the figure, the frequency response compensation system 1 of the speaker includes: a model unit 11, a sound pressure estimation unit 12, a comparison unit 13, and a compensation unit 14, which can measure the voltage and current of the voice coil to obtain a basis for how to compensate. .

模型單元11係依據輸入電壓,產生理想聲壓,這裡所述之理想聲壓即是指預期聲壓,若能達到此標準即呈現良好的頻率響應。 The model unit 11 generates an ideal sound pressure according to the input voltage. The ideal sound pressure described herein refers to the expected sound pressure, and if this standard is reached, a good frequency response is exhibited.

聲壓估測單元12包括振膜速度量測器121和微分器122,聲壓估測單元12接收量測資料以進行聲壓的估測。詳言之,振膜速度量測器121是用於根據該揚聲器內之音圈的電壓和電流(電壓除以電流即為阻抗)以估測出該揚聲器之振膜速度,上述電壓可直接量測得到,電流可在音圈上串上已知電阻值的電阻,透過跨壓除以電阻值以得到電流,振膜速度量測器121可依據音圈的電壓和電流來估計振膜速度。於具體實施例中,聲壓估測單元12可為聲壓估測器或聲壓估測元件。 The sound pressure estimation unit 12 includes a diaphragm speed measurer 121 and a differentiator 122, and the sound pressure estimation unit 12 receives the measurement data to estimate the sound pressure. In detail, the diaphragm speed measuring device 121 is configured to estimate the diaphragm speed of the speaker according to the voltage and current of the voice coil in the speaker (the voltage is divided by the current), and the voltage can be directly measured. It is determined that the current can be connected to the voice coil by a resistor of a known resistance value, and the voltage is divided by the voltage across the resistor to obtain a current. The diaphragm speed measuring device 121 can estimate the diaphragm speed based on the voltage and current of the voice coil. In a specific embodiment, the sound pressure estimation unit 12 can be a sound pressure estimator or a sound pressure estimation component.

在取得振膜速度後,可由微分器122依據振膜速度以計算出揚聲器所在聲場之聲壓,此為透過振膜速度估測方式來推得聲壓,以供後續比較聲壓與理想聲壓的差異。 After the diaphragm speed is obtained, the sound pressure of the sound field of the speaker can be calculated by the differentiator 122 according to the diaphragm speed. This is the sound pressure estimated by the diaphragm speed estimation method for subsequent comparison of the sound pressure and the ideal sound. The difference in pressure.

比較單元13係計算模型單元11之理想聲壓與聲壓估測單元12所取得之聲場之聲壓兩者的差值,此目的在於比較所估測到之聲壓與理想聲壓之間的差值,如此,可作為 後續補償時的參考。於具體實施例中,比較單元13可為比較器。 The comparing unit 13 calculates the difference between the ideal sound pressure of the model unit 11 and the sound pressure of the sound field obtained by the sound pressure estimating unit 12, in order to compare the estimated sound pressure with the ideal sound pressure. The difference, so, can be used as Reference for subsequent compensation. In a particular embodiment, comparison unit 13 can be a comparator.

補償單元14係以上述差值調整揚聲器之頻率響應,也就是說,可將差值傳回補償單元14,藉此判定需做何種補償調整。於具體實施例中,補償單元14可為補償器。 The compensation unit 14 adjusts the frequency response of the speaker with the above difference, that is, the difference can be transmitted back to the compensation unit 14, thereby determining which compensation adjustment is required. In a particular embodiment, the compensation unit 14 can be a compensator.

於本實施例具體實施時,模型單元11、聲壓估測單元12或補償單元14可以濾波器來實現。 In the specific implementation of the embodiment, the model unit 11, the sound pressure estimation unit 12 or the compensation unit 14 can be implemented by a filter.

上述的實施例是指,未具有感測器下的揚聲器之頻率響應的補償,在此情況下,揚聲器之係數為固定不變,補償單元14可依據該差值調整輸入電壓。 The above embodiment refers to the compensation of the frequency response of the speaker without the sensor. In this case, the coefficient of the speaker is fixed, and the compensation unit 14 can adjust the input voltage according to the difference.

另外,若考量揚聲器所在聲場時,則可提供自適應式的補償調整,亦即補償單元14內具有自適應式演算法,該自適應式演算法可用於以摺積(convolution)方式調整揚聲器之係數,藉此同時補償揚聲器和聲場環境。 In addition, if the sound field of the speaker is considered, an adaptive compensation adjustment can be provided, that is, the compensation unit 14 has an adaptive algorithm, and the adaptive algorithm can be used to adjust the speaker in a convolution manner. The coefficients are used to compensate both the speaker and the sound field environment.

參閱第2圖,其係說明本發明之揚聲器之頻率響應補償系統另一實施例的系統架構圖。如圖所示,揚聲器之頻率響應補償系統2係包括:模型單元21、感測單元22、比較單元23以及補償單元24,其可透過感測器感測聲壓,以決定如何補償的依據。 Referring to Figure 2, there is shown a system architecture diagram of another embodiment of a frequency response compensation system for a loudspeaker of the present invention. As shown, the frequency response compensation system 2 of the speaker includes a model unit 21, a sensing unit 22, a comparison unit 23, and a compensation unit 24, which can sense the sound pressure through the sensor to determine the basis for compensation.

模型單元21係依據輸入電壓,產生理想聲壓,這裡所述之理想聲壓即是指預期聲壓,若能達到此標準即呈現良好的頻率響應。 The model unit 21 generates an ideal sound pressure according to the input voltage. The ideal sound pressure described herein refers to the expected sound pressure, and if this standard is reached, a good frequency response is exhibited.

感測單元22用於感測該揚聲器所在聲場之聲壓。與第1圖所示的實施例不同,本實施例是採用感測器來感測聲 壓,故無需量測音圈的電壓和電流。於具體實施例中,感測單元22可為麥克風。 The sensing unit 22 is configured to sense the sound pressure of the sound field where the speaker is located. Different from the embodiment shown in FIG. 1, this embodiment uses a sensor to sense sound. Pressure, so there is no need to measure the voltage and current of the voice coil. In a specific embodiment, the sensing unit 22 can be a microphone.

比較單元23係計算模型單元21之理想聲壓與感測單元22所取得之聲場之聲壓兩者的差值,通過比較所估測到之聲壓與理想聲壓之間的差值,可作為後續補償時的參考。 The comparing unit 23 calculates the difference between the ideal sound pressure of the model unit 21 and the sound pressure of the sound field obtained by the sensing unit 22, by comparing the difference between the estimated sound pressure and the ideal sound pressure, Can be used as a reference for subsequent compensation.

補償單元24係以上述差值調整揚聲器之頻率響應,也就是說,可將差值傳回補償單元24,藉此判定需做何種補償調整。 The compensation unit 24 adjusts the frequency response of the speaker with the above difference, that is, the difference can be transmitted back to the compensation unit 24, thereby determining what compensation adjustment is required.

於本實施例具體實施時,模型單元21、感測單元22或補償單元24也可以濾波器來實現。如前所述,本實施例是指,在具有感測器下的揚聲器之頻率響應的補償,在此情況下,揚聲器之係數為固定不變,補償單元24可依據該差值調整輸入電壓。 In the embodiment, the model unit 21, the sensing unit 22 or the compensation unit 24 can also be implemented by a filter. As described above, the present embodiment refers to the compensation of the frequency response of the speaker under the sensor. In this case, the coefficient of the speaker is fixed, and the compensation unit 24 can adjust the input voltage according to the difference.

另外,若考量揚聲器所在聲場時,則可提供自適應式的補償調整,亦即補償單元24內具有自適應式演算法,該自適應式演算法可用於以摺積(convolution)方式調整揚聲器之係數,藉此同時補償揚聲器和聲場環境。 In addition, if the sound field of the speaker is considered, an adaptive compensation adjustment can be provided, that is, the compensation unit 24 has an adaptive algorithm, and the adaptive algorithm can be used to adjust the speaker in a convolution manner. The coefficients are used to compensate both the speaker and the sound field environment.

另外,在利用自適應式演算法調整該揚聲器之頻率響應時,可提供離線操作和線上操作的兩種情境。詳細內容,如本發明的第4B和4C圖所示。 In addition, when the frequency response of the speaker is adjusted using an adaptive algorithm, two scenarios of offline operation and online operation can be provided. The details are as shown in Figs. 4B and 4C of the present invention.

下面將以更多具體實施的電路示意圖,說明不同情況需求或配置下,用於調整揚聲器係數或補償房間響應之各種機制。 In the following, a more detailed implementation of the circuit diagram will be used to illustrate various mechanisms for adjusting the speaker coefficient or compensating for the room response under different situations or configurations.

首先,第3圖所示為自適應式濾波器,有些訊號傳播 系統是時變且未知的,而自適應式濾波器對於這些應用是有用的,自適應式系統自動修改自己特性來完成某些目標。如圖所示,d(n)是期望訊號,y(n)是由輸入訊號x(n)驅動的數位濾波器的輸出訊號,誤差訊號e(n)是期望訊號d(n)和輸出訊號y(n)之間的差值(difference),自適應式演算法的目的是為了調整數位濾波器的係數,以最小化誤差訊號e(n)的均方值,數位濾波器可以有限脈衝響應(FIR)濾波器來實現。 First, Figure 3 shows an adaptive filter. Some signal propagation systems are time-varying and unknown, and adaptive filters are useful for these applications. Adaptive systems automatically modify their characteristics to accomplish certain aims. As shown, d(n) is the desired signal, y(n) is the output signal of the digital filter driven by the input signal x(n) , and the error signal e(n) is the desired signal d(n) and the output signal. The difference between y(n) , the purpose of the adaptive algorithm is to adjust the coefficients of the digital filter to minimize the mean square value of the error signal e(n) , and the digital filter can have a finite impulse response. (FIR) filter to achieve.

第4A-4C圖係顯示一種不同狀態下的前饋補償系統,其中,第4A圖說明具有感測器的揚聲器補償,第4B圖說明若系統為線性非時變,在離線操作下的揚聲器補償,第4C圖說明在線上操作下的揚聲器補償。 4A-4C shows a feedforward compensation system in a different state, wherein FIG. 4A illustrates the speaker compensation with the sensor, and FIG. 4B illustrates the speaker compensation under the offline operation if the system is linear non-time varying. Figure 4C illustrates the speaker compensation for operation on the line.

為了找出補償器c(n)在離線操作下的脈衝響應,可採用自適應式濾波系統。h(n)是設備(plant)的脈衝響應,設備包含一揚聲器和一用戶麥克風,如第5圖所示,模型m(n)是根據設備h(n)而設計,模型的第一共振頻率低於h(n),因此,在低頻的幅度增強,期望訊號d(n)衍生自輸入訊號x(n)和模型m(n),如下式所示:d(n)=m(n)* x(n) (1) In order to find the impulse response of the compensator c(n) under offline operation, an adaptive filtering system can be employed. h(n) is the impulse response of the plant. The device consists of a speaker and a user microphone. As shown in Figure 5, the model m(n) is designed according to the device h(n) , the first resonant frequency of the model. Below h(n) , therefore, the amplitude at the low frequency is increased, and the expected signal d(n) is derived from the input signal x(n) and the model m(n) as shown in the following equation: d ( n )= m ( n ) * x ( n ) (1)

其中,“*”表示摺積運算,假設系統為線性非時變(linear timeinvariant,LTI),設備h(n)和補償器c(n)的位置可改變,如第4B圖所示,輸出信號y(n)自下列估計途徑衍生出:x'(n)=h(n)* x(n) (2) Where "*" denotes a convolution operation, assuming that the system is linear time invariant (LTI), the position of the device h(n) and the compensator c(n) can be changed, as shown in Fig. 4B, the output signal y(n) is derived from the following estimation pathways: x' ( n )= h ( n )* x ( n ) (2)

y(n)=c(n)* x'(n) (3) y ( n )= c ( n )* x' ( n ) (3)

其中,x'(n)為來自設備h(n)的輸出訊號,y(n)為來補償器c(n)的輸出訊號,誤差訊號e(n)可被定義為:e(n)=d(n)-y(n) (4) Where x'(n) is the output signal from device h(n) , y(n) is the output signal of compensator c(n) , and error signal e(n) can be defined as: e ( n )= d ( n )- y ( n ) (4)

為了最小化該誤差訊號,自適應式演算法更新補償器c(n)的係數,更新方程式定義為:c(n+1)=c(n)+μe(n)x'(n) (5) In order to minimize the error signal, the adaptive algorithm updates the coefficients of the compensator c(n) , and the update equation is defined as: c ( n +1)= c ( n )+ μe ( n ) x' ( n ) (5 )

其中,μ為步長(step size),因此,可得到在離線操作下的補償器c(n)Where μ is the step size, so the compensator c(n) under offline operation can be obtained.

在離線操作中所得到的補償器c(n)是固定的,實際上,設備是時變,因此,還提出線上操作,如第4C圖所示。在線上操作中,由麥克風y(n)接收到的訊號追蹤到期望訊號d(n)The compensator c(n) obtained in the offline operation is fixed. In fact, the device is time-varying, and therefore, an online operation is also proposed, as shown in Fig. 4C. In the online operation, the signal received by the microphone y(n) is traced to the desired signal d(n) .

d(n)=m(n)* x(n) (6) d ( n )= m ( n )* x ( n ) (6)

模型m(n)產生期望訊號d(n)The model m(n) produces the expected signal d(n) .

x'(n)=c(n)* x(n) (7) x' ( n )= c ( n )* x ( n ) (7)

來自補償器的輸出訊號x'(n)被傳送至揚聲器,該訊號由揚聲器傳送至麥克風且由麥克風接收,來自麥克風的訊號y(n)被接收後,誤差訊號e(n)可被定義為:e(n)=d(n)-y(n) (8) The output signal x'(n) from the compensator is transmitted to the speaker, and the signal is transmitted from the speaker to the microphone and received by the microphone. After the signal y(n) from the microphone is received, the error signal e(n) can be defined as : e ( n )= d ( n )- y ( n ) (8)

為了最小化該誤差訊號,提出的自適應式演算法:c(n+1)=c(n)+μe(n)x(n) (9) In order to minimize the error signal, the proposed adaptive algorithm: c ( n +1)= c ( n )+ μe ( n ) x ( n ) (9)

補償器c(n)的係數是自動地更新。 The coefficients of the compensator c(n) are automatically updated.

下面將進一步說明揚聲器的電器-機械-聲學(EMA) 模型。 The electrical, mechanical, and acoustic (EMA) of the speaker will be further explained below. model.

第6A和6B圖係顯示動圈式揚聲器的類比電路,其中,第6A圖說明電器和機械領域的等效電路,第6B圖說明從機械領域映射具有阻抗的電器的等效電路。 Figures 6A and 6B show an analog circuit of a moving coil type speaker, wherein Fig. 6A illustrates an equivalent circuit in the field of electrical and mechanical, and Fig. 6B illustrates an equivalent circuit for mapping an electric appliance having an impedance from the mechanical field.

於第6A圖所示,亦即聲學端映射至機械端與機械端組合之等效阻抗,其中,Z MA 為聲學端映射至機械端與機械端組合之等效阻抗,圖中左邊代表揚聲器之電端,右邊代表揚聲器之機械端,機械端將力等效成電路中的電壓,揚聲器振膜速度等效為電流,中間部分則為迴旋器(Gyrator),關係式如下: As shown in Fig. 6A, the acoustic end is mapped to the equivalent impedance of the mechanical end and the mechanical end combination, wherein Z MA is the acoustic end mapped to the equivalent impedance of the mechanical end and the mechanical end combination, and the left side of the figure represents the speaker. The electric terminal, the right side represents the mechanical end of the speaker, the mechanical end is equivalent to the voltage in the circuit, the speaker diaphragm speed is equivalent to the current, and the middle part is the Gyrator, the relationship is as follows:

其中,Z E (s)表示在電域中的阻抗,其中,s是拉氏轉換的變數(Laplace operator),i(s)是電流,Z VC (s)是從訊號源e g (s)觀查到的等效阻抗,在電器和機械領域之間的元件為迴旋器(gyrator)。是力因數(force factor),其被定義為=B1f(s)是由電流i(s)所造成的洛倫茲力(Lorentz factor)。 Where Z E (s) represents the impedance in the electrical domain, where s is the Laplace operator, i(s) is the current, and Z VC (s) is the signal source e g (s) The equivalent impedance observed, the component between the electrical and mechanical fields is a gyrator. Is a force factor, which is defined as = B1 . f(s) is the Lorentz factor caused by the current i(s ).

Z MA (s)是從聲學端的反射阻抗與機械領域的阻抗的等效阻抗包容。因此, Z MA (s) is the equivalent impedance tolerance of the reflected impedance from the acoustic end to the impedance of the mechanical field. therefore,

其中,Z mot (s)是動態抗阻,u(s)表示揚聲器振膜速度。在第6B圖中,Z VC (s)可被寫為:Z VC (s)=Z E (s)+Z mot (s) (12) Among them, Z mot (s) is the dynamic resistance, and u(s) is the speaker diaphragm speed. In Figure 6B, Z VC (s) can be written as: Z VC ( s ) = Z E ( s ) + Z mot ( s ) (12)

振膜速度u(s)和電壓訊號e g (s)之間的關係在建立速度估計器有著重要的地位,從第6B圖可知,電流i(s)可被寫為: The relationship between the diaphragm speed u(s) and the voltage signal e g (s) plays an important role in establishing the speed estimator. From Fig. 6B, the current i(s) can be written as:

在第6A圖中,洛倫茲力(Lorentz factor)可被寫為f(s)=Z mot (s)u(s),因此,以方程式(13)替代方程式(10),可得到: In Figure 6A, the Lorentz factor can be written as f ( s ) = Z mot ( s ) u ( s ), so replacing equation (10) with equation (13) yields:

因此,可取得u(s)e g (s)的比率,且H eu (s)可被定義為: Therefore, the ratio of u(s) to e g (s) can be obtained, and H eu (s) can be defined as:

透過上式,只要量測揚聲器的端電壓即可估測振膜速度u(s),亦即H eu (s)e g (s)u(s)的轉換函數,由平面圓形的揚聲器在無限擋板映射的軸上壓力,因此,振膜速度u(s)與聲壓的關係式如下: Through the above formula, the diaphragm speed u(s) can be estimated by measuring the terminal voltage of the speaker, that is , the conversion function of H eu (s) from e g (s) to u(s) , which is circular by plane The speaker is pressed on the axis mapped by the infinite baffle. Therefore, the relationship between the diaphragm speed u(s) and the sound pressure is as follows:

其中,ρ 0是空氣的密度,r是從揚聲器到觀測點的距離,且k=ω/c,其中,c是聲音的速度。為了定義轉換函數,這裡假設r=1m,在方程式(16)中的e -s(1/c)表示由從活塞到觀測點的傳播時間延遲所引起的相位延遲,由於e -s(1/c)具有統一振福,與其大小值無關,故在定義聲壓轉換函數時被省略。 Where ρ 0 is the density of air, r is the distance from the speaker to the observation point, and k = ω / c , where c is the speed of the sound. In order to define the transfer function, it is assumed here that r = 1 m, and e - s (1/ c ) in the equation (16) represents the phase delay caused by the propagation time delay from the piston to the observation point, since e -s (1/ c ) It has a uniform vibration, which is independent of its size value, so it is omitted when defining the sound pressure conversion function.

p(s)=Ksu(s) (17) p ( s )= Ksu ( s ) (17)

其中,K=ρ 0/2π,聲壓可由振膜速度計算得到。 Where K = ρ 0 /2 π and the sound pressure can be calculated from the diaphragm speed.

速度H eu (s)和微分器Ks可結合至濾波器,濾波器可被離散化並轉換成FIR濾波器,第7圖顯示這樣的揚聲器。 The speed H eu ( s ) and the differentiator Ks can be combined to the filter ,filter Can be discretized and converted to FIR filter Figure 7 shows such a speaker.

d(n)=m(n)* x(n) (18) d ( n )= m ( n )* x ( n ) (18)

其中,d(n)為期望訊號,x(n)為輸入訊號,以及m(n)為模型。 Where d(n) is the desired signal, x(n) is the input signal, and m(n) is the model.

x'(n)=c(n)* x(n) (19) x' ( n )= c ( n )* x ( n ) (19)

其中,c(n)為補償器,x'(n)為揚聲器的終端電壓並被傳送至FIR濾波器Where c(n) is the compensator, x'(n) is the terminal voltage of the speaker and is transmitted to the FIR filter .

其中,y(n)為估計訊號,誤差訊號可定義為:e(n)=d(n)-y(n) (21) Where y(n) is the estimated signal, and the error signal can be defined as: e ( n )= d ( n )- y ( n ) (21)

為了最小化該誤差訊號,所提出的自適應式演算法,其更新方程式為c(n+1)=c(n)+μe(n)x(n) (22) In order to minimize the error signal, the proposed adaptive algorithm has an update equation of c ( n +1)= c ( n )+ μe ( n ) x ( n ) (22)

其中,μ為步長。 Where μ is the step size.

本發明可在C6416開發板上,以自適應式演算法及數位訊號處理方法來實現,可從電腦將播放音樂送入C6416開發板中,經過程式運算後,可得到揚聲器之振膜速度,該振膜速度可推估出聲場之聲壓,可再利用自適應式演算法得到理想聲場之聲壓而予以播放。具體實施時,可利用三個濾波器:模型單元、聲壓估測單元以及補償單元,模型單元運算產生理想聲壓之訊號,聲壓估測單元計算產生 振膜速度值並且以此計算出聲場之聲壓,利用該理想聲壓之訊號與該聲場之聲壓的比較進行自適應式演算法之處理,如此可得到一補償器之係數而成為FIR濾波器,此補償器即為揚聲器之補償器。 The invention can be implemented on the C6416 development board by an adaptive algorithm and a digital signal processing method, and the music can be sent from the computer to the C6416 development board, and after the program operation, the diaphragm speed of the speaker can be obtained. The diaphragm speed can estimate the sound pressure of the sound field, and can be played back by using an adaptive algorithm to obtain the sound pressure of the ideal sound field. In the specific implementation, three filters can be used: a model unit, a sound pressure estimation unit and a compensation unit, and the model unit calculates a signal for generating an ideal sound pressure, and the sound pressure estimation unit calculates and generates The diaphragm velocity value is used to calculate the sound pressure of the sound field, and the signal of the ideal sound pressure is compared with the sound pressure of the sound field to perform an adaptive algorithm, so that a coefficient of the compensator can be obtained FIR filter, this compensator is the compensator of the speaker.

綜上所述,本發明所提出之揚聲器之頻率響應補償系統,提供有感測器和無感測器的不同執行方案,可將感測器感測到之聲壓作為補償判斷時的依據,若無感測器,則透過估測揚聲器之音圈的電壓和電流以計算出揚聲器所在聲場之聲壓,無論有無感測器,兩者方案還可與揚聲器之係數為固定或可變等情況相搭配,也就是說,採用揚聲器之係數為固定的選擇,僅就揚聲器的補償考量,若還要考量揚聲器之所在聲場環境,則可選擇自適應式演算法來調整揚聲器之係數。由上可知,本發明提出四種不同情況的來執行揚聲器之頻率響應的補償,且透過上述不同補償方案,將提供揚聲器較佳的頻率響應補償效果。 In summary, the frequency response compensation system of the speaker provided by the present invention provides different implementation schemes of the sensor and the sensorless sensor, and the sound pressure sensed by the sensor can be used as a basis for compensation judgment. If there is no sensor, the sound pressure of the sound field of the speaker is estimated by estimating the voltage and current of the voice coil of the speaker. With or without the sensor, the coefficients of the two programs can be fixed or variable with the speaker. The situation is matched, that is to say, the coefficient of the speaker is fixed, and only the compensation consideration of the speaker, if the sound field environment of the speaker is also considered, an adaptive algorithm can be selected to adjust the coefficient of the speaker. It can be seen from the above that the present invention proposes four different situations to perform the compensation of the frequency response of the speaker, and through the above different compensation schemes, the better frequency response compensation effect of the speaker will be provided.

上述實施例僅例示性說明本發明之原理及其功效,而非用於限制本發明。任何熟習此項技藝之人士均可在不違背本發明之精神及範疇下,對上述實施例進行修飾與改變。因此,本發明之權利保護範圍,應如後述之申請專利範圍所列。 The above-described embodiments are merely illustrative of the principles of the invention and its effects, and are not intended to limit the invention. Modifications and variations of the above-described embodiments can be made by those skilled in the art without departing from the spirit and scope of the invention. Therefore, the scope of protection of the present invention should be as set forth in the scope of the claims described below.

1‧‧‧揚聲器之頻率響應補償系統 1‧‧‧Speaker frequency response compensation system

11‧‧‧模型單元 11‧‧‧Model unit

12‧‧‧聲壓估測單元 12‧‧‧Sound Pressure Estimation Unit

121‧‧‧振膜速度量測器 121‧‧‧diaphragm speed measuring device

122‧‧‧微分器 122‧‧‧Differentiator

13‧‧‧比較單元 13‧‧‧Comparative unit

14‧‧‧補償單元 14‧‧‧Compensation unit

Claims (10)

一種揚聲器之頻率響應補償系統,包括:模型單元,係依據輸入電壓,產生理想聲壓;聲壓估測單元,其包括:振膜速度量測器,係根據該揚聲器內之音圈的電壓和電流以估測出該揚聲器之振膜速度;及微分器,係依據該振膜速度計算出該揚聲器所在聲場之聲壓;比較單元,係計算該理想聲壓及該聲場之聲壓以得到差值;以及補償單元,係以該差值調整該揚聲器之頻率響應。 A frequency response compensation system for a speaker, comprising: a model unit for generating an ideal sound pressure according to an input voltage; and a sound pressure estimating unit comprising: a diaphragm speed measuring device according to a voltage of a voice coil in the speaker Current is used to estimate the diaphragm speed of the speaker; and the differentiator calculates the sound pressure of the sound field of the speaker according to the diaphragm speed; the comparing unit calculates the ideal sound pressure and the sound pressure of the sound field to Obtaining a difference; and a compensation unit that adjusts the frequency response of the speaker with the difference. 如申請專利範圍第1項所述之揚聲器之頻率響應補償系統,其中,該揚聲器之係數為固定者,該補償單元係依據該差值調整該輸入電壓。 The frequency response compensation system of the speaker according to claim 1, wherein the coefficient of the speaker is fixed, and the compensation unit adjusts the input voltage according to the difference. 如申請專利範圍第1項所述之揚聲器之頻率響應補償系統,其中,該補償單元更包括用於以摺積方式調整該揚聲器之係數之自適應式演算法。 The frequency response compensation system for a speaker according to claim 1, wherein the compensation unit further comprises an adaptive algorithm for adjusting a coefficient of the speaker in a convolution manner. 如申請專利範圍第3項所述之揚聲器之頻率響應補償系統,其中,利用該自適應式演算法調整該揚聲器之頻率響應係於線上操作或離線操作下執行。 The frequency response compensation system for a speaker according to claim 3, wherein the adaptive algorithm is used to adjust the frequency response of the speaker to be performed under online operation or offline operation. 如申請專利範圍第1項所述之揚聲器之頻率響應補償系統,其中,該模型單元、該聲壓估測單元或該補償單元為濾波器。 The frequency response compensation system for a speaker according to claim 1, wherein the model unit, the sound pressure estimation unit or the compensation unit is a filter. 一種揚聲器之頻率響應補償系統,包括: 模型單元,係依據輸入電壓,產生理想聲壓;感測單元,係用於感測該揚聲器所在聲場之聲壓;比較單元,係計算該理想聲壓及該聲場之聲壓以得到差值;以及補償單元,係以該差值調整該揚聲器之頻率響應。 A frequency response compensation system for a speaker, comprising: The model unit generates an ideal sound pressure according to the input voltage; the sensing unit is configured to sense the sound pressure of the sound field of the speaker; and the comparing unit calculates the ideal sound pressure and the sound pressure of the sound field to obtain a difference And a compensation unit that adjusts the frequency response of the speaker with the difference. 如申請專利範圍第6項所述之揚聲器之頻率響應補償系統,其中,該感測單元為麥克風。 The frequency response compensation system for a speaker according to claim 6, wherein the sensing unit is a microphone. 如申請專利範圍第6項所述之揚聲器之頻率響應補償系統,其中,該揚聲器之係數為固定者,該補償單元係依據該差值調整該輸入電壓。 The frequency response compensation system for a speaker according to claim 6, wherein the coefficient of the speaker is fixed, and the compensation unit adjusts the input voltage according to the difference. 如申請專利範圍第6項所述之揚聲器之頻率響應補償系統,其中,該補償單元更包括用於以摺積方式調整該揚聲器之係數之自適應式演算法。 The frequency response compensation system for a speaker according to claim 6, wherein the compensation unit further comprises an adaptive algorithm for adjusting a coefficient of the speaker in a convolution manner. 如申請專利範圍第9項所述之揚聲器之頻率響應補償系統,其中,利用該自適應式演算法調整該揚聲器之頻率響應係於線上操作或離線操作下執行。 The frequency response compensation system for a speaker according to claim 9, wherein the adaptive algorithm is used to adjust the frequency response of the speaker to be performed under online operation or offline operation.
TW104100211A 2015-01-06 2015-01-06 Compensator system for frequency response of loudspeaker TW201626814A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW104100211A TW201626814A (en) 2015-01-06 2015-01-06 Compensator system for frequency response of loudspeaker

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW104100211A TW201626814A (en) 2015-01-06 2015-01-06 Compensator system for frequency response of loudspeaker

Publications (1)

Publication Number Publication Date
TW201626814A true TW201626814A (en) 2016-07-16

Family

ID=56985219

Family Applications (1)

Application Number Title Priority Date Filing Date
TW104100211A TW201626814A (en) 2015-01-06 2015-01-06 Compensator system for frequency response of loudspeaker

Country Status (1)

Country Link
TW (1) TW201626814A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108282725A (en) * 2018-02-14 2018-07-13 钰太芯微电子科技(上海)有限公司 A kind of public address system and audio player of integrated back of the body cavity pressure perception
TWI647960B (en) * 2016-11-17 2019-01-11 大陸商矽力杰半導體技術(杭州)有限公司 Speaker diaphragm state estimation method and speaker driving circuit using same
TWI669004B (en) * 2016-11-17 2019-08-11 大陸商矽力杰半導體技術(杭州)有限公司 Speaker driving device and speaker driving method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI647960B (en) * 2016-11-17 2019-01-11 大陸商矽力杰半導體技術(杭州)有限公司 Speaker diaphragm state estimation method and speaker driving circuit using same
TWI669004B (en) * 2016-11-17 2019-08-11 大陸商矽力杰半導體技術(杭州)有限公司 Speaker driving device and speaker driving method
CN108282725A (en) * 2018-02-14 2018-07-13 钰太芯微电子科技(上海)有限公司 A kind of public address system and audio player of integrated back of the body cavity pressure perception
CN108282725B (en) * 2018-02-14 2024-01-16 钰太芯微电子科技(上海)有限公司 Integrated back cavity pressure sensing sound amplifying system and audio player

Similar Documents

Publication Publication Date Title
EP2797340B1 (en) Audio power management system
WO2015085924A1 (en) Automatic equalization method for loudspeaker
JP7188082B2 (en) SOUND PROCESSING APPARATUS AND METHOD, AND PROGRAM
GB2519675A (en) A method for reducing loudspeaker phase distortion
NL2014251A (en) Echo cancellation methodology and assembly for electroacoustic communication apparatuses.
KR101445186B1 (en) Echo cancel apparatus for non-linear echo cancellation
JP2007081815A (en) Loudspeaker device
EP2284833A1 (en) A method for monitoring the influence of ambient noise on an adaptive filter for acoustic feedback cancellation
JP2020184756A (en) System and method for compensating for non-linear behavior of acoustic transducer based on magnetic flux
CN102447446A (en) Balancing method and device of speaker frequency response fed back based on vibration element motion state
TW201626814A (en) Compensator system for frequency response of loudspeaker
US20070154021A1 (en) Digital feedback to improve the sound reproduction of an electro-dynamic loudspeaker
TW201820893A (en) Loudspeaker driving apparatus and loudspeaker driving method
JP2020184755A (en) System and method for compensating for non-linear behavior of acoustic transducer
CN105356861A (en) Active noise-reduction method and system
TW201414991A (en) Method for measuring electroacoustic parameters of transducer
WO2023040025A1 (en) Feedback-type active noise control system and method based on secondary channel online identification
CN106559722B (en) Audio playback systems equalization methods based on human hearing characteristic
JP2021114765A (en) Method of adjusting phase responses of first microphone and second microphone
Buys et al. Developing and evaluating a hybrid wind instrument
CN116457869A (en) Audio controller for semi-adaptive active noise reduction device
Kadowaki et al. Nonlinear distortion reduction of an electrodynamic loudspeaker by using model-following control theory
Nakao et al. An estimation method of parameters for closed-box loudspeaker system
Sankowsky-Rothe et al. Acoustic feedback path modeling for hearing aids: Comparison of physical position based and position independent models
Zorzo et al. Comparison between a digital and an analog active noise control system for headphones