Noise shaping circuit

Abstract: A noise shaping circuit includes a first degree noise shaping arrangement in which a quantization error component at a first quantizer (13) adapted for quantizing input signals is fed back to an input side, and in which a quantization error component at the first quantizer is fed back by a predetermined feedback circuit (20) to an input of the first quantizer. The feedback circuit includes a synthesizing unit (21) supplied with an error signal from a first quantization error outputting unit (14), a second quantizer (23) for quantizing an output signal from the synthesizing unit for quantizing output signals from the synthesizing unit, a second quantization error outputting unit (24) for taking out a quantization error at the second quantizer, a transfer characteristic unit (25,26,27) having predetermined transfer characteristics, and a differentiation unit (30) supplied with output signals from the second quantizer. Error signals from the second quantization error outputting unit are supplied to the transfer characteristic unit, the output of which is supplied to the summation unit.

Description: This invention relates to a noise shaping circuit and, above all, to a noise shaping circuit advantageously employed in, for example, a 1-bit D/A converter. Recently, an oversampling type 1-bit D/A converting system is attracting attention as a high precision D/A converting system employed in audio equipment or the like. The basic construction of this type of the D/A converting system is shown in Fig.1. In this figure, digital signals supplied to an input terminal 101 are oversampled at a suitable oversampling factor by an oversampling circuit 102, constituted by a digital filter or the like, before being transmitted to a noise shaping circuit 103. In this noise shaping circuit 103, the digital signals are requantized to an order of several bits, 1 to 5 bits under the current state of the art. At this time, noises produced on requantization, or quantization errors, are fed back so as to be shifted to a higher frequency side to produce a noise spectrum distribution which is suppressed towards the lower frequency. Output data of several bits from the noise shaping circuit 103 are converted by a 1-bit D/A converter 104, constituted by a PWM circuit or the like, into 1-bit waveform data, which are output at an output terminal 105. Although a D/A converter for conversion into multi-bit waveform data may be used in place of the 1-bit D/A converter 104, it is necessary to overcome such problems as non-linear distortion on differentiation , glitch or the like. For realizing a wide dynamic range with this system, a wide dynamic range is required of the noise shaping circuit 103. Among the factors governing the dynamic range of the noise shaping circuit 103 are an operating rate f NS , the number of degrees N and the number of bits M of the requantizer. Although the dynamic range is improved by raising the operating rate f NS limitations are imposed on the operating rate f NS by an upper limit value of the operating rate of semiconductor devices. It is therefore contemplated to improve the S/N ratio by raising the number of degrees N. Fig. 2 shows a noise shaping circuit of a customary N'th degree type or N-tuple integration type on which the pre-characterising portion of claim 1 is based. Output signals from the oversampling circuit 102 shown in Fig. 1 are supplied to an input terminal 111 of the noise shaping circuit shown in Fig. 2, and output signals from an output terminal 112 are transmitted to the 1-bit D/A converter 104 shown in Fig. 1. An output of a quantizer 113 of the noise shaping circuit of Fig. 2 is taken out via a 1-sample delay device 114 so as to be fed back to an input side of the quantizer 113. An integrator of a first degree 116₁ is connected between an input terminal of the quantizer 113 and an adder 115₁ which in effect is a subtractor subtracting the feedback signal from the input signal. The integrator 116₁ is made up of an adder and a 1-sample delay element and adapted for delaying an output of the adder by one sample and feeding back the delayed data to the adder. The above is the basic construction of the noise shaping circuit of the first degree. With increase in the number of degrees, a number equal to the number of degrees of sets each consisting of an integrator and a negative feedback adder is provided in tandem in the direction of the input terminal, so that a noise shaping circuit of an N′th degree may be provided by providing an N number of sets each consisting of an integrator and an adder. Fig.2 shows a typical construction of the N′th degree noise shaping circuit in which an N′th adder or subtrator 115 N is connected to the input terminal 111 and an N′th integrator 116 N is connected between the adder 115 N and the next (N-1)st adder 115 N-1 . Output signals of the quantizer 113 delayed by the 1-sample delay device 114 are supplied to the adders 115 N to 115₁ and resulting 1-sample delay output signals are subtracted from input signals to the adders 115 N to 115₁. It is noted that if, in the N′th degree noise shaping circuit shown in Fig.2, an input to the input terminal 111 is X, an output from the output terminal 112 is Y and an quantization error produced at the quantizer 113 is ε₀, the output Y is given by Y=X+(1-z⁻¹) N ε₀ However, with the above construction, if the number of degrees is three or more, the integrator is overloaded to produce an unstable operation. Although a multi-stage noise shaping circuit may be contemplated, inputs to respective circuit stages represent quantization errors of the preceding circuit stages, so that outputs of the respective circuit stages represent noise components. Since noise components of the second circuit stage et seq. are summed to the ultimate output, the dynamic range tends to be deteriorated. Other types of noise shaping circuits for oversampled digital signals are disclosed by JP-A-01049310 (see also Patent Abstract of Japan, Vol. 13 no. 248) and EP-A3-0308194. In JP-A-01049310 an oversampled digital signal is passed through a quantizer and a quantization error signal is fed-back to the input via a feedback circuit comprising an IIR filter having a zero and a pole in its transfer function. EP-A3-0308194 discloses a noise shaping circuit for over-sampled digital signals in which a digital signal is supplied to a quantizer via an integrator and the result is delayed and fedback negatively to the input of the integrator and a quantization error signal is derived and integrated, re-quantized and twice differentiated and fed-forward to be added to the output of the quantizer. It is therefore a principal object of the present invention to provide a noise shaping circuit in which noise shaping of a higher degree may be performed stably and the dynamic range may be prevented from being deteriorated effectively. According to the present invention, there is provided a noise shaping apparatus for producing M-bit output digital data by requantizing N-bit input digital data comprising a first quantizer for quantizing said input digital data, and a first feedback circuit for feeding back a quantization error component of said first quantizer to the input side of said first quantizer to effect first degree noise shaping; characterized by: a second feedback circuit for feeding back a quantization error component of said first quantizer to the input side of said first quantizer, said second feedback circuit comprising synthesizing means to which quantization error signals from said first quantizer are input, a second quantizer for quantizing output signals from said synthesizing means, transfer characteristic means for applying predetermined transfer characteristics to quantization errors of said second quantizer, an output of said transfer characteristics means being supplied to said synthesizing means, and differentiation means for differentiating an output of said second quantizer and supplying a differentiated output to the input side of said first quantizer. The synthesizing means, the second quantizer, the second quantization error outputting means, transfer function means and the differentiation means constitute a feedback circuit for performing a higher degree noise shaping. Since the output from the feedback circuit adapted for performing higher degree noise shaping is fed back to the input side of the first quantizer without being added to the ultimate output from the first quantizer, the dynamic range at the ultimate output is not deteriorated, while the resolution at the second quantizer may be improved for stabilizing the operation of the circuit. The invention will be further described by way of non-limitative example with reference to the accompanying drawings, in which:- Fig.1 is a block circuit diagram schematically showing an overall arrangement of a 1-bit D/A converter. Fig.2 is a block circuit diagram of a conventional noise shaping circuit of an N'th degree. Fig.3 is a block circuit diagram showing a first embodiment of a noise shaping circuit according to the present invention. Fig.4 is a block circuit diagram showing a third embodimemt of the present invention. Fig.5 is a block circuit diagram showing a third embodimemt of the present invention. Embodiments Fig.3 is a block circuit diagram showing a first embodiment of a noise shaping circuit according to the present invention. In the noise shaping circuit, shown in Fig.3, digital audio signals, oversampled at a suitable oversampling rate by an oversampling circuit similar to the circuit 102 described in connection with Fig.1, are supplied to an input terminal 11, and output signals from an output terminal 12 are supplied to a 1-bit D/A converter 104, such as the D/A converter described in connection with Fig.1, so as to be converted into a 1-bit waveform signal. A requantizer 13 connected between the input and output terminals requantizes an input digital audio signal of e.g. 20 bits into a requantized signal of several bits, which requantized signal is output. A quantization error -ε M generated by the quantizer 13 is taken out at an adder 14, which is in effect a subtractor, and is fed back via a 1-sample delay device 16 and an adder 17, to an input side of adder 15, by way of performing first-degree noise shaping. On the other hand, the quantization error produced by the adder 14 is fed back via a feedback circuit 20 to the adder 15 by way of performing noise shaping of higher degrees. The adder 14 subtracts an output of the quantizer 13 from its input to take out the quantization error -ε M . Turning to the feedback circuit 20, a signal produced by delaying the quantization error from the adder 14 by one sample at a delay circuit 16 is supplied to an adder (subtractor) 21, functioning as a synthesizer, the output of which is supplied via an adder 22 to a quantizer 23. A quantization error produced at the quantizer 23 is taken out at an adder 24, which in effect is a subtractor, and is supplied to adders 21 and 22 as synthesizing means, by means of a transmission characteristic circuit including 1-sample delay elements 25 and 26 and a coefficient multiplier 27 with a multiplication coefficient of 2. An output from the quantizer 23 is transmitted to an adder 17 as feedback output signals by means of a second-degree differentiating circuit 30 so as to be summed to the output from the 1-sample delay element 16. An addition output from the adder 17 is supplied to the input side of adder 15. Meanwhile, a second degree differentiating circuit 30 is made up of a delay element 31 for delaying the output from the quantizer 23 by one sample, an adder (subtractor) 32 for subtracting an output of the delay element 31 from the output of the quantizer 23, a delay element 33 for delaying the output from the adder 32 by one sample, and an adder (subtractor) 34 to which outputs from the adder 32 are input twice (by two separate routs) as addition signals and to which an output from the delay element 33 is also input as a subtraction signal. In the above construction, if an input to the input terminal 11 is X, an output from the output terminal 12 is Y and an input to the quantizer 13 from the adder 15 is V, the quantization error produced at the quantizer 13 ε M is given by ε M = Y-V Since the adder (substractor) 14 subtracts the output Y from the input V to the quantizer 13, a signal -ε M is taken out at the adder 14 and delayed by one sample by the delay element 16 so that -z⁻¹ε M is supplied to the feedback circuit 20. If a quantization error at the quantizer 23 is ε F , a signal -ε F is output at the adder 24 and delayed by two samples by delay elements 25 and 26 to produce a signal -z⁻²ε F which signal is supplied to the adder 21 where it is substracted from the signal -z⁻¹ε M from the delay element 16. Thus the output from the adder 21 is -z⁻¹ε M + z⁻²ε F Since the output is supplied to the adder 22 and summed to an output -2z⁻¹ε F from the coefficient multiplier 27, the output from the adder 2 becomes z⁻¹ε M - 2z⁻¹ε F + z⁻²ε F . Since the aforementioned quantization error ε F is generated and added to this output requantized by the quantizer 23, an output W from the quantizer 23 becomes W = z⁻¹ε M + ε F - 2z⁻¹ε F + z⁻²ε F = -z⁻¹ε M + (1-z⁻¹)²ε F This equation is equivalent to the formula (1) for the input and the output of the noise shaping circuit of the N'th degree in which X is -z⁻¹ε M , N is equal to 2 and the quantization error ε O is ε F , indicating that the circuit from the adder 21 through the transfer function circuit to the quantizer 23 is equivalent to the second degree noise shaping circuit. Since the sum of the output W of the quantizer 23 once differentiated by the differentiator 30 and the output W twice differentiated by the differntiator 30 is taken out from the differentiator 30, an output U of the differentiator 30 becomes U = (1-z⁻¹)W + (1-z⁻¹)²W = (2-z⁻¹)(1-z⁻¹)W Since the output U is summed at the adder 17 to the output -z⁻¹ε M from the delay element 16 and further summed at the next adder 15 to the input X, the input V supplied from the adder 15 to the quantizer 13 is given by V = U-z⁻¹ε M + X When the input V is requantized by the quantizer 13, the quantization error ε M is superimposed on the input to produce the output Y, so that Y = V + ε M = U - z⁻¹ε M + X + ε M = X + U + (1-z⁻¹) ε M Substituting the above equation (4) for U of the equation (6), Y = X + (2-z⁻¹)(1-z⁻¹)W + (1-z⁻¹)ε M Substituting the above equation (3) for W of the equation (7) and putting the equation into order, Y = X + (1-z⁻¹)³ε M + (2-z⁻¹)(1-z⁻¹)³ε F = X + (1-z⁻¹)³(ε M + ε F ) +(1-z⁻¹)⁴ε F As may be seen from the equation (8), input and output characteristics of the circuit of Fig.1 represent third and fourth degree noise shaping characteristics. It is noted that, since the arrangement of feeding back the quantization error component output from the delay element 16 to the adder 15 via adder 17 represents an arrangement of a first degree noise shaping circuit, a stable operation may be assured. As for the second degree noise shaping circuit arrangement of the feedback circuit 20 extending from the adder 21 to the quantizer 23, since the output of the noise shaping circuit is fed back via differentiating circuit 30 to the input side of the quantizer 13 without being summed to the ultimate output of the quantizer 13, the number of quantizing bits of the quantizer 23 may be increased for improving the resolution and reducing the quantization error. In addition, the integrator may be prevented from being overloaded to assure stable operation while the dynamic range at the ultimate output is not deteriorated. Meanwhile, since the quantizer 23 in the feedback circuit 20 may be improved in resolution in this manner, the magnitude of the quantization error ε F becomes negligibly small as compared with the maximum amplitude of the quantization error ε M of the main quantizer 13. Since the third term (1-z⁻¹)⁴ε F at the right side of the equation (8) becomes extremely small as compared to its second term, the equation (8) may be rewritten to Y ≒ X + (1-z⁻¹)³(ε M + ε F ) = X + (1-z⁻¹)³ε M (1 + ε F / ε M ) ≒ X + (1-z⁻¹)³ε M so that, apparently, third-degree noise shaping characteristics appear predominantly. The noise shaping circuit having apparent third-degree noise shaping characteristics may be realized by a circuit according to a second embodiment of the present invention as shown in Fig.4, in which components similar to those shown in fig.3 are depicted by the same reference numerals and the corresponding description is omitted. In the second embodiment, shown in Fig.4, by way of a first degree noise shaping, an integrator 18 is connected to an input side of the main quantizer 13, and an output of the quantizer 13 is supplied to an adder 15b at the input side of the integrator 18 via a one-sample delay element 16b so as to be subtracted from the input for negatively feeding back the quantization error component of the quantizer 13. Besides, by way of higher degree noise shaping, the quantization error of the quantizer 13 is negatively fed back to the adder 15a at the side of the input terminal 11 by means of the feedback circuit 20. That is, the output of the quantizer 13 delayed by one sample by the delay element 16d is subtracted by the adder 14a from the input to the quantizer 13 delayed by one sample by the delay element 16c to take out the quantization error of the quantizer 13. The quantization error thus taken out is supplied to the feedback circuit 20. The feedback circuit 20 is constituted by a second degree noise shaping circuit, made up of two integrators 41 and 45 connected to the input side of the quantizer 23, and a differentiating circuit 30 for differentiating the output from the second degree noise shaping circuit. The quantization error from the adder 14a is transmitted to the quantizer 23 by means of adder 21, integrator 41, adder 44 and integrator 45, while the output of the quantizer 23 is delayed by one sample by a delay element 48 before being negatively fed back as subtraction signals to the adders 44 and 21. Meanwhile, the integrator 41 is adapted for feeding back the output from the adder 42 to the adder 42 by means of a one-sample delay element 43, whilst the integrator 45 is adapted for feeding back the output from the adder 46 to the adder 46 via one-sample delay circuit 43. From the equation (1), the output W from the second degree noise shaping circuit is given by W = -z⁻¹ε M + (1-z⁻¹)²ε F Which is the same as the equation (3) so that the resulting operation is also the same. The differentiating circuit 30, to which the output W is supplied, is identical with the differentiating circuit 30 shown in Fig.1, in which the twofold input (inputs via two separate routes) from the adder 32 to the adder 34 is expressed by an X2 coefficient multiplier 35. In Fig.4, an operation equivalent to that of the adders 14 and 15 of Fig.3 is realized by adders 15a, 15b and 15c, whilst an operation equivalent to that of the 1-sample delay element 16 of Fig.3 is realized by four 1-sample delay elements 16a to 16d. Since the operation and effect of the second embodiment shown in Fig.4 is the same as that of the first embodiment shown in Fig.3, the detailed description therefor is omitted for simplicity. Fig.5 shows a third embodiment of the present invention wherein the third degree noise shaping circuit of the first embodiment is extended to a more generalized N′th degree circuit configuration. In Fig.5, components similar to those shown in Fig.1 are denoted by the same reference numerals and the corresponding description is omitted for simplicity. For obtaining N'th degree noise shaping characteristics in general, a differentiating circuit 50, in which (N-1) stages of differentiators are connected in cascade so that outputs from the respective differentiators are summed together, is used in place of the differentiating circuit 30 consisting of a cascade connection of two stages of differentiators. More specifically, a differentiator is provided as a first stage amplifier in which the output from the quantizer 23 is supplied from the quantizer 23 via 1-sample delay element 51₁ to an adder (in effect, a subtractor) 52₁ for subtracting it from the input (that is, the output from the quantizer 23). The output from the first stage amplifier, that is the output from the adder 52₁, is supplied to the second stage differentiator as well as to the adder 52 N-1 of the last or (N-1) stage amplifier. In the similar manner, the output of each stage amplifier is supplied to the next stage amplifier as well as to the adder 52 N-1 of the last or (N-1) stage differentiator to make up the differentiating circuit 50. The circuit construction is otherwise the same as that of the first embodiment shown in Fig.3. The output Y to the input X in the noise shaping circuit of the present third embodiment is given by Y = X + (1-z⁻¹) N ε M + ((1-z⁻¹)³ + (1-z⁻¹)⁴ +...+(1-z⁻¹) N +(1-z⁻¹) N+1 )ε F If the resolution of the quantizer 23 in the feedback circuit 20 is selected to be finer than that of the main quantizer 13, ε M >> ε F , so that the equation (10) may be approximated to an equation (11) Y ≒ X + (1-z⁻¹) N ε M so that the N'th degree noise shaping characteristics are produced. Since the operation and effect of the present third embodiment is similar to that of the first embodiment, detailed description therefor is omitted for simplicity. From the foregoing it is seen that the present invention provides a noise shaping circuit in which, for performing a high degree noise shaping by feeding back a quantizaion error from a first quantizer to the input side of the first quantizer, error signals from first quantization error output means are supplied via synthesizing means to a second quantizer, a quantization error at the second quantizer is supplied via transfer function means to the synthesizing means and output signals from the second quantizer are supplied via differentiating means to the input side of the first quantizer, so that the output from the high degree noise shaping feedback circuit is not summed to the ultimate output from the first quantizer and hence the dynamic range at the final output is not deteriorated. On the other hand, the operation may be stabilized because the resolution of the second quantizer may be improved and the quantization errors may be diminished.

Claims: A noise shaping apparatus for producing M-bit output digital data by requantizing N-bit input digital data comprising a first quantizer (13) for quantizing said input digital data, and a first feedback circuit (14,15,16,17) for feeding back a quantization error component of said first quantizer (13) to the input side of said first quantizer (13) to effect first degree noise shaping; characterized by: a second feedback circuit (20) for feeding back a quantization error component of said first quantizer (13) to the input side of said first quantizer (13), said second feedback circuit (20) comprising synthesizing means (21,22,44) to which quantization error signals from said first quantizer (13) are input, a second quantizer (23) for quantizing output signals from said synthesizing means (21,22,44), transfer characteristic means (24-27,48) for applying predetermined transfer characteristics to quantization errors of said second quantizer (23), an output of said transfer characteristics means being supplied to said synthesizing means (21,22,44), and differentiation means (30,50) for differentiating an output of said second quantizer (23) and supplying a differentiated output to the input side of said first quantizer (13). The noise shaping apparatus as claimed in claim 1 wherein said differentiation means (30,50) comprises a series connection of a plurality of differentiating circuits (31-34,51,52), an output of each of which is summed to an output of the last stage differentiating circuit (34, 52N). The noise shaping apparatus as claimed in claim 2 wherein said synthesizing means (21,22,44), second quantizer (23) and the transfer characteristic means (24-27,48) constitute a second degree noise shaping circuit. The noise shaping apparatus according to claim 3 wherein said synthesizing means (21,22,44) comprises a first synthesizing circuit (21) supplied with a quantization error signal of said first quantizer (13) and a signal which is a quantization error signal of said second quantizer (23) delayed by two samples by said transfer characteristic means (24-27,48) and a second synthesizing circuit (22) supplied with an output of said first synthesizing circuit (21) and a signal which is the quantization error signal of said second quantizer (23) delayed by said transfer characteristic means (24-27,48) by one sample and which is multiplied by a predetermined coefficient. The noise shaping apparatus as claimed in claim 3 wherein said synthesizing means (21,44) comprises a first synthesizing circuit (21) supplied with a quantization error signal of said first quantizer (13) and a signal which is a quantization error signal of said second quantizer (23) delayed by one sample by said transfer characteristic means (48) and a second synthesizing circuit (44) supplied with a signal which is said quantization error signal of said second quantizer (23) delayed by one sample by said transfer characteristic means (48), the output of said second synthesizing circuit (44) being supplied to said second quantizer (23) via a second integrator (45). The noise shaping apparatus as claimed in claim 2 wherein a quantization error component of said first quantizer (13) is delayed by one sample (16b) and summed (15b) to said input digital data and the resulting summed data are supplied to said first quantizer (13) via an integrator (18).

Inventors: MASUDA TOSHIHIKO C O SONY CORP, MASUDA, TOSHIHIKO, C/O SONY CORPORATION
Applicants: SONY CORP, SONY CORPORATION
Application year: 1991
Main classification: H04B14
IPC codes: H03H17, H03M3, H04B14