METHOD AND APPARATUS FOR CONVERTING AN ANALOG SIGNAL TO A DIGITAL SIGNAL USING AN OVERSAMPLING TECHNIQUE

Abstract: An analogue signal on terminal (1) is sampled by a sampler (11) operating at a rate in excess of Nyquist rate. A locally decoded signal is subtracted in a subtracter (12) to produce an error signal which may be integrated (13) and again have the locally decoded signal subtracted (14) to provide a difference signal to a two-level quantizer (15). The output of the quantizer is integrated by an integrator (16) to provide the locally decoded signal. A Nyquist rate digital signal is provided not from the output of the integrator (16) but by way of another integrator (23) preceded by a sampling frequency converter (22) which converts the output of the quantizer (15) down to an intermediate frequency for digital filtering (20) and re-sampling (21) at Nyquist rate.

Description: This invention relates to an oversampled analog-to-digital (A/D) converting method and apparatus capable of achieving precise coding. Oversampled coders sample an analog signal at a higher frequency than the Nyquist frequency, quantize the sampled signal, and perform the bandlimitation and reduction of the sampling frequency to produce a coded output. For details of the oversampled coder, reference is made to an article by Stuart K. Tewksbury et al., entitled "Oversampled, Linear Predictive and Noise-Shaping Coders of Order N > 1'', published in the IEEE Transactions On Circuits And Systems, Vol. CAS-25, No. 7, July issue, 1978, pp. 436 - 447. Since the above-mentioned oversampled coder may be composed of only digital circuits with exception of a low resolution digital-to-analog (D/A) converter and an integrator, the coder is suitable for a large scale integration circuit (LSI). With a view to minimizing the whole device as well as to lowering power consumption and the manufacturing cost of the device, it is necessary not only to simplify the analog structural elements used but also to reduce the number of operations per unit time in the digital structural elements used. For this purpose, it is desirable that simple operations are performed at a high sampling frequency, while complicated ones, at a low sampling frequency. SUMMARY OF THE INVENTION It is, therefore, an object of the invention to provide a method and apparatus for A/D conversion using an oversampling technique to achieve high precision linear coding. It is another object of the invention to provide a method and apparatus for A/D conversion enabling a digital circuit operable at a high frequency to be simplified. It is still another object of the invention to provide a method and apparatus for A/D conversion suitable for LSI's. According to one aspect of the invention, there is provided an oversampled A/D converting method comprising the steps of: oversampling an input analog signal at a first frequency higher than the Nyquist frequency to produce a sampled signal; subtracting a local decoded signal from the sampled signal; quantizing the subtracted signal into a quantized binary signal; generating said local decoded signal by integrating the quantized binary signal; converting the quantized binary signal having the first frequency into a frequency-reduced signal having a second frequency the converting step including the steps of generating a plurality of coefficient groups each of which as a plurality of coefficients, processing the coefficients to produce a processed result for every coefficient, and accumulating the processed results to produce an accumulated result for every group; and integrating the frequency-reduced signal at the second frequency to produce a converted digital signal, characterised in that: in the converting step, the processing step comprises performing an addition or a subtraction of each coefficient to or from an accumulated result in response to said quantised binary signal, and the accumulating step comprises delaying the accumulated result produced by the processing step and supplying said delayed result as an input to the processing step to which a coefficient is to be added to or subtracted from, and periodically switching the accumulated result to an output to provide the second frequency reduced signal. According to the invention, there is also provided an oversampled A/D converter comprising: means for sampling an input analog signal at a first frequency higher than the Nyquist frequency to produce a sampled signal; a subtracter for subtracting a local decoded signal from the sampled signal; a quantiser for quantising the output of the subtracter to produce a quantised binary signal; means for integrating the quantised binary signal to generate the local decoded signal; a converting means for converting the quantised binary signal having the first frequency into a frequency-reduced signal having a second frequency the converting means comprising coefficient generating means for generating a plurality of coefficient groups each of which has a plurality of coefficients, processing means receiving the coefficients at respective first inputs and producing a processed result for every coefficient, and accumulating means producing an accumulated result for every group; and an integrator for integrating the frequency-reduced signal at the second frequency to produce a converted digital signal characterised in that in the said converting means: the processing means comprises means responsive to said quantised binary signal to perform an addition or a subtraction of each coefficient to or from an accumulated result, and the accumulating means comprises the processing means, register means for delaying the output of the processing means, and means for selectively supplying the accumulated result either to a second input of the processing means or to an output supplying the second frequency reduced signal, comprised by the accumulated result, to the integrating means. BRIEF DESCRIPTION OF THE DRAWING The invention will be described more in detail with reference to the accompanying drawings: Fig. 1 is a block diagram showing a prior art oversampled A/D converter; Figs. 2A through 2F are waveform diagrams for describing the operation of the converter shown in Fig. 1; Fig. 3 is a block diagram of an embodiment of the invention; Fig. 4 is a block diagram showing a sampling frequency converter used in the embodiment; Figs. 5 and 6 are digital filters used in the invention; Figs. 7 and 9 are circuit diagrams showing the detailed structures of the sampling frequency converter; and Figs. 8A through 8L and Figs. 10A through 10I are time charts for describing the operation of the sampling frequency converters shown in Figs. 7 and 9. Like reference numerals denote like structural elements. DESCRIPTION OF THE PRIOR ART For easier understanding of the invention, a prior art oversampled A/D converter (referred to as an oversampled coder) will be described with reference to Fig. 1 and Figs. 2A to 2F. Referring to those drawings, an input analog signal applied to an input terminal 1 is assumed to have a frequency band of about f B (Hz) as shown in Fig. 2A. The input signal is converted into a sampled signal by a sampling switch 11 which operates at a higher sampling frequency f H than the Niquist sampling frequency, 2f B . A subtracter 12 subtracts a local decoded analog signal from the sampled signal to produce an error signal. The error signal is integrated by a noise-shaping integrator 13 to produce an integrated signal. Another subtracter 14 subtracts the local decoded signal from the integrated signal to supply the difference to a two level quantizer 15. The quantizer 15 discriminates a sign of the output of the subtracter 14 and produces +Δ or -Δ based on the discriminated positive or negative sign. A predictive integrator 16 integrates the quantized output to produce a local decoded digital signal (Fig. 2B), which is converted into a local decoded analog signal by a D/A converter 17. Assuming that a sampling interval T = 1/f H and Z = exp(sT), the integrators 13 and 16 have, in Z plane, system functions represented by 1/(1 - z⁻¹) and z⁻¹/(1 - z⁻¹), respectively. The integrator 13 or 16 can be realized with an adder 131 or 161 and a delay circuit 132 or 162 having one sample delay. The coded signal having the sampling frequency f H given from the integrator 16 is then converted into a signal having the Nyquist sampling frequency f s (= 2 x f B ). In the oversampled coder shown in Fig. 1, the sampling frequency f H is reduced to the sampling frequency f s through the intermediate sampling frequency f M . It is noted that f M is defined as f H > f M > f s , and that f H /f M = M and f M /f s = N are chosen to be integnal numbers. A digital FIR filter 18 is used to eliminate the quantization noise around a frequency integral multiple of the frequency f M prior to the sampling frequency reduction. The filter 18 is preferred to have the characteristic shown in Fig. 2C. When the output of the filter 18 is resampled at the frequency f M by the sampling switch 19, the spectrum repeated at the frequency f M is obtained as shown in Fig. 2D. A digital IIR filter 20 is a low-pass filter with the frequency band about f B operable at the sampling frequency f M and has the frequency characteristic shown in Fig. 2E. The filter 20 is combined with the filter 18 so that the inband frequency characteristic is flat. By passing through the filter 20, the quantization noise and the frequency components of the less than f M - f B (Hz) are suppressed sufficiently. The output of the filter 20 is then resampled by the sampling switch 21 to produce the signal with the sampling frequency f s (Fig. 2F). In the oversampled coder of Fig. 1, the predictive integrator 16 and filter 18 perform a high-speed operation. The integrator 16 which merely accumulates the output (±Δ) of the quantizer 15, may consist of an up-down counter or a reversible counter. On the other hand, the digital FIR filter 18 having a complicated circuit structure may be composed of an accumulator which repeatedly performs the addition M (= f H /f M ) times to avoid such a complicated operation. This means that a digital filter has M coefficients, each of which is assumed to be "1". In the construction like this, however, the attenuation of the frequency about integral multiples of f M (Hz) is not always sufficient, and the quantization noise involved in the signal band becomes large due to the reduced sampling frequency. The invention solves the above-mentioned problems by supplying a binary signal to the digital FIR filter, thereby making the multiplication required in the digital FIR filter unnecessary. The principle of the invention will be described in detail. When W(z) represents the z-transform of the output signal of the quantizer 15, W(z) is expressed as follows: W(z) = (1 - z⁻¹)x(z) + (1 - z⁻¹)²Q(z) For obtaining X(z) from the equation, it is necessary to multiply X(z) by 1/(1 - z⁻¹) in the process of reducing the sampling frequency. In the present invention, the operation of 1/(1 - z⁻¹) is transformed as follows: The numerator on the right side of the equation (1) indicates a polynomial in respect to z⁻¹ and a transfer function of an M-tap digital FIR filter operable at the sampling frequency f H . On the other hand, the denominator on the right side represents a polynomial as to z -M , and the operation of 1/(1 - z -M ) is equal to the transfer function of the integrator having a sampling frequency of f H /M = f M . Accordingly, the operation of 1/(1 - z -M ) can be executed after the sampling frequency f H has been reduced to the frequency f M . Furthermore, the numerator on the right side may be incorporated with the transfer function of the filter 18 to develop a single digital FIR filter. If the number of taps of the filter 18 is (L + 1), the incorporation of the filter 18 with the numerator of the right term of equation (1) corresponding to the M-tap filter gives a synthetic digital FIR filter having (M + L) taps. Thus, when the synthetic FIR filter decreases the sampling frequency from f H to f M and an integrator operable at the low frequency f M performs the operation of 1/(1 - z -M ), an A/D converted signal is obtained. The number of tab (M + L) of the synthetic filter is chosen to be an integral multiple of the reduction ratio f H /f M = M. Herein the number of taps, (M + L), may include a tap having a coefficient of value = 0 and it may be an end tap. Assuming that the synthetic filter having (M + L) taps has coefficients h(0), h(1), ...., and h(M + L - 1), an input signal sequence is x(n), and filter output is y(n), the output y(n) is given by the following equation: Since the filter output is decimated by M, the output y(n) is calculated at intervals of M: y(0), y(M), y(2M), ...., and y(mM). Using mM = M + L, both y(0) and y(mM) are calculated by the same hardware. In other words, as understood from equation (2), the number of input samples necessary to yield y(0) is M + L, and they are x(-M - L + 1), x(-M - L + 2), ...., x(-1), and x(0), respectively. Likewise, input samples necessary to yield y(mM) are x(1), x(2), ...., and x(M + L), the number of samples being M + L. The two sample sequences are successive without overlapping. Accordingly, if there is provided a device for computing the equation (2), then the computation of y(0), y(mM), y(2mM), .... is executed by repeating the operation defined by the equation (2). Furthermore, it needs yielding serieses such as y(M), y(M + mM), y(M + 2mM), ...., and y(2M), y(2M + mM) ....; and thus it may be adequate that m devices in total are used and their outputs are summed up. As stated above, since x(n) is binary of ± Δ, under the assumption of Δ= 1, the calculation according to equation (2) is achieved by a simple accumulation. DESCRIPTION OF THE PREFERRED EMBODIMENTS Fig. 3 shows an embodiment of the invention in which reference numerals 1, 11, 12, 13, 14, 15, 16, 17, 20, 21, 131, 132, 161, and 162 designates components or elements corresponding to or having the same function as those designated by the same reference numerals in Fig. 1. In addition to these elements, the embodiment comprises a sampling frequencing converter 22 for converting the quantized binary signal having the sampling frequency f H given from the quantizer 15 into a frequency reduced signal having a sampling frequency f M , and an integrator for integrating the frequency reduced signal at the frequency f M . Referring to Fig. 4 showing the converter 22, the binary quantized signal from the quantizer 15 is supplied to delay circuits 221₁, 221₂, ...., and 221 J (J = M + L - 1). Since the quantized signal is binary +Δ or -Δ, if +Δ and -Δ are allocated "1" and "0", respectively, then each of the delay circuits can be realized by one bit flip flop. A sampling switch 222 takes out the (J + 1) bits from the delay circuits, in response to the sampling frequency f M supplied to a terminal 220, to produce a binary signal having the frequency f M . Coefficient circuits 223₀, 223₁, ...., and 223 J produce a coefficient h j or -h j (j = 0, 1, ..., J) in accordance with "0" or "1" of the output of the sampling switch 222. Adders 224₁, 224₂, ...., and 224 J summate outputs of all the coefficient circuits. It follows that the amount of operation necessary for the sampling frequency change is only J-times additions (subtractions) per 1/f M (seconds), thereby making the multiplication of the coefficients unnecessary. Also, each delay circuit made up of one bit flip flop contributes to achieving a remarkably simplified circuit structure. Referring back to Fig. 3, the output of the converter 22 is applied to the digital integrator 23. The integrator 23 comprises an adder 231, a delay circuit 232 having delay of 1/f M , and a multiplier 233 and executes the operation of 1/(1 - z -M ) in equation 1. The multiplier 233 performs the multiplication of a given input by "α" to bring the transfer function of the integrator 23 into 1/(1 -αz -M ). On assuming α = 1, the input signal given to the digital filter 20 is equal in the structures of Figs. 1 and 3. Generally, however, the value of α is preferred to be a little smaller than 1, because the value of α smaller than 1 reduces influence due to the initial value of the delay circuit 232 with passage of time. Assuming that α = 1 - 2 -m (m is integer) is established, the multiplication of α can be simply realized by a digit shift of a binary signal and the subtraction. Referring to Fig. 5 showing the digital FIR filter 18, the local decoded signal given from the integrator 16 is delayed by one sample in delay circuits 81₁, 81₂, ...., and 81 M . The signals taken out of the respective delay circuits are multiplied by filter coefficients h₀, h₁, ...., and h L in multipliers 82₀, 82₁, ...., and 82 L . The outputs of the multipliers are summed by adders 83₁, 83₂, ...., and 83 L . The summed result is sent to the sampling switch 19. The filter coefficients h₀, h₁, ...., and h L are derived from an impulse response of this filter, and Z-transform of the impulse response and the frequency characteristic are expressed as: Referring to Fig. 6, the filter 20 performs the operation determined with the following system function: where z -M represents a sampling period of 1/f M = M · (1/f H ). Multipliers 90₀, 91₁, and 91₂, a subtracter 92₁, an adder 92₂ and delay circuits 93₁ and 93₂ execute the operation of 1/(1 + b₁₁ z -M + b₂₁ z -2M ) in the system function H(z M ). Meanwhile, the operation of 1/(1 + a₁₁ z -M + a₂₁ z -2M ) is executed by multipliers 91₃, 91₄ and adders 92₃, 92₄. Referring to Fig. 7 showing a detail structure of the converter 22, the converter 22 comprises a counter 221, read only memories (ROM's) 222₁, 222₂ and 222₃, addition/subtraction units (ASU's) 223₁, 223₂ and 223₃, registers 225₁, 225₂ and 225₃ for delaying by one sampling time. The ROM 222₁ (i = 1, 2, 3) stores the filter coefficients of the (M + L) taps. The ASU 223 i , register 224 i and switch 225 i (i = 1, 2, 3) constitute an accumulator for accumulating the output of the ROM 222 i . Herein is shown an example consisting of three accumulaters under the assumption of (M + L) = 3 x M. Referring to Figs. 8A through 8L, the operation of the converter 22 shown in Fig. 7 will be described below. A clock pulse at f H (bits/second) (Fig. 8A) applied to a terminal 220 is subjected to (M + L) frequency division by a counter 221. Fig. 8B shows contents of the counter 221: 0, 1, 2, ...., and 17 when (M + L) is 18. The ROM's 222₁, 222₂ and 223₃ are addressed by the outputs of the counter 221 to produce filter coefficients h₁₇, h₁₆, h₁₅, ...., and h₀. The addresses of the ROM's are set to correspond with deviation of M(= 6) to the coefficients. More specifically, when the ROM 222₁ outputs the coefficient h₀, the ROM 222₂ outputs the coefficient h₆. Likewise, when the ROM 222₂ outputs the coefficient h₀, the ROM 222₃ outputs coefficient h₆. Furtherfore, when the ROM 222₃ outputs the coefficient h₀, the ROM 222₁ outputs the coefficient h₆. These relationship are shown in Figs. 8C to 8E. In these drawings, reference numerals represent the subscripts of the coefficients h k . The output of the ROM 222 i is added to or subtracted from the output of the register 224 i (Figs. 8F to 8H). As shown in Figs. 8C to 8H, when the ROM 222 i produces the coefficient h₁₇, the output of register 224 i is always "0". Whether the ASU's should perform addition or subtraction depends on the quantized output ±Δ from the quantizer 15. In the circuit shown in Fig. 7, the addition is represented by +Δ, while the subtraction, by -Δ. The output of the ASU 223 i is applied to the register 224 i through a switch 225 i . Figs. 8I through 8K exhibit the pattern of operation of the switches 225₁ to 225₃, in which digit "1" or "0" indicates the connection to the register 224 i or the integrator 23. Since the switch 225 i is connected to the integrator 23 upon the coefficient h₀ from the ROM 222 i , "0" is supplied to the register 224 i . Therefore, at the next time slot when the ROM 222 i outputs the coefficient h₁₇, "0" is output from the register 224 i . In this way, the ROM 222 i , ASU 223 i , register 224 i and switch 225 i perform the operation expressed by: h(17) x(n - 17) + h(16) x(n - 16) + .... + h(0) x(n) It is noted that x(n - k) is a binary signal given from the quantizer 15. The above operation is equivalent to equation (2), and thus the combination of three circuit units as described above covers all necessary arithmetic operation. Fig. 8L shows the converted signal whose sampling frequency is decreased to one sixth. Referring to Fig. 9, a ROM 222₀ is addressed by the content (Fig. 10) of a counter (CT) 221₀ which is obtained by frequency-dividing the clock pulse having f H (bit/second) in (M + L) (Fig. 10A). The ROM 221₀ receives an enabling signal given at a terminal 232, obtained by frequency dividing the clock of 3 x f H (bits/second) in three. Accordingly, the ROM 222₀ produces a filter coefficient h k changing at every (3 x f H )⁻¹ seconds (Fig. 10F). This is equivalent to the time division multiplex of the outputs of the ROM's 222₁, 222₂ and 222₃ in Fig. 7. The required capacity of the ROM 222₀ is 3 x (M + L) words, which is equal to the summation of the capacities of the ROM's 222₁, 222₂ and 222₃. This also means that three ROM's 222₁, 222₂ and 222₃ can be substituted by a single ROM, which leads to the simplification of the circuit. The same effect can be achieved by setting the capacity of the ROM 222₀ to (M + L) words, providing three address generators, and time-division multiplexing the three address signals. An ASU 223₀ performs addition or subtraction between the outputs of the ROM 222₀ and a switch 225₀ (Fig. 10G). The quantized signal (Fig. 10H) has the sampling frequency f H and is constant during three time slots. The output of the ASU 223₀ changes at every (3 x f H )⁻¹ seconds as shown in Fig. 10I. It follows that the ASU 223₀ can realize the operation of the ASU's 223₁, 223₂ and 223₃ shown in Fig. 7 by the time-division multiplexing technique. Registers 226₃, 226₁ and 226₂ store the output of the ASU 223₀ in response to timing pulses (1), (2) and (3) of f H (bits/second) (Figs. 10A through 10C) applied to terminals 229 through 231. The signal stored in the register 223 i is supplied to a switch 225₀ through a gate 227 i . The gate 227 i passes the output of the register 223 i in response to "1" of the timing pulse (1), (2) or (3) to time-division multiplex the output of the register 226 i . The switch 225₀ connects the gate 227 i to a buffer memory 228 to give "0" to the ASU223₀ at the time when the ROM 222₀ outputs the coefficient h₁₇. The buffer memory 28 absorbs time fluctuation of the gates output changing within (3 x f H )⁻¹ seconds. The sampling frequency converter 22 shown in Fig. 9 is the same in principle and function as that shown in Fig. 7 though different in circuitry as means for realization between them. The invention enables the reduction of a sampling frequency without needing complicated multiplication. Though the two-step reduction of the sampling frequency has been described with reference to Fig. 3, alternatively is usable the method for directly reducing the sampling frequency from f H to f s . This method requires an FIR filter having a frequency characteristic in which attenuation is large in the out-of-band and gain deviation is small in the inband. Such an FIR filter has remarkably large number of taps and the coefficients complicated. In this case, however, according to the invention, it can do with only performing addition (subtraction) the number of times corresponding to the number of taps during the period of 1/f s without needing multiplication. The invention contributes to minimizing the total device and lowering power consumption and the manufacturing cost of an A/D converter. The invention also provides the advantage that the integrator 16 (Fig. 3) may be an analog integrator, with the consequent omission of the D/A converter 17.

Claims: An oversampled analog-to-digital conversion method comprising the steps of: (a) oversampling an input analog signal at a first frequency higher than the Nyquist frequency to produce a sampled signal; (b) subtracting a local decoded signal from the sampled signal; (c) quantising the subtracted signal into a quantised binary signal having a first frequency; (d) generating said local decoded signal by integration of the quantised binary signal; (e) converting the quantised binary signal having the first frequency into a frequency reduced signal having a second frequency, the converting step including the steps of generating a plurality of coefficient groups each of which has a plurality of coefficients, processing the coefficients to produce a processed result for every coefficient,and accumulating the processed results to produce an accumulated result for every group; and (f) integrating the frequency-reduced signal at the second frequency to provide a converted digital signal, characterised in that: in the converting step, the processing step comprises performing an addition or a subtraction of each coefficient to or from an accumulated result in response to said quantised binary signal, and the accumulating step comprises delaying the accumulated result produced by the processing step and supplying said delayed result as an input to the processing step to which a coefficient is to be added to or subtracted from, and periodically switching the accumulated result to an output to provide the second frequency reduced signal. An oversampled analog-to-digital converter comprising: (a) means (11) for sampling an input analog signal at a first frequency higher than the Nyquist frequency to produce a sampled signal; (b) subtracting means (12) for subtracting a local decoded signal from the sampled signal; (c) quantising means (15) for quantising the output of the subtracting means to produce a quantised binary signal having a first frequency; (d) means (16) for integrating the quantised binary signal to generate the local decoded signal; (e) converting means (22) for converting the quantised binary signal having the first frequency into a frequency-reduced signal having a second frequency, the converting means comprising coefficient generating means (222) for generating a plurality of coefficient groups each of which has a plurality of coefficients, processing means (223) receiving the coefficients at respective first inputs and producing a processed result for every coefficient, and accumulating means producing an accumulated result for every group; and (f) integrating means (23) for integrating the frequency-reduced signal at the second frequency to provide a converted digital signal, characterised in that in the said converting means: the processing means comprises means (223) responsive to said quantised binary signal to perform an addition or a subtraction of each coefficient to or from an accumulated result, and the accumulating means comprises the processing means (223), register means (224,226) for delaying the output of the processing means, and means (225) for selectively supplying the accumulated result either to a second input of the processing means or to an output supplying the second frequency reduced signal, comprised by the accumulated result, to the integrating means. An oversampled analog-to-digital converter as claimed in claim 2 wherein the means for integrating the frequency reduced signal comprises an adder (231) connected to receive the output from said converter means, a delay circuit (232) connected to receive said adder output and having a delay of 1/f M and a multiplier means (233) connected to the output of said delay circuit and having a transfer function of 1/(1-aZ -M ) where a≦1, f M is the frequency output of said converter means, Z is the transform of the output from the quantiser means and M is equal to f H /f M where f H is the frequency input to said converter means.

Inventors: MARUTA, RIKIO
Applicants: NEC CORPORATION
Application year: 1985
Main classification: H03M3
IPC codes: H03M3