This invention relates to signal analyzing and signal synthesizing methods of a complex exponential modulation filter bank with low electric power consumption or high speed by reducing quantity of arithmetic operation.
In recent years, a signal analysis filter bank which divides a signal into a plurality of band signals and a signal synthesis filter bank which reproduces an original signal by synthesizing the band signals have drawn attention as signal analyzing and signal synthesizing means which realizes high efficiency coding due to sub-band coding of audio signals and image signals. In particular, in such a bandwidth extension technique of an audio signal for realizing wideband reproduction with a few amount of information, a complex exponential modulation filter bank has been drawn attention. The complex exponential modulation filter bank has such an advantage that there occurs no aliasing even if gain is changed with respect to each band, unlike a cosine modulation filter bank which has been used in MPEG (Moving Picture Experts Group)-1 audio etc. Therefore, it is usable as various digital equalizers. However, the complex exponential modulation filter bank handles band signals with complex numbers, and therefore, it has such a drawback that quantity of arithmetic operation is large, as compared to the cosine modulation filter bank which handles the band signals with real numbers.
For example, in AAC+SBR (Spectral Band Replication) which is a bandwidth extension technique of MPEG (Moving Picture Experts Group) AAC (Advanced Audio Coding), the complex exponential modulation filter bank is used. This complex exponential modulation filter bank is disclosed in ISO/IEC 14496-3:2001, Information technology—Coding of audio-visual objects—Part 3: Audio, ISO/IEC JTC1/SC29/WG11/N5570, March 2003 (Text of ISO/IEC 14496-3:2001/FDAM1, Bandwidth Extension).
Hereinafter, a conventional signal analyzing and signal synthesizing method of a complex exponential modulation filter bank will be described.
In
Firstly, an operation of the signal analysis filter bank 1201 will be described. In the sampling frequency K times interpolator 1203, by inserting (K−1) zero data with respect to each data, to an input signal with sampling frequency fs, sampling frequency is elevated by K times, to become Kfs. Next, this signal becomes band-pass signals by analysis band-pass filter 1204 which divides an entire band into M bands with equal bandwidth, and (M−1) data are removed with respect to each M data, by decimator 1205, and 1 piece data is outputted, and thereby, it is converted into a band signal with sampling frequency fsK/M, and outputted. Since sampling frequency of an input signal is set to K times, a band signal in (M/K)-th band or above is zero.
Next, an operation of signal synthesis filter bank 1202 will be described. A band signal with sampling frequency fsK/M which was outputted from signal analysis filter bank 1201 is used as an input, and (M−1) zero data is inserted by interpolator 1206 with respect to each 1 piece of data, and thereby, sampling frequency is elevated to Kfs which is M times. This signal is converted into band-pass signals by M synthesis band-pass filters 1207 with equal bandwidth, and thereafter, they are synthesized by adder 1208, so that a signal with sampling frequency Kfs is reproduced. Next, by sampling frequency 1/L times decimator 1209, (L−1) pieces of data are removed with respect to each L pieces of data, so that a signal with sampling frequency fsK/L is outputted.
In sub-band coding of audio signals and image signals, information compression is carried out between the signal analysis filter bank and the signal synthesis filter bank, through the use of deviation of distribution of a frequency direction of a band signal, and an auditory characteristic or a visual characteristic of humans to realize a high efficiency coding.
As described in international publication number WO 02/080362 A1 document, the complex exponential modulation filter bank is configured by modulating a prototype filter with complex exponentials. By this patent document, assuming that a filter coefficient of a linear phase non-recursive type prototype filter is h(n) (0≦n≦N, N is a filter order), a filter coefficient ha(k, n) of n sample in k-th band of a complex exponential modulation signal analysis filter bank is given by (formula 1) (j is imaginary unit, and A is phase for signal analysis).
ha(k,n)=Kh(Kn)exp(jπ(k+0.5)(2Kn+A)/(2M)) (formula 1)
Therefore, when values of filter coefficients of first and last prototype filters are set to be zero, assuming that an input signal at sampling time n of a signal analysis filter bank is x(n), complex band output signal X(k, mM/K) at sample time mM/K in k-th band (0≦k≦M/K−1) is give by (formula 2).
If (formula 2) is calculated directly, quantity of arithmetic operation becomes large, and therefore, as shown below, a complex exponential modulation signal analysis filter bank with reduced quantity of arithmetic operation is used.
Next, in step 1302, complex band output signal X (k, mM/K) at sampling time mM/K in k-th band (0≦k≦M/K−1) is calculated by (formula 4) (A is phase for signal analysis) from intermediate signal w(n).
For example, pages 60 and 62 in the above-described ISO/IEC document describe an example of a complex exponential modulation signal analysis filter bank for such a case that number of bands M is 64, and filter order N of a prototype filter is 640, and scaling factor k of up-sampling is 2, and phase A of signals is −1. In this regard, however, this document uses c(n) which was calculated by (formula 5) from h(n), in lieu of filter coefficient h(n) of the prototype filter.
c(n)=(−1)INT(n/2M)h(n) (0≦n≦N−1) (formula 5)
Here, INT(x) is a function for making an integer with truncation of a fractional part of x.
In a conventional example of
Here, quantity of arithmetic operation, which is necessary for realizing the complex exponential modulation signal analysis filter bank of
In step 1301, assuming that c(n), which was calculated by (formula 5) in advance, is stored in a table and used, in lieu of h(n), the number of real number addition is (N/2M−1)(2M/K)=N/K−2M/K times, and the number of real number multiplication is (N/2M)(2M/K)=N/K times.
In step 1302, assuming that K exp(jπ(k+0.5)(2Kn+A)/(2M)) is calculated in advance and stored in a table to be used, the number of real number addition is 2(2M/K−1)(M/K)=4(M/K)2−2(M/K) times, and the number of real number multiplication is 2(2M/K)(M/K)=4(M/K)2 times.
Assuming that order N of the prototype filer is 640, and number of bands M is 64, and scaling factor K of up-sampling is 1, the number of real number addition is 512 times and the number of real number multiplication is 640 times, in step 1301, and the number of real number addition is 16256 times and the number of real number multiplication is 16384 times, in step 1302, and as a total of combination of step 1301 and step 1302, the number of real number addition is 16768 times and the number of real number multiplication is 17024 times.
Next, a conventional complex exponential modulation signal synthesis filter bank will be described. By the above-described patent publication document, filter coefficient hs(k, n) of n sample in k-th band of a complex exponential modulation signal synthesis filter bank is given by (formula 6) (B is phase for signal synthesis).
hs(k,n)=(1/M)h(Ln)exp(jπ(k+0.5)(2Ln+B)/(2M)) (formula 6)
Here, phase B for signal synthesis satisfies a relational formula of (formula 7) (P is arbitrary integer) with phase A for signal analysis.
A+B+2N=8MP (formula 7)
A real number part of summation in an effective band (band from 0-th band up to (M/L−1)-th band) of such a signal that an input complex band signal is convolved with the filter coefficient of (formula 6) is an output of signal synthesis filter bank 1202. When values of filter coefficients of first and last prototype filters are set to zero, assuming that a complex band input signal at sample time mM/K in k-th band of a complex exponential modulation signal synthesis filter bank is X(k, mM/K), output signal x(mM/K+nL/K) at sampling time mM/K+nL/K is given by (formula 8) (Re(x) is an real part of complex number x).
If (formula 8) is calculated directly, quantity of arithmetic operation becomes large, and therefore, in the same manner as in the case of the complex exponential modulation signal analysis filter bank, a complex exponential modulation signal synthesis bank with reduced quantity of arithmetic operation is used as follows, in prior art.
Next, instep 1402, output signal x(mM/K+nL/K) at sampling time mM/K+nL/K (0≦n≦M/L−1) is calculated by (formula 10), from intermediate signal w(n).
Pages 60, 61, and 63 of the above-described ISO/IEC document describe an example of a complex exponential modulation signal synthesis filter bank for such a case that number of bands M is 64, and filter order N of a prototype filter is 640, and scaling factor K of up-sampling is 2, and scaling factor 1/L of down-sampling is 1, and phase B for signal synthesis is −255.
Quantity of arithmetic operation, which is necessary for realizing the complex exponential modulation signal synthesis filter bank of
In step 1401, assuming that (1/M)exp(jπ(k+0.5)(2Ln+B)/(2M)) is calculated in advance, and stored in a table to be used, the number of real number addition is (M/L−1)(2M/L)+(M/L)(2M/L)=4(M/L)2−2(M/L) times, and the number of real number multiplication is 2(M/L)(2M/L)=4(M/L)2 times.
In step 1402, assuming that c(n), which was calculated by (formula 5), is stored in a table and used, in lieu of h(n), the number of real number addition is (N/M−1)(M/L)=N/L−M/L times, and the number of real number multiplication is (N/2M)2(M/L)=N/L times.
Assuming that order N of the prototype filer is 640, and number of bands M is 64, and scaling factor 1/L of down-sampling is 1, the number of real number addition is 16256 times and the number of real number multiplication is 16384 times, in step 1401, and the number of real number addition is 576 times and the number of real number multiplication is 640 times, in step 1402, and as a total of combination of step 1401 and step 1402, the number of real number addition is 16832 times and the number of real number multiplication is 17024 times.
A signal analyzing method of a complex exponential modulation filter bank is a signal analyzing method which makes up-sampling of an input signal with sampling frequency fs by K times, and divides it into M complex band signals with equal bandwidth and sampling frequency fsK/M to be outputted, and has a step of calculating a first intermediate signal from the input signal, a step of calculating a second intermediate signal from the first intermediate signal, a step of calculating a third intermediate signal from the second intermediate signal by fast Fourier transform, and a step of calculating a complex band output signal from the third intermediate signal.
A signal synthesizing method of a complex exponential modulation filter bank is a signal synthesizing method which synthesizes complex band input signals, and makes down-sampling to 1/L times (Lisa divisor of M and a positive integer including 1), and outputs a signal with sampling frequency fsK/L, and has a step of calculating a first intermediate signal from the complex band input signal, a step of calculating a second intermediate signal from the first intermediate signal, with fast Fourier transform, a step of calculating a third intermediate signal from the second intermediate signal, and a step of calculating an output signal from the third intermediate signal.
A program is a program for having a computer or a digital signal processor execute the above-described signal analyzing and synthesizing methods of a complex exponential modulation filter bank.
A recording medium is a computer readable recording medium in which the above-described program for having a computer or a digital signal processor execute the above-described signal analyzing and synthesizing methods of a complex exponential modulation filter bank has been recorded.
The invention, together with further advantages thereof, may best be understood by reference to the following description taken in conjunction with the accompanying drawings in which:
As described above, the conventional signal analyzing method and signal synthesizing method of a complex exponential modulation filter bank have such a problem that quantity of arithmetic operation is large. Therefore, the conventional method has such a problem that operation clock frequency is heightened at the time of installing a filter bank by time-divisionally using the limited number of multipliers and adders as in a digital signal processor, so that electric power consumption is large. It also has such a problem that processing time is long at the time that a filter bank is executed by software, using a computer.
The invention is to solve the above-described conventional problems, and it is its object to provide a signal analyzing method and a signal synthesizing method, by which quantity of arithmetic operation can be reduced at the time of complex exponential modulation filter bank execution, and electric power consumption can be reduced. It is another object of the invention to provide a signal analyzing method and a signal synthesizing method by which processing time was shortened and can speed up at the time of complex exponential modulation filter bank execution.
In order to solve this problem, a signal analyzing method of the invention is a signal analyzing method of a complex exponential modulation filter bank which makes up-sampling of an input signal with sampling frequency fs by K times, and divides it into M complex band signals with equal bandwidth and sampling frequency fsK/M to be outputted, and has a step of calculating a first intermediate signal from the input signal, a step of calculating a second intermediate signal from the first intermediate signal, a step of calculating a third intermediate signal from the second intermediate signal by fast Fourier transform or inverse fast Fourier transform at M/K points, and a step of calculating a complex band output signal from the third intermediate signal.
A signal synthesizing method of the invention is a signal synthesizing method of a complex exponential modulation filter bank which synthesizes M complex band input signals with equal bandwidth and sampling frequency fsk/M, and makes down-sampling to 1/L times, and outputs a signal with sampling frequency fsK/L, and has a step of calculating a first intermediate signal from the complex band input signal, a step of calculating a second intermediate signal from the first intermediate signal, with fast Fourier transform or inverse fast Fourier transform at M/L point, and a step of shifting a third intermediate signal, and then, calculating the third intermediate signal from the second intermediate signal, and a step of calculating an output signal from the third intermediate signal.
By this, it is possible to effectively apply fast Fourier transform or inverse fast Fourier transform, through the use of periodicity of a complex exponential function, and therefore, it is possible to reduce quantity of arithmetic operation in a complex exponential modulation filter bank.
The signal analyzing method and signal synthesizing method of the invention handle a real number part and an imaginary part as a complex number without separating them, and therefore, by setting up phase for signal analysis or phase for signal synthesis in such a manner that quantity of arithmetic operation becomes small, it is possible to further reduce quantity of arithmetic operation.
According to the invention, it is possible to reduce quantity of arithmetic operation at the time of complex exponential modulation filter bank execution. Therefore, it is possible to reduce operation clock frequency when a filter bank is implemented in a digital signal processor and LSI, and it is possible to realize a complex exponential modulation filter bank with low electric power consumption. It is also possible to reduce processing time when a complex exponential modulation filter bank is executed by software, using a computer, and it is possible to realize speeding-up of processing.
A signal analyzing method of a complex exponential modulation filter bank of the invention makes up-sampling of a signal with sampling frequency fs by K times (K is a divisor of number of bands M and a positive integer including 1), and divides it into M complex band signals with equal bandwidth and sampling frequency fsK/M. A signal synthesizing method of a complex exponential modulation filter bank of the invention synthesizes M complex band signals with equal bandwidth and sampling frequency fsK/M, and makes down-sampling to 1/L times (L is a divisor of M and a positive integer including 1), and outputs a signal with sampling frequency fsK/L. The complex exponential modulation filter bank is configured by applying complex exponential modulation to a prototype filter. In the following embodiments, it is assumed that filter order of a linear phase non-recursive type prototype filter is N, and filter coefficient is h(n)(0≦n≦N), and values of first and last filter coefficients are set to zero (h(0)=h(N)=0).
Embodiments of the invention will be hereinafter described with reference to the drawings.
In step 101, a first intermediate signal is calculated from an input signal. Assuming that an input signal at sampling time n is x(n), a first intermediate signal w1(n)(0≦n≦2M/K−1) is calculated by (formula 11) from the input signal.
Step 101 is identical to step 1301 in the conventional example of
c(n)=(−1)INT(n/2M)h(n) (0≦n≦N−1) (formula 12)
Therefore, the number of real number addition, which is necessary for executing step 101, is (N/2M−1)(2M/K)=N/K−2M/K times, and the number of real number multiplication is (N/2M)(2M/K)=N/K times.
In step 102, a second intermediate signal w2(n)(0≦n≦M/K−1) is calculated from the first intermediate signal by (formula 14)(j is imaginary unit).
w2(n)=(w1(n)−jw1(n+M/K))K exp(−jπnK/(2M)) (0≦n≦M/K−1) (formula 14)
Here, assuming that K exp(−jπnK/(2M)) is stored in a table and used, 1 time multiplication of complex numbers (complex multiplication) can be executed by 2 times of real number addition and 4 times of real number multiplication, and therefore, the number of real number addition, which is necessary for executing step 102, is 2M/K times, and the number of real number multiplication is 4M/K times.
In step 103, a third intermediate signal W3(k)(0≦k≦M/K−1) is calculated from the second intermediate signal by fast Fourier transform (FFT) through the use of (formula 15).
In FFT at M/K points, butterfly operations with (M/(2k)) log2(M/K) times are needed. 1 time butterfly operation includes 2 times of complex addition and 1 time of complex multiplication, and therefore, if this is converted into real number operation, 6 times of real number addition and 4 times of real number multiplication are needed. Therefore, the number of real number addition, which is necessary for executing step 103, is (3M/K)log2(M/K) times, and the number of real number multiplication is (2M/K)log2(M/K) times.
In step 104, complex band output signal X(k, mM/K) at sampling time mM/K in k-th band (0≦k≦M/K−1) is calculated from the third intermediate signal by (formula 16)(* is conjugate complex number, and A is phase for signal analysis) in case that k is an even number (k=2i), and in case that k is an odd number (k=2l+1), it is calculated by (formula 17).
X(2l,mM/K)=W3*(l)exp(jπ(4l+1)A/(4M)) (0≦l≦M/(2K)−1) (formula 16)
X(2l+1,mM/K)=W3(M/K−1−l)exp(jπ(4l+3)A/(4M)) (0≦l≦M/(2K)−1) (formula 17)
Since up-sampling with K times is applied to the input signal, an effective band of the complex band output signal is from 0-th band up to (M/K−1)-th band, and the complex band output signal in M/K-th band or above is zero.
In order to execute step 104, complex multiplication with M/K times is necessary, and therefore, real number addition with 2M/K times and real number multiplication with 4M/K times are necessary.
Therefore, if the number of arithmetic operation necessary for executing embodiment 1 of
An operation of embodiment 1 will be further described.
If (formula 14) is substituted for (formula 15) to transform the formula, (formula 18) is realized. A final formula in (formula 18) is substituted for (formula 16), (formula 19) is realized.
(Formula 19) is coincident with such a formula that w is substituted for w1 in (formula 4) and k=2i is set up. In the same manner, it is possible to explain that (formula 17) is coincident with such a formula that w is substituted for w1 in (formula 4) and k=2l+1 is set up. Therefore, embodiment 1 can calculate an identical result to the conventional example of
In
As above, in the signal analyzing method of the complex exponential modulation filter bank in embodiment 1, it is possible to reduce quantity of arithmetic operation necessary for execution of a complex exponential modulation signal analysis filter bank, by effectively applying fast Fourier transform through the use of periodicity of a complex exponential function. By this, it is possible to reduce operation clock frequency at the time of implementing a complex exponential modulation signal analysis filter bank in a digital signal processor and LSI, and it is possible to realize a complex exponential modulation signal analysis filter bank with low electric power consumption. It is also possible to shorten processing time at the time of realizing a complex exponential modulation signal analysis filter bank by software, using a computer, and it is possible to realize speeding-up of processing.
Embodiment 2 is such a thing that phase A for signal analysis in embodiment 1 was set up to 8MP (P is arbitrary integer).
Steps 301, 302 and 303 of
In step 304, complex band output signal X(k, mM/K) at sampling time mM/K in k-th band (0≦k≦M/K−1) is calculated from the third intermediate signal by (formula 20) in case that k is an even number (K=2l), and by (formula 21) in case that k is an odd number (k=2l+1).
X(2l,mM/K)=W3*(l) (0≦l≦M/(2K)−1) (formula 20)
X(2l+1,mM/K)=W3(M/K−1−l) (0≦l≦M/(2K)−1) (formula 21)
In order to execute step 104 of
Therefore, if the number of arithmetic operation necessary for executing embodiment 2 of
As above, in the signal analyzing method of the complex exponential modulation filter bank of embodiment 2, it is possible to further reduce quantity of arithmetic operation as compared with embodiment 1, by setting up the phase for signal analysis to a specific value.
Meanwhile, in embodiment 2, phase A for signal analysis is set up to 8MP, but phase A of a signal may be set up to any one of the following (condition 2), (condition 3) and (condition 4).
A=8MP (condition 1)
A=2M+8MP (condition 2)
A=4M+8MP (condition 3)
A=6M+8MP (condition 4)
Even in case that phase A for signal analysis was set up to any one of (condition 2), (condition 3) and (condition 4), complex multiplication becomes unnecessary in a step of calculating a complex band output signal from the third intermediate signal, and it is possible to reduce quantity of arithmetic operation as compared with embodiment 1.
(Condition 2) is of such a case that phase A for signal analysis was set up to 2M+8MP, and when k is an even number (k=2l), a complex band output signal is calculated by (formula 22), and when k is an odd number (k=2l+1), the complex band output signal is calculated by (formula 23).
X(2l,mM/K)=jW3*(l) (0≦l≦M/(2K)−1) (formula 22)
X(2l+1,mM/K)=−jW3(M/K−1−l) (0≦l≦M/(2K)−1) (formula 23)
To multiply with imaginary unit j in (formula 22) means to make a real number part as an imaginary part, and also, a sign of the imaginary part is inverted to be made as the real number part, so that multiplication is unnecessary. In the same manner, to multiply with −j in (formula 23) means to invert a sign of a real number part to be made as an imaginary part, and to make the imaginary part to the real number part, so that multiplication is unnecessary.
(Condition 3) is of such a case that phase A for signal analysis was set up to 4M+8MP, and when k is an even number (k=2l), a complex band output signal is calculated by (formula 24), and when k is an odd number (k=2l+1), the complex band output signal is calculated by (formula 25).
X(2l,mM/K)=−W3*(l) (0≦l≦M/(2K)−1) (formula 24)
X(2l+1,mM/K)=−W3(M/K−1−l) (0≦l≦M/(2K)−1) (formula 25)
(Condition 4) is of such a case that phase A for signal analysis was set up to 6M+8MP, and when k is an even number (k=2l), a complex band output signal is calculated by (formula 26), and when k is an odd number (k=2l+1), the complex band output signal is calculated by (formula 27).
X(2l,mM/K)=−jW3*(l) (0≦l≦M/(2K)−1) (formula 26)
X(2l+1,mM/K)=jW3(M/K−1−l) (0≦l≦M/(2K)−1) (formula 27)
As above, in the signal analyzing method of the complex exponential modulation filter bank of embodiment 2, it is possible to further reduce quantity of arithmetic operation as compared with embodiment 1, by setting up phase for signal analysis in such a manner that there occurs no multiplication in a step of calculating the complex band output signal from the third intermediate signal.
In step 402, second intermediate signal w2(n)(0≦n≦M/K−1) is calculated from the first intermediate signal by (formula 28).
w2(n)=(w1(n)+jw1(n+M/K))K exp(πnK/(2M)) (0≦n≦M/K−1) (formula 28)
Here, assuming that Kexp(jπnK/(2M)) is stored in a table and used, the number of complex multiplication necessary for executing step 402 is M/K times. If this is converted into real number operation, the number of real number addition is 2M/K times, and the number of real number multiplication is 4M/K times.
In step 403, third intermediate signal W3(k) (0≦k≦M/K−1) is calculated from the second intermediate signal with inverse fast Fourier transform by (formula 29).
IFFT at M/K points requires butterfly operations with (M/(2K))log2(M/K) times in the same manner as in FFT. Therefore, the number of real number addition necessary for executing step 403 is (3M/K)log2(M/K) times, and the number of real number multiplication is (2M/K)log2(M/K) times.
In step 404, a complex band output signal X(k, mM/K) at sampling time mM/K in k-th band (0≦k≦M/K−1) is calculated from the third intermediate signal by (formula 30) (A is phase for signal analysis) when k is an even number (k=2l), and by (formula 31) when k is an odd number (k=2l+1).
X(2l,mM/K)=W3(l)exp(jπ(4l+1)A/(4M)) (0≦l≦M/(2K)−1) (formula 30)
X(2l+1,mM/K)=W3*(M/K−1−l)exp(jπ(4l+3)A/(4M)) (0≦l≦M/(2K)−1) (formula 31)
In order to execute step 404, complex multiplication by M/K times is necessary, and therefore, real number addition by 2M/K times and real number multiplication by 4M/K times are necessary.
Therefore, if the number of arithmetic operation necessary for executing embodiment 3 of
It is possible to explain that steps 402, 403 and 404 in embodiment 3 can output identical result to step 1302 in
As above, in the signal analyzing method of the complex exponential modulation filter bank in embodiment 3, it is possible to reduce quantity of arithmetic operation necessary for execution of a complex exponential modulation signal analysis filter bank, by effectively applying inverse fast Fourier transform through the use of periodicity of a complex exponential function. By this, it is possible to reduce operation clock frequency at the time of implementing the complex exponential modulation signal analysis filter bank in a digital signal processor and LSI, and it is possible to realize the complex exponential modulation signal analysis filter bank with low electric power consumption. It is also possible to shorten processing time at the time of realizing the complex exponential modulation signal analysis filter bank by software, using a computer, and it is possible to realize speeding-up of processing.
Embodiment 4 is of such a thing that phase A for signal analysis was set up to 8MP (P is an arbitrary integer) in embodiment 3.
Steps 501, 502 and 503 of
In step 504, complex band output signal X (k, mM/K) at sampling time mM/K in k-th band (0≦k≦M/K−1) is calculated from the third intermediate signal by (formula 32) when k is an even number (k=2l), and by (formula 33) when k is an odd number (k=2l+1).
X(2l,mM/K)=W3(l) (0≦l≦M/(2K)−1) (formula 32)
X(2l+1,mM/K)=W3*(M/K−1−l) (0≦l≦M/(2K)−1) (formula 33)
In order to execute step 404 of
Therefore, if the number of arithmetic operation necessary for executing embodiment 4 of
As above, in the signal analyzing method of the complex exponential modulation filter bank of embodiment 4, it is possible to further reduce quantity of arithmetic operation as compared with embodiment 3, by setting up the phase for signal analysis to a specific value.
Meanwhile, in embodiment 4, phase A for signal analysis was set up to 8 MP, but phase A of a signal may be set up to any one of the following (condition 2), (condition 3) and (condition 4).
A=8MP (condition 1)
A=2M+8MP (condition 2)
A=4M+8MP (condition 3)
A=6M+8MP (condition 4)
Even in case that phase A for signal analysis was set up to any one of (condition 2), (condition 3) and (condition 4), complex multiplication becomes unnecessary in a step of calculating a complex band output signal from the third intermediate signal, and it is possible to reduce quantity of arithmetic operation as compared with embodiment 3.
(Condition 2) is of such a case that phase A for signal analysis was set up to 2M+8MP, and when k is an even number (k=2l), a complex band output signal is calculated by (formula 34), and when k is an odd number (k=2l+1), the complex band output signal is calculated by (formula 35).
X(2l,mM/K)=jW3(l) (0≦l≦M/(2K)−1) (formula 34)
X(2l+1,mM/K)=−jW3*(M/K−1−l) (0≦l≦M/(2K)−1) (formula 35)
To multiply with imaginary unit j in (formula 34) means to make a real number part as an imaginary part, and also, a sign of the imaginary part is inverted to be made as the real number part, so that multiplication is unnecessary. In the same manner, to multiply with −j in (formula 35) means to invert a sign of a real number part to be made as an imaginary part, and to make the imaginary part to the real number part, so that multiplication is unnecessary.
(Condition 3) is of such a case that phase A for signal analysis was set up to 4M+8MP, and when k is an even number (k=2i), a complex band output signal is calculated by (formula 36), and when k is an odd number (k=2l+1), the complex band output signal is calculated by (formula 37).
X(2l,mM/K)=−W3(l) (0≦l≦M/(2K)−1) (formula 36)
X(2l+1,mM/K)=−W3*(M/K−1−l) (0≦l≦M/(2K)−1) (formula 37)
(Condition 4) is of such a case that phase A for signal analysis was set up to 6M+8MP, and when k is an even number (k=2i), a complex band output signal is calculated by (formula 38), and when k is an odd number (k=2l+1), the complex band output signal is calculated by (formula 39).
X(2l,mM/K)=−jW3(l) (0≦l≦M/(2K)−1) (formula 38)
X(2l+1,mM/K)=jW3*(M/K−1−l) (0≦l≦M/(2K)−1) (formula 39)
As above, in the signal analyzing method of the complex exponential modulation filter bank of embodiment 4, it is possible to further reduce quantity of arithmetic operation as compared with embodiment 3, by setting up phase for signal analysis in such a manner that there occurs no multiplication in a step of calculating the complex band output signal from the third intermediate signal.
In step 601, a first intermediate signal is calculated from a complex band input signal. Assuming that a complex band input signal at sampling time mM/K in k-th band is set to X(k, mM/K), first intermediate signal W1(k) is calculated from the complex band input signal by (formula 40) of 0≦k≦M/(2L)−1, and calculated by (formula 41) of M/(2L)≦k≦M/L−1.
W1(k)=X*(2k,mM/K)exp(−jπkB/M) (0≦k≦M/(2L)−1) (formula 40)
W1(k)=X(2M/L−1−2k,mM/K)exp(jπB(1/L−k/M)) (M/(2L)≦k≦M/L−1) (formula 41)
B designates a phase for signal synthesis, and satisfies a relation formula of (formula 42) (P is an arbitrary integer) with phase A for signal analysis.
A+B+2N=8MP (formula 42)
Here, assuming that exp(−jπkB/M) and exp(−jπB(1/L−k/M)) are stored in a table and used, in order to execute step 601, complex multiplication by M/L times is necessary, and if this is converted into real number operation, real number addition by 2M/L times and real number multiplication by 4M/L times are necessary.
In step 602, second intermediate signal w2(n) (0≦n≦M/L−1) is calculated from the first intermediate signal by fast Fourier transform through the use of (formula 43).
In step 602, the number of real number addition necessary for executing FFT at M/L point is (3M/L)log2(M/L) times, and the number of real number multiplication is (2M/L)log2(M/L) times.
In step 603, third intermediate signal w3(n) of 0≦n≦2(N−M)/L−1 is shifted to w3(n+2M/L), and then, third intermediate signals w3(n) and w3(n+M/L) of 0≦n≦M/L are calculated from the second intermediate signal by (formula 44) (Re(x) is an real part of a complex number x, and Im(x) is an imaginary part of x).
w3(n)=Re{w2(n)(1/M)exp(−jπ(2Ln+B)/(4M))}
w3(n+M/L)=Im{w2(n)(1/M)exp(−jπ(2Ln+B)/(4M))} (0≦n≦M/L−1) (formula 44)
In step 603, assuming that (1/M)exp(−jπ(2Ln+B)/(4M)) is stored in a table and used, in order to execute step 603, complex multiplication by M/L times is necessary, and if this is converted into real number operation, real number addition by M/L times and real number multiplication by 4M/L times are necessary.
In step 604, an output signal x(mM/K+nL/K) at sampling time mM/K+nL/K(0≦n≦M/L−1) is calculated from the third intermediate signal by (formula 45).
Step 604 is identical to step 1402 in the conventional example of
Assuming that c(n), which was calculated by (formula 46) in advance, is stored in a table and used, in lieu of h(n), (formula 45) becomes (formula 47).
c(n)=(−1)INT(n/2M)h(n) (0≦n≦N−1) (formula 46)
Therefore, the number of real number addition necessary for executing step 604 is (N/M−1)(M/L)=N/L−M/L times, and the number of real number multiplication is (N/2M)2(M/L)=N/L times.
If the number of arithmetic operation necessary for executing embodiment 5 of
An operation of embodiment 5 will be further described.
If (formula 40) and (formula 41) are substituted for (formula 43) to transform the formula, (formula 48) is realized. If (formula 48) is substituted for an upper formula of (formula 44) to transform the formula, (formula 49) is realized.
A final formula of (Formula 49) is coincident with such a formula that w is substituted for w3 in (formula 9) and a range of a value of n is set to 0≦n≦M/L−1.
In the same manner, if (formula 48) is substituted for a lower formula of (formula 44) to transform the formula, (formula 50) is realized.
A final formula of (Formula 50) is coincident with such a formula that a range of a value of n is set to M/L≦1≦2M/L−1 and n is set to n+M/L, and w is substituted for w3 in (formula 9). Therefore, embodiment 5 can work out an identical result to the conventional example of
As above, in the signal synthesizing method of the complex exponential modulation filter bank in embodiment 5, it is possible to reduce quantity of arithmetic operation necessary for execution of a complex exponential modulation signal synthesis filter bank, by effectively applying fast Fourier transform through the use of periodicity of a complex exponential function. By this, it is possible to reduce operation clock frequency at the time of implementing the complex exponential modulation signal synthesis filter bank in a digital signal processor and LSI, and it is possible to realize the complex exponential modulation signal synthesis filter bank with low electric power consumption. It is also possible to shorten processing time at the time of realizing the complex exponential modulation signal synthesis filter bank by software, using a computer, and it is possible to realize speeding-up of processing.
Meanwhile, in embodiment 5, constant number 1/M was multiplied in step 603, but this maybe modified in such a manner that it is multiplied in another step, e.g., in step 602.
Embodiment 6 is of such a thing that phase B for signal synthesis was set up to ML in embodiment 5.
Steps 802 and 804 of
In step 801, a first intermediate signal is calculated from a complex band input signal. Assuming that a complex band input signal at sampling time mM/K in k-th band is set to X(k, mM/K), first intermediate signal W1(k) is calculated from the complex band input signal by (formula 51) of 0≦k≦M/(2L)−1, and calculated by (formula 52) of M/(2L)≦k≦M/L−1.
W1(k)=X*(2k,mM/K) (0≦k≦M/(2L)−1) (formula 51)
W1(k)=X(2M/L−1−2k,mM/K) (M/(2L)≦k≦M/L−1) (formula 52)
In order to execute step 601 of
In step 803, third intermediate signal w3(n) of 0≦n≦2(N−M)/L−1 is shifted to w3(n+2M/L), and then, third intermediate signals w3(n) and w3(n+M/L) of 0≦n≦M/L are calculated from the second intermediate signal by (formula 53).
w3(n)=Re{w2(n)(1/M)exp(−jπL(n+M)/(2M))}
w3(n+M/L)=Im{w2(n)(1/M)exp(−jπL(n+M)/(2M))} (0≦n≦M/L−1) (formula 53)
In step 803, assuming that (1/M)exp(−jπL(n+M)/(2M)) is stored in a table and used, in order to execute step 803, complex multiplication by M/L times is necessary, and if this is converted into real number operation, real number addition by 2M/L times and real number multiplication by 4M/L times are necessary. This number of arithmetic operation is identical to step 603 of
Therefore, if the number of arithmetic operation necessary for executing embodiment 6 of
As above, in the signal synthesizing method of the complex exponential modulation filter bank in embodiment 6, it is possible to further reduce quantity of arithmetic operation as compared with embodiment 5, by setting up the phase for signal synthesis in such a manner that there occurs no multiplication in a step of calculating the first intermediate signal from the complex band input signal.
In step 901, a first intermediate signal is calculated from a complex band signal. Assuming that the complex band input signal at sampling time mM/K in k-th band is set to X(k, mM/K), first intermediate signal W1(k) is calculated from the complex band input signal by (formula 54) of 0≦k≦M/(2L)−1, and calculated by (formula 55) of M/(2L)≦k≦M/L−1. Here, B designates a phase for signal synthesis, and satisfies a relation formula of (formula 42) with phase A for signal analysis.
W1(k)=X(2k,mM/K)exp(jπkB/M) (0≦k≦M/(2L)−1) (formula 54)
W1(k)=X*(2M/L−1−2k,mM/K)exp(jπB(k/M−1/L)) (M/(2L)≦k≦M/L−1) (formula 55)
Assuming that exp(jπkB/M) and exp(jπB(k/M)−1/L) are stored in a table and used, in order to execute step 901, the number of complex multiplication by M/K times is necessary, and if this is converted into real number operation, the number of real number addition by 2M/L times, and the number of real number multiplication by 4M/L times are necessary.
In step 902, second intermediate signal W2(n)(0≦n≦M/L−1) is calculated from the first intermediate signal with inverse fast Fourier transform by (formula 56).
In step 902, the number of real number addition necessary for executing IFFT at M/L point is (3M/L)log2(M/L) times, and the number of real number multiplication is (2M/L)log2(M/L) times.
In step 903, third intermediate signal w3(n) of 0≦n≦2(N−M)/L−1 is shifted to w3(n+2M/L), and then, third intermediate signals w3(n) and w3(n+M/L) of 0≦n≦M/L are calculated from the second intermediate signal by (formula 57).
w3(n)=Re{w2(n)1/M)exp(jπ(2Ln+B)/(4M))}
w3(n+M/L)=−Im{w2(n)(1/M)exp(jπ(2Ln+B)/(4M))} (0≦n≦M/L−1) (formula 57)
In step 903, assuming that (1/M)exp(jπ(2Ln+B)/(4M)) is stored in a table and used, in order to execute step 903, complex multiplication by M/L times is necessary, and if this is converted into real number operation, real number addition by 2M/L times and real number multiplication by 4M/L times are necessary.
Therefore, if the number of arithmetic operation necessary for executing embodiment 7 of
It is possible to explain that steps 901, 902 and 903 in embodiment 7 can output identical result to step 1401 in
As above, in the signal synthesizing method of the complex exponential modulation filter bank in embodiment 7, it is possible to reduce quantity of arithmetic operation necessary for execution of a complex exponential modulation signal synthesis filter bank, by effectively applying inverse fast Fourier transform through the use of periodicity of a complex exponential function. By this, it is possible to reduce operation clock frequency at the time of implementing the complex exponential modulation signal synthesis filter bank in a digital signal processor and LSI, and it is possible to realize the complex exponential modulation signal synthesis filter bank with low electric power consumption. It is also possible to shorten processing time at the time of realizing the complex exponential modulation signal synthesis filter bank by software, using a computer, and it is possible to realize speeding-up of processing.
Embodiment 8 is of such a thing that phase B for signal synthesis was set up to ML in embodiment 7.
Steps 1002 and 1004 of
In step 1001, a first intermediate signal is calculated from a complex band input signal. Assuming that a complex band input signal at sampling time mM/K in k-th band is set to X(k, mM/K), first intermediate signal W1(k) is calculated from the complex band input signal by (formula 58) of 0≦k≦M/(2L)−1, and calculated by (formula 59) of M/(2L)≦k≦M/L−1.
W1(k)=X(2k,mM/K) (0≦k≦M/(2L)−1) (formula 58)
W1(k)=X*(2M/L−1−2k,mM/K) (M/(2L)≦k≦M/L−1) (formula 59)
In order to execute step 901 of
In step 1003, third intermediate signal w3(n) of 0≦n≦2(N−M)/L−1 is shifted to w3(n+2M/L), and then, third intermediate signals w3(n) and w3(n+M/L) of 0≦n≦M/L are calculated from the second intermediate signal by (formula 60)
w3(n)=Re{w2(n)(1/M)exp(jπL(n+M)/(2M))}
w3(n+M/L)=−Im{w2(n)(1/M)exp(jπL(n+M)/(2M))} (0≦n≦M/L−1) (formula 60)
In step 1003, assuming that (1/M)exp(jπL(n+M)/(2M)) is stored in a table and used, in order to execute step 1003, complex multiplication by M/L times is necessary, and if this is converted into real number operation, real number addition by 2M/L times and real number multiplication by 4M/L times are necessary. This result of arithmetic operation is identical to step 903 of
Therefore, if the number of arithmetic operation necessary for executing embodiment 8 of
As above, the signal synthesizing method of the complex exponential modulation filter bank of embodiment 8 sets up the phase for signal synthesis in such a manner that there occurs no multiplication in a step of calculating the first intermediate signal from the complex band input signal. By doing this, it is possible to further reduce quantity of arithmetic operation, as compared with embodiment 7.
Steps 1102 and 1104 of
In step 1101, a first intermediate signal is calculated from a complex band input signal. Assuming that the complex band input signal at sampling time mM/K in k-th band is set to X(k, mM/K), first intermediate signal W1(k) is calculated from the complex band input signal by (formula 61) of 0≦k≦M/(2L)−1, and calculated by (formula 62) of M/(2L)≦k≦M/L−1.
W1(k)=X*(2l,mM/K)exp(−jπB(4k+1)/(4M)) (0≦k≦M/(2L)−1) (formula 61)
W1(k)=X(2M/L−1−2k,mM/K)exp(jπB(1/L−(4k+1)/(4M))) (M/(2L)≦k≦M/L−1) (formula 62)
By comparing (formula 61) and (formula 40) with (formula 62) and (formula 41), it is found out that step 1101 is of such a thing that exp(−jπB/(4M)) was multiplied with step 601.
In step 1103, third intermediate signal w3(n) of 0≦n≦2(N−M)/L−1 is shifted to w3(n+2M/L), and then, third intermediate signals w3(n) and w3(n+M/L) of 0≦n≦M/L are calculated from the second intermediate signal by (formula 63).
w3(n)=Re{w2(n)(1/M)exp(−jπLn/(2M))}
w3(n+M/L)=Im{w2(n)(1/M)exp(−jπLn/(2M))} (0≦n≦M/L−1) (formula 63)
By comparing (formula 63) with (formula 44), it is found out that step 1103 is of such a thing that exp(jπB/(4M)) was multiplied with step 603.
Embodiment 9 of
Meanwhile, in the above-described each embodiment, it may be all right even if the step is transformed in such a manner that a constant number is multiplied in a former step, and an inverse number of the constant number is multiplied in a latter step, in the same manner.
Meanwhile, the signal analyzing and signal synthesizing method in the above-described each embodiment can be realized as a program for having a computer or a digital signal processor execute it, and this may be recorded on a computer readable recording medium.
As above, a signal analyzing and signal synthesizing method of a complex exponential modulation filter bank which relates to the invention is useful as high efficiency coding of audio signals and image signals and a signal analyzing and signal synthesizing method for a digital equalizer etc., and in particular, suitable for realizing a complex exponential modulation filter bank with low electric power consumption or high speed, by reducing quantity of arithmetic operation.
Number | Date | Country | Kind |
---|---|---|---|
2003-383535 | Nov 2003 | JP | national |
Number | Name | Date | Kind |
---|---|---|---|
6690717 | Kim et al. | Feb 2004 | B1 |
6856653 | Taniguchi et al. | Feb 2005 | B1 |
6952446 | Tsui et al. | Oct 2005 | B1 |
7043512 | Lee et al. | May 2006 | B2 |
7290021 | Gray | Oct 2007 | B2 |
20040042557 | Kabel et al. | Mar 2004 | A1 |
Number | Date | Country |
---|---|---|
WO 02080362 | Oct 2002 | WO |
Number | Date | Country | |
---|---|---|---|
20050108002 A1 | May 2005 | US |