A method of improving the signal/noise ratio of a sigma-delta modulator and a circuit which uses the method

Abstract: A method of improving the signal/noise ratio of a sigma-delta modulator during the re-establishment of its stability which comprises the following steps: defining a bit sequence corresponding to a state of instability of the modulator, monitoring the flow of bits output by the modulator to check whether it contains the instability bit sequence, and resetting the modulator to zero if the instability bit sequence is detected at the output. To ensure a high signal/noise ratio of the modulator even during the detection and re-establishment of stability, the method also comprises the following steps: delaying the flow of bits output by the modulator at least for the time required to detect the instability bit sequence and modifying the output bit sequence during the delay period by replacing it with a predetermined bit sequence.

Description: The present invention relates in general to sigma-delta modulators and, more particularly, to a method of improving the signal/noise ratio of a circuit comprising a sigma-delta modulator during the re-establishment of its stability, and to a circuit which uses the method, as defined in the preamble of claims 1 and 2, respectively, and as known from US-A-6 020 836. As is known, sigma-delta modulation is a technique which enables a high-resolution analogue-digital conversion to be achieved. According to this technique, an analogue signal is "over-sampled", that is, it is sampled at a rate much faster than is necessary for a conventional analogue-digital converter operating at the Nyquist rate. A sigma-delta modulator integrates the analogue signal and performs a conventional delta modulation on the integral of the signal. For this purpose, the modulator uses a low-resolution quantizer. The output signal of the quantizer is added, with its sign reversed, to the analogue input signal, by as feedback loop containing a digital-analogue converter. To produce a digital signal corresponding to the analogue input signal, the signal output by the modulator is subjected to the action of a so-called digital decimation filter which produces a digital output signal with a sampling rate equal to twice the Nyquist rate. By virtue of the over-sampling and of the digital decimation, this technique achieves a better resolution and less distortion than can be achieved with the technique of conversion at the Nyquist rate. Moreover, since the error signal, that is, the difference between the input signal and the sampled signal, is integrated, the sigma-delta modulator acts as a low-pass filter for the signal and as a high-pass filter for the quantization noise. It thus attenuates the noise in the signal band particularly effectively. The noise attenuation is appreciable even with a first-order sigma-delta modulator, that is, a sigma-delta modulator comprising a single integrator upstream of the quantizer; however, to achieve the high signal-noise ratios required of high-resolution analogue-digital converters, it is necessary to use higher-order modulators, that is, modulators comprising several integrators in cascade. With a higher-order modulator, however, problems of stability arise. The system may in fact be stable or unstable in dependence on the type of input signal (in particular, it is unstable for signals which exceed the input volume range of the circuit), in dependence on the starting conditions upon switching-on, and in dependence on the presence of any fluctuations in the supply voltage. As soon as there is a departure from ideal operating conditions and, more precisely, when the gain of an element of the feedback loop falls below a certain limit, the modulator becomes unstable and tends to oscillate. The quantizer is an element of the feedback loop the gain of which is subject to variations as the operating conditions vary. Conditions of instability arise when the voltages of the internal analogue nodes reach values above the maximum design swing. In order to re-establish conditions of stability, intervention from outside the circuit is required. Various methods of doing this have been proposed and differ from one another in the manner in which the instability is detected and in the action undertaken to re-establish stability. A first method provides for the connection of limiter elements in parallel with the capacitors of the integrators. The selection of the thresholds of the limiters is critical; in fact, if the thresholds are close to the limits of the dynamic range of the operational amplifiers of the integrators, the signal may also be limited during normal operation with high input signal levels, causing distortion; if, however, the thresholds are too low, there is a low signal/noise ratio. This solution cannot therefore be used in applications in which linearity is essential and a high signal/noise ratio is required. A second method provides for detection of the oscillation which occurs in conditions of instability by measuring the analogue voltages of the internal nodes of the circuit and comparing them with respective predetermined reference values. If the reference values are exceeded, the system is considered unstable and the starte variables of the modulator are reset to zero. In this case also, unnecessary limitations may occur since, in normal operation, some internal nodes may often be overloaded temporarily without this necessarily causing a condition of instability. It has also been proposed to allow the modulator to become unstable and to detect the instability by monitoring the digital output signal. More particularly, a sequence of bits which corresponds to an instability state is defined and the output flow of bits is kept under surveillance in order to identify the appearance of such a sequence and consequently to indicate an instability state. As soon as the instability is detected, the output voltages of all of the integrators, or at least of some of them, are reset to zero so that, if the cause of the instability has ceased, the modulator is returned to stable operating conditions. This technique has the advantage of avoiding unnecessary limitations during normal operation since the resetting operation is enabled only when an instability state has occurred. However, the time required to detect the instability is not always negligible so that, before the modulator is reset and returned to normal operating conditions, a residual output signal is present which degrades the signal/noise ratio in a manner which may be unacceptable in some applications. This phenomenon becomes very noticeable in the event of overloads which persist for long periods, causing repeated resetting operations. An object of the present invention is to propose a method which ensures a sufficiently high signal/noise ratio of the sigma-delta modulator, even during instability detection and stability re-establishment operations. Another object is to propose a circuit for implementing the method. These objects are achieved by the implementation of the method and by the provision of the circuit which are defined and characterized in general in Claim 1 and in Claim 2, respectively. The invention will be understood better from the following detailed description of a non-limiting embodiment, given with reference to the appended drawings, in which: Figure 1 is a block diagram of a conventional, first-order sigma-delta modulator, Figure 2 is a block diagram of a circuit with a band-pass sigma-delta modulator according to the invention, and Figures 3a and 3b show the output spectrum for a-20dB input signal, measured at two nodes of the circuit with the sigma-delta modulator according to the invention. Figure 1 shows a conventional sigma-delta modulator which comprises an analogue-digital converter (A/D) or quantizer 10 and a feedback circuit constituted by an adder node 11, an integrator (H) 12, and a digital-analogue converter (D/A) 13. An analogue input signal X(z) is applied to the adder node 11. The output signal of the adder node is integrated by the integrator 12 and is then converted into digital form by the quantizer 10. The conversion takes place at a sampling frequency fs. The digital output Y(z) of the modulator is returned to analogue form by the digital-analogue converter 13 and is applied, with its sign reversed, to the adder node 11. The adder node 11 thus supplies an error signal to the integrator 12. The effect of the feedback loop is such that the output Y(z) is a digital signal which oscillates about the value of the analogue input signal. The energy of this oscillating signal constitutes the quantization noise. The quantizer 10 and the digital-analogue converter 13 are typically single-bit converters and the quantization noise is therefore high. It can be shoun that the transfer function Y(z)/X(z) of the signal is that of a low-pass filter the pass-band of which is determined by the characteristics of the integrator 12, and the transfer function of the noise is that of a high-pass filter the pass-band of which is determined by the sampling frequency fs. If the output of the modulator is connected to a decimation filter, the resulting circuit is an analogue-digital converter. With an appropriate selection of the cut-off frequency of the decimation filter, the input signal is not attenuated significantly, whereas the quantization noise is greatly attenuated. As already mentioned, to achieve a considerable attenuation of the quantization noise, as is necessary to produce high-resolution analogue-digital converters, it is necessary to use modulators of an order higher than one. The embodiment of the invention shown in Figure 2 has a circuit with a sixth-order modulator, that is, a modulator comprising six integrators, indicated H1-H6, in cascade. The input terminal of each integrator is connected to the output terminal of the preceding integrator by means of an adder. An input signal is applied to the various adders with different weights determined by suitable connection means with scale factors a1-a6. The output terminal of the last integrator H6 is connected to the input terminal of a single-bit analogue-digital converter or quantizer 20 the output OUT of which is connected to the data input of a shift register 25, preferably formed as a FIFO (first-in, first-out) memory. The data output OUT + Δt of the register 25, which is also the output of the circuit, may be connected to a digital decimation filter, not shown. The output of the quantizer 20 is also connected to the various adders via a digital-analogue converter 21 which is also a single-bit converter, and via suitable connection means with scale factors b1-b6. In this embodiment, the integrators are connected in pairs by suitable feedback means f1, f2 and f3 to form three resonators HH1, HH2, HH3. The modulator behaves as a band-pass filter the pass-band of which is centred on a frequency other than zero, determined by the feedback means f1, f2 and f3. The scale factors and the feedback means are selected so as to achieve the desired transfer functions of the signal and of the noise. A control logic and stabilization unit 22 is connected to the output terminal OUT of the modulator, to a setting input, indicated SET, of the register 25, and to the integrators, by means of respective zero-resetting terminals. The unit is preferably constituted by a so-called finite states machine (FSM) and is programmed so as to monitor the flow of bits output by the quantizer 20 to check whether a predetermined bit sequence SEQ corresponding to a condition of instability of the modulator appears therein. This sequence can be defined experimentally by bringing about a state of instability of the modulator and observing the output flow of bits. The sequence SEQ is entered and stored in the logic unit 22. The unit 22 is also programmed to send a zero-resetting signal to the last integrator H6 as soon as the instability sequence is identified in the output signal. The duration of the zero-resetting signal TRST, which is also entered and stored in the unit 22, is selected so as to be long enough to ensure effective resetting of the integrator, that is, in practice, to discharge the capacitors of the integrator completely. The resetting of the last integrator is normally sufficient to re-establish the stability of the modulator. In fact, an instability situation is caused by an overload at the node between the last integrator and the quantizer so that the gain of the quantizer, indicated k in Figure 2, is too low and the feedback of the system becomes positive; when the last integrator is reset to zero, the gain of the quantizer increases and the feedback tends to become negative again, restoring the stability of the system. In other words, after the last integrator has been reset to zero and before it is reactivated, the modulator behaves as a modulator of an order lower by one and therefore tends to be more stable. It is important to point out that the noise caused by the resetting operation is processed in accordance with the transfer functions of the preceding integrators H1 to H5 and that the time required for the modulator to start to operate again is very short since it is due to the recovery time of the last integrator H6 alone. If, after this operation, the unit 22 again identifies the instability sequence in the output flow of bits, a zero-resetting signal is applied both to the integrator H6 and to the preceding integrator H5. If the instability is still not eliminated, the above-described operations are repeated, the number of stages reset being increased by one each time. During normal operation of the modulator, the likelihood of finding an instability condition which requires intervention on all of the integrator stages is very low so that, in most cases, the noise of the resetting operation is processed by at least one integrator and the time taken to re-establish the operation of the modulator is always less than that which would be required if all of the integrators were reset simultaneously. During normal operation, the register 25 has the sole effect of transferring the flow of data output by the quantizer 20 to the output OUT +Δt of the circuit with a predetermined delay Δt. If, however, an instability bit sequence is detected in the flow of data output by the quantizer 20, the logic circuit 22 applies to the setting input of the register 25 a signal which modifies the bit sequence contained in the register, replacing it with a predetermined bit sequence. In this example, the predetermined bit sequence is a series of zeroes; this corresponds to shifting the energy of the output signal associated with the instability from frequencies within the pass-band of the modulator to a region around the frequency 0, as shown in Figures 3a and 3b for an output spectrum measured for a -20dB input signal. Figure 3a shows the effect of an operation to reset the modulator at the output OUT of the quantizer 20 as a result of a voltage peak the energy contribution caused by the instability is within the pass-band. Figure 3b shows the same spectrum measured at the output OUT + Δt of the register 25; the energy contribution caused by the instability has been shifted out of the pass-band and, more precisely, to the frequency 0, and can easily be eliminated by suitable digital filters downstream of the modulator. Clearly, the signal/noise ratio of the modulator is thus considerably improved. Although only one embodiment of the invention has been described and illustrated, naturally many variations and modifications are possible within the scope of the same inventive concept. For example, the register 25 may be included in the FSM unit 22 and may also serve for the function of monitoring the output flow of bits; it may also be a register other than a FIFO memory, provided that it can temporarily store an adequate number of output bits, and provided that it has means for modifying its content when required. Moreover, the invention may also advantageously be implemented with a low-pass modulator or with a high-pass modulator rather than with a band-pass modulator as described.

Claims: A method of improving the signal/noise ratio of a circuit comprising a sigma-delta modulator (H1-H6, 20) during the re-establishment of its stability, comprising the following steps: defining a bit sequence corresponding to a state of instability of the modulator, monitoring the flow of bits output by the modulator to check whether it contains the instability bit sequence, and resetting the modulator to zero if the instability bit sequence is detected at the output (OUT) , characterized by the following steps: if the instability bit sequence is not contained in the flow of bits output by the modulator (H1-H6, 20), transferring the flow of bits output by the modulator to the circuit output (OUT+Δt) with a predetermined time delay (Δt) , said time delay being at least equal to the time required to check whether the flow of bits output by the modulator contains the instability bit sequence; if the instability bit sequence is contained in the flow of bits output by the modulator, modifying then flow of bits output by the modulator by replacing the instability bit sequence with a predetermined bit sequence and transferring the so modified flow of bits to the circuit output (OUT+Δt) in the predetermined time delay. A circuit comprising: a sigma-delta modulator (H1-H6, 20) having an analogue signal input (IN) which is also the input of the circuit, a digital signal output (OUT), and at least one zero-resetting input, and a control logic unit (22) connected to the output (OUT) of the modulator and to the zero-resetting input, and comprising means for storing a sequence of output bits (SEQ) corresponding to a state of instability of the modulator, means for monitoring the flow of bits output by the modulator, and means for applying zero-resetting signals to the zero-resetting input of the modulator when the instability sequence is contained in the flow of bits output by she modulator, characterized in that it comprises a shift register (25) having a data input connected to the output (OUT) of the modulator, a data output (OUT+Δt) which is also the output of the circuit, and a setting input (SET), said shift register (25) transferring the flow of bits output by the modulator to the circuit output (OUT+Δt) with a predetermined time delay (Δt) when the instability bit sequence is not contained in the flow of bits output by the modulator, and in that the control logic unit (22) comprises means for applying a setting signal to the setting input (SET) of the shift register (25) when the instability bit sequence is contained in the flow of bits output by the modulator, said setting signal modifying the flow of bits output by the modulator by replacing the instability bit sequence with a predetermined bit sequence so that a modified flow of bits is applied to the circuit output (OUT+Δt) with the predetermined time delay. A circuit according to Claim 2 in which the shift register (25) forms part of the means included in the control logic unit (22) for monitoring the output flow of bits. A circuit according to Claim 2 or Claim 3 in which the shift register (25) is a FIFO memory. A circuit according to any one of Claims 2 to 4 in which the sigma-delta modulator (H1-H6, 20) is of an order greater than one and operates as a band-pass filter, and in which said predetermined bit sequence corresponds to a digital signal outside the pass-band of the modulator.

Inventors: BASCHIROTTO ANDREA, CUSINATO PAOLO, BASCHIROTTO, ANDREA, CUSINATO, PAOLO
Applicants: ST MICROELECTRONICS SRL, STMICROELECTRONICS S.R.L.
Application year: 2000
Main classification: H03M3
IPC codes: H03M3