The present invention relates generally to signal processing, and more particularly performing low-power modulation in an amplifier.
Signal processing represents a combined application of electrical/computer engineering and mathematical principles, primarily directed to the analysis of and operation on either discrete or continuous time signals. Signals of interest can include sound, images, time-varying measurement values and sensor data, for example biological data such as electrocardiograms, control system signals, telecommunication transmission signals such as radio signals, and many others. Signals are typically analog and/or digital electrical representations of time-varying or spatial-varying physical quantities. Types of signal processing include analog, discrete time, and digital.
Analog signal processing is performed on signals that have not been digitized, for example signals that are used in classical radio, telephone, radar, and television systems. Analog signal processing typically makes use of linear electronic circuits such as passive filters, active filters, additive mixers, integrators and various types of delay lines, as well as non-linear circuits such as frequency mixers and voltage-controlled amplifiers, voltage-controlled filters, voltage-controlled oscillators and phase-locked loops. Discrete time signal processing is performed on sampled signals that are defined at discrete points in time, and as such are quantized in time, but not in magnitude. Analog discrete-time signal processing is based on electronic devices such as sample and hold circuits, analog time-division multiplexers, analog delay lines and analog feedback shift registers, and may be considered a predecessor of digital signal processing.
Digital signal processing involves the processing of digitized discrete-time sampled signals. Processing is typically performed by general-purpose computers or digital circuits such as application specific integrated circuits (ASICs), field-programmable gate arrays, or specialized digital signal processors (DSPs). Digital signal processing mostly includes performing arithmetic operations such as fixed-point and floating-point operations, real-valued and complex-valued operations, multiplication and addition. Many of these operations are implemented through the use of circular buffers and look-up tables. Examples of digital signal processing algorithms include Fast Fourier transforms (FFT), finite impulse response (FIR) filters, infinite impulse response (IIR) filters, and adaptive filters such as the Wiener and Kalman filters.
Audio signal processing, sometimes referred to as audio processing, is the processing of electrical signals that correspond to auditory signals, or sound. Since audio signals may be electronically represented in either digital or analog format, audio signal processing may also take place in either the analog or digital domain. In analog audio signal processing, operations are performed directly on the electrical signals corresponding to the audio signals, while digital signal processing consists mostly of mathematical operations performed on digital representations of the electrical signals that correspond to respective audio signals. Typically, the digital representation of audio signals expresses the pressure waveform that characterizes the audio signal as a sequence of binary numbers. This permits signal processing using digital circuits such as microprocessors and computers, and while analog to digital conversion can be prone to loss, most modern audio systems use the digital approach because digital signal processing techniques are overall more powerful and efficient than signal processing in the analog domain.
Overall, since audio signals first need to be converted to electrical signals, digital audio processing systems include both analog and digital components in a full processing path that begins with the pressure waveforms that physically define the audio signal and ends with the digital representation of the corresponding electrical signals derived therefrom. Some of the most common components typically used in audio processing systems include pulse-width modulators, power limiters, start-up circuits, power regulators, comparators, amplifiers, oscillators, among others. The quality and operating precision of these components directly impacts the quality of audio signal processing systems, as designers have to continually overcome numerous difficult design challenges to meet required specifications and quality standards.
Various embodiments of an audio amplifier include circuitry to perform modulation enhancement. Specifically, a low-power modulation scheme may be implemented in an amplifier as a deterministic pulse-width modulation scheme by which the gate drive signals are eliminated at or near zero-crossing boundaries, to reduce power loss that may occur during switching and/or conduction, without introducing a transient in a power stage circuit of the audio amplifier. In some embodiments, the amplifier may be either a class-BD or a class-AD amplifier capable of accepting a bipolar input, where zero value inputs, referred to as mute or digital silence in audio systems, would normally be output through a pulse-width modulation (PWM) scheme in which the duty-cycle of the PWM signal is 50%, and both positive and negative PWM signals are equal. The modulation enhancement may include reducing or increasing the PWM signals (i.e. the duty-cycle value of the PWM signals) by identical step sizes (amounts) to create a fixed or deterministic pulse-width modulation scheme in the audio amplifier. The PWM signals provided to a full-bridge power stage circuit may thereby be reduced to another state, and may be used to reduce power dissipation, both switching and conducted, in a switch-mode power supply by reducing the PWM duty-cycle identically to a value less than 50%, which effectively controls the amount of current dissipated in the output load. Effectively, both the common-mode voltage and the difference-mode voltage may be reduced at the load to zero voltages through a modulation technique that eliminates the PWM pulses without introducing a transient in a power stage circuit.
The mechanism to reduce the duty-cycle values of the respective PWM signals may be implemented in hardware, software or a combination thereof. In one set of embodiments, the modulation enhancement may include an algorithm designed to autonomously enable a power savings mode in the audio amplifier based on certain specified, detectable parameters. The detectable parameters may include a mute signal, or a programmable audio level threshold to which the input audio level may be compared. The end value used for reducing the PWM duty-cycles (i.e. duty-cycle values) may be a programmable minimum pulse-width, or zero, which may eliminate the PWM pulses entirely. Elimination of the PWM pulses may help recover all switching and conduction losses in the power stage field effect transistors (FETs). Furthermore, the duty-cycles may be incrementally and simultaneously (concurrently) adjusted, with the increments corresponding to specified step sizes, to avoid transients and perturbations on the outputs, and significantly reduce audible pops and clicks. In some hardware implementations, a counter may be used to adjust the PWM pulses either up or down, while two comparators may check for saturation for both minimum and maximum pulse-widths. A dampener circuit may be used to set the time between step size adjustments, to further reduce audible pops and clicks.
Accordingly, a signal processing system (SPS) may be designed to include a signal processing circuit that receives an input signal, and generates a first control value representative of the input signal. The SPS may further include an auxiliary circuit that generates a second control value representative of an idle state of the input signal. A control circuit within the SPS may receive an input control value, and generate a control signal representative of the input signal according to the received input control value. A selection circuit may select and provide the first control value as the input control value to the control circuit, responsive to an indication that the input signal is not in the idle state, and it may select and provide the second control value as the input control value to the control circuit, responsive to an indication that the input signal is in the idle state. In case of a switching amplifier, for example, the first control value, the second control value, and the input control value all represent duty cycle values, where the control signal is a PWM signal having a duty cycle defined by the input control value.
The SPS may include an indicator circuit that generates an event signal indicative of whether or not the input signal is in the idle state. The indicator circuit may assert the event signal to indicate that the input signal has entered the idle state, in response to a mute button being pushed, the input signal falling below a specified level, or any other condition that may be specified as indicative of the input signal having entered an idle (or low-power state). The auxiliary circuit may gradually decrease the second control value over a time period of specified length until the second control value reaches a minimum value, responsive to an event indicating that the input signal has entered the idle state. Similarly, the auxiliary circuit may gradually increase the second control value over a time period of specified length until the second control value reaches a default value, responsive to an event indicating that the input signal has exited the idle state. In addition, the auxiliary circuit may hold the second control value at the default value for a time period of specified length before gradually decreasing the second control value, and also hold the second control value at the minimum value for a time period of specified length before gradually increasing the second control value. The specified length of each time period may be programmable.
In order to improve the output performance of switching amplifiers, a modulator may be designed for modifying an output signal representative of an input signal when the input signal is in an idle (or low-power) state. The modulator may include a selection circuit that receives a first control value representative of a present value of the input signal, and a second control value representative of the input signal being in the idle state. The selection circuit may provide the first control value as an input control value to a control circuit—which generates a control signal representative of the input signal according to the input control value—responsive to an indication that the input signal is not in an idle state. Responsive to an indication that the input signal is in the idle state, the selection circuit may provide the second control value as the input control value to the control circuit. An auxiliary circuit in the modulator may incrementally adjust the second control value until the second control value reaches a desired value, responsive to the input signal entering the idle state, or the input signal exiting the idle state.
The auxiliary circuit may incrementally adjust the second control value at specified rate to reach the desired value within a time period of desired length. This may include incrementally increasing the second control value from a minimum value to a default value, responsive to the input signal exiting the idle state, and incrementally decreasing the second control value from the default value to the minimum value, responsive to the input signal entering the idle state. When used in a switching amplifier, the first control value, the second control value, and the input control value may represent duty cycle values, and the control signal may be a PWM signal having a duty cycle defined by the input control value. In one embodiment, the default value represents a 50% duty cycle value. The minimum value, the default value, and the desired length of the time period may all be programmable values.
In some embodiments, the modulator includes an indicator circuit that generates an event signal indicative of the input signal entering and exiting the idle state, and provides the event signal to the auxiliary circuit. In such embodiments, the auxiliary circuit incrementally adjusts the second control value according to the event signal. The indicator circuit may assert the event signal to indicate that the input signal has entered the idle state, in response to an event, such as a button being pushed, the input signal falling below a specified level, or any other previously identified conditions. Upon detecting that the input signal has entered or exited the idle state, the auxiliary circuit may first hold the second control value at its present value for a time period of specified length before starting to incrementally adjust the second control value.
A better understanding of embodiments of the present invention may be obtained when the following Detailed Description is considered in conjunction with the following drawings, in which:
a shows the relevant pulses and waveforms for the audio subsystem shown in
b shows the relevant pulses and waveforms for the audio subsystem shown in
c shows in more detail the section of the waveforms shown in
a shows the relevant pulses and waveforms illustrating the effect of pulse reduction on the common-mode voltage and the difference-mode voltage while the amplifier is configured in class-BD mode, for the audio subsystem shown in
b shows the relevant pulses and waveforms illustrating the effect of pulse reduction on the common-mode voltage and the difference-mode voltage while the amplifier is configured in class-AD mode, for the audio subsystem shown in
While the invention is susceptible to various modifications and alternative forms, specific embodiments thereof are shown by way of example in the drawings and are herein described in detail. It should be understood, however, that the drawings and detailed description thereto are not intended to limit the invention to the particular form disclosed, but on the contrary, the intention is to cover all modifications, equivalents and alternatives falling within the spirit and scope of the present invention as defined by the appended claims.
As shown, the exemplary systems may include a display device 102; an audio system 104, such as a stereo amplified docking station for a portable music player, CD player, etc.; or a telephone 106 and 108, such as a smart phone, e.g., an iPHONE™ or other similar type of smart phone. It should be noted that
The Digital PWM block 204 includes a PWM Controller 212, two PWM driver blocks labeled PWM0 (232) and PWM1 (234), and may contain other logic as well. The PWM Controller 212 calculates edge locations of the pulse train to be generated, and produces two (M−1)-bit outputs. In particular, each of the two (M−1)-bit outputs may represent respective edges of pulses to be generated. The two (M−1)-bit outputs are used by individual pulse width modulators PWM0 and PWM1 to produce the final differential PWM outputs PWM_OUTP and PWM_OUTN. In general, PWM block 204 may comprise a small signal-processing block that operates on the M-bit input data and separates the M-bit input data into two individual streams of M−1 bits each. These (M−1)-bit streams may be independent, or, more specifically, they may have some correlation to each other, while the actual data may differ on an instantaneous pulse-by-pulse basis.
Block 222 comprises logic for handling dead time, as well as a MOSFET Power Output Stage and gate drivers for controlling the MOSFET Power Output Stage. The MOSFET Power Output Stage portion of block 222 may include high power switches, preferably MOSFETs (Metal Oxide Semiconductor Field Effect Transistors). The high power switches generate a high-power (amplified) replica of the received pulse train. The MOSFET Power Output Stage portion provides the amplified pulse train to low pass filter 224. As shown, the Output Stage provides a differential pair of output signals, referred to as OUTP and OUTN, which provide two differential pulses per PWM period. The low pass filter 224 performs a low pass filter operation on the differential pulses and provides the two outputs, referred to as OUTP_FILT and OUTN_FILT, to a load, e.g., to a loudspeaker 124.
In one set of embodiments, an auxiliary modulation scheme in an amplifier may be used to deterministically generate pulse-widths at or near zero crossings to reduce power loss in the audio amplifier. Consequently, power dissipation may be reduced in switch-mode power supplies, which may be built into audio systems such as the audio system shown in
In an audio system (such as the one shown in
Auxiliary pulse-width modulator 404 may reduce or increase the duty-cycle value for PWM_OUTP and PWM_OUTN by identical increments or step sizes/amounts to create the auxiliary pulse-width difference-mode voltage modulation scheme. The PWM signals provided to a full-bridge power stage circuit in block 222 may be reduced to another state, and may be used to reduce power dissipation by reducing the PWM duty-cycle identically to a value less than 50%, which effectively controls the amount of current dissipated in the output load, in this case speaker 124. In this embodiment, the input (i.e. audio input signal 118) does not affect the output during idle/low power states, effectively bypassing active modulation in mute mode. Accordingly, the Low-Power Mode Select signal may be, for example, a mute signal, which may be asserted to select the APWM duty-cycle value as opposed to the modulated output generated by signal processor 202. It should be noted again that the auxiliary PWM scheme may be equally applied to other systems, and the live, or modulated input provided to summation engine 402—as the second input opposite of the APWM duty-cycle value—may represent a PWM duty-cycle value representative of any desired type of signal, not only an audio signal.
Auxiliary pulse-width modulator 404 may be implemented in hardware, software or a combination of the two. In one set of embodiments, the audio subsystem in
a shows the relevant pulses and waveforms (for example for the audio subsystem shown in
Referring back to
b shows the relevant pulses and waveforms when APWM is disabled, and the pulse is released. As shown in
Upon the Start Event, control logic 506 may assert the start signal to counters 502 and 504, which may begin counting in specified increments.
a shows the relevant pulses and waveforms when APWM is enabled as previously described in
b shows the relevant pulses and waveforms when APWM is enabled as previously described in
According to at least the embodiments presented above, a method for generating an (amplified) output signal with reduced or eliminated transients may include receiving an input signal, generating a first control value representative of the input signal, generating a second control value representative of an idle state of the input signal, receiving (in a control circuit) an input control value, and generating a control signal representative of the input signal according to the received control value. Upon receiving an indication of whether or not the input signal is in the idle state, the first control value may be selected and provided as the input control value to the control circuit, if the indication is of the input signal not being in the idle state. If the indication is of the input signal being in the idle state, the second control value may be selected and provided as the input control value to the control circuit.
In one set of embodiments, the first control value, the second control value, and the input control value are duty cycle values, and the control signal is a pulse width modulated (PWM) signal having a duty cycle represented by the input control value. Furthermore, the PWM signal may be used to drive a switching power stage of an audio amplifier to produce an amplified output representative of the input signal. In some embodiments, an event signal may be generated as the indication of whether or not the input signal is in the idle state. The event signal may be asserted to provide the indication that the input signal has entered the idle state in response to a mute button being pushed, or the input signal falling below a specified level.
The method may further include gradually decreasing the second control value over a first time period of specified length until the second control value reaches a minimum value, responsive to the event indicating that the input signal has just entered the idle state. The second control value may also be gradually increased over a second time period of specified length until the second control value reaches a default value, responsive to the event indicating that the input signal has just exited the idle state. In both cases, upon detecting the event indicating entry into or exit from the idle state, the second control value may be held (at the default value and minimum value, respectively) for a specified, programmable time period prior to gradually decreasing or gradually increasing the second control value.
Although the embodiments above have been described in considerable detail, 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 application claims benefit of priority of U.S. provisional application Ser. No. 61/543,998 titled “Circuits and Methods Used in Audio Signal Processing”, filed Oct. 6, 2011, which is hereby incorporated by reference in its entirety as though fully and completely set forth herein.
Number | Date | Country | |
---|---|---|---|
61543998 | Oct 2011 | US |