The present invention relates to techniques for converting digital data to an analog signal and controlling the level thereof. According to specific embodiments, such techniques are employed to provide volume control for digital audio amplifiers.
Digital-to-analog conversion may be accomplished using a Wagner switched capacitor DAC architecture. According to this technique, a fixed amount of charge is either added or subtracted at the input of an integrator in response to the state of the bits of a stream of digital data, i.e., the fixed amount of charge is added when a bit represents a “1” and subtracted when a bit represents a “0.” If the bit rate is sufficiently higher than the frequency range of interest, the charge accumulated by the integrator will result in an analog output signal representative of the digital data.
A variety of techniques have been conventionally employed to control the level of such an analog signal. For example, U.S. Pat. Nos. 6,127,893 and 6,693,491 (both of which are incorporated herein by reference for all purposes) both describe techniques for controlling the level of an audio signal in which the analog version of the signal is introduced into some variation of an R-2R network. These techniques are extremely effective, but consume valuable die area.
In addition, where the analog level being controlled has been derived from digital data, the range of volume control achieved in the analog domain may result in correspondingly deleterious effects on the fidelity of the analog signal generated. For example, in audio applications volume attenuation in the analog domain requires that the resolution of the digital data must be correspondingly increased to retain the same sound quality. For a typical 24 dB range of volume control, the resolution of the digital data would require four additional bits of resolution to offset the effects of attenuation in the analog domain. The impact of these four additional bits on the area consumed by the digital circuitry as well as the computational overhead associated with operation of the circuitry is significant.
It is therefore desirable to provide alternative techniques for controlling the level of an analog signal.
According to the present invention, various methods and apparatus are provided for controlling the level of an analog signal. According to a first embodiment, a method for converting a digital data stream to an analog signal is provided. Charge is added to and subtracted from an input of an integrator in a manner representative of the digital data stream thereby generating the analog signal at an output of the integrator. The amount of charge corresponds to an output level of the analog signal. The amount of charge is varied thereby controlling the output level of the analog signal.
According to another embodiment, a digital-to-analog converter (DAC) is provided which includes an integrator and at least one switched capacitor circuit. The at least one switched capacitor circuit is operable to add and subtract an amount of charge to an input of the integrator in a manner representative of a digital data stream. The switched capacitor circuit is further operable to alternately employ each of a plurality of different capacitance values to accumulate the amount of charge. Each of the different capacitance values results in a different value for the amount of charge, and therefore a different output level of the integrator.
According to yet another embodiment, a DAC is provided which includes an integrator and a switched capacitor circuit. The switched capacitor circuit is operable to add and subtract an amount of charge to the integrator in a manner representative of a digital data stream. The switched capacitor circuit is further operable to alternately employ one of a plurality of different reference voltages to accumulate the amount of charge. Each of the plurality of reference voltages results in a different value for the amount of charge, and therefore a different output level of the integrator.
According to still another embodiment, a DAC is provided which includes an integrator and a switched capacitor circuit. The switched capacitor circuit is operable to add and subtract an amount of charge to the integrator in a manner representative of a digital data stream. The switched capacitor circuit is further operable to alternately employ one of a plurality of clock signals having different frequencies to accumulate the amount of charge. Each of the plurality of clock signals results in a different value for the amount of charge, and therefore a different output level of the integrator.
A further understanding of the nature and advantages of the present invention may be realized by reference to the remaining portions of the specification and the drawings.
Reference will now be made in detail to specific embodiments of the invention including the best modes contemplated by the inventors for carrying out the invention. Examples of these specific embodiments are illustrated in the accompanying drawings. While the invention is described in conjunction with these specific embodiments, it will be understood that it is not intended to limit the invention to the described embodiments. On the contrary, it is intended to cover alternatives, modifications, and equivalents as may be included within the spirit and scope of the invention as defined by the appended claims. In the following description, specific details are set forth in order to provide a thorough understanding of the present invention. The present invention may be practiced without some or all of these specific details. In addition, well known features may not have been described in detail to avoid unnecessarily obscuring the invention.
Charge from fixed positive and negative voltage references Vref_p and Vref_n is stored in capacitors C1 and C2 (which have the same value) during the first half of a clock cycle, i.e., Φ1, through the action of switches 104-107 which connect C1 between Vref_p and the common mode voltage Vcm, and C2 between Vref_n and Vcm. During the second half of the clock cycle, i.e., Φ2, the charge from one of the capacitors is added or subtracted at the inverting input of integrator 101 through the action of switches 108 and 109 and one of switches 110 and 111 depending on whether the 1-bit data (represented by complementary signals D and D′) are high or low. The alternating nature of switches 110 and 111 is represented in the figure by the logical AND'ing of D and D′ with Φ2.
The quantum of charge being added or subtracted at the inverting input of integrator 101 (and thus the level of the output signal) is proportional to the capacitance value of C1 and C2. Therefore, according to a specific embodiment of the invention shown in
As represented by the gating of data signals D and D′ via multiplexers 202 and 203, only one of modules 102 is enabled at a given time to add or subtract charge to integrator 204 depending on the desired output level. It will be understood that this representation is merely exemplary, and that the mechanism by which the selected module is enabled may vary considerably. As indicated, an arbitrary number of modules 102 may be included. Also, the relative sizes of the various pairs of capacitors in the various modules 102 may vary according to the desired precision of output level control.
It should be noted that the present invention is not limited by the embodiment shown and described above with reference to
The quantum of charge being added or subtracted at the inverting input of integrator 101 of
The quantum of charge being added or subtracted at the inverting input of integrator 101 of
Because level control is achieved in the conversion from the digital domain to analog domain there is no need to provide additional bits of resolution in the digital domain to achieve some minimum standard of fidelity in the output signal. As will be understood, this results in a tremendous savings in die area as compared to implementations in which such additional bits and their attendant circuitry are required. Elimination of the need to provide separate level control circuitry results in further area savings.
While the invention has been particularly shown and described with reference to specific embodiments thereof, it will be understood by those skilled in the art that changes in the form and details of the disclosed embodiments may be made without departing from the spirit or scope of the invention. For example, embodiments of the invention are contemplated in which various combinations of the embodiments described above are employed. In one set of embodiments, both the capacitances and voltage references are varied to achieve level control. In another set of embodiments, both the voltage and clock frequencies are varied to achieve level control. In fact, any combination of these parameters may be varied and remain within the scope of the invention.
It should also be understood that embodiments of the present invention may be used in any of a wide variety of applications for which level control of the output of a digital-to-analog converter is desirable. One class of applications implements volume control for digital audio amplifiers. In particular, a digital amplifier design with which the present invention may be employed is described in U.S. Pat. No. 5,777,512, the entire disclosure of which is incorporated herein by reference for all purposes.
And as mentioned above, the technique of the present invention may be employed in a wide variety of applications beyond audio. This includes, for example, motor control applications, power factor correction, switching regulators, resonant mode switching, uninterrupted power supplies, etc; potentially thousands of applications. Therefore, although specific embodiments are described herein, it will be understood that the present invention may be optimized for use in many different applications.
In addition, although various advantages, aspects, and objects of the present invention have been discussed herein with reference to various embodiments, it will be understood that the scope of the invention should not be limited by reference to such advantages, aspects, and objects. Rather, the scope of the invention should be determined with reference to the appended claims.
The present application claims priority under 35 U.S.C. 119(e) to U.S. Provisional Patent Application No. 60/495,747 for ANALOG VOLUME CONTROL filed on Aug. 14, 2003 (Attorney Docket No. TRIPP041P) the entire disclosure of which is incorporated herein by reference for all purposes.
Number | Date | Country | |
---|---|---|---|
60495747 | Aug 2003 | US |