Abstract:
A finite impulse response digital filter includes a first selector for alternately selecting samples of first and second data streams at intervals T, a second selector for alternately selecting samples of the first and second data streams at intervals T in a manner complementary to the first selector. First and second subfilters are clocked at frequency 1/T and respectively responsive to the outputs of the first and second selectors. The subfilters comprise a common register network for introducing different incremental delay times to the outputs of the first and second selectors and supply the delayed signals to a demultiplexer.

Description:
BACKGROUND OF THE INVENTION 
     The present invention relates to a rate conversion digital filter in which the sampling rate of the input digital signal is reduced by a factor of 1/2. The present invention is particularly useful for digital recording of two-channel signals. 
     Sampling rate reduction techniques are used for interfacing different types of digital communications media which proliferate at an increasing rate in various fields of application. In digital audio techniques, for example, original analog signals are sampled at a predetermined sampling frequency fs and quantized into a digital stream of 16-bit words. If the original signal has a bandwidth exceeding the fs/2 limit, foldover distortion, or &#34;aliasing&#34; occurs. For this purpose the analog signal is passed through an analog low-pass filter having a cut-off frequency of fs/2 before it is sampled. Since audio recording requires a distortion factor as high as 70 to 80 dB, the roll-off characteristic of the filter must be as sharp as possible and group delays resulting from such filter characteristic must be equalized. 
     SUMMARY OF THE INVENTION 
     It is therefore an object of the invention to provide a rate conversion digital filter having a simplified structure. 
     According to the present invention, a finite impulse response digital filter is adapted to be responsive to first and second digital data streams each being sampled at a frequency 1/T. The digital filter comprises a first selector for alternately selecting samples of the first and second data streams at intervals T, a second selector for alternately selecting samples of the first and second data streams at intervals T in a manner complementary to the first selector, and first and second subfilters clocked at the frequency 1/T and responsive to the outputs of the first and second selectors respectively. The subfilters comprise a common register network for introducing different incremental delay times to the outputs of the first and second selectors. A demultiplexer is connected to the output of the register network. 
     Preferably, the first and second subfilters comprise a common register-adder network including a series of N registers arranged in stages, each register being clocked at frequency 1/T to introduce a delay time T and a series of N adders arranged in stages in association respectively with the N registers for summing the outputs of the associated registers and the outputs of the multipliers of the first and second groups. The adders of the first to (N-1)th stages supply the results of the summation to the registers of the second to Nth stages. The register of the first stage is responsive to the output of a multiplier of one of the first and second groups, the multipliers of the first group being connected to alternate ones of the adders and the multipliers of the second group being connected to the remainder of the adders, the output of the adder of the Nth stage being supplied to the demultiplexer. 
    
    
     BRIEF DESCRIPTION OF THE DRAWINGS 
     The present invention will be described in further detail with reference to the accompanying drawings, in which: 
     FIG. 1 is a block diagram useful for describing the underlying principle of the present invention; 
     FIG. 2 is a block diagram of a specific embodiment of a sampling rate reduction digital filter constructed according to the present invention; and 
     FIG. 3 is a block diagram of a simplified version of the embodiment of FIG. 1 in the case of the presence of symmetricity between coefficients. 
    
    
     DETAILED DESCRIPTION 
     Before going into detail of the present invention, the underlying principle of the present invention will first be described. Assume that the sampling frequency of the input digital data sftream is 1/T and exp{-jωT} is represented by Z according to the Z-conversio notation so that two input digital streams are represented by X 1  (z) and X 2  (z), respectively, rate reduction operation can be achieved by passing X 1  (z) and X 2  (z) respectively through digital filters H(z) having a cut-off frequency 1/4T and sampling every other digital samples from each of the outputs of the digital filters. Let [A(z)] E  and [A(z)] O  represent respectively the processes involved in sampling the even-numbered samples and the odd-numbered samples of a digital data stream A(z), the output data stream Y(z) which is obtained by multiplexing the two rate-reduced data streams is given by: 
     
         Y(z)=[X.sub.1 (z)H(z)].sub.E +[X.sub.2 (z)H(z)].sub.O      (1) 
    
     If the digital filter H(z) is a finite impulse response (FIR) digital filter of the N(-1)th order, and if H(z) is reduced as follows: 
     
         H(z)=a.sub.0 +a.sub.1 z.sup.-1 +a.sub.2 z.sup.-2 + . . . +a.sub.N-1 z.sup.-(N-1)                                              (2) 
    
     H(z) can be divided into the following two sublifters: 
     
         H(z)=H.sub.1 (z.sup.2)+z.sup.-1 H.sub.2 (z.sup.2)          (3) 
    
     where, 
     
         H.sub.1 (z.sup.2)=a.sub.0 +a.sub.2 z.sup.-2 + . . . +a.sub.N-2 z.sup.-(N-2) (4) 
    
     
         H.sub.2 (z.sup.2)=a.sub.1 +a.sub.3 z.sup.-2 + . . . +a.sub.N-1 z.sup.-(N-2) (5) 
    
     From Equations 1 and 3, the multiplexed output Y(z) is given by: 
     
         Y(z)=([X.sub.1 (z)].sub.E +[X.sub.2 (z)].sub.O)H.sub.1 (z.sup.2)+([X.sub.2 (z)].sub.E +[X.sub.1 (z)].sub.O)z.sup.-1 H.sub.2 (z.sup.2) (6) 
    
     If H 1  (z 2 ) and H 2  (z 2 ) given by Equations 4 and 5 are represented respectively by: 
     
         H.sub.1 (z.sup.2)=a.sub.0 +z.sup.-2 H.sub.11 (z.sup.2) 
    
     
         H.sub.2 (z.sup.2)=a.sub.1 +z.sup.-2 H.sub.21 (z.sup.2) 
    
     then Equation 6 can be rewritten as: ##EQU1## where, 
     
         S.sub.1 (z)=[X.sub.1 (z)].sub.E +[X.sub.2 (z)].sub.O 
    
     
         S.sub.2 (z)=[X.sub.2 (z)].sub.E +[X.sub.1 (z)].sub.O 
    
     Equation 7 can be realized by a block-diagram shown in FIG. 1. A digital input signal S 1  (z) is applied through a terminal 201 to a digital filter 204 having a filter function H 11  (z 2 ) and to a multiplier 206 having a multiplying factor a 0  and a digital input signal S 2  (z) is applied through a terminal 202 to a digital filter 205 having a filter function H 21  (z 2 ) and to a multiplier 207 having a multiplying factor a 1 . Indicated at 208, 209 and 210 are registers each having a unit delay time T. The output of filter 205 is delayed by shift register 208 and summed with the output of filter 204 in an adder 211. The output of adder 211 is delayed by shift register 209 and summed with the output of multiplier 207 in an adder 212. The output of adder 212 is delayed by shift register 210 and summed with the output of multiplier 206 and supplied to an output terminal 203. By expanding the digital filter functions H 11  (z 2 ) and H 21  (z 2 ), a specific embodiment of the rate conversion digital filter can be realized as shown in FIG. 2. 
     For purposes of simplicity, a digital filter of the sixth order (N=7) is illustrated. In FIG. 2, first and second data streams of digital samples X 1  (z) and X 2  (z) having a sampling frequency 1/T are applied to input terminals 101 and 102, respectively. A first multiplexer, or selector multiplexes the even-numbered digital samples of the first sample series X 1  (z) and the odd-numbered digital samples of the second sample series X 2  (z) and supplies a multiplexed digital sample series S 1  (z) to multipliers 110, 111, 112 and 113 having multiplying factors a 0 , a 2 , a 4  and a 6 , respectively. A second selector 108 multiplexes the odd-numbered digital samples of the first sample series X 1  (z) and the even-numbered digital samples of the second sample series X 2  (z) in a complementary manner to the selector 107 and supplies a multiplexed digital sample series S 2  (z) to multipliers 120, 121 and 122 having multiplying factors a 1 , a 3  and a 5 , respectively. Shift registers 129-134 are provided each being clocked at frequency 1/T to introduce a unit delay time T. The output of each register is connected to each one of adders 140-145 and the output of each of adders 140-144 is connected to the input of register of the following stage. 
     The rate conversion digital filter of the invention is thus formed by first and second subfilters which are respectively responsive to the outputs of the selectors 107 and 108. Shift registers 129-134 and adders 140-145 form a register-and-adder network shared in common by the first and second subfilters through the respective multipliers. The shared use of the common register-adder network results in a simplified rate conversion digital filter. 
     In operation, a digital sample S 1  (z) from selector 107 is multiplied by a 6  by multiplier 113 and delayed by an interval T by register 129 and multiplexed with a digital sample S 2  (z)a 5  from multiplier 122 by adder 140 and further delayed by interval T by register 130 and multiplexed by adder 141 with a digital sample S 1  (z)a 4  from multiplier 112. The output of adder 141 is delayed by register 131 and multiplexed by adder 142 with a digital sample S 2  (z)a 3  from multiplier 121. The output of adder 142 is delayed by register 132, multiplexed with a sample S 1  (z)a 2  from multiplier 111, delayed further by register 133, multiplexed by adder 144 with a digital sample S 1  (z)a 1  from multiplier 120, delayed by register 134 and multiplexed by adder 145 with a digital sample S 1  (z)a 0  from multiplier 110. The output of adder 145 is a series of digital samples represented by S 1  (z)a 0   + z -1  S 2  (z)a 1   + z -2  S 1  (z)a 2   + z -  3 S 2  (z)a 3   + z -4  S 1  (z)a 4  +z -5  S 2  (z)a 5   + z -6  S 1  (z)a 6 . A demultiplexer 150 extracts samples X 1  (z) from the output series at twice the sampling interval T and supplies a series of even-numbered samples [X 1  (z)Hz] E  to an output terminal 104 and extracts samples X 2  (z) at twice the sampling interval T and supplies a series of odd-numbered samples [X 2  (z)Hz] O  to an output terimal 105. 
     If the sublifters have a linear relation between phase and frequency, a digital filter having no delay distortion can be realized. Such digital filters can be realized if the filter order is even since it can be shown that each of the sublifters H 1  and H 2  of Equation 3 has symmetrical coefficients. Under such conditions, relations a 0  =a 6 , a 2  =a 4 , a 1  =a 5  hold and multipliers 112, 113 and 122 can advantageously be dispensed with as shown in FIG. 3. In FIG. 3, the adders 140 and 141 take their inputs from the outputs of multipliers 120 and 111, respectively, and register 129 takes its input from the output of multiplier 110.