GAIN CONTROL IN A CLASS-D OPEN-LOOP AMPLIFIER
20200036352 ยท 2020-01-30
Assignee
Inventors
- Lei Zhu (Austin, TX, US)
- Tejasvi Das (Austin, TX, US)
- John L. Melanson (Austin, TX)
- Wai-shun Wilson Shum (Austin, TX, US)
- Jing Bai (Austin, TX, US)
- Xin Zhao (Austin, TX)
- Xiaofan Fei (Austin, TX)
Cpc classification
H03F3/2175
ELECTRICITY
H03G3/3005
ELECTRICITY
H03F2200/351
ELECTRICITY
International classification
Abstract
A system may include a digital modulator configured to modulate an input signal received at an input of the digital modulator to generate a modulated input signal at an output of the digital modulator, a digital gain element having a digital gain and coupled to the digital modulator, an open-loop Class-D amplifier coupled to an output of the digital modulator and configured to amplify the modulated input signal, wherein the open-loop Class-D amplifier is powered from a variable power supply having a variable supply voltage which is variable in response to one or more characteristics of the input signal, and a control circuit configured to control the digital gain to approximately cancel changes in an analog gain of the open-loop Class-D amplifier due to variation in the variable supply voltage in response to the one or more characteristics of the input signal.
Claims
1. A system comprising: a digital modulator configured to modulate an input signal received at an input of the digital modulator to generate a modulated input signal at an output of the digital modulator; a digital gain element having a digital gain and coupled to the digital modulator; an open-loop Class-D amplifier coupled to an output of the digital modulator and configured to amplify the modulated input signal, wherein the open-loop Class-D amplifier is powered from a variable power supply having a variable supply voltage which is variable in response to one or more characteristics of the input signal; and a control circuit configured to control the digital gain to approximately cancel changes in an analog gain of the open-loop Class-D amplifier due to a variation in the variable supply voltage in response to the one or more characteristics of the input signal.
2. The system of claim 1, wherein the digital gain element is integral to a feedback path of the digital modulator coupled between the output of the digital modulator and the input of the digital modulator.
3. The system of claim 1, wherein the digital gain element applies the digital gain to the input of the digital modulator.
4. The system of claim 1, wherein the control circuit is configured to control the digital gain by: monitoring the variable supply voltage; and controlling the digital gain based on the variation in the variable supply voltage as detected by the monitoring of the variable supply voltage.
5. The system of claim 4, wherein the control circuit comprises: an analog front end coupled to the variable power supply; and an analog-to-digital converter coupled to the analog front end.
6. The system of claim 4, wherein the control circuit is configured to control the digital gain by: applying the one or more characteristics of the input signal as an index to a gain lookup table; and setting the digital gain in accordance to an entry of the gain lookup table indexed by the one or more characteristics.
7. The system of claim 1, wherein the control circuit is configured to control the digital gain by: applying the one or more characteristics of the input signal as an index to a gain lookup table; and setting the digital gain in accordance to an entry of the gain lookup table indexed by the one or more characteristics.
8. The system of claim 1, wherein the variable power supply operates in a plurality of modes comprising a quick-charge mode in which the variable supply voltage is substantially instantaneously modified to a new value wherein the new value is based on the one or more characteristics of the input signal.
9. The system of claim 8, wherein the plurality of modes further comprises a second mode in which the variable supply voltage is modified to the new value, wherein the rate of modification to the new value is limited to a slew rate.
10. The system of claim 1, wherein the one or more characteristics of the input signal comprise one or more of a magnitude of the input signal, a signal frequency of the input signal, and a signal ramp rate of the input signal.
11. A method comprising, in a system having a digital modulator configured to modulate an input signal received at an input of the digital modulator to generate a modulated input signal at an output of the digital modulator, a digital gain element having a digital gain and coupled to the digital modulator, and an open-loop Class-D amplifier coupled to an output of the digital modulator and configured to amplify the modulated input signal, wherein the open-loop Class-D amplifier is powered from a variable power supply having a variable supply voltage which is variable in response to one or more characteristics of the input signal: controlling the digital gain to approximately cancel changes in an analog gain of the open-loop Class-D amplifier due to a variation in the variable supply voltage in response to the one or more characteristics of the input signal.
12. The method of claim 11, wherein the digital gain element is integral to a feedback path of the digital modulator coupled between the output of the digital modulator and the input of the digital modulator.
13. The method of claim 11, wherein the digital gain element applies the digital gain to the input of the digital modulator.
14. The method of claim 11, wherein controlling the digital gain comprises: monitoring the variable supply voltage; and controlling the digital gain based on the variation in the variable supply voltage as detected by the monitoring of the variable supply voltage.
15. The method of claim 14, wherein monitoring the variable supply voltage comprises: receiving the variable supply voltage by an analog front end; and converting the variable supply voltage as conditioned by the analog front end to an equivalent digital signal with an analog-to-digital converter coupled to the analog front end.
16. The method of claim 14, wherein controlling the digital gain comprises: applying the one or more characteristics of the input signal as an index to a gain lookup table; and setting the digital gain in accordance to an entry of the gain lookup table indexed by the one or more characteristics.
17. The method of claim 11, wherein controlling the digital gain comprises: applying the one or more characteristics of the input signal as an index to a gain lookup table; and setting the digital gain in accordance to an entry of the gain lookup table indexed by the one or more characteristics.
18. The method of claim 11, wherein the variable power supply operates in a plurality of modes comprising a quick-charge mode in which the variable supply voltage is substantially instantaneously modified to a new value wherein the new value is based on the one or more characteristics of the input signal.
19. The method of claim 18, wherein the plurality of modes further comprises a second mode in which the variable supply voltage is modified to the new value, wherein the rate of modification to the new value is limited to a slew rate.
20. The method of claim 11, wherein the one or more characteristics of the input signal comprise one or more of a magnitude of the input signal, a signal frequency of the input signal, and a signal ramp rate of the input signal.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0010] A more complete understanding of the present embodiments and advantages thereof may be acquired by referring to the following description taken in conjunction with the accompanying drawings, in which like reference numbers indicate like features, and wherein:
[0011]
[0012]
[0013]
[0014]
DETAILED DESCRIPTION
[0015]
[0016]
[0017] The foregoing contemplates that an audio IC 9 including an amplifier 16 may reside within personal audio device 1. However, in some embodiments, such as when headset 3 is a wireless headset, amplifier 16 and one or more other components of audio IC 9 may reside within headset 3.
[0018]
[0019] As shown, PWM amplifier 22 may operate as a digital open-loop class-D amplifier, utilizing the signal path formed by digital PWM subsystem 24, pre-driver stage 33, and driver stage 34. Digital PWM subsystem 24 may comprise any suitable system, device, or apparatus for converting input signal V.sub.IN into an equivalent PWM signal. As shown in
[0020] Loop filter 40 may comprise any system, device, or apparatus configured to receive an input signal (e.g., input signal V.sub.IN or a derivative thereof) and a feedback signal (e.g., output of quantizer 44) and based on such input signal and feedback signal, generate a filtered input signal to be communicated to quantizer 44. In some embodiments, such filtered input signal may comprise a signal indicative of an integrated error between the input signal and the feedback signal.
[0021] Quantizer 44 may comprise any system, device, or apparatus configured to quantize a signal (e.g., the filtered input signal) to generate an equivalent digital PWM signal.
[0022] Digital gain element 46 may comprise any system, device, or apparatus configured to have a variable digital gain and apply such variable digital gain to the digital PWM signal output by quantizer 44 to generate a feedback signal to loop filter 40. As shown in
[0023] Pre-driver stage 33 may comprise any system, device, or apparatus configured to receive a quantized PWM signal (e.g., as generated by digital PWM subsystem 24) and condition such signal for driver stage 34. Accordingly, pre-driver stage 33 may comprise a signal buffer and/or other logic elements to provide control of gate terminals of switches of driver stage 34.
[0024] Driver stage 34 may comprise any system, device, or apparatus configured to receive a quantized PWM signal (e.g., as generated by digital PWM subsystem 24 and conditioned by pre-driver stage 33) and drive an output signal to a transducer (e.g., an audio transducer, haptic transducer, or other transducer). Accordingly, driver stage 34 may comprise a plurality of output switches configured to generate output signal V.sub.OUT from a modulated signal generated by digital PWM subsystem 24.
[0025] As shown in
[0026] Control subsystem 30 may include any system, device, or apparatus configured to receive an input signal (e.g., input signal V.sub.IN) and based on one or more characteristics of the input signal, control a variable supply voltage (e.g., supply voltage V.sub.DD) generated by an LDO regulator (e.g., LDO regulator 32), using LDO control block 54 of signal detect circuit 50. Such one or more characteristics of the input signal comprise one or more of a magnitude of the input signal, a signal frequency of the input signal, and a signal ramp rate (e.g., a rate of increase or decrease of the magnitude) of the input signal. For example, when the one or more characteristics of the input signal comprise one or more of a magnitude of the input signal, the variable supply voltage may track a signal envelope of the input signal.
[0027] In addition or alternatively, control subsystem 30 may also be configured to monitor the variable supply voltage (e.g., supply voltage V.sub.DD) and control the variable digital gain of digital gain element 46 based on variation in the variable supply voltage as detected by the monitoring of the variable supply voltage. For example, as variable supply voltage V.sub.DD increases, an analog gain of driver stage 34 may increase, and such increase in analog gain may be compensated by control subsystem 30 detecting the increase in variable supply voltage/analog gain and decreasing the variable digital gain of digital gain element 46 in response. Likewise, as variable supply voltage V.sub.DD decreases, the analog gain of driver stage 34 may decrease, and such decrease in analog gain may be compensated by control subsystem 30 detecting the decrease in variable supply voltage/analog gain and increasing the variable digital gain of digital gain element 46 in response. In order to provide such monitoring and control, control subsystem 30 may include an analog front end (AFE) 62 coupled to LDO regulator 32 for receiving supply voltage V.sub.DD and conditioning the sensed supply voltage V.sub.DD and outputing the conditioned supply voltage V.sub.DD to an analog-to-digital converter 64 coupled to AFE 62, which may be configured to convert the conditioned supply voltage signal to an equivalent digital signal which may be used to control the variable digital gain of gain element 46. Thus, control subsystem 30 may be configured to control the digital gain of digital gain element 46 to approximately cancel changes in an analog gain of the open-loop Class-D amplifier (PWM amplifier 22) due to a variation in the variable supply voltage (supply voltage V.sub.DD) in response to the one or more characteristics of the input signal (e.g., one or more of a magnitude of the input signal, a signal frequency of the input signal, and a signal ramp rate of the input signal, as discussed in greater detail elsewhere in this disclosure).
[0028] In addition or alternatively, control subsystem 30 may also be configured to detect, with signal detect circuit 50, one or more characteristics of input signal V.sub.IN (e.g., one or more of a magnitude of the input signal, a signal frequency of the input signal, and a signal ramp rate of the input signal) and apply the one or more characteristics of the input signal as an index to a gain lookup table 52 in order to set the variable digital gain of gain element 46 in accordance with the entry of the gain lookup table 52 indexed by the one or more characteristics. The various entries may include values of digital gain that may be applied to compensate for changes in supply voltage V.sub.DD made by control subsystem 30 in response to the one or more characteristics of input signal V.sub.IN. For example, the table below represents an example embodiment of gain lookup table 52:
TABLE-US-00001 Signal level Digital Gain (dB) V.sub.DD (V) [, 15 dBv] 0 0.5 [15 dBv, 6 dBv] 3 0.7 [6 dBv, 0] 6 1
[0029] As shown in the example table above, a magnitude range (e.g., to 15 dBv, 15 dBv to 6 dBv, 6 dBv to 0) of the signal level of input signal V.sub.IN may be used as an index to an entry gain lookup table 52, wherein the entry may include a digital gain to be applied by gain element 46 and a corresponding supply voltage V.sub.DD to be output by LDO regulator 32.
[0030] In some embodiments, as noted above, a signal frequency and/or signal ramp rate of input signal V.sub.IN may be used to set the digital gain of gain element 46 and the corresponding supply voltage V.sub.DD to be output by LDO regulator 32. For example, if signal frequency of input signal V.sub.IN is lower than a threshold frequency and the signal ramp rate of input signal V.sub.IN is below a threshold ramp rate, signal detect circuit 50 may simply apply a digital gain of gain element 46 and the corresponding supply voltage V.sub.DD to be output by LDO regulator 32 based on signal-level indexed entries as set forth in the table below. However, in such example, if signal frequency of input signal V.sub.IN is higher than the threshold frequency or the signal ramp rate of input signal V.sub.IN is above a threshold ramp rate, signal detect circuit 50 may apply the lowest digital gain of gain element 46 and the corresponding highest supply voltage V.sub.DD to be output by LDO regulator 32 (e.g., apply the last row of gain lookup table 52 when either or both of the signal frequency and the signal ramp rate is above their respective thresholds).
[0031] In some embodiments, PWM amplifier 22 may include the functionality relating to monitoring supply voltage V.sub.DD and modifying the variable digital gain based on such monitoring, but may not include the functionality relating to selecting a digital gain from gain lookup table 52 based on input voltage V.sub.IN. In other embodiments, PWM amplifier 22 may not include the functionality relating to monitoring supply voltage V.sub.DD and modifying the variable digital gain based on such monitoring, but may include the functionality relating selecting a digital gain from gain lookup table 52 based on input voltage V.sub.IN.
[0032] In yet other embodiments, PWM amplifier 22 may include the functionality relating to monitoring supply voltage V.sub.DD and modifying the variable digital gain based on such monitoring, as well as include the functionality relating to selecting a digital gain from gain lookup table 52 based on input voltage V.sub.IN. In some of such embodiments, the functionality relating to selecting a digital gain from gain lookup table 52 based on input voltage V.sub.IN may be used to set a coarse digital gain level for gain element 46 and the functionality relating to monitoring supply voltage V.sub.DD and modifying the variable digital gain based on such monitoring may be used to set a fine digital gain level for gain element 46 that refines the coarse setting defined by gain lookup table 52.
[0033] In some embodiments, PWM modulation amplifier 22 may represent a portion of a larger reconfigurable PWM modulation amplifier, such as the reconfigurable PWM modulation amplifier disclosed in U.S. patent application Ser. No. 16/133,045, filed Sep. 17, 2018, and incorporated by reference herein.
[0034]
[0035] In particular, one difference between PWM amplifier 22A and PWM amplifier 22 is that PWM amplifier 22A includes a gain element 46A which applies a variable digital gain to the input of digital PWM subsystem 24 (e.g., to input voltage V.sub.IN) in lieu of gain element 46 of PWM amplifier 22. As is the case with PWM amplifier 22, control subsystem 30 may generate control signals to control the variable digital gain 46A, in order to compensate for changes in analog gain of driver stage 34 caused by variation of variable supply voltage V.sub.DD responsive to one or more characteristics of input voltage V.sub.IN.
[0036] Although the foregoing contemplates use of PWM amplifiers 22 and 22A for use in an audio amplifier for driving an audio transducer, it is understood that PWM amplifiers 22 and 22A may be used in other types of amplifiers for driving other types of transducers, including without limitation an amplifier for driving a haptic transducer.
[0037] As used herein, when two or more elements are referred to as coupled to one another, such term indicates that such two or more elements are in electronic communication or mechanical communication, as applicable, whether connected indirectly or directly, with or without intervening elements.
[0038] This disclosure encompasses all changes, substitutions, variations, alterations, and modifications to the example embodiments herein that a person having ordinary skill in the art would comprehend. Similarly, where appropriate, the appended claims encompass all changes, substitutions, variations, alterations, and modifications to the example embodiments herein that a person having ordinary skill in the art would comprehend. Moreover, reference in the appended claims to an apparatus or system or a component of an apparatus or system being adapted to, arranged to, capable of, configured to, enabled to, operable to, or operative to perform a particular function encompasses that apparatus, system, or component, whether or not it or that particular function is activated, turned on, or unlocked, as long as that apparatus, system, or component is so adapted, arranged, capable, configured, enabled, operable, or operative. Accordingly, modifications, additions, or omissions may be made to the systems, apparatuses, and methods described herein without departing from the scope of the disclosure. For example, the components of the systems and apparatuses may be integrated or separated. Moreover, the operations of the systems and apparatuses disclosed herein may be performed by more, fewer, or other components and the methods described may include more, fewer, or other steps. Additionally, steps may be performed in any suitable order. As used in this document, each refers to each member of a set or each member of a subset of a set.
[0039] Although exemplary embodiments are illustrated in the figures and described below, the principles of the present disclosure may be implemented using any number of techniques, whether currently known or not. The present disclosure should in no way be limited to the exemplary implementations and techniques illustrated in the drawings and described above.
[0040] Unless otherwise specifically noted, articles depicted in the drawings are not necessarily drawn to scale.
[0041] All examples and conditional language recited herein are intended for pedagogical objects to aid the reader in understanding the disclosure and the concepts contributed by the inventor to furthering the art, and are construed as being without limitation to such specifically recited examples and conditions. Although embodiments of the present disclosure have been described in detail, it should be understood that various changes, substitutions, and alterations could be made hereto without departing from the spirit and scope of the disclosure.
[0042] Although specific advantages have been enumerated above, various embodiments may include some, none, or all of the enumerated advantages. Additionally, other technical advantages may become readily apparent to one of ordinary skill in the art after review of the foregoing figures and description.
[0043] To aid the Patent Office and any readers of any patent issued on this application in interpreting the claims appended hereto, applicants wish to note that they do not intend any of the appended claims or claim elements to invoke 35 U.S.C. 112(f) unless the words means for or step for are explicitly used in the particular claim.