This disclosure relates to dynamically controlling the pulse widths of output signals of an amplifier to deliver quality audio at maximum power, and more particularly to maximizing pulse widths of output signals of a Class-D amplifier across multiple process, temperature and power supply corners for delivering distortion-free peak power.
In a conventional audio Class-D amplifier, its output stage often adds non-linearity in the loop filter for very narrow pulse width signals (˜10 ns-100 ns). This non-linearity tends to lead to total harmonic distortion plus noise (THDN) degradation for the amplifier. With BD modulation (which minimizes switching current), narrow pulse widths can exist at high audio input near supply saturation (>99% duty cycle on one side and <1% duty cycle on the other side), which may lead to THDN degradation at maximum power delivery. With LSR modulation, narrow pulse widths can be found near idle channel low audio amplitude (<1% duty cycle), which can lead to high audio noise for low amplitude signals. At high audio input near supply saturation (>99% duty cycle), narrow pulse widths can lead to THDN degradation at maximum power delivery using LSR modulation.
One previous approach to addressing these issues for both types of narrow pulse widths is to add a minimum pulse width generator downstream of the modulation block and upstream of the pre-driver and output stage. Such minimum pulse width generator is configured to ensure that each OFF period between adjacent ON periods at high (>90%) duty cycle has a sufficiently large width, and at low (<1%) duty cycle each of ON periods between adjacent OFF periods has a sufficient large pulse width. This minimum pulse width generator generally protects the loop filter from very high nonlinearity being added by the output stage. However, by adding additional pulse width for very narrow pulse width signal, the minimum pulse width generator adds additional differential as well as common mode error in loop filter. Moreover, at high (˜95%) duty cycle, the inserted pulses negatively impact maximum power delivery with THDN>80 dB at a fixed supply.
A better solution to these narrow pulse width issues is desirable. In particular, a control scheme is needed that ensures that each narrow pulse width is greater than the minimum pulse width required by the output stage to complete the output transition. In this context, embodiments of the invention arise.
In an example, an amplifier comprises high- and low-side transistors, each having a control terminal and first and second current terminals, in which the first current terminal of the low-side transistor is coupled to the second current terminal of the high-side transistor. Such amplifier also comprises high- and low-side pre-drivers having respective high- and low-side inputs and respective high- and low-side outputs. The high-side input is configured to receive a first input signal, and the high-side output is coupled to the control terminal of the high-side transistor. The low-side input is configured to receive a second input signal, and the low-side output is coupled to the control terminal of the low-side transistor. High- and low-side detection circuits are also included. The high-side detection circuit has an input coupled to the control terminal of the high-side transistor, and is configured to output a high-side feedback signal. The low-side detection circuit has an input coupled to the control terminal of the low-side transistor, and is configured to output a low-side feedback signal.
In an example, an amplifier comprises a modulator and an output stage. The modulator is configured to receive first and second input signals, output first and second pulse width modulated (PWM) signals, and receive first and second feedback signals. The output stage is coupled to the modulator and includes a signal node. The output stage is configured to receive the first and second PWM signals, and output the first and second feedback signals.
In an example, a method of adjusting pulse width of output signals of an amplifier having an output stage is provided. The method comprises detecting that a gate-to-source voltage (Vgs) of a transistor of the output stage is less than a voltage threshold in response to a pulse width modulated (PWM) signal input to the output stage; outputting a feedback signal at a specific level in response to detecting that the Vgs of the transistor is less than the voltage threshold; and adjusting one of: each pulse low width or each high pulse width of a PWM output signal of the amplifier in response to the feedback signal.
These and other features will be better understood from the following detailed description with reference to the accompanying drawings.
Features of the disclosure may be understood from the following figures taken in conjunction with the detailed description.
Specific examples are described below in detail with reference to the accompanying figures. These examples are not intended to be limiting. In the drawings, corresponding numerals and symbols generally refer to corresponding parts unless otherwise indicated. The objects depicted in the drawings are not necessarily drawn to scale.
Examples of amplifiers and components thereof are configured to adjust the OFF-pulse widths of a high-duty cycle pulse width modulated (PWM) output signal and the ON-pulse widths of a low-duty cycle PWM output signal. Such control is carried out using high- and low-side (HS and LS) detectors. The HS detector coupled to the control terminal of an HS transistor detects when the gate-to-source voltage (Vgs) of the HS transistor drops below a threshold and outputs an HS detection signal to adjust the OFF-pulse widths of the high-duty cycle PWM output signal. An LS detector coupled to the control terminal of an LS transistor detects when the Vgs of the LS transistor drops below the threshold and outputs a LS detection signal to adjust the ON-pulse widths of the low-duty cycle PWM output signal. In an example configuration, the source of the HS transistor is coupled to the drain of the LS transistor to define a signal node. Under a first load current condition, the signal at the signal node transitions from high-to-low, during which the HS transistor operates in the Miller region, and the HS detection signal detects the completion of the signal transition and the exit of the HS transistor from the Miller region operation to OFF. Under a second load current condition, the signal at the signal node transitions from low-to-high, during which the LS transistor operates in the Miller region, and the LS detection signal detects the completion of the signal transition and the exit of the LS transistor from the Miller region operation to OFF. Such structure and operating techniques enable pulse widths to be adjusted to deliver maximum or near maximum power across a range of operating conditions and process corners.
The LF_OUTP signal is input to a comparator 108 that also receives a signal from a ramp generator 112. The output of ramp generator 112 may be a triangular carrier signal. Comparator 108 compares the ramp generated signal with LF_OUTP to generate signal PWM_P. The LF_OUTN signal is input to comparator 112 that also receives the ramp generator signal. Based on a comparison of the two input signals, comparator 112 generates signal PWM_N.
PWM_P and PWM_N are used to drive a switching output stage, which may be in the form of, or include, an H-bridge 116. The outputs of H-bridge 116 (OUTP and OUTN), are input to downstream filter(s) 118, in addition to being fed back to subtractors 102 and 104, respectively. An inductor-resistor (LR) series circuit 122, which models an audio speaker, is coupled between the outputs of H-bridge 116. The output of filter(s) 118, which is also the output of amplifier 100, is denoted FILTEROUT.
To better control the output signals OUTP and OUTN, and in particular to ensure that in the positive half-cycles of time-varying signal OUTP/N the pulse widths between ON pulses of OUTP do not fall below a minimum pulse width (DMAX) and that the pulse widths between OFF pulses of OUTN do not fall below a minimum pulse width (DMIN), Class-D amplifier 100 is configured to provide a high-side feedback signal (HSFB_P) and a low-side feedback signal (LSFB_N) to a modulator. To better control OUTP and OUTN in the negative half-cycles, high-side feedback signal (HSFB_N) is used with respect to OUTN and low-side feedback signal (HSFB_N) is used with respect to OUTP for determining their DMAX and DMIN, respectively. For simplicity, the feedback techniques of determining DMAX and DMIN are described primarily in the context of the positive half-cycles of OUTP/N, although it is to be understood that the feedback techniques also apply to the negative half-cycles as indicated herein. Also, in some instances the high-side feedback signal and low-side feedback signal are referred to simply as HSFB and LSFB, respectively.
Although not shown in
In the case of DMAX, HS_FET operates in the Miller region during high to low and low to high transitions of OUT_PAD, while LS_FET is OFF during each such transition. HS_FET is OFF and LS_FET is ON when OUT_PAD is at an intermediate level and during transitions to and from that level to the low state.
In a first time period 412, PWM_IN begins in a low state and goes to a high state before transition of OUT_PAD from a low to a high state, which transition starts at the beginning of a second time period 414. LS_FET is ON in first time period 412, transitioning to the Miller region of operation (in which the Vgs of LS_FET is relatively constant) at the end of first time period 412. In second time period 414, OUT_PAD transitions to the high state, during which LS_FET operates in the Miller region. HS_FET is OFF during the first and second time periods 412 and 414. The completion of the transition of OUT_PAD to the high state is indicated by the feedback signal LSFB going low, which occurs at the beginning of third time period 416 when LS_FET exits the Miller region of operation and turns OFF, which is detected by a low-side (HS) detection circuit coupled to the gate of LS_FET. The LS detection circuit is configured to detect that the Vgs of LS_FET has dropped below a first threshold, and in response outputs LSFB. When LSFB transitions back to high, the negative edge of PWM_IN is released to set DMIN.
Three illustrative cases of adaptive DMIN and DMAX are as follows. Case 1 for DMAX at saturation in BD or LSR modulation; case 2 for DMIN at saturation in BD modulation; and case 3 for DMIN at idle channel operation in LSR modulation. In case 1, the system awaits signal fall on the signal node. The HSFB signal going low indicates that the signal transition is complete. The subsequent positive edge of the PWM input signal is released immediately after negative transition of the HSFB signal. In case 2, the system awaits signal rise on the signal node. The LSFB signal going low indicates that the signal transition is complete. The subsequent negative edge of the PWM input signal is released immediately after negative transition of the LSFB signal. In case 3, mixed transitions for both rise and fall may occur. The HSFB signal going high indicates the beginning of a transition on the signal node. The next negative edge of the PWM input signal occurs a period of time ΔT after HSFB goes high to make sure the output transition finishes. AT is a specific parameter that depends on edge-rate control and PVDD. AT is set to ensure that the system waits long enough to the let the transition on the signal node finish before the next negative edge of the PWM input signal.
Example amplifiers and components thereof ensure that DMAX and DMIN pulse widths are just wide enough to complete signal transition on the signal node to improve power delivery for any fixed voltage supply without adding significant loop filter distortion, which reduces THDN degradation. The solutions provided herein are applicable to Class-D amplifiers, as well as other types of loop-filter-based circuits.
The term “couple” is used throughout the specification. The term and derivatives thereof may cover connections, communications, or signal paths that enable a functional relationship consistent with this description. For example, if device A provides a signal to control device B to perform an action, in a first example device A is coupled to device B, or in a second example device A is coupled to device B through intervening component C if intervening component C does not substantially alter the functional relationship between device A and device B such that device B is controlled by device A via the control signal provided by device A.
A device that is “configured to” perform a task or function may be configured (i.e. programmed and/or hardwired) at a time of manufacturing by a manufacturer to perform the function and/or may be configurable (or re-configurable) by a user after manufacturing to perform the function and/or other additional or alternative functions. The configuring may be through firmware and/or software programming of the device, through a construction and/or layout of hardware components and interconnections of the device, or a combination thereof.
A circuit or device that is described herein as including certain components may instead be adapted to be coupled to those components to form the described circuitry or device. For example, a structure including one or more semiconductor elements (such as transistors), one or more passive elements (such as resistors, etc.), and/or one or more sources (such as voltage and/or current sources) may instead include only the semiconductor elements within a single physical device (i.e. a semiconductor die and/or integrated circuit (IC) package) and may be adapted to be coupled to at least some of the passive elements and/or the sources to form the described structure either at a time of manufacture or after a time of manufacture, for example, by an end-user and/or a third-party.
Uses of the phrase “ground” in the foregoing description may be a common ground or any other form of ground connection applicable to, or suitable for, the teachings of this description. Uses of the term “terminal” may be a terminus of a circuit element or of a larger component, i.e., a device, and/or may be a node within a circuit. Unless otherwise stated, “about,” “approximately,” or “substantially” preceding a value means+/−10 percent of the stated value.
Modifications of the described examples are possible, as are other examples, within the scope of the claims. Moreover, features described herein may be applied in other environments and applications consistent with the teachings provided.