JP2007274260A - Signal processing circuit - Google Patents
Signal processing circuit Download PDFInfo
- Publication number
- JP2007274260A JP2007274260A JP2006096348A JP2006096348A JP2007274260A JP 2007274260 A JP2007274260 A JP 2007274260A JP 2006096348 A JP2006096348 A JP 2006096348A JP 2006096348 A JP2006096348 A JP 2006096348A JP 2007274260 A JP2007274260 A JP 2007274260A
- Authority
- JP
- Japan
- Prior art keywords
- signal
- unit
- output
- multiplication
- adder
- 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
Links
Images
Abstract
Description
この発明は、信号処理回路に関し、詳しくは、FIRデジタルフィルタの回路規模を削減する技術、およびそのFIR(Finite Impulse Response:有限インパルス応答)フィルタを使用した信号処理回路に関するものである。 The present invention relates to a signal processing circuit, and more particularly to a technique for reducing the circuit scale of an FIR digital filter and a signal processing circuit using the FIR (Finite Impulse Response) filter.
従来、信号処理回路としては、図5に示すサンプリング周波数変換回路がある。このサンプリング周波数変換回路(以下、fs変換回路という)は、8タップのFIRフィルタ5と、1/2間引き回路51で構成されている。このFIRフィルタ5は、7個の連続するフリップフロップD1〜D7を用いた遅延器と、乗算する係数がそれぞれa1,a2,a3,a4,a5,a6,a7,a8である8個の乗算器31〜38と、各乗算器の出力信号を加算する7個の加算器21〜27で構成されている。
Conventionally, as a signal processing circuit, there is a sampling frequency conversion circuit shown in FIG. This sampling frequency conversion circuit (hereinafter referred to as “fs conversion circuit”) includes an 8-
図5のfs変換回路は、外部から入力された信号に対してFIRフィルタ5により帯域制限された信号F(T)を、1/2間引き回路51で間引き処理することにより1/2ダウンサンプリングのfs変換を行う。
The fs conversion circuit of FIG. 5 performs a 1/2 down-sampling of the signal F (T) band-limited by the
図5において、特にFIRフィルタ5の乗算器の係数の並びが対称である場合、つまりa1=a8、a2=a7、a3=a6、a4=a5である場合、図6に示すfs変換回路のように乗算器の数を削減した回路に代替できる。
In FIG. 5, especially when the arrangement of the coefficients of the multiplier of the
図6のFIRフィルタ6は、同じ係数のタップの出力信号を先に加算しておき、その後に乗算器で係数を乗算する。これにより、回路全体の乗算器の個数を8個から4個に削減している。図6において、D1〜D7はフリップフロップ、21〜27は加算器、31〜34は乗算器、51は1/2間引き回路である。
The
以下に図6のfs変換回路の動作について説明する。 The operation of the fs conversion circuit in FIG. 6 will be described below.
まず、図6のFIRフィルタ6に外部からデータを入力したときのフィルタ出力F(T)について説明する。
First, the filter output F (T) when data is input from the outside to the
外部からデータd1、d2、…、d8、d9、d10、…、dn、…を単位時間ごとに順次入力し、ある時刻T1において各タップの出力が右から順に、d1、d2、…、d8である場合、このときのフィルタ出力F(T1)は次の式で表せる。
F(T1)= a1(d8+d1)+a2(d7+d2)
+a3(d6+d3)+a4(d5+d4)
また、T1の単位時間後のT2においては、各タップの出力が右から順に、d2、d3、…、d9となるから、
F(T2)= a1(d9+d2)+a2(d8+d3)
+a3(d7+d4)+a4(d6+d5)
となる。つまり時刻Tnでは、FIRフィルタ6の出力F(Tn)は、
F(Tn)= a1(dn+7+dn)
+a2(dn+6+dn+1)
+a3(dn+5+dn+2)
+a4(dn+4+dn+3) ……… [式1]
と表せる。
F (T 1 ) = a1 (d 8 + d 1 ) + a2 (d 7 + d 2 )
+ A3 (d 6 + d 3 ) + a4 (d 5 + d 4 )
Further, at T 2 after a unit time of T 1 , the output of each tap is d2, d3,..., D9 in order from the right.
F (T 2 ) = a1 (d 9 + d 2 ) + a2 (d 8 + d 3 )
+ A3 (d 7 + d 4 ) + a4 (d 6 + d 5 )
It becomes. That is, at time T n , the output F (T n ) of the
F (T n ) = a1 (d n + 7 + d n )
+ A2 (dn + 6 + dn + 1 )
+ A3 (dn + 5 + dn + 2 )
+ A4 (dn + 4 + dn + 3 ) ... [Formula 1]
It can be expressed.
したがって、時刻Tn以降、FIRフィルタ6からはF(Tn)、F(Tn+1)、F(Tn+2)、F(Tn+3)、F(Tn+4)、F(Tn+5)、F(Tn+6)、…が単位時間ごとに順次出力される。 Therefore, after time T n , F (T n ), F (T n + 1 ), F (T n + 2 ), F (T n + 3 ), F (T n + 4 ), F (T n + 5 ), F (T Tn + 6 ),... Are sequentially output every unit time.
図6のfs変換回路は、FIRフィルタ6からの出力F(T)のデータに対して、1/2間引き回路51に入力されるデータを1個毎に間引き外部に出力する。ここで、奇数番目のデータを間引くようにしておけば、F(Tn)、F(Tn+2)、F(Tn+4)、F(Tn+6)、…(ただしnは偶数)のように偶数番目のデータのみがfs変換回路外部に2単位時間ごとに順次出力される。
The fs conversion circuit of FIG. 6 outputs the data input to the ½
以上のようにして、図6のfs変換回路は外部からの入力データに対して、1/2ダウンサンプリングのfs変換を行ったデータを出力する。 As described above, the fs conversion circuit in FIG. 6 outputs data obtained by performing 1/2 downsampling fs conversion on input data from the outside.
しかし、図6に示す構成のfs変換回路は、FIRフィルタのタップ数が増えるにしたがい必要となる乗算器および加算器の数が増大するため、回路全体の規模が増大し、消費電力も大きくなるという問題がある。 However, in the fs conversion circuit having the configuration shown in FIG. 6, the number of necessary multipliers and adders increases as the number of taps of the FIR filter increases, so that the scale of the entire circuit increases and the power consumption also increases. There is a problem.
この問題に対して、従来から種々の方法でFIRフィルタを簡素化して回路全体の規模を削減する技術が実施されている。 In order to solve this problem, techniques for simplifying the FIR filter by various methods and reducing the scale of the entire circuit have been implemented.
その従来からの技術として、図7および図8にカイザー(Kaizer)窓を用いて、1/2間引きしてダウンサンプリングするfs変換に利用するフィルタ回路およびカイザーフィルタの係数を示している。図7において、D162〜D7はフリップフロップ、21〜26は加算器、31〜34は乗算器である。 As conventional techniques, FIG. 7 and FIG. 8 show a filter circuit and a Kaiser filter coefficient used for fs conversion for down-sampling by 1/2 decimation using a Kaizer window. In FIG. 7, D162 to D7 are flip-flops, 21 to 26 are adders, and 31 to 34 are multipliers.
なお、これと同様の回路および係数は、特開2001−358562号公報(特許文献1)にも示されている。 Similar circuits and coefficients are also disclosed in Japanese Patent Laid-Open No. 2001-358562 (Patent Document 1).
このカイザーフィルタの163個の係数は、図8から明らかなように、1タップ毎に値が「0」であるという特徴がある(ただし中心のタップである82タップ目の係数を除く)。 As is apparent from FIG. 8, the 163 coefficients of the Kaiser filter have a characteristic that the value is “0” for each tap (except for the coefficient at the 82nd tap which is the center tap).
図7に示すフィルタ回路は、162個の遅延器を有する163タップのFIRフィルタである。このFIRフィルタは図6に示す回路のFIRフィルタと同様に係数が同じ値のタップの出力を加算し、その後に係数を乗算しているが、図8の係数表に記載されている係数の値が「0」であるタップの出力信号は演算処理する必要がないので、そのタップの加算器と乗算器を省略している。具体的には2番目、4番目、6番目、…、160番目、162番目の偶数番目のタップ(ただし中心の82番目を除く)の加算器と乗算器を省略している。 The filter circuit shown in FIG. 7 is a 163 tap FIR filter having 162 delay devices. This FIR filter adds the tap outputs having the same coefficients as the FIR filter of the circuit shown in FIG. 6 and then multiplies the coefficients. The coefficient values shown in the coefficient table of FIG. Since the output signal of the tap with “0” does not need to be processed, the adder and multiplier of the tap are omitted. Specifically, the adders and multipliers of the second, fourth, sixth,..., 160, 162, even-numbered taps (except for the 82nd center) are omitted.
このように、図7のFIRフィルタは、不要な加算器と乗算器を省略することにより回路規模の削減を図っている。 As described above, the FIR filter shown in FIG. 7 reduces the circuit scale by omitting unnecessary adders and multipliers.
しかしながら、図7に示すFIRフィルタは、その係数が「1タップ毎に値が「0」である」という特徴、つまり一部の係数が「0」であるという特徴を有する場合にのみ適応可能であり回路規模を削減できるが、そうではないフィルタ係数の場合は適応できない。
そこで、この発明の課題は、FIRフィルタを用いた信号処理回路において、FIRフィルタのフィルタ係数に関わらず、構成を簡略化して回路規模を削減できる信号処理回路を提供することにある。 Accordingly, an object of the present invention is to provide a signal processing circuit that can simplify the configuration and reduce the circuit scale in a signal processing circuit using an FIR filter regardless of the filter coefficient of the FIR filter.
上記課題を解決するため、この発明の信号処理回路は、
M個(Mは3以上の整数)の遅延素子が直列に接続され、サンプリング周波数に基づく単位時間毎に入力される入力信号を上記遅延素子により順次シフトするM+1個のタップを有する第1遅延部を有し、上記Mが奇数のときは(M+1)/2番目の上記遅延素子を中心とし、上記Mが偶数のときはM/2+1番目のタップを中心として、フィルタ係数の値が対称であるFIRフィルタと、
上記FIRフィルタからの上記単位時間毎の出力信号を1つおきに間引く間引き回路と
を備え、
上記FIRフィルタは、
上記中心よりも前段側の所定のタップからの出力信号と上記中心よりも後段側の所定のタップからの出力信号とを加算する第1加算部と、上記第1加算部の出力に対応する上記フィルタ係数を上記第1加算部の出力に乗算する乗算部と、上記乗算部の出力に基づいて所定の帯域制限された出力信号を上記単位時間毎に出力する帯域制限出力部とを含み、
上記間引き回路は、
上記FIRフィルタの上記帯域制限出力部からの上記単位時間毎の出力信号を1つおきに間引くことによって、上記所定の帯域制限された出力信号を上記サンプリング周波数の1/2に周波数変換して出力することを特徴とする。
In order to solve the above problems, a signal processing circuit according to the present invention provides:
A first delay section having M (M is an integer of 3 or more) delay elements connected in series and having M + 1 taps for sequentially shifting an input signal inputted per unit time based on the sampling frequency by the delay elements. When M is an odd number, the value of the filter coefficient is symmetric with the (M + 1) / 2th delay element as the center, and when M is an even number, the M / 2 + 1th tap is the center. An FIR filter;
A thinning circuit that thins out every other output signal per unit time from the FIR filter,
The FIR filter is
A first adder for adding an output signal from a predetermined tap upstream of the center and an output signal from a predetermined tap downstream of the center; and the output corresponding to the output of the first adder A multiplier that multiplies the output of the first adder by a filter coefficient; and a band-limited output unit that outputs a predetermined band-limited output signal per unit time based on the output of the multiplier;
The decimation circuit is
By thinning out every other output signal per unit time from the band limited output unit of the FIR filter, the predetermined band limited output signal is frequency-converted to ½ the sampling frequency and output. It is characterized by doing.
上記構成の信号処理回路によれば、M個(Mは3以上の整数)の遅延素子が直列に接続された第1遅延部を有し、フィルタ係数の値が対称であるFIRフィルタの第1加算部と乗算部と帯域制限出力部により、所定の帯域制限された出力信号をサンプリング周波数に基づく単位時間毎に出力する。そして、上記FIRフィルタの帯域制限出力部からの上記単位時間毎の出力信号を、間引き回路により1つおきに間引くことによって、上記所定の帯域制限された出力信号を上記サンプリング周波数の1/2に周波数変換して出力する。これによって、従来は2つの別々の加算器で加算処理していた特定の連続する2個のタップの出力の加算処理を1つの加算器で行うことによって、加算器の数を削減できる。したがって、FIRフィルタを用いた信号処理回路において、FIRフィルタのフィルタ係数に関わらず、構成を簡略化して回路規模を削減できる。 According to the signal processing circuit having the above configuration, the first delay unit of the FIR filter having the first delay unit in which M (M is an integer of 3 or more) delay elements are connected in series and the filter coefficient values are symmetric. The adder, multiplier, and band-limited output unit output a predetermined band-limited output signal for each unit time based on the sampling frequency. Then, every other unit of the output signal from the band-limited output unit of the FIR filter is thinned out by the decimation circuit, so that the predetermined band-limited output signal is reduced to ½ of the sampling frequency. Frequency-converted and output. As a result, the number of adders can be reduced by performing addition processing of the outputs of specific two consecutive taps, which has conventionally been added by two separate adders, with one adder. Therefore, in the signal processing circuit using the FIR filter, the configuration can be simplified and the circuit scale can be reduced regardless of the filter coefficient of the FIR filter.
また、一実施形態の信号処理回路は、
上記FIRフィルタの上記第1遅延部は、4m−1個(mは1以上の整数)の上記遅延素子が直列に接続され、
上記FIRフィルタは、
上記単位時間毎の時刻Tn(nは1以上の整数)において、nが偶数のときは上記第1遅延部の(2m+2k)番目(k=1(m=1のとき)またはk=1,2(m=2のとき)またはk=1,…,m−1,m(m≧3のとき))のタップからの出力信号を選択して出力する一方、nが奇数のときは上記第1遅延部の(2m+2k−2)番目のタップからの出力信号を選択して出力する第1信号選択部を含み、
上記FIRフィルタの上記第1加算部は、上記第1遅延部の(2m−2k+1)番目のタップからの出力信号と、上記第1信号選択部からのnが偶数のときの上記第1遅延部の(2m+2k)番目のタップの出力信号かまたは上記第1信号選択部からのnが奇数のときの上記第1遅延部の(2m+2k−2)番目のタップの出力信号とを加算して、第(m−k+1)番目の加算信号を出力し、
上記FIRフィルタの上記乗算部は、上記第1加算部からの上記第(m−k+1)番目の加算信号に第(2m−2k+1)番目の上記フィルタ係数を乗算して第(2m−2k+1)番目の乗算信号を出力すると共に、上記第1加算部からの上記第(m−k+1)番目の加算信号に第(2m−2k+2)番目の上記フィルタ係数を乗算して第(2m−2k+2)番目の乗算信号を出力し、
さらに、上記FIRフィルタは、
mが1の場合は、上記時刻Tnにおいて、nが偶数のときは上記乗算部からの第1番目の乗算信号を選択して出力する一方、nが奇数のときは第2番目の乗算信号を選択して出力し、mが2以上の場合は、上記時刻Tnにおいて、nが偶数のときは上記乗算部からの第(2m−2k+1)番目の乗算信号を選択する一方、nが奇数のときは第(2m−2k+2)番目の乗算信号を選択して、選択された各乗算信号を加算して出力する第2信号選択部を含み、
上記FIRフィルタの上記帯域制限出力部は、上記第2信号選択部からの出力信号を上記単位時間だけ遅延させる第2遅延部と、上記第2信号選択部からの出力信号と上記第2遅延部からの出力信号とを加算する第2加算部とを有し、
上記間引き回路は、
上記時刻Tnにおいて、nが奇数のときは上記第2加算部からの出力信号を間引く一方、nが偶数のときは上記第2加算部からの出力信号を出力する。
In addition, the signal processing circuit of one embodiment
In the first delay unit of the FIR filter, 4m−1 (m is an integer of 1 or more) the delay elements are connected in series,
The FIR filter is
At time Tn per unit time (n is an integer equal to or greater than 1), when n is an even number, (2m + 2k) th (k = 1 (when m = 1) or k = 1,2 of the first delay unit) (when m = 2) or k = 1,..., m−1, m (when m ≧ 3)), the output signal is selected and output, while when n is an odd number, the first A first signal selection unit that selects and outputs an output signal from the (2m + 2k-2) th tap of the delay unit;
The first adder of the FIR filter includes the first delay unit when the output signal from the (2m-2k + 1) -th tap of the first delay unit and n from the first signal selection unit are an even number. Or the output signal of the (2m + 2k) th tap of the first delay unit when n from the first signal selection unit is an odd number. outputs the (m−k + 1) th addition signal,
The multiplication unit of the FIR filter multiplies the (m−k + 1) th addition signal from the first addition unit by the (2m−2k + 1) th filter coefficient, and (2m−2k + 1) th. The (m−k + 1) th addition signal from the first adder is multiplied by the (2m−2k + 2) th filter coefficient to multiply the (2m−2k + 2) th filter signal. Outputs the multiplication signal,
Furthermore, the FIR filter is
When m is 1, at time Tn, when n is an even number, the first multiplication signal from the multiplication unit is selected and output, while when n is an odd number, the second multiplication signal is output. When m is 2 or more, at time Tn, when n is an even number, the (2m-2k + 1) -th multiplication signal from the multiplication unit is selected while n is an odd number. Includes a second signal selection unit that selects the (2m-2k + 2) th multiplication signal, adds the selected multiplication signals, and outputs the result.
The band-limited output unit of the FIR filter includes a second delay unit that delays an output signal from the second signal selection unit by the unit time, an output signal from the second signal selection unit, and the second delay unit. A second adder for adding the output signal from
The decimation circuit is
At time Tn, when n is an odd number, the output signal from the second adder is thinned out. When n is an even number, the output signal from the second adder is output.
上記実施形態の信号処理回路によれば、上記FIRフィルタの第1遅延部が、4m−1個(mは1以上の整数)の遅延素子が直列に接続された構成の信号処理回路において、構成を簡略化して回路規模を削減できる。 According to the signal processing circuit of the above embodiment, the first delay unit of the FIR filter is configured in the signal processing circuit having a configuration in which 4m−1 delay elements (m is an integer of 1 or more) are connected in series. Can be simplified and the circuit scale can be reduced.
また、一実施形態の信号処理回路は、
上記FIRフィルタの上記第1遅延部は、4m個(mは1以上の整数)の上記遅延素子が直列に接続され、
上記FIRフィルタは、
上記単位時間毎の時刻Tn(nは1以上の整数)において、nが偶数のときは上記第1遅延部の(2m+2k+1)番目(k=1(m=1のとき)またはk=1,2(m=2のとき)またはk=1,…,m−1,m(m≧3のとき))のタップからの出力信号を選択して出力する一方、nが奇数のときは上記第1遅延部の(2m+2k−1)番目のタップからの出力信号を選択して出力する第1信号選択部を含み、
上記FIRフィルタの上記第1加算部は、上記第1遅延部の(2m−2k+1)番目のタップからの出力信号と、上記第1信号選択部からのnが偶数のときの上記第1遅延部の(2m+2k+1)番目のタップの出力信号かまたは上記第1信号選択部からのnが奇数のときの上記第1遅延部の(2m+2k−1)番目のタップの出力信号とを加算して、第(m−k+1)番目の加算信号を出力し、
上記FIRフィルタの上記乗算部は、上記第1加算部からの上記第(m−k+1)番目の加算信号に第(2m−2k+1)番目の上記フィルタ係数を乗算して第(2m−2k+1)番目の乗算信号を出力すると共に、上記第1加算部からの上記第(m−k+1)番目の加算信号に第(2m−2k+2)番目の上記フィルタ係数を乗算して第(2m−2k+2)番目の乗算信号を出力する第1乗算部と、上記第1遅延部の(2m+1)番目のタップからの出力信号に第(2m+1)番目の上記フィルタ係数を乗算して第(2m+1)番目の乗算信号を出力する第2乗算部とを含み、
さらに、上記FIRフィルタは、
mが1の場合は、上記時刻Tnにおいて、nが偶数のときは上記第1乗算部からの第1番目の乗算信号を選択して出力する一方、nが奇数のときは第2番目の乗算信号を選択して出力し、mが2以上の場合は、上記時刻Tnにおいて、nが偶数のときは上記第1乗算部からの第(2m−2k+1)番目の乗算信号を選択する一方、nが奇数のときは第(2m−2k+2)番目の乗算信号を選択して、選択された各乗算信号を加算して出力する第2信号選択部と、
上記時刻Tnにおいて、nが偶数のときは上記第2乗算部からの上記第(2m+1)番目の乗算信号を選択する一方、nが奇数のときは定数0を表す信号を選択して、選択された信号と上記第2信号選択部からの出力信号とを加算して出力する第3信号選択部とを含み、
上記FIRフィルタの上記帯域制限出力部は、上記第3信号選択部からの出力信号を上記単位時間だけ遅延させる第2遅延部と、上記第3信号選択部からの出力信号と上記第2遅延部からの出力信号とを加算する第2加算部とを有し、
上記間引き回路は、
上記時刻Tnにおいて、nが奇数のときは上記第2加算部からの出力信号を間引く一方、nが偶数のときは上記第2加算部からの出力信号を出力する。
In addition, the signal processing circuit of one embodiment
In the first delay unit of the FIR filter, 4m (m is an integer of 1 or more) the delay elements are connected in series,
The FIR filter is
At time Tn per unit time (n is an integer equal to or greater than 1), when n is an even number, (2m + 2k + 1) -th (k = 1 (when m = 1)) or k = 1,2 of the first delay unit (when m = 2) or k = 1,..., m−1, m (when m ≧ 3)), the output signal is selected and output, while when n is an odd number, the first A first signal selection unit that selects and outputs an output signal from the (2m + 2k−1) -th tap of the delay unit;
The first adder of the FIR filter includes the first delay unit when the output signal from the (2m-2k + 1) -th tap of the first delay unit and n from the first signal selection unit are an even number. Or the output signal of the (2m + 2k + 1) th tap of the first delay unit when n from the first signal selection unit is an odd number, and the output signal of the (2m + 2k + 1) th tap of outputs the (m−k + 1) th addition signal,
The multiplication unit of the FIR filter multiplies the (m−k + 1) th addition signal from the first addition unit by the (2m−2k + 1) th filter coefficient, and (2m−2k + 1) th. The (m−k + 1) th addition signal from the first adder is multiplied by the (2m−2k + 2) th filter coefficient to multiply the (2m−2k + 2) th filter signal. A first multiplier for outputting a multiplication signal, and an output signal from the (2m + 1) th tap of the first delay unit is multiplied by the (2m + 1) th filter coefficient to obtain a (2m + 1) th multiplication signal. A second multiplier for outputting,
Furthermore, the FIR filter is
When m is 1, at time Tn, when n is an even number, the first multiplication signal from the first multiplication unit is selected and output, while when n is an odd number, the second multiplication is performed. When m is equal to or greater than 2, when m is equal to or greater than 2, when n is an even number, the (2m-2k + 1) th multiplication signal from the first multiplication unit is selected, while n A second signal selection unit that selects the (2m−2k + 2) th multiplication signal when the number is an odd number, and adds and outputs the selected multiplication signals;
At time Tn, when n is an even number, the (2m + 1) th multiplication signal from the second multiplication unit is selected, and when n is an odd number, a signal representing a constant 0 is selected and selected. A third signal selection unit that adds and outputs the output signal from the second signal selection unit,
The band-limited output unit of the FIR filter includes a second delay unit that delays an output signal from the third signal selection unit by the unit time, an output signal from the third signal selection unit, and the second delay unit. A second adder for adding the output signal from
The decimation circuit is
At time Tn, when n is an odd number, the output signal from the second adder is thinned out. When n is an even number, the output signal from the second adder is output.
上記実施形態の信号処理回路によれば、上記FIRフィルタの第1遅延部が、4m個(mは1以上の整数)の遅延素子が直列に接続された構成の信号処理回路において、構成を簡略化して回路規模を削減できる。 According to the signal processing circuit of the above embodiment, the configuration of the first delay unit of the FIR filter is simplified in the signal processing circuit in which 4m delay elements (m is an integer of 1 or more) are connected in series. Circuit scale can be reduced.
また、一実施形態の信号処理回路は、
上記FIRフィルタの上記第1遅延部は、4m+1個(mは1以上の整数)の上記遅延素子が直列に接続され、
上記FIRフィルタは、
上記単位時間毎の時刻Tn(nは1以上の整数)において、nが偶数のときは上記第1遅延部の(2m+2k+2)番目(k=1(m=1のとき)またはk=1,2(m=2のとき)またはk=1,…,m−1,m(m≧3のとき))のタップからの出力信号を選択して出力する一方、nが奇数のときは上記第1遅延部の(2m+2k)番目のタップからの出力信号を選択して出力する第1信号選択部を含み、
上記FIRフィルタの上記第1加算部は、上記第1遅延部の(2m−2k+1)番目のタップからの出力信号と、上記第1信号選択部からのnが偶数のときの上記第1遅延部の(2m+2k+2)番目のタップの出力信号かまたは上記第1信号選択部からのnが奇数のときの上記第1遅延部の(2m+2k)番目のタップの出力信号とを加算して、第(m−k+1)番目の加算信号を出力し、
上記FIRフィルタの上記乗算部は、上記第1加算部からの上記第(m−k+1)番目の加算信号に第(2m−2k+1)番目の上記フィルタ係数を乗算して第(2m−2k+1)番目の乗算信号を出力すると共に、上記第1加算部からの上記第(m−k+1)番目の加算信号に第(2m−2k+2)番目の上記フィルタ係数を乗算して第(2m−2k+2)番目の乗算信号を出力する第1乗算部と、上記第1遅延部の(2m+1)番目のタップからの出力信号に第(2m+1)番目の上記フィルタ係数を乗算して第(2m+1)番目の乗算信号を出力する第2乗算部とを有し、
さらに、上記FIRフィルタは、
mが1の場合は、上記時刻Tnにおいて、nが偶数のときは上記第1乗算部からの第1番目の乗算信号を選択して出力する一方、nが奇数のときは第2番目の乗算信号を選択して出力し、mが2以上の場合は、上記時刻Tnにおいて、nが偶数のときは上記第1乗算部からの第(2m−2k+1)番目の乗算信号を選択する一方、nが奇数のときは第(2m−2k+2)番目の乗算信号を選択して、選択された各乗算信号を加算して出力する第2信号選択部と、
上記第2信号選択部からの出力信号と上記第2乗算部からの上記第(2m+1)番目の乗算信号を加算して出力する第2加算部とを含み、
上記FIRフィルタの上記帯域制限出力部は、上記第2加算部からの出力信号を上記単位時間だけ遅延させる第2遅延部と、上記第2加算部からの出力信号と上記第2遅延部からの出力信号とを加算する第3加算部とを有し、
上記間引き回路は、
上記時刻Tnにおいて、nが奇数のときは上記第3加算部からの出力信号を間引く一方、nが偶数のときは上記第3加算部からの出力信号を出力する。
In addition, the signal processing circuit of one embodiment
The first delay unit of the FIR filter includes 4m + 1 (m is an integer of 1 or more) delay elements connected in series.
The FIR filter is
At time Tn per unit time (n is an integer equal to or greater than 1), when n is an even number, (2m + 2k + 2) th (k = 1 (when m = 1) or k = 1,2 of the first delay unit) (when m = 2) or k = 1,..., m−1, m (when m ≧ 3)), the output signal is selected and output, while when n is an odd number, the first A first signal selection unit that selects and outputs an output signal from the (2m + 2k) th tap of the delay unit;
The first adder of the FIR filter includes the first delay unit when the output signal from the (2m-2k + 1) -th tap of the first delay unit and n from the first signal selection unit are an even number. The (2m + 2k + 2) -th tap output signal or the (2m + 2k) -th tap output signal of the first delay unit when n is an odd number from the first signal selection unit is added to the (m -K + 1) output the added signal,
The multiplication unit of the FIR filter multiplies the (m−k + 1) th addition signal from the first addition unit by the (2m−2k + 1) th filter coefficient, and (2m−2k + 1) th. The (m−k + 1) th addition signal from the first adder is multiplied by the (2m−2k + 2) th filter coefficient to multiply the (2m−2k + 2) th filter signal. A first multiplier for outputting a multiplication signal, and an output signal from the (2m + 1) th tap of the first delay unit is multiplied by the (2m + 1) th filter coefficient to obtain a (2m + 1) th multiplication signal. A second multiplier for outputting,
Furthermore, the FIR filter is
When m is 1, at time Tn, when n is an even number, the first multiplication signal from the first multiplication unit is selected and output, while when n is an odd number, the second multiplication is performed. When m is equal to or greater than 2, when m is equal to or greater than 2, when n is an even number, the (2m-2k + 1) th multiplication signal from the first multiplication unit is selected, while n A second signal selection unit that selects the (2m−2k + 2) th multiplication signal when the number is an odd number, and adds and outputs the selected multiplication signals;
A second adder that adds the output signal from the second signal selector and the (2m + 1) -th multiplied signal from the second multiplier and outputs the result.
The band-limited output unit of the FIR filter includes a second delay unit that delays the output signal from the second adder unit by the unit time, an output signal from the second adder unit, and a second delay unit. A third adder for adding the output signal;
The decimation circuit is
At time Tn, when n is an odd number, the output signal from the third adder is thinned out. When n is an even number, the output signal from the third adder is output.
上記実施形態の信号処理回路によれば、上記FIRフィルタの第1遅延部が、4m+1個(mは1以上の整数)の遅延素子が直列に接続された構成の信号処理回路において、構成を簡略化して回路規模を削減できる。 According to the signal processing circuit of the above embodiment, the configuration of the first delay unit of the FIR filter is simplified in the signal processing circuit in which 4m + 1 delay elements (m is an integer of 1 or more) are connected in series. Circuit scale can be reduced.
また、一実施形態の信号処理回路は、
上記FIRフィルタの上記第1遅延部は、4m+2個(mは1以上の整数)の上記遅延素子が直列に接続され、
上記FIRフィルタは、
上記単位時間毎の時刻Tn(nは1以上の整数)において、nが偶数のときは上記第1遅延部の(2m+2k+3)番目(k=1(m=1のとき)またはk=1,2(m=2のとき)またはk=1,…,m−1,m(m≧3のとき))のタップからの出力信号を選択して出力する一方、nが奇数のときは上記第1遅延部の(2m+2k+1)番目のタップからの出力信号を選択して出力する第1信号選択部と、
上記FIRフィルタの上記第1加算部は、上記第1遅延部の(2m−2k+1)番目のタップからの出力信号と、上記第1信号選択部からのnが偶数のときの上記第1遅延部の(2m+2k+3)番目のタップの出力信号かまたは上記第1信号選択部からのnが奇数のときの上記第1遅延部の(2m+2k+1)番目のタップの出力信号とを加算して、第(m−k+1)番目の加算信号を出力すると共に、上記第1遅延部の(2m+1)番目のタップからの出力信号と上記第1遅延部の(2m+3)番目のタップからの出力信号とを加算して、第(m+1)番目の加算信号を出力し、
上記FIRフィルタの上記乗算部は、上記第1加算部からの上記第(m−k+1)番目の加算信号に第(2m−2k+1)番目の上記フィルタ係数を乗算して第(2m−2k+1)番目の乗算信号を出力すると共に、上記第1加算部からの上記第(m−k+1)番目の加算信号に第(2m−2k+2)番目の上記フィルタ係数を乗算して第(2m−2k+2)番目の乗算信号を出力する第1乗算部と、上記第1加算部からの上記第(m+1)番目の加算信号に第(2m+1)番目の上記フィルタ係数を乗算して第(2m+1)番目の乗算信号を出力すると共に、上記第1遅延部の(2m+1)番目のタップからの出力信号に第(2m+2)番目の上記フィルタ係数を乗算して第(2m+2)番目の乗算信号を出力する第2乗算部とを有し、
さらに、上記FIRフィルタは、
mが1の場合は、上記時刻Tnにおいて、nが偶数のときは上記乗算部からの第1番目の乗算信号を選択して出力する一方、nが奇数のときは第2番目の乗算信号を選択して出力し、mが2以上の場合は、上記時刻Tnにおいて、nが偶数のときは上記乗算部からの第(2m−2k+1)番目の乗算信号を選択する一方、nが奇数のときは第(2m−2k+2)番目の乗算信号を選択して、選択された各乗算信号を加算して出力する第2信号選択部と、
上記時刻Tnにおいて、nが偶数のときは上記第2乗算部からの第(2m+1)番目の乗算信号を選択する一方、nが奇数のときは上記第2乗算部からの第(2m+2)番目の乗算信号を選択して、選択された信号と上記第2信号選択部からの出力信号とを加算して出力する第3信号選択部とを含み、
上記FIRフィルタの上記帯域制限出力部は、上記第3信号選択部からの出力信号を上記単位時間だけ遅延させる第2遅延部と、上記第3信号選択部からの出力信号と上記第2遅延部からの出力信号とを加算する第2加算部とを有し、
上記間引き回路は、
上記時刻Tnにおいて、nが奇数のときは上記第2加算部からの出力信号を間引く一方、nが偶数のときは上記第2加算部からの出力信号を出力する。
In addition, the signal processing circuit of one embodiment
In the first delay unit of the FIR filter, 4m + 2 (m is an integer of 1 or more) the delay elements are connected in series,
The FIR filter is
At time Tn per unit time (n is an integer equal to or greater than 1), when n is an even number, (2m + 2k + 3) th (k = 1 (when m = 1) or k = 1,2 of the first delay unit) (when m = 2) or k = 1,..., m−1, m (when m ≧ 3)), the output signal is selected and output, while when n is an odd number, the first A first signal selection unit that selects and outputs an output signal from the (2m + 2k + 1) -th tap of the delay unit;
The first adder of the FIR filter includes the first delay unit when the output signal from the (2m-2k + 1) -th tap of the first delay unit and n from the first signal selection unit are an even number. The (2m + 2k + 1) -th tap output signal or the (2m + 2k + 1) -th tap output signal of the first delay unit when n from the first signal selection unit is an odd number is added, and the (m -K + 1) output the addition signal and add the output signal from the (2m + 1) th tap of the first delay unit and the output signal from the (2m + 3) th tap of the first delay unit , Output the (m + 1) th addition signal,
The multiplication unit of the FIR filter multiplies the (m−k + 1) th addition signal from the first addition unit by the (2m−2k + 1) th filter coefficient, and (2m−2k + 1) th. The (m−k + 1) th addition signal from the first adder is multiplied by the (2m−2k + 2) th filter coefficient to multiply the (2m−2k + 2) th filter signal. A first multiplier that outputs a multiplication signal, and a (2m + 1) th multiplication signal by multiplying the (m + 1) th addition signal from the first addition unit by the (2m + 1) th filter coefficient. A second multiplier that outputs and outputs the (2m + 2) th multiplied signal by multiplying the output signal from the (2m + 1) th tap of the first delay unit by the (2m + 2) th filter coefficient Have
Furthermore, the FIR filter is
When m is 1, at time Tn, when n is an even number, the first multiplication signal from the multiplication unit is selected and output, while when n is an odd number, the second multiplication signal is output. When m is 2 or more, at time Tn, when n is an even number, the (2m-2k + 1) -th multiplication signal from the multiplication unit is selected while n is an odd number. Selects a (2m-2k + 2) th multiplication signal, adds the selected multiplication signals, and outputs the second signal selection unit;
At time Tn, when n is an even number, the (2m + 1) th multiplication signal from the second multiplication unit is selected, while when n is an odd number, the (2m + 2) th multiplication signal from the second multiplication unit is selected. A third signal selection unit that selects the multiplication signal, adds the selected signal and the output signal from the second signal selection unit, and outputs the added signal;
The band-limited output unit of the FIR filter includes a second delay unit that delays an output signal from the third signal selection unit by the unit time, an output signal from the third signal selection unit, and the second delay unit. A second adder for adding the output signal from
The decimation circuit is
At time Tn, when n is an odd number, the output signal from the second adder is thinned out. When n is an even number, the output signal from the second adder is output.
上記実施形態の信号処理回路によれば、上記FIRフィルタの第1遅延部が、4m+2個(mは1以上の整数)の遅延素子が直列に接続された構成の信号処理回路において、構成を簡略化して回路規模を削減できる。 According to the signal processing circuit of the above embodiment, the configuration of the first delay unit of the FIR filter is simplified in the signal processing circuit in which 4m + 2 (m is an integer of 1 or more) delay elements are connected in series. Circuit scale can be reduced.
以上より明らかなように、この発明の信号処理回路によれば、FIRフィルタを用いた信号処理回路において、FIRフィルタのフィルタ係数に関わらず、構成を簡略化して回路規模を削減できる信号処理回路を実現することができる。 As is apparent from the above, according to the signal processing circuit of the present invention, in the signal processing circuit using the FIR filter, the signal processing circuit capable of simplifying the configuration and reducing the circuit scale regardless of the filter coefficient of the FIR filter. Can be realized.
以下、この発明の信号処理回路を図示の実施の形態により詳細に説明する。 The signal processing circuit of the present invention will be described in detail below with reference to the illustrated embodiments.
(第1実施形態)
図1Aはこの発明の第1実施形態の信号処理回路の構成を示している。図1Aに示す信号処理回路は、4m−1個(m=2)の遅延素子が直列に接続された第1遅延部を有するFIRフィルタを備えている。この第1実施形態のFIRフィルタは、4番目の遅延素子を中心としてフィルタ係数の値が対称である。
(First embodiment)
FIG. 1A shows the configuration of a signal processing circuit according to the first embodiment of the present invention. The signal processing circuit shown in FIG. 1A includes an FIR filter having a first delay unit in which 4m−1 (m = 2) delay elements are connected in series. In the FIR filter according to the first embodiment, the filter coefficient values are symmetric about the fourth delay element.
図1Aに示す信号処理回路は、8タップのFIRフィルタ1と1/2間引き回路51で構成されており、外部から入力部54に入力されたデータに対して、1/2ダウンサンプリングのサンプリング周波数変換(fs変換)を行った信号を出力部55から外部へ出力するfs変換回路である。
The signal processing circuit shown in FIG. 1A is composed of an 8-
以下に図1Aに示す信号処理回路の構成および動作を詳細に説明する。 The configuration and operation of the signal processing circuit shown in FIG. 1A will be described in detail below.
まず、FIRフィルタ1Aの構成について説明する。FIRフィルタ1Aは、7個の連続する遅延素子の一例としてのフリップフロップD1〜D7と、第1信号選択部の一例としてのセレクタ41,42と、第1加算部の一例としての加算器21,22と、乗算部の一例としての乗算器31〜34と、セレクタ43,44と、加算器26と、第2遅延部の一例としてのフリップフロップD101と、第2加算部の一例としての加算器52とを備えている。
First, the configuration of the
上記フリップフロップD1〜D7で第1遅延部を構成している。上記セレクタ43,44と加算器26で第2信号選択部を構成している。さらに、上記フリップフロップD101と加算器52で帯域制限出力部を構成している。
The flip-flops D1 to D7 constitute a first delay unit. The
上記FIRフィルタ1Aにおいて、第1遅延部の入力側の1番目のタップを加算器21の一方の入力端子に接続し、3番目のタップを加算器22の一方の入力端子に接続している。
In the
また、4番目のタップをセレクタ41の入力端子Aに接続し、6番目のタップをセレクタ41の入力端子Bに接続し、セレクタ41の出力端子OPを加算器22の他方の入力端子に接続している。また、6番目のタップをセレクタ42の入力端子Aに接続し、8番目のタップをセレクタ42の入力端子Bに接続し、セレクタ42の出力端子OPを加算器21の他方の入力端子に接続している。
The fourth tap is connected to the input terminal A of the
また、上記加算器21の出力端子を、乗算器31,32の夫々の入力端子に接続すると共に、加算器22の出力端子を、乗算器33,34の夫々の入力端子に接続している。
The output terminal of the
上記乗算器31の出力端子をセレクタ43の入力端子Bに接続し、乗算器32の出力端子をセレクタ43の入力端子Aに接続している。また、上記乗算器33の出力端子をセレクタ44の入力端子Bに接続し、乗算器34の出力端子をセレクタ44の入力端子Aに接続している。
The output terminal of the
上記セレクタ43の出力端子OPを加算器26の一方の入力端子に接続し、セレクタ44の出力端子OPを加算器26の他方の入力端子に接続している。さらに、上記加算器26の出力端子を、フリップフロップD101の入力端子および加算器52の一方の入力端子に接続している。上記フリップフロップD101の出力端子を加算器52の他方の入力端子に接続している。そして、上記加算器52の出力端子を1/2間引き回路51の入力端子に接続している。
The output terminal OP of the
なお、セレクタ41〜44は、AおよびBの2個の入力端子と1個の出力端子OPを有しており、外部から与えられる切換え制御信号(図示しない)の設定により、2個の入力端子から入力される信号のうちAまたはBのいずれか一方の入力信号を選択し、出力端子OPに出力する出力切換えスイッチの機能を有するセレクタである。
The
また、乗算器31〜34は、乗算器に入力される信号に対して、FIRフィルタの係数としてそれぞれ、a1、a2、a3、a4を乗算した結果を出力する。
Further, the
なお、ここで、係数a1、a2、a3、a4は任意の実数であり、図8に示す従来の技術におけるフィルタ係数のように一部が「0」である必要はない。 Here, the coefficients a1, a2, a3, and a4 are arbitrary real numbers, and some of the coefficients need not be “0” as in the conventional filter coefficient shown in FIG.
次に、FIRフィルタ1Aの動作について説明する。
Next, the operation of the
外部から入力部54にデータd1、d2、…、d8、d9、d10、…、dn、…を単位時間ごとに順次入力されると、ある時刻T1において各タップの出力は図1Aに示すように右から順に、d1、d2、…、d8となる。
なお、時刻Tnにおける各セレクタ41〜44の切換え設定は、nが奇数のときは入力端子Aからの入力を選択し出力端子OPから出力するように設定し、nが偶数の時はBからの入力を選択し出力端子OPから出力するように設定する。
Note that switching settings of the
ここで、時刻Tnのときの加算器26の出力をG(Tn)とすると、時刻T1では、セレクタ41〜44はAの入力が選択されるから、時刻T1の加算器26の出力G(T1)は次の式で表せる。
G(T1)= a2(d8+d3)
+a4(d6+d5)
次に、時刻T2の時、セレクタ41〜44はBの入力が選択されるから、加算器26の出力G(T2)は次の式で表せる。
G(T2)= a1(d9+d2)
+a3(d7+d4)
次に、時刻T3のとき、セレクタ41〜44はAの入力が選択されるから、加算器26の出力G(T3)は次の式で表せる。
G(T3)= a2(d10+d5)
+a4(d8+d7)
また、時刻TnのときのFIRフィルタ1Aの出力F(Tn)は、加算器26の出力G(Tn)と、フリップフロップD101の出力G(Tn−1)が加算器52で加算されたものであるから、F(Tn)は次の式で表される。
F(Tn)=G(Tn−1)+G(Tn)
したがって、時刻T2および時刻T3でのFIRフィルタ1Aの出力はそれぞれ次の式で表せる。
F(T2)=G(T1)+G(T2)
= a1(d9+d2)
+a2(d8+d3)
+a3(d7+d4)
+a4(d6+d5)
F(T3)=G(T2)+G(T3)
= a1(d9+d2)
+a2(d10+d5)
+a3(d7+d4)
+a4(d8+d7)
Here, if the output of the
G (T 1 ) = a2 (d 8 + d 3 )
+ A4 (d 6 + d 5 )
Next, at time T 2, the selector 41-44 from input B is selected, the output G (T 2) of the
G (T 2 ) = a1 (d 9 + d 2 )
+ A3 (d 7 + d 4 )
Next, at time T 3 , the
G (T 3 ) = a2 (d 10 + d 5 )
+ A4 (d 8 + d 7 )
The output F (T n ) of the
F ( Tn ) = G ( Tn-1 ) + G ( Tn )
Accordingly, the output of the
F (T 2 ) = G (T 1 ) + G (T 2 )
= A1 (d 9 + d 2 )
+ A2 (d 8 + d 3 )
+ A3 (d 7 + d 4 )
+ A4 (d 6 + d 5 )
F (T 3 ) = G (T 2 ) + G (T 3 )
= A1 (d 9 + d 2 )
+ A2 (d 10 + d 5 )
+ A3 (d 7 + d 4 )
+ A4 (d 8 + d 7 )
つまり、F(Tn)は次の式で表される。ただし、nが偶数の場合と奇数の場合とでセレクタ41〜44の設定が異なるので、nの値により2通りに分けられる。
[nが偶数のとき]
F(Tn)= a1(dn+7+dn)
+a2(dn+6+dn+1)
+a3(dn+5+dn+2)
+a4(dn+4+dn+3) ……… [式2]
[nが奇数のとき]
F(Tn)= a1(dn+6+dn−1)
+a2(dn+7+dn+2)
+a3(dn+4+dn+1)
+a4(dn+5+dn+4) ……… [式3]
したがって、FIRフィルタ1Aの出力F(Tn)としては、[式2]の演算結果と[式3]の演算結果とが、単位時刻ごとに交互に出力される。
That is, F (T n ) is expressed by the following equation. However, since the settings of the
[When n is an even number]
F (T n ) = a1 (d n + 7 + d n )
+ A2 (dn + 6 + dn + 1 )
+ A3 (dn + 5 + dn + 2 )
+ A4 (dn + 4 + dn + 3 ) ... [Formula 2]
[When n is an odd number]
F ( Tn ) = a1 (dn + 6 + dn -1 )
+ A2 (dn + 7 + dn + 2 )
+ A3 (dn + 4 + dn + 1 )
+ A4 (dn + 5 + dn + 4 ) ... [Formula 3]
Therefore, as the output F (T n ) of the
次に、図1Aの1/2間引き回路51の動作について説明する。
Next, the operation of the ½ thinning
1/2間引き回路51には、FIRフィルタ1Aからの出力データF(Tn)が単位時間ごとに1個ずつ連続して入力される。この入力されるデータF(Tn)に対して、連続する2個のデータのうち1個を間引き、残りの1個のデータはそのまま出力する。ここで、データを間引くときはnが奇数のときのF(Tn)を間引く。したがって、1/2間引き回路51は、[式2]に示した、F(Tn)、F(Tn+2)、F(Tn+4)、F(Tn+6)、…(ただしnは偶数)のデータを、2単位時間ごとに1個ずつ順次出力する。
The output data F (T n ) from the
さらに、この1/2間引き回路51の出力は、図1Aの信号処理回路の出力として外部に出力される。
Further, the output of the 1/2 thinning
ここで、[式2]の演算結果は、従来の技術で説明した図6のfs変換回路に使用されているFIRフィルタの出力である[式1]と同じである。 Here, the calculation result of [Expression 2] is the same as [Expression 1], which is the output of the FIR filter used in the fs conversion circuit of FIG. 6 described in the related art.
したがって、この発明の第1実施形態の図1Aに示す信号処理回路は、図6に示すfs変換回路と同様に外部からの入力データに対して、1/2ダウンサンプリングのfs変換を行ったデータを出力するfs変換回路であることは明らかである。 Therefore, the signal processing circuit shown in FIG. 1A according to the first embodiment of the present invention is data obtained by performing 1/2 downsampling fs conversion on input data from the outside in the same manner as the fs conversion circuit shown in FIG. It is obvious that this is an fs conversion circuit that outputs.
なお、上記図1Aに示す信号処理回路では、4m−1個(m=2)の遅延素子が直列に接続された第1遅延部を有するFIRフィルタを備えた信号処理回路について説明したが、4m−1個(mが1または3以上)の遅延素子が直列に接続された第1遅延部を有するFIRフィルタを備えた信号処理回路にこの発明を適用してもよい。 In the signal processing circuit shown in FIG. 1A, the signal processing circuit including the FIR filter having the first delay unit in which 4m−1 (m = 2) delay elements are connected in series has been described. The present invention may be applied to a signal processing circuit including an FIR filter having a first delay section in which -1 delay elements (m is 1 or 3 or more) are connected in series.
この場合の信号処理回路の構成としては、
FIRフィルタは、
サンプリング周波数に基づく単位時間毎の時刻Tn(nは1以上の整数)において、nが偶数のときは第1遅延部の(2m+2k)番目(k=1(m=1のとき)またはk=1,2(m=2のとき)またはk=1,…,m−1,m(m≧3のとき))のタップからの出力信号を選択して出力する一方、nが奇数のときは第1遅延部の(2m+2k−2)番目のタップからの出力信号を選択して出力する第1信号選択部を含み、
FIRフィルタの第1加算部は、第1遅延部の(2m−2k+1)番目のタップからの出力信号と、第1信号選択部からのnが偶数のときの第1遅延部の(2m+2k)番目のタップの出力信号かまたは第1信号選択部からのnが奇数のときの第1遅延部の(2m+2k−2)番目のタップの出力信号とを加算して、第(m−k+1)番目の加算信号を出力し、
FIRフィルタの乗算部は、第1加算部からの第(m−k+1)番目の加算信号に第(2m−2k+1)番目のフィルタ係数を乗算して第(2m−2k+1)番目の乗算信号を出力すると共に、第1加算部からの第(m−k+1)番目の加算信号に第(2m−2k+2)番目のフィルタ係数を乗算して第(2m−2k+2)番目の乗算信号を出力し、
さらに、FIRフィルタは、
mが1の場合は、時刻Tnにおいて、nが偶数のときは乗算部からの第1番目の乗算信号を選択して出力する一方、nが奇数のときは第2番目の乗算信号を選択して出力し、mが2以上の場合は、時刻Tnにおいて、nが偶数のときは乗算部からの第(2m−2k+1)番目の乗算信号を選択する一方、nが奇数のときは第(2m−2k+2)番目の乗算信号を選択して、選択された各乗算信号を加算して出力する第2信号選択部を含み、
FIRフィルタの帯域制限出力部は、第2信号選択部からの出力信号を単位時間だけ遅延させる第2遅延部と、第2信号選択部からの出力信号と第2遅延部からの出力信号とを加算する第2加算部とを有し、
間引き回路は、時刻Tnにおいて、nが奇数のときは第2加算部からの出力信号を間引く一方、nが偶数のときは第2加算部からの出力信号を出力するものであればよい。
As a configuration of the signal processing circuit in this case,
FIR filter
At time Tn per unit time based on the sampling frequency (n is an integer greater than or equal to 1), when n is an even number, (2m + 2k) th (k = 1 (when m = 1)) or k = 1 , 2 (when m = 2) or k = 1,..., M−1, m (when m ≧ 3)) are selected and output, while when n is an odd number, A first signal selection unit that selects and outputs an output signal from the (2m + 2k−2) th tap of the one delay unit;
The first adder of the FIR filter includes the output signal from the (2m-2k + 1) th tap of the first delay unit and the (2m + 2k) th of the first delay unit when n from the first signal selection unit is an even number. Or the output signal of the (2m + 2k−2) th tap of the first delay unit when n from the first signal selection unit is an odd number, and the (m−k + 1) th tap signal is added. Output the addition signal,
The multiplication unit of the FIR filter multiplies the (m−k + 1) th addition signal from the first addition unit by the (2m−2k + 1) th filter coefficient and outputs the (2m−2k + 1) th multiplication signal. And the (m−k + 1) th addition signal from the first addition unit is multiplied by the (2m−2k + 2) th filter coefficient to output the (2m−2k + 2) th multiplication signal.
Furthermore, the FIR filter
When m is 1, at time Tn, when n is an even number, the first multiplication signal from the multiplication unit is selected and output, while when n is an odd number, the second multiplication signal is selected. When m is 2 or more, at time Tn, when n is an even number, the (2m-2k + 1) -th multiplication signal from the multiplier is selected, while when n is an odd number, (2m -2k + 2) including a second signal selection unit that selects the multiplication signal, adds the selected multiplication signals, and outputs the result.
The band limited output unit of the FIR filter includes a second delay unit that delays the output signal from the second signal selection unit by a unit time, an output signal from the second signal selection unit, and an output signal from the second delay unit. A second adding unit for adding,
The thinning circuit may be any circuit that thins out the output signal from the second addition unit when n is an odd number at time Tn and outputs the output signal from the second addition unit when n is an even number.
例えば、図1Bには、4m−1個(m=3)の遅延素子が直列に接続された第1遅延部を有するFIRフィルタを備えた信号処理回路の構成を示している。この図1Bに示す信号処理回路は、タップ数が8から12に増加したことによるフィルタ特性の違いを除いて図1Aに示す信号処理回路と同様の効果を有する。 For example, FIG. 1B shows a configuration of a signal processing circuit including an FIR filter having a first delay unit in which 4m−1 (m = 3) delay elements are connected in series. The signal processing circuit shown in FIG. 1B has the same effect as the signal processing circuit shown in FIG. 1A except for the difference in filter characteristics due to the increase in the number of taps from 8 to 12.
図1Bに示す信号処理回路のFIRフィルタ1Bは、11個の連続する遅延素子の一例としてのフリップフロップD1〜D11と、第1信号選択部の一例としてのセレクタ41〜43と、第1加算部の一例としての加算器21〜23と、乗算部の一例としての乗算器31〜36と、セレクタ44〜46と、加算器26と、第2遅延部の一例としてのフリップフロップD101と、第2加算部の一例としての加算器52とを備えている。
The
上記フリップフロップD1〜D11で第1遅延部を構成している。上記セレクタ44〜46と加算器25,26で第2信号選択部を構成している。さらに、上記フリップフロップD101と加算器52で帯域制限出力部を構成している。
The flip-flops D1 to D11 constitute a first delay unit. The
(第2実施形態)
図2Aはこの発明の第2実施形態の信号処理回路の構成を示している。図2Aに示す信号処理回路は、4m個(m=2)の遅延素子が直列に接続された第1遅延部を有するFIRフィルタを備えている。この第2実施形態のFIRフィルタは、5番目のタップを中心としてフィルタ係数の値が対称である。
(Second Embodiment)
FIG. 2A shows a configuration of a signal processing circuit according to the second embodiment of the present invention. The signal processing circuit shown in FIG. 2A includes an FIR filter having a first delay unit in which 4m (m = 2) delay elements are connected in series. In the FIR filter of the second embodiment, the filter coefficient values are symmetric with the fifth tap as the center.
図2Aに示す信号処理回路は、9タップのFIRフィルタ2Aと1/2間引き回路51で構成されており、外部から入力部54に入力されたデータに対して、1/2ダウンサンプリングのサンプリング周波数変換(fs変換)を行った信号を出力部55から外部へ出力するfs変換回路である。
The signal processing circuit shown in FIG. 2A includes a 9-
以下に、図2Aに示す信号処理回路の構成および動作を詳細に説明する。 The configuration and operation of the signal processing circuit shown in FIG. 2A will be described in detail below.
まず、FIRフィルタ2Aの構成について説明する。FIRフィルタ2Aは、8個の連続する遅延素子の一例としてのフリップフロップD1〜8と、第1信号選択部の一例としてのセレクタ41,42と、第1加算部の一例としての加算器21,22と、乗算器31〜35と、セレクタ43〜45と、加算器25,26と、第2遅延部の一例としてのフリップフロップD101と、第2加算部の一例としての加算器52と、定数0を発生する手段である定数発生回路56とを備えている。
First, the configuration of the
上記フリップフロップD1〜8で第1遅延部を構成している。上記乗算器31〜34で第1乗算部を構成し、乗算器35で第2乗算部を構成している。上記セレクタ43,44と加算器25で第2信号選択部を構成している。上記セレクタ45と加算器26で第3信号選択部を構成している。さらに、上記フリップフロップD101と加算器52で帯域制限出力部を構成している。
The flip-flops D1 to 8 constitute a first delay unit. The
上記FIRフィルタ2Aにおいて、第1遅延部の入力側の1番目のタップを加算器21の一方の入力端子に接続し、3番目のタップを加算器22の一方の入力端子に接続している。
In the
また、5番目のタップをセレクタ41の入力端子Aに接続し、7番目のタップをセレクタ41の入力端子Bに接続し、セレクタ41の出力端子OPを加算器22の他方の入力端子に接続している。また、7番目のタップをセレクタ42の入力端子Aに接続し、9番目のタップをセレクタ42の入力端子Bに接続し、セレクタ42の出力端子OPを加算器21の他方の入力端子に接続している。
The fifth tap is connected to the input terminal A of the
また、上記加算器21の出力端子を、乗算器31,32の夫々の入力端子に接続すると共に、加算器22の出力端子を、乗算器33,34の夫々の入力端子に接続している。また、5番目のタップを乗算器35の入力端子に接続している。
The output terminal of the
上記乗算器31の出力端子をセレクタ43の入力端子Bに接続し、乗算器32の出力端子をセレクタ43の入力端子Aに接続している。また、上記乗算器33の出力端子をセレクタ44の入力端子Bに接続し、乗算器34の出力端子をセレクタ44の入力端子Aに接続している。上記セレクタ43の出力端子OPを加算器25の一方の入力端子に接続し、セレクタ44の出力端子OPを加算器25の他方の入力端子に接続している。
The output terminal of the
上記乗算器35の出力端子をセレクタ45の入力端子Bに接続し、定数発生回路56の出力端子をセレクタ45の入力端子Aに接続している。さらに、上記加算器25の出力端子を加算器26の一方の入力端子に接続し、セレクタ45の出力端子OPを加算器26の他方の入力端子に接続している。
The output terminal of the
上記加算器26の出力端子を、フリップフロップD101の入力端子および加算器52の一方の入力端子に接続している。上記フリップフロップD101の出力端子を加算器52の他方の入力端子に接続している。そして、上記加算器52の出力端子を1/2間引き回路51の入力端子に接続している。
The output terminal of the
なお、セレクタ41〜45は、AおよびBの2個の入力端子と1個の出力端子OPを有しており、外部から与えられる切換え制御信号(図示しない)の設定により、2個の入力端子から入力される信号のうちAまたはBのいずれか一方の入力信号を選択し、出力端子OPに出力する出力切換えスイッチの機能を有するセレクタである。
The
また、乗算器31〜35は、乗算器に入力される信号に対して、FIRフィルタの係数としてそれぞれ、a1、a2、a3、a4、a5を乗算した結果を出力する。
The
次に、FIRフィルタ2Aの動作について説明する。
Next, the operation of the
外部から入力部54にデータd1、d2、…、d8、d9、d10、…、dn、…を単位時間ごとに順次入力されると、ある時刻T1において各タップの出力は、図2Aに示すように右から順に、d1、d2、…、d9となる。
なお、時刻Tnにおける各セレクタ41〜45の切換え設定は、nが奇数のときは入力端子Aからの入力を選択し出力端子OPから出力するように設定し、nが偶数のときはBからの入力を選択し出力端子OPから出力するように設定する。
Note that switching settings of the
ここで、時刻Tnのときの加算器26の出力をG(Tn)とすると、時刻T1およびT3では、セレクタ41〜45はAの入力が選択され、時刻T2では、セレクタ41〜45はBの入力が選択されるから、時刻T1、T2、T3の加算器26の出力G(T1)、G(T2)、G(T3)はそれぞれ次の式で表せる。
G(T1)= a2(d9+d3)
+a4(d7+d5)
+0
G(T2)= a1(d10+d2)
+a3(d8+d4)
+a5(d6)
G(T3)= a2(d11+d5)
+a4(d9+d7)
+0
また、時刻TnのときのFIRフィルタ2Aの出力F(Tn)は、加算器26の出力G(Tn)と、フリップフロップD101の出力G(Tn−1)が加算器52で加算されたものであるから、F(Tn)は次の式で表される。
F(Tn)=G(Tn−1)+G(Tn)
したがって、時刻T2および時刻T3でのFIRフィルタ2Aの出力はそれぞれ次の式で表せる。
F(T2)=G(T1)+G(T2)
= a1(d10+d2)
+a2(d9+d3)
+a3(d8+d4)
+a4(d7+d5)
+a5(d6)
F(T3)=G(T2)+G(T3)
= a1(d10+d2)
+a2(d11+d5)
+a3(d8+d4)
+a4(d9+d7)
+a5(d6)
Here, the output of the
G (T 1 ) = a2 (d 9 + d 3 )
+ A4 (d 7 + d 5 )
+0
G (T 2 ) = a1 (d 10 + d 2 )
+ A3 (d 8 + d 4 )
+ A5 (d 6 )
G (T 3 ) = a2 (d 11 + d 5 )
+ A4 (d 9 + d 7 )
+0
The output F (T n ) of the
F ( Tn ) = G ( Tn-1 ) + G ( Tn )
Accordingly, the output of the
F (T 2 ) = G (T 1 ) + G (T 2 )
= A1 (d 10 + d 2 )
+ A2 (d 9 + d 3 )
+ A3 (d 8 + d 4 )
+ A4 (d 7 + d 5 )
+ A5 (d 6 )
F (T 3 ) = G (T 2 ) + G (T 3 )
= A1 (d 10 + d 2 )
+ A2 (d 11 + d 5 )
+ A3 (d 8 + d 4 )
+ A4 (d 9 + d 7 )
+ A5 (d 6 )
つまり、F(Tn)は次の式で表される。ただし、nが偶数の場合と奇数の場合とでセレクタ41〜45の設定が異なるので、nの値により2通りに分けられる。
[nが偶数のとき]
F(Tn)= a1(dn+8+dn)
+a2(dn+7+dn+1)
+a3(dn+6+dn+2)
+a4(dn+5+dn+3)
+a5(dn+4) ……… [式4]
[nが奇数のとき]
F(Tn)= a1(dn+7+dn−1)
+a2(dn+8+dn+2)
+a3(dn+5+dn+1)
+a4(dn+6+dn+4)
+a5(dn+3) ……… [式5]
したがって、FIRフィルタ2Aの出力F(Tn)としては、[式4]の演算結果と[式5]の演算結果とが、単位時刻ごとに交互に出力される。
That is, F (T n ) is expressed by the following equation. However, since the settings of the
[When n is an even number]
F (T n) = a1 ( d n + 8 + d n)
+ A2 (dn + 7 + dn + 1 )
+ A3 (dn + 6 + dn + 2 )
+ A4 (dn + 5 + dn + 3 )
+ A5 (dn + 4 ) ......... [Formula 4]
[When n is an odd number]
F ( Tn ) = a1 (dn + 7 + dn -1 )
+ A2 (dn + 8 + dn + 2 )
+ A3 (dn + 5 + dn + 1 )
+ A4 (dn + 6 + dn + 4 )
+ A5 (dn + 3 ) ......... [Formula 5]
Therefore, as the output F (T n ) of the
また、図2Aの1/2間引き回路51は、図1Aの1/2間引き回路51と同様に動作する。つまり、[式4]に示した、F(Tn)、F(Tn+2)、F(Tn+4)、F(Tn+6)、…(ただしnは偶数)のデータを、2単位時間ごとに1個ずつ順次出力する。そしてそのデータは、1/2ダウンサンプリングのfs変換の演算処理結果として図2Aの信号処理回路の外部に出力される。
2A operates in the same manner as the 1/2 thinning
以上に説明した通り、図2Aに示す信号処理回路は、外部からの入力データに対して、1/2ダウンサンプリングのfs変換を行ったデータを出力するfs変換回路である
なお、上記図2Aに示す信号処理回路では、4m個(m=2)の遅延素子が直列に接続された第1遅延部を有するFIRフィルタを備えた信号処理回路について説明したが、4m個(mが1または3以上)の遅延素子が直列に接続された第1遅延部を有するFIRフィルタを備えた信号処理回路にこの発明を適用してもよい。
As described above, the signal processing circuit illustrated in FIG. 2A is an fs conversion circuit that outputs data obtained by performing 1/2 downsampling fs conversion on input data from the outside. In the signal processing circuit shown, the signal processing circuit including the FIR filter having the first delay unit in which 4m (m = 2) delay elements are connected in series has been described, but 4m (m is 1 or 3 or more). The present invention may be applied to a signal processing circuit provided with an FIR filter having a first delay unit in which delay elements (1) are connected in series.
この場合の信号処理回路の構成としては、
FIRフィルタは、
サンプリング周波数に基づく単位時間毎の時刻Tn(nは1以上の整数)において、nが偶数のときは第1遅延部の(2m+2k+1)番目(k=1(m=1のとき)またはk=1,2(m=2のとき)またはk=1,…,m−1,m(m≧3のとき))のタップからの出力信号を選択して出力する一方、nが奇数のときは第1遅延部の(2m+2k−1)番目のタップからの出力信号を選択して出力する第1信号選択部を含み、
FIRフィルタの第1加算部は、第1遅延部の(2m−2k+1)番目のタップからの出力信号と、第1信号選択部からのnが偶数のときの第1遅延部の(2m+2k+1)番目のタップの出力信号かまたは第1信号選択部からのnが奇数のときの第1遅延部の(2m+2k−1)番目のタップの出力信号とを加算して、第(m−k+1)番目の加算信号を出力し、
FIRフィルタの乗算部は、第1加算部からの第(m−k+1)番目の加算信号に第(2m−2k+1)番目のフィルタ係数を乗算して第(2m−2k+1)番目の乗算信号を出力すると共に、第1加算部からの第(m−k+1)番目の加算信号に第(2m−2k+2)番目のフィルタ係数を乗算して第(2m−2k+2)番目の乗算信号を出力する第1乗算部と、第1遅延部の(2m+1)番目のタップからの出力信号に第(2m+1)番目のフィルタ係数を乗算して第(2m+1)番目の乗算信号を出力する第2乗算部とを含み、
さらに、FIRフィルタは、
mが1の場合は、時刻Tnにおいて、nが偶数のときは第1乗算部からの第1番目の乗算信号を選択して出力する一方、nが奇数のときは第2番目の乗算信号を選択して出力し、mが2以上の場合は、時刻Tnにおいて、nが偶数のときは第1乗算部からの第(2m−2k+1)番目の乗算信号を選択する一方、nが奇数のときは第(2m−2k+2)番目の乗算信号を選択して、選択された各乗算信号を加算して出力する第2信号選択部と、
時刻Tnにおいて、nが偶数のときは第2乗算部からの第(2m+1)番目の乗算信号を選択する一方、nが奇数のときは定数0を表す信号を選択して、選択された信号と第2信号選択部からの出力信号とを加算して出力する第3信号選択部とを含み、
FIRフィルタの帯域制限出力部は、第3信号選択部からの出力信号を単位時間だけ遅延させる第2遅延部と、第3信号選択部からの出力信号と第2遅延部からの出力信号とを加算する第2加算部とを有し、
間引き回路は、時刻Tnにおいて、nが奇数のときは第2加算部からの出力信号を間引く一方、nが偶数のときは第2加算部からの出力信号を出力するものであればよい。
As a configuration of the signal processing circuit in this case,
FIR filter
At time Tn per unit time based on the sampling frequency (n is an integer of 1 or more), when n is an even number, (2m + 2k + 1) th (k = 1 (when m = 1)) or k = 1 of the first delay unit , 2 (when m = 2) or k = 1,..., M−1, m (when m ≧ 3)) are selected and output, while when n is an odd number, Including a first signal selection unit that selects and outputs an output signal from the (2m + 2k−1) -th tap of one delay unit;
The first adder of the FIR filter includes the output signal from the (2m-2k + 1) th tap of the first delay unit and the (2m + 2k + 1) th of the first delay unit when n from the first signal selection unit is an even number. Or the output signal of the (2m + 2k−1) th tap of the first delay unit when n from the first signal selection unit is an odd number, and the (m−k + 1) th tap signal is added. Output the addition signal,
The multiplication unit of the FIR filter multiplies the (m−k + 1) th addition signal from the first addition unit by the (2m−2k + 1) th filter coefficient and outputs the (2m−2k + 1) th multiplication signal. In addition, the (m−k + 1) th addition signal from the first addition unit is multiplied by the (2m−2k + 2) th filter coefficient to output the (2m−2k + 2) th multiplication signal. And a second multiplier that multiplies the output signal from the (2m + 1) th tap of the first delay unit by the (2m + 1) th filter coefficient and outputs the (2m + 1) th multiplied signal,
Furthermore, the FIR filter
When m is 1, at time Tn, when n is an even number, the first multiplication signal from the first multiplication unit is selected and output, while when n is an odd number, the second multiplication signal is output. When m is 2 or more, at time Tn, when n is an even number, the (2m-2k + 1) -th multiplication signal from the first multiplier is selected, while n is an odd number. Selects a (2m-2k + 2) th multiplication signal, adds the selected multiplication signals, and outputs the second signal selection unit;
At time Tn, when n is an even number, the (2m + 1) -th multiplication signal from the second multiplication unit is selected, while when n is an odd number, a signal representing a constant 0 is selected and the selected signal is A third signal selection unit that adds and outputs the output signal from the second signal selection unit,
The band limited output unit of the FIR filter includes a second delay unit that delays an output signal from the third signal selection unit by a unit time, an output signal from the third signal selection unit, and an output signal from the second delay unit. A second adding unit for adding,
The thinning circuit may be any circuit that thins out the output signal from the second addition unit when n is an odd number at time Tn and outputs the output signal from the second addition unit when n is an even number.
例えば、図2Bには、4m個(m=3)の遅延素子が直列に接続された第1遅延部を有するFIRフィルタを備えた信号処理回路の構成を示している。この図2Bに示す信号処理回路は、タップ数が9から13に増加したことによるフィルタ特性の違いを除いて図2Aに示す信号処理回路と同様の効果を有する。 For example, FIG. 2B shows a configuration of a signal processing circuit including an FIR filter having a first delay unit in which 4m (m = 3) delay elements are connected in series. The signal processing circuit shown in FIG. 2B has the same effect as the signal processing circuit shown in FIG. 2A except for the difference in filter characteristics due to the increase in the number of taps from 9 to 13.
図2Bに示す信号処理回路のFIRフィルタ2Bは、12個の連続する遅延素子の一例としてのフリップフロップD1〜12と、第1信号選択部セレクタ41〜43と、第1加算部加算器21〜23と、乗算器31〜37と、セレクタ44〜47と、加算器25,26と、第2遅延部の一例としてのフリップフロップD101と、第2加算部の一例としての加算器52と、定数0を発生する手段である定数発生回路56とを備えている。
The
上記フリップフロップD1〜12で第1遅延部を構成している。上記乗算器31〜36で第1乗算部を構成し、乗算器37で第2乗算部を構成している。上記セレクタ4〜46と加算器25,26で第2信号選択部を構成している。上記セレクタ47と加算器27で第3信号選択部を構成している。さらに、上記フリップフロップD101と加算器52で帯域制限出力部を構成している。
The flip-flops D1 to D12 constitute a first delay unit. The
(第3実施形態)
図3Aはこの発明の第3実施形態の信号処理回路の構成を示している。図3Aに示す信号処理回路は、4m+1個(m=2)の遅延素子が直列に接続された第1遅延部を有するFIRフィルタを備えている。この第3実施形態のFIRフィルタは、5番目の遅延素子を中心としてフィルタ係数の値が対称である。
(Third embodiment)
FIG. 3A shows the configuration of a signal processing circuit according to the third embodiment of the present invention. The signal processing circuit shown in FIG. 3A includes an FIR filter having a first delay unit in which 4m + 1 (m = 2) delay elements are connected in series. In the FIR filter according to the third embodiment, the filter coefficient values are symmetric about the fifth delay element.
図3Aに示す信号処理回路は、10タップのFIRフィルタ3Aと1/2間引き回路51で構成されており、外部から入力部54に入力されたデータに対して、1/2ダウンサンプリングのサンプリング周波数変換(fs変換)を行った信号を出力部55から外部へ出力するfs変換回路である。
The signal processing circuit shown in FIG. 3A includes a 10-
以下に図3Aに示す信号処理回路の構成および動作を詳細に説明する。 The configuration and operation of the signal processing circuit shown in FIG. 3A will be described in detail below.
まず、FIRフィルタ3Aの構成について説明する。FIRフィルタ3Aは、9個の連続する遅延素子の一例としてのフリップフロップD1〜9と、第1信号選択部の一例としてのセレクタ41,42と、第1加算部の一例としての加算器21,22と、乗算器31〜35と、セレクタ43,44と、加算器25,26と、第2遅延部の一例としてのフリップフロップD101と、第3加算部の一例としての加算器52とを備えている。
First, the configuration of the
上記フリップフロップD1〜9で第1遅延部を構成している。上記乗算器31〜34で第1乗算部を構成し、乗算器35で第2乗算部を構成している。上記セレクタ43,44と加算器25で第2信号選択部を構成している。上記加算器26で第2加算部を構成している。さらに、上記フリップフロップD101と加算器52で帯域制限出力部を構成している。
The flip-flops D1 to D9 constitute a first delay unit. The
上記FIRフィルタ3Aにおいて、第1遅延部の入力側の1番目のタップを加算器21の一方の入力端子に接続し、3番目のタップを加算器22の一方の入力端子に接続している。
In the
また、6番目のタップをセレクタ41の入力端子Aに接続し、8番目のタップをセレクタ41の入力端子Bに接続し、セレクタ41の出力端子OPを加算器22の他方の入力端子に接続している。また、8番目のタップをセレクタ42の入力端子Aに接続し、10番目のタップをセレクタ42の入力端子Bに接続し、セレクタ42の出力端子OPを加算器21の他方の入力端子に接続している。
Further, the sixth tap is connected to the input terminal A of the
また、上記加算器21の出力端子を、乗算器31,32の夫々の入力端子に接続すると共に、加算器22の出力端子を、乗算器33,34の夫々の入力端子に接続している。また、5番目のタップを乗算器35の入力端子に接続している。
The output terminal of the
上記乗算器31の出力端子をセレクタ43の入力端子Bに接続し、乗算器32の出力端子をセレクタ43の入力端子Aに接続している。また、上記乗算器33の出力端子をセレクタ44の入力端子Bに接続し、乗算器34の出力端子をセレクタ44の入力端子Aに接続している。
The output terminal of the
上記セレクタ43の出力端子OPを加算器25の一方の入力端子に接続し、セレクタ44の出力端子OPを加算器25の他方の入力端子に接続している。さらに、上記加算器25の出力端子を加算器26の一方の入力端子に接続し、乗算器35の出力端子を加算器26の他方の入力端子に接続している。
The output terminal OP of the
上記加算器26の出力端子を、フリップフロップD101の入力端子および加算器52の一方の入力端子に接続している。上記フリップフロップD101の出力端子を加算器52の他方の入力端子に接続している。そして、上記加算器52の出力端子を1/2間引き回路51の入力端子に接続している。
The output terminal of the
なお、セレクタ41〜44は、AおよびBの2個の入力端子と1個の出力端子OPを有しており、外部から与えられる切換え制御信号(図示しない)の設定により、2個の入力端子から入力される信号のうちAまたはBのいずれか一方の入力信号を選択し、出力端子OPに出力する出力切換えスイッチの機能を有するセレクタである。
The
また、乗算器31〜35は、乗算器に入力される信号に対して、FIRフィルタの係数としてそれぞれ、a1、a2、a3、a4、a5を乗算した結果を出力する。
The
次に、FIRフィルタ3Aの動作について説明する。
Next, the operation of the
外部から入力部54にデータd1、d2、…、d8、d9、d10、…、dn、…を単位時間ごとに順次入力されると、ある時刻T1において各タップの出力は、図3Aに示すように、右から順に、d1、d2、…、d10となる。 When the data d 1 , d 2 ,..., D 8 , d 9 , d 10 ,..., D n , etc. are sequentially input from the outside into the unit time, the output of each tap at a certain time T 1 . Are d1, d2,..., D10 in order from the right, as shown in FIG. 3A.
なお、時刻Tnにおける各セレクタ41〜44の切換え設定は、nが奇数のときは、入力端子Aからの入力を選択して出力端子OPから出力するように設定し、nが偶数のときは、Bからの入力を選択して出力端子OPから出力するように設定する。
Note that switching settings of the
ここで、時刻Tnのときの加算器26の出力をG(Tn)とすると、時刻T1およびT3では、セレクタ41〜44はAの入力が選択され、時刻T2では、セレクタ41〜44はBの入力が選択されるから、時刻T1、T2、T3の加算器26の出力G(T1)、G(T2)、G(T3)はそれぞれ次の式で表せる。
G(T1)= a2(d10+d3)
+a4(d8+d5)
+a5(d6)
G(T2)= a1(d11+d2)
+a3(d9+d4)
+a5(d7)
G(T3)= a2(d12+d5)
+a4(d10+d7)
+a5(d8)
また、時刻TnのときのFIRフィルタ3Aの出力F(Tn)は、加算器26の出力G(Tn)と、フリップフロップD101の出力G(Tn−1)が加算器52で加算されたものであるから、F(Tn)は次の式で表される。
F(Tn)=G(Tn−1)+G(Tn)
したがって、時刻T2および時刻T3でのFIRフィルタ3Aの出力はそれぞれ次の式で表せる。
F(T2)=G(T1)+G(T2)
= a1(d11+d2)
+a2(d10+d3)
+a3(d9+d4)
+a4(d8+d5)
+a5(d7+d6)
F(T3)=G(T2)+G(T3)
= a1(d11+d2)
+a2(d12+d5)
+a3(d9+d4)
+a4(d10+d7)
+a5(d8+d7)
Here, the output of the
G (T 1 ) = a2 (d 10 + d 3 )
+ A4 (d 8 + d 5 )
+ A5 (d 6 )
G (T 2 ) = a1 (d 11 + d 2 )
+ A3 (d 9 + d 4 )
+ A5 (d 7 )
G (T 3 ) = a2 (d 12 + d 5 )
+ A4 (d 10 + d 7 )
+ A5 (d 8 )
The output F (T n ) of the
F ( Tn ) = G ( Tn-1 ) + G ( Tn )
Accordingly, the output of the
F (T 2 ) = G (T 1 ) + G (T 2 )
= A1 (d 11 + d 2 )
+ A2 (d 10 + d 3 )
+ A3 (d 9 + d 4 )
+ A4 (d 8 + d 5 )
+ A5 (d 7 + d 6 )
F (T 3 ) = G (T 2 ) + G (T 3 )
= A1 (d 11 + d 2 )
+ A2 (d 12 + d 5 )
+ A3 (d 9 + d 4 )
+ A4 (d 10 + d 7 )
+ A5 (d 8 + d 7 )
つまり、F(Tn)は次の式で表される。ただし、nが偶数の場合と奇数の場合とでセレクタ41〜44の設定が異なるので、nの値により2通りに分けられる。
[nが偶数のとき]
F(Tn)= a1(dn+9+dn)
+a2(dn+8+dn+1)
+a3(dn+7+dn+2)
+a4(dn+6+dn+3)
+a5(dn+5+dn+4) ……… [式6]
[nが奇数のとき]
F(Tn)= a1(dn+8+dn−1)
+a2(dn+9+dn+2)
+a3(dn+6+dn+1)
+a4(dn+3+dn+4)
+a5(dn+2+dn+1) ……… [式7]
したがって、FIRフィルタ3Aの出力F(Tn)としては、[式6]の演算結果と[式7]の演算結果とが、単位時刻ごとに交互に出力される。
That is, F (T n ) is expressed by the following equation. However, since the settings of the
[When n is an even number]
F (Tn) = a1 (d n + 9 + d n)
+ A2 (dn + 8 + dn + 1 )
+ A3 (dn + 7 + dn + 2 )
+ A4 (dn + 6 + dn + 3 )
+ A5 (dn + 5 + dn + 4 ) ... [Formula 6]
[When n is an odd number]
F ( Tn ) = a1 (dn + 8 + dn -1 )
+ A2 (dn + 9 + dn + 2 )
+ A3 (dn + 6 + dn + 1 )
+ A4 (dn + 3 + dn + 4 )
+ A5 (dn + 2 + dn + 1 ) [Equation 7]
Therefore, as the output F (T n ) of the
また、図3Aの1/2間引き回路51は、図1Aの1/2間引き回路51と同様に動作する。つまり、[式6]に示した、F(Tn)、F(Tn+2)、F(Tn+4)、F(Tn+6)、…(ただしnは偶数)のデータを、2単位時間ごとに1個ずつ順次出力する。そして、そのデータは、1/2ダウンサンプリングのfs変換の演算処理結果として図3Aの信号処理回路の外部に出力される。
3A operates in the same manner as the half-thinning
以上に説明した通り、図3Aに示す信号処理回路は、外部からの入力データに対して、1/2ダウンサンプリングのfs変換を行ったデータを出力するfs変換回路である。 As described above, the signal processing circuit illustrated in FIG. 3A is an fs conversion circuit that outputs data obtained by performing 1/2 downsampling fs conversion on externally input data.
なお、上記図2Aに示す信号処理回路では、4m+1個(m=2)の遅延素子が直列に接続された第1遅延部を有するFIRフィルタを備えた信号処理回路について説明したが、4m+1個(mが1または3以上)の遅延素子が直列に接続された第1遅延部を有するFIRフィルタを備えた信号処理回路にこの発明を適用してもよい。 In the signal processing circuit shown in FIG. 2A, the signal processing circuit including the FIR filter having the first delay unit in which 4m + 1 (m = 2) delay elements are connected in series has been described. The present invention may be applied to a signal processing circuit including an FIR filter having a first delay unit in which delay elements with m being 1 or 3 or more are connected in series.
この場合の信号処理回路の構成としては、
FIRフィルタは、
サンプリング周波数に基づく単位時間毎の時刻Tn(nは1以上の整数)において、nが偶数のときは第1遅延部の(2m+2k+2)番目(k=1(m=1のとき)またはk=1,2(m=2のとき)またはk=1,…,m−1,m(m≧3のとき))のタップからの出力信号を選択して出力する一方、nが奇数のときは第1遅延部の(2m+2k)番目のタップからの出力信号を選択して出力する第1信号選択部を含み、
FIRフィルタの第1加算部は、第1遅延部の(2m−2k+1)番目のタップからの出力信号と、第1信号選択部からのnが偶数のときの第1遅延部の(2m+2k+2)番目のタップの出力信号かまたは第1信号選択部からのnが奇数のときの第1遅延部の(2m+2k)番目のタップの出力信号とを加算して、第(m−k+1)番目の加算信号を出力し、
FIRフィルタの乗算部は、第1加算部からの第(m−k+1)番目の加算信号に第(2m−2k+1)番目のフィルタ係数を乗算して第(2m−2k+1)番目の乗算信号を出力すると共に、第1加算部からの第(m−k+1)番目の加算信号に第(2m−2k+2)番目のフィルタ係数を乗算して第(2m−2k+2)番目の乗算信号を出力する第1乗算部と、第1遅延部の(2m+1)番目のタップからの出力信号に第(2m+1)番目のフィルタ係数を乗算して第(2m+1)番目の乗算信号を出力する第2乗算部とを有し、
さらに、FIRフィルタは、
mが1の場合は、時刻Tnにおいて、nが偶数のときは第1乗算部からの第1番目の乗算信号を選択して出力する一方、nが奇数のときは第2番目の乗算信号を選択して出力し、mが2以上の場合は、時刻Tnにおいて、nが偶数のときは第1乗算部からの第(2m−2k+1)番目の乗算信号を選択する一方、nが奇数のときは第(2m−2k+2)番目の乗算信号を選択して、選択された各乗算信号を加算して出力する第2信号選択部と、
第2信号選択部からの出力信号と第2乗算部からの第(2m+1)番目の乗算信号信号を加算して出力する第2加算部とを含み、
FIRフィルタの帯域制限出力部は、第2加算部からの出力信号を単位時間だけ遅延させる第2遅延部と、第2加算部からの出力信号と第2遅延部からの出力信号とを加算する第3加算部とを有し、
間引き回路は、時刻Tnにおいて、nが奇数のときは第3加算部からの出力信号を間引く一方、nが偶数のときは第3加算部からの出力信号を出力するものであればよい。
As a configuration of the signal processing circuit in this case,
FIR filter
At time Tn per unit time based on the sampling frequency (n is an integer equal to or greater than 1), when n is an even number, (2m + 2k + 2) th (k = 1 (when m = 1)) or k = 1 of the first delay unit , 2 (when m = 2) or k = 1,..., M−1, m (when m ≧ 3)) are selected and output, while when n is an odd number, A first signal selection unit that selects and outputs an output signal from the (2m + 2k) -th tap of one delay unit;
The first adder of the FIR filter includes the output signal from the (2m−2k + 1) th tap of the first delay unit and the (2m + 2k + 2) th of the first delay unit when n from the first signal selection unit is an even number. Or the (2m + 2k) th tap output signal of the first delay unit when n from the first signal selection unit is an odd number, and the (m−k + 1) th addition signal is added. Output
The multiplication unit of the FIR filter multiplies the (m−k + 1) th addition signal from the first addition unit by the (2m−2k + 1) th filter coefficient and outputs the (2m−2k + 1) th multiplication signal. In addition, the (m−k + 1) th addition signal from the first addition unit is multiplied by the (2m−2k + 2) th filter coefficient to output the (2m−2k + 2) th multiplication signal. And a second multiplication unit that multiplies the output signal from the (2m + 1) th tap of the first delay unit by the (2m + 1) th filter coefficient and outputs the (2m + 1) th multiplication signal. ,
Furthermore, the FIR filter
When m is 1, at time Tn, when n is an even number, the first multiplication signal from the first multiplication unit is selected and output, while when n is an odd number, the second multiplication signal is output. When m is 2 or more, at time Tn, when n is an even number, the (2m-2k + 1) -th multiplication signal from the first multiplier is selected, while n is an odd number. Selects a (2m-2k + 2) th multiplication signal, adds the selected multiplication signals, and outputs the second signal selection unit;
A second adder that adds and outputs the output signal from the second signal selector and the (2m + 1) -th multiplied signal from the second multiplier,
The band limited output unit of the FIR filter adds the second delay unit that delays the output signal from the second adder unit by a unit time, the output signal from the second adder unit, and the output signal from the second delay unit. A third adding unit,
The thinning circuit may be any circuit as long as it thins out the output signal from the third adder when n is an odd number at time Tn and outputs the output signal from the third adder when n is an even number.
例えば、図3Bには、4m+1個(m=3)の遅延素子が直列に接続された第1遅延部を有するFIRフィルタを備えた信号処理回路の構成を示している。この図3Bに示す信号処理回路は、タップ数が10から14に増加したことによるフィルタ特性の違いを除いて図3Aに示す信号処理回路と同様の効果を有する。 For example, FIG. 3B shows a configuration of a signal processing circuit including an FIR filter having a first delay unit in which 4m + 1 (m = 3) delay elements are connected in series. The signal processing circuit shown in FIG. 3B has the same effect as the signal processing circuit shown in FIG. 3A except for the difference in filter characteristics due to the increase in the number of taps from 10 to 14.
図3Bに示す信号処理回路のFIRフィルタ3Bは、13個の連続する遅延素子の一例としてのフリップフロップD1〜13と、第1信号選択部の一例としてのセレクタ41〜43と、第1加算部の一例としての加算器21〜23と、乗算器31〜35と、セレクタ44〜46と、加算器24〜26と、第2遅延部の一例としてのフリップフロップD101と、第3加算部の一例としての加算器52とを備えている。
The
上記フリップフロップD1〜13で第1遅延部を構成している。上記乗算器31〜36で第1乗算部を構成し、乗算器37で第2乗算部を構成している。上記セレクタ44〜46と加算器24,25で第2信号選択部を構成している。上記加算器26で第2加算部を構成している。さらに、上記フリップフロップD101と加算器52で帯域制限出力部を構成している。
The flip-flops D1 to 13 constitute a first delay unit. The
(第4実施形態)
図4Aはこの発明の第4実施形態の信号処理回路の構成を示している。図4Aに示す信号処理回路は、4m+2個(m=2)の遅延素子が直列に接続された第1遅延部を有するFIRフィルタを備えている。この第4実施形態のFIRフィルタは、6番目のタップを中心としてフィルタ係数の値が対称である。
(Fourth embodiment)
FIG. 4A shows the configuration of a signal processing circuit according to the fourth embodiment of the present invention. The signal processing circuit shown in FIG. 4A includes an FIR filter having a first delay unit in which 4m + 2 (m = 2) delay elements are connected in series. In the FIR filter of the fourth embodiment, the filter coefficient values are symmetric about the sixth tap.
図4Aに示す信号処理回路は、11タップのFIRフィルタ4Aと1/2間引き回路51で構成されており、外部から入力部54に入力されたデータに対して、1/2ダウンサンプリングのサンプリング周波数変換(fs変換)を行った信号を出力部55から外部へ出力するfs変換回路である。
The signal processing circuit shown in FIG. 4A includes an 11-
以下に図4Aに示す信号処理回路の構成および動作を詳細に説明する。 The configuration and operation of the signal processing circuit shown in FIG. 4A will be described in detail below.
まず、FIRフィルタ4Aの構成について説明する。FIRフィルタ4Aは、10個の連続する遅延素子の一例としてのフリップフロップD1〜10と、第1信号選択部の一例としてのセレクタ41,42と、第1加算部の一例としての加算器21〜23と、乗算器31〜36と、セレクタ43〜45と、加算器25,26と、第2遅延部の一例としてのフリップフロップD101と、第2加算部の一例としての加算器52とを備えている。
First, the configuration of the
上記フリップフロップD1〜10で第1遅延部を構成している。上記乗算器31〜34で第1乗算部を構成し、乗算器35,36で第2乗算部を構成している。上記セレクタ43,44と加算器25で第2信号選択部を構成している。上記セレクタ45と加算器26で第3信号選択部を構成している。さらに、上記フリップフロップD101と加算器52で帯域制限出力部を構成している。
The flip-flops D1 to D10 constitute a first delay unit. The
上記FIRフィルタ4Aにおいて、第1遅延部の入力側の1番目のタップを加算器21の一方の入力端子に接続し、3番目のタップを加算器22の一方の入力端子に接続している。また、5番目のタップを加算器23の一方の入力端子に接続し、7番目のタップを加算器23の他方の入力端子に接続している。
In the
また、7番目のタップをセレクタ41の入力端子Aに接続し、9番目のタップをセレクタ41の入力端子Bに接続し、セレクタ41の出力端子OPを加算器22の他方の入力端子に接続している。また、9番目のタップをセレクタ42の入力端子Aに接続し、11番目のタップをセレクタ42の入力端子Bに接続し、セレクタ42の出力端子OPを加算器21の他方の入力端子に接続している。
Further, the seventh tap is connected to the input terminal A of the
また、上記加算器21の出力端子を、乗算器31,32の夫々の入力端子に接続すると共に、加算器22の出力端子を、乗算器33,34の夫々の入力端子に接続している。また、加算器23の出力端子を乗算器35の入力端子に接続し、5番目のタップを乗算器36の入力端子に接続している。
The output terminal of the
上記乗算器31の出力端子をセレクタ43の入力端子Bに接続し、乗算器32の出力端子をセレクタ43の入力端子Aに接続している。また、上記乗算器33の出力端子をセレクタ44の入力端子Bに接続し、乗算器34の出力端子をセレクタ44の入力端子Aに接続している。また、上記乗算器35の出力端子をセレクタ45の入力端子Bに接続し、乗算器36の出力端子をセレクタ45の入力端子Aに接続している。
The output terminal of the
上記セレクタ43の出力端子OPを加算器25の一方の入力端子に接続し、セレクタ44の出力端子OPを加算器25の他方の入力端子に接続している。さらに、上記加算器25の出力端子を加算器26の一方の入力端子に接続し、セレクタ45の出力端子OPを加算器26の他方の入力端子に接続している。
The output terminal OP of the
上記加算器26の出力端子を、フリップフロップD101の入力端子および加算器52の一方の入力端子に接続している。上記フリップフロップD101の出力端子を加算器52の他方の入力端子に接続している。そして、上記加算器52の出力端子を1/2間引き回路51の入力端子に接続している。
The output terminal of the
なお、セレクタ41〜45は、AおよびBの2個の入力端子と1個の出力端子OPを有しており、外部から与えられる切換え制御信号(図示しない)の設定により、2個の入力端子から入力される信号のうちAまたはBのいずれか一方の入力信号を選択し、出力端子OPに出力する出力切換えスイッチの機能を有するセレクタである。
The
また、乗算器31〜36は、乗算器に入力される信号に対して、FIRフィルタの係数としてそれぞれ、a1、a2、a3、a4、a5、a6を乗算した結果を出力する。
Further, the
次に、FIRフィルタ4Aの動作について説明する。
Next, the operation of the
外部から入力部54にデータd1、d2、…、d8、d9、d10、…、dn、…を単位時間ごとに順次入力されると、ある時刻T1において各タップの出力は、図2Aに示すように、右から順に、d1、d2、…、d11となる。
なお、時刻Tnにおける各セレクタ41〜45の切換え設定は、nが奇数のときは、入力端子Aからの入力を選択して出力端子OPから出力するように設定し、nが偶数のときは、Bからの入力を選択して出力端子OPから出力するように設定する。
The switching setting of each
ここで、時刻Tnのときの加算器26の出力をG(Tn)とすると、時刻T1およびT3では、セレクタ41〜45はAの入力が選択され、時刻T2では、セレクタ41〜45はBの入力が選択されるから、時刻T1、T2、T3の加算器26の出力G(T1)、G(T2)、G(T3)はそれぞれ次の式で表せる。
G(T1)= a2(d11+d3)
+a4(d9+d5)
+a6(d7)
G(T2)= a1(d12+d2)
+a3(d10+d4)
+a5(d8+d6)
G(T3)= a2(d13+d5)
+a4(d11+d7)
+a5(d9)
また、時刻TnのときのFIRフィルタ4Aの出力F(Tn)は、加算器26の出力G(Tn)と、フリップフロップD101の出力G(Tn−1)が加算器52で加算されたものであるから、F(Tn)は次の式で表される。
F(Tn)=G(Tn−1)+G(Tn)
したがって、時刻T2および時刻T3でのFIRフィルタ4Aの出力はそれぞれ次の式で表せる。
F(T2)=G(T1)+G(T2)
= a1(d12+d2)
+a2(d11+d3)
+a3(d10+d4)
+a4(d9+d5)
+a5(d8+d6)
+a6(d7)
F(T3)=G(T2)+G(T3)
= a1(d12+d2)
+a2(d13+d5)
+a3(d10+d4)
+a4(d11+d7)
+a5(d8+d6)
+a6(d9)
Here, the output of the
G (T 1 ) = a2 (d 11 + d 3 )
+ A4 (d 9 + d 5 )
+ A6 (d 7 )
G (T 2 ) = a1 (d 12 + d 2 )
+ A3 (d 10 + d 4 )
+ A5 (d 8 + d 6 )
G (T 3 ) = a2 (d 13 + d 5 )
+ A4 (d 11 + d 7 )
+ A5 (d 9 )
The output F (T n ) of the
F ( Tn ) = G ( Tn-1 ) + G ( Tn )
Accordingly, the output of the
F (T 2 ) = G (T 1 ) + G (T 2 )
= A1 (d 12 + d 2 )
+ A2 (d 11 + d 3 )
+ A3 (d 10 + d 4 )
+ A4 (d 9 + d 5 )
+ A5 (d 8 + d 6 )
+ A6 (d 7 )
F (T 3 ) = G (T 2 ) + G (T 3 )
= A1 (d 12 + d 2 )
+ A2 (d 13 + d 5 )
+ A3 (d 10 + d 4 )
+ A4 (d 11 + d 7 )
+ A5 (d 8 + d 6 )
+ A6 (d 9 )
つまり、F(Tn)は次の式で表される。ただし、nが偶数の場合と奇数の場合とでセレクタ41〜45の設定が異なるので、nの値により2通りに分けられる。
[nが偶数のとき]
F(Tn)= a1(dn+9+dn)
+a2(dn+8+dn+1)
+a3(dn+7+dn+2)
+a4(dn+6+dn+3)
+a5(dn+5+dn+4) ……… [式8]
[nが奇数のとき]
F(Tn)= a1(dn+8+dn−1)
+a2(dn+9+dn+2)
+a3(dn+6+dn+1)
+a4(dn+3+dn+4)
+a5(dn+2+dn+1) ……… [式9]
したがって、FIRフィルタ4Aの出力F(Tn)としては、[式8]の演算結果と[式9]の演算結果とが、単位時刻ごとに交互に出力される。
That is, F (T n ) is expressed by the following equation. However, since the settings of the
[When n is an even number]
F (T n ) = a1 (d n + 9 + d n )
+ A2 (dn + 8 + dn + 1 )
+ A3 (dn + 7 + dn + 2 )
+ A4 (dn + 6 + dn + 3 )
+ A5 (dn + 5 + dn + 4 ) ... [Formula 8]
[When n is an odd number]
F ( Tn ) = a1 (dn + 8 + dn -1 )
+ A2 (dn + 9 + dn + 2 )
+ A3 (dn + 6 + dn + 1 )
+ A4 (dn + 3 + dn + 4 )
+ A5 (dn + 2 + dn + 1 ) ... [Equation 9]
Therefore, as the output F (T n ) of the
また、図4Aの1/2間引き回路51は、図1Aの1/2間引き回路51と同様に動作する。つまり[式8]に示した、F(Tn)、F(Tn+2)、F(Tn+4)、F(Tn+6)、…(ただしnは偶数)のデータを、2単位時間ごとに1個ずつ順次出力する。そして、そのデータは、1/2ダウンサンプリングのfs変換の演算処理結果として図4Aの信号処理回路の外部に出力される。
4A operates in the same manner as the ½ thinning
以上に説明した通り、図4Aに示す信号処理回路は、外部からの入力データに対して、1/2ダウンサンプリングのfs変換を行ったデータを出力するfs変換回路である。 As described above, the signal processing circuit shown in FIG. 4A is an fs conversion circuit that outputs data obtained by performing 1/2 downsampling fs conversion on externally input data.
なお、上記図2Aに示す信号処理回路では、4m+1個(m=2)の遅延素子が直列に接続された第1遅延部を有するFIRフィルタを備えた信号処理回路について説明したが、4m+1個(mが1または3以上)の遅延素子が直列に接続された第1遅延部を有するFIRフィルタを備えた信号処理回路にこの発明を適用してもよい。 In the signal processing circuit shown in FIG. 2A, the signal processing circuit including the FIR filter having the first delay unit in which 4m + 1 (m = 2) delay elements are connected in series has been described. The present invention may be applied to a signal processing circuit including an FIR filter having a first delay unit in which delay elements with m being 1 or 3 or more are connected in series.
この場合の信号処理回路の構成としては、
FIRフィルタは、
サンプリング周波数に基づく単位時間毎の時刻Tn(nは1以上の整数)において、nが偶数のときは第1遅延部の(2m+2k+3)番目(k=1(m=1のとき)またはk=1,2(m=2のとき)またはk=1,…,m−1,m(m≧3のとき))のタップからの出力信号を選択して出力する一方、nが奇数のときは第1遅延部の(2m+2k+1)番目のタップからの出力信号を選択して出力する第1信号選択部を含み、
FIRフィルタの第1加算部は、第1遅延部の(2m−2k+1)番目のタップからの出力信号と、第1信号選択部からのnが偶数のときの第1遅延部の(2m+2k+3)番目のタップの出力信号かまたは第1信号選択部からのnが奇数のときの第1遅延部の(2m+2k+1)番目のタップの出力信号とを加算して、第(m−k+1)番目の加算信号を出力すると共に、第1遅延部の(2m+1)番目のタップからの出力信号と第1遅延部の(2m+3)番目のタップからの出力信号とを加算して、第(m+1)番目の加算信号を出力し、
FIRフィルタの乗算部は、第1加算部からの第(m−k+1)番目の加算信号に第(2m−2k+1)番目のフィルタ係数を乗算して第(2m−2k+1)番目の乗算信号を出力すると共に、第1加算部からの第(m−k+1)番目の加算信号に第(2m−2k+2)番目のフィルタ係数を乗算して第(2m−2k+2)番目の乗算信号を出力する第1乗算部と、第1加算部からの第(m+1)番目の加算信号に第(2m+1)番目のフィルタ係数を乗算して第(2m+1)番目の乗算信号を出力すると共に、第1遅延部の(2m+1)番目のタップからの出力信号に第(2m+2)番目のフィルタ係数を乗算して第(2m+2)番目の乗算信号を出力する第2乗算部とを有し、
さらに、FIRフィルタは、
mが1の場合は、時刻Tnにおいて、nが偶数のときは乗算部からの第1番目の乗算信号を選択して出力する一方、nが奇数のときは第2番目の乗算信号を選択して出力し、mが2以上の場合は、時刻Tnにおいて、nが偶数のときは乗算部からの第(2m−2k+1)番目の乗算信号を選択する一方、nが奇数のときは第(2m−2k+2)番目の乗算信号を選択して、選択された各乗算信号を加算して出力する第2信号選択部と、
時刻Tnにおいて、nが偶数のときは第2乗算部からの第(2m+1)番目の乗算信号を選択する一方、nが奇数のときは第2乗算部からの第(2m+2)番目の乗算信号を選択して、選択された信号と第2信号選択部からの出力信号とを加算して出力する第3信号選択部とを含み、
FIRフィルタの帯域制限出力部は、第3信号選択部からの出力信号を単位時間だけ遅延させる第2遅延部と、第3信号選択部からの出力信号と第2遅延部からの出力信号とを加算する第2加算部とを有し、
間引き回路は、時刻Tnにおいて、nが奇数のときは第2加算部からの出力信号を間引く一方、nが偶数のときは第2加算部からの出力信号を出力するものであればよい。
As a configuration of the signal processing circuit in this case,
FIR filter
At time Tn per unit time based on the sampling frequency (n is an integer equal to or greater than 1), when n is an even number, (2m + 2k + 3) th (k = 1 (when m = 1)) or k = 1 of the first delay unit , 2 (when m = 2) or k = 1,..., M−1, m (when m ≧ 3)) are selected and output, while when n is an odd number, A first signal selection unit that selects and outputs an output signal from the (2m + 2k + 1) -th tap of one delay unit;
The first adder of the FIR filter includes the output signal from the (2m−2k + 1) th tap of the first delay unit and the (2m + 2k + 3) th of the first delay unit when n from the first signal selection unit is an even number. Or the (2m + 2k + 1) th tap output signal of the first delay unit when n from the first signal selection unit is an odd number, and the (m−k + 1) th added signal is added. And the output signal from the (2m + 1) -th tap of the first delay unit and the output signal from the (2m + 3) -th tap of the first delay unit are added to obtain the (m + 1) -th added signal Output
The multiplication unit of the FIR filter multiplies the (m−k + 1) th addition signal from the first addition unit by the (2m−2k + 1) th filter coefficient and outputs the (2m−2k + 1) th multiplication signal. In addition, the (m−k + 1) th addition signal from the first addition unit is multiplied by the (2m−2k + 2) th filter coefficient to output the (2m−2k + 2) th multiplication signal. And the (2m + 1) th filter signal by multiplying the (m + 1) th addition signal from the first addition unit by the (2m + 1) th filter coefficient and outputting the (2m + 1) th multiplication signal. A second multiplication unit that multiplies the output signal from the second tap by the (2m + 2) th filter coefficient and outputs the (2m + 2) th multiplication signal;
Furthermore, the FIR filter
When m is 1, at time Tn, when n is an even number, the first multiplication signal from the multiplication unit is selected and output, while when n is an odd number, the second multiplication signal is selected. When m is 2 or more, at time Tn, when n is an even number, the (2m-2k + 1) -th multiplication signal from the multiplier is selected, while when n is an odd number, (2m A -2k + 2) th multiplication signal, a second signal selection unit for adding and outputting the selected multiplication signals;
At time Tn, when n is an even number, the (2m + 1) th multiplication signal from the second multiplication unit is selected, and when n is an odd number, the (2m + 2) th multiplication signal from the second multiplication unit is selected. A third signal selection unit that selects and outputs the selected signal and the output signal from the second signal selection unit,
The band limited output unit of the FIR filter includes a second delay unit that delays an output signal from the third signal selection unit by a unit time, an output signal from the third signal selection unit, and an output signal from the second delay unit. A second adding unit for adding,
The thinning circuit may be any circuit that thins out the output signal from the second addition unit when n is an odd number at time Tn and outputs the output signal from the second addition unit when n is an even number.
例えば、図4Bには、4m+2個(m=3)の遅延素子が直列に接続された第1遅延部を有するFIRフィルタを備えた信号処理回路の構成を示している。この図4Bに示す信号処理回路は、タップ数が11から15に増加したことによるフィルタ特性の違いを除いて図4Aに示す信号処理回路と同様の効果を有する。 For example, FIG. 4B shows a configuration of a signal processing circuit including an FIR filter having a first delay unit in which 4m + 2 (m = 3) delay elements are connected in series. The signal processing circuit shown in FIG. 4B has the same effect as the signal processing circuit shown in FIG. 4A except for the difference in filter characteristics due to the increase in the number of taps from 11 to 15.
図4Bに示す信号処理回路のFIRフィルタ4Bは、14個の連続する遅延素子の一例としてのフリップフロップD1〜14と、第1信号選択部の一例としてのセレクタ41〜43と、第1加算部の一例としての加算器21〜24と、乗算器31〜38と、セレクタ44〜47と、加算器25〜27と、第2遅延部の一例としてのフリップフロップD101と、第2加算部の一例としての加算器52とを備えている。
The
上記フリップフロップD1〜14で第1遅延部を構成している。上記乗算器31〜36で第1乗算部を構成し、乗算器37,38で第2乗算部を構成している。上記セレクタ44〜46と加算器25,26で第2信号選択部を構成している。上記セレクタ47と加算器27で第3信号選択部を構成している。さらに、上記フリップフロップD101と加算器52で帯域制限出力部を構成している。
The flip-flops D1 to D14 constitute a first delay unit. The
上記第1〜第4実施形態の図1A,図1B,図2A,図2B,図3A,図3B,図4A,図4Bに示す信号処理回路のFIRフィルタ1A,1B,2A,2B,3A,3B,4A,4Bは、図6に示す従来の信号処理回路において、2個の別々の加算器で加算処理していた特定の連続する2個のタップの出力の加算処理を、1個の加算器で共通化して加算処理している。例えば、図1Aの1番目と2番目のタップの加算処理を加算器21の1個で兼用することにより加算器の数を削減している。回路全体では、図6は加算器を7個使用しているが図1Aでは4個に削減している。
FIR filters 1A, 1B, 2A, 2B, 3A of the signal processing circuit shown in FIGS. 1A, 1B, 2A, 2B, 3A, 3B, 4A, and 4B of the first to fourth embodiments. In 3B, 4A, and 4B, the addition processing of the output of two specific continuous taps that has been added by two separate adders in the conventional signal processing circuit shown in FIG. Addition processing is made common by the unit. For example, the addition process of the first and second taps in FIG. 1A is shared by one
つまり、図6に示す従来の技術における信号処理回路と、図1Aに示すこの発明における信号処理回路は同じ動作を行う信号処理回路でありながら、この発明である図1Aの信号処理回路は図6の信号処理回路と比べてその回路規模を削減している。 That is, the signal processing circuit in the prior art shown in FIG. 6 and the signal processing circuit in the present invention shown in FIG. 1A perform the same operation, but the signal processing circuit in FIG. The circuit scale is reduced as compared with the signal processing circuit.
しかも、信号処理回路図7に示す回路規模を削減する従来技術は信号処理回路のFIRフィルタ係数の一部が「0」であるフィルタでないと適応できないのという欠点があるが、この発明はその必要はなく、一般的なフィルタに適応することができる。 In addition, the conventional technique for reducing the circuit scale shown in FIG. 7 has the disadvantage that it cannot be applied unless the filter has a part of the FIR filter coefficient of “0” in the signal processing circuit. Rather, it can be adapted to general filters.
したがって、この発明の第1〜第4実施形態の信号処理回路によれば、FIRフィルタを用いた信号処理回路において、FIRフィルタのフィルタ係数に関わらず、構成を簡略化して回路規模を削減することができる。 Therefore, according to the signal processing circuit of the first to fourth embodiments of the present invention, in the signal processing circuit using the FIR filter, the configuration is simplified and the circuit scale is reduced regardless of the filter coefficient of the FIR filter. Can do.
1A,1B,2A,2B,3A,3B,4A,4B…FIRフィルタ
D1〜D14,D101…フリップフロップ
21〜27,52…加算器
31〜38…乗算器
41〜47…セレクタ
51…1/2間引き回路
54…入力部
55…出力部
56…定数発生回路
1A, 1B, 2A, 2B, 3A, 3B, 4A, 4B ... FIR filters D1-D14, D101 ... flip-flops 21-27, 52 ... adders 31-38 ... multipliers 41-47 ...
Claims (5)
上記FIRフィルタからの上記単位時間毎の出力信号を1つおきに間引く間引き回路と
を備え、
上記FIRフィルタは、
上記中心よりも前段側の所定のタップからの出力信号と上記中心よりも後段側の所定のタップからの出力信号とを加算する第1加算部と、上記第1加算部の出力に対応する上記フィルタ係数を上記第1加算部の出力に乗算する乗算部と、上記乗算部の出力に基づいて所定の帯域制限された出力信号を上記単位時間毎に出力する帯域制限出力部とを含み、
上記間引き回路は、
上記FIRフィルタの上記帯域制限出力部からの上記単位時間毎の出力信号を1つおきに間引くことによって、上記所定の帯域制限された出力信号を上記サンプリング周波数の1/2に周波数変換して出力することを特徴とする信号処理回路。 A first delay section having M (M is an integer of 3 or more) delay elements connected in series and having M + 1 taps for sequentially shifting an input signal inputted per unit time based on the sampling frequency by the delay elements. When M is an odd number, the value of the filter coefficient is symmetric with the (M + 1) / 2th delay element as the center, and when M is an even number, the M / 2 + 1th tap is the center. An FIR filter;
A thinning circuit that thins out every other output signal per unit time from the FIR filter,
The FIR filter is
A first adder for adding an output signal from a predetermined tap upstream of the center and an output signal from a predetermined tap downstream of the center; and the output corresponding to the output of the first adder A multiplier that multiplies the output of the first adder by a filter coefficient; and a band-limited output unit that outputs a predetermined band-limited output signal per unit time based on the output of the multiplier;
The decimation circuit is
By thinning out every other output signal per unit time from the band limited output unit of the FIR filter, the predetermined band limited output signal is frequency-converted to ½ the sampling frequency and output. And a signal processing circuit.
上記FIRフィルタの上記第1遅延部は、4m−1個(mは1以上の整数)の上記遅延素子が直列に接続され、
上記FIRフィルタは、
上記単位時間毎の時刻Tn(nは1以上の整数)において、nが偶数のときは上記第1遅延部の(2m+2k)番目(k=1(m=1のとき)またはk=1,2(m=2のとき)またはk=1,…,m−1,m(m≧3のとき))のタップからの出力信号を選択して出力する一方、nが奇数のときは上記第1遅延部の(2m+2k−2)番目のタップからの出力信号を選択して出力する第1信号選択部を含み、
上記FIRフィルタの上記第1加算部は、上記第1遅延部の(2m−2k+1)番目のタップからの出力信号と、上記第1信号選択部からのnが偶数のときの上記第1遅延部の(2m+2k)番目のタップの出力信号かまたは上記第1信号選択部からのnが奇数のときの上記第1遅延部の(2m+2k−2)番目のタップの出力信号とを加算して、第(m−k+1)番目の加算信号を出力し、
上記FIRフィルタの上記乗算部は、上記第1加算部からの上記第(m−k+1)番目の加算信号に第(2m−2k+1)番目の上記フィルタ係数を乗算して第(2m−2k+1)番目の乗算信号を出力すると共に、上記第1加算部からの上記第(m−k+1)番目の加算信号に第(2m−2k+2)番目の上記フィルタ係数を乗算して第(2m−2k+2)番目の乗算信号を出力し、
さらに、上記FIRフィルタは、
mが1の場合は、上記時刻Tnにおいて、nが偶数のときは上記乗算部からの第1番目の乗算信号を選択して出力する一方、nが奇数のときは第2番目の乗算信号を選択して出力し、mが2以上の場合は、上記時刻Tnにおいて、nが偶数のときは上記乗算部からの第(2m−2k+1)番目の乗算信号を選択する一方、nが奇数のときは第(2m−2k+2)番目の乗算信号を選択して、選択された各乗算信号を加算して出力する第2信号選択部を含み、
上記FIRフィルタの上記帯域制限出力部は、上記第2信号選択部からの出力信号を上記単位時間だけ遅延させる第2遅延部と、上記第2信号選択部からの出力信号と上記第2遅延部からの出力信号とを加算する第2加算部とを有し、
上記間引き回路は、
上記時刻Tnにおいて、nが奇数のときは上記第2加算部からの出力信号を間引く一方、nが偶数のときは上記第2加算部からの出力信号を出力することを特徴とする信号処理回路。 The signal processing circuit according to claim 1,
In the first delay unit of the FIR filter, 4m−1 (m is an integer of 1 or more) the delay elements are connected in series,
The FIR filter is
At time Tn per unit time (n is an integer equal to or greater than 1), when n is an even number, (2m + 2k) th (k = 1 (when m = 1) or k = 1,2 of the first delay unit) (when m = 2) or k = 1,..., m−1, m (when m ≧ 3)), the output signal is selected and output, while when n is an odd number, the first A first signal selection unit that selects and outputs an output signal from the (2m + 2k-2) th tap of the delay unit;
The first adder of the FIR filter includes the first delay unit when the output signal from the (2m-2k + 1) -th tap of the first delay unit and n from the first signal selection unit are an even number. Or the output signal of the (2m + 2k) th tap of the first delay unit when n from the first signal selection unit is an odd number. outputs the (m−k + 1) th addition signal,
The multiplication unit of the FIR filter multiplies the (m−k + 1) th addition signal from the first addition unit by the (2m−2k + 1) th filter coefficient, and (2m−2k + 1) th. The (m−k + 1) th addition signal from the first adder is multiplied by the (2m−2k + 2) th filter coefficient to multiply the (2m−2k + 2) th filter signal. Outputs the multiplication signal,
Furthermore, the FIR filter is
When m is 1, at time Tn, when n is an even number, the first multiplication signal from the multiplication unit is selected and output, while when n is an odd number, the second multiplication signal is output. When m is 2 or more, at time Tn, when n is an even number, the (2m-2k + 1) -th multiplication signal from the multiplication unit is selected while n is an odd number. Includes a second signal selection unit that selects the (2m-2k + 2) th multiplication signal, adds the selected multiplication signals, and outputs the result.
The band-limited output unit of the FIR filter includes a second delay unit that delays an output signal from the second signal selection unit by the unit time, an output signal from the second signal selection unit, and the second delay unit. A second adder for adding the output signal from
The decimation circuit is
At time Tn, when n is an odd number, the output signal from the second addition section is thinned out, and when n is an even number, the signal processing circuit outputs the output signal from the second addition section. .
上記FIRフィルタの上記第1遅延部は、4m個(mは1以上の整数)の上記遅延素子が直列に接続され、
上記FIRフィルタは、
上記単位時間毎の時刻Tn(nは1以上の整数)において、nが偶数のときは上記第1遅延部の(2m+2k+1)番目(k=1(m=1のとき)またはk=1,2(m=2のとき)またはk=1,…,m−1,m(m≧3のとき))のタップからの出力信号を選択して出力する一方、nが奇数のときは上記第1遅延部の(2m+2k−1)番目のタップからの出力信号を選択して出力する第1信号選択部を含み、
上記FIRフィルタの上記第1加算部は、上記第1遅延部の(2m−2k+1)番目のタップからの出力信号と、上記第1信号選択部からのnが偶数のときの上記第1遅延部の(2m+2k+1)番目のタップの出力信号かまたは上記第1信号選択部からのnが奇数のときの上記第1遅延部の(2m+2k−1)番目のタップの出力信号とを加算して、第(m−k+1)番目の加算信号を出力し、
上記FIRフィルタの上記乗算部は、上記第1加算部からの上記第(m−k+1)番目の加算信号に第(2m−2k+1)番目の上記フィルタ係数を乗算して第(2m−2k+1)番目の乗算信号を出力すると共に、上記第1加算部からの上記第(m−k+1)番目の加算信号に第(2m−2k+2)番目の上記フィルタ係数を乗算して第(2m−2k+2)番目の乗算信号を出力する第1乗算部と、上記第1遅延部の(2m+1)番目のタップからの出力信号に第(2m+1)番目の上記フィルタ係数を乗算して第(2m+1)番目の乗算信号を出力する第2乗算部とを含み、
さらに、上記FIRフィルタは、
mが1の場合は、上記時刻Tnにおいて、nが偶数のときは上記第1乗算部からの第1番目の乗算信号を選択して出力する一方、nが奇数のときは第2番目の乗算信号を選択して出力し、mが2以上の場合は、上記時刻Tnにおいて、nが偶数のときは上記第1乗算部からの第(2m−2k+1)番目の乗算信号を選択する一方、nが奇数のときは第(2m−2k+2)番目の乗算信号を選択して、選択された各乗算信号を加算して出力する第2信号選択部と、
上記時刻Tnにおいて、nが偶数のときは上記第2乗算部からの上記第(2m+1)番目の乗算信号を選択する一方、nが奇数のときは定数0を表す信号を選択して、選択された信号と上記第2信号選択部からの出力信号とを加算して出力する第3信号選択部とを含み、
上記FIRフィルタの上記帯域制限出力部は、上記第3信号選択部からの出力信号を上記単位時間だけ遅延させる第2遅延部と、上記第3信号選択部からの出力信号と上記第2遅延部からの出力信号とを加算する第2加算部とを有し、
上記間引き回路は、
上記時刻Tnにおいて、nが奇数のときは上記第2加算部からの出力信号を間引く一方、nが偶数のときは上記第2加算部からの出力信号を出力することを特徴とする信号処理回路。 The signal processing circuit according to claim 1,
In the first delay unit of the FIR filter, 4m (m is an integer of 1 or more) the delay elements are connected in series,
The FIR filter is
At time Tn per unit time (n is an integer equal to or greater than 1), when n is an even number, (2m + 2k + 1) -th (k = 1 (when m = 1)) or k = 1,2 of the first delay unit (when m = 2) or k = 1,..., m−1, m (when m ≧ 3)), the output signal is selected and output, while when n is an odd number, the first A first signal selection unit that selects and outputs an output signal from the (2m + 2k−1) -th tap of the delay unit;
The first adder of the FIR filter includes the first delay unit when the output signal from the (2m-2k + 1) -th tap of the first delay unit and n from the first signal selection unit are an even number. Or the output signal of the (2m + 2k + 1) th tap of the first delay unit when n from the first signal selection unit is an odd number, and the output signal of the (2m + 2k + 1) th tap of outputs the (m−k + 1) th addition signal,
The multiplication unit of the FIR filter multiplies the (m−k + 1) th addition signal from the first addition unit by the (2m−2k + 1) th filter coefficient, and (2m−2k + 1) th. The (m−k + 1) th addition signal from the first adder is multiplied by the (2m−2k + 2) th filter coefficient to multiply the (2m−2k + 2) th filter signal. A first multiplier for outputting a multiplication signal, and an output signal from the (2m + 1) th tap of the first delay unit is multiplied by the (2m + 1) th filter coefficient to obtain a (2m + 1) th multiplication signal. A second multiplier for outputting,
Furthermore, the FIR filter is
When m is 1, at time Tn, when n is an even number, the first multiplication signal from the first multiplication unit is selected and output, while when n is an odd number, the second multiplication is performed. When m is equal to or greater than 2, when m is equal to or greater than 2, when n is an even number, the (2m-2k + 1) th multiplication signal from the first multiplication unit is selected, while n A second signal selection unit that selects the (2m−2k + 2) th multiplication signal when the number is an odd number, and adds and outputs the selected multiplication signals;
At time Tn, when n is an even number, the (2m + 1) th multiplication signal from the second multiplication unit is selected, and when n is an odd number, a signal representing a constant 0 is selected and selected. A third signal selection unit that adds and outputs the output signal from the second signal selection unit,
The band-limited output unit of the FIR filter includes a second delay unit that delays an output signal from the third signal selection unit by the unit time, an output signal from the third signal selection unit, and the second delay unit. A second adder for adding the output signal from
The decimation circuit is
At time Tn, when n is an odd number, the output signal from the second addition section is thinned out, and when n is an even number, the signal processing circuit outputs the output signal from the second addition section. .
上記FIRフィルタの上記第1遅延部は、4m+1個(mは1以上の整数)の上記遅延素子が直列に接続され、
上記FIRフィルタは、
上記単位時間毎の時刻Tn(nは1以上の整数)において、nが偶数のときは上記第1遅延部の(2m+2k+2)番目(k=1(m=1のとき)またはk=1,2(m=2のとき)またはk=1,…,m−1,m(m≧3のとき))のタップからの出力信号を選択して出力する一方、nが奇数のときは上記第1遅延部の(2m+2k)番目のタップからの出力信号を選択して出力する第1信号選択部を含み、
上記FIRフィルタの上記第1加算部は、上記第1遅延部の(2m−2k+1)番目のタップからの出力信号と、上記第1信号選択部からのnが偶数のときの上記第1遅延部の(2m+2k+2)番目のタップの出力信号かまたは上記第1信号選択部からのnが奇数のときの上記第1遅延部の(2m+2k)番目のタップの出力信号とを加算して、第(m−k+1)番目の加算信号を出力し、
上記FIRフィルタの上記乗算部は、上記第1加算部からの上記第(m−k+1)番目の加算信号に第(2m−2k+1)番目の上記フィルタ係数を乗算して第(2m−2k+1)番目の乗算信号を出力すると共に、上記第1加算部からの上記第(m−k+1)番目の加算信号に第(2m−2k+2)番目の上記フィルタ係数を乗算して第(2m−2k+2)番目の乗算信号を出力する第1乗算部と、上記第1遅延部の(2m+1)番目のタップからの出力信号に第(2m+1)番目の上記フィルタ係数を乗算して第(2m+1)番目の乗算信号を出力する第2乗算部とを有し、
さらに、上記FIRフィルタは、
mが1の場合は、上記時刻Tnにおいて、nが偶数のときは上記第1乗算部からの第1番目の乗算信号を選択して出力する一方、nが奇数のときは第2番目の乗算信号を選択して出力し、mが2以上の場合は、上記時刻Tnにおいて、nが偶数のときは上記第1乗算部からの第(2m−2k+1)番目の乗算信号を選択する一方、nが奇数のときは第(2m−2k+2)番目の乗算信号を選択して、選択された各乗算信号を加算して出力する第2信号選択部と、
上記第2信号選択部からの出力信号と上記第2乗算部からの上記第(2m+1)番目の乗算信号信号を加算して出力する第2加算部とを含み、
上記FIRフィルタの上記帯域制限出力部は、上記第2加算部からの出力信号を上記単位時間だけ遅延させる第2遅延部と、上記第2加算部からの出力信号と上記第2遅延部からの出力信号とを加算する第3加算部とを有し、
上記間引き回路は、
上記時刻Tnにおいて、nが奇数のときは上記第3加算部からの出力信号を間引く一方、nが偶数のときは上記第3加算部からの出力信号を出力することを特徴とする信号処理回路。 The signal processing circuit according to claim 1,
The first delay unit of the FIR filter includes 4m + 1 (m is an integer of 1 or more) delay elements connected in series.
The FIR filter is
At time Tn per unit time (n is an integer equal to or greater than 1), when n is an even number, (2m + 2k + 2) th (k = 1 (when m = 1) or k = 1,2 of the first delay unit) (when m = 2) or k = 1,..., m−1, m (when m ≧ 3)), the output signal is selected and output, while when n is an odd number, the first A first signal selection unit that selects and outputs an output signal from the (2m + 2k) th tap of the delay unit;
The first adder of the FIR filter includes the first delay unit when the output signal from the (2m-2k + 1) -th tap of the first delay unit and n from the first signal selection unit are an even number. The (2m + 2k + 2) -th tap output signal or the (2m + 2k) -th tap output signal of the first delay unit when n is an odd number from the first signal selection unit is added to the (m -K + 1) output the added signal,
The multiplication unit of the FIR filter multiplies the (m−k + 1) th addition signal from the first addition unit by the (2m−2k + 1) th filter coefficient, and (2m−2k + 1) th. The (m−k + 1) th addition signal from the first adder is multiplied by the (2m−2k + 2) th filter coefficient to multiply the (2m−2k + 2) th filter signal. A first multiplier for outputting a multiplication signal, and an output signal from the (2m + 1) th tap of the first delay unit is multiplied by the (2m + 1) th filter coefficient to obtain a (2m + 1) th multiplication signal. A second multiplier for outputting,
Furthermore, the FIR filter is
When m is 1, at time Tn, when n is an even number, the first multiplication signal from the first multiplication unit is selected and output, while when n is an odd number, the second multiplication is performed. When m is equal to or greater than 2, when m is equal to or greater than 2, when n is an even number, the (2m-2k + 1) th multiplication signal from the first multiplication unit is selected, while n A second signal selection unit that selects the (2m−2k + 2) th multiplication signal when the number is an odd number, and adds and outputs the selected multiplication signals;
A second adder for adding and outputting the output signal from the second signal selector and the (2m + 1) -th multiplied signal from the second multiplier,
The band-limited output unit of the FIR filter includes a second delay unit that delays the output signal from the second adder unit by the unit time, an output signal from the second adder unit, and a second delay unit. A third adder for adding the output signal;
The decimation circuit is
At time Tn, when n is an odd number, the output signal from the third adder is thinned out, and when n is an even number, the signal processing circuit outputs the output signal from the third adder. .
上記FIRフィルタの上記第1遅延部は、4m+2個(mは1以上の整数)の上記遅延素子が直列に接続され、
上記FIRフィルタは、
上記単位時間毎の時刻Tn(nは1以上の整数)において、nが偶数のときは上記第1遅延部の(2m+2k+3)番目(k=1(m=1のとき)またはk=1,2(m=2のとき)またはk=1,…,m−1,m(m≧3のとき))のタップからの出力信号を選択して出力する一方、nが奇数のときは上記第1遅延部の(2m+2k+1)番目のタップからの出力信号を選択して出力する第1信号選択部を含み、
上記FIRフィルタの上記第1加算部は、上記第1遅延部の(2m−2k+1)番目のタップからの出力信号と、上記第1信号選択部からのnが偶数のときの上記第1遅延部の(2m+2k+3)番目のタップの出力信号かまたは上記第1信号選択部からのnが奇数のときの上記第1遅延部の(2m+2k+1)番目のタップの出力信号とを加算して、第(m−k+1)番目の加算信号を出力すると共に、上記第1遅延部の(2m+1)番目のタップからの出力信号と上記第1遅延部の(2m+3)番目のタップからの出力信号とを加算して、第(m+1)番目の加算信号を出力し、
上記FIRフィルタの上記乗算部は、上記第1加算部からの上記第(m−k+1)番目の加算信号に第(2m−2k+1)番目の上記フィルタ係数を乗算して第(2m−2k+1)番目の乗算信号を出力すると共に、上記第1加算部からの上記第(m−k+1)番目の加算信号に第(2m−2k+2)番目の上記フィルタ係数を乗算して第(2m−2k+2)番目の乗算信号を出力する第1乗算部と、上記第1加算部からの上記第(m+1)番目の加算信号に第(2m+1)番目の上記フィルタ係数を乗算して第(2m+1)番目の乗算信号を出力すると共に、上記第1遅延部の(2m+1)番目のタップからの出力信号に第(2m+2)番目の上記フィルタ係数を乗算して第(2m+2)番目の乗算信号を出力する第2乗算部とを有し、
さらに、上記FIRフィルタは、
mが1の場合は、上記時刻Tnにおいて、nが偶数のときは上記乗算部からの第1番目の乗算信号を選択して出力する一方、nが奇数のときは第2番目の乗算信号を選択して出力し、mが2以上の場合は、上記時刻Tnにおいて、nが偶数のときは上記乗算部からの第(2m−2k+1)番目の乗算信号を選択する一方、nが奇数のときは第(2m−2k+2)番目の乗算信号を選択して、選択された各乗算信号を加算して出力する第2信号選択部と、
上記時刻Tnにおいて、nが偶数のときは上記第2乗算部からの第(2m+1)番目の乗算信号を選択する一方、nが奇数のときは上記第2乗算部からの第(2m+2)番目の乗算信号を選択して、選択された信号と上記第2信号選択部からの出力信号とを加算して出力する第3信号選択部とを含み、
上記FIRフィルタの上記帯域制限出力部は、上記第3信号選択部からの出力信号を上記単位時間だけ遅延させる第2遅延部と、上記第3信号選択部からの出力信号と上記第2遅延部からの出力信号とを加算する第2加算部とを有し、
上記間引き回路は、
上記時刻Tnにおいて、nが奇数のときは上記第2加算部からの出力信号を間引く一方、nが偶数のときは上記第2加算部からの出力信号を出力することを特徴とする信号処理回路。 The signal processing circuit according to claim 1,
In the first delay unit of the FIR filter, 4m + 2 (m is an integer of 1 or more) the delay elements are connected in series,
The FIR filter is
At time Tn per unit time (n is an integer equal to or greater than 1), when n is an even number, (2m + 2k + 3) th (k = 1 (when m = 1) or k = 1,2 of the first delay unit) (when m = 2) or k = 1,..., m−1, m (when m ≧ 3)), the output signal is selected and output, while when n is an odd number, the first A first signal selection unit that selects and outputs an output signal from the (2m + 2k + 1) -th tap of the delay unit;
The first adder of the FIR filter includes the first delay unit when the output signal from the (2m-2k + 1) -th tap of the first delay unit and n from the first signal selection unit are an even number. The (2m + 2k + 1) -th tap output signal or the (2m + 2k + 1) -th tap output signal of the first delay unit when n from the first signal selection unit is an odd number is added, and the (m -K + 1) output the addition signal and add the output signal from the (2m + 1) th tap of the first delay unit and the output signal from the (2m + 3) th tap of the first delay unit , Output the (m + 1) th addition signal,
The multiplication unit of the FIR filter multiplies the (m−k + 1) th addition signal from the first addition unit by the (2m−2k + 1) th filter coefficient, and (2m−2k + 1) th. The (m−k + 1) th addition signal from the first adder is multiplied by the (2m−2k + 2) th filter coefficient to multiply the (2m−2k + 2) th filter signal. A first multiplier that outputs a multiplication signal, and a (2m + 1) th multiplication signal by multiplying the (m + 1) th addition signal from the first addition unit by the (2m + 1) th filter coefficient. A second multiplier that outputs and outputs the (2m + 2) th multiplied signal by multiplying the output signal from the (2m + 1) th tap of the first delay unit by the (2m + 2) th filter coefficient Have
Furthermore, the FIR filter is
When m is 1, at time Tn, when n is an even number, the first multiplication signal from the multiplication unit is selected and output, while when n is an odd number, the second multiplication signal is output. When m is 2 or more, at time Tn, when n is an even number, the (2m-2k + 1) -th multiplication signal from the multiplication unit is selected while n is an odd number. Selects a (2m-2k + 2) th multiplication signal, adds the selected multiplication signals, and outputs the second signal selection unit;
At time Tn, when n is an even number, the (2m + 1) th multiplication signal from the second multiplication unit is selected, while when n is an odd number, the (2m + 2) th multiplication signal from the second multiplication unit is selected. A third signal selection unit that selects the multiplication signal, adds the selected signal and the output signal from the second signal selection unit, and outputs the added signal;
The band-limited output unit of the FIR filter includes a second delay unit that delays an output signal from the third signal selection unit by the unit time, an output signal from the third signal selection unit, and the second delay unit. A second adder for adding the output signal from
The decimation circuit is
At time Tn, when n is an odd number, the output signal from the second addition section is thinned out, and when n is an even number, the signal processing circuit outputs the output signal from the second addition section. .
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006096348A JP4838030B2 (en) | 2006-03-31 | 2006-03-31 | Signal processing circuit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006096348A JP4838030B2 (en) | 2006-03-31 | 2006-03-31 | Signal processing circuit |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2007274260A true JP2007274260A (en) | 2007-10-18 |
JP4838030B2 JP4838030B2 (en) | 2011-12-14 |
Family
ID=38676609
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2006096348A Expired - Fee Related JP4838030B2 (en) | 2006-03-31 | 2006-03-31 | Signal processing circuit |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4838030B2 (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH06214552A (en) * | 1993-01-18 | 1994-08-05 | Mitsubishi Electric Corp | Picture reducing circuit |
JP2005027145A (en) * | 2003-07-04 | 2005-01-27 | Fujitsu Ten Ltd | Digital filter device and receiver |
-
2006
- 2006-03-31 JP JP2006096348A patent/JP4838030B2/en not_active Expired - Fee Related
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH06214552A (en) * | 1993-01-18 | 1994-08-05 | Mitsubishi Electric Corp | Picture reducing circuit |
JP2005027145A (en) * | 2003-07-04 | 2005-01-27 | Fujitsu Ten Ltd | Digital filter device and receiver |
Also Published As
Publication number | Publication date |
---|---|
JP4838030B2 (en) | 2011-12-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP0695032B1 (en) | Digital-to-digital sample rate converter | |
JP2008021119A (en) | Digital filter and image processor using the same | |
JP2002158561A (en) | Fir filter, and data processing method therefor | |
WO2005078925A1 (en) | Digital filter design method and device, digital filter design program, and digital filter | |
WO2006134688A1 (en) | Interpolation process circuit | |
Bhakthavatchalu et al. | Design of optimized CIC decimator and interpolator in FPGA | |
JP4838030B2 (en) | Signal processing circuit | |
JP5790956B2 (en) | Digital filter circuit | |
EP2418773A1 (en) | Glitch-free switchable FIR-filter | |
US7242326B1 (en) | Sample rate conversion combined with filter | |
WO2007102611A1 (en) | Interpolation function generation circuit | |
WO2005002051A1 (en) | Digital filter | |
JP3322030B2 (en) | Sampling rate converter | |
Reddy et al. | Shift add approach based implementation of RNS-FIR filter using modified product encoder | |
KR100869137B1 (en) | Filter device | |
JPH0590897A (en) | Oversampling filter circuit | |
JPH0555875A (en) | Digital filter | |
JP4243473B2 (en) | FIR digital filter | |
KR100571642B1 (en) | Finite Impulse Response Filter | |
CN117749132A (en) | Parallel reconfigurable low-pass filter | |
KR930006537B1 (en) | Band splitting method of image signal | |
Alle et al. | Implementation of two parallel FIR filter structure using LUT less DA | |
Ohlsson et al. | Implementation of a combined interpolator and decimator for an OFDM system demonstrator | |
JP5665770B2 (en) | Signal generation apparatus and signal generation method | |
JPH05283979A (en) | Fir type filter |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20080220 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20110215 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20110329 |
|
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: 20110927 |
|
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: 20110929 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20141007 Year of fee payment: 3 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 4838030 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
LAPS | Cancellation because of no payment of annual fees |