The present subject matter relates generally to an audio amplifier. An amplifier is an electronic circuit that increases the voltage, current, or power of an input signal. Audio amplifiers are used in audio equipment of all kinds such as speakers, hearing aids, mobile phones, home theatre audio systems, etc. In some systems, a digital-to-analog converter (DAC) converts an input digital signal to an analog signal and provides the analog signal as the input signal to the amplifier. Cost, circuit noise and direct current (DC) offset can provide design challenges to the design of the amplifier.
In accordance with at least one embodiment of the invention, a system includes a class D amplifier and a current steering digital-to-analog converter (DAC) directly connected to the class D amplifier. The system also includes a common mode servo circuit coupled to a node interconnecting the current steering DAC to the class D amplifier. The common servo circuit amplifies a difference between a common mode signal determined from the node and a reference voltage and generates a feedback current to the node based on the amplified difference. A feed-forward common-mode compensation circuit is included to reduce an alternating current (AC) ripple from the class D amplifier. The feed-forward common-mode compensation circuit includes first and second resistors coupled to respective outputs of the class D amplifier. A current mirror is coupled to the first and second resistors and is configured to sink a current from the node to ground that approximates a common mode feedback current of the class D amplifier.
In another embodiment, a system includes a class D amplifier and a DAC directly connected to the class D amplifier. The system also includes a common mode servo circuit coupled to a node interconnecting the current steering DAC to the class D amplifier. The common servo circuit amplifies a difference between a common mode signal determined from the node and a reference voltage and generates a feedback current to the node based on the amplified difference. A feed-forward common-mode compensation circuit is included to reduce an AC ripple from the class D amplifier. The feed-forward common-mode compensation circuit includes a current mirror configured to sink a current from the node to ground that approximates a common mode feedback current of the class D amplifier.
In yet another embodiment, a method includes converting a digital signal to an analog current by a DAC, providing the analog current directly from the DAC to a class D amplifier, and determining a common mode voltage from a node interconnecting the DAC and the class D amplifier. The method further includes amplifying a difference between the common mode voltage determined from the node and a common mode reference voltage to generate a feedback current, providing the feedback current to the node, generating a first current through from an output node of the class D amplifier that approximates a common mode AC current of the class D amplifier, and generating a second current through a current mirror from the node to a common potential that approximates the first current.
For a detailed description of various examples, reference will now be made to the accompanying drawings in which:
In some electronic audio systems, a current-steering DAC converts an input digital signal to an output analog current. A current-to-voltage converter circuit then converts the DAC's output current to a voltage. The current-to-voltage converter circuit couples to a class D amplifier and the voltage output from the current-to-voltage converter circuit is converted back to a current through input resistors of the class D amplifier. Such architectures are particularly susceptible to noise as well as common mode ripple within the output stage (H-bridge) of the class D amplifier. The common mode ripple in turn necessitates a wide signal amplitude range for the amplifier's front-end which may preclude the use of low voltage power supplies.
In accordance with the disclosed embodiments, an audio system includes a current steering DAC that connects directly to a class D amplifier and thus without the current-to-voltage converter signal noted above. The disclosed system includes a common mode servo circuit which is coupled to a node interconnecting the current steering DAC to the class D amplifier. The common mode servo circuit may be configured to amplify a difference between a common mode signal determined from the node and a common mode reference voltage and generate a feedback current to the node based on the amplified difference. The common mode servo circuit reduces the common mode DC signal to the input of the class D amplifier.
The audio system also may include a feed-forward common-mode compensation circuit to reduce an AC ripple voltage from the class D amplifier. The feed-forward common-mode compensation circuit may include first and second resistors coupled to respective outputs of the class D amplifier. A current mirror also may be coupled to the first and second resistors and configured to sink a current (e.g., to ground) from the node interconnecting the DAC to the class D amplifier to approximate (e.g., within 10%) of a common mode feedback current of the class D amplifier. As such, any common mode ripple current through feedback resistors of the class D amplifier is provided an alternative path to ground instead of relying on the slower common mode service circuit to regulate the input stage of the class D amplifier. Consequently, the magnitude of the ripple voltage to the input stage of the class D amplifier will be smaller than without the feed-forward common-mode compensation circuit, alleviating design constraints on the audio system.
A digital input bit stream 90 may be provided to the DAC 110. The DAC 110 may be a current-steering DAC, which converts the digital input to an analog output current (Idac). The DAC 110 is connected directly to the class D amplifier and thus is not coupled to the class D amplifier through a current-to-voltage converter as might have been the case in other systems. The audio system 100 in this embodiment thus lacks a current-to-voltage converter. Node 115 refers to the node to which both the DAC 110 and the class D amplifier 120 connect. The voltages on the node conductors are designated as INP and INM as shown.
The class D amplifier 120 is an electronic amplifier in which the amplifying devices (e.g., transistors) operate as electronic switches, and not as linear gain devices as in other types of amplifiers. In the depicted embodiment, the amplifier 125 includes an error amplifier 122 and a pulse-width modulator (PWM) and H-bridge 124. Feedback resistors 126 and 128 also may be included to provide a feedback signal 125 from the output of the PWM and H-bridge 124 to the input of the error amplifier 122. Other components may be included as well such as an adder which may add the feedback signal to the input signal on node 115 and provide the summed signal to the input of the error amplifier 122.
The error amplifier 122 amplifies an error difference between the feedback output signal 125 and a summed audio input signal (which adds the input signal from node 115 to the feedback signal 125) to generate an amplified error signal 127. The amplified error signal 112 is provided to a PWM comparator within the PWM and H-bridge 124. The PWM comparator compares the amplified error signal 127 to a stable reference signal (e.g., a reference voltage or a ramp waveform) that may be generated by a ramp generator (not specifically shown) to generate a compensating error signal which is then provided to an H-bridge also implemented as part of the PWM and H-bridge 124. The H-bridge may include a pair of switches that reciprocally switch back and forth between fully conductive and nonconductive states. The compensating error signal causes the switches within the H-bridge to switch state to generate the feedback signal 125. The compensating error signal drives the feedback signal 125 (i.e., output voltage of the class D amplifier 120) closer to a desired level or strength. The feedback signal 125 may be provided back to an adder through the feedback resistors 126, 128 to be combined with input signal from node 115.
The audio system of
The common mode servo circuit 130 reduces the DC common signal that may be present on node 115.
Referring again to
The current through transistor 160 from drain to source is equal to OUTP+OUTM/(RF), which is the common mode AC current. This common mode current is divided by two and replicated, via operation of the current mirror, as currents 168a and 168b. The common current through feedback resistor 126 is designated as IA, and the current through feedback resistor 126 is designated as IB. The currents IA and IB are nearly equal to the currents 168a and 168b. As such, the common current is provided a path to ground through transistors 162, 164 of the current mirror instead of back through the error amplifier 122.
The feed-forward common-mode compensation circuit 140 also may include a current source 146. The current produced by the current source 146 may be hard-configured and is useful to maintain the feed-forward common mode compensation circuit in a suitable bias condition when both output voltages at node 129 are below a threshold. For example, the current source may generate current even when the output voltage from the amplifier is 0 V. If the output voltages of node 129 are both 0 V, then there would no current through resistors 142, 144 absent the current source 146. The hard-configured current generated by the current source 146 may be 10 μA (micro-amps), but can be other current levels as well.
At 204, the method includes determining a common mode voltage from a node interconnecting the DAC and the class D amplifier. In one embodiment, this operation may be implemented by summing voltages from the node interconnecting the DAC and the class D amplifier to produce a sum and injecting a current into the node based on the sum. The sum may be divided by 2 to produce an error signal, which then may be amplified to produce an output error signal. As noted below, a current may be injected back into the node based on the amplified output error signal.
At 206, the method may include amplifying a difference between the common mode voltage determined from the node and a common mode reference voltage to generate a feedback current. At 208, the feedback current is injected back into the node. A first current from the output node 129 of the class D amplifier may be generated (210) that approximates a common mode alternating current (AC) current of the class D amplifier. At 212, the method includes generating a second current through a current mirror from the node to a common potential that approximates (within 10%) the first current.
The above discussion is meant to be illustrative of the principles and various embodiments of the present invention. Numerous variations and modifications will become apparent to those skilled in the art once the above disclosure is fully appreciated. It is intended that the following claims be interpreted to embrace all such variations and modifications.
This continuation application claims priority to U.S. patent application Ser. No. 15/395,290, filed Dec. 30, 2016, which claims priority to and the benefit of U.S. Provisional Patent Application No. 62/363,084, filed Jul. 15, 2016, both of which are hereby incorporated herein by reference in their entirety.
Number | Date | Country | |
---|---|---|---|
62363084 | Jul 2016 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 15395290 | Dec 2016 | US |
Child | 15897177 | US |