The invention relates to a pulse width modulation (PWM) circuit comprising a first integrator with a first feedback capacitor, a second integrator with a second feedback capacitor and a comparator having a first input connected to the output of the first integrator and a second input connected to the output of the second integrator, wherein a connection path comprising a resistor is established from the output of the first integrator to an input of the second integrator.
The invention further relates to a Class-D amplifier.
In most Class-D amplifiers some form of pulse-width modulation (PWM) is applied. A PWM signal can be constructed feed-forward by simply comparing the input signal Vsig with a triangular reference wave Vref as shown in
Ideally, the spectrum of the PWM signal does not contain harmonics of the modulating signal, which means it can be considered ideal in terms of distortion. However, this is only true if the reference wave Vref has sufficient linearity, i.e. the slopes of the reference wave Vref need to be perfectly straight.
Many Class-D amplifiers use an integrating feedback loop to provide power supply rejection and correction of switching errors in the output stage. An example of such a feedback loop is shown in
a) shows the triangular wave signals V1 and V2 at zero input yielding a 50% PWM duty-cycle (see signal pwm).
The loop transfer Aβ of the feedback loop shown in
The zero causes the loop transfer to have a first order behaviour near the unity gain frequency ωug of the loop. As is explained in [1] the unity gain frequency ωug is coupled to the PWM switching frequency ωpwm by a factor π.
In current implementations the capacitors used in the integrators are required to be linear. This requirement is essentially a continuation of the linearity requirement of the reference wave Vref in feed-forward PWM generation described above. Unfortunately linear capacitors in IC processes tend to be large. Usually such capacitors are realized by exploiting the capacitance between metal-interconnect layers resulting in a relatively low capacitance per area. Gate-oxide capacitors on the other hand have high capacitance per area but suffer from non-linearity. Non-linearity of capacitors in the integrators not only distorts the (triangular) output signals of the integrators but also influences the frequency of the poles and zeros in the feedback loop. In a typical IC process the ratio in area between a linear metal-interconnect capacitor and a non-linear gate-oxide capacitor can easily be as high as a factor of twelve. Consequently, the use of linear capacitors constitutes a significant part of the total area of the circuit.
It is an object of the invention to provide a PWM circuit of the type defined in the opening paragraph and a Class-D amplifier of the type defined in the second paragraph, in which the disadvantages defined above are avoided.
In order to achieve the object defined above, with a PWM circuit according to the invention characteristic features are provided so that a PWM circuit according to the invention can be characterized in the way defined below, that is:
A pulse width modulation circuit comprising a first integrator that comprises a first feedback capacitor, and a second integrator comprising a second feedback capacitor, and a comparator comprising a first input connected to the output of the first integrator; and a second input connected to the output of the second integrator, wherein a connection path comprising a resistor is established from the output of the first integrator to an input of the second integrator, and wherein the first and second feedback capacitors have capacitances with a non-linear factor X, and wherein a circuit with an inversely non-linear factor X−1 is arranged in the connection path between the output of the first integrator and said input of the second integrator.
In order to achieve the object defined above, a Class-D amplifier according to the invention comprises a PWM circuit according to the above paragraph.
The characteristic features according to the invention provide the advantage that the use of non-linear gate-oxide capacitors in the integrators is allowed without degrading performance. Since non-linear gate-oxide capacitors require less area in integrated circuits than linear capacitors smaller and cheaper integrated circuits can be designed.
The present invention makes use of the observation that if the output signals of the integrators in the feedback loop are distorted in the same way the moments that the signals intersect remain unaffected and thus the same PWM signal is produced as would be without distortions.
The non-linear behaviour of the capacitors also influences the frequency of the zero in the loop transfer, which can cause the loop to become unstable under certain conditions.
A second essential feature of the invention is that this potential instability is avoided by making the value of the resistor connecting the two integrators to be non-linear in a way related to the capacitor non-linearity.
When the non-linear factors X(V) of the capacities of the feedback capacitors of the integrators are essentially equal they do not affect the comparison.
Implementing the feedback capacitors of the integrators as non-linear gate-oxide capacitors results in small and reliable integrated circuits. Connecting PMOS and NMOS gate-oxide capacitors in parallel results in a smoother overall capacitance.
In respect of integrated circuit design it is advantageous to incorporate the resistor between the first and second integrator in the circuit with an inversely non-linear factor X−1(V).
In a simple and easy to implement embodiment the circuit with an inversely non-linear factor X−1(V) comprises two anti-parallel connected diodes being serially connected to a first resistor, a second resistor bypassing the anti-parallel diodes and the first resistor.
In order to achieve diodes with solid state properties that are quite similar to those of the above mentioned capacitors it is suggested to configure the two anti-parallel connected diodes as MOS diodes, preferably a NMOS and a PMOS diode. In a preferred embodiment the two anti-parallel connected diodes are configured by a NMOS transistor and a PMOS transistor having their source and drain terminals connected to each other with the gate terminals short-circuited to the drain terminals.
The aspects defined above and further aspects of the invention are apparent from the exemplary embodiment to be described hereinafter and are explained with reference to this exemplary embodiment.
The invention will be described in more detail hereinafter with reference to an exemplary embodiment. However, the invention is not limited to this exemplary embodiment.
a to 3c show timing diagrams of integrator signals V1 and V2, an oscillator signal osc and a comparator output signal pwm appearing in the circuit of
It will now be explained in detail how to build and use the present invention. First, reference is made to
where W and L are the width and length of the PMOS gate, tox is the thickness of the gate-oxide and εox is the permittivity of silicon-dioxide.
For NMOS transistors the gate capacitance looks similar but is mirrored with respect to the voltage. Connecting a PMOS and NMOS in parallel results in a smoother capacitance as shown in
When the capacitance value drops, for example, to 40% this means the slope increases by a factor of 2.5. If the distorted triangular wave shown in
So it appears that non-linearity of the capacitors C1, C2 is not relevant for the performance of the closed loop configuration of
There is a catch, which has to do with the zero in the loop transfer. Since the output voltage of the first integrator gm1 is distorted the current injected through resistor R2 into the virtual ground of the second integrator gm2 is equally distorted. The inflation of the voltage around the zero crossing causes the resistor R2 to appear smaller than it is, effectively moving the zero to a higher frequency. Resistor R2 can be seen as having an effective value, which is determined by the amplitude of the output signal of the first integrator gm1 relative to the low capacitance region LoCap of the non-linear capacitors C1, C2. When the output of the first integrator gm1 is in the low capacitance region the value of the resistor R2 appears to be higher. Outside the low capacitance region LoCap the value of resistor R2 appears normal. In the situation shown in
An alternative way to approach this is to recognize that the effect of non-linearity in the capacitors can be modelled as a non-linear factor X(V) which is a function of voltage in series with a linear integrator as shown in
Extending this modelling to the integrator part of the feedback configuration shown in
Now since the non-linear factors X(V) at the inputs of the comparator A0 are identical they do not affect the comparison and can therefore be eliminated resulting in the equivalent circuit shown in
As can be seen in
A simple circuit implementation of this inverse non-linearity X−1(V) is shown in
The resulting resistance Rab as a function of applied voltage V is shown in
When resistor R2 of the feedback configuration of
The invention can be applied in integrated class-D audio power amplifiers, e.g. in an amplifier circuit as shown in
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design many alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word “comprising” does not exclude the presence of elements or steps other than those listed in a claim. The indefinite article “a” or “an” preceding an element does not exclude the presence of a plurality of such elements. In the device claim enumerating several means, several of these means may be embodied by one and the same item of hardware. The mere fact that certain measures are recited in mutually different dependent claims does not indicate that a combination of these measures cannot be used to advantage.
Number | Date | Country | Kind |
---|---|---|---|
07111180.1 | Jun 2007 | EP | regional |
PCT/IB2008/052419 | Jun 2008 | IB | international |
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/IB08/52419 | 6/19/2008 | WO | 00 | 12/21/2009 |