WO2004036747A1 - デジタルフィルタの設計方法および装置、デジタルフィルタ設計用プログラム、デジタルフィルタ - Google Patents

デジタルフィルタの設計方法および装置、デジタルフィルタ設計用プログラム、デジタルフィルタ Download PDF

Info

Publication number
WO2004036747A1
WO2004036747A1 PCT/JP2003/013382 JP0313382W WO2004036747A1 WO 2004036747 A1 WO2004036747 A1 WO 2004036747A1 JP 0313382 W JP0313382 W JP 0313382W WO 2004036747 A1 WO2004036747 A1 WO 2004036747A1
Authority
WO
WIPO (PCT)
Prior art keywords
filter
numerical sequence
tap
digital filter
unit
Prior art date
Application number
PCT/JP2003/013382
Other languages
English (en)
French (fr)
Inventor
Yukio Koyanagi
Original Assignee
Neuro Solution Corp.
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Neuro Solution Corp. filed Critical Neuro Solution Corp.
Priority to JP2004544993A priority Critical patent/JPWO2004036747A1/ja
Priority to EP03754199A priority patent/EP1557947A1/en
Publication of WO2004036747A1 publication Critical patent/WO2004036747A1/ja
Priority to US10/907,933 priority patent/US20050171988A1/en

Links

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03HIMPEDANCE NETWORKS, e.g. RESONANT CIRCUITS; RESONATORS
    • H03H17/00Networks using digital techniques
    • H03H17/02Frequency selective networks
    • H03H17/06Non-recursive filters

Definitions

  • the present invention relates to a digital filter design method and apparatus, a digital filter design program, and a digital filter. More particularly, the present invention relates to a digital filter having a tap delay line composed of a plurality of delay units, and a signal for each tap. FIR filters that are multiplied by several times, added and output, and the design method
  • IIR Infinite Impulse Response
  • FIR Finite Impulse Response
  • the filters When the filters are classified according to the arrangement of the passband and stopband, they are mainly divided into four types: lowpass filters, highpass filters, bandpass filters, and bandstop filters.
  • the basics of IIR and FIR filters are mouth-pass filters, and other high-pass filters, band-pass filters, and band-stop filters perform frequency conversion and other processing from low-pass filters. It is guided by
  • the impulse response represented by the finite time length is the filter coefficient as it is. Therefore, designing a FIR filter means determining the filter coefficient so as to obtain the desired frequency characteristics.
  • the frequency characteristics of the filter obtained by the conventional design method depend on the window function and the Chebyshev approximation formula. If these are not set properly, good frequency characteristics cannot be obtained. However, it is generally difficult to set window functions and approximate expressions appropriately. That is, the conventional In the filter design method, a skilled engineer had to take time and effort to design, and there was a problem that an FIR filter having desired characteristics could not be easily designed.
  • the present invention has been made to solve such a problem, and an object of the present invention is to make it possible to easily design an FIR digital filter having a desired frequency characteristic.
  • the design method of the digital filter according to the present invention is an asymmetric type in which the total value of the numerical sequence is non-zero, and the value is set so that the total value of each jump of the numerical sequence is equal to each other with the same sign.
  • the first and second unit filters having filter coefficients are cascaded so that the entire numerical sequence is symmetrical, and the basic filter is connected to the first and second unit filters. It is characterized in that filter design is performed by connecting multiple cascades.
  • the asymmetrical value is set such that the total value of the numerical sequence is zero and the discrete total values of the numerical sequence are equal to each other with opposite signs.
  • the first and second unit filters having a filter coefficient of the type are connected in cascade so that the entire numerical sequence is symmetrical, and the basic filter is used. The feature is that the filter is designed by connecting multiple evenings in cascade.
  • a delay of n clocks is provided between each tap corresponding to an asymmetrical filter coefficient constituting the first and second unit filters. It is characterized in that the passband of the filter is adjusted by insertion.
  • the digital filter according to the present invention includes a delay line with a tap including a plurality of delay units, and a signal of each tap is described in any one of claims 1 to 7. It is characterized by multiplying each by the filter coefficient obtained by the filter design method described above, adding them up, and outputting.
  • a basic filter is formed by cascade-connecting two unit filters each having a predetermined asymmetrical numerical value sequence as a filter coefficient.
  • the digital filter is designed by cascading a plurality of filters, so that the filter coefficient of the digital filter having the desired frequency characteristics is automatically obtained only by cascading the basic filter. This makes it very easy to design a file even if you are not a skilled technician.
  • the predetermined asymmetrical numerical sequence is obtained by dividing the predetermined symmetrical numerical sequence into halves at the center thereof.
  • the number is very small and the number of filter coefficients required for each tap output is very small.
  • the desired frequency characteristics of the digital filter can be realized with high accuracy.
  • the digital filter to be designed has a very simple configuration consisting of repeating the same pattern as a basic filter, so that the man-hours required for integration can be reduced, and IC integration can be facilitated.
  • Fig. 1 is a diagram showing the circuit configuration of the 5-tap unit filter L10 and HIO and the numerical sequence of filter coefficients.
  • FIG. 2 is a diagram showing an algorithm for generating filter coefficients of the 5-tap unit filters L10 and HI0.
  • FIG. 3 is a diagram for explaining the meaning of the filter coefficient of the 5-tap one-pass unit filter L10.
  • FIG. 4 is a diagram for explaining the meaning of the filter coefficient of the 5-tap high-pass unit filter HI0.
  • FIG. 5 is a diagram illustrating an algorithm for generating a filter coefficient of a 5-tap one-pass unit filter L I 1.
  • FIG. 6 is a diagram illustrating frequency-gain characteristics of the 5-tap one-pass unit filters L10 and L11.
  • FIG. 7 is a diagram illustrating an algorithm for generating a filter coefficient of the 5-tap high-pass unit filter HI1.
  • FIG. 8 is a diagram showing frequency-gain characteristics of the 5-tap high-pass unit filter H10 and H11.
  • FIG. 9 is a diagram showing the frequency-gain characteristics of a 5-tap one-pass unit filter (L10).
  • FIG. 4 is a diagram illustrating gain characteristics.
  • FIG. 11 is a diagram for explaining extraction of a frequency band.
  • FIG. 12 is a diagram showing another example of extracting a frequency band.
  • FIG. 13 is a diagram showing a circuit configuration of two types of three-tap unit filters, which are the most basic in the filter design method according to the first embodiment, and a numerical sequence of filter coefficients.
  • Figure 14 is a diagram showing the frequency characteristics of the 3-tap high-pass unit filter H10 'when the simple numerical sequence ⁇ 8, 19, 0, 1 ⁇ is used as the filter coefficient.
  • FIG. 15 is a diagram illustrating the frequency characteristics of the 3-tap high-pass unit filter H I 0 ′ when only the filter coefficient H 3 is adjusted.
  • FIG. 16 is a diagram illustrating the frequency characteristics of the 3-tap high-pass unit filter H 10 ′ when the filter coefficients H 2 and H 3 are adjusted.
  • FIG. 17 is a diagram showing a circuit configuration of the unit filters L10 "and H10" according to the present embodiment and a numerical sequence of filter coefficients.
  • FIG. 18 is a diagram illustrating frequency characteristics of the low-pass unit filter L10 "according to the present embodiment.
  • FIG. 19 is a diagram illustrating the frequency characteristics of the high-pass unit fill H10 "according to the present embodiment.
  • FIG. 20 is a diagram illustrating frequency characteristics of a low-pass filter designed based on the first embodiment.
  • FIG. 21 is a diagram illustrating frequency characteristics of a bandpass filter designed based on the first embodiment.
  • FIG. 22 is a diagram illustrating a low-pass filter according to the second embodiment.
  • FIG. 23 is a diagram illustrating frequency characteristics of a low-pass filter designed based on the second embodiment.
  • FIG. 24 is a diagram illustrating an algorithm for generating the filter coefficients of the 5-tap unit secondary filter L20 and H20. BEST MODE FOR CARRYING OUT THE INVENTION
  • the digital filter according to the present embodiment includes a delay line with taps formed of a plurality of delay devices, and a FIR filter of a type in which an output signal of each tap is multiplied by a given filter coefficient and then added and output. It is evening.
  • the filter design method creates a unit filter Lin “, H1n” (a basic filter of the present invention) described below, and uses only one of the FIRs having a desired frequency characteristic. It is designed to design a filter.
  • the letter “n” added after the code representing the unit filter is the number of delay clocks inserted between each tap, that is, the number of “0” s inserted between each filter coefficient. (Details will be described later).
  • FIG. 1 is a diagram showing a 5-tap unit filter L 10 H 10.
  • the 5-tap unit filters L10 and H10 have six cascaded units. flop of the D-type full Li 1 ⁇ to 1 clock CK by sequentially delaying the input signal by 1 -6. Each D-type full re-flops 1 -, ⁇ 1 with respect -6 signal taken out from the predetermined tap, five coefficient multipliers the filter coefficients Hl ⁇ h 5 shown in FIG. 1 (b) S ⁇ S-s each The multiplication is performed, and the results of the multiplication are all added by four adders 3 to 3_4 and output.
  • the filter coefficient (the coefficient unit 2 -, - 2 5 multiplier values hi ⁇ Only h 5) is different as shown in Fig. 1 (b).
  • the fill coefficient of the 5-tap one-pass unit filter L10 is a very simple numerical sequence ⁇ —1,0,9,16,9,0, —1 ⁇ / It consists of 3 2 (however, the part with a value of "0" has no tap output as shown in Fig. 1 (a) and is not used as a filter coefficient).
  • FIG. 2 is a diagram for explaining a method of generating a numerical sequence that forms the filter coefficients of the 5-tap unit filter L10 and HI0.
  • the numerical value sequence that constitutes the filter coefficient of the 5-tap low-pass unit filter L10 has a data value of ⁇ —1, 1, 8, 8, 8, This is obtained by performing a single moving average operation on a predetermined digital basic function that changes as ⁇ 1, 1, 1 ⁇ / 16.
  • the numerical sequence forming the fill coefficient of the 5-tap high-pass unit filter H10 has a data value of ⁇ 1, -1, -8, 8 , — 1, 1 ⁇ 16 and a digital basic function that changes the data value every clock CK to ⁇ 1, one 1, 8, 8, — 8, -1, 1 ⁇ / 16 Is obtained by calculating the moving average of
  • FIG. 3 is a diagram illustrating a result obtained by performing a quadruple over sampling and a computation operation on a numerical sequence forming a filter coefficient of the 5-tap low-pass unit filter L10.
  • the integer number sequence ⁇ 11,0,9,16,9,0,11 ⁇ obtained by multiplying the original number sequence by 32 is oversized.
  • An example is shown in which sampling and compli- cation operations are performed.
  • Fig. 3 (a) the series of numerical values shown in the leftmost column is four times larger than the original numerical sequence ⁇ — 1, 0, 9, 16, 9, 0, — 1 ⁇ . This is the value after oversampling. Also, the four numeric columns from the leftmost to the right are the numeric columns shown in the leftmost column shifted down one by one.
  • the column direction in Fig. 3 (a) shows the time axis, and shifting the numerical sequence downward corresponds to gradually delaying the numerical sequence shown in the leftmost column. I do.
  • the second numerical sequence from the left indicates that the numerical sequence shown in the leftmost column is shifted by 1/4 phase of the 4 ⁇ frequency clock 4CK.
  • the numerical sequence in the third column from the left is a numerical sequence obtained by shifting the numerical sequence shown in the second column from the left by 14 phases of the quadruple frequency clock 4 CK, and the numerical sequence in the fourth column from the left is , Quadruple the number sequence shown in the third column from the left This indicates that the numerical sequence is further shifted by 1 Z 4 phases of the clock 4 CK of the wave number.
  • the fifth numerical column from the left is a value obtained by adding the first to fourth numerical columns in the corresponding rows.
  • quadruple oversampling involving four-phase compiling operations is executed digitally.
  • the ninth column from the left is the sum of the fifth to eighth columns in the corresponding rows. The processing from the left to the ninth column, so that four times the over one sampling with Konbori Interview one-motion operation of the four phases are performed digital evening Le manner twice.
  • the tenth numerical sequence from the left is the numerical sequence shown in the ninth column shifted downward by one.
  • the numerical sequence in the 11th column (the rightmost column) from the left is a value obtained by adding the numerical sequence in the ninth column and the numerical sequence in the 10th column between corresponding rows.
  • Fig. 3 (b) is a graph of the finally obtained numerical sequence shown in the rightmost column of Fig. 3 (a).
  • the function having the waveform shown in Fig. 3 (b) has a finite value other than "0" only when the sample position along the horizontal axis is between t1 and t4. Is a function whose values are all "0" in the region of, that is, a function whose value converges to "0" at sampling positions t1 and t4.
  • the case where the value of the function has a finite value other than "0" in a local region and becomes "0" in other regions is called "finite base".
  • Fig. 3 () takes the maximum only at the center sample position t5, and the value becomes "0" at the four sample positions tl, t2, t3, and t4.
  • This is a sampling function that has a characteristic All the sample points required to obtain the data pass.
  • FIG. 4 is a diagram showing a result obtained by performing a quadruple oversampling and a computation operation on a numerical sequence forming a filter coefficient of the 5-tap high-pass unit filter H10. is there.
  • FIG. 4 (a) shows the same operation process as in FIG. 3 (a).
  • Graphing the finally obtained numerical sequence shown in the rightmost column of Fig. 4 (a) gives a graph as shown in Fig. 4 (b).
  • the function shown in Fig. 4 (b) is also a sampling function that has a local maximum only at the center sampling position t7 ', and is differentiable once in all regions, and furthermore, the sampling positions t1' and t6 ' Is a finite function that converges to zero.
  • Figure 5 shows a 5-tap one-pass unit fill L
  • Fig. 6 is a diagram showing the frequency-gain characteristics of the result of FFT (Fast Fourier Transfer) of the numerical sequence of the 5-tap low-pass unit fill L10 and L11.
  • FFT Fast Fourier Transfer
  • the gain and frequency are normalized by "1".
  • the gain of the five-tap one-pass unit filter L10, L11 is 0.5 at the center frequency, and the gain in the low-frequency region is low.
  • Overshoot Good low-pass filter characteristics with no ringing in the high-frequency region are obtained. If n is the number of "0" inserted between each filter coefficient, the frequency axis of the frequency-gain characteristic (period in the frequency direction) is lZn.
  • FIG. 7 is a diagram showing the filter coefficient of the 5-tap high-pass unit file H11. As shown in FIG. 7, the filter coefficient of the 5-tap high-pass unit filter H11 is "0" between the filter coefficients of the 5-tap high-pass unit filter H10. Is generated by inserting one by one.
  • FIG. 8 is a diagram showing the frequency-gain characteristics of the 5-tap high-pass unit filters H10 and H11. Again, the gain and frequency are normalized by "1". As can be seen from FIG. 8, in the 5-tap high-pass unit filters H10 and H11, the gain is 0.5 at the center frequency, and overshoot or low-frequency in the high-frequency region is achieved. Good high-pass filter characteristics with no ringing in the frequency domain are obtained. If n is the number of “0” s inserted between the filter coefficients, the frequency axis (period in the frequency direction) of the frequency-gain characteristic is 1 n.
  • Fig. 2 (b) which is the basis for realizing such a high-pass filter characteristic, is also the basis of a finite-unit sampling function as shown in Fig. 4 (b). Therefore, by using this numerical sequence as a filter coefficient, it is not necessary to cut off the coefficient using a window function, and good high-pass filter characteristics can be obtained.
  • Fig. 9 is a diagram showing the frequency-gain characteristics of the five-tap one-pass unit filter L10, (L10) 2 , (L10) 4 , (L10) 8 . .
  • the gain and frequency are normalized by "1".
  • the clock at the position where the amplitude is 0.5 is 0.25.
  • FIG. 10 shows a 5-tap high-pass unit filter H10, (H10) 2
  • FIG. 9 is a diagram showing frequency-gain characteristics of (HI 0) (HI 0) 8 .
  • the gain and the frequency are normalized by "1".
  • the clock at the position where the amplitude becomes 0.5 is 0.25.
  • FIG. 11 is a diagram for explaining extraction of a frequency band.
  • the extraction of the frequency band is performed using a cascade connection of four or more of the above unit filters.
  • Figure 1 1 (a) is 5 power strips opening one Pasuyuni' Tofui relay evening (L 1 0) 4, ( L ll) 4, (L 1 3) 4, (L 1 7) 4 frequency one gain characteristics Are shown on a single graph.
  • the gain and frequency are normalized by "1".
  • FIG. 12 is a diagram showing another example of extracting a frequency band. As shown in Fig.
  • the 5-tap low-pass unit filter (L10) 4 , (L11) 8 , and (L13) 4 are combined and cascaded. When connected, a low-pass filter having a predetermined frequency band as a pass band can be obtained.
  • a 5-tap high-pass unit filter (H11) 8 and a 5-tap one-pass unit filter (L13) 4 , (L17) When these are connected in cascade in combination with (L115) 8 , a band filter having a predetermined frequency band as a passband can be obtained.
  • the filter design method is simple and easy to think, and the filter design can be performed extremely easily even by a non-skilled engineer.
  • the number of taps required for a filter circuit designed by applying the above method is very small, and the type of filter coefficient required for each tap output is also limited. Since only a small amount is required, the configuration of the operation unit of the filter circuit can be extremely simplified. Therefore, the number of circuit elements (particularly, multipliers) can be significantly reduced, and the size of the filter circuit can be reduced, and the power consumption and the computation load can be reduced.
  • the filter circuit designed by applying the above method has almost the same parameters. Since it is a very simple configuration consisting of repeated turns, it has the advantage that the man-hours required for integration can be reduced, and that IC integration can be facilitated. Also, in terms of characteristics, the cutoff characteristics can be greatly improved, and the phase characteristics are linear and excellent filter characteristics can be obtained. Regarding the contents described above, the applicant has already applied for a patent (Japanese Patent Application No. 2001-321132). The present embodiment is a further improvement of the contents of this already-filed application. As described above, an FIR filter having a desired frequency characteristic can be designed only by cascading one type of unit filter LI n "or H 1 n".
  • the three-tap unit fill L In 'H 1 n' which is a component of the unit fill L In "H In"
  • the filter coefficients of the 3-tap unit filter L in ', H 1 n' are obtained by further dividing one side of the half of the numerical sequence of the filter coefficients of the 5-tap unit filter L 1 n, H n described above at the center. Adjusted.
  • FIG. 13 is a diagram showing a three-tap unit filter L 10 'H 10', where (a) shows the circuit configuration and (b) shows a numerical sequence of filter coefficients.
  • the input signal is shifted by one clock CK by three D-type flip-flops 1 1 1 1 _ 3 connected in cascade. Are sequentially delayed.
  • the filter coefficient H 1 H 3 shown in FIG. Multiply them by 1 2 1 2 _ 3 , add up all the multiplication results by 2 adders 1 3 1 3 -2 , and output.
  • circuit configurations of the above two types of three-tap unit filters L 10 'and H 10' are both as shown in Fig. 13 (a), and the filter coefficients (coefficient units 1 2 _
  • the filter coefficient of the 3-tap one-pass unit filter L 1 0 ' is such that the numerical sequence is asymmetric, the total value of the numerical sequence is non-zero, and the total value of each skip of the numerical sequence is the same sign. They have the property of being equal to each other.
  • the filer coefficients of the 3-tap high-pass unit filter H 1 0 ′ are such that the numerical sequence is asymmetric, the total value of the numerical sequence is zero, and the total value of one jump of the numerical sequence is the opposite sign. Have the property of being equal to each other.
  • the fill coefficients of these three-tap unit filters L10 'and H10' have the same properties as the above-described five-tap unit filters L10 and H10 except that they are asymmetric. ing. However, the values are slightly more complex than the filter coefficients of the 5-tap unit filters L10 and HI0. The reason will be described below.
  • Figure 14 shows one side of a 5-tap high-pass unit filter H10 with the filter coefficient ⁇ 1,0, —9,16, —9,0,1 ⁇ / 32 divided in half at the center.
  • the filter coefficient ⁇ 1,0, —9,16, —9,0,1 ⁇ / 32 divided in half at the center.
  • the simple numerical sequence ⁇ 8 — 9, 0, 1 ⁇ no 16 is used as the filter coefficient (however, the portion with the value “0” has no tap output and is used as the filter coefficient).
  • FIG. 7 is a diagram showing the frequency characteristics of FIG. Here, the gain and frequency are normalized by "1".
  • the passband in the frequency characteristic is obtained.
  • the peak of the wave undulates, producing multiple maxima, and the maxima exceed "1".
  • a unit filter having such frequency characteristics is not suitable for designing a desired FIR filter by cascading a plurality of units.
  • the above simple numerical sequence ⁇ 8, —9, 0, 1 ⁇ 16 is adjusted.
  • the adjustment of the maximum value can be performed using the filter coefficient ⁇ 3 used for adjusting the high frequency component and the filter coefficient ⁇ 2 having the opposite sign.
  • the value of ⁇ for gain adjustment ( ⁇ value of fill coefficient ⁇ 2) should be the same as the value of ⁇ for high frequency adjustment (value of ⁇ of fill coefficient ⁇ 3) described above.
  • ⁇ value of fill coefficient ⁇ 2 the value of ⁇ for gain adjustment
  • ⁇ value of fill coefficient ⁇ 3 the value of ⁇ for high frequency adjustment
  • each of the 3-tap high-pass unit filters 010 ' By inserting ⁇ pieces of “0” between the coefficients, it is possible to generate a 3-tap high-pass unity filter ⁇ 1 ⁇ ′.
  • the filter coefficient of the three-tap pro-unit filter L 10 ′ can be appropriately adjusted.
  • the frequency response on the high frequency side Decrease the absolute value of the filter coefficient ⁇ 3 that determines the value from “—1” to “— (1 ⁇ 8)”.
  • the maximum value of the gain is adjusted by the filter coefficient ⁇ 3 and the filter coefficient ⁇ 2 having the opposite sign. That is, the value of the filter coefficient ⁇ 2 is reduced from “9” to “ ⁇ ”.
  • each filter of the 3-tap low-pass unit filter L 10 ' By inserting ⁇ pieces of “0” between the coefficients, it is possible to generate a 3-tap one-passunit filter L 1 ⁇ ′.
  • the filter coefficient of the 3-tap unit filter L10 ', ⁇ 10' is the half of the numerical sequence of the filter coefficient of the 5-tap unit filter L10, ⁇ 10 at the center.
  • the numerical sequence ⁇ 1-1,0,9,8 ⁇ / 16, ⁇ 1,0, —9,8 ⁇ / 16 on the other side may be adjusted and generated.
  • FIGS. 17A and 17B are diagrams showing the unit filters L10 "and H10" according to the present embodiment.
  • FIG. 17A shows the circuit configuration
  • FIG. 17B shows a numerical sequence of filter coefficients. Is shown.
  • the unit filters L10 "and H10" of the present embodiment have the same configuration. That is, the mouth-to-pass unit filter L10 "is formed by cascading two 3-tap mouth-to-pass unit filters 1L10 and 2L10.
  • the filter H10 " is two 3-tap heinos. It consists of unit filters 1H10 and 2H10 cascaded.
  • the mouth-to-pass unit file L10 " is composed.
  • One of the three taps, one pass unit filter L 2 is the numerical sequence of the filter coefficient of the above five low pass unit filter L 10 ⁇ —1, 0, 9, 1 6, 9, 0, 1 1 ⁇ / 3 2
  • the half-valued sequence ⁇ 8, 9, 0, — 1 ⁇ / 1 of the 2 halves is further adjusted to obtain the filter coefficients H 4 to H 6.
  • the other three-tap one-pass unit filter 1L10 further converts the numerical sequence ⁇ 1,0,9,8 ⁇ 16 on the other side of the half divided as described above.
  • the adjusted values are referred to as filter coefficients H1 to H3.
  • the three-tap high-pass unit filter 2 H10 that constitutes the high-pass unit filter H 10 " is a numerical sequence of the filter coefficients of the five-tap high-pass unit filter HI 0 described above. ⁇ 1, 0, 1 9, 1 6, — 9, 0, 1 ⁇ / 3 A further adjustment of the numerical sequence ⁇ 8, — 9, 0, 1 ⁇ / 16 of one half of 2 divided into two Are the filter coefficients H4 to H6, that is, the same as the above-mentioned three-tap high-pass unit filter H10 '.
  • the high-pass unit filter 1H10 is obtained by further adjusting the numerical sequence ⁇ 1, 0, -9, 8 ⁇ 16 on the other side of the half, as described above, with the filter coefficients HI to H3.
  • connection relationship between the above two three-tap one-pass unit filters 1L10 and 2L10, and the above-mentioned two three-tap high-pass unit filters 1H10 and 2H10 The connection relationship of the right and left may be opposite to that shown in Fig. 17 (a).
  • Fig. 18 shows the frequency characteristics of the one-pass unit filter L10 "
  • Fig. 19 shows the high-pass unit filter. This is a diagram showing the frequency characteristics of the frequency HI 0 ", and the gain is represented on a logarithmic scale. In FIGS. 18 and 19, the gain and the frequency are normalized by" 1 ". .
  • the unit files L10 "and HI0" shown in Fig. 17 have 6 taps as a whole, and are even more than the 5-tap units L10 and HI0.
  • the number of groups is increasing.
  • the unit filters L10 "and H10" have two 3-tap unit filters. It is configured by cascade connection. Therefore, the node width is already narrower than the 5-tap units L10 and H10.
  • this embodiment is particularly effective when designing an FIR filter having a narrow band width.
  • the number of unit filters cascaded as a whole to achieve the desired narrow band width is significantly reduced as compared with the case where five tap unit filters L10 and H10 are used. be able to.
  • the circuit scale can be reduced as a whole.
  • the sampling frequency F s of the signal is 48 KHz, — the bandwidth of 3 dB is 3.5 KHz, the bandwidth of 80 dB is 8 KHz, and the out-of-band attenuation is — 80 d B or more.
  • the band width can be reduced by increasing the number of cascaded unit filters.
  • the inclination can be adjusted by changing the parameter value N.
  • the parameter value N is usually 3 and the slope becomes smaller when N> 3, and becomes larger when N ⁇ 3.
  • FIG. 20 is a diagram showing the frequency characteristics of the low-pass filter configured as described above, and shows the gain on a logarithmic scale.
  • FIG. 20 (b) is a partially enlarged view of the characteristic shown in FIG. 20 (a).
  • the mouth-pass filter ⁇ 1L (2.6) 10 * 2L (2.6) 10 ⁇ 64 satisfies the above-mentioned target standard. Also, since the filter coefficient is symmetric, the phase characteristics are linear.
  • the number of D-type flip-flops per bit required for a low-pass filter configured in this manner is 49, and the number of taps is 49.
  • the types of values to be calculated There are only a few types of (the types of values to be calculated). If sixty-four unit filters L10 "having six taps are connected in cascade, the number of D-type flip-flop taps will be greater than 49 originally. , This one
  • the filter coefficient of the path filter is generated based on the above-mentioned finite-function function, and the coefficient value becomes small enough to be ignored near both sides of the cascade connection. Due to the nature of the finite base, no truncation error occurs even if this part is ignored, so this part is excluded.
  • the remaining part is the final filter coefficient for low-pass filters that meet the target specifications. Therefore, in practice, it is sufficient to configure this filter coefficient as hardware, and only 49 D-type flip-flops and taps are required for the hardware. As a result, the number of D-type flip-flops and taps required as a whole can be extremely reduced, and the configuration of the filter circuit can be extremely simplified.
  • the following is an example of a bandpass filter design using the nopass unit filter H11 ".
  • the target standard of the bandpass filter to be designed is as follows: the sampling frequency F of the signal. s is 1.8 MHz,-3 dB bandwidth is 100 kHz, 180 dB bandwidth is 200 kHz, out-of-band attenuation is more than 180 dB .
  • Fig. 21 is a diagram showing the frequency characteristics of the bandpass filter configured in this way, and shows the gain on a logarithmic scale.
  • FIG. 21 (b) is a partially enlarged view of the characteristic shown in FIG. 21 (a).
  • the bandpass filter ⁇ 1H (2.7) 11 * 2H (2.7) 11 ⁇ 704 meets the above-mentioned target standard.
  • the phase characteristics are also linear.
  • the number of taps per bit required for the band-pass filter configured as described above is only 77 taps except for a part where the coefficient value is negligibly small. There are only 31 types. Also, one video The number of D-type flip-flops per set is only 16 1 steps.
  • a high-pass filter having desired characteristics can be formed by cascading a plurality of high-pass unit filters H 10 ".
  • FIGS. 20 and 21 show examples in which the number of processing bits is set to 16 bits, a characteristic having deeper attenuation can be obtained by increasing the number of processing bits. Can be. In other words, a digital filter whose attenuation depends on the number of processing bits can be obtained.
  • one type of unit filter L 1 n "or H 1 n" having a predetermined basic numerical sequence as a filter coefficient is cascaded.
  • a filter coefficient of the FIR filter having a desired frequency characteristic can be obtained only by this cascade connection. Therefore, the filter design method is very simple and easy to think, and the filter design can be performed extremely easily even by a non-skilled engineer.
  • the number of taps required for a filter circuit designed by applying the above method is very small, and the types of filter coefficients required for each tap output are also small.
  • the configuration of the operation unit of the filter circuit can be extremely simplified. Therefore, the number of circuit elements can be significantly reduced and the size of the filter circuit can be reduced.
  • the filter circuit designed by applying the above-described method has a very simple configuration consisting of repetition of exactly the same pattern, so that the man-hours required for integration can be reduced, and IC integration can be realized. It also has the advantage that it can be made easier.
  • a digital filter having desired characteristics can be designed with only one kind of cascade connection for the 5-tap unit filters Lin and HIn already filed.
  • an extremely large number of cascade stages is required as compared with the present embodiment, so that the digital filter is used.
  • the number of taps and D-type flip-flops is very large.
  • Fig. 22 shows the above-mentioned mouth-to-pass filter ⁇ 1L (2.6) 10 * 2L (2.6) 10 ⁇ , where (a) shows the configuration of the dancer circuit. (B) indicates the clock to be used.
  • the low-pass filter shown in Figure 22 operates in accordance with the D-type flip-flops 51 and 56 that operate according to the reference clock CK and the clock 16 CK that is 16 times the frequency.
  • the four-stage processing unit 54 is configured by a one-pass filter ⁇ 1 L (2.6) 1 16 * 2 L (2.6) 1 16 ⁇ 4 .
  • the data input to the first-stage D-type flip-flop 51 is input to the terminal A of the multiplexer 52.
  • the data of the low-pass filter processing result output from the terminal B of the data selector 55 is input to the terminal B side of the multiplexer 52.
  • the multiplexer 52 selectively selects one of the data input to these terminals A and B to the next stage D-type flip-flop. Output to step 53.
  • the terminal A is selected at the timing when the clock CK1 is supplied to the multiplexer 52, and the terminal B is selected at other times, and the selected data is stored in the D-type free circuit.
  • the D-type flip-flop 53 temporarily holds the data supplied from the multiplexer 52 and outputs the data to the four-stage processing unit 54.
  • the 4-stage processing section 54 applies a ⁇ 1 L (2.6) 1 16 * 2 L (2.6) 1 1 6 ⁇ 4 low-pass filter to the data supplied from the D-type flip-flop 53. Perform processing.
  • the data output from the four-stage processing unit 54 is input to the data selector 55.
  • the data selector 55 selectively outputs the data supplied from the four-stage processing unit 54 to either the D-type flip-flop 56 or the multiplexer 52.
  • the data selector 55 selects the terminal A at the timing given the clock CK 1 and outputs the data supplied from the four-stage processing unit 54 to the D-type flip-flop 56. At other times, the terminal B side is selected, and the data supplied from the four-stage processing section 54 is output to the multiplexer 52.
  • the data input through the D-type flip-flop 51 is converted into ⁇ 1 L (2.6) 1 16 * 2 L (2.6) 1 1 6 ⁇
  • the mouth-to-pass filling process of 4 is repeated 16 times, and the resulting data is output through the D-type flip-flop 56.
  • the same processing as ⁇ 1L (2.6) 10 * 2L (2.6) 10 ⁇ 64 is performed on the input data.
  • a digital filter can be configured by cascading only one type of unit filter, and the digital filter is formed by repeating exactly the same pattern.
  • the number of taps to be used can be further reduced by configuring a repeated portion of the same pattern by a loop circuit.
  • the number of taps required per bit was 49 and the number of taps was 23, whereas in the second embodiment the number of taps was The number of taps can be reduced to 21 and the number of taps can be reduced to 11.
  • FIG. 23 is a diagram showing the frequency characteristics of the low-pass filter configured as in Fig. 22.
  • the gain is represented on a logarithmic scale.
  • FIG. 23 () is a partially enlarged view of the characteristic shown in FIG. 23 (a).
  • the configuration example of the one-pass filter is shown, but the high-pass filter and the band-pass filter can also be configured using a loop circuit in the same manner. The number of taps used can be further reduced.
  • An apparatus for implementing the digital filter design method according to the first and second embodiments described above can be implemented by any of a hardware configuration, a DSP, and software.
  • the filter design device when implemented by software, is composed of a computer CPU or MPU, RAM, ROM, etc., and a program stored in RAM, ROM, hard disk, etc. operates. This can be achieved by doing so.
  • the program can be realized by recording a program that causes a computer to perform the functions of the present embodiment on a recording medium such as a CD-R ⁇ M, and reading the program into the computer. is there .
  • a recording medium for recording the above programs in addition to CD-R ⁇ M, a flexible disk, a hard disk, a magnetic tape, an optical disk, and an optical disk A magnetic disk, a DVD, a nonvolatile memory card, or the like can be used. It can also be realized by downloading the above program to a computer via a network such as the Internet.
  • the filter coefficients relating to various unit filters are stored as information in a memory such as a RAM or a ROM, and when the user designates an arbitrary combination relating to the unit filters, the CPU executes the above memory. It is possible to calculate the FIR filter by calculating the filter coefficient corresponding to the specified combination using the information of the filter coefficient stored in the FIR.
  • various unit filters are iconized (the filter coefficients are stored as information for each icon), and the user displays these icons on the display screen.
  • the CPU may automatically calculate and obtain the filter coefficient corresponding to the array. Also, if the obtained filter coefficients are automatically FFT-converted and the results are displayed as a frequency-gain characteristic diagram, the characteristics of the designed filter coefficients can be confirmed. The design can be done more easily.
  • the functions of the above-described embodiment are realized not only by the computer executing the supplied program, but also by executing the operating system (OS) running the computer on the computer. Or when the functions of the above-described embodiment are realized in cooperation with another application software or the like, or when all or a part of the processing of the supplied program is executed by a computer function expansion board or the like. Such a program is also included in the embodiment of the present invention when the function of the above-described embodiment is realized by the function expansion unit.
  • OS operating system
  • FIGS. 2 (a) and (b) The symmetrical numerical sequence shown in (1) is divided into halves to obtain asymmetrical 3-tap unit filter coefficients, but the original symmetrical numerical sequence is not limited to this.
  • a 5-tap mouth-pass unit second-order filter L20 generated as shown in Fig. 24 (a) or a 5-tap high-pass unitary second-order filter generated as shown in Fig. 24 (b) A symmetrical numerical sequence of H 2 0 may be used.
  • the numerical sequence may be divided into halves to obtain the fill coefficient of the three tap unit fill.
  • the present invention is useful for a FIR digital filter of a type including a delay line with taps composed of a plurality of delay units, multiplying the signal of each tap by several times, and adding and outputting the result.

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Mathematical Physics (AREA)
  • Filters That Use Time-Delay Elements (AREA)
  • Picture Signal Circuits (AREA)
  • Complex Calculations (AREA)

Abstract

非対称型の数値列をフィルタ係数H1~H3,H4~H6とする2つのユニットフィルタ1L10,2L10を縦続接続して対称型のユニットフィルタL10”を構成し、これを縦続接続することによってフィルタ設計を行うようにすることにより、1種類のユニットフィルタL10”の縦続接続だけで求めるデジタルフィルタの係数を自動的に得ることができるようにする。また、非対称型のフィルタ係数H1~H3,H4~H6として、対称型の数値列{−1,0,9,16,9,0,−1}/32をその中央で半分に分けたものを用いることにより、必要なタップ数が少なくなるようにするとともに、窓関数を用いる必要もなくし、得られるフィルタ特性に打ち切り誤差が生じないようにする。

Description

明 細 書 デジタルフィ ル夕の設計方法および装置、 デジタルフィ ル夕設計用プロ グラム、 デジタルフィ ルタ 技術分野
本発明はデジタルフィ ル夕の設計方法および装置、 デジタルフィ ル夕 設計用プログラム、 デジタルフィ ルタに関し、 特に、 複数の遅延器から 成るタ ップ付き遅延線を備え、 各タ ップの信号をそれぞれ数倍した後、 加算して出力する F I Rフィ ルタおよびその設計法に関する ものである
背景技術 ·
通信、 計測、 音声 , 画像信号処理、 医療、 地震学などの様々な分野で 提供されている種々の電子機器においては、 その内部で何らかのデジ夕 ル信号処理を行っているのが通常である。 デジタル信号処理の最も重要 な基本操作に、 各種の信号や雑音が混在している入力信号の中から、 必 要なある周波数帯域の信号のみを取り 出すフィ ルタ リ ング処理がある。 このために、 デジタル信号処理を行う電子機器では、 デジタルフィ ルタ が用いられる ことが多い。
デジタルフィ ル夕 と しては、 I I R (Infinite Impulse Response : 無 限長イ ンパルス応答) フィ ルタや F I R (Finite Impulse Response : 有 限長イ ンパルス応答) フィ ルタが多く 用いられる。 このう ち F I Rフィ ル夕は、 次のような利点を持つ。 第 1 に、 F I Rフィ ル夕の伝達関数の 極は z平面の原点のみにあるため、 回路は常に安定である。 第 2 に、 フ ィ ル夕係数が対称型であれば、 完全に正確な直線位相特性を実現する こ とが可能である。
フィ ルタを通過域と阻止域との配置から分類すると、 主にローパスフ ィ ル夕、 ハイパスフィ ルタ、 帯域通過フィ ルタ、 帯域消去フィ ルタの 4 つに分けられる。 I I R フィ ルタや F I R フィ ルタで基本となるのは口 一パスフィ ル夕であ り、 その他のハイパスフィ ルタ、 帯域通過フィ ルタ 、 帯域消去フィ ル夕は、 ローパスフィ ル夕から周波数変換等の処理を行 う ことによって導かれる。
と ころで、 F I R フィ ル夕は、 有限時間長で表されるイ ンパルス応答 がそのままフィ ル夕の係数となっている。 したがって、 F I Rフィ ルタ を設計するという こ とは、 希望の周波数特性が得られるよ う にフィ ル夕 係数を決定するという こ とである。
従来、 基本となるローパスフィ ルタを設計する際には、 サンプリ ング 周波数とカ ツ トオフ周波数との比率をもとに、 窓関数やチェビシェフ近 似法などを用いた畳み込み演算等を行う ことによ り、 F I Rフィ ルタの 各タ ップに対するフィ ルタ係数を求める。 そして、 その求めたフィ ル夕 係数を用いてシミ ュ レ一ショ ンを行う ことによ り周波数特性を確認しな がら、 係数値を適宜修正し、 所要特性の口一パスフィ ルタを得ていた。 また、 ハイパスフィ ル夕、 帯域通過フィ ル夕、 帯域消去フィ ル夕等の 他のフィ ルタを設計する際には、 まず上述のような手順で基本となる口 —パスフィ ルタを複数設計する。 そして、 それらを組み合わせて周波数 変換等の操作を行う ことによ り、 所望の周波数特性を有する F I R フィ ル夕を設計していた。
しかしながら、 従来の設計法で得られるフィ ルタの周波数特性は、 窓 関数やチェ ビシェ フ近似式に依存するので、 これらをう まく設定しない と、 良好な周波数特性を得る ことができない。 と ころが、 窓関数や近似 式を適当に設定する ことは一般に困難である。 すなわち、 上記従来のフ ィルタ設計法では、 熟練した技術者が時間と手間をかけて設計する必要 があ り、 所望特性の F I Rフィ ルタを容易には設計できないという 問題 があった。
また、 仮に所望特性に近い F I Rフィ ル夕を設計できたと しても、 設 計されたフィ ル夕のタ ップ数は膨大とな り、 しかもその係数値は非常に 複雑でランダムな値となる。 そのため、 そのタ ップ数および係数値を実 現するためには大規模な回路構成 (加算器、 乗算器) が必要になる とい う問題もあった。 また、 設計された F I Rフィ ル夕を実際に使用する際 に、 その演算量が非常に多く な り、 処理負荷が重く なる という 問題もあ つた。
本発明はこのような問題を解決するために成されたものであ り、 所望 の周波数特性を有する F I Rデジタルフィ ルタを簡易的に設計できるよ う にする こ とを目的とする。
また、 本発明は、 希望する周波数特性を小さな回路規模で高精度に実 現することが可能な F I Rデジタルフィ ル夕を提供する こ とを目的とす る。 発明の開示
本発明によるデジタルフィ ル夕の設計方法は、 数値列の合計値が非ゼ 口で、 当該数値列の 1 つ飛びの合計値が同符号で互いに等しく なるよう に値が設定された非対称型のフィ ルタ係数を有する第 1 および第 2 のュ ニッ 卜フィ ルタを、 全体と しての数値列が対称型となるよう に縦続接続 して成る基本フィ ルタ を用いて、 当該基本フィ ル夕を複数縦続接続する ことによ り フ ィ ルタ設計を行う よう にしたこ とを特徴とする。
本発明の他の態様では、 数値列の合計値がゼロで、 当該数値列の 1 つ 飛びの合計値が逆符号で互いに等しく なるよう に値が'設定された非対称 型のフィル夕係数を有する第 1 および第 2 のュニッ ト フィ ル夕を、 全体 と しての数値列が対称型となるよう に縦続接続して成る基本フィ ルタ を 用いて、 当該基本フィ ル夕を複数縦続接続する こ とによ り フィ ルタ設計 を行うよう にしたことを特徴とする。
本発明の他の態様では、 上記第 1 および第 2 のュニッ ト フィ ルタ を構 成する非対称型のフィ ル夕係数に対応する各タ ップの間に n ク ロ ッ ク分 のディ レイ を挿入する ことによってフィ ルタの通過周波数帯域を調整す るよう にしたことを特徴とする。
また、 本発明によるデジタルフィ ルタは、 複数の遅延器から成るタ ツ プ付き遅延線を備え、 各タ ップの信号を、 請求の範囲第 1 項〜第 7 項の 何れか 1 項に記載のフィ ルタ設計法によ り求められたフィ ル夕係数によ りそれぞれ数倍した後、 加算して出力することを特徴とする。
以上説明したよう に本発明によれば、 所定の非対称型の数値列をフィ ル夕係数とする 2 つユニッ ト フィ ルタを縦続接続して基本フィ ル夕を構 成し、 この基本フィ ルタを複数縦続接続するこ とによってデジタルフィ ル夕を設計するよう にしたので、 当該基本フィ ル夕の縦続接続だけで、 所望の周波数特性を有するデジタルフィ ル夕のフィ ル夕係数を自動的に 得ることができ、 熟練した技術者でなく てもフィ ル夕の設計を極めて簡 単に行う こ とができる。
また、 本発明によれば、 上記所定の非対称型の数値列は、 所定の対称 型の数値列をその中央で半分に分けたものであるので、 設計されるデジ タルフィ ルタに必要なタ ップ数は非常にわずかで済み、 かつ、 各タ ッ プ 出力に対して必要なフィ ルタ係数の種類も非常に少なく て済む。 しかも 、 窓関数を用いる必要がなく 、 得られるフィ ル夕係数に打ち切り誤差が 生じるこ ともない。 したがって、 回路素子数 (特に乗算器) を大幅に削 減して回路規模を削減、 消費電力の低減、 演算負荷の軽減等を図る こと ができるとともに、 デジタルフィルタの希望する周波数特性を高精度に 実現することができる。 また、 設計されるデジタルフィルタは、 基本フ ィルタという同一パターンの繰り返しから成る極めて単純な構成である ので、 集積化に際して工数を短縮することができ、 I C化を容易にする こともできる。 図面の簡単な説明
図 1 は、 5 タップユニッ トフィル夕 L 1 0 , H I 0の回路構成および フィルタ係数の数値列を示す図である
図 2は、 5タップユニッ トフィルタ L 1 0 , H I 0のフィルタ係数の 生成アルゴリズムを示す図である。
図 3は、 5タップ口一パスユニッ トフィル夕 L 1 0のフィルタ係数の 意味を説明するための図である。
図 4は、 5タップハイパスユニッ トフィルタ H I 0のフィルタ係数の 意味を説明するための図である。
図 5は、 5タップ口一パスユニッ トフィル夕 L I 1 のフィルタ係数の 生成アルゴリズムを示す図である。
図 6は、 5タップ口一パスユニッ トフィルタ L 1 0 , L 1 1 の周波数 一ゲイン特性を示す図である。
図 7は、 5タップハイパスユニッ トフィルタ H I 1 のフィル夕係数の 生成アルゴリズムを示す図である。
図 8は、 5タップハイパスユニッ トフィル夕 H 1 0 , H 1 1 の周波数 一ゲイン特性を示す図である。
図 9は、 5タップ口一パスユニッ トフィルタ ( L 1 0 ) "の周波数—ゲ ィ ン特性を示す図である。
図 1 0 は、 5タップハイノ、。スュニッ トフィルタ (H I 0 ) mの周波数— ゲイ ン特性を示す図である。
図 1 1 は、 周波数帯域の抜き取りについて説明するための図である。 図 1 2は、 周波数帯域の他の抜き取り例を示す図である。
図 1 3は、 第 1 の実施形態によるフィル夕設計法で最も基本となる 2 種類の 3タップユニッ トフィルタの回路構成およびフィル夕係数の数値 列を示す図である。
図 1 4は、 単純な数値列 { 8, 一 9 , 0, 1 } ノ 1 6 をフィル夕係数 とした場合における 3タップハイパスユニッ トフィルタ H 1 0 ' の周波 数特性を示す図である。
図 1 5は、 フィル夕係数 H 3のみを調整した場合における 3 タップハ ィパスュニッ 卜フィルタ H I 0 ' の周波数特性を示す図である。
図 1 6は、 フィル夕係数 H 2 , H 3 を調整した場合における 3タップ ハイパスュニッ トフィルタ H 1 0 ' の周波数特性を示す図である。
図 1 7は、 本実施形態によるユニッ トフィルタ L 1 0 " , H 1 0 " の 回路構成およびフィル夕係数の数値列を示す図である。
図 1 8 は、 本実施形態によるローパスユニッ トフィルタ L 1 0 " の周 波数特性を示す図である。
図 1 9 は、 本実施形態によるハイパスユニッ トフィル夕 H 1 0 " の周 波数特性を示す図である。
図 2 0は、 第 1 の実施形態に基づき設計したローパスフィル夕の周波 数特性を示す図である。
図 2 1 は、 第 1 の実施形態に基づき設計したバン ドパスフィル夕の周 波数特性を示す図である。
図 2 2は、 第 2 の実施形態によるローパスフィル夕を示す図である。 図 2 3 は、 第 2 の実施形態に基づき設計したローパスフィル夕の周波 数特性を示す図である。 図 2 4は、 5タップユニッ ト 2次フィルタ L 2 0, H 2 0のフィル夕 係数の生成アルゴリズムを示す図である。 発明を実施するための最良の形態
以下、 本発明の一実施形態を図面に基づいて説明する。
本実施形態のデジタルフィルタは、 複数の遅延器から成るタップ付き 遅延線を備え、 各タップの出力信号を所与のフィルタ係数によりそれぞ れ数倍した後、 加算して出力するタイプの F I Rフィル夕である。
(第 1 の実施形態)
第 1 の実施形態によるフィルタ設計法は、 以下に説明するュニッ トフ ィル夕 L i n " , H 1 n " (本発明の基本フィルタ) を作り、 その一方 のみだけで所望の周波数特性を有する F I Rフィルタを設計できるよう にしたものである。 なお、 ユニッ トフィル夕を表す符号の後ろに付けた " n " の文字は、 各タップ間に挿入するディ レイのクロック数、 すなわ ち、 各フィル夕係数の間に挿入する " 0 " の数を示している (詳細は後 述する) 。
まず、 上記ユニッ トフィル夕 L 1 n " H 1 n " を理解する上で参考 になる 5タップュニッ トフィルタ L 1 n H 1 nについて説明する。 図 1 は、 5タップュニッ 卜フィルタ L 1 0 H 1 0 を示す図であり、 ( a
) はその回路構成を示し、 ( b ) はフィルタ係数の数値列を示している 図 1 ( a ) に示すように、 5タップユニッ トフィルタ L 1 0, H 1 0 では、 縦続接続された 6個の D型フ リ ップフロップ 1 ^〜 1 -6によって入 力信号を 1 クロック C Kずつ順次遅延させる。 そして、 各 D型フ リ ップ フロップ 1 -,〜 1 -6の所定のタップから取り出した信号に対して、 図 1 ( b ) に示すフィルタ係数 h l〜 h 5 を 5個の係数器 S ^ S -sでそれぞれ 乗算し、 それらの乗算結果を全て 4個の加算器 3 〜 3 _4で加算して出力 する。
上記 2種類の 5タップユニッ トフィル夕 L 1 0 , H I 0の回路構成は 、 何れも図 1 ( a ) のようになっており、 フィルタ係数 (係数器 2 -,〜 2— 5の乗数値 h i 〜 h 5 ) のみが図 1 ( b ) のように異なっている。 図 1 ( b ) から分かるように、 5タップ口一パスユニッ トフィル夕 L 1 0のフィル夕係数は、 極めて単純な数値列 {— 1 , 0 , 9 , 1 6, 9 , 0 , — 1 } / 3 2から成る (ただし、 値が " 0 " の部分は図 1 ( a ) のようにタップ出力がなく、 フィル夕係数として用いていない) 。 この ようなフィル夕係数は、 その数値列が対称型であり、 数値列の合計値が 非ゼロで、 数値列の 1 つ飛びの合計値が同符号で互いに等しくなるとい う性質を持っている (— 1 + 9 + 9 — 1 = 1 6、 0 + 1 6 + 0 = 1 6 ) また、 5タップハイパスュニッ トフィルタ H 1 0のフィル夕係数は、 極めて単純な数値列 { 1 , 0, 一 9, 1 6, — 9, 0, 1 } Z 3 2から 成る (ただし、 値が " 0 " の部分は夕ップ出力がなく、 フィルタ係数と して用いていない) 。 このようなフィルタ係数は、 その数値列が対称型 であり、 数値列の合計値がゼロで、 数値列の 1 つ飛びの合計値が逆符号 で互いに等しくなるという性質を持っている ( 1 一 9 — 9 + 1 =— 1 6 、 0 + 1 6 + 0 = 1 6 ) 。
ここで、 これらのフィルタ係数を構成する数値列の意味について、 図 2〜図 4を用いて説明する。
図 2は、 5タップユニッ トフィル夕 L 1 0 , H I 0のフィルタ係数を 構成する数値列の生成法を説明するための図である。 図 2 ( a ) に示す ように、 5タップローパスュニッ 卜フィルタ L 1 0のフィル夕係数を構 成する数値列は、 1 クロック C K毎にデータ値が {— 1 , 1, 8 , 8, 1 , 一 1 } / 1 6 と変化する所定のデジタル基本関数を 1 回移動平均演 算することによって得られるものである。
また、 図 2 ( b ) に示すように、 5タップハイパスユニッ トフィル夕 H 1 0のフィル夕係数を構成する数値列は、 1 クロック C K毎にデータ 値が { 1 , — 1 , - 8 , 8, — 1 , 1 } 1 6 と変化するデジタル基本 関数と、 1 クロック C K毎にデータ値が { 1, 一 1 , 8, — 8 , — 1, 1 } / 1 6 と変化するデジタル基本関数とを移動平均演算することによ つて得られるものである。
図 3は、 5タップローパスュニッ トフィルタ L 1 0のフィルタ係数を 構成する数値列に対して、 4倍のオーバ一サンプリ ングとコンポリ ユー シヨ ン演算とを施した結果を示す図である。 なお、 ここでは説明を分か りやすくするために、 元の数値列を 3 2倍した整数の数値列 {一 1 , 0 , 9 , 1 6, 9 , 0 , 一 1 } に対してオーバ一サンプリ ングとコンポリ ユーショ ン演算とを行う例について示している。
図 3 ( a ) において、 一番左の列に示される一連の数値列は、 元の数 値列 { — 1 , 0, 9, 1 6 , 9 , 0 , — 1 } に対して 4倍のォ一バーサ ンプリ ングを行った値である。 また、 一番左から右に向かって 4列分の 数値列は、 一番左の列に示される数値列を 1つずつ下方向にシフ 卜して いったものである。 図 3 ( a ) の列方向は時間軸を示しており、 数値列 を下方向にシフ 卜するという ことは、 一番左の列に示される数値列を徐 々に遅延させていく ことに対応する。
すなわち、 左から 2列目の数値列は、 一番左の列に示される数値列を 4倍周波数のクロック 4 C Kの 1 / 4位相分だけずらした数値列である ことを示す。 また、 左から 3列目の数値列は、 左から 2列目に示される 数値列を 4倍周波数のクロック 4 C Kの 1 4位相分だけずらした数値 列、 左から 4列目の数値列は、 左から 3列目に示される数値列を 4倍周 波数のクロック 4 C Kの 1 Z 4位相分だけ更にずらした数値列であるこ とを示す。
また、 左から 5列目の数値列は、 1 〜 4列目の各数値列を対応する行 どう しで加算した値である。 この左から 5列目までの処理により、 4相 のコンポリ ュ一ショ ン演算を伴う 4倍のオーバーサンプリ ングがデジ夕 ル的に実行されることになる。
上記 5列目から右に向かって 4列分の数値列は、 5列目に示される数 値列を 1つずつ下方向にシフ ト していったものである。 また、 左から 9 列目の数値列は、 5〜 8列目の各数値列を対応する行どう しで加算した 値である。 この左から 9列目までの処理により、 4相のコンボリ ュ一シ ョ ン演算を伴う 4倍のオーバ一サンプリ ングがデジ夕ル的に 2回実行さ れることになる。
また、 左から 1 0列目の数値列は、 9列目に示される数値列を 1 つ下 方向にシフ ト したものである。 また、 左から 1 1列目 (一番右の列) の 数値列は、 9列目の数値列と 1 0列目の数値列とを対応する行どう しで 加算した値である。
この図 3 ( a ) の一番右の列に示される最終的に得られた数値列をグ ラフ化したのが、 図 3 ( b ) である。 この図 3 ( b ) に示す波形を有す る関数は、 横軸に沿った標本位置が t 1 から t 4の間にあるときにのみ " 0 " 以外の有限な値を有し、 それ以外の領域では値が全て " 0 " とな る関数、 つまり標本位置 t 1 , t 4において値が " 0 " に収束する関数 である。 このように関数の値が局所的な領域で " 0 " 以外の有限の値を 有し、 それ以外の領域で " 0 " となる場合を 「有限台」 と称する。
また、 この図 3 ( ) に示す関数は、 中央の標本位置 t 5においての み極大値をとり、 t l, t 2 , t 3 , t 4の 4つの標本位置において値 が " 0 " になるという特徴を有する標本化関数であり、 滑らかな波形の データを得るために必要なサンプル点は全て通る。
次いで、 図 4は、 5タップハイパスユニッ トフィルタ H 1 0のフィル 夕係数を構成する数値列に対して、 4倍のオーバ一サンプリ ングとコン ポリ ューショ ン演算とを施した結果を示す図である。 なお、 ここでも説 明を分かりやすくするために、 元の数値列を 3 2倍した整数の数値列 {
I , 0, 一 9 , 1 6 , — 9 , 0 , 1 } に対してオーバーサンプリ ングと コンポリユーショ ン演算とを行う例について示している。
図 4 ( a ) は、 上記図 3 ( a ) と同様の演算過程を示している。 この 図 4 ( a ) の一番右の列に示される最終的に得られた数値列をグラフ化 すると、 図 4 ( b ) のようになる。 この図 4 ( b ) に示す関数も、 中央 の標本位置 t 7 ' においてのみ極大値をとる標本化関数であって、 全域 において 1 回微分可能であり、 しかも標本位置 t 1 ' , t 6 ' において 0に収束する有限台の関数である。
次に、 各タップ間に挿入するディ レイのクロック数 nを n≥ 1 とした 場合について説明する。 図 5 は、 5タップ口一パスユニッ トフィル夕 L
I I . ( n = l の場合) のフィル夕係数を示す図である。 この図 5 に示す ように、 5タップ口一パスユニッ トフィルタ L 1 1 のフィル夕係数は、 上記 5タップ口一パスュニッ トフィルタ L 1 0の各フィルタ係数の間に
" 0 " を 1 つずつ挿入することによって生成する。
同様に、 5タップ口一パスユニッ トフィル夕 L i n ( n = 2 , 3 , ·· · ) のフィルタ係数は、 5 タップ口一パスユニッ トフィル夕 L 1 0の各フ ィルタ係数の間に " 0 " を n個ずつ挿入することによって生成する。 図 6 は、 5 タップローパスユニッ トフィル夕 L 1 0 , L 1 1 の数値列 を F F T (Fast Fourier Transfer : 高速フーリエ変換) した結果の周波 数—ゲイ ン特性を示す図である。 こ こではゲイ ンおよび周波数を " 1 " で基準化している。 この図 6 力、 ら分かるよ う に、 5 タ ッ プ口一パスュニッ ト フィ ルタ L 1 0, L 1 1 では、 中心周波数においてゲイ ンが 0 . 5 とな り 、 かつ、 低 周波領域でのオーバーシユー トゃ高周波領域での リ ンギングも存在しな い良好なローパス フィ ルタ特性が得られる。 また、 各フ ィ ル夕係数の間 に挿入する " 0 " の数を n とすると、 その周波数—ゲイ ン特性の周波数 軸 (周波数方向に対する周期) は l Z n となる。
このようなローパスフィ ルタ特性を実現する大元となる上記図 2 ( a ) の数値列は、 図 3 ( b ) に示した有限台の標本化関数の基礎となる も のである。 従来一般的に用い られていた標本化関数は t = ±∞の標本位 置で " 0 " に収束するのに対し、 図 3 ( b ) に示した標本化関数は、 t = t 1 , t 4 の有限の標本位置で " 0 " に収束する。
そのため、 上記図 2 ( a ) の数値列を F F T変換した場合、 t = t l 〜 t 4 の範囲内に相当するデータだけが意味を持つ。 t = t 1〜 t 4 の 範囲外に相当するデータについては、 本来これを考慮すべきであるのに 無視しているという訳ではなく 、 理論的に考慮する必要がないため、 打 ち切り誤差は発生しない。 したがって、 上記図 2 ( a ) に示す数値列を フィルタ係数と して用いれば、 窓関数を用いて係数の打ち切り を行う必 要もなく 、 良好な口一パスフィ ルタ特性を得る こ とができる。
図 7 は、 5 タ ップハイパスユニッ ト フイ リレ夕 H 1 1 のフィ ル夕係数を 示す図である。 この図 7 に示すよう に、 5 タ ッ プハイパスユニッ ト フィ ルタ H 1 1 のフィ ルタ係数は、 上記 5 タ ップハイパスユニッ トフイ リレ夕 H 1 0 の各フィ ルタ係数の間に " 0 " を 1 つずっ揷入する ことによって 生成する。
同様に、 5 タ ップハイパスユニッ ト フィ ルタ H 1 n ( n = 2 , 3 , ) のフィ ル夕係数は、 5 タ ッ プハイパスユニッ ト フィ ルタ Η 1 0 の各フ ィ ル夕係数の間に " 0 " を η個ずつ挿入する ことによって生成する。 図 8 は、 5 タ ッ プハイパスユニッ ト フィ ルタ H 1 0 , H 1 1 の周波数 —ゲイ ン特性を示す図である。 こ こでもゲイ ンおよび周波数を " 1 " で 基準化している。 この図 8 から分かるよう に、 5 タ ッ プハイパスュニッ 卜フィ ル夕 H 1 0 , H 1 1 では、 中心周波数においてゲイ ンが 0 . 5 と な り、 かつ、 高周波領域でのオーバ一シュー トや低周波領域での リ ンギ ングも存在しない良好なハイパスフィ ルタ特性が得られる。 また、 フィ ル夕係数の間に挿入する " 0 " の数を n とする と、 その周波数—ゲイ ン 特性の周波数軸 (周波数方向に対する周期) は 1 n となる。
このようなハイパスフィ ル夕特性を実現する大元となる上記図 2 ( b ) の数値列も、 図 4 ( b ) に示すような有限台の標本化関数の基礎とな るものである。 したがって、 この数値列をフィ ルタ係数と して用いる こ とによ り、 窓関数を用いて係数の打ち切り を行う必要もなく 、 良好なハ ィパスフィ ルタ特性を得る ことができる。
次に、 5 タ ッ プユニッ ト フィ ルタの縦続接続について説明する。 5 タ ッ プュニッ ト フィ ルタを縦続接続する ことによ り、 各ュニッ 卜 フィ ルタ の係数どう しが乗算 · 加算されて新しいフィ ル夕係数が作り 出される。 以下では、 例えば 5 タ ップローパスュニッ ト フィ ル夕 L 1 0 の縦続数を mとするとき、 これを ( L 1 0 ) mと記述する ことにする。
図 9 は、 5 タ ッ プ口一パスユニッ ト フィ ル夕 L 1 0 , ( L 1 0 ) 2, ( L 1 0 ) 4, ( L 1 0 ) 8の周波数—ゲイ ン特性を示す図である。 この図 9 でもゲイ ンおよび周波数を " 1 " で基準化している。 5 タ ッ プ口一パ スユニッ ト フ ィ ルタ L 1 0 が 1 個のみの場合、 振幅が 0 . 5 となる位置 のク ロ ックは 0 . 2 5 である。 これに対して縦続数 mが多く なる と、 フ ィ ル夕の通過帯域幅が狭く なる。 例えば m = 8 の場合、 振幅が 0 . 5 と なる位置のク ロ ッ クは 0 . 1 2 5 となる。
図 1 0 は、 5 タ ップハイパスユニッ ト フィ ルタ H 1 0 , ( H 1 0 ) 2, (H I 0 ) (H I 0 ) 8の周波数—ゲイ ン特性を示す図である。 この 図 1 0でもゲイ ンおよび周波数を " 1 " で基準化している。 5 タ ップハ ィパスユニッ ト フィ ルタ H 1 0が 1個のみの場合、 振幅が 0. 5 となる 位置のク ロ ッ クは 0. 2 5である。 これに対して縦続数 mが多く なる と 、 フィ ルタの通過帯域幅が狭く なる。 例えば m= 8の場合、 振幅が 0. 5 となる位置のク ロ ックは 0. 3 7 5 となる。
次に、 所望の周波数帯域の抜き出しについて説明する。 図 1 1 は、 周 波数帯域の抜き出しを説明するための図である。 周波数帯域の抜き出し は、 上述のュニッ ト フィ ルタ を 4個以上縦続接続したものを用いて行う 。 図 1 1 ( a ) は、 5タ ップ口一パスユニッ トフイ リレ夕 ( L 1 0 ) 4, ( L l l ) 4, ( L 1 3 ) 4, ( L 1 7 ) 4の周波数一ゲイ ン特性を 1つのグ ラフ上にまとめて示した図である。 この図 1 1 ( a ) でもゲイ ンおよび 周波数を " 1 " で基準化している。
これら複数種の 5タ ッ プローパスュニッ ト フィ ルタ (L 1 0 ) 4, ( L I I ) 4, ( L 1 3 ) 4, (L 1 7 ) 4を組み合わせる と、 各特性値どう し が相殺し合って周波数帯域の抜き取りが行われる。 また、 これらの波形 を基本と して組み合わせ、 必要に応じて反転周波数軸方向への移動を行 う こ とによ り 、 所望の周波数帯域のみが通過域となるフィ ル夕 を作る こ とができる。
図 1 1 ( b ) は、 これら 4嵇類の 5タ ッ プローパスユニッ ト フィ ル夕 ( L 1 0 ) 4, (L 1 1 ) 4, (L 1 3 ) 4, ( L 1 7 ) 4を縦続接続したと きに得られる周波数特性を示している。 これによれば、 低周波の極めて 狭い領域が通過域となる、 ほぼ良好な減衰特性を有する ローパスフィ ル 夕が得られている。 わずかに リ ンギングが発生しているが、 このリ ンギ ングは一 1 0 6 d B以上落ち込んだ部分で生じているため、 殆ど無視で さる。 図 1 2は、 周波数帯域の他の抜き取り例を示す図である。 図 1 2 ( a ) に示すよう に、 5 タ ップハイパスユニッ ト フィ ルタ ( H 1 0 ) 8と、 5 タ ッ プ口一パスユニッ ト フィ ルタ ( L 1 1 ) 8, ( L 1 3 ) 8, ( L 1 7 ) 8とを組み合わせてこれらを縦続接続すると、 所定の周波数帯域が通過域 となるハイパス フィ ル夕を得ることができる。
また、 図 1 2 ( b ) に示すよう に、 5タ ップローパスユニッ ト フ ィ ル 夕 ( L 1 0 ) 4, ( L 1 1 ) 8, (L 1 3 ) 4を組み合わせてこれらを縦続 接続すると、 所定の周波数帯域が通過域となるローパスフィ ルタを得る ことができる。 また、 図 1 2 ( c ) に示すよう に、 5 タ ッ プハイパスュ ニッ ト フィ ルタ (H 1 1 ) 8と、 5タ ップ口一パスユニッ トフィ ルタ (L 1 3 ) 4, ( L 1 7 ) (L 1 1 5 ) 8とを組み合わせてこれらを縦続接 続すると、 所定の周波数帯域が通過域となるバン ドバスフィ ルタを得る ことができる。
以上のよう に、 所定の基本的な数値列をフィ ルタ係数とする 5タ ップ ュニッ トフィ ルタを用いてこれらを任意に組み合わせる こ とによ り 、 ュ ニッ トフィ ル夕の組み合わせだけで、 所望の周波数特性を有する F I R フィ ルタのフィ ル夕係数を自動的に生成する こ とができる。 したがって 、 フィ ルタ設計法が単純で考えやすく 、 熟練した技術者でなく てもフィ ル夕設計を極めて簡単に行う ことができる。
また、 上述の手法を適用 して設計されるフィ ル夕回路に必要なタ ッ プ 数は非常に僅かで済み、 かつ、 各タ ッ プ出力に対して必要なフィ ル夕係 数の種類も僅かで済むので、 フィ ルタ回路の演算部の構成を極めて簡単 にする ことができる。 したがって、 回路素子数 (特に乗算器) を大幅に 削減してフィ ルタ回路の規模を小さ く する ことができる とともに、 消費 電力の低減、 演算負荷の軽減等を図る ことができる。
また、 上述の手法を適用 して設計されるフィ ル夕回路は、 ほぼ同一パ ターンの繰り返しから成る極めて単純な構成であるので、 集積化に際し て工数を短縮することができ、 I C化を容易にすることができるという メ リ ッ トも有する。 また、 特性面では遮断特性の極めて大きな改善が可 能となり、 位相特性も直線で優れたフィルタ特性を得ることができる。 以上説明した内容については、 本出願人が既に特許出願済みである ( 特願 2 0 0 1 — 3 2 1 3 2 1号) 本実施形態は、 この既出願の内容を 更に改良したものであり、 上述したように 1種類のュニッ 卜フィルタ L I n " あるいは H 1 n " の縦続接続だけで所望の周波数特性を有する F I Rフィル夕を設計できるようにしたものである。
まず、 上記ユニッ トフィル夕 L i n " H I n " の構成要素である 3 タップユニッ トフィル夕 L i n ' H 1 n ' について説明する。 この 3 タップユニッ トフィル夕 L i n ' , H 1 n ' のフィルタ係数は、 上述し た 5 タップュニッ トフィルタ L 1 n , H I nのフイリレタ係数の数値列を その中央で半分に分けたうちの片側を更に調整したものである。
図 1 3は、 3タップユニッ トフィルタ L 1 0 ' H 1 0 ' を示す図で あり、 ( a ) はその回路構成を示し、 ( b ) はフィルタ係数の数値列を 示している。 図 1 3 ( a ) に示すように、 3タップユニッ トフィルタ L 1 0 ' H 1 0 ' では、 縦続接続された 3個の D型フ リ ップフロップ 1 1 1 1 _3によって入力信号を 1 クロック C Kずつ順次遅延させる。 そ して、 各 D型フ リ ップフロップ 1 1 1 1 _3の所定のタップから取り出 した信号に対して、 図 1 3 ( b ) に示すフィル夕係数 H 1 H 3 を 3個 の係数器 1 2 1 2 _3でそれぞれ乗算し、 それらの乗算結果を全て 2個 の加算器 1 3 1 3 -2で加算して出力する。
上記 2種類の 3タップユニッ トフィル夕 L 1 0 ' , H 1 0 ' の回路構 成は、 何れも図 1 3 ( a ) のようになっており、 フィルタ係数 (係数器 1 2 _| 1 2— の乗数値1 1 1 3 ) のみが図 1 3 ( b ) のように異なつ ている。
3タップ口一パスユニッ トフィル夕 L 1 0 ' のフィルタ係数は、 その 数値列が非対称型であり、 当該数値列の合計値が非ゼロで、 当該数値列 の 1つ飛びの合計値が同符号で互いに等しくなるという性質を持ってい る。 また、 3タップハイパスユニッ トフィルタ H 1 0 ' のフイリレ夕係数 は、 その数値列が非対称型であり、 当該数値列の合計値がゼロで、 当該 数値列の 1 つ飛びの合計値が逆符号で互いに等しくなるという性質を持 つている。
このように、 これら 3タップユニッ トフィル夕 L 1 0 ' , H 1 0 ' の フィル夕係数は、 非対称型であることを除けば上述した 5 タップュニッ トフィル夕 L 1 0, H 1 0 と同じ性質を持っている。 ただし、 5 タップ ュニッ トフィルタ L 1 0, H I 0のフィル夕係数に比べて多少複雑な値 になっている。 以下に、 この理由を説明する。
図 1 4は、 5タップハイパスュニッ 卜フィルタ H 1 0のフイリレ夕係数 { 1 , 0, — 9 , 1 6, — 9 , 0, 1 } / 3 2 をその中央で半分に分け たものの片側に相当する単純な数値列 { 8 , — 9 , 0, 1 } ノ 1 6 をフ ィル夕係数とした場合 (ただし、 値が " 0 " の部分はタップ出力がなく 、 フィル夕係数として用いない) の周波数特性を示す図である。 ここで はゲイ ンおよび周波数を " 1 " で基準化している。
この図 1 4に示すように、 5タップハイパスュニッ 卜フィル夕 H I 0 の数値列を単純に半分に分けただけの数値列をフィルタ係数として用い ると、 その周波数特性において通過域となる部分のピークが波打って複 数の極大値を生じ、 かつ、 その極大値が " 1 " を超えてしまう。 このよ うな周波数特性を持つュニッ トフィル夕は、 これを複数縦続接続して所 望の F I Rフィル夕を設計する方式には適しない。
そこで、 上記単純な数値列 { 8 , — 9, 0 , 1 } 1 6 を調整する。 まず、 高域側の周波数特性を決定付けるフィルタ係数 H 3 の絶対値を小 さくする。 すなわち、 その係数値を " 1 " から " 1 一 N / 8 " ( N = 1 , 2 , ·'· 8の何れか) に変更して高域の成分を少なくすることにより、 通過域のちょう ど中央のみがゲイ ンの最大値となるようにする。
図 1 5は、 フィル夕係数 Η 3について Ν = 3 とした場合の周波数特性 を示す図である。 この図 1 5から明らかなように、 通過域の波打ちは改 善され、 中央部分のみがゲイ ンの最大値となっている。 しかし、 その最 大値は依然として " 1 " を超えている。 そこで次に、 このゲイ ンの最大 値がちょう ど " 1 " となるように係数値を更に調整する。
最大値の調整は、 高域成分の調整のために用いたフィルタ係数 Η 3 と 逆符号のフィルタ係数 Η 2で行う ことができる。 ここでは、 フィル夕係 数 Η 2の値を "一 9 " から "— ( 9 — N/ 8 ) " ( Ν = 1 , 2 , -..8の 何れか) のように絶対値を小さくする。
このとき、 ゲイン調整用の Νの値 (フィル夕係数 Η 2の Νの値) を、 上述した高域調整用の Νの値 (フィル夕係数 Η 3の Νの値) と同じにす ることにより、 調整後の数値列の合計が、 調整前の数値列の合計と同じ 値になるようにする (調整前 : 8 — 9 + 0 + 1 = 0、 調整後 : 8 — ( 9 - Ν / 8 ) + 0 + ( 1 — Νノ 8 ) = 0 ) 。 また、 数値列の 1つ飛びの合 計値も調整前後で変わらないようにする。
図 1 6は、 フィル夕係数 Η 2 , Η 3 について Ν = 3 とした場合の周波 数特性を示す図であり、 ( a ) はゲイ ンを直線目盛りで表し、 ( b ) は ゲイ ンを対数目盛りで表している。 この図 1 6でも、 ゲイ ンおよび周波 数を " 1 " で基準化している。
この図 1 6から明らかなように、 フィルタ係数 H 2 , H 3を調整した 場合は、 通過域での波打ちが無く 中央部分のみがゲイ ンの最大値となつ ており、 かつ、 その最大値がちょ うど " 1 " になっている。 また、 約一 5 5 d Bの良好な減衰量も得られている。 このような周波数特性を持つ 3タ ップハイパスユニッ ト フィ ル夕 H 1 0 ' は、 これを縦続接続して所 望の F I Rフィ ルタを設計する方式に適したものとなっている。
また、 上述した 5タ ップハイパスユニッ ト フィ ルタ H I n ( n = l , 2 , ·■ ·) と同様に、 3タ ッ プハイパスユニッ ト フィ ル夕 Η 1 0 ' の各フ ィ ル夕係数の間に " 0 " を η個ずつ挿入する こ とによ り 、 3タ ップハイ パスュニッ ト フィ ル夕 Η 1 η ' を生成する ことが可能である。
上記 3タ ッ プハイパスユニッ ト フィ ル夕 Η 1 0 ' と同様にして、 3 夕 ッ プローパスュニッ ト フィ ルタ L 1 0 ' のフィ ルタ係数も適宜調整する こ とができる。 すなわち、 5タ ッ プローパスユニッ トフィ ルタ L 1 0 の 数値列を単純に半分に分けただけの数値列 { 8, 9 , 0, - 1 } / 1 6 に対して、 高域側の周波数特性を決定付けるフィ ル夕係数 Η 3の値を " — 1 " から "― ( 1 一 Ν 8 ) " のよう に絶対値を小さ く する。
また、 このフィ ルタ係数 Η 3 と逆符号のフィ ルタ係数 Η 2 によってゲ イ ンの最大値を調整する。 すなわち、 フィ ル夕係数 Η 2の値を " 9 " か ら " θ— ΝΖ δ " のよ う に小さ く する。 このとき、 高域調整用の Νの値 とゲイ ン調整用の Νの値とを同じにする ことによ り.、 調整後の数値列の 合計が、 調整前の数値列の合計と同じ値になるよう にする (調整前 : 8 + 9 + 0 — 1 = 1 6、 調整後 : 8 + ( 9 - Ν / 8 ) + 0 — ( 1 - Ν / 8 ) = 1 6 ) 。 また、 数値列の 1つ飛びの合計値も調整前後で変わらない よ う にする。
このよう に 3タ ップローパスュニッ ト フィ ルタ L 1 0 ' のフィ ルタ係 数値を調整した場合も、 通過域での波打ちが無く 中央部分のみがゲイ ン の最大値となり、 かつ、 その最大値がち ょ う ど " 1 " になるようなロー パスフィ ル夕特性を得ることができる。 このよ うな周波数特性を持つ 3 タ ップローパスユニッ ト フィ ル夕 L 1 0 ' も、 これを縦続接続して所望 の F I Rフィ ルタを設計する方式に適したものとなっている。
また、 上述した 5タ ップローパスユニッ ト フィ ルタ L i n ( n = l , 2 , · ··) と同様に、 3タ ップローパスユニッ ト フィ ル夕 L 1 0 ' の各フ ィ ル夕係数の間に " 0 " を η個ずっ揷入する ことによ り、 3タ ップ口一 パスュニッ 卜 フィ ルタ L 1 η ' を生成するこ とが可能である。
なお、 3 タ ップユニッ ト フィ ル夕 L 1 0 ' , Η 1 0 ' のフィ ルタ係数 は、 5タ ッ プユニッ ト フィ ルタ L 1 0, Η 1 0のフィ ルタ係数の数値列 をその中央で半分に分けたも う片側の数値列 {一 1 , 0, 9, 8 } / 1 6、 { 1 , 0 , — 9 , 8 } / 1 6 を調整して生成しても良い。
以上説明したような 3タ ップュニッ ト フィ ル夕 L 1 η ' あるいは Η 1 η ' をそのまま縦続接続する ことによつても、 所望の周波数特性を有す る F I Rフ ィ ル夕を設計する ことが可能である。 しかし、 これらのフィ ル夕係数は共に非対称型なので、 位相の直線性は保証されない。 そこで 、 本実施形態では、 タ ップ数を減らせる 3タ ップユニッ ト フィ ル夕 L 1 n ' , H 1 n ' を用いつつも、 直線位相特性を実現できるよう に更に調 整する。
図 1 7は、 本実施形態によるユニッ ト フィ ル夕 L 1 0 " , H 1 0 " を 示す図であ り 、 ( a ) はその回路構成を示し、 ( b ) はフィ ルタ係数の 数値列を示している。
図 1 7 ( a ) に示すよう に、 本実施形態のユニッ ト フィ ルタ L 1 0 " , H 1 0 " は共に同様の構成を有している。 すなわち、 口一パスュニッ 卜 フィ ル夕 L 1 0 " は、 2つの 3 タ ップ口一パスュニッ ト フィ ルタ 1 L 1 0, 2 L 1 0 を縦続接続して構成されている。 また、 ハイパスュニッ 卜 フィ ルタ H 1 0 " は、 2つの 3タ ップハイノ、。スユニッ ト フィ ルタ 1 H 1 0 , 2 H 1 0 を縦続接続して構成されている。
図 1 7 ( b ) に示すよう に、 口一パスユニッ ト フィ ル夕 L 1 0 " を構 成する一方の 3タップ口一パスュニッ ト フィ ル夕 2 L 1 0 は、 上記 5 夕 ップローパスュニッ 卜 フィ ルタ L 1 0のフィ ル夕係数の数値列 {— 1 , 0 , 9, 1 6 , 9, 0, 一 1 } / 3 2 を半分に分けたうちの片側の数値 列 { 8 , 9 , 0 , — 1 } / 1 6 を更に調整したものをフィ ル夕係数 H 4 〜H 6 とする ものである。 つま り 、 上述した 3タ ップ口一パスユニッ ト フイ リレ夕 L 1 0 ' と同じものである。 また、 他方の 3 タ ッ プ口一パスュ ニッ ト フィ ルタ 1 L 1 0 は、 上述のよう に半分に分けたう ちのもう片側 の数値列 {ー 1 , 0 , 9 , 8 } 1 6 を更に調整したものをフィ ルタ係 数 H 1〜H 3 と.するものである。
また、 ハイパスュニッ ト フ ィ ルタ H 1 0 " を構成する一方の 3タ ッ プ ハイパスユニッ トフィ ルタ 2 H 1 0は、 上記 5タ ップハイパスユニッ ト フィ ル夕 H I 0のフィ ルタ係数の数値列 { 1 , 0, 一 9 , 1 6 , — 9 , 0 , 1 } / 3 2 を半分に分けたう ちの片側の数値列 { 8 , — 9 , 0, 1 } / 1 6 を更に調整したものをフィ ル夕係数 H 4〜H 6 とするものであ る。 つま り、 上述した 3 タ ッ プハイパスユニッ ト フィ ルタ H 1 0 ' と同 じものである。 また、 他方の 3タ ップハイパスユニッ ト フィ ル夕 1 H 1 0は、 上述のよう に半分に分けたうちのもう片側の数値列 { 1 , 0, - 9 , 8 } 1 6 を更に調整したものをフィ ルタ係数 H I〜H 3 とする も のである。
なお、 上記 2つの 3 タ ップ口一パスユニッ ト フィ ルタ 1 L 1 0 , 2 L 1 0 の接続関係や、 上記 2つの 3 タ ッ プハイパスユニッ ト フィ ルタ 1 H 1 0, 2 H 1 0の接続関係は、 図 1 7 ( a ) に示したものと左右反対で も良い。
以上のよう にユニッ ト フィ ルタ L 1 0 " , H I 0 " を構成すると、 フ ィ ル夕係数は対称型となるので、 位相特性は直線となる。 図 1 8は口一 パスュニッ 卜 フィ ルタ L 1 0 " の周波数特性、 図 1 9はハイパスュニッ ト フィ ル夕 H I 0 " の周波数特性を示す図であ り 、 ゲイ ンを対数目盛り で表している。 この図 1 8 および図 1 9 でも、 ゲイ ンおよび周波数を " 1 " で基準化している。
これらの図から分かるよう に、 周波数一ゲイ ン特性では通過域での波 打ちが無く 、 かつ、 最大値がち ょ う ど '' 1 " になっている。 また、 約— 5 5 d Bの良好な減衰量も得られている。 さ らに、 周波数一位相特性で は非常にきれいな直線位相特性が得られている。 したがって、 このよう な周波数特性を持つユニッ ト フィ ル夕 L 1 n " , H 1 n " を縦続接続す る ことによ り、 非常に少ないタ ップ数で、 係数が対称な直線位相フィ ル 夕を構成する こ とができる。
と ころで、 図 1 7 に示したユニッ トフィ ル夕 L 1 0 " , H I 0 " は全 体で 6 タッ プを備えてお り、 5 タ ップユニッ ト L 1 0 , H I 0 よ り も夕 ップ数が多く なつている。 しかし、 5 タ ップユニッ ト L 1 0 , H 1 0 は 1 段で構成されるのに対して、 ユニッ ト フィ ル夕 L 1 0 " , H 1 0 " は 2 つの 3 タ ップュニッ ト フィ ル夕を縦続接続して構成されている。 した がって、 ノ ン ド幅は既に 5 タ ップユニッ ト L 1 0 , H 1 0 よ り も狭く な つている。
そのため、 本実施形態はバン ド幅の狭い F I R フィ ル夕を設計する場 合に特に有効である。 すなわち、 所望の狭いバン ド幅を実現するために 全体として必要なュニッ ト フィ ルタの縦続数を、 5 タ ップュニッ 卜フィ ル夕 L 1 0 , H 1 0 を用いる場合に比べて大幅に少なくするこ とができ る。 これによ り 、 全体と してみれば回路規模を小さ く する ことができる 次に、 本実施形態によるデジタルフィ ルタの設計例を幾つか示す。 最 初に、 ローパスユニッ ト フイ リレ夕 L 1 0 " を用いた口一パスフ ィ ルタの 設計例を示す。 設計する ローパスフィル夕の目標規格は、 次の通り とす る。 すなわち、 信号のサンプリ ング周波数 F sが 4 8 K H z 、 — 3 d Bの 帯域幅が 3. 5 KH z 、 一 8 0 d Bの帯域幅が 8 KH z 、 帯域外減衰量 は— 8 0 d B以上である。
この目標規格を実現する口一パスフィ ルタは、 例えば N = 2. 6 と し た口一パスュニッ 卜 フィ ルタ L 1 0 " を 6 4個縦続接続する こ とによつ て構成する ことができる (この場合の構成を { 1 L ( 2. 6 ) 1 0 * 2 L ( 2. 6 ) 1 0 } 64で表す) 。
目標規格に特性を合わせるためには、 通過帯域のバン ド幅と傾斜とを 調整する必要がある。 バン ド幅については、 ユニッ ト フィ ルタの縦続段 数を増やすことによって狭くする こ とができる。 また、 傾斜については 、 パラメータ値 Nを変更するこ とによって調整する こ とができる。 この パラメ一夕値 Nは 3が標準で、 N〉 3 になると傾斜は小さ く な り 、 N < 3 になると傾斜は大きく なる。 こ こでは N = 2. 6 と し、 縦続段数を 6 4個とする こ とによ り、 上述の目標規格を満足する ローパスフィ ル夕の 特性を得た。
図 2 0は、 このよう に構成したローパスフィ ルタの周波数特性を示す 図であ り、 ゲイ ンを対数目盛りで表している。 図 2 0 ( b ) は図 2 0 ( a ) に示す特性の一部拡大図である。 この図 2 0から分かるよ う に、 口 —パスフィ ルタ { 1 L ( 2. 6 ) 1 0 * 2 L ( 2. 6 ) 1 0 } 64は上述 した目標規格を満足している。 また、 フィ ルタ係数は対称型なので、 位 相特性は直線である。
また、 このよ う に構成したローパスフィ ル夕に必要な 1 ビッ 卜当た り の D型フ リ ップフ ロ ップ数は 4 9個、 タ ップ数は 4 9個であり、 フィ ル 夕係数の種類 (演算する値の種類) はわずか 2 3種類である。 6 タ ッ プ を持つュニッ ト フィ ル夕 L 1 0 " を 6 4個縦続接続すれば、 D型フ リ ッ プフ ロ ッ プゃタ ップの数は本来 4 9個よ り多く なる。 しかし、 この口一 パスフィ ル夕のフィ ルタ係数は上述した有限台の関数に基づいて生成さ れたものであ り、 縦続接続の両サイ ド付近では係数値が無視できるほど 小さ く なる。 有限台の性質上、 この部分を無視しても打切り誤差は生じ ないので、 この部分は除外する。
除外した残り の部分が、 目標規格を満足する ローパスフィ ルタについ て求める最終的なフィ ル夕係数となる。 よって、 実際にはこのフィ ルタ 係数をハー ドウェアと して構成すれば良く 、 それに必要な D型フ リ ップ フ ロ ップおよびタ ップは共に 4 9個で済む。 これによ り 、 全体と して必 要な D型フ リ ップフロ ップ数やタ ップ数を非常に少なく する こ とができ 、 フィ ル夕回路の構成を極めて簡単にする ことができる。
次に、 ノヽィパスユニッ ト フィ ルタ H 1 1 " を用いたバン ドパスフィ ル 夕の設計例を示す。 設計するバン ドパスフィ ルタの目標規格は、 次の通 り とする。 すなわち、 信号のサンプリ ング周波数 F s が 1 . 8 M H z 、 - 3 d Bの帯域幅が 1 0 0 K H z 、 一 8 O d Bの帯域幅が 2 0 0 K H z 、 帯域外減衰量は一 8 0 d B以上である。
この目標規格を実現するバン ドパスフィ ルタは、 例えば N = 2 . 7 と したハイパスユニッ ト フィ ル夕 H 1 1 " を 7 0 4個縦続接続する こ とに よって構成する ことができる。
図 2 1 は、 このよう に構成したバン ドパスフィ ルタの周波数特性を示 す図であ り、 ゲイ ンを対数目盛りで表している。 図 2 1 ( b ) は図 2 1 ( a ) に示す特性の一部拡大図である。 この図 2 1 から分かるよう に、 バン ドパスフィ ル夕 { 1 H ( 2 . 7 ) 1 1 * 2 H ( 2 . 7 ) 1 1 } 704は 上述した目標規格を満足している。 また、 位相特性も直線で る。
また、 このよう に構成したバン ドパスフィ ルタに必要な 1 ビッ ト当た り のタ ップ数は、 係数値が無視できるほど小さい部分を除く と僅か 7 7 タ ップであ り 、 フィルタ係数の種類は僅か 3 1 種類である。 また、 1 ビ ッ ト当た りの D型フ リ ップフ ロ ッ プ数は僅か 1 6 1 段である。
なお、 ここでは図示を省略するが、 複数のハイパスユニッ ト フィ ルタ H 1 0 " を縦続接続する こ とによって、 所望特性のハイパスフィ ル夕を 構成することも可能である。
また、 上記図 2 0 および図 2 1 は、 処理ビッ ト数を 1 6 ビッ ト と した 場合の例を示しているが、 処理ビッ 卜数を増やせばよ り深い減衰を持つ 特性を得るこ とができる。 換言すれば、 減衰量が処理ビッ ト数に依存す るデジタルフィ ルタを得る ことができる。
以上詳しく 説明したよ う に、 本実施形態によれば、 所定の基本的な数 値列をフィ ル夕係数とする 1 種類のュニッ ト フィ ルタ L 1 n " あるいは H 1 n " を縦続接続する こ とによ り 、 この縦続接続だけで、 所望の周波 数特性を有する F I Rフィ ル夕のフィ ル夕係数を得る こ とができる。 し たがって、 フィ ル夕設計法が非常に単純で考えやすく 、 熟練した技術者 でなく てもフィ ルタ設計を極めて簡単に行う こ とができる。
また、 上述の手法を適用 して設計されるフィ ル夕回路に必要なタ ップ 数は非常にわずかで済み、 かつ、 各タ ップ出力に対して必要なフィ ルタ 係数の種類も僅かで良いか ら、 フィ ルタ回路の演算部の構成を極めて簡 単にすることができる。 したがって、 回路素子数を大幅に削減してフィ ル夕回路の規模を小さ く する ことができる。 また、 上述の手法を適用 し て設計されるフィ ル夕回路は、 全く 同一パターンの繰り返しから成る極 めて単純な構成であるので、 集積化に際して工数を短縮するこ とができ 、 I C化を容易にする こ とができる という メ リ ッ ト も有する。
なお、 既出願の 5 タ ッ プユニッ ト フィ ルタ L i n , H I n についても 、 1 種類の縦続接続だけで所望特性のデジタルフィ ル夕 を設計する こ と が可能である。 しかし、 狭いバン ド幅のデジタルフ ィ ル夕を設計するた めには本実施形態に比べて非常に多く の縦続段数を必要と し、 使用する タ ップや D型フ リ ップフロ ップの数は非常に多く なる。
そのため、 1種類の 5タ ップユニッ トフィ ルタ L l n, H I nだけで デジタルフィ ルタ を設計する ことは現実的でなく 、 複数種類のュニッ ト フィ ル夕を組み合わせて周波数帯域の抜き取り をする必要があった。 こ れに対して、 本実施形態では、 ユニッ トフィ ルタ L 1 n " あるいは H 1 n " の少ない縦続数で狭いバン ド幅を実現できるので、 1種類のュニッ トフィ ル夕 L 1 n " あるいは H 1 n " の縦続接続だけでデジタルフィ ル 夕を設計する こ とが可能である。
(第 2の実施形態)
次に、 本発明の第 2の実施形態について説明する。 図 2 2は、 上述し た口一パスフィ ル夕 { 1 L ( 2. 6 ) 1 0 * 2 L ( 2. 6 ) 1 0 } "を 示す図であ り 、 ( a ) はそめ回路構成を示し、 ( b ) は使用するク ロ ッ クを示している。
図 2 2 に示すローパスフィ ル夕は、 基準ク ロ ッ ク C Kに従って動作す る D型フ リ ッ プフ ロ ップ 5 1, 5 6 と、 1 6倍周波数のク ロ ッ ク 1 6 C Kに従って動作する D型フ リ ップフロ ップ 5 3および 4段処理部 5 4 と 、 1 / 1 6倍周波数のク ロ ック C K 1 に従って動作するマルチプレクサ 5 2およびデータセレクタ 5 5 とを備えて構成されている。 上記 4段処 理部 5 4は、 口一パスフィ ルタ { 1 L ( 2. 6 ) 1 1 6 * 2 L ( 2. 6 ) 1 1 6 } 4によ り構成されている。
初段の D型フ リ ップフ ロ ップ 5 1 に入力されたデータは、 マルチプレ クサ 5 2 の端子 A側に入力される。 このマルチプレクサ 5 2の端子 B側 には、 データセ レクタ 5 5の端子 Bよ り出力されたローパスフィ ルタ処 理結果のデータが入力される。 マルチプレクサ 5 2は、 これらの端子 A , Bに入力されるデータの何れかを選択的に次段の D型フ リ ッ プフ ロ ッ プ 5 3 に出力する。
この例では、 マルチプレクサ 5 2 にクロック C K 1が与えられたタイ ミングで端子 A側を選択するとともに、 それ以外の夕イミ ングでは端子 B側を選択して、 その選択したデータを D型フ リ ップフロップ 5 3 に出 力する。 D型フリ ップフロップ 5 3は、 マルチプレクサ 5 2よ り供給さ れたデータを一旦保持し、 4段処理部 5 4に出力する。
4段処理部 5 4は、 D型フ リ ップフロップ 5 3より供給されるデータ に対して { 1 L ( 2. 6 ) 1 1 6 * 2 L ( 2. 6 ) 1 1 6 } 4のローパス フィルタ処理を施す。 この 4段処理部 5 4より出力されたデータは、 デ —夕セレクタ 5 5に入力される。 データセレクタ 5 5は、 4段処理部 5 4より供給されるデータを D型フ リ ップフロップ 5 6 またはマルチプレ クサ 5 2 の何れかに選択的に出力する。
すなわち、 データセレクタ 5 5 は、 クロック C K 1が与えられたタイ ミングで端子 A側を選択して、 4段処理部 5 4より供給されるデータを D型フリ ップフロップ 5 6 に出力する。 また、 それ以外のタイ ミ ングで は端子 B側を選択して、 4段処理部 5 4より供給されるデータをマルチ プレクサ 5 2 に出力する。
以上のような構成により、 D型フリ ップフロップ 5 1 を通じて入力さ れたデ一夕は、 4段処理部 5 4において { 1 L ( 2. 6 ) 1 1 6 * 2 L ( 2 . 6 ) 1 1 6 } 4の口一パスフィル夕処理が 1 6回繰り返し行われ、 その結果得られたデータが D型フ リ ップフロップ 5 6 を通じて出力され る。 これにより、 入力されたデータに対して { 1 L ( 2. 6 ) 1 0 * 2 L ( 2. 6 ) 1 0 } 64と同様の処理が施される。
上述した第 1 の実施形態では、 1種類のュニッ 卜フィルタを縦続接続 するだけでデジタルフィルタを構成することができ、 当該デジタルフィ ル夕は全く 同一パターンの繰り返しから成る。 第 2の実施形態では、 こ の同一パターンの繰り返し部分をループ回路によ り構成する ことによ り 、 使用するタ ップ数を更に削減するこ とができる。 上述の第 1 の実施形 態では 1 ビッ 卜当た り必要なタ ップ数は 4 9個、 タ ップの種類は 2 3個 であったのに対し、 第 2 の実施形態ではタップ数を 2 1 個、 タ ップの種 類を 1 1 個にそれぞれ減らすことができる。
図 2 3 は、 図 2 2 のよう に構成したローパスフィ ル夕の周波数特性を 示す図であ り、 ゲイ ンを対数目盛りで表している。 図 2 3 ( ) は図 2 3 ( a ) に示す特性の一部拡大図である。 この図 2 3 と上述した図 2 0 とを比較すれば明らかなよう に、 図 2 2 のよう にローパスフィ ルタを構 成した場合も、 図 2 0 とほぼ同程度の周波数特性を得る こ とができる。 なお、 こ こでは、 口一パスフィ ル夕の構成例について示したが、 ハイ パスフィ ルタやバン ドパスフィ ルタ等についても同様にループ回路を用 いて構成するこ とが可能であ り、 これによつて使用するタ ップ数を更に 少なく する ことができる。
以上に説明した第 1 および第 2 の実施形態によるデジタルフィ ルタの 設計方法を実現するための装置は、 ハー ドウェア構成、 D S P、 ソフ ト ウェアの何れによっても実現する ことが可能である。 例えばソ フ ト ウェ ァによって実現する場合、 フィ ルタ設計装置はコ ンピュータの C P Uあ るいは M P U、 R A M , R O Mなどで構成され、 R A Mや R O Mあるい はハー ドディ スク等に記憶されたプログラムが動作する こ とによって実 現できる。
したがって、 コ ンピュータが上記本実施形態の機能を果たすよ う に動 作させるプログラムを例えば C D— R〇 Mのような記録媒体に記録し、 これをコ ンピュータに読み込ませる こ とによって実現できるものである 。 上記プログラムを記録する記録媒体と しては、 C D— R〇 M以外に、 フ レキシブルディ スク、 ハー ドディ スク、 磁気テープ、 光ディ スク、 光 磁気ディ スク、 D V D、 不揮発性メモ リ カー ド等を用いる ことができる 。 また、 上記プログラムをイ ンターネッ ト等のネッ ト ワークを介してコ ンピュー夕 にダウンロー ドする ことによつても実現できる。
すなわち、 各種のュニッ ト フィル夕に関するフィ ル夕係数を情報と し て R A Mあるいは R O M等のメモリ に保持しておき、 ユーザがュニッ 卜 フィル夕に関する任意の組み合わせを指示すると、 C P Uが、 上記メモ リ に保持されているフィ ル夕係数の情報を用いて、 指示された組み合わ せに対応するフィ ルタ係数を演算して F I R フィ ル夕を求めるよう にす ることが可能である。
例えば、 各種のユニッ ト フィ ル夕をアイ コ ン化しておき (各アイ コ ン に対応してフィ ル夕係数を情報として保持している) 、 ユーザがこれら のアイ コ ンをディ スプレイ画面上で任意に組み合わせて配置する こ とに よ り、 C P Uがその配列に対応するフィ ルタ係数を自動的に演算して求 めるよう にしても良い。 また、 求めたフィ ル夕係数を自動的に F F T変 換し、 その結果を周波数一ゲイ ン特性図と して表示するよう にすれば、 設計したフ ィ ル夕の特性を確認する こ とができ、 フィ ル夕設計をよ り容 易に行う こ とができる。
なお、 コ ンピュータが供給されたプログラムを実行する ことによ り上 述の実施形態の機能が実現されるだけでなく 、 そのプログラムがコ ンビ ユ ー夕において稼働している O S (オペ レーティ ングシステム) あるい は他のアプリ ケーショ ンソフ ト等と共同して上述の実施形態の機能が実 現される場合や、 供給されたプログラムの処理の全てあるいは一部がコ ンピュー夕の機能拡張ボー ドや機能拡張ユニッ ト によ り行われて上述の 実施形態の機能が実現される場合も、 かかるプログラムは本発明の実施 形態に含まれる。
なお、 上記第 1 および第 2 の実施形態では、 図 2 ( a ) および ( b ) に示した対称型の数値列を半分に分けて非対称型の 3タップユニッ トフ ィル夕のフィルタ係数としたが、 元の対称型の数値列はこれに限定され るものではない。 例えば、 図 2 4 ( a ) に示すように生成した 5 タップ 口一パスユニッ ト 2次フィルタ L 2 0や、 図 2 4 ( b ) に示すように生 成した 5タップハイパスュニッ ト 2次フィルタ H 2 0の対称型の数値列 を用いても良い。
また、 上記図 2および図 2 4に示したもの以外でも、 絶対値が " 1 " と " 8 " の数値を用いて上述の数値列と異なる数値列を 5 タップュニッ トフィル夕のフィルタ係数とし、 その数値列を半分に分けて 3タップュ ニッ トフィル夕のフィル夕係数とするようにしても良い。
その他、 上記実施形態は、 何れも本発明を実施するにあたっての具体 化の一例を示したものに過ぎず、 これによつて本発明の技術的範囲が限 定的に解釈されてはならないものである。 すなわち、 本発明はその精神 、 またはその主要な特徴から逸脱することなく、 様々な形で実施するこ とができる。 産業上の利用可能性
本発明は、 複数の遅延器から成るタップ付き遅延線を備え、 各タップ の信号をそれぞれ数倍した後、 加算して出力するタイプの F I Rデジ夕 ルフィルタに有用である。

Claims

請 求 の 範 囲
1 . 複数の遅延器から成るタ ップ付き遅延線における各タ ップの信号を 、 与えられるフィ ル夕係数によ りそれぞれ数倍した後、 加算して出力す るデジタルフィ ル夕を設計する方法であって、
数値列の合計値が非ゼロで、 当該数値列の 1 つ飛びの合計値が同符号 で互いに等しく なるよう に値が設定された非対称型のフィ ル夕係数を有 する第 1 および第 2 のュニッ ト フィ ル夕を、 全体と しての数値列が対称 型となるよう に縦続接続して成る基本フィ ルタを用いて、 当該基本フィ ル夕 を複数縦続接続する ことによ り フィ ル夕設計を行う よう にしたこと を特徴とするデジタルフィ ルタの設計方法。
2 . 上記第 1 および第 2 のュニッ トフィ ル夕を構成する非対称型のフィ ル夕係数は、 所定の対称型の数値列をその中央で半分に分けた両側の数 値列を更に調整したものから成り 、
上記所定の対称型の数値列は、 その数値列の合計値が非ゼロで、 当該 数値列の 1 つ飛びの合計値が同符号で互いに等しく なるよう に値を設定 したものである ことを特徴とする請求の範囲第 1 項に記載のデジタルフ ィ ル夕の設計方法。
3 . 上記所定の対称型の数値列が— 1 , 0 , 9 , 1 6 , 9 , 0 , — 1 の 比率から成り 、
上記非対称型のフィ ルタ係数は、 その数値列が一 ( 1 — N 8 ) , 0 , ( 9 - N / 8 ) , 8 、 および、 8 , ( 9 - N / 8 ) , 0 , - ( 1 — N / 8 ) の比率から成る (ただし、 Nは 0≤ N≤ 8 ) ことを特徴とする請 求の範囲第 2 項に記載のデジタルフィ ルタの設計方法。
4 . 複数の遅延器から成るタ ッ プ付き遅延線における各タ ップの信号を 、 与えられるフィ ル夕係数によ りそれぞれ数倍した後、 加算して出力す るデジタルフィ ルタを設計する方法であって、
数値列の合計値がゼロで、 当該数値列の 1 つ飛びの合計値が逆符号で 互いに等し く なるよう に値が設定された非対称型のフィ ルタ係数を有す る第 1 および第 2 のュニッ ト フィ ル夕を、 全体と しての数値列が対称型 となるよう に縦続接続して成る基本フィ ルタを用いて、 当該基本フィ ル 夕を複数縦続接続する こ とによ り フィ ルタ設計を行う よう にしたことを 特徴とするデジタルフィ ル夕の設計方法。
5 . 上記第 1 および第 2 のュニッ ト フィ ルタを構成する非対称型のフィ ル夕係数は、 所定の対称型の数値列をその中央で半分に分けた両側の数 値列を更に調整したものから成り、
上記所定の対称型の数値列は、 その数値列の合計値がゼロで、 当該数 値列の 1 つ飛びの合計値が逆符号で互いに等しく なるよう に値を設定し たものである こ とを特徴とする請求の範囲第 4項に記載のデジタルフィ ル夕の設計方法。 ·
6 . 上記所定の対称型の数値列が 1 , 0 , — 9 , 1 6 , — 9 , 0 , 1 の 比率から成り、
上記非対称型のフィ ルタ係数は、 その数値列が ( 1 一 Nノ 8 ) , 0 , - ( 9 — N / 8 ) , 8 、 および、 8 , - ( 9 - N / 8 ) , 0 , ( 1 — N / 8 ) の比率から成る (ただし、 Nは 0 ≤N≤ 8 ) こ とを特徴とする請 求の範囲第 5項に記載のデジダルフィ ルタの設計方法。
7 . 上記第 1 および第 2 のュニッ ト フィ ルタを構成する非対称型のフィ ル夕係数に対応する各タ ップの間に n ク ロ ッ ク分のディ レイ を挿入する ことによってフィ ル夕の通過周波数帯域を調整するよう に したこ とを特 徴とする請求の範囲第 1 項〜第 6項の何れか 1 項に記載のデジタルフィ ル夕の設計方法。
8 . 数値列の合計値が非ゼロで、 当該数値列の 1 つ飛びの合計値が同符 号で互いに等し く なるよう に値が設定された非対称型のフィ ルタ係数を 有する第 1 および第 2 のュニッ 卜 フィ ル夕を、 全体と しての数値列が対 称型となるよう に縦続接続して成る基本フィ ルタに関する情報を保持す る基本フィ ルタ保持手段と、
上記基本フィ ルタの縦続接続数を指示する縦続接続手段と、 上記基本フィ ルタ保持手段によ り保持されている情報を用いて、 上記 縦続接続手段によ り指示された縦続数に対応するフィ ルタ係数を求める フィ ルタ係数演算手段とを備えたこ とを特徴とするデジタルフィ ル夕の 設計装置。
9 . 数値列の合計値がゼロで、 当該数値列の 1 つ飛びの合計値が逆符号 で互いに等し く なるよう に値が設定された非対称型のフィ ル夕係数を有 する第 1 および第 2 のュニッ ト フィ ルタを、 全体と しての数値列が対称 型となるよう に縦続接続して成る基本フィ ルタに関する情報を保持する 基本フィ ル夕保持手段と、
上記基本フィ ル夕の縦続接続数を指示する縦続接続手段と、 上記基本フィ ル夕保持手段によ り保持されている情報を用いて、 上記 縦続接続手段によ り指示された縦続数に対応するフィ ルタ係数を求める フィ ルタ係数演算手段とを備えたことを特徴とするデジタルフィ ル夕の 設計装置。
1 0 . 上記第 1 および第 2 のユニッ ト フィ ル夕を構成する非対称型のフ ィ ル夕係数に対応する各タ ップの間に n ク ロ ック分のディ レイ を挿入す る こ とによってフィ ル夕の通過周波数帯域を調整する遅延手段を備えた こ とを特徴とする請求の範囲第 8項または第 9項に記載のデジタルフィ ル夕の設計装置。
1 1 . 複数の遅延器から成るタ ッ プ付き遅延線を備え、 各タ ッ プの信号 を、 請求の範囲第 1 項〜第 7 項の何れか 1 項に記載のフィ ルタ設計法に よ り求められたフィ ルタ係数によ りそれぞれ数倍した後、 加算して出力 する ことを特徴とするデジタルフィ ルタ。
1 2 . 複数の遅延器か ら成るタ ップ付き遅延線を備え、 各タ ッ プの信号 を、 与えられるフィ ル夕係数によ りそれぞれ数倍した後、 加算して出力 するデジタルフィ ル夕であって、
数値列の合計値が非ゼロで、 当該数値列の 1 つ飛びの合計値が同符号 で互いに等しく なるよ う に値が設定された非対称型のフィ ルタ係数を有 する第 1 および第 2 のュニッ ト フィ ルタを、 全体と しての数値列が対称 型となるよう に縦続接続して基本フィ ル夕を構成し、 当該基本フィ ルタ を複数縦続接続して成る こ とを特徴とするデジタルフィ ルタ。
1 3 . 上記第 1 および第 2 のユニッ ト フィ ル夕を構成する上記非対称型 のフィ ルタ係数は、 所定の対称型の数値列をその中央で半分に分けた両 側の数値列を更に調整したものから成り、
上記所定の対称型の数値列は、 その数値列の合計値が非ゼロで、 当該 数値列の 1 つ飛びの合計値が同符号で互いに等しく なるよう に値を設定 したものであることを特徴とする請求の範囲第 1 2 項に記載のデジタル フィ ルタ。
1 4 . 上記所定の対称型の数値列が— 1 , 0, 9 , 1 6 , 9 , 0 , 一 1 の比率から成るこ とを特徴とする請求の範囲第 1 3 項に記載のデジタル フィ ルタ。
1 5 . 上記第 1 および第 2 のユニッ ト フィ ルタを構成する上記非対称型 のフィ ルタ係数は、 その数値列が— ( 1 一 N / 8 ) , 0 , ( 9 - N / 8 ) , 8 、 および、 8 , ( 9 - N / 8 ) , 0 , - ( 1 一 N Z 8 ) の比率か ら成る (ただし、 Nは 0≤ N≤ 8 ) こ とを特徴とする請求の範囲第 1 4 項に記載のデジタルフ ィ ル夕。
1 6 . 複数の遅延器か ら成るタ ップ付き遅延線を備え、 各タ ップの信号 を、 与えられるフィ ルタ係数によ りそれぞれ数倍した後、 加算して出力 するデジタルフィ ルタであって、
数値列の合計値がゼロで、 当該数値列の 1 つ飛びの合計値が逆符号で 互いに等しく なるよう に値が設定された非対称型のフィ ルタ係数を有す る第 1 および第 2 のュニッ ト フィ ル夕を、 全体と しての数値列が対称型 となるよう に縦続接続して基本フィル夕を構成し、 当該基本フィ ルタを 複数縦続接続して成る ことを特徴とするデジタルフ ィ ル夕。
1 7 . 上記第 1 および第 2 のユニッ ト フィ ルタ を構成する上記非対称型 のフィ ルタ係数は、 所定の対称型の数値列をその中央で半分に分けた両 側の数値列を更に調整したものから成り、
上記所定の対称型の数値列は、 その数値列の合計値がゼロで、 当該数 値列の 1 つ飛びの合計値が逆符号で互いに等し く なるよう に値を設定し たものである こ とを特徴とする請求の範囲第 1 6項に記載のデジタルフ ィ ル夕。
1 8 . 上記所定の対称型の数値列が 1 , 0, 一 9 , 1 6, — 9, 0 , 1 の比率から成る こ とを特徵とする請求の範囲第 1 7 項に記載のデジタル フイ レ夕。
1 9 . 上記第 1 および第 2 のュニッ ト フィ ルタ を構成する上記非対称型 のフ ィ ルタ係数は、 その数値列が ( 1 一 N Z 8 ) , 0, 一 ( 9 - N / 8 ) , 8 、 および、 8 , — ( 9 - N / 8 ) , 0 , ( 1 — Nノ 8 ) の比率か ら成る (ただし、 Nは 0≤ N≤ 8 ) こ とを特徴とする請求の範囲第 1 8 項に記載のデジタルフィ ルタ。
2 0 . 上記第 1 および第 2 のュニッ ト フィ ル夕 を構成する上記非対称型 のフィ ルタ係数に対応する各タ ップの間に n ク ロ ッ ク分のディ レイ を挿 入するための遅延手段を備えたことを特徴とする請求の範囲第 1 2 項〜 第 1 9項の何れか 1 項に記載のデジタルフィ ルタ。
2 1 . 請求の範囲第 1 項〜第 7 項の何れか 1 項に記載のフィ ルタ設計方 法に関する処理手順をコ ンピュータに実行させるためのデジタルフィ ル 夕設計用プログラム。
2 2 . 請求の範囲第 8項〜第 1 0項の何れか 1 項に記載の各手段と して コ ンピュータを機能させるためのデジタルフィ ル夕設計用プログラム。
PCT/JP2003/013382 2002-10-21 2003-10-20 デジタルフィルタの設計方法および装置、デジタルフィルタ設計用プログラム、デジタルフィルタ WO2004036747A1 (ja)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP2004544993A JPWO2004036747A1 (ja) 2002-10-21 2003-10-20 デジタルフィルタの設計方法および装置、デジタルフィルタ設計用プログラム、デジタルフィルタ
EP03754199A EP1557947A1 (en) 2002-10-21 2003-10-20 Digital filter design method and device, digital filter design program, and digital filter
US10/907,933 US20050171988A1 (en) 2002-10-21 2005-04-21 Digital filter design method and device, digital filter design program, and digital filter

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2002306316 2002-10-21
JP2002-306316 2002-10-21

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US10/907,933 Continuation US20050171988A1 (en) 2002-10-21 2005-04-21 Digital filter design method and device, digital filter design program, and digital filter

Publications (1)

Publication Number Publication Date
WO2004036747A1 true WO2004036747A1 (ja) 2004-04-29

Family

ID=32105205

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2003/013382 WO2004036747A1 (ja) 2002-10-21 2003-10-20 デジタルフィルタの設計方法および装置、デジタルフィルタ設計用プログラム、デジタルフィルタ

Country Status (6)

Country Link
EP (1) EP1557947A1 (ja)
JP (1) JPWO2004036747A1 (ja)
KR (1) KR20050075365A (ja)
CN (1) CN1706101A (ja)
TW (1) TW200414675A (ja)
WO (1) WO2004036747A1 (ja)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009175130A (ja) * 2007-12-28 2009-08-06 Cygnet Corp リアルタイム震度計とそれを用いた震度等の予知方法
JP2010021860A (ja) * 2008-07-11 2010-01-28 Japan Science & Technology Agency 帯域分離フィルタ及び帯域分離方法
JP2010041311A (ja) * 2008-08-04 2010-02-18 Japan Science & Technology Agency フィルタ、フィルタの構成システム及び構成方法
US8949303B2 (en) 2008-06-10 2015-02-03 Japanese Science And Technology Agency Filter

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102006053508A1 (de) * 2006-11-14 2008-05-15 Zinoviy, Lerner, Dipl.-Ing. Verfahren zur digitalen Signalverarbeitung
DE102006053511A1 (de) * 2006-11-14 2008-05-15 Zinoviy, Lerner, Dipl.-Ing. Verfahren zur digital Bandpaß-FIR-Filterung
DE102006053510A1 (de) * 2006-11-14 2008-05-15 Zinoviy, Lerner, Dipl.-Ing. Verfahren zur digitalen nichtrekursiven Signalverarbeitung
WO2009047673A2 (en) * 2007-10-08 2009-04-16 St-Nxp Wireless (Holding) Ag Fir digital to analog converter
EP2436114B1 (en) * 2010-02-20 2019-07-10 Huawei Technologies Co., Ltd. Filter device and method for providing a filter device
KR102192991B1 (ko) 2014-04-23 2020-12-18 삼성전자주식회사 가변적인 디지털 필터를 포함하는 아날로그-디지털 컨버터 및 이를 포함하는 이미지 센서
US10135424B2 (en) * 2015-02-27 2018-11-20 Microchip Technology Germany Gmbh Digital filter with confidence input

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05235701A (ja) * 1992-02-25 1993-09-10 Nippon Steel Corp 環状畳み込みによるディジタルフィルタバンク処理方法及び装置
JPH05243908A (ja) * 1991-12-06 1993-09-21 Nec Corp ろ波器
JPH06503450A (ja) * 1990-12-19 1994-04-14 ルンナー,トマス 積の数を減らすことによりディジタルフィルタバンクの電力消費を減らす方法
JPH06326555A (ja) * 1992-12-21 1994-11-25 Sony United Kingdom Ltd サブバンド・フィルタ装置及びその応用
JPH1079686A (ja) * 1996-09-02 1998-03-24 Ricoh Co Ltd ディジタル相関器

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06503450A (ja) * 1990-12-19 1994-04-14 ルンナー,トマス 積の数を減らすことによりディジタルフィルタバンクの電力消費を減らす方法
JPH05243908A (ja) * 1991-12-06 1993-09-21 Nec Corp ろ波器
JPH05235701A (ja) * 1992-02-25 1993-09-10 Nippon Steel Corp 環状畳み込みによるディジタルフィルタバンク処理方法及び装置
JPH06326555A (ja) * 1992-12-21 1994-11-25 Sony United Kingdom Ltd サブバンド・フィルタ装置及びその応用
JPH1079686A (ja) * 1996-09-02 1998-03-24 Ricoh Co Ltd ディジタル相関器

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
"Digital Singo Shori Handbook", 31 January 1993, THE INSTITUTE OF ELECTRONICS, INFORMATION AND COMMUNICATION ENGINEERS, OHMSHA, LTD., pages: 112 - 113, XP002986482 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009175130A (ja) * 2007-12-28 2009-08-06 Cygnet Corp リアルタイム震度計とそれを用いた震度等の予知方法
US8949303B2 (en) 2008-06-10 2015-02-03 Japanese Science And Technology Agency Filter
JP2010021860A (ja) * 2008-07-11 2010-01-28 Japan Science & Technology Agency 帯域分離フィルタ及び帯域分離方法
JP2010041311A (ja) * 2008-08-04 2010-02-18 Japan Science & Technology Agency フィルタ、フィルタの構成システム及び構成方法

Also Published As

Publication number Publication date
EP1557947A1 (en) 2005-07-27
TW200414675A (en) 2004-08-01
CN1706101A (zh) 2005-12-07
JPWO2004036747A1 (ja) 2006-02-16
KR20050075365A (ko) 2005-07-20

Similar Documents

Publication Publication Date Title
US7529788B2 (en) Digital filter design method and device, digital filter design program, and digital filter
JPWO2006048958A1 (ja) デジタルフィルタおよびその設計方法、設計装置、デジタルフィルタ設計用プログラム
WO2004036747A1 (ja) デジタルフィルタの設計方法および装置、デジタルフィルタ設計用プログラム、デジタルフィルタ
US7330865B2 (en) Digital filter and its designing method
Dutta Roy et al. Fir notch filter design: a review
JPWO2005078925A1 (ja) デジタルフィルタの設計方法および装置、デジタルフィルタ設計用プログラム、デジタルフィルタ
US8949303B2 (en) Filter
WO2004036746A1 (ja) デジタルフィルタの設計方法および装置、デジタルフィルタ設計用プログラム、デジタルフィルタ
US7590675B2 (en) Digital filter, design method thereof, design device, and digital filter design program
WO2004008637A1 (ja) デジタルフィルタの設計方法、デジタルフィルタ設計用プログラム、デジタルフィルタ
WO2003047097A1 (fr) Procede de conception d&#39;un filtre numerique, appareil de projet, programme de projet pour la realisation d&#39;un tel filtre, et filtre numerique y relatif
US20050171988A1 (en) Digital filter design method and device, digital filter design program, and digital filter
US20050120067A1 (en) Digital filter designing method, digital filter designing program, digital filter
WO2004079905A1 (ja) デジタルフィルタの設計方法および装置、デジタルフィルタ設計用プログラム、デジタルフィルタ
CN100391102C (zh) 音质调整装置以及滤波器装置
Lei et al. A Modified ecimation ilter esign for Oversampled Sigma elta A/Converters
JP2005033307A (ja) デジタル・フィルタの設計方法
Lee et al. Weighted interpolation using supplementary filter
WO2003096534A1 (fr) Procede et dispositif de mise au point d&#39;un dispositif de reglage de la qualite sonore, programme de mise au point d&#39;un dispositif de reglage de la qualite sonore et dispositif de reglage de la qualite sonore
JPH10150344A (ja) 再帰型デジタルフィルタ

Legal Events

Date Code Title Description
AK Designated states

Kind code of ref document: A1

Designated state(s): CN JP KR US

AL Designated countries for regional patents

Kind code of ref document: A1

Designated state(s): AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HU IE IT LU MC NL PT RO SE SI SK TR

121 Ep: the epo has been informed by wipo that ep was designated in this application
WWE Wipo information: entry into national phase

Ref document number: 2004544993

Country of ref document: JP

WWE Wipo information: entry into national phase

Ref document number: 2003754199

Country of ref document: EP

Ref document number: 10907933

Country of ref document: US

Ref document number: 1020057006905

Country of ref document: KR

Ref document number: 20038A18303

Country of ref document: CN

WWP Wipo information: published in national office

Ref document number: 1020057006905

Country of ref document: KR

WWP Wipo information: published in national office

Ref document number: 2003754199

Country of ref document: EP