POWER-SAVING CURRENT-MODE DIGITAL-TO-ANALOG CONVERTER (DAC)
20180175879 ยท 2018-06-21
Assignee
Inventors
Cpc classification
H03M1/68
ELECTRICITY
H03M1/742
ELECTRICITY
H03M3/504
ELECTRICITY
International classification
Abstract
A digital-to-analog converter (DAC) for an audio system in a media device, such as a portable media device or smart phone, may be operated to turn off portions of the DAC to reduce power consumption. Segments of a segment-able DAC may be powered off when the output level of the DAC is lower than the full scale output of the DAC. For example, DAC elements within a finite impulse response (FIR) DAC may be turned off when a desired output level can be obtained with less than all DAC elements of the FIR DAC.
Claims
1. A method of operating a finite impulse response (FIR) digital-to-analog converter (DAC) with two or more DAC segments, comprising: determining a first portion of the two or more DAC segments sufficient to generate an output signal based, at least in part, on an envelope of an input signal; and powering off a second portion of the two or more DAC segments not in the first portion of the two or more DAC segments.
2. The method of claim 1, further comprising: powering on the second portion of the two or more DAC segments; and repeating the steps of determining the first portion and powering off the second portion, wherein the repeating of the steps of determining the first portion and powering off the second portion dynamically controls a power output of the FIR DAC during playback of media.
3. The method of claim 1, wherein the step of determining the first portion of the two or more DAC segments is based, at least in part, on a transient envelope of the input signal.
4. The method of claim 1, wherein the step of powering off the second portion of the two or more DAC segments comprises: powering off a first fraction of a plurality of elements within the second portion of the two or more DAC segments; and powering off a second fraction of the plurality of elements within the second portion of the two or more DAC segments after powering off the first fraction.
5. The method of claim 1, wherein the step of powering off the second portion of the two or more DAC segments comprises providing a dump code to the second portion of the two or more DAC segments.
6. The method of claim 5, wherein the step of powering off the second portion of the two or more DAC segments comprises: shunting output to ground from switch elements of the second portion of the two or more DAC segments in response to the dump code; and disconnecting a power supply from the switch elements shunted to ground.
7. The method of claim 6, wherein the step of powering down the second portion of the two or more DAC segments comprises: reducing a clock rate of at least some switch elements of the second portion of the two or more DAC segments in response to the dump code.
8. The method of claim 5, wherein the step of powering off the second portion of the two or more DAC segments comprises applying a step input to the first portion of the two or more DAC segments, wherein the step input is opposite of a calibrated offset of the second portion of the two or more DAC segments.
9. The method of claim 5, further comprising calibrating the second portion of the two or more DAC segments after the second portion is powered off.
10. The method of claim 9, further comprising: powering on the second portion of the two or more DAC segments; after powering on the second portion of the two or more DAC segments, determining a third portion of the two or more DAC segments sufficient to generate the output signal based, at least in part, on a second envelope of the input signal; after determining the third portion, powering off a fourth portion of the two or more DAC segments; and after powering off the fourth portion of the two or more DAC segments, calibrating the fourth portion of the two or more DAC segments, wherein the fourth portion is different from the second portion.
11. The method of claim 1, wherein the step of powering off the second portion of the two or more DAC segments comprises providing a zero code to the second portion of the two or more DAC segments.
12. The method of claim 11, wherein the step of powering off the second portion of the two or more DAC segments comprises: modulating switch elements of the second portion of the two or more DAC segments between ground and an output node in response to the zero code; and disconnecting a power supply from the switch elements.
13. The method of claim 1, wherein the step of powering off the second portion of the two or more DAC segments comprises powering off a plurality of cascade switch within the second portion of the two or more DAC segments.
14. The method of claim 1, wherein the step of powering off the second portion of the two or more DAC segments comprises switch off a plurality of mirror switches within the second portion of the two or more DAC segments.
15. The method of claim 1, further comprising the step of buffering the input signal to obtain a buffered input signal, wherein the step of determining the first portion of the two or more DAC segments is based, at least in part, on an envelope of the buffered input signal.
16. The method of claim 1, wherein the input signal comprises a high fidelity audio signal.
17. A finite impulse response (FIR) digital-to-analog converter (DAC), comprising: two or more DAC segments; a controller coupled to the two or more DAC segments and configured to perform steps comprising: determining a first portion of the two or more DAC segments sufficient to generate an output signal based, at least in part, on an envelope of an input signal; and powering off a second portion of the two or more DAC segments not in the first portion of the two or more DAC segments.
18. The apparatus of claim 17, wherein the controller is further configured to perform steps comprising: powering on the second portion of the two or more DAC segments; and repeating the steps of determining the first portion and powering off the second portion, wherein the repeating of the steps of determining the first portion and powering off the second portion dynamically controls a power output of the FIR DAC during playback of media.
19. The apparatus of claim 17, wherein the step of determining the first portion of the two or more DAC segments is based, at least in part, on a transient envelope of the input signal.
20. The apparatus of claim 17, wherein the step of powering off the second portion of the two or more DAC segments comprises: powering off a first fraction of a plurality of elements within the second portion of the two or more DAC segments; and powering off a second fraction of the plurality of elements within the second portion of the two or more DAC segments after powering off the first fraction.
21. The apparatus of claim 17, wherein the step of powering off the second portion of the two or more DAC segments comprises providing a dump code to the second portion of the two or more DAC segments.
22. The apparatus of claim 21, wherein the step of powering off the second portion of the two or more DAC segments comprises: shunting output to ground from switch elements of the second portion of the two or more DAC segments in response to the dump code; and disconnecting a power supply from the switch elements shunted to ground.
23. The apparatus of claim 22, wherein the step of powering down the second portion of the two or more DAC segments comprises: reducing a clock rate of at least some switch elements of the second portion of the two or more DAC segments in response to the dump code.
24. The apparatus of claim 21, wherein the step of powering off the second portion of the two or more DAC segments comprises applying a step input to the first portion of the two or more DAC segments, wherein the step input is opposite of a calibrated offset of the second portion of the two or more DAC segments.
25. The apparatus of claim 21, wherein the controller is configured to perform steps comprising calibrating the second portion of the two or more DAC segments after the second portion is powered off.
26. The apparatus of claim 25, wherein the controller is further configured to perform steps comprising: powering on the second portion of the two or more DAC segments; after powering on the second portion of the two or more DAC segments, determining a third portion of the two or more DAC segments sufficient to generate the output signal based, at least in part, on a second envelope of the input signal; after determining the third portion, powering off a fourth portion of the two or more DAC segments; and after powering off the fourth portion of the two or more DAC segments, calibrating the fourth portion of the two or more DAC segments, wherein the fourth portion is different from the second portion.
27. The apparatus of claim 17, wherein the step of powering off the second portion of the two or more DAC segments comprises providing a zero code to the second portion of the two or more DAC segments.
28. The apparatus of claim 27, wherein the step of powering off the second portion of the two or more DAC segments comprises: modulating switch elements of the second portion of the two or more DAC segments between ground and an output node in response to the zero code; and disconnecting a power supply from the switch elements.
29. The apparatus of claim 17, wherein the step of powering off the second portion of the two or more DAC segments comprises powering off a plurality of cascade switch within the second portion of the two or more DAC segments.
30. The apparatus of claim 17, wherein the step of powering off the second portion of the two or more DAC segments comprises switch off a plurality of mirror switches within the second portion of the two or more DAC segments.
31. The apparatus of claim 17, further comprising a buffer coupled to the input node, wherein the buffer is configured to buffer the input signal to obtain a buffered input signal, wherein the step of determining the first portion of the two or more DAC segments is based, at least in part, on an envelope of the buffered input signal.
32. The apparatus of claim 17, wherein the input signal comprises a high fidelity audio signal.
33. An audio processing system, comprising: an input node configured to receive a digital audio signal; a finite impulse response (FIR) digital-to-analog converter (DAC) comprising two or more DAC segments configured to convert the digital audio signal to an analog audio signal; an amplifier coupled to an output of the FIR DAC and configured to amplify the analog audio signal to produce an amplified analog audio signal; an output node configured to output the amplified analog audio signal to drive a transducer; and an audio controller coupled to the FIR DAC and configured to perform steps comprising: determining a first portion of the two or more DAC segments sufficient to generate an output signal based, at least in part, on an envelope of an input signal; and powering off a second portion of the two or more DAC segments not in the first portion of the two or more DAC segments.
34. The apparatus of claim 33, wherein the step of powering off the second portion of the two or more DAC segments comprises: powering off a first fraction of a plurality of elements within the second portion of the two or more DAC segments; and powering off a second fraction of the plurality of elements within the second portion of the two or more DAC segments after powering off the first fraction.
35. The apparatus of claim 33, wherein the step of powering off the second portion of the two or more DAC segments comprises providing a dump code to the second portion of the two or more DAC segments.
36. The apparatus of claim 33, wherein the step of powering off the second portion of the two or more DAC segments comprises providing a zero code to the second portion of the two or more DAC segments.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0010] For a more complete understanding of the disclosed system and methods, reference is now made to the following descriptions taken in conjunction with the accompanying drawings.
[0011]
[0012]
[0013]
[0014]
[0015]
[0016]
[0017]
[0018]
[0019]
[0020]
[0021]
[0022]
[0023]
DETAILED DESCRIPTION
[0024] One digital-to-analog converter (DAC) configuration suitable for controlling power consumption is a finite impulse response (FIR) digital-to-analog converter (DAC), although other segment-able DACs may also benefit from aspects of this disclosure.
[0025] The DAC elements 106A-N may consume power whether receiving a zero or a one bit. That is, the DAC elements 106A-N may consume power even when not contributing to the output signal at output node 108. Although the DAC elements 106A-N are not contributing current to the sum node 110, the DAC elements 106A-N are usually dumping current to ground. Thus, power is consumed when the DAC elements 106A-N receive a zero or one bit. When a low amplitude signal is present, such as for low volume portions of music files, some of the DAC elements 106A-N may be powered off to reduce this wasted power. In one example configuration, the DAC elements 106A-N may be grouped into DAC segments, and those DAC segments powered on or powered off based on a desired amplitude level of an output analog signal. A FIR DAC with multiple DAC segments is shown in
[0026]
[0027]
[0028]
[0029] A FIR DAC with a controller that can be configured to power off portions of the FIR DAC (e.g., DAC elements or DAC segments) in accordance with the example of
[0030] One method for powering off a DAC segment is to transmit dump codes to the DAC segment. An example operation of this method is described with reference to
[0031] The powering off of multiple DAC elements at the same time may cause problems due to capacitive coupling with the DAC elements being powered off. These problems may be reduced by powering off the unused DAC elements in groups, rather than all at the same time. For example, referring to
[0032] The powering down of some DAC elements may also cause problems with offset calibration. When some of the DAC elements are powered off, any offset from the powered on DAC elements may begin to appear at the output node. This offset problem may be reduced by providing a step input on a modulator opposite to the calibrated offset of the DAC elements being powered off. When the powered on DAC elements and powered off DAC elements are clocked at approximately the same rate, the change at the modulator will propagate through the DAC elements equally.
[0033] One method for powering off a DAC segment is to transmit zero codes to the DAC segment. An example operation of this method is described with reference to
[0034] If an offset would arise or does arise as a result of zeroing out the unused DAC elements, a calibrated inverse offset pattern can instead be output by the controller to the unused DAC elements to allow the output offset to be calibrated out. In one configuration implementing such offset reduction, a step may be added to a modulator input equal to an offset of a DAC element, such that the remaining DAC elements will then be able to reproduce the offset of the powered off DAC element. One example operation of the offset reduction is shown in
[0035] One example DAC element of a FIR DAC is shown in
[0036] One example of an electronic device incorporating the power-saving DAC techniques and systems described herein is shown in
[0037] A set volume for the playback of audio may be used to power off some DAC segments and/or DAC elements in a FIR DAC. For example, a volume level set by a user on a personal media device through, for example, a touch screen input or a physical volume button input, may be used as a basis to power off some DAC segments and/or DAC elements. A method for controlling a FIR DAC based on volume level is shown in
[0038] Buffering may be used to provide data regarding sound levels in advance of the data receiving the DAC. This may allow the DAC to begin compensating in advance of rapid changes in sound level of audio being played back. One example configuration for buffering is shown in
[0039] The schematic flow chart diagrams of
[0040] The operations described above as performed by a controller or other modules or circuitry may be performed by any circuit configured to perform the described operations. Such a circuit may be an integrated circuit (IC) constructed on a semiconductor substrate and include logic circuitry, such as transistors configured as logic gates, and memory circuitry, such as transistors and capacitors configured as dynamic random access memory (DRAM), electronically programmable read-only memory (EPROM), or other memory devices. The logic circuitry may be configured through hard-wire connections or through programming by instructions contained in firmware. Further, the logic circuitry may be configured as a general purpose processor capable of executing instructions contained in software. In some embodiments, the integrated circuit (IC) that is the controller may include other functionality. For example, the controller IC may include an audio coder/decoder (CODEC) along with circuitry for performing the functions described herein. Such an IC is one example of an audio controller. Other audio functionality may be additionally or alternatively integrated with the IC circuitry described herein to form an audio controller.
[0041] If implemented in firmware and/or software, functions described above may be stored as one or more instructions or code on a computer-readable medium. Examples include non-transitory computer-readable media encoded with a data structure and computer-readable media encoded with a computer program. Computer-readable media includes physical computer storage media. A storage medium may be any available medium that can be accessed by a computer. By way of example, and not limitation, such computer-readable media can comprise random access memory (RAM), read-only memory (ROM), electrically-erasable programmable read-only memory (EEPROM), compact disc read-only memory (CD-ROM) or other optical disk storage, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to store desired program code in the form of instructions or data structures and that can be accessed by a computer. Disk and disc includes compact discs (CD), laser discs, optical discs, digital versatile discs (DVD), floppy disks and Blu-ray discs. Generally, disks reproduce data magnetically, and discs reproduce data optically. Combinations of the above should also be included within the scope of computer-readable media.
[0042] In addition to storage on computer readable medium, instructions and/or data may be provided as signals on transmission media included in a communication apparatus. For example, a communication apparatus may include a transceiver having signals indicative of instructions and data. The instructions and data are configured to cause one or more processors to implement the functions outlined in the claims.
[0043] Although the present disclosure and certain representative advantages have been described in detail, it should be understood that various changes, substitutions and alterations can be made herein without departing from the spirit and scope of the disclosure as defined by the appended claims. Moreover, the scope of the present application is not intended to be limited to the particular embodiments of the process, machine, manufacture, composition of matter, means, methods and steps described in the specification. For example, although digital-to-analog converters (DACs) are described throughout the detailed description, aspects of the invention may be applied to the design of other converters, such as analog-to-digital converters (ADCs) and digital-to-digital converters, or other circuitry and components based on delta-sigma modulation. As another example, although digital signal processors (DSPs) or audio controllers are described throughout the detailed description, aspects of the invention may be applied to the design of other processors, such as graphics processing units (GPUs) and central processing units (CPUs). Further, although ones (1s) and zeros (0s) or highs and lows are given as example bit values throughout the description, the function of ones and zeros may be reversed without change in operation of the processor described in embodiments above. As another example, although processing of audio data is described, other data may be processed through the filters and other circuitry described above. As a further example, although FIR DACs are described in examples herein, the power saving techniques described herein may be applied to other DACs with segment-able elements. As one of ordinary skill in the art will readily appreciate from the present disclosure, processes, machines, manufacture, compositions of matter, means, methods, or steps, presently existing or later to be developed that perform substantially the same function or achieve substantially the same result as the corresponding embodiments described herein may be utilized. Accordingly, the appended claims are intended to include within their scope such processes, machines, manufacture, compositions of matter, means, methods, or steps.