Delta sigma modulator systems and methods
10211848 ยท 2019-02-19
Assignee
Inventors
Cpc classification
H03M3/438
ELECTRICITY
H03M3/00
ELECTRICITY
H03M3/368
ELECTRICITY
H03M3/50
ELECTRICITY
International classification
Abstract
Systems and methods according to one or more embodiments are provided for improving noise performance in a delta sigma modulator comprising an adder, quantizer and nth order filter. The adder is operable to receive an input signal and a feedback signal, and output a modified input signal. The quantizer is operable to receive the modified input signal and output a quantized output signal, the quantized output signal having a corresponding quantization error. The nth order filter is operable to receive a quantization error value and generate the feedback signal, the nth order filter comprising a first memory element having a first error value, a second memory element having a second error value, and a gravity component operable to converge the first error value and the second error value when the input signal is approximately zero.
Claims
1. A circuit comprising: an adder operable to receive an input signal and a feedback signal, and output a modified input signal; a quantizer operable to receive the modified input signal and output a quantized output signal, the quantized output signal having a corresponding quantization error; and an nth order filter operable to receive a quantization error value and generate the feedback signal, the nth order filter comprising: at least n memory elements, each memory element operable to store quantization error value information corresponding to one of n previous clock cycles; a gravity component operable to converge the quantization error value information to produce modified quantization error values; and a feedback signal generator operable to generate the feedback signal using the modified quantization error values.
2. The circuit of claim 1 wherein the input signal has a first data width and the quantized output signal has a second data width, which is less than the first data width.
3. The circuit of claim 1 further comprising a subtractor operable to receive the modified input signal and subtract the quantized output signal to generate the quantization error value.
4. The circuit of claim 1 wherein n equals 2 wherein the nth order filter further comprises a first memory element storing a first error value and a second memory element storing a second error value, and wherein the gravity component is operable to add a gravity value to a lesser of the first error value and the second error value.
5. The circuit of claim 4 wherein the gravity component is operable to subtract the gravity value from a greater of the first error value and the second error value.
6. The circuit of claim 4 wherein the gravity component is operable to set the first error value equal to the second error value when the first error value minus the second error value is less than two times the gravity value.
7. The circuit of claim 1 wherein n=3, and wherein the nth order filter comprises a first memory element storing a first error value, a second memory element storing a second error value, a third memory element storing a third error value, and wherein the gravity component is operable to converge the first error value, the second error value and the third error value.
8. A method comprising: adding an input signal and a feedback signal to produce a modified input signal; quantizing the modified input signal to generate a quantized output signal, the quantized output signal having a quantization error; and generating the feedback signal through an nth order filter from successive quantization error values, wherein generating the feedback signal comprises: generating a first error value from a first memory element, the first error value representing the quantization error of a preceding cycle; generating a second error value from a second memory element, the second error value representing the quantization error from a second preceding cycle; and applying a gravity effect to the first error value and the second error value, wherein the gravity effect converges the first error value and the second error value.
9. The method of claim 8 wherein the input signal has a first sample rate and the quantized output signal has a second sample rate, which is less than the first sample rate.
10. The method of claim 8 further comprising a subtracting the quantized output signal from the modified input signal to generate the quantization error.
11. The method of claim 8 wherein applying the gravity effect further comprises adding a gravity value to a lesser of the first error value and the second error value.
12. The method of claim 8 wherein applying the gravity effect further comprises subtracting a gravity value from a greater of the first error value and the second error value.
13. The method of claim 8 wherein the gravity effect is operable to set the first error value equal to the second error value when the first error value minus the second error value is less than two times a gravity value.
14. The method of claim 8 wherein generating the feedback signal further comprises generating the feedback signal from the first error value and the second error value.
15. A delta sigma modulator comprising: an adder operable to receive an input signal and a feedback signal, and output a modified input signal; a quantizer operable to receive the modified input signal and output a quantized output signal, the quantized output signal having a corresponding quantization error; and a feedback filter operable to receive the quantization error and generate the feedback signal, the feedback filter comprising: a first memory element having a first quantization error value from a first cycle; a second memory element having a second quantization error value from a second cycle; a gravity component operable to modify the first quantization error value and modify the second quantization error value to converge the first quantization error value and second quantization error over a plurality of cycles; and a feedback signal generator operable to generate the feedback signal from the modified first quantization error value and modified second quantization error value.
16. The delta sigma modulator of claim 15 wherein the input signal has a first sample rate and the quantized output signal has a second sample rate, which is less than the first sample rate.
17. The delta sigma modulator of claim 15 further comprising a subtractor operable to receive the modified input signal and subtract the quantized output signal to generate a value representing the quantization error.
18. The delta sigma modulator of claim 15 wherein the gravity component is operable to add a gravity value to a lesser of the first quantization error value and the second quantization error value.
19. The delta sigma modulator of claim 15 wherein the gravity component is operable to subtract a gravity value from a greater of the first quantization error value and the second quantization error value.
20. The delta sigma modulator of claim 15 wherein the feedback filter further comprises a third component having a third quantization error value; and wherein the gravity component is further operable to converge the first quantization error value, the second quantization error value and the third quantization error value when the input signal is approximately zero.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1)
(2)
(3)
(4)
(5)
(6)
(7)
(8) The included drawings are for illustrative purposes and serve only to provide examples of possible systems and methods for sensing current in an audio system. These drawings in no way limit any changes in form and detail that may be made to that which is disclosed by one skilled in the art without departing from the spirit and scope of this disclosure.
DETAILED DESCRIPTION
(9) The present disclosure provides systems and methods that address a need for improved noise performance in a delta sigma modulator. Digital sigma delta modulators are popular for achieving high resolution output with fewer bits, and are widely used in data converters, phase locked loops (PLLs) and other applications. It is observed that conventional delta sigma modulators (e.g., as implemented in a class-D amplifier) may generate limited cycle oscillation even as the input becomes very small. Those limited cycle oscillations can create undesirable out of band noise if it is locked into certain oscillating patterns. Out of band noise generated by a sigma-delta modulator may create in-band noise through mixing with other electrical components. Embodiments are disclosed herein to improve the out of band noise performance of a digital sigma delta modulator.
(10) In accordance with various embodiments disclosed herein, a circuit includes a delta-sigma modulator and an error feedback loop. The error feedback loop is operable to apply a gravity effect to certain memory elements to drive an oscillating output of the delta-sigma modulator to zero when the input goes to zero. As a result, out of band noise may be reduced to zero when the input is zero. As disclosed herein, the gravity effect provides a continuous smooth transition from normal modulation of an input signal to zero output, adding no in-band noise or discontinuity during the transition. The delta-sigma modulator disclosed herein may be implemented in variety of delta-sigma circuits, including delta-sigma data converters and phase locked loops, for example.
(11) Referring to
(12) The quantized value v is subtracted from the modified input signal y by subtractor 208 to produce the error E. The error E is fed back to the input signal through the feedback filter 210 and the z-domain output of the feedback filter 210 is combined with the input signal at 212 to produce the modified input signal y. It is observed that the delta-sigma modulator 200 output v will be zero when the input u is zero if the first memory element e.sub.1 (output of delay element 214) and second memory element e.sub.2 (output of delay element 216) are equal. For example, if e.sub.1=e.sub.2=a and the input u to the delta-sigma modulator 200 is zero, then the input to the quantizer 204 will be: 2e.sub.1e.sub.2=2a+a=a. Then e.sub.1 will be equal to a and e.sub.2 will be also be equal to a, and the output v generated by the delta-sigma modulator 200 will be zero. This is a desired pattern that produces a delta-sigma modulator output equal to zero, without undesirable in-band or out-of-band noise.
(13) In various embodiments, a gravity effect is introduced to achieve e.sub.1=e.sub.2 when the input signal u is zero. The gravity effect operates to converge the values e.sub.1 and e.sub.2 when the input signal is zero, without impacting the performance of the delta-sigma modulator 200 for other input values. In one embodiment, for each cycle when new e.sub.1 and e.sub.2 values are calculated, a small value is added to move the memory elements closer. For example, if e.sub.1 is calculated to be 113, while e.sub.2 is calculated to be 3411, then a new e.sub.1 may be adjusted to 114 (added one LSB code from the calculated value 113), while e.sub.2 may be set to be 3410 (reduced one LSB code from calculated value, which is 3411). When e.sub.1 is approximately equal to e.sub.2, both values can be set to zero (or otherwise equivalent value) at the same time without changing the delta-sigma modulator 200 output. The added LSB codes to the memory elements e.sub.1 and e.sub.2 will create some noise, but the added noise is relatively small (for example, 2 LSBs out of 2^24 LSBs), and the effect may be close to white noise, without affecting in-band noise. In other embodiments, a similar gravity effect can be implemented with any order digital delta-sigma modulator by applying the gravity effect to converge multiple error values in accordance with the teachings of the present disclosure.
(14) As illustrated in
(15) In step 302, a new quantization error, E, is received at the error feedback filter and initial values for memory elements e.sub.1 and e.sub.2 are calculated. At step 304, if e.sub.1 equals e.sub.2, both values are set to 0 (step 306) and the transfer function 2e.sub.1+e.sub.2 is applied to the input signal u in step 318. Otherwise, in step 308 if e.sub.1 is greater than e.sub.2+2 times a gravity value g, then the value of e.sub.1 is decremented by g and the value of e.sub.2 is incremented by g (step 310) to slowly converge the values of e.sub.1 and e.sub.2. The transfer function 2e.sub.1+e.sub.2 is applied to the input signal u in step 318 with the new values of e.sub.1 and e.sub.2 from step 310. In step 312, if e.sub.1 is less than or equal to e.sub.22 times the gravity value g, then the value of e.sub.1 is incremented by g and the value of e.sub.2 is decremented by g (step 314) to slowly converge the values of e.sub.1 and e.sub.2. The transfer function 2e.sub.1+e.sub.2 is applied to the input signal u in step 318 with the new values of e.sub.1 and e.sub.2 from step 314. If none of the conditions from steps 304, 308 or 312 are true, then e.sub.1 and e.sub.2 are substantially close (e.g., less than 2 g apart), and in step 316 the value of e.sub.1 is set to e.sub.2. The transfer function 2e.sub.1+e.sub.2 is then applied to the input signal u in step 318 with the new values of e.sub.1 and e.sub.2 from step 316.
(16) The systems and methods disclosed herein provide for a delta-sigma modulator having an output that reliably goes to zero when the input signal is zero or small, without affecting delta-sigma modulator performance when other input signal values are received. Exemplary spectrum output charts for a conventional delta-sigma modulator are illustrated in
(17) In various embodiments, the delta-sigma modulator disclosed herein may be implemented with data converters, frequency synthesizers or other delta-sigma implementations. In some embodiments, the delta-sigma modulator of the present disclosure can provides a signal to subsequent circuit blocks to shut down or enter a low power mode when the delta-sigma modulator output is zero. The disclosed delta-sigma modulator may also work with different order modulators, by driving each error together, such as by converging the memory element values towards an average value or driving the errors towards one or more of the other memory element values.
(18)
(19) Referring to
(20) Where applicable, various embodiments provided by the present disclosure may be implemented using hardware, software, or combinations of hardware and software. Also, where applicable, the various hardware components and/or software components set forth herein may be combined into composite components comprising software, hardware, and/or both without departing from the spirit of the present disclosure. Where applicable, the various hardware components and/or software components set forth herein may be separated into sub-components comprising software, hardware, or both without departing from the scope of the present disclosure. In addition, where applicable, it is contemplated that software components may be implemented as hardware components and vice-versa.
(21) Software, in accordance with the present disclosure, such as program code and/or data, may be stored on one or more computer readable mediums. It is also contemplated that software identified herein may be implemented using one or more general purpose or specific purpose computers and/or computer systems, networked and/or otherwise. Where applicable, the ordering of various steps described herein may be changed, combined into composite steps, and/or separated into sub-steps to provide features described herein.
(22) Embodiments described above illustrate but do not limit the invention. It should also be understood that numerous modifications and variations are possible in accordance with the principles of the present invention. Accordingly, the scope of the invention is defined only by the following claims.