JP2011193197A - Filter device - Google Patents

Filter device Download PDF

Info

Publication number
JP2011193197A
JP2011193197A JP2010057117A JP2010057117A JP2011193197A JP 2011193197 A JP2011193197 A JP 2011193197A JP 2010057117 A JP2010057117 A JP 2010057117A JP 2010057117 A JP2010057117 A JP 2010057117A JP 2011193197 A JP2011193197 A JP 2011193197A
Authority
JP
Japan
Prior art keywords
rounding
algorithm
value
output
signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2010057117A
Other languages
Japanese (ja)
Other versions
JP5560787B2 (en
Inventor
Masatsugu Okazaki
雅嗣 岡崎
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.)
Yamaha Corp
Original Assignee
Yamaha Corp
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 Yamaha Corp filed Critical Yamaha Corp
Priority to JP2010057117A priority Critical patent/JP5560787B2/en
Publication of JP2011193197A publication Critical patent/JP2011193197A/en
Application granted granted Critical
Publication of JP5560787B2 publication Critical patent/JP5560787B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a filter device that prevents response characteristics from departing from a theoretical response as much as possible and prevents a limit cycle from being generated. <P>SOLUTION: An output signal y(n) is delayed by unit time in a delay means 11, and multiplied by a coefficient α in a coefficient multiplier 12. A signal y' (n-1) from the coefficient multiplier 12 is rounded off to significant digits by a value rounding means. The value rounding means includes: a first rounding algorithm means 13 for rounding off the signal to the significant digits; a second rounding algorithm means 14 for rounding off the signal to the significant digits; and a selector 15 which selects one of rounding result. In the selector 15, the number j of times of selecting the rounding result by the second rounding algorithm means 14 is equal to or larger than the number i of times of selecting the rounding result by the first rounding algorithm means 13. A signal y"(n-1) from the selector 15 is added to an input signal x(n) in the multiplier 10 to generate y(n). <P>COPYRIGHT: (C)2011,JPO&INPIT

Description

この発明は、リミットサイクルが生じないようにしたフィルタ装置に関する。   The present invention relates to a filter device in which a limit cycle does not occur.

従来、音響装置における音作りには種々のフィルタ装置が用いられている。フィルタ装置の一つとしては、図7(a)に示すハイパスフィルタ(HPF)100が知られている。巡回型のディジタルフィルタで構成したHPF100の回路例を図7(b)に示す。図7(b)に示すHPF100において、x(n)は標本化周期Tで標本化された入力ディジタル信号であり、y(n)は標本化周期T毎の出力ディジタル信号である。遅延手段111は、y(n)を単位時間とされる1周期Tだけ遅延する遅延手段であり、遅延手段111からの信号y(n−1)に係数乗算器112により係数αが乗算される。係数乗算器112からの信号y(n−1)*αは加算器110において、入力ディジタル信号x(n)と加算されて出力ディジタル信号y(n)が導かれる。図7(b)に示すHPF100に、入力ディジタル信号としてインパルスがn=0の時点で入力された場合は、時点nのy(n)は、
y(n)=y(n−1)*α (1)
のように表される。
Conventionally, various filter devices are used for sound generation in an acoustic device. As one of the filter devices, a high-pass filter (HPF) 100 shown in FIG. 7A is known. FIG. 7B shows a circuit example of the HPF 100 configured with a cyclic digital filter. In the HPF 100 shown in FIG. 7B, x (n) is an input digital signal sampled in the sampling period T, and y (n) is an output digital signal for each sampling period T. The delay means 111 is a delay means that delays y (n) by one period T, which is a unit time, and the coefficient multiplier 112 multiplies the signal y (n−1) from the delay means 111 by the coefficient α. . The signal y (n−1) * α from the coefficient multiplier 112 is added to the input digital signal x (n) in the adder 110 to derive the output digital signal y (n). When an impulse is input as an input digital signal to the HPF 100 shown in FIG. 7B at a time point where n = 0, y (n) at the time point n is
y (n) = y (n−1) * α (1)
It is expressed as

ここで、入力ディジタル信号として値“10000”のインパルスがn=0の時点で入力された場合に、上記(1)式で示すインパルス応答を、量子化ビット数を5ビットで考える。この場合、係数αを10進数で0.75(2進数で“0.11”)とした時に、以下、y(n)を2進数で表すと、n=0の時点では係数乗算器112からの信号はないことから、加算器110からはx(0)がそのまま出力されy(0)となる。すなわち、y(0)=“10000”となる。
n=1の時点では、インパルスであることからx(1)=“00000”になると共に、係数乗算器112からy(0)*αが出力されることから、加算器110からはy(1)=y(0)*αが出力される。すなわち、
y(1)=“10000”*“0.11”=“01100”
となる。
Here, when an impulse having a value of “10000” is input as an input digital signal at the time of n = 0, the impulse response represented by the above equation (1) is considered with a quantization bit number of 5 bits. In this case, when the coefficient α is 0.75 decimal (“0.11” in binary), and y (n) is expressed in binary below, the coefficient multiplier 112 determines that n = 0. Therefore, x (0) is output as it is from the adder 110 and becomes y (0). That is, y (0) = “10000”.
At the time point of n = 1, since it is an impulse, x (1) = “00000” and y (0) * α is output from the coefficient multiplier 112, so that the adder 110 outputs y (1 ) = Y (0) * α is output. That is,
y (1) = “10000” * “0.11” = “01100”
It becomes.

以下、同様にしてy(2),y(3)を求めると、次式に示すようになる。
y(2)=“01100”*“0.11”=“01001”
y(3)=“01001”*“0.11”=“00110.11”
この場合、y(3)は小数となるがHPF100では整数値を出力することから、値を整数に丸める必要がある。そこで、切捨てにより値を整数に丸めると、
y(3)=“00110.11”=“00110”
となる。以下、同様にして切捨てにより値を整数に丸めて、y(4)〜y(8)を求めると、次式に示すようになる。
y(4)=“00110”*“0.11”=“00100.10”=“00100”
y(5)=“00100”*“0.11”=“00011.00”=“00011”
y(6)=“00011”*“0.11”=“00010.01”=“00010”
y(7)=“00010”*“0.11”=“00001.10”=“00001”
y(8)=“00001”*“0.11”=“00000.11”=“00000”
このように、n=8の時点においてy(8)はゼロとなって、HPF100の出力はn=8の時点においてゼロに収束するようになる。
Hereinafter, when y (2) and y (3) are similarly obtained, the following equation is obtained.
y (2) = “01100” * “0.11” = “01001”
y (3) = “01001” * “0.11” = “00110.11”
In this case, y (3) is a decimal number, but the HPF 100 outputs an integer value, so the value needs to be rounded to an integer. So if you round the value to an integer by truncation,
y (3) = “00110.11” = “00110”
It becomes. In the same way, when y (4) to y (8) are obtained by rounding the value to an integer by rounding down, the following equation is obtained.
y (4) = “00110” * “0.11” = “00100.10” = “00100”
y (5) = “00100” * “0.11” = “00011.00” = “00011”
y (6) = “00011” * “0.11” = “00010.01” = “00010”
y (7) = “00010” * “0.11” = “00001.10” = “00001”
y (8) = “00001” * “0.11” = “00000.11” = “00000”
Thus, y (8) becomes zero at the time point of n = 8, and the output of the HPF 100 converges to zero at the time point of n = 8.

また、四捨五入によりy(3)の値を整数に丸めると、次式に示すようになる。
y(3)=“00110.11”=“00111”
以下、同様にして四捨五入により値を整数に丸めて、y(4)〜y(8)を求めると、次式に示すようになる。
y(4)=“00111”*“0.11”=“00101.01”=“00101”
y(5)=“00101”*“0.11”=“00011.11”=“00100”
y(6)=“00100”*“0.11”=“00011.00”=“00011”
y(7)=“00011”*“0.11”=“00010.01”=“00010”
y(8)=“00010”*“0.11”=“00001.10”=“00010”
となり、y(9)以降も“00010”となる。このようにy(n)がy(n−1)と同じ値となって、ゼロに収束することなく一定の値となってしまう現象をリミットサイクルと呼ぶ。また、係数αが負の値の場合、10進数で5,−5,5,−5,5,−5,・・・のように発振することもある。これもリミットサイクルとなる。
Further, when the value of y (3) is rounded to an integer by rounding off, the following equation is obtained.
y (3) = “00110.11” = “00111”
In the same way, when y (4) to y (8) are obtained by rounding the value to an integer by rounding, the following equation is obtained.
y (4) = “00111” * “0.11” = “00101.01” = “00101”
y (5) = “00101” * “0.11” = “00011.11” = “00100”
y (6) = “00100” * “0.11” = “00011.00” = “00011”
y (7) = “00011” * “0.11” = “00010.01” = “00010”
y (8) = “00010” * “0.11” = “00001.10.” = “00010”
Thus, “00010” is also obtained after y (9). A phenomenon in which y (n) becomes the same value as y (n-1) and becomes a constant value without converging to zero is called a limit cycle. When the coefficient α is a negative value, it may oscillate as a decimal number such as 5, −5, 5, −5, 5, −5. This is also a limit cycle.

特開昭63−204810号公報JP 63-204810 A

図7(b)に示す従来のHPF100において、量子化ビット数を5ビット、係数αを2進数で“0.11”とした時に、値“10000”のインパルスが入力された際に切捨てにより値を整数に丸めた場合のインパルス応答を図8に示す。図8において、横軸は時点nとされ、縦軸は10進数で表した出力ディジタル信号y(n)の値とされている。図8には、HPFにおけるインパルス応答の理論的な応答のグラフも示されており、理論的な応答と対比すると切捨てにより値を整数に丸めた場合は、n=2の時点までは理論値に近い応答となるが、n=3の時点を超えるにつれて理論的な応答から次第に値が小さくなる方向にずれていき、n=8において応答がゼロに収束してしまう劣化したインパルス応答になることが分かる。
また、図7(b)に示す従来のHPF100において、量子化ビット数を5ビット、係数αを2進数で“0.11”とした時に、値“10000”のインパルスが入力された際に四捨五入により値を整数に丸めた場合のインパルス応答を図9に示す。図9において、横軸は時点nとされ、縦軸は10進数で表した出力ディジタル信号y(n)の値とされている。図9には、HPFにおけるインパルス応答の理論的な応答のグラフも示されており、理論的な応答と対比すると四捨五入により値を整数に丸めた場合は、n=7の時点までは理論値に近い応答となるが、n=7の時点以降においてy(n)が“00010”(10進数で「2」)と一定になり、インパルス応答にリミットサイクルが生じてしまうことが分かる。
In the conventional HPF 100 shown in FIG. 7B, when the quantization bit number is 5 bits and the coefficient α is “0.11” in binary, the value is obtained by truncation when an impulse of the value “10000” is input. FIG. 8 shows an impulse response when the is rounded to an integer. In FIG. 8, the horizontal axis is the time point n, and the vertical axis is the value of the output digital signal y (n) expressed in decimal. FIG. 8 also shows a graph of the theoretical response of the impulse response in HPF. In contrast to the theoretical response, when the value is rounded to an integer by truncation, the theoretical value is obtained until n = 2. Although the response is close, the value gradually deviates from the theoretical response as the time point when n = 3 is exceeded, and a degraded impulse response that converges to zero at n = 8 may result. I understand.
Further, in the conventional HPF 100 shown in FIG. 7B, when the number of quantization bits is 5 bits and the coefficient α is “0.11” in binary, rounding is performed when an impulse of the value “10000” is input. FIG. 9 shows an impulse response when the value is rounded to an integer. In FIG. 9, the horizontal axis is the time point n, and the vertical axis is the value of the output digital signal y (n) expressed in decimal. FIG. 9 also shows a graph of the theoretical response of the impulse response in the HPF. When the value is rounded to an integer by rounding off when compared with the theoretical response, the theoretical value is obtained until the point of n = 7. Although the response is close, y (n) becomes constant “00010” (decimal number “2”) after n = 7, and it can be seen that a limit cycle occurs in the impulse response.

図8に示すようにインパルス応答が理論的な応答からずれて劣化したインパルス応答とされていると、出力ディジタル信号y(n)とされる音響信号を聴取した際に良好な音響信号として聞こえないと云う問題点が生じる。また、図9に示すようにインパルス応答にリミットサイクルが生じると、出力ディジタル信号y(n)が出力し続けられることから、出力ディジタル信号y(n)とされる音響信号を聴取した際に常に音響信号が出たままになってしまうと云う問題点が生じる。   As shown in FIG. 8, when the impulse response is a deteriorated impulse response that deviates from the theoretical response, it cannot be heard as a good acoustic signal when the acoustic signal that is the output digital signal y (n) is heard. This causes the problem. Further, as shown in FIG. 9, when a limit cycle occurs in the impulse response, the output digital signal y (n) continues to be output. Therefore, whenever an acoustic signal that is the output digital signal y (n) is listened to, There arises a problem that the acoustic signal remains output.

そこで、本発明は、応答特性が理論的な応答から極力ずれないと共にリミットサイクルが生じにくいフィルタ装置を提供することを目的としている。   Accordingly, an object of the present invention is to provide a filter device in which the response characteristic is not deviated from the theoretical response as much as possible and the limit cycle is hardly generated.

上記目的を達成するために、本発明のフィルタ装置は、単位時間遅延する遅延手段および係数を乗算する係数乗算器とを含む帰還路を有し、該帰還路の出力信号と入力信号とを加算する加算器の出力が前記帰還路に入力される経路を備えるフィルタ装置であって、前記帰還路の出力から前記帰還路に入力するまでの経路に設けられており、第1丸めアルゴリズムと第2丸めアルゴリズムによる丸め結果をセレクタにより演算する毎に選択して出力する値を有効桁に丸める丸め手段を備え、前記第1丸めアルゴリズムは理論値に近い特徴を得られるがリミットサイクルを生じる恐れがあるアルゴリズムとされ、前記第2丸めアルゴリズムは前記第1丸めアルゴリズムに比べリミットサイクルが生じにくいアルゴリズムとされており、前記セレクタでは第1丸めアルゴリズムによる丸め結果を選択する回数iに対して、第2丸めアルゴリズムによる丸め結果を選択する回数jがi≫j(i,jは正の整数)とされていることを最も主要な特徴としている。   In order to achieve the above object, a filter device of the present invention has a feedback path including a delay means for delaying a unit time and a coefficient multiplier for multiplying a coefficient, and adds an output signal and an input signal of the feedback path. A filter device having a path through which an output of the adder is input to the feedback path, provided in a path from the output of the feedback path to the input to the feedback path, the first rounding algorithm and the second A rounding means for rounding a rounding result obtained by a rounding algorithm to a valid digit every time a result is selected by a selector is provided. The first rounding algorithm can obtain a characteristic close to a theoretical value but may cause a limit cycle. The second rounding algorithm is an algorithm in which a limit cycle is less likely to occur than the first rounding algorithm. The most important is that the number j of selecting the rounding result by the second rounding algorithm is i >> j (i and j are positive integers) with respect to the number i of selecting the rounding result by the first rounding algorithm. Features.

本発明によれば、セレクタでは第1丸めアルゴリズムによる丸め結果を選択する回数iに対して、第2アルゴリズムによる丸め結果を選択する回数jがi≫jとされていることから、応答特性が理論値に近い応答とすることができるにもかかわらず、リミットサイクルが生じにくいフィルタ装置とすることができる。   According to the present invention, in the selector, the number j of selecting the rounding result by the second algorithm is i >> j with respect to the number i of selecting the rounding result by the first rounding algorithm. Although the response can be close to the value, it is possible to provide a filter device in which a limit cycle hardly occurs.

本発明の第1実施例にかかるフィルタ装置の構成を示す回路ブロック図である。It is a circuit block diagram which shows the structure of the filter apparatus concerning 1st Example of this invention. 本発明の第1実施例のフィルタ装置のインパルス応答特性を示す図である。It is a figure which shows the impulse response characteristic of the filter apparatus of 1st Example of this invention. 本発明の第2実施例にかかるフィルタ装置の構成を示す回路ブロック図である。It is a circuit block diagram which shows the structure of the filter apparatus concerning 2nd Example of this invention. 本発明の第3実施例にかかるフィルタ装置の構成を示す回路ブロック図である。It is a circuit block diagram which shows the structure of the filter apparatus concerning 3rd Example of this invention. 本発明にかかるフィルタ装置が適用されるミキサーの構成を示すブロック図である。It is a block diagram which shows the structure of the mixer with which the filter apparatus concerning this invention is applied. 本発明にかかるフィルタ装置が適用されるミキサーの等価的なハードウェア構成を示す図である。It is a figure which shows the equivalent hardware constitutions of the mixer with which the filter apparatus concerning this invention is applied. 従来のフィルタ装置およびその構成を示す回路ブロック図である。It is a circuit block diagram which shows the conventional filter apparatus and its structure. 図7に示す従来のフィルタ装置におけるインパルス応答特性の一例を示す図である。It is a figure which shows an example of the impulse response characteristic in the conventional filter apparatus shown in FIG. 図7に示す従来のフィルタ装置におけるインパルス応答特性の他の例を示す図である。It is a figure which shows the other example of the impulse response characteristic in the conventional filter apparatus shown in FIG.

本発明の第1実施例のフィルタ装置とされるハイパスフィルタ(HPF)1の回路ブロック図を図1に示す。
図1に示す第1実施例のHPF1は1次巡回型のディジタルフィルタとされており、遅延手段11と係数乗算器12からなる帰還路を有している。x(n)は標本化周期Tで標本化された入力ディジタル信号であり、y(n)は標本化周期T毎の出力ディジタル信号である。遅延手段11は、y(n)を単位時間とされる1標本化周期Tだけ遅延する遅延手段であり、遅延手段11からの信号y(n−1)に係数乗算器12により係数αが乗算される。係数乗算器12からの信号y(n−1)*α=y’(n−1)は値丸め手段において有効桁に値が丸められる。値丸め手段は、有効桁未満を四捨五入することにより値を丸めるアルゴリズムとされる第1丸めアルゴリズム手段13と、有効桁未満を切り捨てることにより値を丸める第2丸めアルゴリズム手段14と、第1丸めアルゴリズム手段13と第2丸めアルゴリズム手段14による丸め結果を演算する毎に選択して出力するセレクタ15から構成されている。値丸め手段により有効桁に値が丸められた信号y”(n+1)は加算器10において、入力ディジタル信号x(n)と加算されて出力ディジタル信号y(n)が導かれる。すなわち、時点nのy(n)は、
y(n)=x(n)+y”(n−1) (2)
のように表される。
FIG. 1 shows a circuit block diagram of a high-pass filter (HPF) 1 used as a filter device according to the first embodiment of the present invention.
The HPF 1 of the first embodiment shown in FIG. 1 is a first-order cyclic digital filter and has a feedback path composed of a delay means 11 and a coefficient multiplier 12. x (n) is an input digital signal sampled at the sampling period T, and y (n) is an output digital signal for each sampling period T. The delay unit 11 is a delay unit that delays y (n) by one sampling period T, which is a unit time. The signal multiplier (12) multiplies the signal y (n−1) from the delay unit 11 by a coefficient α. Is done. The signal y (n−1) * α = y ′ (n−1) from the coefficient multiplier 12 is rounded to a significant digit by the value rounding means. The value rounding means includes a first rounding algorithm means 13 for rounding values by rounding off less than significant digits, a second rounding algorithm means 14 for rounding values by rounding down less than significant digits, and a first rounding algorithm. It comprises a selector 15 that selects and outputs the rounded result by the means 13 and the second rounding algorithm means 14 every time it calculates. The signal y ″ (n + 1) whose value is rounded to the significant digit by the value rounding means is added to the input digital signal x (n) in the adder 10 to obtain the output digital signal y (n). Y (n) is
y (n) = x (n) + y ″ (n−1) (2)
It is expressed as

値丸め手段におけるセレクタ15では、第1丸めアルゴリズム手段13による丸め結果を選択する回数iに対して、第2丸めアルゴリズム手段14による丸め結果を選択する回数jがi≫j(i,jは正の整数)とされている。ここで、図1に示す第1実施例のHPF1に、入力ディジタル信号として値“10000”のインパルスがn=0の時点で入力された場合に、上記(2)式で示すインパルス応答を、量子化ビット数を5ビットで考える。また、HPF1は整数値を出力することから、値を有効桁に丸めるとは値を整数に丸めることになる。この場合、係数αを10進数で0.75(2進数で“0.11”)とすると共に、セレクタ15は10回に1回だけ第2丸めアルゴリズム手段14による丸め結果を選択するものとする。以下、y(n)を2進数で表すと、n=0の時点では係数乗算器12からの出力はなく値丸め手段からの信号はないことから、加算器10からはx(0)がそのまま出力されy(0)となる。すなわち、y(0)=“10000”となる。   In the selector 15 in the value rounding means, the number j of selecting the rounding result by the second rounding algorithm means 14 is i >> j (i and j are positive) with respect to the number i of selecting the rounding result by the first rounding algorithm means 13. Integer). Here, when the impulse of the value “10000” is input as the input digital signal to the HPF 1 of the first embodiment shown in FIG. 1 at the time of n = 0, the impulse response expressed by the above equation (2) is quantized. Consider the number of bits to be 5 bits. Since HPF1 outputs an integer value, rounding a value to a significant digit rounds the value to an integer. In this case, the coefficient α is set to 0.75 in decimal number (“0.11” in binary number), and the selector 15 selects the rounding result by the second rounding algorithm means 14 once every 10 times. . Hereinafter, when y (n) is expressed in binary, since there is no output from the coefficient multiplier 12 and no signal from the value rounding means at the time of n = 0, x (0) remains unchanged from the adder 10. The output is y (0). That is, y (0) = “10000”.

n=1の時点では、インパルスであることからx(1)=“00000”になると共に、係数乗算器12からの信号はy’(0)=y(0)*αが出力される。すなわち、
y’(0)=“10000”*“0.11”=“01100”
となる。値丸め手段のセレクタ15は、第1丸めアルゴリズム手段13による丸め結果を選択するが、y’(0)には有効桁未満の桁(小数桁)が含まれていないことから、セレクタ15からの信号y”(0)=y’(0)となる。すなわち、y(1)=y”(0)=“01100”となる。
なお、y’(n−1)に小数が生じない場合は、第1丸めアルゴリズム手段13および第2丸めアルゴリズム手段14からの信号は同じになることから、セレクタ15がいずれの丸め結果を選択しても出力される信号は同じとなる。
n=2の時点においてはn=1の時点と同様に演算されて、y(2)は次式に示すようになる。
y(2)=y”(1)=y’(1)=“01100”*“0.11”=“01001”
At the time of n = 1, since it is an impulse, x (1) = “00000” and y ′ (0) = y (0) * α is output from the coefficient multiplier 12. That is,
y ′ (0) = “10000” * “0.11” = “01100”
It becomes. The selector 15 of the value rounding unit selects the rounding result by the first rounding algorithm unit 13, but y ′ (0) does not include a digit (decimal digit) less than a significant digit. The signal y ″ (0) = y ′ (0) is obtained, that is, y (1) = y ″ (0) = “01100”.
If no decimals occur in y ′ (n−1), the signals from the first rounding algorithm means 13 and the second rounding algorithm means 14 are the same, so that the selector 15 selects any rounding result. However, the output signal is the same.
When n = 2, calculation is performed in the same manner as when n = 1, and y (2) is expressed by the following equation.
y (2) = y ”(1) = y ′ (1) =“ 01100 ”*“ 0.11 ”=“ 01001 ”

n=3の時点におけるy’(2)は、
y’(2)=“01001”*“0.11”=“00110.11”
となってy’(2)は有効桁未満の小数が生じる。ここで、値丸め手段のセレクタ15は、第1丸めアルゴリズム手段13による丸め結果を選択する。第1丸めアルゴリズム手段13では、有効桁未満の小数値が四捨五入されることから“00110.11”は、“00111”と丸められ、y”(2)=“00111”となる。すなわち、y(3)は、
y(3)=y”(2)=“00111”
となる。
y ′ (2) at the time point of n = 3 is
y ′ (2) = “01001” * “0.11” = “00110.11”
Thus, y '(2) has a decimal number less than significant digits. Here, the selector 15 of the value rounding means selects the rounding result by the first rounding algorithm means 13. Since the first rounding algorithm means 13 rounds off decimal values less than significant digits, “00110.11” is rounded to “00111” and y ”(2) =“ 00111 ”, that is, y ( 3)
y (3) = y ”(2) =“ 00111 ”
It becomes.

n=4の時点におけるy’(3)は、
y’(3)=“00111”*“0.11”=“00101.01”
となってy’(3)は有効桁未満の小数が生じる。ここで、値丸め手段のセレクタ15は、第1丸めアルゴリズム手段13による丸め結果を選択する。第1丸めアルゴリズム手段13では、有効桁未満の小数値が四捨五入されることから“00101.01”は、“00101”と丸められ、y”(3)=“00101”となる。すなわち、y(4)は、
y(4)=y”(3)=“00101”
となる。
y ′ (3) at the time point of n = 4 is
y ′ (3) = “00111” * “0.11” = “00101.01”
And y '(3) has a decimal number less than a significant digit. Here, the selector 15 of the value rounding means selects the rounding result by the first rounding algorithm means 13. Since the first rounding algorithm means 13 rounds off decimal values less than significant digits, “00101.01” is rounded to “00101” and y ”(3) =“ 00101 ”, that is, y ( 4)
y (4) = y ”(3) =“ 00101 ”
It becomes.

n=5の時点におけるy’(4)は、
y’(4)=“00101”*“0.11”=“00011.11”
となってy’(4)は有効桁未満の小数が生じる。ここで、値丸め手段のセレクタ15は、第1丸めアルゴリズム手段13による丸め結果を選択する。第1丸めアルゴリズム手段13では、有効桁未満の小数値が四捨五入されることから“00011.11”は、“00100”と丸められ、y”(4)=“00100”となる。すなわち、y(5)は、
y(5)=y”(4)=“00100”
となる。
n=6の時点におけるy’(5)は、
y’(5)=“00100”*“0.11”=“00011.00”
となってy’(5)は有効桁未満の小数が生じない。この場合、値丸め手段のセレクタ15は、第1丸めアルゴリズム手段13による丸め結果を選択するが、y”(5)=y’(5)となる。すなわち、y(6)は、
y(6)=y”(5)=“00011”
となる。
y ′ (4) at the time point of n = 5 is
y ′ (4) = “00101” * “0.11” = “00011.11”
Thus, y '(4) has a decimal number less than significant digits. Here, the selector 15 of the value rounding means selects the rounding result by the first rounding algorithm means 13. In the first rounding algorithm means 13, since the decimal value less than the significant digits is rounded off, “00011.11” is rounded to “00100” and y (4) = “00100”, ie, y ( 5)
y (5) = y ”(4) =“ 00100 ”
It becomes.
y ′ (5) at the time point of n = 6 is
y ′ (5) = “00100” * “0.11” = “00011.00”
Thus, y '(5) does not produce a decimal number less than significant digits. In this case, the value rounding means selector 15 selects the rounding result by the first rounding algorithm means 13, but y ″ (5) = y ′ (5). That is, y (6) is
y (6) = y ”(5) =“ 00011 ”
It becomes.

n=7の時点におけるy’(6)は、
y’(6)=“00011”*“0.11”=“00010.01”
となってy’(6)は有効桁未満の小数が生じる。ここで、値丸め手段のセレクタ15は、第1丸めアルゴリズム手段13による丸め結果を選択する。第1丸めアルゴリズム手段13では、有効桁未満の小数値が四捨五入されることから“00010.01”は、“00010”と丸められ、y”(6)=“00010”となる。すなわち、y(7)は、
y(7)=y”(6)=“00010”
となる。
n=8の時点におけるy’(8)は、
y’(7)=“00010”*“0.11”=“00001.10”
となってy’(7)は有効桁未満の小数が生じる。ここで、値丸め手段のセレクタ15は、第1丸めアルゴリズム手段13による丸め結果を選択する。第1丸めアルゴリズム手段13では、有効桁未満の小数値が四捨五入されることから“00001.10”は、“00010”と丸められ、y”(7)=“00010”となる。すなわち、y(8)は、
y(8)=y”(7)=“00010”
となり、y(7)と同じ値となる。
y ′ (6) at the time point of n = 7 is
y ′ (6) = “00011” * “0.11” = “00010.01”
Thus, y '(6) has a decimal number less than significant digits. Here, the selector 15 of the value rounding means selects the rounding result by the first rounding algorithm means 13. Since the first rounding algorithm means 13 rounds off decimal values less than significant digits, “00010.01” is rounded to “00010” and y ”(6) =“ 00010 ”, that is, y ( 7)
y (7) = y ”(6) =“ 00010 ”
It becomes.
y ′ (8) at the time point of n = 8 is
y ′ (7) = “00010” * “0.11” = “00001.10.”
Thus, y ′ (7) has a decimal number less than significant digits. Here, the selector 15 of the value rounding means selects the rounding result by the first rounding algorithm means 13. In the first rounding algorithm means 13, since the decimal value less than the significant digits is rounded off, “00001.10” is rounded to “00010”, and y (7) = “00010”, that is, y ( 8)
y (8) = y ”(7) =“ 00010 ”
And becomes the same value as y (7).

n=9の時点におけるy’(8)は、
y’(8)=“00010”*“0.11”=“00001.10”
となってy’(8)は有効桁未満の小数が生じる。ここで、値丸め手段のセレクタ15は、第1丸めアルゴリズム手段13による丸め結果を選択する。第1丸めアルゴリズム手段13では、有効桁未満の小数値が四捨五入されることから“00001.10”は、“00010”と丸められ、y”(8)=“00010”となる。すなわち、y(9)は、
y(9)=y”(8)=“00010”
となり、y(8)と同じ値となる。
n=10の時点におけるy’(9)は、
y’(9)=“00010”*“0.11”=“00001.10”
となってy’(9)は有効桁未満の小数が生じる。ここでは、10回目の演算周期となることから値丸め手段のセレクタ15は、第2丸めアルゴリズム手段14による丸め結果を選択する。第2丸めアルゴリズム手段14では、有効桁未満の小数値が切り捨てられることから“00001.10”は、“00001”と丸められ、y”(9)=“00001”となる。すなわち、y(10)は、
y(10)=y”(9)=“00001”
となる。
y ′ (8) at the time point of n = 9 is
y ′ (8) = “00010” * “0.11” = “00001.10.”
Thus, y '(8) has a decimal number less than significant digits. Here, the selector 15 of the value rounding means selects the rounding result by the first rounding algorithm means 13. In the first rounding algorithm means 13, since the decimal value less than the significant digit is rounded off, “00001.10” is rounded to “00010” and y ”(8) =“ 00010 ”, that is, y ( 9)
y (9) = y ”(8) =“ 00010 ”
And becomes the same value as y (8).
y ′ (9) at the time point of n = 10 is
y ′ (9) = “00010” * “0.11” = “00001.10.”
Thus, y '(9) has a decimal number less than significant digits. Here, since it is the tenth calculation cycle, the selector 15 of the value rounding means selects the rounding result by the second rounding algorithm means 14. In the second rounding algorithm means 14, since decimal values less than significant digits are rounded down, “00001.10” is rounded to “00001” and y ”(9) =“ 00001 ”, that is, y (10 )
y (10) = y ”(9) =“ 00001 ”
It becomes.

n=11の時点におけるy’(10)は、
y’(10)=“00001”*“0.11”=“00000.11”
となってy’(10)は有効桁未満の小数が生じる。ここで、値丸め手段のセレクタ15は、第1丸めアルゴリズム手段13による丸め結果を選択する。第1丸めアルゴリズム手段13では、有効桁未満の小数値が四捨五入されることから“00000.11”は、“00001”と丸められ、y”(10)=“00001”となる。すなわち、y(11)は、
y(11)=y”(10)=“00001”
となり、y(10)と同じ値となる。
n=12ないしn=19の時点では、n=11の時点と同様の演算内容とされるので説明は省略するがy(12)ないしy(19)の値は“00001”となる。
そして、n=20の時点におけるy’(19)は、
y’(19)=“00001”*“0.11”=“00000.11”
となってy’(19)は有効桁未満の小数が生じる。ここでは、20回目の演算周期となることから値丸め手段のセレクタ15は、第2丸めアルゴリズム手段14による丸め結果を選択する。第2丸めアルゴリズム手段14では、有効桁未満の小数値が切り捨てられることから“00000.11”は、“00000”と丸められ、y”(19)=“00000”となる。すなわち、y(20)は、
y(20)=y”(19)=“00000”
とゼロに収束するようになる。
y ′ (10) at the time point of n = 11 is
y ′ (10) = “00001” * “0.11” = “00000.11”
Thus, y '(10) has a decimal number less than significant digits. Here, the selector 15 of the value rounding means selects the rounding result by the first rounding algorithm means 13. In the first rounding algorithm means 13, since the decimal value less than the significant digits is rounded off, “00000.11” is rounded to “00001” and y ”(10) =“ 00001 ”, that is, y ( 11)
y (11) = y ”(10) =“ 00001 ”
And becomes the same value as y (10).
At the time point of n = 12 to n = 19, the calculation contents are the same as those at the time point of n = 11, so the description thereof is omitted, but the values of y (12) to y (19) are “00001”.
And y ′ (19) at the time point of n = 20 is
y ′ (19) = “00001” * “0.11” = “00000.11”
Thus, y '(19) has a decimal number less than significant digits. Here, since it is the 20th calculation cycle, the selector 15 of the value rounding means selects the rounding result by the second rounding algorithm means 14. In the second rounding algorithm means 14, since the decimal value less than the significant digits is rounded down, “00000.11” is rounded to “00000” and y ”(19) =“ 00000 ”, that is, y (20 )
y (20) = y ”(19) =“ 00000 ”
And converge to zero.

図1に示す本発明の第1実施例にかかるHPF1において、量子化ビット数を5ビット、係数αを2進数で“0.11”とした時に、値“10000”のインパルスが入力された際のインパルス応答を理論的な応答と対比して図2に示す。図2において、横軸は時点nとされ、縦軸は10進数で表した出力ディジタル信号y(n)の値とされている。
図2を参照すると、本発明にかかるHPF1は、n=7の時点までは理論値に近い応答となり、n=8,9の時点においてはn=7の時点と同じ値のy(n)が出力される。しかし、n=10の時点においてy(10)は“1”だけゼロ方向へ変化するようになる。さらに、n=11〜19の時点においてはn=10の時点と同じ値(“00001”)のy(n)が出力されるが、n=20の時点においてy(20)は“1”だけゼロ方向へ変化してゼロに収束するよう変化するようになる。このように、本発明の第1実施例にかかるフィルタ装置においては、応答特性が理論値に近い応答とすることができると共に、リミットサイクルが生じることのないフィルタ装置とすることができる。
In the HPF 1 according to the first embodiment of the present invention shown in FIG. 1, when an impulse having a value of “10000” is input when the number of quantization bits is 5 bits and the coefficient α is “0.11” in binary. The impulse response is shown in FIG. 2 in comparison with the theoretical response. In FIG. 2, the horizontal axis is the time point n, and the vertical axis is the value of the output digital signal y (n) expressed in decimal.
Referring to FIG. 2, the HPF 1 according to the present invention has a response close to the theoretical value until the time point n = 7, and y (n) having the same value as that at the time point n = 7 is obtained at the time point n = 8 and 9. Is output. However, when n = 10, y (10) changes in the zero direction by “1”. Furthermore, y (n) of the same value (“00001”) as that at the time point of n = 10 is output at the time point of n = 11 to 19, but y (20) is only “1” at the time point of n = 20. It changes to zero and changes to converge to zero. Thus, in the filter device according to the first embodiment of the present invention, the response characteristic can be a response close to the theoretical value, and a filter device in which a limit cycle does not occur can be obtained.

次に、本発明の第2実施例のフィルタ装置とされるハイパスフィルタ(HPF)2の回路ブロック図を図3に示す。
図3に示す第2実施例のHPF2も1次巡回型のディジタルフィルタとされており、遅延手段24と係数乗算器25からなる帰還路を有している。第2実施例のHPF2は、加算器20と遅延手段24との間に値丸め手段を設けるようにした構成とされている。すなわち、遅延手段24は、出力ディジタル信号y(n)を単位時間とされる1標本化周期Tだけ遅延する遅延手段であり、遅延手段24からの信号y(n−1)に係数乗算器25により係数αが乗算される。係数乗算器25からの信号y(n−1)*α=y’(n−1)は加算器20において、入力ディジタル信号x(n)と加算される。加算器20からの信号y’(n)は値丸め手段において有効桁に値が丸められる。値丸め手段は、有効桁未満を四捨五入することにより値を丸めるアルゴリズムとされる第1丸めアルゴリズム手段21と、有効桁未満を切り捨てることにより値を丸める第2丸めアルゴリズム手段22と、第1丸めアルゴリズム手段21と第2丸めアルゴリズム手段22による丸め結果を演算周期毎に選択して出力するセレクタ23から構成されている。値丸め手段により有効桁に値が丸められた信号は出力ディジタル信号y(n)として出力される。
Next, FIG. 3 shows a circuit block diagram of a high-pass filter (HPF) 2 which is a filter device of the second embodiment of the present invention.
The HPF 2 of the second embodiment shown in FIG. 3 is also a primary cyclic digital filter, and has a feedback path composed of a delay means 24 and a coefficient multiplier 25. The HPF 2 of the second embodiment is configured such that a value rounding means is provided between the adder 20 and the delay means 24. That is, the delay unit 24 is a delay unit that delays the output digital signal y (n) by one sampling period T, which is a unit time, and the signal multiplier (25) is added to the signal y (n−1) from the delay unit 24. Is multiplied by the coefficient α. The signal y (n−1) * α = y ′ (n−1) from the coefficient multiplier 25 is added to the input digital signal x (n) in the adder 20. The value of the signal y ′ (n) from the adder 20 is rounded to a significant digit in the value rounding means. The value rounding means includes a first rounding algorithm means 21 which is an algorithm for rounding a value by rounding off less than significant digits, a second rounding algorithm means 22 for rounding a value by rounding down less than significant digits, and a first rounding algorithm. It comprises a selector 23 that selects and outputs a rounding result by the means 21 and the second rounding algorithm means 22 for each calculation cycle. A signal whose value is rounded to a valid digit by the value rounding means is output as an output digital signal y (n).

値丸め手段におけるセレクタ23では、第1丸めアルゴリズム手段21による丸め結果を選択する回数iに対して、第2丸めアルゴリズム手段22による丸め結果を選択する回数jがi≫j(i,jは正の整数)とされている。
このような、第2実施例のHPF2のインパルス応答は、第1実施例のHPF1のインパルス応答と同様となる。例えば、図2に示す第2実施例のHPF2に、入力ディジタル信号として値“10000”のインパルスがn=0の時点で入力された場合のインパルス応答は、量子化ビット数の有効桁数を5ビット、係数αを10進数で0.75(2進数で“0.11”)とすると共に、セレクタ23は10回に1回だけ第2丸めアルゴリズム手段22による丸め結果を選択するものとすると、図2に「本発明」として示すインパルス応答と同様となる。従って、本発明の第2実施例にかかるフィルタ装置においては、応答特性が理論値に近い応答とすることができると共に、リミットサイクルが生じることのないフィルタ装置とすることができる。
In the selector 23 in the value rounding means, the number j of selecting the rounding result by the second rounding algorithm means 22 is i >> j (i and j are positive) with respect to the number i of selecting the rounding result by the first rounding algorithm means 21. Integer).
Such an impulse response of the HPF 2 of the second embodiment is the same as the impulse response of the HPF 1 of the first embodiment. For example, the impulse response when the impulse of the value “10000” is input as the input digital signal at the time of n = 0 to the HPF 2 of the second embodiment shown in FIG. The bit and coefficient α are set to 0.75 decimal (“0.11” in binary), and the selector 23 selects the rounding result by the second rounding algorithm means 22 once every 10 times. This is the same as the impulse response shown as “present invention” in FIG. Therefore, in the filter device according to the second embodiment of the present invention, the response characteristic can be a response close to the theoretical value, and a filter device in which a limit cycle does not occur can be obtained.

次に、本発明の第3実施例のフィルタ装置とされるハイパスフィルタ(HPF)3の回路ブロック図を図4に示す。
図4に示す第3実施例のHPF3は2次巡回型のディジタルフィルタとされており、第3実施例のHPF3は、遅延手段34と係数乗算器35からなる第1帰還路と、遅延手段36と係数乗算器37からなる第2帰還路とを有している。すなわち、遅延手段34は、出力ディジタル信号y(n)を単位時間とされる1標本化周期Tだけ遅延する遅延手段であり、遅延手段34からの信号y(n−1)に係数乗算器35により係数α1が乗算される。係数乗算器35からの信号y(n−1)*α1=y’(n−1)は加算器30に入力される。また、遅延手段36は、信号y(n−1)を単位時間とされる1標本化周期Tだけ遅延する遅延手段であり、遅延手段36からの信号y(n−2)に係数乗算器37により係数α2が乗算される。係数乗算器37からの信号y(n−2)*α2=y’(n−2)も加算器30に入力される。
Next, FIG. 4 shows a circuit block diagram of a high-pass filter (HPF) 3 which is a filter device according to a third embodiment of the present invention.
The HPF 3 of the third embodiment shown in FIG. 4 is a second-order cyclic digital filter. The HPF 3 of the third embodiment includes a first feedback path including a delay means 34 and a coefficient multiplier 35, and a delay means 36. And a second feedback path composed of a coefficient multiplier 37. That is, the delay means 34 is a delay means for delaying the output digital signal y (n) by one sampling period T, which is a unit time, and the signal multiplier (35) is added to the signal y (n−1) from the delay means 34. Is multiplied by the coefficient α 1 . The signal y (n−1) * α 1 = y ′ (n−1) from the coefficient multiplier 35 is input to the adder 30. The delay unit 36 is a delay unit that delays the signal y (n−1) by one sampling period T, which is a unit time. The delay unit 36 adds a coefficient multiplier 37 to the signal y (n−2) from the delay unit 36. Is multiplied by the coefficient α 2 . The signal y (n−2) * α 2 = y ′ (n−2) from the coefficient multiplier 37 is also input to the adder 30.

加算器30において、y’(n−1)およびy’(n−2)が入力ディジタル信号x(n)と加算される。加算器30からの信号y”(n)は値丸め手段において有効桁に値が丸められる。値丸め手段は、有効桁未満を四捨五入することにより値を丸めるアルゴリズムとされる第1丸めアルゴリズム手段31と、有効桁未満を切り捨てることにより値を丸める第2丸めアルゴリズム手段32と、第1丸めアルゴリズム手段31と第2丸めアルゴリズム手段32による丸め結果を演算周期毎に選択して出力するセレクタ33から構成されている。値丸め手段により有効桁に値が丸められた信号は出力ディジタル信号y(n)として出力される。値丸め手段におけるセレクタ33では、第1丸めアルゴリズム手段31による丸め結果を選択する回数iに対して、第2丸めアルゴリズム手段32による丸め結果を選択する回数jがi≫j(i,jは正の整数)とされている。この場合、セレクタ33は第2丸めアルゴリズム手段32の丸め結果を選択する際に、2次のHPF3とされていることから2回連続して選択するようにしている。
これにより、第3実施例に示す2次のHPF3や高次のHPFのインパルス応答においても、応答特性が理論値に近い応答とすることができると共に、リミットサイクルが生じにくくなるフィルタ装置とすることができる。
In the adder 30, y ′ (n−1) and y ′ (n−2) are added to the input digital signal x (n). The signal y ″ (n) from the adder 30 is rounded to a significant digit in the value rounding means. The value rounding means is a first rounding algorithm means 31 which is an algorithm for rounding a value by rounding off less than significant digits. And a second rounding algorithm means 32 that rounds the value by rounding down less than significant digits, and a selector 33 that selects and outputs the rounding result by the first rounding algorithm means 31 and the second rounding algorithm means 32 for each operation cycle. A signal whose value has been rounded to a valid digit by the value rounding means is output as an output digital signal y (n) The selector 33 in the value rounding means selects the rounding result by the first rounding algorithm means 31. The number of times j for selecting the rounding result by the second rounding algorithm means 32 with respect to the number of times i is i >> j (i and j are positive integers). ) And is. In this case, the selector 33 is to choose when selecting a rounding result of the second rounding algorithm means 32, successively twice because it is a second-order HPF 3.
As a result, even in the impulse response of the second-order HPF 3 and the higher-order HPF shown in the third embodiment, the response characteristic can be a response close to the theoretical value, and the filter device is less likely to cause a limit cycle. Can do.

以上説明した本発明にかかるフィルタ装置は、DSP(ディジタル信号処理装置:Digital Signal Processor)により実現することができる。ここで、DSPにより構成した本発明にかかるフィルタ装置が適用されたミキサーの構成を示すブロック図を図5に示す。
図5に示すミキサー4は、CPU(Central Processing Unit)40が管理プログラム(OS:Operating System)を実行しており、ミキサー4の全体の動作をOS上で制御していると共に、楽音制御処理等を実行している。ROM(Read Only Member)41には、音色データやCPU40が実行する楽音制御処理等の動作ソフトウェアが格納されている。ROM41を書き換え可能なメモリとすることにより、動作ソフトウェアを書き換え可能となり動作ソフトウェアのバージョンアップを容易に行うことができる。RAM(Random Access Memory)42には、CPU40のワークエリアや各種データ等の記憶エリアが設定されている。
The filter device according to the present invention described above can be realized by a DSP (Digital Signal Processor). Here, FIG. 5 shows a block diagram showing a configuration of a mixer to which the filter device according to the present invention configured by a DSP is applied.
In the mixer 4 shown in FIG. 5, a CPU (Central Processing Unit) 40 executes a management program (OS: Operating System), controls the overall operation of the mixer 4 on the OS, and performs tone control processing and the like. Is running. In a ROM (Read Only Member) 41, operation software such as tone color data and musical tone control processing executed by the CPU 40 is stored. By making the ROM 41 a rewritable memory, the operation software can be rewritten and the operation software can be easily upgraded. In a RAM (Random Access Memory) 42, a work area for the CPU 40 and a storage area for various data are set.

表示IF43は、表示器44にミキサー4に関する設定を行うメニュー等の表示画面を表示させる表示インタフェースである。表示器44は、タッチパネル機能を有するLCD(Liquid Crystal Display)からなるディスプレイである。検出IF45は、操作子46をスキャンして、操作子46に対する操作を検出してCPU40に送出している。操作子46は、ミキサー4のパネルに設けられている各種操作を行うノブ、フェーダやボタン等の設定操作子や鍵盤等の演奏操作子からなる操作子である。通信IF47は、通信I/O48を介して外部機器と通信を行うための通信インタフェースであり、イーサネット(登録商標)などのネットワーク用のインタフェースとされる。CPU40、ROM41、RAM42、表示IF43、検出IF45、通信IF47、EFX49、DSP50は通信バス51を介してデータ等の授受を行っている。   The display IF 43 is a display interface that causes the display 44 to display a display screen such as a menu for setting the mixer 4. The display 44 is a display composed of an LCD (Liquid Crystal Display) having a touch panel function. The detection IF 45 scans the operation element 46 to detect an operation on the operation element 46 and sends it to the CPU 40. The operation unit 46 is an operation unit including a setting operation unit such as a knob, a fader, and a button for performing various operations provided on the panel of the mixer 4 and a performance operation unit such as a keyboard. The communication IF 47 is a communication interface for communicating with an external device via the communication I / O 48, and is a network interface such as Ethernet (registered trademark). The CPU 40, ROM 41, RAM 42, display IF 43, detection IF 45, communication IF 47, EFX 49, and DSP 50 exchange data and the like via the communication bus 51.

DSP50はCPU40の制御の基で、発音される楽音波形を生成したり楽音の音量、パン、効果などの音響特性を制御するディジタル信号処理を行っており、本発明にかかるフィルタ装置による音響信号のディジタル信号処理も行っている。エフェクタ(EFX)49はCPU40の制御の基で、ミキシングされたオーディオ信号にリバーブ、エコーやコーラス等のエフェクトを付加している。EFX49およびDSP50は音声バス55を介してAD52、DA53、DD54とデータ等の授受を行っている。AD52は、ミキサー4にアナログ信号を入力する複数のアナログ入力ポートであり、AD52において入力されたアナログ入力信号はディジタル信号に変換されて音声バス55に送出される。DA53は、ミキサー4から外部へ出力する複数のアナログ出力ポートであり、DA53において音声バス55を介して受け取ったディジタル出力信号はアナログ信号に変換されて、会場やステージに配置されたスピーカから出力される。DD54は、ミキサー4にディジタル信号を入力すると共に、外部にディジタル信号を出力する複数のディジタル入力/出力ポートであり、DD54において入力されたディジタル入力信号は音声バス55に送出され、音声バス55を介して受け取ったディジタル出力信号はディジタルレコーダ等に出力される。なお、AD52およびDD54から音声バス55へ送出されたディジタル信号はDSP50が受け取ってフィルタリング処理等のディジタル信号処理が施される。また、DSP50から音声バス55に送出された楽音波形やディジタル信号はDA53あるいはDD54が受け取るようになる。   Under the control of the CPU 40, the DSP 50 performs digital signal processing for generating a musical sound waveform to be generated and controlling acoustic characteristics such as the volume, pan, and effect of the musical sound. It also performs digital signal processing. The effector (EFX) 49 adds effects such as reverb, echo, chorus, etc. to the mixed audio signal under the control of the CPU 40. The EFX 49 and the DSP 50 exchange data with the AD 52, DA 53, and DD 54 via the audio bus 55. The AD 52 is a plurality of analog input ports that input analog signals to the mixer 4, and the analog input signals input in the AD 52 are converted into digital signals and sent to the audio bus 55. The DA 53 is a plurality of analog output ports output from the mixer 4 to the outside. The digital output signal received via the audio bus 55 in the DA 53 is converted into an analog signal and output from speakers arranged at the venue or stage. The The DD 54 is a plurality of digital input / output ports that input digital signals to the mixer 4 and also output digital signals to the outside. The digital input signals input in the DD 54 are sent to the audio bus 55, and are sent through the audio bus 55. The digital output signal received via the signal is output to a digital recorder or the like. The digital signal sent from the AD 52 and DD 54 to the audio bus 55 is received by the DSP 50 and subjected to digital signal processing such as filtering processing. The DA 53 or DD 54 receives the musical sound waveform or digital signal sent from the DSP 50 to the audio bus 55.

次に、ミキサー4において実行される混合処理アルゴリズムを等価的なハードウェア構成として示すブロック図を図6に示す。
図6において、複数のアナログ入力ポート(AD52)に入力された複数のアナログ信号はディジタル信号に変換されて入力パッチ(Input Patch)60に入力される。また、複数のディジタル入力ポート(DD54)に入力された複数のディジタル信号は、そのまま入力パッチ60に入力される。入力パッチ60では、信号の入力元である複数の入力ポートの何れか1つの入力ポートを、Nチャンネル(Nは1以上の整数:例えば96チャンネル)とされる入力チャンネル部61の各入力チャンネル(Input Channel)61−1,61−2,61−3,・・・・,61−Nに選択的にパッチ(結線)している。各入力チャンネル61−1〜61−Nには、入力パッチ60でパッチされた入力ポートからのオーディオ信号In.1,In.2,In.3,・・・,In.Nがそれぞれ供給される。
Next, FIG. 6 is a block diagram showing the mixing processing algorithm executed in the mixer 4 as an equivalent hardware configuration.
In FIG. 6, a plurality of analog signals input to a plurality of analog input ports (AD 52) are converted into digital signals and input to an input patch 60. The plurality of digital signals input to the plurality of digital input ports (DD 54) are input to the input patch 60 as they are. In the input patch 60, any one input port of a plurality of input ports that are input sources of signals is set to each input channel of the input channel unit 61 (N is an integer of 1 or more: for example, 96 channels). Input Channel) 61-1, 61-2, 61-3,..., 61-N are selectively patched (connected). The audio signals In.1, In.2, In.3,..., In.N from the input ports patched by the input patch 60 are supplied to the input channels 61-1 to 61-N, respectively. .

入力チャンネル部61における各入力チャンネル61−1〜61−Nにおける各入力チャンネル信号は、イコライザやコンプレッサにより音響信号の特性が調整されると共に送り出しレベルが制御されてM本(Mは1以上の整数:例えば24本)の混合バス(Mix Bus)64およびL,Rのステレオのキューバス(Cue Bus)66へ送出される。この場合、入力チャンネル部61から出力されるN入力チャンネル信号は、M本の混合バス65の1ないし複数に選択的に出力される。混合バス65においては、M本の各バスにおいて、N入力チャンネルのうちの任意の入力チャンネルから選択的に入力された1ないし複数の入力チャンネル信号が混合されて、合計M通りの混合出力が出力される。M本の混合バス65の各バスからの混合出力は、Mチャンネルとされる出力チャンネル部62の各出力チャンネル(Output Channel)62−1,62−2,62−3,・・・・,62−Mにそれぞれ出力される。各出力チャンネル62−1〜62−Mでは、イコライザやコンプレッサにより周波数バランス等の音響信号の特性が調整されて、出力チャンネル信号Mix.1,Mix.2,Mix.3,・・・,Mix.Mとして出力され、このM出力チャンネル信号Mix.1~Mix.Mは、出力パッチ(Output Patch)64に出力される。また、L,Rのキューバス(Cue Bus)66においてはN入力チャンネルのうちの任意の入力チャンネルから選択的に入力された1ないし複数の入力チャンネル信号が混合されたキュー/モニタ用の信号がキュー/モニタ部(Cue/Monitor)63に出力される。キュー/モニタ部63から出力されるキュー/モニタ出力(Cue/monitor)は出力パッチ64に出力される。   Each of the input channel signals in the input channels 61-1 to 61 -N in the input channel unit 61 is adjusted to M (where M is an integer of 1 or more), while the characteristics of the acoustic signal are adjusted by an equalizer or compressor and the delivery level is controlled. : For example, 24 mix buses 64 and L, R stereo cue buses 66 are sent. In this case, the N input channel signals output from the input channel unit 61 are selectively output to one or more of the M mixing buses 65. In the mixed bus 65, one or a plurality of input channel signals selectively input from any of the N input channels are mixed in each of the M buses, and a total of M mixed outputs are output. Is done. The mixed outputs from each of the M mixed buses 65 are output channels (Output Channels) 62-1, 62-2, 62-3,... -M is output respectively. In each of the output channels 62-1 to 62-M, the characteristics of the acoustic signal such as the frequency balance are adjusted by an equalizer or a compressor, and the output channel signals Mix.1, Mix.2, Mix.3,. The M output channel signals Mix.1 to Mix.M are output to an output patch 64. In the L and R cue bus 66, there is a cue / monitor signal in which one or a plurality of input channel signals selectively inputted from any of the N input channels are mixed. The data is output to a cue / monitor unit (Cue / Monitor) 63. The cue / monitor output (Cue / monitor) output from the cue / monitor unit 63 is output to the output patch 64.

出力パッチ64では、出力チャンネル部62からのM出力チャンネル信号Mix.1〜Mix.Mおよびキュー/モニタ部63からのキュー/モニタ出力の何れかを、複数の出力ポート(DA53およびDD54)のいずれかに選択的にパッチ(結線)することができ、各出力ポートには、出力パッチ64でパッチされた出力チャンネル信号が供給される。DA53の出力ポートにおいて、ディジタルの出力チャンネル信号はアナログ出力信号に変換され、アンプにより増幅されて会場に配置された複数のスピーカから放音される。さらに、このアナログ出力信号はステージ上のミュージシャン等が耳に装着するインイヤーモニタに供給されたり、その近傍に置かれたステージモニタスピーカで再生される。また、複数のディジタル出力ポートを備えるディジタル出力ポート部(DD54)から出力されるディジタルオーディオ信号は、レコーダや外部接続されたDAT等に供給されてディジタル録音することができるようにされている。また、キュー/モニタ出力は出力パッチ64でアサインされたDA53の出力ポートにおいてアナログ出力信号に変換され、オペレータルームに配置されたモニタ用スピーカやオペレータが装着するヘッドホン等から出力されてオペレータが検聴できるようになる。
このようなミキサー4におけるDSP50において動作する本発明にかかるフィルタ装置では、応答特性が理論値に近い応答とすることができると共に、リミットサイクルが生じることのないフィルタ装置とすることができる。これにより、本発明にかかるフィルタ装置が適用されたミキサー4においては、聴取した際に良好に聞こえる音響信号を出力することができると共に、音響信号が出力されたままになることを防止することができるようになる。
In the output patch 64, the M output channel signal Mix. 1-Mix. Any of the M and the queue / monitor output from the queue / monitor unit 63 can be selectively patched (connected) to any of a plurality of output ports (DA53 and DD54). The output channel signal patched by the patch 64 is supplied. At the output port of the DA 53, the digital output channel signal is converted into an analog output signal, amplified by an amplifier, and emitted from a plurality of speakers arranged in the venue. Further, this analog output signal is supplied to an in-ear monitor worn by a musician or the like on the stage or reproduced by a stage monitor speaker placed in the vicinity thereof. A digital audio signal output from a digital output port section (DD54) having a plurality of digital output ports is supplied to a recorder, an externally connected DAT, or the like so that it can be digitally recorded. Also, the cue / monitor output is converted into an analog output signal at the output port of the DA 53 assigned by the output patch 64, and is output from a monitor speaker arranged in the operator room, headphones worn by the operator, etc. become able to.
In the filter device according to the present invention operating in the DSP 50 in the mixer 4, the response characteristic can be a response close to the theoretical value, and a filter device in which no limit cycle occurs can be obtained. Thereby, in the mixer 4 to which the filter device according to the present invention is applied, it is possible to output an acoustic signal that can be heard well when listening, and to prevent the acoustic signal from being output. become able to.

以上説明した本発明のフィルタ装置において、第1丸めアルゴリズム手段は四捨五入により値を整数に丸めるようにしたが、k捨(k+1)入(kは正の整数)またはビット切り捨てすることにより値を丸めるアルゴリズムとしてもよい。また、第1丸めアルゴリズム手段と第2アルゴリズム手段が同じ値の信号について有効桁に丸める演算を行った際の演算結果は、第2アルゴリズム手段の演算結果における有効桁の値が2進数で“1”だけ小さくなることがあるアルゴリズムとなる。
さらに、本発明のフィルタ装置において、値丸め手段におけるセレクタは、第1丸めアルゴリズム手段による丸め結果を選択する回数iに対して、第2丸めアルゴリズム手段による丸め結果を選択する回数jがi≫j(i,jは正の整数)とされている。この場合、セレクタは一例として10回に1回だけ第2丸めアルゴリズム手段による丸め結果を選択するようにしたが、これに限ることはなくセレクタが第2丸めアルゴリズム手段による丸め結果を選択する回数を、数%に相当する回数とすることができる。この場合、セレクタが第2丸めアルゴリズム手段による丸め結果を選択する周期は一定周期とする必要はなくランダムな周期で選択するようにしても良い。
なお、本発明のフィルタ装置はHPFに限るものではなく、ローパスフィルタやバンドパスフィルタ等に適用できるものである。また、m本の帰還路を有しているm次のフィルタ装置とされている場合は、セレクタは第2丸めアルゴリズム手段の丸め結果を選択する際に、m回連続して選択するようになされる。
In the filter device of the present invention described above, the first rounding algorithm means rounds the value to an integer by rounding off. However, the value is obtained by rounding off k (k + 1) (k is a positive integer) or rounding down bits. An algorithm for rounding off may be used. The calculation result when the first rounding algorithm means and the second algorithm means perform the calculation of rounding to the significant digit for the signal having the same value, the value of the significant digit in the calculation result of the second algorithm means is “1”. It is an algorithm that may be "smaller".
Further, in the filter device of the present invention, the selector in the value rounding means has the number of times j for selecting the rounding result by the second rounding algorithm means for the number of times i for selecting the rounding result by the first rounding algorithm means. (I and j are positive integers). In this case, as an example, the selector selects the rounding result by the second rounding algorithm means only once in 10 times. However, the present invention is not limited to this, and the number of times the selector selects the rounding result by the second rounding algorithm means is selected. , The number of times corresponding to several percent. In this case, the period in which the selector selects the rounding result by the second rounding algorithm means need not be a constant period, but may be selected at a random period.
The filter device of the present invention is not limited to the HPF, but can be applied to a low-pass filter, a band-pass filter, or the like. In the case of an m-th order filter device having m feedback paths, the selector selects the rounding result of the second rounding algorithm means continuously m times. The

1 HPF、2 HPF、3 HPF、4 ミキサー、10 加算器、11 遅延手段、12 係数乗算器、13 第1丸めアルゴリズム手段、14 第2丸めアルゴリズム手段、15 セレクタ、20 加算器、21 第1丸めアルゴリズム手段、22 第2丸めアルゴリズム手段、23 セレクタ、24 遅延手段、25 係数乗算器、30 加算器、31 第1丸めアルゴリズム手段、32 第2丸めアルゴリズム手段、33 セレクタ、34 遅延手段、35 係数乗算器、36 遅延手段、37 係数乗算器、40 CPU、41 ROM、42 RAM、43 表示IF、44 表示器、45 検出IF、46 操作子、47 通信IF、48 通信I/O、49 EFX、50 DSP、51 通信バス、52 AD、53 DA、54 DD、55 音声バス、60 入力パッチ、61 入力チャンネル部、62 出力チャンネル部、63 キュー/モニタ部、64 出力パッチ、65 混合バス、66 キューバス、100 HPF、110 加算器、111 遅延手段、112 係数乗算器 1 HPF, 2 HPF, 3 HPF, 4 mixer, 10 adder, 11 delay means, 12 coefficient multiplier, 13 first rounding algorithm means, 14 second rounding algorithm means, 15 selector, 20 adder, 21 first rounding Algorithm means, 22 Second rounding algorithm means, 23 selector, 24 delay means, 25 coefficient multiplier, 30 adder, 31 first rounding algorithm means, 32 second rounding algorithm means, 33 selector, 34 delay means, 35 coefficient multiplication 36, delay means, 37 coefficient multiplier, 40 CPU, 41 ROM, 42 RAM, 43 display IF, 44 display, 45 detection IF, 46 operator, 47 communication IF, 48 communication I / O, 49 EFX, 50 DSP, 51 Communication bus, 52 AD, 53 DA, 54 DD, 55 Sound Bus, 60 an input patch, 61 input channel section, 62 output channel unit, 63 cue / monitor section 64 outputs a patch, 65 mixing buses, 66 Qubus, 100 HPF, 110 an adder, 111 a delay unit, 112 the coefficient multipliers

Claims (3)

単位時間遅延する遅延手段および係数を乗算する係数乗算器とを含む帰還路を有し、該帰還路の出力信号と入力信号とを加算する加算器の出力が前記帰還路に入力される経路を備えるフィルタ装置であって、
前記帰還路の出力から前記帰還路に入力するまでの経路に設けられており、第1丸めアルゴリズムと第2丸めアルゴリズムによる丸め結果をセレクタにより演算する毎に選択して出力する値を有効桁に丸める丸め手段を備え、
前記第1丸めアルゴリズムは理論値に近い特徴を得られるがリミットサイクルを生じる恐れがあるアルゴリズムとされ、前記第2丸めアルゴリズムは前記第1丸めアルゴリズムに比べリミットサイクルが生じにくいアルゴリズムとされており、前記セレクタでは第1丸めアルゴリズムによる丸め結果を選択する回数iに対して、第2丸めアルゴリズムによる丸め結果を選択する回数jがi≫j(i,jは正の整数)とされていることを特徴とするフィルタ装置。
A feedback path including a delay means for delaying a unit time and a coefficient multiplier for multiplying a coefficient, and a path through which an output of an adder that adds an output signal of the feedback path and an input signal is input to the feedback path A filter device comprising:
It is provided in the path from the output of the feedback path to the input to the feedback path, and the value to be selected and output every time the rounding result by the first rounding algorithm and the second rounding algorithm is calculated by the selector is set to the effective digit. A rounding means for rounding,
The first rounding algorithm is an algorithm that can obtain a characteristic close to a theoretical value but may cause a limit cycle, and the second rounding algorithm is an algorithm that is less likely to cause a limit cycle than the first rounding algorithm, In the selector, the number j of selecting the rounding result by the second rounding algorithm is i >> j (i and j are positive integers) with respect to the number i of selecting the rounding result by the first rounding algorithm. A filter device.
前記第1丸めアルゴリズムは有効桁未満をk捨(k+1)入(kは正の整数)またはビット切捨てすることにより値を丸めるアルゴリズムとされ、前記第2丸めアルゴリズムは有効桁未満をゼロ方向へ切り捨てることにより値を丸めるアルゴリズムとされていることを特徴とする請求項1記載のフィルタ装置。   The first rounding algorithm is an algorithm that rounds a value by rounding off values with less than significant digits by k rounding (k + 1) (k is a positive integer) or bit truncation, and the second rounding algorithm is zero direction with less than significant digits. 2. The filter device according to claim 1, wherein an algorithm for rounding a value by rounding down to a round is used. m本の前記帰還路を有しているm次のフィルタ装置とされている場合は、前記セレクタは前記第2丸めアルゴリズムの丸め結果を選択する際に、m回連続して選択することを特徴とする請求項1または2記載のフィルタ装置。   In the case of an m-th order filter device having m feedback paths, the selector continuously selects m times when selecting a rounding result of the second rounding algorithm. The filter device according to claim 1 or 2.
JP2010057117A 2010-03-15 2010-03-15 Filter device Expired - Fee Related JP5560787B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010057117A JP5560787B2 (en) 2010-03-15 2010-03-15 Filter device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010057117A JP5560787B2 (en) 2010-03-15 2010-03-15 Filter device

Publications (2)

Publication Number Publication Date
JP2011193197A true JP2011193197A (en) 2011-09-29
JP5560787B2 JP5560787B2 (en) 2014-07-30

Family

ID=44797677

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010057117A Expired - Fee Related JP5560787B2 (en) 2010-03-15 2010-03-15 Filter device

Country Status (1)

Country Link
JP (1) JP5560787B2 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63204810A (en) * 1987-02-19 1988-08-24 Matsushita Electric Ind Co Ltd Cyclic digital filter
JPH04342309A (en) * 1991-05-20 1992-11-27 Toshiba Corp Cyclic digital filter

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63204810A (en) * 1987-02-19 1988-08-24 Matsushita Electric Ind Co Ltd Cyclic digital filter
JPH04342309A (en) * 1991-05-20 1992-11-27 Toshiba Corp Cyclic digital filter

Also Published As

Publication number Publication date
JP5560787B2 (en) 2014-07-30

Similar Documents

Publication Publication Date Title
JP5246044B2 (en) Sound equipment
US10972836B2 (en) Digital signal routing circuit
KR101365388B1 (en) Efficiency optimized audio system
US20120189131A1 (en) Low-pitched sound enhancement processing apparatus, speaker system and sound effects apparatus and processes
JP2004048140A (en) Level adjusting method, program and sound signal apparatus
US11438694B2 (en) Digital signal routing circuit
CA2785743A1 (en) System and method for digital signal processing
US20130114830A1 (en) Determining a configuration for an audio processing operation
US9264158B2 (en) Audio signal processing apparatus
JP2016527809A (en) Audio processor for direction-dependent processing
JP5182226B2 (en) Sound equipment
JP2015087686A (en) Acoustic device
US9281791B2 (en) Device for adding harmonics to sound signal
JP5246085B2 (en) Mixing console
JP5560787B2 (en) Filter device
US7058126B1 (en) Digital graphametric equalizer
US8867760B2 (en) Mixer
WO2018021402A1 (en) Sound processing device and method
JP5521762B2 (en) Bass amplifier circuit
JP5434788B2 (en) Low frequency enhancement circuit
JP2011035870A (en) Acoustic signal processor
JP6716921B2 (en) Signal processing device, program, and method
JP5370210B2 (en) mixer
JP2018117245A (en) Sound processing device and method
JPH06177676A (en) Signal processing unit

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20130121

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20140121

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140221

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: 20140513

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140526

R150 Certificate of patent or registration of utility model

Ref document number: 5560787

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees