JP4963356B2 - How to design a filter - Google Patents

How to design a filter Download PDF

Info

Publication number
JP4963356B2
JP4963356B2 JP2005368380A JP2005368380A JP4963356B2 JP 4963356 B2 JP4963356 B2 JP 4963356B2 JP 2005368380 A JP2005368380 A JP 2005368380A JP 2005368380 A JP2005368380 A JP 2005368380A JP 4963356 B2 JP4963356 B2 JP 4963356B2
Authority
JP
Japan
Prior art keywords
filter
impulse response
test signal
signal
speaker
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.)
Expired - Fee Related
Application number
JP2005368380A
Other languages
Japanese (ja)
Other versions
JP2007174224A (en
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.)
Chiba Institute of Technology
Original Assignee
Chiba Institute of Technology
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 Chiba Institute of Technology filed Critical Chiba Institute of Technology
Priority to JP2005368380A priority Critical patent/JP4963356B2/en
Publication of JP2007174224A publication Critical patent/JP2007174224A/en
Application granted granted Critical
Publication of JP4963356B2 publication Critical patent/JP4963356B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、近似フィルタ作成方法に関し、特に、基となるフィルタと略同一な特性を有し、基となるフィルタに比べてタップ数が少ないフィルタの設計方法に関する。   The present invention relates to an approximate filter creation method, and more particularly to a filter design method that has substantially the same characteristics as a base filter and has a smaller number of taps than the base filter.

従来より、音響再生システムにおいて、左右のスピーカに供給する音響信号に信号処理を加えることにより、音像定位方向を左右のスピーカ一位置よりも広げることができるようにする音場拡大技術が知られている。例えば、非特許文献1に開示される技術では、左右各チャンネルの音響信号に、音源から聴取者の左右の耳の位置までの伝達関数(HRTF)を畳み込むことにより、聴取者にあたかもその音源位置から音が出ているかのような音場を知覚させることができる。   2. Description of the Related Art Conventionally, in a sound reproduction system, there has been known a sound field expansion technique that allows a sound image localization direction to be wider than one position of left and right speakers by applying signal processing to sound signals supplied to left and right speakers. Yes. For example, in the technique disclosed in Non-Patent Document 1, by convolving a transfer function (HRTF) from the sound source to the positions of the left and right ears of the listener into the acoustic signals of the left and right channels, the sound source position is as if the listener. The sound field can be perceived as if the sound is coming from.

また、非特許文献2には、スピーカで音響を再生する場合に、左右チャンネル間のクロストークをキャンセルする技術が開示されている。このようなクロストークキャンセル技術を非特許文献1に開示される技術と組み合わせて、左右スピーカのクロストークをキャンセルしながら、非特許文献1の音場拡大技術を用いることにより、より効果的に音像定位方向を拡げることができる。
D.B.Anderson et al, "The sound dimension", IEEE SPECTRUM, March 1997. M.R.Shcroeder et al, "Comparative study of European concert halls: correlation of subjective preference with geometric and acoustic parameters", J. Accoust. Soc. Am., Vol.55, No.4, October 1974.
Non-Patent Document 2 discloses a technique for canceling crosstalk between left and right channels when sound is reproduced by a speaker. By combining such a crosstalk cancellation technique with the technique disclosed in Non-Patent Document 1, the sound field expansion technique of Non-Patent Document 1 is used more effectively while canceling the crosstalk of the left and right speakers. The localization direction can be expanded.
DBAnderson et al, "The sound dimension", IEEE SPECTRUM, March 1997. MRShcroeder et al, "Comparative study of European concert halls: correlation of subjective preference with geometric and acoustic parameters", J. Accoust. Soc. Am., Vol. 55, No. 4, October 1974.

このような音響再生システムの信号処理に用いられるフィルタ係数は、例えば、周波数帯域ごとに、インパルスをバンドパスフィルタに通過させて得られたバンドパルスに遅延処理及び増幅処理を行い周波数帯域ごとのインパルス応答を算出し、全周波数帯域をカバーするように各周波数帯域のインパルス応答を加算することにより算出される。   The filter coefficient used for the signal processing of such a sound reproduction system is, for example, an impulse for each frequency band by performing delay processing and amplification processing on the band pulse obtained by passing the impulse through the band pass filter for each frequency band. The response is calculated, and the impulse response of each frequency band is added so as to cover the entire frequency band.

上記のようにして得られたインパルス応答は、遅延処理や加算処理の際にタップ数が増加するため、タップ数が非常に多い。このようなタップ数の多いフィルタを用いると、演算回数がフィルタのタップ数に比例して増加するため、信号処理装置のCPUに過大な負担が生じてしまう。   The impulse response obtained as described above has a very large number of taps because the number of taps increases during delay processing and addition processing. When such a filter with a large number of taps is used, the number of calculations increases in proportion to the number of taps of the filter, which causes an excessive burden on the CPU of the signal processing device.

本発明は、上記の問題に鑑みなされたものであり、その目的は、信号処理装置の負担を低減させるため、基準となるフィルタと略同一の周波数特性を有し、かつ基準となるフィルタよりもタップ数の少ない近似フィルタを設計する方法を提供することである。 The present invention has been made in view of the above problems, and its object is to have substantially the same frequency characteristics as the reference filter and to reduce the burden on the signal processing apparatus, compared to the reference filter. to provide a way to design a small approximation filter with taps.

発明のフィルタの設計方法は、左右チャンネルの入力信号を、複数の所定の周波数帯域の夫々について予め設定された帯域通過特性を有するフィルタに通過させ、左右各チャンネルの入力信号から、前記フィルタを通過した他チャンネルの信号を減算し、この減算した結果の信号を前記スピーカの対応するチャンネルの信号として出力する音響信号処理装置の前記フィルタを設計する方法であって、複数の周波数帯域i(i=1,・・・,N;Nは帯域の数)の夫々に対応したバンドパスフィルタBPのインパルス応答δを第1試験信号Smとするステップと、前記第1試験信号Smの位相を反転して第2試験信号Scとするステップと、前記第1試験信号Smを前記スピーカの一方のチャンネルに入力すると共に、前記第2試験信号Scを、時間遅れ調整器及びレベル調整器を通して前記スピーカの他方のチャンネルに入力し、前記スピーカが発生する音をステレオマイクロフォンで収音してその測定信号SL,SRを取得するステップと、前記第1試験信号Sm又は前記第2試験信号Scに応じた音を発生する音源を前記スピーカよりも左側又は右側の位置に設置した時の音を表す信号を基準信号SL ,SR として取得するステップと、前記測定信号SL,SRが前記基準信号SL ,SR に近似するように前記時間遅れ調整器及びレベル調整器により夫々時間遅れ及びレベルを調整するステップと、前記調整した時間遅れを調整時間遅れτとするステップと、前記調整したレベルの前記第1試験信号Smに対するゲインを調整ゲインkとするステップと、前記インパルス応答δに前記調整ゲインkを掛けると共に前記調整時間遅れτだけ遅らせてインパルス応答hcとするステップと、このインパルス応答hcを全周波数帯域について足し合わせてインパルス応答hc´とするステップと、前記インパルス応答hc´を未知システムとして、前記インパルス応答hc´よりもタップ数の少ないフィルタが初期値とした適応フィルタによりこの未知システムを同定するステップと、前記同定した適応フィルタを前記フィルタhcとするステップとを備えることを特徴とする。 According to the filter designing method of the present invention, the input signals of the left and right channels are passed through a filter having band pass characteristics set in advance for each of a plurality of predetermined frequency bands, and the filter is passed from the input signals of the left and right channels. A method of designing the filter of an acoustic signal processing apparatus that subtracts a signal of another channel that has passed and outputs a signal resulting from the subtraction as a signal of a corresponding channel of the speaker, and includes a plurality of frequency bands i (i = 1, ···, N; N is the steps of the impulse response [delta] i of the band-pass filter BP i corresponding to s each band number) and the first test signal Sm i, of the first test signal Sm i a step of the second test signal Sc i inverts the phase, and inputs the first test signal Sm i on one channel of said speaker, said 2 test signal Sc i, inputted to the other channel of the speaker through a time delay regulator and level regulator acquires the measurement signal SL i, SR i and picking up sound the speaker is generated in stereo microphone step a, the first test signal Sm i or the second test signal Sc i reference signal a sound source for generating sound corresponding signal representing the sound when installed on the left or right position than the speaker SL to * I and SR * i , and the measurement signal SL i and SR i approximate to the reference signals SL * i and SR * i , respectively. and adjusting the level, the steps of the adjusted time delay and adjusting the time delay tau i, the first test signal Sm i of levels the adjustment A step of the gain to adjust the gain k i, the steps of the impulse response hc i delayed by the adjusted time delay tau i with applying the adjustment gain k i to the impulse response [delta] i, the impulse response hc i The step of adding the impulse response hc ′ for all frequency bands, and the impulse response hc ′ as an unknown system, the unknown system is defined by an adaptive filter whose initial value is a filter having a smaller number of taps than the impulse response hc ′. A step of identifying, and a step of using the identified adaptive filter as the filter hc.

本発明によれば、基準となるフィルタと略同一の特性を有し、かつ、基準となるフィルタに比べてタップ数の少ない近似フィルタを設計することができる。このような近似フィルタを音響再生システムのフィルタとして用いることで、信号処理装置の処理負担を減らすことができる。 According to the present invention, it is possible to design an approximate filter that has substantially the same characteristics as the reference filter and has a smaller number of taps than the reference filter. By using such an approximate filter as a filter of the sound reproduction system, the processing load of the signal processing device can be reduced.

以下、本発明のフィルタの設計方法の一実施形態について図面に基づき説明する。   Hereinafter, an embodiment of a filter designing method of the present invention will be described with reference to the drawings.

図1は、フィルタ作成の対象となる音響再生システムを示す図である。同図に示すように、音響再生システム10は、音響信号処理装置30と、音響信号処理装置30に接続された左右のスピーカ20L,20Rからなる。音響信号処理装置30は、左右各チャンネルの音響信号が入力される入力端子32(32L,32R)、遅延回路34(34L,34R)、演算出力器36(36L,36R)、及び音場調整フィルタ38(38L,38R)を備えている。   FIG. 1 is a diagram illustrating an acoustic reproduction system that is a target of filter creation. As shown in the figure, the sound reproduction system 10 includes an acoustic signal processing device 30 and left and right speakers 20L and 20R connected to the acoustic signal processing device 30. The acoustic signal processing device 30 includes an input terminal 32 (32L, 32R), a delay circuit 34 (34L, 34R), an arithmetic output device 36 (36L, 36R), and a sound field adjustment filter to which acoustic signals of left and right channels are input 38 (38L, 38R).

音響信号処理装置30の左チャンネルの入力端子32Lに入力された入力信号は、音場調整フィルタ38Lを通して右チャンネルの演算出力器36Rに供給され、演算出力器36Rは、遅延回路34Rを通過した右チャンネルの信号から、音場調整フィルタ38Lを通過した左チャンネルの信号を減算(あるいは、位相を反転して加算)した信号を出力する。同様に、右チャンネルの入力端子32Rに入力された入力信号は、音場調整フィルタ38Rを通して左チャンネルの演算出力器36Lに供給され、演算出力器36Lは、遅延回路34Lを通過した左チャンネルの信号から、音場調整フィルタ38Rを通過した右チャンネルの信号を減算(あるいは、位相を反転して加算)して出力する。各演算出力器36L,36Rからの出力信号はDA変換されてスピーカ20L,20Rに供給される。   The input signal input to the left channel input terminal 32L of the acoustic signal processing device 30 is supplied to the right channel calculation output unit 36R through the sound field adjustment filter 38L, and the calculation output unit 36R passes through the delay circuit 34R. A signal obtained by subtracting (or adding by inverting the phase) the signal of the left channel that has passed through the sound field adjustment filter 38L is output from the signal of the channel. Similarly, the input signal input to the right channel input terminal 32R is supplied to the left channel arithmetic output device 36L through the sound field adjustment filter 38R, and the arithmetic output device 36L passes the delay circuit 34L to the left channel signal. Then, the signal of the right channel that has passed through the sound field adjustment filter 38R is subtracted (or added by inverting the phase) and output. Output signals from the arithmetic output devices 36L and 36R are D / A converted and supplied to the speakers 20L and 20R.

このような音響信号処理装置30において、音場調整フィルタ38L,38Rにおける演算回数は、音場調整フィルタ38L,38Rに設定されたフィルタ係数のタップ数に比例して増加し、音響信号処理装置30への負担となる。このため、音響信号処理装置30に対する負担を低減するため、音場調整フィルタ38L,38Rのフィルタ係数のタップ数が少ないことが望まれる。   In such an acoustic signal processing device 30, the number of calculations in the sound field adjustment filters 38L and 38R increases in proportion to the number of taps of the filter coefficients set in the sound field adjustment filters 38L and 38R. Burden. For this reason, in order to reduce the burden on the acoustic signal processing device 30, it is desired that the number of taps of the filter coefficients of the sound field adjustment filters 38L and 38R is small.

本実施形態の音場調整フィルタの設計方法は、上述した音響信号処理装置30の音場調整フィルタ38(38L、38R)として最適な音響特性を有するインパルス応答を算出し、このインパルス応答を未知システムとして、適応フィルタにより同定することにより、このインパルス応答と略同一の特性を備え、かつ、インパルス応答よりもタップ数の少ない近似フィルタを算出することに特徴を有する。   The design method of the sound field adjustment filter of the present embodiment calculates an impulse response having optimum acoustic characteristics as the sound field adjustment filter 38 (38L, 38R) of the acoustic signal processing device 30 described above, and the impulse response is calculated as an unknown system. As described above, by identifying with an adaptive filter, an approximate filter having substantially the same characteristics as the impulse response and having a smaller number of taps than the impulse response is characterized.

以下、音場調整フィルタ38を設計する方法について説明する。
図2は、音場調整フィルタ38を設計する手順を示すフローチャートである。また、図3〜図10は、図2の各手順を説明するための図である。先ず、図2のステップ100において、図3に示すように、例えば1/4オクターブ程度の狭帯域のバンドパスフィルタBP(iは帯域を表す番号であり、i=1〜N;Nはバンドパスフィルタの個数)のインパルス応答を計算し、それらインパルス応答を第1試験信号Smとする。各バンドパスフィルタBPの中心周波数fc、帯域幅fΔ、及び個数Nは、音響信号処理の対象となる周波数領域(例えば1000Hz〜3000Hz)をカバーできるように設定する。なお、本実施形態では、バンドパスフィルタBPとして例えば直線位相形FIRバンドパスフィルタを用いるものとする。
Hereinafter, a method for designing the sound field adjustment filter 38 will be described.
FIG. 2 is a flowchart showing a procedure for designing the sound field adjustment filter 38. 3-10 is a figure for demonstrating each procedure of FIG. First, in step 100 of FIG. 2, as shown in FIG. 3, for example, a narrow-band bandpass filter BP i of about ¼ octave (i is a number representing a band, i = 1 to N; N is a band) calculate an impulse response of a path number of filters), to their impulse response to the first test signal Sm i. The center frequency fc i , the bandwidth fΔ i , and the number N of each band pass filter BP i are set so as to cover a frequency region (for example, 1000 Hz to 3000 Hz) that is a target of acoustic signal processing. In the present embodiment, for example, a linear phase FIR bandpass filter is used as the bandpass filter BP i .

次にステップ102において、図4に示すように、各第1試験信号Smを逆位相に位相反転して、第2試験信号Scとする。
次に、ステップ104において、図5に示すように、第1試験信号Smをスピーカ20の左チャンネルのスピーカ20Lに入力すると共に、第2試験信号Scを時間遅れ調整器50及びレベル調整器52を通して右チャンネルのスピーカ20Rに入力し、スピーカ20から発生する音をその前方に設置したダミーヘッドマイクロフォン54で収音して、その測定信号をSL,SRとする。なお、ダミーヘッドマイクロフォン54は、人の左右両耳の位置の音圧を測定可能なマイクロフォンである。
In next step 102, as shown in FIG. 4, and the phase inverting each first test signal Sm i in opposite phase, the second test signal Sc i.
Next, in step 104, as shown in FIG. 5, with the first test signal Sm i is input to the speaker 20L for the left channel speaker 20, regulator 50 and the level adjuster delays the second test signal Sc i Time The sound is input to the right channel speaker 20R through 52, and the sound generated from the speaker 20 is picked up by the dummy head microphone 54 installed in front thereof, and the measurement signals are SL i and SR i . The dummy head microphone 54 is a microphone that can measure the sound pressure at the positions of the left and right ears of a person.

次にステップ106において、ダミーヘッドマイクロフォン54による左右両耳の測定信号SL,SRの時間差及びレベル差が、左側のスピーカ20Lよりも更に左側の位置に単独のスピーカを設置した場合に測定される左右の信号(以下、基準信号という)SL ,SR の時間差及びレベル差に最も近似するように、時間遅れ調整器50及びレベル調整器52で第2試験信号Scの時間遅れ及びレベルを調整する。こうして調整した時間遅れを調整時間遅れτとし、また、調整した第2試験信号Scの最大値Mcと、第1試験信号Smの最大値Mmとの比率(Mc/Mm)を調整ゲインkとする。なお、基準信号SL 、SR は、図6に示すように、例えばダミーヘッドマイクロフォン54の左真横に、左右チャンネルが独立した通常タイプのスピーカである基準スピーカ56を設置し、この基準スピーカ56に第1試験信号Smを入力することにより予め測定しておくものとする。なお、基準スピーカ56に第2試験信号Scを入力して基準信号SL 、SR を測定してもよい。 Next, at step 106, the time difference and level difference between the left and right ear measurement signals SL i and SR i by the dummy head microphone 54 are measured when a single speaker is installed at a position on the left side of the left speaker 20L. that the left and right signals (hereinafter, referred to as a reference signal) SL * i, SR * i to best approximate the time difference and the level difference, time delay of the second test signal Sc i in delay adjuster 50 and a level adjuster 52 times And adjust the level. Thus the adjusted time delay and adjusting the time delay tau i, also, the maximum value Mc i of the second test signal Sc i adjusted, the ratio between the maximum value Mm i of the first test signal Sm i (Mc i / Mm i ) it is the adjustment gain k i. For reference signals SL * i and SR * i , as shown in FIG. 6, for example, a reference speaker 56, which is a normal type speaker with independent left and right channels, is installed on the left side of the dummy head microphone 54. It assumed to be previously measured by inputting the first test signal Sm i to the speaker 56. The reference signal SL * i to reference speaker 56 inputs the second test signal Sc i, may be measured SR * i.

なお、第1試験信号Smと、該当する周波数帯域についての聴取者の左真横の位置から聴取者の頭部までの伝達関数HRTFのフーリエ逆変換である両耳のインパルス応答とを畳み込むことにより、音源を左真横に置いたときと同様の信号を得ることができ、この信号を基準信号SL ,SR としてもよい。
また、上記の説明では、音源を左真横に配置するものとしたが、これに限らず、拡げたい音像定位方向に応じてスピーカ20よりも左側又は右側の位置に配置すればよい。
Note that the first test signal Sm i, by convoluting impulse responses of binaural is inverse Fourier transform of the transfer function HRTF from the left position just beside the listener for the relevant frequency band up to the listener's head The same signal as when the sound source is placed directly beside the left can be obtained, and this signal may be used as the reference signals SL * i and SR * i .
Further, in the above description, the sound source is assumed to be disposed directly beside the left side. However, the present invention is not limited thereto, and may be disposed at a position on the left side or the right side of the speaker 20 according to the sound image localization direction to be expanded.

次にステップ108において、上記ステップ104,106で求めた各周波数帯域iの調整時間遅れτ及び調整ゲインkについて、隣接する2つ以上の周波数帯域で時間遅れ及びゲインが共に一致しあるいは所定の許容誤差範囲(例えば±10%)である場合には、それら周波数帯域を統合して一つの帯域とし共通の調整時間遅れ及び調整ゲインの値を用いる。例えば、帯域sと帯域(s+1)とで調整時間遅れτ,τs+1及び調整ゲインk,ks+1が夫々一致した場合、図7に示すように、これら帯域を統合して、統合前の各帯域s,(s+1)のバンドパスフィルタの通過帯域をカバーできる特性のバンドパスフィルタとする。このように帯域を統合した場合は、統合後の帯域を1つの帯域として帯域番号iを振り直す。 Next, at step 108, the adjustment time delay τ i and the adjustment gain k i of each frequency band i obtained at steps 104 and 106 described above are equal in time delay and gain in two or more adjacent frequency bands. In the case of the allowable error range (for example, ± 10%), these frequency bands are integrated into one band, and common adjustment time delay and adjustment gain values are used. For example, when the adjustment time delays τ s , τ s + 1 and the adjustment gains k s , k s + 1 coincide with each other in the band s and the band (s + 1), as shown in FIG. A bandpass filter having a characteristic capable of covering the passband of the bandpass filter of each of the bands s and (s + 1). When the bands are integrated in this way, the band number i is reassigned with the integrated band as one band.

次にステップ110において、インパルスを各帯域iのバンドパスフィルタBPを通してインパルス応答δを計算する。
次にステップ112において、図8に示すように、各帯域のインパルス応答δを該当する帯域iの調整時間遅れτだけ遅らせると共に調整ゲインkを掛けて、インパルス応答hcとする。
そしてステップ114において、図9に示すように、インパルス応答hcを全て足し合わせて一つのインパルス応答hc´を求める。
Next, in step 110, the impulse response δ i is calculated through the band-pass filter BP i of each band i.
Next, at step 112, as shown in FIG. 8, the impulse response δ i of each band is delayed by the adjustment time delay τ i of the corresponding band i and multiplied by the adjustment gain k i to obtain an impulse response hc i .
In step 114, as shown in FIG. 9 to determine the one of the impulse response hc' adding together all impulse response hc i.

ここで、このように算出したインパルス応答hc´のタップ数は一般的に非常に大きい。そこで、ステップ116において、得られたインパルス応答のタップ数を低減するため、図10に示す近似フィルタ作成システムにより、インパルス応答と略同一の特性を有する近似フィルタを作成する。   Here, the number of taps of the impulse response hc ′ calculated in this way is generally very large. Therefore, in step 116, in order to reduce the number of taps of the obtained impulse response, an approximate filter having substantially the same characteristics as the impulse response is created by the approximate filter creation system shown in FIG.

図10に示すように、近似フィルタ作成システム60は、ノイズジェネレータ61と、フィルタ装置62と、適応フィルタ66を有する適応フィルタ装置64と、遅延処理装置63とからなる。
ノイズジェネレータ61は、ホワイトノイズu(k)を出力する装置である。ノイズジェネレータ61より出力されたホワイトノイズu(k)は、フィルタ装置64と、遅延処理装置63とに入力される。
As shown in FIG. 10, the approximate filter creation system 60 includes a noise generator 61, a filter device 62, an adaptive filter device 64 having an adaptive filter 66, and a delay processing device 63.
The noise generator 61 is a device that outputs white noise u (k). The white noise u (k) output from the noise generator 61 is input to the filter device 64 and the delay processing device 63.

フィルタ装置62は、入力されたホワイトノイズu(k)に対して、フィルタ処理を行うことにより目的信号d(k)(請求項における第1の信号に相当)を出力する。このフィルタ処理に用いられるフィルタ係数として、上述のように算出されたインパルス応答hc´(k)が設定されている。   The filter device 62 outputs a target signal d (k) (corresponding to the first signal in the claims) by performing a filtering process on the input white noise u (k). The impulse response hc ′ (k) calculated as described above is set as a filter coefficient used for this filter processing.

遅延処理装置63は、入力されたホワイトノイズu(k)に対して遅延処理を行う。この遅延処理の遅れ時間Δkは、後述する適応フィルタ66の信号処理による遅れ時間と、遅延処理装置63による遅れ時間の合計が、フィルタ装置62による遅れ時間と等しくなるように設定されている。   The delay processing device 63 performs delay processing on the input white noise u (k). The delay time Δk of the delay processing is set such that the sum of the delay time due to signal processing of the adaptive filter 66 described later and the delay time due to the delay processing device 63 is equal to the delay time due to the filter device 62.

適応フィルタ装置64は、適応フィルタ66と、演算処理部65とを備える。適応フィルタ66は、所望のタップ数のフィルタ係数を初期値として設定することができ、初期値として音響処理装置30のCPUの負担とならない程度のタップ数のフィルタ係数を設定しておく。   The adaptive filter device 64 includes an adaptive filter 66 and an arithmetic processing unit 65. The adaptive filter 66 can set a filter coefficient with a desired number of taps as an initial value, and sets a filter coefficient with a tap number that does not impose a burden on the CPU of the sound processing device 30 as an initial value.

適応フィルタ装置64には、遅延処理装置63により遅延処理が行われたホワイトノイズu(k+Δk)及びフィルタ装置62より出力された目的信号d(k)が入力される。適応フィルタ装置64は、入力されたホワイトノイズu(k+Δk)を適応フィルタ66において信号処理することで基準信号y(k)(第2の信号に相当)を算出し、さらに、演算処理部65において基準信号y(k)と目的信号d(k)との差である誤差信号e(k)を算出する。そして、適応フィルタ装置64は、LMSアルゴリズムなどにより、適応フィルタhc(k)を誤差信号e(k)が最小になるように更新していく。この更新処理を、適応フィルタ装置64のフィルタ係数が略一定となるまで繰り返すことにより、適応フィルタ66は、フィルタ装置62のフィルタ係数hc´(k)と略同一の特性となる。   The adaptive filter device 64 receives the white noise u (k + Δk) delayed by the delay processing device 63 and the target signal d (k) output from the filter device 62. The adaptive filter device 64 calculates the reference signal y (k) (corresponding to the second signal) by performing signal processing on the input white noise u (k + Δk) in the adaptive filter 66, and further in the arithmetic processing unit 65. An error signal e (k) that is a difference between the reference signal y (k) and the target signal d (k) is calculated. Then, the adaptive filter device 64 updates the adaptive filter hc (k) so that the error signal e (k) is minimized by an LMS algorithm or the like. By repeating this updating process until the filter coefficient of the adaptive filter device 64 becomes substantially constant, the adaptive filter 66 has substantially the same characteristics as the filter coefficient hc ′ (k) of the filter device 62.

また、適応フィルタ66のフィルタ係数は、更新されても、そのタップ数は変化しない。このため、フィルタ係数hc(k)が略一定となった適応フィルタ66は、フィルタ係数hc´を有するフィルタ装置62と略同一の特性を有し、また、そのタップ数は適応フィルタ66のフィルタ係数の初期値と等しいタップ数になる。近似フィルタ作成システム60は、この適応フィルタ66のフィルタ係数hc(k)を近似フィルタとして出力する。   Further, even if the filter coefficient of the adaptive filter 66 is updated, the number of taps does not change. Therefore, the adaptive filter 66 in which the filter coefficient hc (k) is substantially constant has substantially the same characteristics as the filter device 62 having the filter coefficient hc ′, and the number of taps is the filter coefficient of the adaptive filter 66. The number of taps is equal to the initial value of. The approximate filter creation system 60 outputs the filter coefficient hc (k) of the adaptive filter 66 as an approximate filter.

再び図2に戻り、ステップ118において、得られた近似フィルタhcのピーク値までの位相遅延時間Tを算出する。この位相遅延時間Tを遅延回路34の遅延時間とする。また、得られた近似フィルタhcを音場調整フィルタ38のフィルタ係数として設定する。   Returning to FIG. 2 again, in step 118, the phase delay time T up to the peak value of the obtained approximate filter hc is calculated. This phase delay time T is set as the delay time of the delay circuit 34. Further, the obtained approximate filter hc is set as a filter coefficient of the sound field adjustment filter 38.

上述したように、近似フィルタ作成システム60によれば、インパルス応答と同一の特性を有するとともに、タップ数の少ない近似フィルタを作成することができる。これにより本実施形態のフィルタ設計方法によれば、この近似フィルタを音場調整フィルタ38のフィルタ係数として用いることにより、音響信号処理装置30の演算処理部への負担を削減することができる。
本発明のフィルタ作成システム40によりフィルタ作成の対象となる音響再生システム10は、フィルタ処理機能を有する市販の音響再生システムなどである。特に、左右のスピーカに対し、受聴者が左右のスピーカの中心線から横にずれているような場合でも夫々のチャンネルについて最適なフィルタを設計することにより、スピーカの配置が対称な音響再生システムと同様の音場を再現することができることを実験的に確認した。
特に、例えばカーステレオなどの受聴者の位置が一方のスピーカに極端に近接しているような音響再生システムの場合には、近接しているスピーカのチャンネルのみにフィルタ処理を行えば、スピーカの配置が対称な音響再生システムと同様の音場を再現することができ、このような場合には、フィルタは一方のチャンネルのみに設ければよい。
As described above, according to the approximate filter creation system 60, it is possible to create an approximate filter having the same characteristics as the impulse response and a small number of taps. Thereby, according to the filter design method of this embodiment, the load on the arithmetic processing unit of the acoustic signal processing device 30 can be reduced by using this approximate filter as the filter coefficient of the sound field adjustment filter 38.
The sound reproduction system 10 which is a filter creation target by the filter creation system 40 of the present invention is a commercially available sound reproduction system having a filter processing function. Especially for left and right speakers, even if the listener is laterally offset from the center line of the left and right speakers, by designing an optimal filter for each channel, It was experimentally confirmed that a similar sound field can be reproduced.
In particular, in the case of a sound reproduction system in which the position of a listener such as a car stereo is extremely close to one speaker, if the filter processing is performed only on the channel of the close speaker, the speaker placement Can reproduce a sound field similar to that of a symmetrical sound reproduction system. In such a case, a filter need only be provided on one channel.

なお、上記の適応フィルタ装置64において、フィルタ係数を同定するアルゴリズムは、LMSアルゴリズムに限定されず、その他のアルゴリズムを用いてもよく、収束の遅いアルゴリズムを用いてもよい。また、本発明のフィルタ設計方法に用いた近似フィルタの作成システム60は、音響再生システムのフィルタ設計のみならず、音響信号処理のためのフィルタを有するテレビや携帯電話等のフィルタ設計にも用いることができる。   In the adaptive filter device 64 described above, the algorithm for identifying the filter coefficient is not limited to the LMS algorithm, and other algorithms may be used, or an algorithm having a slow convergence may be used. The approximate filter creation system 60 used in the filter design method of the present invention is used not only for designing a sound reproduction system filter but also for designing a filter such as a television or a mobile phone having a filter for acoustic signal processing. Can do.

ここで、上述したフィルタ設計方法における近似フィルタの作成を行う前(すなわち、図2のステップ114)のインパルス応答と、このインパルス応答を基に近似フィルタ作成システムにより作成した近似フィルタと、について比較したので説明する。
図11(A)は近似フィルタ作成システムにより作成された近似フィルタの波形の一例を示す図であり、同図(B)は近似の基となったインパルス応答の波形である。同図に示すように、タップ数が4000以上のインパルス応答を、タップ数が256の近似フィルタにより近似している。
Here, the impulse response before the creation of the approximate filter in the filter design method described above (that is, step 114 in FIG. 2) was compared with the approximate filter created by the approximate filter creation system based on this impulse response. So I will explain.
FIG. 11A is a diagram showing an example of the waveform of the approximate filter created by the approximate filter creation system, and FIG. 11B is the waveform of the impulse response that is the basis of the approximation. As shown in the figure, an impulse response having 4000 or more taps is approximated by an approximate filter having 256 taps.

図12(A)は、近似フィルタのピークを含む100ステップの波形を表す図であり、同図(B)は、インパルス応答のピークを含む100ステップの波形を拡大して表示した図である。図12(A)及び(B)を比較すると、近似フィルタは、インパルス応答の波形を高精度で近似していることがわかる。   FIG. 12A is a diagram illustrating a waveform of 100 steps including the peak of the approximate filter, and FIG. 12B is an enlarged view of the waveform of 100 steps including the peak of the impulse response. 12A and 12B, it can be seen that the approximate filter approximates the impulse response waveform with high accuracy.

また、図13(A)は、近似フィルタの周波数特性を、同図(B)は、インパルス応答の周波数特性を示すグラフである。図13(A)及び(B)を比較することにより、近似フィルタは、基となるインパルス応答と略同一の周波数特性を有することが確認できる。   FIG. 13A is a graph showing the frequency characteristics of the approximate filter, and FIG. 13B is a graph showing the frequency characteristics of the impulse response. By comparing FIGS. 13A and 13B, it can be confirmed that the approximate filter has substantially the same frequency characteristics as the underlying impulse response.

さらに、基となるインパルス応答と、近似フィルタとを実際に試聴して比較する実験を行ったところ、被験者は両者を区別できなかった。これにより、本実施形態の近似フィルタ作成システムによれば、インパルス応答と同一の特性を有するとともに、タップ数の少ない近似フィルタを作成することができることが確認された。   Furthermore, when an experiment was conducted in which the basic impulse response and the approximate filter were actually auditioned and compared, the subject could not distinguish between the two. Thereby, according to the approximate filter creation system of the present embodiment, it was confirmed that an approximate filter having the same characteristics as the impulse response and having a small number of taps can be created.

フィルタ作成の対象となる音響再生システムを示す図である。It is a figure which shows the sound reproduction system used as the object of filter preparation. 音場調整フィルタを設計する手順を示すフローチャートである。It is a flowchart which shows the procedure which designs a sound field adjustment filter. 音場調整フィルタの設計方法において各帯域のバンドパスフィルタのインパルス応答から第1試験信号を得る手順を説明するための図である。It is a figure for demonstrating the procedure which acquires a 1st test signal from the impulse response of the band pass filter of each band in the design method of a sound field adjustment filter. 第1試験信号から第2試験信号を得る手順を説明するための図である。It is a figure for demonstrating the procedure which acquires a 2nd test signal from a 1st test signal. 測定信号SLi,SRiの測定手順を説明するための図である。It is a figure for demonstrating the measurement procedure of measurement signal SLi, SRi. 基準信号SL 、SR の測定手順を説明するための図である。It is a figure for demonstrating the measurement procedure of reference signal SL * i , SR * i . 帯域の統合処理を説明するための図である。It is a figure for demonstrating the integration process of a zone | band. 各帯域iについてバンドパスフィルタのインパルス応答δからインパルス応答hcを求める手順を説明するための図である。It is a diagram for explaining a procedure for obtaining an impulse response hc i from the impulse response [delta] i of the band-pass filter for each band i. インパルス応答hcから音場調整フィルタの特性であるインパルス応答hcを求める手順を説明するための図である。It is a figure for demonstrating the procedure which calculates | requires the impulse response hc which is the characteristic of a sound field adjustment filter from the impulse response hc i . 近似フィルタ作成システムを示す図である。It is a figure which shows an approximate filter production system. (A)は近似フィルタ作成システムにより作成された近似フィルタの波形の一例を示す図であり、(B)は近似の基となったインパルス応答を示す図である。(A) is a figure which shows an example of the waveform of the approximate filter produced by the approximate filter production system, (B) is a figure which shows the impulse response used as the basis of approximation. (A)は、近似フィルタのフィルタ係数のピークを含む100ステップを表す図であり、(B)は、インパルス応答のピークを含む100ステップを拡大して表示した図である。(A) is a figure showing 100 steps including the peak of the filter coefficient of an approximate filter, (B) is the figure which expanded and displayed 100 steps including the peak of an impulse response. (A)は、近似フィルタの周波数特性を、(B)は、近似フィルタ係数の周波数特性を示すグラフである。(A) is a graph which shows the frequency characteristic of an approximate filter, (B) is a graph which shows the frequency characteristic of an approximate filter coefficient.

符号の説明Explanation of symbols

BP バンドパスフィルタ
Sm 第1試験信号
Sc 第2試験信号
SL,SR 測定信号
SL ,SR 基準信号
τ 調整時間遅れ
調整ゲイン
δ,hc、hc インパルス応答
10 音響再生システム
20(20L,20R) スピーカ
30 音響信号処理装置
32 入力端子
34 遅延回路
30 音響信号処理装置
32(32L,32R) 入力端子
34(34L,34R) 遅延回路
36(36L,36R) 演算出力器
38(38L,38R) 音場調整フィルタ
50 時間遅れ調整器
52 レベル調整器
54 ダミーヘッドマイクロフォン
56 基準スピーカ
60 近似フィルタ作成システム
61 ノイズジェネレータ
62 フィルタ装置
63 遅延処理装置
64 適応フィルタ装置
65 演算処理部
66 適応フィルタ
BP i band-pass filter Sm i first test signal Sc i second test signal SL i , SR i measurement signal SL * i , SR * i reference signal τ i adjustment time delay k i adjustment gain δ i , hc i , hc impulse Response 10 Sound reproduction system 20 (20L, 20R) Speaker 30 Acoustic signal processing device 32 Input terminal 34 Delay circuit 30 Acoustic signal processing device 32 (32L, 32R) Input terminal 34 (34L, 34R) Delay circuit 36 (36L, 36R) Calculation output unit 38 (38L, 38R) Sound field adjustment filter 50 Time delay adjustment unit 52 Level adjustment unit 54 Dummy head microphone 56 Reference speaker 60 Approximate filter creation system 61 Noise generator 62 Filter unit 63 Delay processing unit 64 Adaptive filter unit 65 Calculation Processing unit 66 Adaptive filter

Claims (1)

左右チャンネルの入力信号を、複数の所定の周波数帯域の夫々について予め設定された帯域通過特性を有するフィルタに通過させ、左右各チャンネルの入力信号から、前記フィルタを通過した他チャンネルの信号を減算し、この減算した結果の信号を前記スピーカの対応するチャンネルの信号として出力する音響信号処理装置の前記フィルタを設計する方法であって、
複数の周波数帯域i(i=1,・・・,N;Nは帯域の数)の夫々に対応したバンドパスフィルタBPのインパルス応答δを第1試験信号Smとするステップと、
前記第1試験信号Smの位相を反転して第2試験信号Scとするステップと、
前記第1試験信号Smを前記スピーカの一方のチャンネルに入力すると共に、前記第2試験信号Scを、時間遅れ調整器及びレベル調整器を通して前記スピーカの他方のチャンネルに入力し、前記スピーカが発生する音をステレオマイクロフォンで収音してその測定信号SL,SRを取得するステップと、
前記第1試験信号Sm又は前記第2試験信号Scに応じた音を発生する音源を前記スピーカよりも左側又は右側の位置に設置した時の音を表す信号を基準信号SL ,SR として取得するステップと、
前記測定信号SL,SRが前記基準信号SL ,SR に近似するように前記時間遅れ調整器及びレベル調整器により夫々時間遅れ及びレベルを調整するステップと、
前記調整した時間遅れを調整時間遅れτとするステップと、
前記調整したレベルの前記第1試験信号Smに対するゲインを調整ゲインkとするステップと、
前記インパルス応答δに前記調整ゲインkを掛けると共に前記調整時間遅れτだけ遅らせてインパルス応答hcとするステップと、
このインパルス応答hcを全周波数帯域について足し合わせてインパルス応答hc´とするステップと、
前記インパルス応答hc´を未知システムとして、前記インパルス応答hc´よりもタップ数の少ないフィルタが初期値とした適応フィルタによりこの未知システムを同定するステップと、
前記同定した適応フィルタを前記フィルタhcとするステップとを備えることを特徴とするフィルタの設計方法。
The left and right channel input signals are passed through a filter having a preset band pass characteristic for each of a plurality of predetermined frequency bands, and the signals of other channels that have passed through the filter are subtracted from the left and right channel input signals. The method of designing the filter of the acoustic signal processing apparatus that outputs the signal resulting from the subtraction as the signal of the corresponding channel of the speaker,
A plurality of frequency bands i (i = 1, ···, N; N is the number of bands) the steps of the impulse response [delta] i of the band-pass filter BP i corresponding to s husband the first test signal Sm i,
A step of the second test signal Sc i and inverting the phase of said first test signal Sm i,
Inputs the first test signal Sm i on one channel of said speaker, said second test signal Sc i, inputted to the other channel of the speaker through a time delay regulator and level regulator, the speaker Picking up the generated sound with a stereo microphone and obtaining its measurement signals SL i , SR i ;
Signals representing sound when a sound source that generates sound corresponding to the first test signal Sm i or the second test signal Sc i is installed at a position on the left side or the right side of the speaker is used as a reference signal SL * i , SR. * Obtaining as i ;
Adjusting the time delay and level by the time delay adjuster and the level adjuster, respectively, so that the measurement signals SL i and SR i approximate the reference signals SL * i and SR * i ;
Setting the adjusted time delay as an adjustment time delay τ i ;
A step of the gain for the first test signal Sm i of levels the adjustment and the adjustment gain k i,
Multiplying the impulse response δ i by the adjustment gain k i and delaying it by the adjustment time delay τ i to obtain an impulse response hc i ;
The method comprising the impulse response hc' this impulse response hc i are summed for all frequency bands,
Identifying the unknown system by an adaptive filter having the impulse response hc ′ as an unknown system and a filter having a smaller number of taps than the impulse response hc ′ as an initial value;
And a step of setting the identified adaptive filter as the filter hc.
JP2005368380A 2005-12-21 2005-12-21 How to design a filter Expired - Fee Related JP4963356B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005368380A JP4963356B2 (en) 2005-12-21 2005-12-21 How to design a filter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005368380A JP4963356B2 (en) 2005-12-21 2005-12-21 How to design a filter

Publications (2)

Publication Number Publication Date
JP2007174224A JP2007174224A (en) 2007-07-05
JP4963356B2 true JP4963356B2 (en) 2012-06-27

Family

ID=38300210

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005368380A Expired - Fee Related JP4963356B2 (en) 2005-12-21 2005-12-21 How to design a filter

Country Status (1)

Country Link
JP (1) JP4963356B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010028756A (en) * 2008-07-24 2010-02-04 Fujitsu Ltd Apparatus and method for designing finite impulse response filter
JP6158532B2 (en) * 2013-02-26 2017-07-05 エスアイアイ・セミコンダクタ株式会社 Operational amplifier circuit
JP6343771B2 (en) * 2014-08-07 2018-06-20 日本放送協会 Head related transfer function modeling apparatus, method and program thereof

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07234687A (en) * 1994-02-23 1995-09-05 Hitachi Ltd Active noise controller and active vibration controller

Also Published As

Publication number Publication date
JP2007174224A (en) 2007-07-05

Similar Documents

Publication Publication Date Title
KR101768260B1 (en) Spectrally uncolored optimal crosstalk cancellation for audio through loudspeakers
JP5357115B2 (en) Audio system phase equalization
US20170064476A1 (en) Headphone response measurement and equalization
JP6832968B2 (en) Crosstalk processing method
KR101989062B1 (en) Apparatus and method for enhancing an audio signal, sound enhancing system
JP6834061B2 (en) Enhanced virtual stereo playback for mismatched transoral loudspeaker systems
JP2007282202A (en) Sound system equalizing method
US8031883B2 (en) Crosstalk cancellation system with sound quality preservation and parameter determining method thereof
JP2001507879A (en) Stereo sound expander
WO2007066378A1 (en) Sound signal processing device, method of processing sound signal, sound reproducing system, method of designing sound signal processing device
JP2006303799A (en) Audio signal regeneration apparatus
CN112313970B (en) Method and system for enhancing an audio signal having a left input channel and a right input channel
JP2003230198A (en) Sound image localization control device
JP4963356B2 (en) How to design a filter
TWI692256B (en) Sub-band spatial audio enhancement
JP2005039311A (en) Sound field control system and sound field control method
JP4952976B2 (en) Filter design method and filter design system
JP2001314000A (en) Sound field generation system
JPWO2009008068A1 (en) Automatic sound field correction device
JP2006005841A (en) Device and method for acoustic signal processing, sound reproduction system, and designing method of acoustic signal processing device
JPH09247799A (en) Stereoscopic acoustic processing unit using linear prediction coefficient
JP7286532B2 (en) Signal processing device, sound device, signal processing method and signal processing program
JP5467305B2 (en) Reflected sound generator
JP5224613B2 (en) Sound field correction system and sound field correction method
JP2002262385A (en) Generating method for sound image localization signal, and acoustic image localization signal generator

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20081120

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20111213

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120208

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20120228

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20120323

R150 Certificate of patent or registration of utility model

Ref document number: 4963356

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20150406

Year of fee payment: 3

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees