US20090160547A1 - Method and system for transitioning between operation states in an output system - Google Patents
Method and system for transitioning between operation states in an output system Download PDFInfo
- Publication number
- US20090160547A1 US20090160547A1 US11/961,144 US96114407A US2009160547A1 US 20090160547 A1 US20090160547 A1 US 20090160547A1 US 96114407 A US96114407 A US 96114407A US 2009160547 A1 US2009160547 A1 US 2009160547A1
- Authority
- US
- United States
- Prior art keywords
- signal
- modulator
- time constant
- ramp signal
- output
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims description 17
- 230000007704 transition Effects 0.000 claims abstract description 34
- 238000012546 transfer Methods 0.000 claims abstract description 32
- 230000006870 function Effects 0.000 claims description 44
- 230000010354 integration Effects 0.000 claims description 16
- 230000004044 response Effects 0.000 claims description 15
- 230000008859 change Effects 0.000 claims description 12
- 230000003247 decreasing effect Effects 0.000 claims description 9
- 230000009849 deactivation Effects 0.000 claims description 8
- 230000004913 activation Effects 0.000 claims description 7
- 238000001914 filtration Methods 0.000 claims description 3
- 238000012544 monitoring process Methods 0.000 claims description 2
- 230000007423 decrease Effects 0.000 description 21
- 230000007935 neutral effect Effects 0.000 description 18
- 230000001052 transient effect Effects 0.000 description 12
- 230000010363 phase shift Effects 0.000 description 11
- 239000003990 capacitor Substances 0.000 description 7
- 230000000295 complement effect Effects 0.000 description 6
- 230000005236 sound signal Effects 0.000 description 6
- 230000000694 effects Effects 0.000 description 5
- 230000008569 process Effects 0.000 description 5
- 230000003213 activating effect Effects 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 230000010355 oscillation Effects 0.000 description 3
- 230000000737 periodic effect Effects 0.000 description 3
- 230000009467 reduction Effects 0.000 description 3
- 230000008030 elimination Effects 0.000 description 2
- 238000003379 elimination reaction Methods 0.000 description 2
- 230000005669 field effect Effects 0.000 description 2
- 230000000630 rising effect Effects 0.000 description 2
- 239000004065 semiconductor Substances 0.000 description 2
- 230000004075 alteration Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 230000000903 blocking effect Effects 0.000 description 1
- 238000007796 conventional method Methods 0.000 description 1
- 230000003111 delayed effect Effects 0.000 description 1
- 238000007599 discharging Methods 0.000 description 1
- 238000009499 grossing Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 229910044991 metal oxide Inorganic materials 0.000 description 1
- 150000004706 metal oxides Chemical class 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000010587 phase diagram Methods 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 238000011144 upstream manufacturing Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03F—AMPLIFIERS
- H03F3/00—Amplifiers with only discharge tubes or only semiconductor devices as amplifying elements
- H03F3/20—Power amplifiers, e.g. Class B amplifiers, Class C amplifiers
- H03F3/21—Power amplifiers, e.g. Class B amplifiers, Class C amplifiers with semiconductor devices only
- H03F3/217—Class D power amplifiers; Switching amplifiers
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03F—AMPLIFIERS
- H03F3/00—Amplifiers with only discharge tubes or only semiconductor devices as amplifying elements
- H03F3/38—DC amplifiers with modulator at input and demodulator at output; Modulators or demodulators specially adapted for use in such amplifiers
- H03F3/387—DC amplifiers with modulator at input and demodulator at output; Modulators or demodulators specially adapted for use in such amplifiers with semiconductor devices only
- H03F3/393—DC amplifiers with modulator at input and demodulator at output; Modulators or demodulators specially adapted for use in such amplifiers with semiconductor devices only with field-effect devices
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03F—AMPLIFIERS
- H03F3/00—Amplifiers with only discharge tubes or only semiconductor devices as amplifying elements
- H03F3/68—Combinations of amplifiers, e.g. multi-channel amplifiers for stereophonics
Definitions
- This invention relates to output systems, and more specifically, to systems and methods for transitioning between operation states in an output system.
- CMOS complementary metal-oxide-semiconductor
- the ability to realize the audio output amplifier in CMOS enables integration of an audio output amplifier with other circuitry in the audio system, further improving efficiency and also reducing manufacturing costs of the system.
- This integration also provides performance benefits resulting from close device matching between the output devices and the upstream circuits, and from reduced signal attenuation.
- an undesirable effect of a transient signal can exist in the output of a class D amplifier.
- the transient signal can cause audible artifacts, such as a “click/pop” noise, an audible “humming” noise or a crunching sound.
- the transient signals occur when the class D amplifier changes states of operation, such as between an activated state (e.g., switching mode or steady state) and a deactivated state. Reduction (or elimination) of such undesirable transient signals is thusly needed.
- One aspect of the invention is related to a closed loop amplifier system comprising a modulator that provides a pulse-width modulated (PWM) output signal based on an input signal, the modulator having a variable closed loop transfer function.
- the system also comprises a ramp generator that provides a ramp signal to the modulator, the variable closed loop transfer function of the modulator varying as a function of the ramp signal.
- the system further comprises a controller that controls the ramp generator to provide the ramp signal to adjust the variable closed loop transfer function during transitions between operating states of the amplifier system.
- Another aspect of the invention is related to a system for transitioning an operation state of a multi-channel system, the system comprising means for providing a ramp signal and means for controlling the means for providing the ramp signal.
- the system also comprises means for providing a plurality of pulse-width modulated (PWM) signals that includes a means for filtering according to a transfer function that varies as a function of the ramp signal, wherein each of the plurality of PWM signals includes a P-side signal and an N-side signal associated with a respective channel that varies based on an input signal and the ramp signal.
- the system further comprises means for amplifying the plurality of PWM signals and providing a feedback signal to the means for providing the plurality of PWM signals.
- the system still further comprises means for transitioning the means for providing the plurality of PWM signals between at least two operation states based at least in part upon the ramp signal.
- Still another aspect of the invention is related to a method for transitioning between an activated output state and a deactivated output state of a modulator of an audio system.
- the method comprises monitoring a selection signal, the selection signal indicating a change in the output state of the modulator.
- the method also comprises varying a closed loop transfer function of the modulator as a function of the ramp signal in response to detecting the selection signal indicating the change in the output state of the modulator.
- FIG. 1 illustrates an example of a system in accordance with an aspect of the invention.
- FIG. 2 illustrates an example of an audio channel in accordance with an aspect of the invention.
- FIG. 3 illustrates an example of a modulator in accordance with an aspect of the invention.
- FIG. 4 illustrates another example of a modulator in accordance with an aspect of the invention.
- FIG. 5 illustrates an example of a voltage controlled variable resistor in accordance with an aspect of the invention.
- FIG. 6 illustrates an example of a clip detector in accordance with an aspect of the invention.
- FIG. 7 illustrates an example of ramp signals in accordance with an aspect of the invention.
- FIG. 8 illustrates a gain diagram of a modulator in accordance with an aspect of the invention.
- FIG. 9 illustrates a phase diagram of a modulator in accordance with an aspect of the invention.
- FIG. 10 illustrates an example of a multi-channel system in accordance with an aspect of the invention.
- FIG. 11 illustrates a flow-chart diagram of a process in accordance with an aspect of the invention.
- FIG. 1 illustrates an example of a system 100 in accordance with an aspect of the invention.
- the system 100 could be implemented, for example, as an audio system (e.g., a stereo system, a surround sound system, etc.).
- the system 100 could be implemented as a motor control system.
- Those skilled in the art will appreciate other uses (e.g., for the system 100 ).
- the system 100 includes a pre-driver 102 communicatively coupled to an output system 104 .
- the pre-driver 102 could be implemented, for example, as hardware, software or a combination thereof.
- the pre-driver 102 can include a modulator 106 that can provide a pulse-width modulated (PWM) signal to an amplifier 108 of the output system 104 .
- the modulator 106 could be implemented, for example, as a modulator that includes a second order, two pole filter system having an associated closed loop transfer function.
- the second order two pole filter system can include, for example, a first stage and second stage connected in series that respectively define first and second poles of the second order, two pole filter system.
- the amplifier 108 can employ the PWM signal, for example, to drive an output load 110 .
- the amplifier 108 can include PWM control logic.
- the PWM control logic can control the minimum pulse-width of signals provided by the amplifier 108 .
- the output load 110 could be implemented, for example, as one or more loudspeakers or one or more electric motors. Additionally, the signal provided by the amplifier 108 can be fed back to the modulator 106 , thereby forming a closed loop system.
- the modulator 106 can receive an INPUT signal.
- the INPUT signal could be provided, for example, from a pre-amplifier as an analog audio signal.
- the modulator 106 can modulate the INPUT signal to provide the PWM signal.
- a control 112 can be communicatively coupled to the modulator 106 .
- the control 112 can be configured to activate and deactivate the modulator 106 .
- the PWM signal provided from the modulator 106 can be implemented as a PWM version of the INPUT signal.
- the deactivated state the PWM signal is disabled.
- the control 112 can receive an OUTPUT CONTROL signal that causes the control 112 to change the operation state of the modulator 106 .
- the OUTPUT CONTROL could be implemented, for example, as an activate/deactivate (e.g., start up, shut down) signal and/or as a mute/unmute signal.
- the pre-driver 102 can also include a ramp generator 114 that can be communicatively coupled to the control 112 .
- the control 112 can control the ramp generator 114 to provide a ramp signal to the modulator 106 at or about the same time that the control 112 causes the modulator 106 to change operation states.
- the ramp signal can be employed by the modulator 106 to smooth the transition from an activated state to a deactivated state and vice versa.
- the first stage of the modulator 106 could define a dominant pole of the second order, two pole filter system (e.g., the first pole) in the activated state of operation.
- the ramp signal can be employed to vary the gain and/or the phase margin of at least one stage of the modulator 106 such that the second stage of the modulator 106 defines the dominant pole in the deactivated state of operation, thereby varying the transfer function associated with the second order, two pole filter system.
- a dominant pole of a multiple pole filter system is the pole with a greater gain and/or phase margin than the non-dominant pole or poles.
- the ramp signal can smooth transitions between the activated state and the deactivated state of operation. Such a smoothing of the transition can reduce or eliminate transient signals provided to the output system 104 that can damage electrical components and/or cause the system 100 to produce undesirable audible artifacts (e.g., a “click/pop” sound) if the system 100 is implemented as an audio system.
- FIG. 2 illustrates an example of an audio channel 200 in accordance with an aspect of the invention.
- Differential analog input signals P-SIDE and N-SIDE can be received at a preamplifier 202 .
- the audio channel 200 is illustrated to be implemented as a differential audio channel 200 , it is to be understood that the audio channel 200 could alternatively be implemented in a single-ended fashion, in which case the analog audio input signal would be a single-ended signal.
- the preamplifier 202 amplifies the analog input signals (P-SIDE and N-SIDE) to an appropriate level for a modulator 204 .
- the appropriate level can be set by a GAIN CONTROL signal (e.g., volume control) that can be provided to the audio channel 200 , for example, in response to a user input.
- the GAIN CONTROL could be controlled by an autonomous system, such as a computer.
- the GAIN CONTROL can set the volume to zero (or near zero) when a deactivated state is selected, and the appropriate level when the activated state is selected.
- the GAIN CONTROL signals gate the output of the preamplifier 202 to the desired volume output in an activated and/or unmuted condition.
- the preamplifier 202 can also receive a CHANNEL OUTPUT signal that indicates an operation state of the channel 200 .
- the operation state of the channel 200 can transition between an activated state (e.g., start up or unmuted state) and a deactivated state (e.g., shut down or muted state).
- the output of the preamplifier 202 can be provided to the modulator 204 , along with a pair of feedback signals indicated at FB.
- the modulator 204 can receive a reference waveform OSC, for example, from a local oscillator in a power circuit.
- the modulator 204 can employ the OSC signal to generate a pulse-width-modulated version of the analog input signals.
- the modulator 204 can receive a RAMP signal, for example, from a ramp generator.
- the RAMP signal can be implemented as a differential non-zero voltage during deactivated (e.g., muted) periods, and can be implemented as a differential ramped common mode voltage in transient periods following activating and deactivating events (e.g., start up/shut down and/or muting/unmuting events).
- the modulator 204 also receives a power supply level signal (FWD FEED).
- the FWD FEED signal could be provided, for example, by a power supply feed-forward circuit.
- the modulator 204 can generate and provide the PWM output to a modulator control logic 206 of an output amplifier 208 .
- the modulator control logic 206 can modify the PWM output from the modulator 204 in response to certain events.
- the modulator control logic 206 could be configured to enforce certain minimum pulse widths for both “on” and “off” pulses during the transient periods following a mute or unmute of the audio output and/or a start up or shut down of the audio output in which the RAMP signal controls the duty cycle of the PWM output, thus ensuring stable operation of the associated channel.
- the audio output channel 200 can provide means for providing PWM signals that includes a means for filtering according to a transfer function that varies as a function of a ramp signal.
- the modulator control logic 206 can provide complementary output signals to P and N-side gate drivers 210 and 212 , respectively, of the output amplifier 208 to drive gates of transistors in first and second half-bridges 214 and 216 , respectively of the output amplifier 208 .
- the P-side and N-side high-side gate drivers, 210 and 212 are supplied by a CHARGE PUMP voltage.
- the P-side and N-side half bridges 214 and 216 can each include power output transistors that can drive a loudspeaker 218 of the channel 200 in response to the PWM output signal provided at the P-side and N-side half bridges 214 and 216 .
- a demodulator 220 can be connected between the P-side and N-side half bridges 214 and 216 and the loudspeaker 218 to demodulate the signals provide by the P-side and N-side half bridges 214 and 216 .
- the demodulator 220 could be implemented, for example, as an LC low pass filter with a cutoff frequency of about 40 kHz.
- Each of the P-side and N-side half-bridges 214 and 216 can receive complementary output signals from the modulator control logic 206 , so that the high-side transistor of the P-side half-bridge 214 and the low-side transistor of the N-side half-bridge 216 are on (e.g., in a linear state) when the low-side transistor of the P-side half-bridge 214 and the high-side transistor of the N-side half-bridge 216 are off (e.g., in a cutoff state), and vice versa.
- the loudspeaker 218 is driven as a bridged load, for example, in a class D manner.
- the signals driven by P-side and N-side half-bridges 214 and 216 can be fed back to the modulator 204 to provide the above-mentioned feedback signal indicated at FB.
- the output amplifier 208 can thusly provide means for amplifying PWM signals and for providing a feedback signal to a means for providing PWM signals.
- FIG. 3 illustrates an example of a modulator 300 in accordance with an aspect of the invention.
- the modulator could be implemented, for example, as the modulator 204 illustrated in FIG. 2 .
- An analog input signal (INPUT) can be received at a first adder 302 .
- the analog input signal could be implemented, for example, as a differential audio signal.
- the first adder 302 can also receive a feedback signal indicated at FB, which feedback signal could be provided from one or more half-bridges of an amplifier (e.g., FIG. 7 ).
- the FB signal could be provided to the first adder 302 in the form of a differential voltage that could be provided from the half-bridges, such as in the form of a differential voltage driven across an output load (e.g., a loudspeaker).
- the FB signal can be provided to the adder 302 via a differential gain block, having a gain of less than about one (e.g., unity).
- the output of the first adder 302 which output can correspond to a difference between the INPUT and the FB signal, can be applied to a loop filter.
- a loop filter block 304 can, for example, apply filters and gains 306 to the difference signal provided by the first adder 302 .
- the loop filter can include at least one loop path, indicated at P 1 with a transfer function of second order (or higher).
- the loop filter can be implemented as a triple path loop (indicated at P 1 , P 2 and P 3 ) involving the combination of the loop filter block 304 with first and second variable time constant integrators 308 and 310 .
- the loop filter could be implemented as a second-order filter, although it is of course contemplated that the loop filter may be of a higher order, or even a first order filter if desired.
- multiple loop paths, indicated at P 2 and P 3 operate upon the FB signal such that the loop filter suppresses distortion from the half-bridges which provide the FB signal (and drive an output channel).
- the first variable time constant integrator 308 can receive a filtered difference signal corresponding to the difference between an input signal corresponding to a desired audio output and feedback from the current audio output.
- the first variable time constant integrator 308 integrates this difference and provides the result to a sequence of respective second and third adders 312 and 314 .
- the second adder 312 adds in another feedback term from the loop filter block 304 to the integrated difference from the first variable time constant integrator 308 .
- the third adder 314 receives the second output of the second adder 312 and adds in another feedback term from loop filter block 304 indicated as loop path P 3 .
- the feedback term from the loop filter block 304 that can be provided to the third adder 314 can include, for example, a high pass filter 316 .
- the third adder 314 can also add a reference waveform from a square wave generator 318 .
- the sum from the output of third adder 314 can be integrated by the second variable time constant integrator 310 .
- a PWM reference waveform can be generated by the square wave generator 318 in response to a periodic signal (OSC) provided to the square wave generator 318 from a power and control circuit.
- the OSC signal can, for example, be provided with an amplitude corresponding to a voltage communicated from a power supply feed-forward circuit.
- the square wave generator 318 can also be powered by the power supply feed-forward circuit via a forward feed (FWD FEED) signal.
- FWD FEED forward feed
- a PWM signal can be produced from the difference between a square wave and the signal provided by the second adder 312 . Since the output of the third adder 314 can be applied to the second variable time constant integrator 310 , the reference waveform in such an example can be applied as a square wave.
- the output of the second variable time constant integrator 310 can be applied as an input to each of fourth and fifth adders 320 and 322 .
- the fourth adder 320 can add the output of the second variable time constant integrator 310 with the output of a ramp signal generator 323 .
- the output of the fourth adder 320 can correspond to a signal to be applied to a P-side half-bridge used to drive the output load.
- the fifth adder 322 subtracts the output of the second variable time constant integrator 310 from the output of the ramp signal generator 323 .
- the output of the fifth adder 322 corresponds to the signal to be applied to an N-side half-bridge to drive the output load.
- the output of the fourth adder 320 can be applied to a first level detector 324 .
- the first level detector 324 can generate a PWM signal of one polarity.
- the output of the fifth adder 322 can be applied to a second level detector 326 .
- the second level detector 326 can generate a complementary PWM signal relative to that of the first level detector 324 .
- the pair of PWM signals which correspond to the output signals that can be applied to the P-side and N-side half-bridges, can be applied to a modulator control logic 328 that can ensure that the pair of PWM output signals will have minimum pulse widths.
- the output of the modulator control logic 328 and the OSC signal can be applied to a clip detector 330 .
- the clip detector 330 can provide a digital signal (RESET) that indicates an operation state of the modulator 300 . That is, if the modulator 300 is in an activated state, the clip detector 330 can provide a LOW state (e.g., logical ‘0’) signal. If the modulator 300 is in a deactivated state, the clip detector 330 can provide a HIGH state (e.g., logical ‘1’) signal.
- the output of the clip detector 330 can be provided to the first variable time constant integrator 308 as the RESET signal.
- an integration time constant ( ⁇ ) of the first variable time constant integrator 308 can be reduced to at or near zero, which can disable the first variable time constant integrator 308 .
- the clip detector 330 provides a digital logic LOW value
- the first variable time constant integrator 308 can be reactivated.
- the integration time constant ( ⁇ ) of the first variable time constant integrator 308 is reduced to at or near zero, the gain of the first variable time constant integrator 308 is also reduced to about zero.
- the ramp signal generator 323 can receive an ENABLE (e.g., a control signal) signal from a controller.
- the ENABLE signal can cause the ramp signal generator 323 to provide a ramp signal.
- the ramp signal can be provided, for example, to activate or deactivate (e.g., start up or shut down) the audio channel. Additionally or alternatively, the ramp signal can be provided, for example, to mute or unmute the audio channel.
- the modulator 300 is illustrated as a second order, two pole filter system with an associated closed loop transfer function.
- the first variable time constant integrator 308 corresponds to a first stage of the second order, two pole filter system
- the second variable time constant integrator 310 corresponds to a second stage of the second order system, two pole filter systems.
- Each of the first and second stages could be implemented, for example, as filters or amplifiers having associated transfer functions.
- the first variable time constant integrator 308 thus can be configured to define a first pole of the second order, two pole filter system.
- the second variable time constant integrator 310 can be configured to define a second pole of the second order, two pole filter system.
- the first pole In the activated state of operation, the first pole can be a dominant pole (relative to the second pole), while in the deactivated state of operation; the second pole can be the dominant pole (relative to the first pole).
- the ramp signal can be provided to the first variable time constant integrator 308 and the second variable time constant integrator 310 to change dominance of the poles, thereby also varying the transfer function associated with the second order, two pole filter system.
- the ramp signal can be provided to the first and second variable time constant integrators 308 and 310 .
- a time constant ( ⁇ ) of each integrator can be defined by a resistance and a capacitance component thereof.
- the time constant ( ⁇ ) of the first and second variable time constant integrators 308 and 310 can be varied, for example, by the varying a resistance and/or capacitance value of the integrator.
- Providing an increasing ramp signal e.g., a ramp signal having a positive slope
- an deactivating event e.g., shut down or muting event
- the integration time constants ( ⁇ ) of the first and second variable time constant integrators 308 and 310 causes the integration time constants ( ⁇ ) of the first and second variable time constant integrators 308 and 310 to decrease (e.g., by causing a correspondence decrease in the associated values).
- the time constant ( ⁇ ) associated with the first variable time constant integrator 308 can vary at a same rate and/or same amount as the time constant ( ⁇ ) associated with the second variable time constant integrator 310 .
- time constants ( ⁇ ) of the first and second variable time constant integrators 308 and 310 can vary by different amounts and/or different rates to achieve a desired relationship between the time constants ( ⁇ ) of the first and second variable time constant integrators 308 and 310 .
- providing the decreasing ramp signal e.g.
- a decreasing ramp signal such as during an activating event (e.g., start up or unmuting event) to the first and second variable time constant integrators 308 and 310 causes the integration time constants ( ⁇ ) of the first and second variable time constant integrators 308 and 310 to increase (e.g., by causing a corresponding increase in the associated resistance value).
- Providing the increasing ramp signal to the first and second variable time constant integrators 308 and 310 as well as the fourth and fifth adders 320 and 322 causes the output of the modulator 300 to be gradually increased to return to an activated state, thus reducing or eliminating undesirable effects (e.g., a “click/pop” sound) of a faster activation of the modulator 300 .
- the integration time constant ( ⁇ ) of the first and second variable time constant integrators 308 and 310 can be varied while maintaining the closed loop paths of the modulator 300 , thereby ensuring stability of the modulator 300 .
- the modulator 300 can thus provide means for transitioning a means for providing PWM signals between at least two operation states (e.g., the activated state and the deactivated state) based on the RAMP signal.
- FIG. 4 illustrates a circuit component diagram of a modulator 400 , such as corresponding to the modulator 300 depicted in FIG. 3 , in accordance with an aspect of the invention.
- the modulator 400 is depicted in a differential implementation, although those skilled in the art will be readily able to implement the modulator 400 according to other implementations, including a single-ended signal implementation. However, for purposes of simplification of explanation, the differential implementation is illustrated and described.
- a differential analog INPUT signal (e.g., an audio signal) can be applied to positive and negative terminals 402 and 404 of a first variable time constant integrator 408 .
- a pair of resistors, indicated at R 1 can be connected between the INPUT signal and the positive and negative terminals 402 and 404 to regulate the current and/or voltage provided to the first variable time constant integrator 408 .
- the first variable time constant integrator 408 can include, for example, a first differential operational amplifier (FDOA) 410 .
- the FDOA 410 can be constructed according to conventional techniques. As is known in the art, the FDOA 410 produces a differential output in response to a differential voltage received at the FDOA 410 input.
- positive and negative components of a differential feedback (FEEDBACK) signal can be received from half bridges that drive an output load (e.g., a loudspeaker).
- the positive and negative components of the differential FEEDBACK signal can be applied to the positive and negative terminals 402 and 404 of the first variable time constant integrator 408 , respectively.
- Another pair of resistors, indicated at R 2 can be connected between the FEEDBACK signal and the positive and negative terminals 402 and 404 of a first variable time constant integrator 408 .
- R 2 can be included to regulate current and/or voltage provided by the FEEDBACK signal.
- a differential power signal (e.g., a FWD FEED) signal can be provided to a differential buffer 412 .
- the output of the differential buffer 412 can be provided to a chopping circuit 414 that is controlled by an oscillation signal, OSC.
- the chopping circuit 414 can provide a differential square wave (indicated at SQ.) at a frequency substantially equal to the frequency of the OSC signal and the differential square wave can have amplitude substantially equal to the output voltage of the differential buffer 412 .
- the positive component of the differential square wave can be provided to the negative component of the differential FEEDBACK signal and to the negative component of the differential INPUT signal.
- the negative component of the differential square wave can be provided to the positive component of the FEEDBACK signal and to the positive component of the INPUT signal.
- a pair of resistors, indicated at R 3 can be connected at the output terminals of the chopping circuit 414 to regulate the current and/or voltage provided by the differential square wave.
- Another pair of resistors, indicated at R 4 can be connected between the pair of resistors R 3 and the FEEDBACK signal to further regulate the current and/or the voltage of the differential square wave.
- Still another pair of resistors, indicated at R 5 can be connected between the pair of resistors R 3 and the INPUT signal to further regulate the current and/or the voltage of the differential square wave.
- the first variable time constant integrator 408 can include, a voltage controllable variable resistor 416 connected at a first feedback path that can be defined as an electrical path between a negative output terminal 418 of the FDOA 410 and the positive input terminal 402 of the FDOA 410 .
- the resistance could be controlled, for example, by a differential RAMP signal such as described herein.
- a capacitor 420 can be connected in parallel with the voltage controlled variable resistor 416 .
- a normally opened shorting circuit 422 can also be connected in parallel with the voltage controlled variable resistor 416 and the capacitor 420 .
- the normally opened shorting circuit 422 can be controlled, for example, by a RESET signal.
- the normally opened shorting circuit 422 could be implemented, for example as one or more transistors, such as a transfer gate.
- the first variable time constant integrator 408 can also include a voltage controlled variable resistor 426 (controlled by the differential RAMP signal), a capacitor 428 and a normally opened shorting circuit 430 (controlled by the RESET signal) connected in parallel in a second feedback path.
- the second feedback path can be defined as an electrical path between a positive output terminal 424 of the FDOA 410 and the negative input terminal 404 of the FDOA 410 .
- the capacitors 420 and 428 can, for example, be provided with the same or similar capacitance values.
- An integration time constant ( ⁇ ) of the first variable time constant integrator 408 can be expressed as follows:
- R total resistance, in ohms ( ⁇ ) of a feedback path
- Equation 1 reducing the total resistance (R) at both the first and second feedback paths reduces the integration time constant ( ⁇ ), thus reducing the integration time performed by the first variable time constant integrator 408 .
- the resistance (R), and therefore the time constant ( ⁇ ) can be varied in two separate ways. First, if the normally opened shorting circuits 422 and 430 are in a closed state, the resistance (R) can be reduced to approximately zero. Such a reduction causes the time constant ( ⁇ ) of the first variable time constant integrator 408 to also reduce to approximately zero.
- the gain of the first variable time constant integrator 408 is reduced about zero, such that the output of the first variable time constant integrator 408 is at a common mode voltage (e.g., electrically neutral).
- the normally opened shorting circuits 422 and 430 can be in a closed state, for example, when the RESET signal is at a HIGH state (e.g., logical ‘1’).
- the HIGH state (e.g., logical ‘1’) RESET signal causes the first variable time constant integrator 408 to discharge upon power-up or some other event in which the modulator 400 outputs are expected to be quite different from, and have no relation to, the input signal, such as transitioning from a deactivated state to an activated state.
- a previous condition of modulator 400 is removed, reducing latency in the modulator 400 reaching an appropriate desired output state.
- the time constant ( ⁇ ) of the first variable time constant integrator 408 can be varied by the voltage controlled variable resistors 416 and 426 .
- the differential RAMP signal that controls the resistance of the voltage controlled variable resistors 416 and 426
- the variable resistance is at a maximum value to provide a maximum leakage resistance, the maximum leakage resistance being selected based on the capacitance of the capacitors 420 and 428 .
- the leakage resistance decreases as a difference between the components of the differential RAMP signal increases, and can continue to decrease until the differential RAMP signal reaches a maximum difference between the components of the differential RAMP signal, thereby causing the modulator 400 to transition from an activated state of operation to a deactivated state of operation.
- the leakage resistance increases as the difference between the components of the differential RAMP signal decreases until both components of the differential RAMP signal are returned to the electrical neutral state, at which point the leakage resistance will once again be at the maximum value, thereby causing the modulator 400 to transition from the deactivated state of operation to the activated state of operation.
- the differential output of the first variable time constant integrator 408 can be applied to the input of a second variable time constant integrator 432 .
- Each of a pair of resistors indicated at R 6 can be connected between the output of the first variable time constant integrator 408 and a respective input of a second variable time constant integrator 432 to regulate current and/or voltage output by the first variable time constant integrator 408 .
- the positive output component of the differential square wave can be applied to a negative output terminal 418 of the first variable time constant integrator 408 .
- the negative component of the differential square wave can be applied to a positive output terminal 424 of the first variable time constant integrator 408 .
- the second variable time constant integrator 432 can be implemented in a manner similar to the first variable time constant integrator 408 without the inclusion of the normally opened shorting circuits 422 and 430 . However, in some implementations, the normally opened shorting circuits 422 and 430 could be included.
- the second variable time constant integrator can be implemented with voltage controlled variable resistors 434 and 436 each connected in parallel with capacitors 438 and 440 to form feedback paths for the second variable time constant integrator 432 .
- a time constant ( ⁇ ) of the second variable time constant integrator 432 can also be controlled by the differential RAMP signal in a manner similar to the first variable time constant integrator 408 .
- Positive and negative output terminals 442 and 444 of the second variable time constant integrator 432 can be respectively connected to a first set of positive and negative terminals (indicated at 446 ) of a first level detector 448 .
- the negative and positive output terminals 442 and 444 of the second variable time constant integrator 432 can also be respectively connected to a first set of positive and negative terminals (indicated at 450 ) of a second level detector 452 .
- Negative and positive components of the differential RAMP signal can be respectively applied to a second set of positive and negative terminals on both the first and the second level detectors 448 and 445 , the second sets being indicated at 454 and 456 .
- the first and second level detectors 448 and 452 can provide a differential PWM output signal (indicated as OUTPUT).
- the differential PWM output signal can be provided, for example, to a modulator control logic and/or half bridges that can drive the associated output load.
- the differential analog input signal (INPUT) can be received from the preamplifier at the first variable time constant integrator 408 , along with the differential FEEDBACK signal from the half bridges, as well as the differential square wave.
- the difference voltage at the input of the first variable time constant integrator 408 can be integrated and applied to the second variable time constant integrator 432 , while being summed with the differential square wave.
- a differential periodic waveform e.g., the differential square wave
- a differential signal that is time-varying at a much lower frequency than the periodic waveform (e.g., output of the first variable time constant integrator 408 )
- both signals at the same DC level (e.g., neutral) results in a summed signal that is equivalent to a difference signal that would result if the signals were subtracted from one another.
- the second variable time constant integrator 432 can generate a differential output signal that corresponds to the integration of the output of the first variable time constant integrator 408 summed with the differential square wave.
- the output of the second variable time constant integrator 432 can be applied to the first and second level detectors 448 and 452 .
- the output of the second variable time constant integrator 432 can be a periodically varying signal of opposite polarities.
- the output of the first level detector 448 will be driven to a positive voltage rail (e.g., a positive voltage) when the difference voltage between the positive and negative output terminals 442 and 444 of the second variable time constant integrator 432 is above a threshold value.
- the output of the first level detector 448 can be at a neutral voltage rail (e.g., a neutral voltage) when the difference between the positive and negative components of the first level detector 448 is below the threshold value.
- the output of the second level detector 452 can be configured to provide a complement output voltage of the first level detector 448 . Accordingly, the output of the second level detector 452 will be driven to the neutral voltage rail (e.g., electrically neutral) when the difference voltage between the positive and negative components of the second variable time constant integrator 432 is above a threshold value. Conversely, the output of the second level detector 452 can be driven to the positive voltage rail when the difference between the positive and negative components of the second level detector 452 is below the threshold value.
- the first and second level detectors 448 and 452 thusly generate an OUTPUT signal that can be implemented as a PWM signal with a fundamental frequency set by the reference waveform frequency of the OSC signal.
- the time constant ( ⁇ ) for both the first variable time constant integrator 408 and the second variable time constant integrator 432 can decrease depending on the difference between the components of the differential signal RAMP signal.
- the time constants ( ⁇ ) for the first variable time constant integrator 408 and the second variable time constant integrator 432 can vary at the same rate and/or same amount. Additionally or alternatively, the time constants for the first variable time constant integrator 408 and the second variable time constant integrator 432 can vary at different rates and/or different amounts to achieve a desired relationship between the respective time constants.
- the differential RAMP signal will be subtracted from the inputs of the first and second level detectors 448 and 452 , thus reducing the duty cycle of the OUTPUT signal as the difference between the components of the differential RAMP signal increases.
- the duty cycle of the OUTPUT signal will be reduced to about zero, causing the OUTPUT signal to remain in a deactivated state (e.g., neutral state) until the RAMP signal is deactivated.
- the OUTPUT signal being at a neutral state will cause the RESET signal to be driven to a HIGH state (e.g., logical ‘1’).
- the HIGH state RESET signal can thusly cause the normally opened shorting circuits 422 and 430 at the first variable time constant integrator 408 to be closed, thereby discharging the associated capacitors, which causes the time constant ( ⁇ ) of the first variable time constant integrator 408 to be reduced to at or near zero, thereby causing the gain of the first variable time constant integrator 408 to be reduced to about zero, thus causing the first variable time constant integrator 408 to provide the common mode signal (e.g., electrically neutral).
- the common mode signal e.g., electrically neutral
- the difference between the components of the differential RAMP signal will gradually decrease from the maximum level until both components of the differential RAMP signal are at the neutral level, causing the duty cycle of the OUTPUT signal to increase as the difference in the components of the differential RAMP signal decreases.
- the modulator 400 will return to the activated (e.g., steady state) state of operation.
- Varying the integration time constant ( ⁇ ) of the first and second variable time constant integrators 408 and 432 allows for a smooth transition between states (activated and deactivated states) of operation of the modulator 400 , while maintaining the closed loop paths of the modulator 400 , thereby ensuring stability of the modulator 400 .
- the modulator 400 is illustrated as a second order, two pole filter system having an associated closed loop transfer function.
- the first variable time constant integrator 408 can define a first pole of the second order, two pole filter system.
- the second variable time constant integrator 432 can define a second pole of the second order, two pole filter system.
- Each of the first and second variable time constant integrators 408 and 432 can also define a transfer function.
- the first pole can be a dominant pole (relative to the first pole) of the second order, two pole filter system.
- the second pole In the deactivated state of operation, the second pole can be the dominant pole (relative to the first pole) of the second order, two pole filter system.
- the RAMP signal can cause the pole dominance to smoothly shift from the first pole (defined by the first variable time constant integrator 408 ) to the second pole (defined by the second variable time 432 ). Additionally, during a transition between the deactivated state and the activated state, the ramp signal causes the pole dominance to smoothly shift from the second pole to the first pole. It is to be understood that the shifting of the pole dominance also varies the transfer function associated with the second order, two pole system accordingly. As discussed above, a smooth transition between the activated state and the deactivated state (and vice versa) reduces transient signals and/or audible artifacts associated with a sharp transition between operating states.
- FIG. 5 illustrates an example of a voltage controllable variable resistor 500 that could be implemented in a modulator in accordance with an aspect of the invention.
- the voltage controllable variable resistor 500 includes a first resistor indicated as R that is connected to a first node indicated at ‘A’.
- the ohmic value of the resistor R can be chosen as the minimum (or near minimum) resistance for the voltage controllable variable resistor 500 .
- the resistor R can be connected at a second node 502 with two transistors 504 and 506 .
- the two transistors 504 and 506 are illustrated as metal oxide semiconductor field effect transistors (MOSFETs), but one skilled in the art will appreciate that other transistors and or transistor combinations could be implemented as well, such as bipolar junction transistors (BJTs), junction field effect transistors (JFETs), or the like.
- the second node 502 of the resistor is connected to a source node of a P-channel MOSFET 506 and an N-channel MOSFET 504 .
- a drain node of the P-channel MOSFET 506 and a drain node of the N-channel MOSFET 504 can be connected at a third node indicated at ‘B’.
- the gates of the P-channel MOSFET 506 and the N-channel MOSFET 504 can be controlled, for example, by respective negative and positive output terminals 508 and 510 of a differential buffer 512 .
- a negative component of a differential RAMP signal can be provided to a negative input terminal 514 of the differential buffer 512
- a positive component of the differential RAMP signal can be provided to a positive input terminal 516 of the differential buffer 512 .
- the negative output terminal 508 of the differential buffer 512 can be at a positive voltage rail (e.g., +VCC), while the positive output terminal 510 of the differential buffer 512 can be at a negative voltage rail (e.g. ⁇ VCC) thereby driving the N-channel MOSFET 504 and the P-channel MOSFET 506 to a cutoff mode, thusly blocking current passing through the N-channel and the P-channel MOSFETs' 504 and 506 drain. Accordingly, a relatively large voltage drop across the drain and source nodes of the P and N-channel MOSFETs 504 and 506 are possible.
- the negative output terminal 508 of the differential buffer 512 output gradually decreases to the negative voltage rail, while concurrently the positive output terminal 510 of the differential buffer 512 output gradually increases to the positive voltage rail.
- the decreasing voltage at the gate of the P-channel MOSFET 506 causes the P-channel MOSFET 506 to transition from the cutoff mode to a saturation mode and subsequently to a linear mode, thereby decreasing the voltage drop across the P-channel MOSFET 506 .
- the increasing voltage at the gate of the N-channel MOSFET 504 causes the N-channel MOSFET 504 to transition from the cutoff mode to a saturation mode and subsequently to a linear mode, thereby decreasing the voltage drop across the N-channel MOSFET 504 .
- the negative output terminal 508 of the differential buffer 512 gradually increases to the positive voltage rail, while concurrently the positive output terminal 510 of the differential buffer 512 output gradually decreases to the negative voltage rail.
- the decreasing voltage at the gate of the N-channel MOSFET 504 causes the N-channel MOSFET 504 to transition from the linear mode to the saturation mode and subsequently to the cutoff mode, thereby increasing the possible voltage drop across the N-channel MOSFET 504 .
- the increasing voltage at the gate of the P-channel MOSFET 506 causes the P-channel MOSFET 506 to transition from the linear mode to the saturation mode and subsequently to the cutoff mode, thereby increasing the possible voltage drop across the P-channel MOSFET 506 .
- the resistance between node ‘A’ and node ‘B’ varies depending on a difference between components of the differential RAMP signal. That is, when the RAMP signal is in a neutral state, the resistance between the nodes ‘A’ and ‘B’ will be at a maximum, and when the RAMP signal is activated, the resistance between the nodes ‘A’ and ‘B’ will transition to the minimum resistance at approximately the same rate that the difference between the components of the differential RAMP signal increases. Conversely, when the RAMP signal is deactivated, the resistance between the nodes ‘A’ and ‘B’ will transition from the minimum resistance to the maximum resistance at approximately the same rate that the difference between the components of the differential RAMP signal decreases.
- FIG. 6 illustrates an example of a clip detector 600 that could be implemented in a modulator in accordance with an aspect of the invention.
- the clip detector 600 could be implemented, for example as the clip detector 330 illustrated in FIG. 3 .
- the clip detector 600 can include, for example a first D-flip flop 602 that is clocked by an oscillation signal, OSC.
- a data input of the first D-flip flop 602 can be tied to a HIGH state (e.g., VCC).
- An output of the first D-flip flop 602 can be provided to a data input of a second D-flip flop 604 .
- the second D-flip flop 604 can also be clocked by the OSC signal.
- the output of the second D-flip flop 604 can correspond to and output of the clip detector 600 , which can be implemented as a RESET signal.
- Third and fourth D-flip flops 606 and 608 can be clocked by respective positive and negative components of a PWM input signal. Similarly to the first D-flip flop 602 , the data input of the third and fourth D-flip flops 606 and 608 can be tied to a HIGH state. The outputs of the third and fourth D-flip flops 606 and 608 can be provided as inputs to a NOR gate 610 . The output of the NOR gate 610 can be delayed at delay 612 and provided to a reset input of the first, the second, the third and the fourth D-flip flops 602 , 604 , 606 and 608 .
- the output of the NOR gate 610 will go LOW at each LOW-to-HIGH transition of either PWM signal, causing a reset of all four D-flip flops 602 , 604 , 606 , and 608 at the same rate as the PWM signal.
- the output of the NOR gate 610 When the PWM input signal is provided in a deactivated state (e.g., non-switching state), the output of the NOR gate 610 will be at a HIGH state, which HIGH state releases the first through fourth D-flip flops 602 , 604 , 606 and 608 from the reset state. Such a state causes the HIGH data input at the first flip flop to be passed to the data input of the second flip flop and output as the RESET signal, thus driving the RESET signal to a HIGH state (e.g., logical ‘1’).
- the clip detector 600 can thus provide means for detecting an operation state of a modulator, as well as means for providing the RESET signal to a means for transitioning operation states of an audio channel in response to detecting a deactivated state.
- FIG. 7 illustrates an example of a RAMP signal 700 in accordance with an aspect of the invention.
- the RAMP signal is depicted that can be generated such as a common mode ramp signal.
- the RAMP signal 700 can be implemented as a differential signal with a negative component 702 and a positive component 704 .
- the differential RAMP signal 700 is illustrated as having a maximum positive voltage of 1 and a minimum negative voltage of ⁇ 1, but one skilled in the art will appreciate that other minimum and maximum voltage rails could be implemented.
- the voltage of the differential RAMP signal 700 is plotted as a function of time.
- the positive component 704 of the differential RAMP signal 700 for any point of time illustrated will be provided at 0 or more volts, while the negative component 702 of the differential RAMP signal 700 will be provided at 0 or less volts (e.g., more negative).
- the positive and negative components 704 and 702 of the differential RAMP signal 700 can have opposite polarities relative to zero volts or another common mode voltage.
- both the positive and negative components 704 and 702 of the differential RAMP signal 700 are provided at about respective maximum (e.g., 1 volt) and minimum (e.g., ⁇ 1 volt) voltage levels.
- a RAMP deactivation e.g. start up
- unmuting event can have occurred at t 1 .
- the positive component 704 and the negative component 702 of the differential RAMP signal 700 begin to decrease and increase respectively, linearly and continue to do so until a time t 2 .
- the positive and negative components 704 and 702 of the differential RAMP signal 700 can remain at an electrically neutral (e.g., zero) voltage level.
- Time t 3 can, for example, correspond to the occurrence of a RAMP activation (e.g., shut down) or muting event. It is to be understood that the time between t 2 and t 3 can represent any amount of time.
- the positive and negative components 704 and 702 of the differential RAMP signal 700 begin to increase and decrease respectively, and continue to do so until a time t 4 .
- both the positive and negative components 704 and 702 of the differential RAMP signal 700 are once again provided at about their respective maximum (e.g., 1 volt) and minimum (e.g., ⁇ 1 volt) voltage levels.
- the differential ramp signal could be provided, for example, to a second order, two pole filter system with an associated closed loop transfer function, such as the modulator 300 illustrated in FIG. 3 or the modulator 400 illustrated in FIG. 4 .
- the second order two pole filter system can include a first variable time constant integrator and a second variable time constant integrator that define a respective first and second pole of the second order, two pole filter system.
- two pole filter system such as the time between t 2 and t 3 the first and second poles of the of the second, order, two pole filter system can have a substantially equal frequency.
- the second pole can be the dominant pole (relative to the first pole) of the second order, two pole filter system.
- the differential ramp signal can vary a time constant associated with the first variable time constant integrator and the second variable time constant integrator to smoothly transition the dominance relative to the second pole.
- the differential ramp signal can vary a time constant associated with the first variable time constant integrator and the second variable time constant integrator to smoothly reduce the dominance of the second pole relative to the first pole.
- Varying the time constants of the first and second variable time constant integrators varies a gain and a phase margin associated with the second order two pole filter system such as described herein. Such a smooth transition of gain and phase margin can assist in the reduction and or elimination of transient signals and audible artifacts (e.g., a “click/pop” sound) associated with a sharp transition between operating states.
- transient signals and audible artifacts e.g., a “click/pop” sound
- FIGS. 8 and 9 illustrate a frequency response of a modulator (e.g., such as modulator 300 illustrated in FIG. 3 and/or modulator 400 illustrated in FIG. 4 ).
- a gain magnitude (in decibels) of the modulator output signal is plotted as a function of frequency in hertz.
- FIG. 9 illustrates a phase of the of the modulator output signal in relationship to a phase of the modulator input signal plotted as a function of frequency in hertz for four different example RAMP signals.
- FIGS. 8 and 9 multiple frequency responses are illustrated for different discrete values (e.g., voltages) of a RAMP signal.
- discrete values e.g., voltages
- FIGS. 8 and 9 only four different values of the RAMP signal (0, 0.1, 0.3 and 1) are illustrated in FIGS. 8 and 9 .
- the RAMP signal could be implemented as a differential RAMP signal, such that each given value of the ramp signal (0, 0.1, 0.3, and 1) can correspond a magnitude of positive and negative components of the differential RAMP signal at substantially opposite polarities.
- the gain of the output signal can be about 100 decibels greater than the magnitude of the input signal up to a frequency of about 200-300 hertz.
- the gain of the output signal beings to decrease as a function of the frequency.
- the phase shift of the modulator output signal increases from about ⁇ 35 degrees to about ⁇ 90 degrees at about 10 hertz to about the frequency of the first pole (e.g., 200-300 hertz).
- a second pole, indicated at p 2 has relatively little effect on the gain of output signal, thus making p 1 the dominant pole when the ramp signal is at 0 (e.g., deactivated).
- the phase shift increases from about ⁇ 90 degrees to about ⁇ 135 degrees between the first pole (p 1 ) and a zero, indicated at z.
- the gain of the modulator is reduced to about 45 decibels from 10 hertz to 1 kilohertz. At 1 kilohertz, the gain of the modulator (when the RAMP signal is at about 0.1) begins to decrease as the frequency increases. As illustrated in FIG. 9 , an increase in the RAMP signal increases the phase margin for the modulator.
- the phase shift of the modulator is reduced, such that the phase shift of the modulator increases from about unity (e.g., 0 degrees) to about ⁇ 130 degrees between about 10 hertz and about 10 kilohertz.
- the phase shift decreases from about ⁇ 130 degrees to about ⁇ 90 degrees between about 10 kilohertz and about 1 megahertz.
- the gain of the modulator is further reduced to about 30 decibels from about 10 hertz to about 10 kilohertz. At 10 kilohertz, the gain of the modulator (when the RAMP signal is at about 0.3) begins to decrease as the frequency increases.
- the RAMP signal reaches a value (e.g., voltage) of about 0.3, the phase margin of the modulator increases further.
- the phase shift of the modulator is further reduced, such that the phase shift of the modulator increases from about unity (e.g., 0 degrees) to about ⁇ 100 degrees between about 10 hertz and about 10 kilohertz.
- the phase shift decreases from about ⁇ 100 degrees to about ⁇ 90 degrees between about 10 kilohertz and about 1 megahertz.
- the gain of the modulator is reduced to about unity (e.g. 0 decibels) from about 10 hertz to about p 2 .
- the gain of the modulator (when the RAMP signal is at about 1) begins to decrease as the frequency increases.
- the RAMP signal reaches a maximum value (e.g., voltage) of about 1, the phase margin of the modulator increases still further.
- the phase shift of the modulator is further reduced, such that the phase shift of the modulator remains at about unity (e.g., about 0 degrees) between 10 hertz and 100 hertz.
- the phase shift of the modulator increases from about unity (e.g., about 0 degrees) to about ⁇ 90 degrees between about 100 hertz and about 1 megahertz. Accordingly, the first pole, p 1 and the zero z have relatively little effect on the gain or the phase margin of the output signal when the RAMP signal reaches the maximum voltage.
- increasing the RAMP signal decreases the gain of the modulator without introducing any (or nearly any) overshoot. That is, since the gain of the modulator (e.g., the modulator 300 or the modulator 400 illustrated in FIGS. 3 and 4 , respectively) can be varied while the modulator remains in a stable closed loop system, overshoot can be substantially reduced or eliminated. Moreover, as it is illustrated in FIG. 8 , the dominance of the poles p 1 and p 2 is smoothly shifted from p 1 to p 2 as the RAMP signal increases. Such a smooth transition of pole dominance can assist in reducing and/or eliminating transient signals and/or audible artifacts associated with a sharp transition between operation states of an audio system.
- FIG. 10 illustrates an example of a multi-channel audio system 1000 in accordance with an aspect of the invention.
- the multi-channel audio system 1000 can include a signal selector 1002 that can be controlled by an INPUT SELECT signal.
- the INPUT SELECT signal could be provided, for example, as a result of a user selecting a particular input.
- the signal selector 1002 can receive an input signal from a number of different sources.
- the signal selector 1002 can receive a signal from an antenna tuner 1004 .
- the antenna tuner 1004 can, for example, provide an amplitude modulated (AM) signal, or a frequency modulated (FM) signal to the signal selector 1002 .
- AM amplitude modulated
- FM frequency modulated
- a physical medium reader 1006 such as a cassette tape player or a compact disc (CD) player can also provide an input signal to the signal selector 1002 .
- the signal selector 1002 can also receive an input signal from an auxiliary input port 1008 .
- the auxiliary input port 1008 can be connected to an external device 1010 , such as a moving pictures experts group (MPEG) audio layer 3 (MP3) player.
- MPEG moving pictures experts group
- MP3 moving pictures experts group
- the signal selector 1002 could receive an input signal from some other device and/or system 1012 , such as could be implemented as a satellite receiver and/or a navigation system.
- the signal selector 1002 can provide an audio signal to a system control 1014 based on the INPUT SELECT signal.
- An output level selector 1016 can provide a signal that indicates a desired output level (e.g., audio volume) to the system control 1014 .
- the output level selector 1016 can also be configured to provide an activate and/or deactivate signal (e.g., start up and/or shut down signal) that causes the system control 1014 to transition to the activated or deactivated condition, respectively. Additionally or alternatively, the output level selector 1016 can provide a mute and/or unmute signal to the system control 1014 that causes the system control 1014 to enter a mute and/or unmuting condition.
- the system control 1014 can be connected to K number of output channels 1018 , where K is integer greater than or equal to one.
- Each output channel 1018 can be implemented, for example, as the output channel 200 illustrated in FIG. 2 .
- Each output channel 1018 can be associated with one or more loudspeakers 1020 , although for purposes of simplification of explanation, only one loudspeaker 1020 per output channel 1018 is illustrated.
- the loudspeakers 1020 can be driven, for example, by an associated amplifier 1022 .
- each amplifier 1022 can amplify a PWM signal provided by an associated modulator 1024 and provide a feedback signal to the associated modulator 1024 to form a closed-loop system.
- a demodulator 1023 can be connected between each of the amplifiers 1022 and the associated loudspeaker 1020 to demodulate the signals provide by the amplifier 1022 .
- the demodulator 1023 could be implemented, for example, as an LC low pass filter with a cutoff frequency of about 40 kHz.
- Each of the K number of modulators 1024 could be implemented, for example, as the modulators 300 and 400 illustrated in FIGS. 3 and 4 , although one skilled in the art will appreciate that other implementations are possible as well.
- the modulators 1024 can include, for example one or more variable time constant integrators that can define two or more poles of a second order, two pole filter system with an associated closed loop transfer function.
- the modulators 1024 can be provided with an input signal by an associated preamplifier 1026 .
- Each preamplifier 1026 can, for example, control the output level (e.g., volume) of the associated one or more loudspeakers 1020 .
- the system control 1014 can provide an input signal to each of the K preamplifiers 1026 . It is to be understood that the input signal provided to each of the K preamplifiers 1026 could be different signals, such as in a stereo or surround sound system. Alternatively, the input signal provided to each of the K preamplifiers 1026 could be substantially uniform signals, such as in a monophonic sound system.
- the system control 1014 can provide each of the K preamplifiers 1026 with a gain control signal that can set the output level (e.g., volume) of each of the one or more loudspeakers 1020 associated with the K output channels 1018 .
- the gain control signal can be based, for example, on the signal(s) provided by the output level selector 1016 .
- the system control 1014 can include, for example, a feed forward power system 1028 .
- the feed forward power system 1028 can provide a feed forward power signal for driving circuitry associated with the K modulators 1024 .
- the feed forward power system 1028 can also cause an oscillator signal generator to provide an oscillation signal to each of the K modulators 1024 .
- the system control 1014 can also include a charge pump 1032 .
- the charge pump 1032 can provide a signal to each of the K amplifiers 1022 for driving the one or more loudspeakers 1020 associated with each of the K output channels 1018 .
- the system control 1014 can still further include a ramp signal generator 1034 that can provide a ramp signal (or a ramp enable signal, such as a control signal) to each of the K modulators 1024 .
- the ramp signal can be provided, for example, in response to the system control 1014 receiving a signal from the output level selector 1016 indicating that a change in operating state (e.g., activated state or deactivated state) of the system 1000 has been selected.
- the ramp signal generator 1034 can thusly provide means for providing the ramp signal.
- the system control 1014 can receive an input signal from the input selector, and a volume selection signal from the output level selector 1016 that indicates a desired volume.
- the system control 1014 can cause each of the K output channels 1018 to provide an audio signal at the one or more loudspeakers 1020 associated with each output channel 1018 .
- the output level selector 1016 provides a deactivation signal to the system control 1014 .
- the deactivation signal causes the system control 1014 to provide a rising ramp signal (e.g., the signal between t 3 and t 4 illustrated in FIG.
- the rising ramp signal causes the output the one or more loudspeakers 1020 associated with a given modulator 1024 to be reduced as the ramp signal increases until the output of the one or more loudspeakers 1020 associated with the given modulator 1024 is disabled.
- the output level selector 1016 provides an activation signal to the system control 1014 .
- the activation signal causes the system control 1014 to provide a decreasing ramp signal (e.g., the signal between t 1 and t 2 illustrated in FIG. 7 ) to each of the K modulators 1024 .
- the decreasing ramp signal causes the output of one or more loudspeakers 1020 associated with a given modulator 1024 to be increased as the ramp signal decreases until the volume at the one or more loudspeaker 1020 associated with the given modulator 1024 is restored to the level prior to the deactivation (e.g., the permuted level).
- the system control provides means for controlling the ramp signal.
- the ramp signal can be employed, for example, by each of the K modulators 1024 to smooth the transition from the activated state and the deactivated state and vice versa.
- the ramp signal can be employed to vary at least one of an integration time constant, gain and phase margin of the modulators 1024 , such that pole dominance is smoothly transitioned between the first and second poles of the second order, two pole filter system of the modulators 1024 .
- Such a smooth transition between operation states can reduce or eliminate transient signals provided to the one or more loudspeakers 1020 associated with a given modulator 1024 that can damage electrical components and/or cause the one or more loudspeakers 1020 associated with the given modulator 1024 to produce undesirable audible artifacts (e.g., a “click/pop” sound) in the multi-channel audio system 1000 .
- undesirable audible artifacts e.g., a “click/pop” sound
- FIG. 11 illustrates a flow chart that depicts a process 1100 in accordance with an aspect of the invention.
- the process 1100 could be implemented, for example in a system that provides a PWM output signal, such as an audio system.
- the PWM output signal can be provided.
- the PWM output signal could be provided, for example, by a modulator that includes at least one variable time constant integrator.
- a modulator that includes at least one variable time constant integrator.
- the modulator can defines two poles of a second order, two pole filter system with an associated closed loop transfer function.
- a first pole of the second order, two pole filter system can be dominant (relative to a second pole of the second order, two pole filter system) when the audio system is in an activated state (e.g., steady state) of operation.
- the second pole of the second order, two pole filter system can be the dominant pole (relative to the first pole of the second order, two pole filter system) when the system in the deactivated state of operation.
- the modulator can, for example, include at least one variable time constant integrator. The output signal provided by the modulator could be used, for example, to drive one or more loudspeakers of the audio system.
- an output state (e.g., activated or deactivated state) of the modulator can be monitored.
- a selection signal can also be monitored. The selection signal can indicate if a change in the output state of the modulator is desired (e.g., an activation or deactivation event (e.g. start up/shut down) or a muting or unmuting event).
- a determination is made as to whether a change in the output state of the modulator is occurring, such as based on the selection signal. If the determination at 1106 is negative (e.g., NO), the process 1100 returns to 1104 .
- the process 1100 proceeds to 1108 .
- the closed loop transfer function associated with the modulator can be controlled to vary, causing the output of the modulator to change from the activated state to the deactivated state (or vice versa), which in turn can disable (or enable) audio output.
- the transfer function can be varied, for example, as a function of a RAMP signal, and/or a RESET signal.
- the transfer function can be varied by varying at least one of the integration time constant, gain and phase margin of the at least on integrator of the modulator commensurate with changes in the RAMP signal.
- Varying the transfer function can, for example, smoothly transition pole dominance of the second order, two pole filter system associated with the modulator thereby reducing or eliminating transient signals that could cause audio artifacts (e.g., a “click/pop” sound) at the output of the audio system during an output state change of the system.
- audio artifacts e.g., a “click/pop” sound
Landscapes
- Engineering & Computer Science (AREA)
- Power Engineering (AREA)
- Amplifiers (AREA)
Abstract
Description
- This invention relates to output systems, and more specifically, to systems and methods for transitioning between operation states in an output system.
- Digital techniques for audio signal processing extend to the driving of audio output amplifiers. A popular class of amplifier circuits in many audio applications is “class D” amplifiers. A Class D amplifier drives a complementary output signal that is digital in nature, with the output voltage swinging fully from “rail-to-rail” at a duty cycle that varies with the audio information. Complementary metal-oxide-semiconductor (CMOS) output drive transistors are thus suitable for class D amplifiers; as such devices are capable of high, full-rail, switching rates such as desired for digital applications. CMOS drivers conduct low DC current, and their resulting efficiency is especially beneficial in portable and automotive audio applications. In addition, the ability to realize the audio output amplifier in CMOS enables integration of an audio output amplifier with other circuitry in the audio system, further improving efficiency and also reducing manufacturing costs of the system. This integration also provides performance benefits resulting from close device matching between the output devices and the upstream circuits, and from reduced signal attenuation.
- As is known in the art, an undesirable effect of a transient signal can exist in the output of a class D amplifier. The transient signal can cause audible artifacts, such as a “click/pop” noise, an audible “humming” noise or a crunching sound. Typically, the transient signals occur when the class D amplifier changes states of operation, such as between an activated state (e.g., switching mode or steady state) and a deactivated state. Reduction (or elimination) of such undesirable transient signals is thusly needed.
- One aspect of the invention is related to a closed loop amplifier system comprising a modulator that provides a pulse-width modulated (PWM) output signal based on an input signal, the modulator having a variable closed loop transfer function. The system also comprises a ramp generator that provides a ramp signal to the modulator, the variable closed loop transfer function of the modulator varying as a function of the ramp signal. The system further comprises a controller that controls the ramp generator to provide the ramp signal to adjust the variable closed loop transfer function during transitions between operating states of the amplifier system.
- Another aspect of the invention is related to a system for transitioning an operation state of a multi-channel system, the system comprising means for providing a ramp signal and means for controlling the means for providing the ramp signal. The system also comprises means for providing a plurality of pulse-width modulated (PWM) signals that includes a means for filtering according to a transfer function that varies as a function of the ramp signal, wherein each of the plurality of PWM signals includes a P-side signal and an N-side signal associated with a respective channel that varies based on an input signal and the ramp signal. The system further comprises means for amplifying the plurality of PWM signals and providing a feedback signal to the means for providing the plurality of PWM signals. The system still further comprises means for transitioning the means for providing the plurality of PWM signals between at least two operation states based at least in part upon the ramp signal.
- Still another aspect of the invention is related to a method for transitioning between an activated output state and a deactivated output state of a modulator of an audio system. The method comprises monitoring a selection signal, the selection signal indicating a change in the output state of the modulator. The method also comprises varying a closed loop transfer function of the modulator as a function of the ramp signal in response to detecting the selection signal indicating the change in the output state of the modulator.
-
FIG. 1 illustrates an example of a system in accordance with an aspect of the invention. -
FIG. 2 illustrates an example of an audio channel in accordance with an aspect of the invention. -
FIG. 3 illustrates an example of a modulator in accordance with an aspect of the invention. -
FIG. 4 illustrates another example of a modulator in accordance with an aspect of the invention. -
FIG. 5 illustrates an example of a voltage controlled variable resistor in accordance with an aspect of the invention. -
FIG. 6 illustrates an example of a clip detector in accordance with an aspect of the invention. -
FIG. 7 illustrates an example of ramp signals in accordance with an aspect of the invention. -
FIG. 8 illustrates a gain diagram of a modulator in accordance with an aspect of the invention. -
FIG. 9 illustrates a phase diagram of a modulator in accordance with an aspect of the invention. -
FIG. 10 illustrates an example of a multi-channel system in accordance with an aspect of the invention. -
FIG. 11 illustrates a flow-chart diagram of a process in accordance with an aspect of the invention. -
FIG. 1 illustrates an example of asystem 100 in accordance with an aspect of the invention. Thesystem 100 could be implemented, for example, as an audio system (e.g., a stereo system, a surround sound system, etc.). Alternatively, thesystem 100 could be implemented as a motor control system. Those skilled in the art will appreciate other uses (e.g., for the system 100). - The
system 100 includes a pre-driver 102 communicatively coupled to anoutput system 104. The pre-driver 102 could be implemented, for example, as hardware, software or a combination thereof. The pre-driver 102 can include amodulator 106 that can provide a pulse-width modulated (PWM) signal to anamplifier 108 of theoutput system 104. Themodulator 106 could be implemented, for example, as a modulator that includes a second order, two pole filter system having an associated closed loop transfer function. The second order two pole filter system can include, for example, a first stage and second stage connected in series that respectively define first and second poles of the second order, two pole filter system. Each of the first and second stages of themodulator 106 could be implemented, for example, as filters with an adjustable gain and phase margin. Theamplifier 108 can employ the PWM signal, for example, to drive anoutput load 110. Theamplifier 108 can include PWM control logic. As an example, the PWM control logic can control the minimum pulse-width of signals provided by theamplifier 108. Theoutput load 110 could be implemented, for example, as one or more loudspeakers or one or more electric motors. Additionally, the signal provided by theamplifier 108 can be fed back to themodulator 106, thereby forming a closed loop system. - The
modulator 106 can receive an INPUT signal. The INPUT signal could be provided, for example, from a pre-amplifier as an analog audio signal. Themodulator 106 can modulate the INPUT signal to provide the PWM signal. Acontrol 112 can be communicatively coupled to themodulator 106. Thecontrol 112 can be configured to activate and deactivate themodulator 106. In the activated state, the PWM signal provided from themodulator 106 can be implemented as a PWM version of the INPUT signal. In the deactivated state, the PWM signal is disabled. As an example, thecontrol 112 can receive an OUTPUT CONTROL signal that causes thecontrol 112 to change the operation state of themodulator 106. The OUTPUT CONTROL could be implemented, for example, as an activate/deactivate (e.g., start up, shut down) signal and/or as a mute/unmute signal. - The pre-driver 102 can also include a
ramp generator 114 that can be communicatively coupled to thecontrol 112. Thecontrol 112 can control theramp generator 114 to provide a ramp signal to themodulator 106 at or about the same time that thecontrol 112 causes themodulator 106 to change operation states. - The ramp signal can be employed by the
modulator 106 to smooth the transition from an activated state to a deactivated state and vice versa. By way of further example in one implementation, the first stage of themodulator 106 could define a dominant pole of the second order, two pole filter system (e.g., the first pole) in the activated state of operation. In such an implementation, the ramp signal can be employed to vary the gain and/or the phase margin of at least one stage of themodulator 106 such that the second stage of themodulator 106 defines the dominant pole in the deactivated state of operation, thereby varying the transfer function associated with the second order, two pole filter system. It is to be understood that a dominant pole of a multiple pole filter system is the pole with a greater gain and/or phase margin than the non-dominant pole or poles. Thusly, the ramp signal can smooth transitions between the activated state and the deactivated state of operation. Such a smoothing of the transition can reduce or eliminate transient signals provided to theoutput system 104 that can damage electrical components and/or cause thesystem 100 to produce undesirable audible artifacts (e.g., a “click/pop” sound) if thesystem 100 is implemented as an audio system. -
FIG. 2 illustrates an example of anaudio channel 200 in accordance with an aspect of the invention. Differential analog input signals P-SIDE and N-SIDE can be received at apreamplifier 202. Although for purposes of simplification of explanation, theaudio channel 200 is illustrated to be implemented as adifferential audio channel 200, it is to be understood that theaudio channel 200 could alternatively be implemented in a single-ended fashion, in which case the analog audio input signal would be a single-ended signal. - The
preamplifier 202 amplifies the analog input signals (P-SIDE and N-SIDE) to an appropriate level for amodulator 204. The appropriate level can be set by a GAIN CONTROL signal (e.g., volume control) that can be provided to theaudio channel 200, for example, in response to a user input. Alternatively, the GAIN CONTROL could be controlled by an autonomous system, such as a computer. As an example, the GAIN CONTROL can set the volume to zero (or near zero) when a deactivated state is selected, and the appropriate level when the activated state is selected. To adjust an output volume, the GAIN CONTROL signals gate the output of thepreamplifier 202 to the desired volume output in an activated and/or unmuted condition. Thepreamplifier 202 can also receive a CHANNEL OUTPUT signal that indicates an operation state of thechannel 200. The operation state of thechannel 200 can transition between an activated state (e.g., start up or unmuted state) and a deactivated state (e.g., shut down or muted state). - The output of the
preamplifier 202 can be provided to themodulator 204, along with a pair of feedback signals indicated at FB. Themodulator 204 can receive a reference waveform OSC, for example, from a local oscillator in a power circuit. Themodulator 204 can employ the OSC signal to generate a pulse-width-modulated version of the analog input signals. Also, in the present example, themodulator 204 can receive a RAMP signal, for example, from a ramp generator. The RAMP signal can be implemented as a differential non-zero voltage during deactivated (e.g., muted) periods, and can be implemented as a differential ramped common mode voltage in transient periods following activating and deactivating events (e.g., start up/shut down and/or muting/unmuting events). Themodulator 204 also receives a power supply level signal (FWD FEED). The FWD FEED signal could be provided, for example, by a power supply feed-forward circuit. - The
modulator 204 can generate and provide the PWM output to amodulator control logic 206 of anoutput amplifier 208. Themodulator control logic 206 can modify the PWM output from themodulator 204 in response to certain events. For instance, themodulator control logic 206 could be configured to enforce certain minimum pulse widths for both “on” and “off” pulses during the transient periods following a mute or unmute of the audio output and/or a start up or shut down of the audio output in which the RAMP signal controls the duty cycle of the PWM output, thus ensuring stable operation of the associated channel. Theaudio output channel 200 can provide means for providing PWM signals that includes a means for filtering according to a transfer function that varies as a function of a ramp signal. - In one example, in which the
output amplifier 208 operates as a class D amplifier, themodulator control logic 206 can provide complementary output signals to P and N-side gate drivers output amplifier 208 to drive gates of transistors in first and second half-bridges output amplifier 208. The P-side and N-side high-side gate drivers, 210 and 212 are supplied by a CHARGE PUMP voltage. The P-side and N-side half bridges 214 and 216 can each include power output transistors that can drive aloudspeaker 218 of thechannel 200 in response to the PWM output signal provided at the P-side and N-side half bridges 214 and 216. Ademodulator 220 can be connected between the P-side and N-side half bridges 214 and 216 and theloudspeaker 218 to demodulate the signals provide by the P-side and N-side half bridges 214 and 216. Thedemodulator 220 could be implemented, for example, as an LC low pass filter with a cutoff frequency of about 40 kHz. Each of the P-side and N-side half-bridges modulator control logic 206, so that the high-side transistor of the P-side half-bridge 214 and the low-side transistor of the N-side half-bridge 216 are on (e.g., in a linear state) when the low-side transistor of the P-side half-bridge 214 and the high-side transistor of the N-side half-bridge 216 are off (e.g., in a cutoff state), and vice versa. In such an implementation, theloudspeaker 218 is driven as a bridged load, for example, in a class D manner. The signals driven by P-side and N-side half-bridges modulator 204 to provide the above-mentioned feedback signal indicated at FB. Theoutput amplifier 208 can thusly provide means for amplifying PWM signals and for providing a feedback signal to a means for providing PWM signals. -
FIG. 3 illustrates an example of amodulator 300 in accordance with an aspect of the invention. The modulator could be implemented, for example, as themodulator 204 illustrated inFIG. 2 . An analog input signal (INPUT) can be received at afirst adder 302. The analog input signal could be implemented, for example, as a differential audio signal. Thefirst adder 302 can also receive a feedback signal indicated at FB, which feedback signal could be provided from one or more half-bridges of an amplifier (e.g.,FIG. 7 ). For instance, the FB signal could be provided to thefirst adder 302 in the form of a differential voltage that could be provided from the half-bridges, such as in the form of a differential voltage driven across an output load (e.g., a loudspeaker). It is to be understood that the FB signal can be provided to theadder 302 via a differential gain block, having a gain of less than about one (e.g., unity). The output of thefirst adder 302, which output can correspond to a difference between the INPUT and the FB signal, can be applied to a loop filter. Aloop filter block 304 can, for example, apply filters andgains 306 to the difference signal provided by thefirst adder 302. The loop filter can include at least one loop path, indicated at P1 with a transfer function of second order (or higher). In the present example, the loop filter can be implemented as a triple path loop (indicated at P1, P2 and P3) involving the combination of the loop filter block 304 with first and second variable timeconstant integrators - The first variable time
constant integrator 308 can receive a filtered difference signal corresponding to the difference between an input signal corresponding to a desired audio output and feedback from the current audio output. The first variable timeconstant integrator 308 integrates this difference and provides the result to a sequence of respective second andthird adders second adder 312 adds in another feedback term from theloop filter block 304 to the integrated difference from the first variable timeconstant integrator 308. Thethird adder 314 receives the second output of thesecond adder 312 and adds in another feedback term from loop filter block 304 indicated as loop path P3. The feedback term from the loop filter block 304 that can be provided to thethird adder 314 can include, for example, ahigh pass filter 316. Thethird adder 314 can also add a reference waveform from asquare wave generator 318. The sum from the output ofthird adder 314 can be integrated by the second variable timeconstant integrator 310. - In the present example, a PWM reference waveform can be generated by the
square wave generator 318 in response to a periodic signal (OSC) provided to thesquare wave generator 318 from a power and control circuit. The OSC signal can, for example, be provided with an amplitude corresponding to a voltage communicated from a power supply feed-forward circuit. Thesquare wave generator 318 can also be powered by the power supply feed-forward circuit via a forward feed (FWD FEED) signal. As an example, a PWM signal can be produced from the difference between a square wave and the signal provided by thesecond adder 312. Since the output of thethird adder 314 can be applied to the second variable timeconstant integrator 310, the reference waveform in such an example can be applied as a square wave. - The output of the second variable time
constant integrator 310 can be applied as an input to each of fourth andfifth adders fourth adder 320 can add the output of the second variable timeconstant integrator 310 with the output of aramp signal generator 323. The output of thefourth adder 320 can correspond to a signal to be applied to a P-side half-bridge used to drive the output load. Thefifth adder 322 subtracts the output of the second variable timeconstant integrator 310 from the output of theramp signal generator 323. The output of thefifth adder 322 corresponds to the signal to be applied to an N-side half-bridge to drive the output load. The output of thefourth adder 320 can be applied to afirst level detector 324. Thefirst level detector 324 can generate a PWM signal of one polarity. The output of thefifth adder 322 can be applied to asecond level detector 326. Thesecond level detector 326 can generate a complementary PWM signal relative to that of thefirst level detector 324. The pair of PWM signals, which correspond to the output signals that can be applied to the P-side and N-side half-bridges, can be applied to amodulator control logic 328 that can ensure that the pair of PWM output signals will have minimum pulse widths. - The output of the
modulator control logic 328 and the OSC signal can be applied to aclip detector 330. Theclip detector 330 can provide a digital signal (RESET) that indicates an operation state of themodulator 300. That is, if themodulator 300 is in an activated state, theclip detector 330 can provide a LOW state (e.g., logical ‘0’) signal. If themodulator 300 is in a deactivated state, theclip detector 330 can provide a HIGH state (e.g., logical ‘1’) signal. The output of theclip detector 330 can be provided to the first variable timeconstant integrator 308 as the RESET signal. - As an example, when the
clip detector 330 provides a RESET signal with a digital logic HIGH value, an integration time constant (τ) of the first variable timeconstant integrator 308 can be reduced to at or near zero, which can disable the first variable timeconstant integrator 308. Additionally, when theclip detector 330 provides a digital logic LOW value, the first variable timeconstant integrator 308 can be reactivated. When the integration time constant (τ) of the first variable timeconstant integrator 308 is reduced to at or near zero, the gain of the first variable timeconstant integrator 308 is also reduced to about zero. - The
ramp signal generator 323 can receive an ENABLE (e.g., a control signal) signal from a controller. The ENABLE signal can cause theramp signal generator 323 to provide a ramp signal. The ramp signal can be provided, for example, to activate or deactivate (e.g., start up or shut down) the audio channel. Additionally or alternatively, the ramp signal can be provided, for example, to mute or unmute the audio channel. - The
modulator 300 is illustrated as a second order, two pole filter system with an associated closed loop transfer function. In the present example, the first variable timeconstant integrator 308 corresponds to a first stage of the second order, two pole filter system, and the second variable timeconstant integrator 310 corresponds to a second stage of the second order system, two pole filter systems. Each of the first and second stages could be implemented, for example, as filters or amplifiers having associated transfer functions. The first variable timeconstant integrator 308 thus can be configured to define a first pole of the second order, two pole filter system. The second variable timeconstant integrator 310 can be configured to define a second pole of the second order, two pole filter system. In the activated state of operation, the first pole can be a dominant pole (relative to the second pole), while in the deactivated state of operation; the second pole can be the dominant pole (relative to the first pole). The ramp signal can be provided to the first variable timeconstant integrator 308 and the second variable timeconstant integrator 310 to change dominance of the poles, thereby also varying the transfer function associated with the second order, two pole filter system. - For example, the ramp signal can be provided to the first and second variable time
constant integrators constant integrators constant integrators constant integrators constant integrator 308 can vary at a same rate and/or same amount as the time constant (τ) associated with the second variable timeconstant integrator 310. However, one skilled in the art will appreciate that the time constants (τ) of the first and second variable timeconstant integrators constant integrators constant integrators fifth adders modulator 300 to be gradually reduced to at or near an electrically neutral vale (e.g., 0 volts), thus reducing or eliminating undesirable effects (e.g., a “click/pop” sound) of a faster deactivation of themodulator 300. - Conversely, providing a decreasing ramp signal such as during an activating event (e.g., start up or unmuting event) to the first and second variable time
constant integrators constant integrators constant integrators fifth adders modulator 300 to be gradually increased to return to an activated state, thus reducing or eliminating undesirable effects (e.g., a “click/pop” sound) of a faster activation of themodulator 300. The integration time constant (τ) of the first and second variable timeconstant integrators modulator 300, thereby ensuring stability of themodulator 300. Themodulator 300 can thus provide means for transitioning a means for providing PWM signals between at least two operation states (e.g., the activated state and the deactivated state) based on the RAMP signal. -
FIG. 4 illustrates a circuit component diagram of amodulator 400, such as corresponding to themodulator 300 depicted inFIG. 3 , in accordance with an aspect of the invention. Themodulator 400 is depicted in a differential implementation, although those skilled in the art will be readily able to implement themodulator 400 according to other implementations, including a single-ended signal implementation. However, for purposes of simplification of explanation, the differential implementation is illustrated and described. - A differential analog INPUT signal (e.g., an audio signal) can be applied to positive and
negative terminals constant integrator 408. A pair of resistors, indicated at R1, can be connected between the INPUT signal and the positive andnegative terminals constant integrator 408. The first variable timeconstant integrator 408 can include, for example, a first differential operational amplifier (FDOA) 410. TheFDOA 410 can be constructed according to conventional techniques. As is known in the art, theFDOA 410 produces a differential output in response to a differential voltage received at theFDOA 410 input. In the present example, positive and negative components of a differential feedback (FEEDBACK) signal can be received from half bridges that drive an output load (e.g., a loudspeaker). The positive and negative components of the differential FEEDBACK signal can be applied to the positive andnegative terminals constant integrator 408, respectively. Another pair of resistors, indicated at R2 can be connected between the FEEDBACK signal and the positive andnegative terminals constant integrator 408. R2 can be included to regulate current and/or voltage provided by the FEEDBACK signal. - Additionally, in the present example, a differential power signal (e.g., a FWD FEED) signal can be provided to a
differential buffer 412. The output of thedifferential buffer 412 can be provided to achopping circuit 414 that is controlled by an oscillation signal, OSC. Thechopping circuit 414 can provide a differential square wave (indicated at SQ.) at a frequency substantially equal to the frequency of the OSC signal and the differential square wave can have amplitude substantially equal to the output voltage of thedifferential buffer 412. The positive component of the differential square wave can be provided to the negative component of the differential FEEDBACK signal and to the negative component of the differential INPUT signal. The negative component of the differential square wave can be provided to the positive component of the FEEDBACK signal and to the positive component of the INPUT signal. A pair of resistors, indicated at R3 can be connected at the output terminals of thechopping circuit 414 to regulate the current and/or voltage provided by the differential square wave. Another pair of resistors, indicated at R4 can be connected between the pair of resistors R3 and the FEEDBACK signal to further regulate the current and/or the voltage of the differential square wave. Still another pair of resistors, indicated at R5, can be connected between the pair of resistors R3 and the INPUT signal to further regulate the current and/or the voltage of the differential square wave. - The first variable time
constant integrator 408 can include, a voltage controllablevariable resistor 416 connected at a first feedback path that can be defined as an electrical path between anegative output terminal 418 of theFDOA 410 and thepositive input terminal 402 of theFDOA 410. The resistance could be controlled, for example, by a differential RAMP signal such as described herein. Acapacitor 420 can be connected in parallel with the voltage controlledvariable resistor 416. Furthermore, a normally opened shortingcircuit 422 can also be connected in parallel with the voltage controlledvariable resistor 416 and thecapacitor 420. The normally opened shortingcircuit 422 can be controlled, for example, by a RESET signal. The normally opened shortingcircuit 422 could be implemented, for example as one or more transistors, such as a transfer gate. The first variable timeconstant integrator 408 can also include a voltage controlled variable resistor 426 (controlled by the differential RAMP signal), acapacitor 428 and a normally opened shorting circuit 430 (controlled by the RESET signal) connected in parallel in a second feedback path. The second feedback path can be defined as an electrical path between apositive output terminal 424 of theFDOA 410 and thenegative input terminal 404 of theFDOA 410. Thecapacitors - An integration time constant (τ) of the first variable time
constant integrator 408 can be expressed as follows: -
τ=R×CEquation 1 - where: R=total resistance, in ohms (Ω) of a feedback path;
-
- C=total capacitance, in Farads (F) of a feedback path.
- Thus, as shown in
Equation 1, reducing the total resistance (R) at both the first and second feedback paths reduces the integration time constant (τ), thus reducing the integration time performed by the first variable timeconstant integrator 408. In the first variable timeconstant integrator 408, the resistance (R), and therefore the time constant (τ) can be varied in two separate ways. First, if the normally opened shortingcircuits constant integrator 408 to also reduce to approximately zero. When the time constant (τ) of the first variable timeconstant integrator 408 is reduce to approximately zero, the gain of the first variable timeconstant integrator 408 is reduced about zero, such that the output of the first variable timeconstant integrator 408 is at a common mode voltage (e.g., electrically neutral). The normally opened shortingcircuits - The HIGH state (e.g., logical ‘1’) RESET signal causes the first variable time
constant integrator 408 to discharge upon power-up or some other event in which themodulator 400 outputs are expected to be quite different from, and have no relation to, the input signal, such as transitioning from a deactivated state to an activated state. With such an implementation, a previous condition ofmodulator 400 is removed, reducing latency in themodulator 400 reaching an appropriate desired output state. - Additionally, when the shorting circuits are opened, such as when the RESET signal is provided at a LOW state (e.g., logical ‘0’), the time constant (τ) of the first variable time
constant integrator 408 can be varied by the voltage controlledvariable resistors variable resistors 416 and 426) is electrically neutral (e.g., a voltage level of ‘0’), the variable resistance is at a maximum value to provide a maximum leakage resistance, the maximum leakage resistance being selected based on the capacitance of thecapacitors modulator 400 to transition from an activated state of operation to a deactivated state of operation. When the differential RAMP signal is deactivated (such as when a start up or unmuting event occurs), the leakage resistance increases as the difference between the components of the differential RAMP signal decreases until both components of the differential RAMP signal are returned to the electrical neutral state, at which point the leakage resistance will once again be at the maximum value, thereby causing themodulator 400 to transition from the deactivated state of operation to the activated state of operation. - The differential output of the first variable time
constant integrator 408 can be applied to the input of a second variable timeconstant integrator 432. Each of a pair of resistors indicated at R6 can be connected between the output of the first variable timeconstant integrator 408 and a respective input of a second variable timeconstant integrator 432 to regulate current and/or voltage output by the first variable timeconstant integrator 408. Additionally, the positive output component of the differential square wave can be applied to anegative output terminal 418 of the first variable timeconstant integrator 408. Conversely, the negative component of the differential square wave can be applied to apositive output terminal 424 of the first variable timeconstant integrator 408. - The second variable time
constant integrator 432 can be implemented in a manner similar to the first variable timeconstant integrator 408 without the inclusion of the normally opened shortingcircuits circuits FIG. 4 , the second variable time constant integrator can be implemented with voltage controlledvariable resistors capacitors constant integrator 432. Thus, a time constant (τ) of the second variable timeconstant integrator 432 can also be controlled by the differential RAMP signal in a manner similar to the first variable timeconstant integrator 408. - Positive and
negative output terminals constant integrator 432 can be respectively connected to a first set of positive and negative terminals (indicated at 446) of afirst level detector 448. The negative andpositive output terminals constant integrator 432 can also be respectively connected to a first set of positive and negative terminals (indicated at 450) of asecond level detector 452. Negative and positive components of the differential RAMP signal can be respectively applied to a second set of positive and negative terminals on both the first and thesecond level detectors 448 and 445, the second sets being indicated at 454 and 456. The first andsecond level detectors - In an activated state of operation (e.g., steady state), the differential analog input signal (INPUT) can be received from the preamplifier at the first variable time
constant integrator 408, along with the differential FEEDBACK signal from the half bridges, as well as the differential square wave. The difference voltage at the input of the first variable timeconstant integrator 408 can be integrated and applied to the second variable timeconstant integrator 432, while being summed with the differential square wave. Those skilled in the art will recognize that, for purposes of PWM, the addition of a differential periodic waveform (e.g., the differential square wave) to a differential signal that is time-varying at a much lower frequency than the periodic waveform (e.g., output of the first variable time constant integrator 408), with both signals at the same DC level (e.g., neutral) results in a summed signal that is equivalent to a difference signal that would result if the signals were subtracted from one another. The second variable timeconstant integrator 432 can generate a differential output signal that corresponds to the integration of the output of the first variable timeconstant integrator 408 summed with the differential square wave. - With the differential RAMP signal at about neutral (e.g., zero volts or other common mode voltage level), the output of the second variable time
constant integrator 432 can be applied to the first andsecond level detectors constant integrator 432 can be a periodically varying signal of opposite polarities. The output of thefirst level detector 448 will be driven to a positive voltage rail (e.g., a positive voltage) when the difference voltage between the positive andnegative output terminals constant integrator 432 is above a threshold value. Conversely, the output of thefirst level detector 448 can be at a neutral voltage rail (e.g., a neutral voltage) when the difference between the positive and negative components of thefirst level detector 448 is below the threshold value. - The output of the
second level detector 452 can be configured to provide a complement output voltage of thefirst level detector 448. Accordingly, the output of thesecond level detector 452 will be driven to the neutral voltage rail (e.g., electrically neutral) when the difference voltage between the positive and negative components of the second variable timeconstant integrator 432 is above a threshold value. Conversely, the output of thesecond level detector 452 can be driven to the positive voltage rail when the difference between the positive and negative components of thesecond level detector 452 is below the threshold value. The first andsecond level detectors - When the differential RAMP signal is provided to the voltage controlled
resistors constant integrator 408 and the second variable timeconstant integrator 432 can decrease depending on the difference between the components of the differential signal RAMP signal. The time constants (τ) for the first variable timeconstant integrator 408 and the second variable timeconstant integrator 432 can vary at the same rate and/or same amount. Additionally or alternatively, the time constants for the first variable timeconstant integrator 408 and the second variable timeconstant integrator 432 can vary at different rates and/or different amounts to achieve a desired relationship between the respective time constants. Additionally, the differential RAMP signal will be subtracted from the inputs of the first andsecond level detectors - Moreover, the OUTPUT signal being at a neutral state will cause the RESET signal to be driven to a HIGH state (e.g., logical ‘1’). The HIGH state RESET signal can thusly cause the normally opened shorting
circuits constant integrator 408 to be closed, thereby discharging the associated capacitors, which causes the time constant (τ) of the first variable timeconstant integrator 408 to be reduced to at or near zero, thereby causing the gain of the first variable timeconstant integrator 408 to be reduced to about zero, thus causing the first variable timeconstant integrator 408 to provide the common mode signal (e.g., electrically neutral). - When the RAMP signal is deactivated, such as in an activation (e.g., start up) or unmuting event, the difference between the components of the differential RAMP signal will gradually decrease from the maximum level until both components of the differential RAMP signal are at the neutral level, causing the duty cycle of the OUTPUT signal to increase as the difference in the components of the differential RAMP signal decreases. At which point (e.g., both of the components of the differential RAMP signal being a neutral state) the
modulator 400 will return to the activated (e.g., steady state) state of operation. Varying the integration time constant (τ) of the first and second variable timeconstant integrators modulator 400, while maintaining the closed loop paths of themodulator 400, thereby ensuring stability of themodulator 400. - In the present example, the
modulator 400 is illustrated as a second order, two pole filter system having an associated closed loop transfer function. The first variable timeconstant integrator 408 can define a first pole of the second order, two pole filter system. The second variable timeconstant integrator 432 can define a second pole of the second order, two pole filter system. Each of the first and second variable timeconstant integrators -
FIG. 5 illustrates an example of a voltage controllablevariable resistor 500 that could be implemented in a modulator in accordance with an aspect of the invention. The voltage controllablevariable resistor 500 includes a first resistor indicated as R that is connected to a first node indicated at ‘A’. The ohmic value of the resistor R can be chosen as the minimum (or near minimum) resistance for the voltage controllablevariable resistor 500. The resistor R can be connected at asecond node 502 with twotransistors transistors second node 502 of the resistor is connected to a source node of a P-channel MOSFET 506 and an N-channel MOSFET 504. Additionally, a drain node of the P-channel MOSFET 506 and a drain node of the N-channel MOSFET 504 can be connected at a third node indicated at ‘B’. The gates of the P-channel MOSFET 506 and the N-channel MOSFET 504 can be controlled, for example, by respective negative andpositive output terminals differential buffer 512. A negative component of a differential RAMP signal can be provided to anegative input terminal 514 of thedifferential buffer 512, while a positive component of the differential RAMP signal can be provided to apositive input terminal 516 of thedifferential buffer 512. - When the differential RAMP signal is provided in a neutral condition, such as in a activated state (e.g., steady state) of operation, the
negative output terminal 508 of thedifferential buffer 512 can be at a positive voltage rail (e.g., +VCC), while thepositive output terminal 510 of thedifferential buffer 512 can be at a negative voltage rail (e.g. −VCC) thereby driving the N-channel MOSFET 504 and the P-channel MOSFET 506 to a cutoff mode, thusly blocking current passing through the N-channel and the P-channel MOSFETs' 504 and 506 drain. Accordingly, a relatively large voltage drop across the drain and source nodes of the P and N-channel MOSFETs negative output terminal 508 of thedifferential buffer 512 output gradually decreases to the negative voltage rail, while concurrently thepositive output terminal 510 of thedifferential buffer 512 output gradually increases to the positive voltage rail. The decreasing voltage at the gate of the P-channel MOSFET 506 causes the P-channel MOSFET 506 to transition from the cutoff mode to a saturation mode and subsequently to a linear mode, thereby decreasing the voltage drop across the P-channel MOSFET 506. Moreover, the increasing voltage at the gate of the N-channel MOSFET 504 causes the N-channel MOSFET 504 to transition from the cutoff mode to a saturation mode and subsequently to a linear mode, thereby decreasing the voltage drop across the N-channel MOSFET 504. - When the differential RAMP signal is deactivated, such as in an activating (e.g., start up) or unmuting state, the
negative output terminal 508 of thedifferential buffer 512 gradually increases to the positive voltage rail, while concurrently thepositive output terminal 510 of thedifferential buffer 512 output gradually decreases to the negative voltage rail. The decreasing voltage at the gate of the N-channel MOSFET 504 causes the N-channel MOSFET 504 to transition from the linear mode to the saturation mode and subsequently to the cutoff mode, thereby increasing the possible voltage drop across the N-channel MOSFET 504. Moreover, the increasing voltage at the gate of the P-channel MOSFET 506 causes the P-channel MOSFET 506 to transition from the linear mode to the saturation mode and subsequently to the cutoff mode, thereby increasing the possible voltage drop across the P-channel MOSFET 506. - The resistance between node ‘A’ and node ‘B’ varies depending on a difference between components of the differential RAMP signal. That is, when the RAMP signal is in a neutral state, the resistance between the nodes ‘A’ and ‘B’ will be at a maximum, and when the RAMP signal is activated, the resistance between the nodes ‘A’ and ‘B’ will transition to the minimum resistance at approximately the same rate that the difference between the components of the differential RAMP signal increases. Conversely, when the RAMP signal is deactivated, the resistance between the nodes ‘A’ and ‘B’ will transition from the minimum resistance to the maximum resistance at approximately the same rate that the difference between the components of the differential RAMP signal decreases.
-
FIG. 6 illustrates an example of aclip detector 600 that could be implemented in a modulator in accordance with an aspect of the invention. Theclip detector 600 could be implemented, for example as theclip detector 330 illustrated inFIG. 3 . Theclip detector 600 can include, for example a first D-flip flop 602 that is clocked by an oscillation signal, OSC. A data input of the first D-flip flop 602 can be tied to a HIGH state (e.g., VCC). An output of the first D-flip flop 602 can be provided to a data input of a second D-flip flop 604. The second D-flip flop 604 can also be clocked by the OSC signal. The output of the second D-flip flop 604 can correspond to and output of theclip detector 600, which can be implemented as a RESET signal. - Third and fourth D-
flip flops flip flop 602, the data input of the third and fourth D-flip flops flip flops gate 610. The output of the NORgate 610 can be delayed atdelay 612 and provided to a reset input of the first, the second, the third and the fourth D-flip flops - When the PWM input signal is provided in an activated state (e.g., steady state or switching state), the output of the NOR
gate 610 will go LOW at each LOW-to-HIGH transition of either PWM signal, causing a reset of all four D-flip flops gate 610 will be at a HIGH state, which HIGH state releases the first through fourth D-flip flops clip detector 600 can thus provide means for detecting an operation state of a modulator, as well as means for providing the RESET signal to a means for transitioning operation states of an audio channel in response to detecting a deactivated state. -
FIG. 7 illustrates an example of aRAMP signal 700 in accordance with an aspect of the invention. InFIG. 7 , the RAMP signal is depicted that can be generated such as a common mode ramp signal. The RAMP signal 700 can be implemented as a differential signal with anegative component 702 and apositive component 704. For purposes of simplification of explanation, thedifferential RAMP signal 700 is illustrated as having a maximum positive voltage of 1 and a minimum negative voltage of −1, but one skilled in the art will appreciate that other minimum and maximum voltage rails could be implemented. Furthermore, in the present example, the voltage of thedifferential RAMP signal 700 is plotted as a function of time. Thepositive component 704 of the differential RAMP signal 700 for any point of time illustrated will be provided at 0 or more volts, while thenegative component 702 of the differential RAMP signal 700 will be provided at 0 or less volts (e.g., more negative). The positive andnegative components - In the present example, from
time 0 until time t1, both the positive andnegative components positive component 704 and thenegative component 702 of the differential RAMP signal 700 begin to decrease and increase respectively, linearly and continue to do so until a time t2. At the time t2 until time t3, the positive andnegative components negative components negative components - The differential ramp signal could be provided, for example, to a second order, two pole filter system with an associated closed loop transfer function, such as the
modulator 300 illustrated inFIG. 3 or themodulator 400 illustrated inFIG. 4 . In such an implementation, the second order two pole filter system can include a first variable time constant integrator and a second variable time constant integrator that define a respective first and second pole of the second order, two pole filter system. During an activated state of operation of the second order, two pole filter system, such as the time between t2 and t3 the first and second poles of the of the second, order, two pole filter system can have a substantially equal frequency. Conversely, during a deactivated state of operation, such as the time between t0 and t1, as well as a time after t4, the second pole can be the dominant pole (relative to the first pole) of the second order, two pole filter system. - During a transition between the RAMP activated state and the RAMP deactivated state (e.g., between times t1 and t2), the differential ramp signal can vary a time constant associated with the first variable time constant integrator and the second variable time constant integrator to smoothly transition the dominance relative to the second pole. Moreover, during a transition between the RAMP deactivated state and the RAMP activated state (e.g., between times t3 and t4), the differential ramp signal can vary a time constant associated with the first variable time constant integrator and the second variable time constant integrator to smoothly reduce the dominance of the second pole relative to the first pole. Varying the time constants of the first and second variable time constant integrators varies a gain and a phase margin associated with the second order two pole filter system such as described herein. Such a smooth transition of gain and phase margin can assist in the reduction and or elimination of transient signals and audible artifacts (e.g., a “click/pop” sound) associated with a sharp transition between operating states.
-
FIGS. 8 and 9 illustrate a frequency response of a modulator (e.g., such asmodulator 300 illustrated inFIG. 3 and/ormodulator 400 illustrated inFIG. 4 ). InFIG. 8 , a gain magnitude (in decibels) of the modulator output signal (in relationship to a magnitude of the modulator input) is plotted as a function of frequency in hertz.FIG. 9 illustrates a phase of the of the modulator output signal in relationship to a phase of the modulator input signal plotted as a function of frequency in hertz for four different example RAMP signals. - In
FIGS. 8 and 9 , multiple frequency responses are illustrated for different discrete values (e.g., voltages) of a RAMP signal. For purposes of simplification of explanation, only four different values of the RAMP signal (0, 0.1, 0.3 and 1) are illustrated inFIGS. 8 and 9 . Additionally, it is to be understood that the RAMP signal could be implemented as a differential RAMP signal, such that each given value of the ramp signal (0, 0.1, 0.3, and 1) can correspond a magnitude of positive and negative components of the differential RAMP signal at substantially opposite polarities. InFIG. 8 , when the RAMP signal is at 0 (e.g., deactivated), the gain of the output signal can be about 100 decibels greater than the magnitude of the input signal up to a frequency of about 200-300 hertz. At a first pole, indicated at p1, the gain of the output signal beings to decrease as a function of the frequency. Moreover, also at p1, as shown inFIG. 8 , the phase shift of the modulator output signal (in relation to the modulator input signal) increases from about −35 degrees to about −90 degrees at about 10 hertz to about the frequency of the first pole (e.g., 200-300 hertz). A second pole, indicated at p2, has relatively little effect on the gain of output signal, thus making p1 the dominant pole when the ramp signal is at 0 (e.g., deactivated). The phase shift increases from about −90 degrees to about −135 degrees between the first pole (p1) and a zero, indicated at z. - As illustrated in
FIG. 8 , when the RAMP signal is activated and reaches a value (e.g., voltage) of about 0.1, the gain of the modulator is reduced to about 45 decibels from 10 hertz to 1 kilohertz. At 1 kilohertz, the gain of the modulator (when the RAMP signal is at about 0.1) begins to decrease as the frequency increases. As illustrated inFIG. 9 , an increase in the RAMP signal increases the phase margin for the modulator. That is, when the RAMP signal has a value of about 0.1, the phase shift of the modulator is reduced, such that the phase shift of the modulator increases from about unity (e.g., 0 degrees) to about −130 degrees between about 10 hertz and about 10 kilohertz. The phase shift decreases from about −130 degrees to about −90 degrees between about 10 kilohertz and about 1 megahertz. - As illustrated in
FIG. 8 , when the RAMP signal reaches a value (e.g., voltage) of about 0.3, the gain of the modulator is further reduced to about 30 decibels from about 10 hertz to about 10 kilohertz. At 10 kilohertz, the gain of the modulator (when the RAMP signal is at about 0.3) begins to decrease as the frequency increases. Moreover, as illustrated inFIG. 9 , when the RAMP signal reaches a value (e.g., voltage) of about 0.3, the phase margin of the modulator increases further. Accordingly, when the RAMP signal has a value of about 0.3, the phase shift of the modulator is further reduced, such that the phase shift of the modulator increases from about unity (e.g., 0 degrees) to about −100 degrees between about 10 hertz and about 10 kilohertz. The phase shift decreases from about −100 degrees to about −90 degrees between about 10 kilohertz and about 1 megahertz. - When the RAMP signal reaches a value (e.g., voltage) of about 1 (e.g., the maximum value), the gain of the modulator is reduced to about unity (e.g. 0 decibels) from about 10 hertz to about p2. At p2, the gain of the modulator (when the RAMP signal is at about 1) begins to decrease as the frequency increases. Moreover, as illustrated in
FIG. 9 , when the RAMP signal reaches a maximum value (e.g., voltage) of about 1, the phase margin of the modulator increases still further. Thus, when the RAMP signal has a maximum value of about 1, the phase shift of the modulator is further reduced, such that the phase shift of the modulator remains at about unity (e.g., about 0 degrees) between 10 hertz and 100 hertz. The phase shift of the modulator increases from about unity (e.g., about 0 degrees) to about −90 degrees between about 100 hertz and about 1 megahertz. Accordingly, the first pole, p1 and the zero z have relatively little effect on the gain or the phase margin of the output signal when the RAMP signal reaches the maximum voltage. - As is illustrated in
FIG. 8 , increasing the RAMP signal decreases the gain of the modulator without introducing any (or nearly any) overshoot. That is, since the gain of the modulator (e.g., themodulator 300 or themodulator 400 illustrated inFIGS. 3 and 4 , respectively) can be varied while the modulator remains in a stable closed loop system, overshoot can be substantially reduced or eliminated. Moreover, as it is illustrated inFIG. 8 , the dominance of the poles p1 and p2 is smoothly shifted from p1 to p2 as the RAMP signal increases. Such a smooth transition of pole dominance can assist in reducing and/or eliminating transient signals and/or audible artifacts associated with a sharp transition between operation states of an audio system. -
FIG. 10 illustrates an example of amulti-channel audio system 1000 in accordance with an aspect of the invention. Themulti-channel audio system 1000 can include asignal selector 1002 that can be controlled by an INPUT SELECT signal. The INPUT SELECT signal could be provided, for example, as a result of a user selecting a particular input. Thesignal selector 1002 can receive an input signal from a number of different sources. As an example, thesignal selector 1002 can receive a signal from anantenna tuner 1004. Theantenna tuner 1004 can, for example, provide an amplitude modulated (AM) signal, or a frequency modulated (FM) signal to thesignal selector 1002. Aphysical medium reader 1006, such as a cassette tape player or a compact disc (CD) player can also provide an input signal to thesignal selector 1002. Thesignal selector 1002 can also receive an input signal from anauxiliary input port 1008. Theauxiliary input port 1008 can be connected to anexternal device 1010, such as a moving pictures experts group (MPEG) audio layer 3 (MP3) player. It is also considered that thesignal selector 1002 could receive an input signal from some other device and/orsystem 1012, such as could be implemented as a satellite receiver and/or a navigation system. - The
signal selector 1002 can provide an audio signal to asystem control 1014 based on the INPUT SELECT signal. Anoutput level selector 1016 can provide a signal that indicates a desired output level (e.g., audio volume) to thesystem control 1014. Theoutput level selector 1016 can also be configured to provide an activate and/or deactivate signal (e.g., start up and/or shut down signal) that causes thesystem control 1014 to transition to the activated or deactivated condition, respectively. Additionally or alternatively, theoutput level selector 1016 can provide a mute and/or unmute signal to thesystem control 1014 that causes thesystem control 1014 to enter a mute and/or unmuting condition. - The
system control 1014 can be connected to K number ofoutput channels 1018, where K is integer greater than or equal to one. Eachoutput channel 1018 can be implemented, for example, as theoutput channel 200 illustrated inFIG. 2 . Eachoutput channel 1018 can be associated with one ormore loudspeakers 1020, although for purposes of simplification of explanation, only oneloudspeaker 1020 peroutput channel 1018 is illustrated. Theloudspeakers 1020 can be driven, for example, by an associatedamplifier 1022. For instance, eachamplifier 1022 can amplify a PWM signal provided by an associatedmodulator 1024 and provide a feedback signal to the associatedmodulator 1024 to form a closed-loop system. Additionally, ademodulator 1023 can be connected between each of theamplifiers 1022 and the associatedloudspeaker 1020 to demodulate the signals provide by theamplifier 1022. Thedemodulator 1023 could be implemented, for example, as an LC low pass filter with a cutoff frequency of about 40 kHz. Each of the K number ofmodulators 1024 could be implemented, for example, as themodulators FIGS. 3 and 4 , although one skilled in the art will appreciate that other implementations are possible as well. Themodulators 1024 can include, for example one or more variable time constant integrators that can define two or more poles of a second order, two pole filter system with an associated closed loop transfer function. Themodulators 1024 can be provided with an input signal by an associatedpreamplifier 1026. Eachpreamplifier 1026 can, for example, control the output level (e.g., volume) of the associated one ormore loudspeakers 1020. - The
system control 1014 can provide an input signal to each of theK preamplifiers 1026. It is to be understood that the input signal provided to each of theK preamplifiers 1026 could be different signals, such as in a stereo or surround sound system. Alternatively, the input signal provided to each of theK preamplifiers 1026 could be substantially uniform signals, such as in a monophonic sound system. Thesystem control 1014 can provide each of theK preamplifiers 1026 with a gain control signal that can set the output level (e.g., volume) of each of the one ormore loudspeakers 1020 associated with theK output channels 1018. The gain control signal can be based, for example, on the signal(s) provided by theoutput level selector 1016. Thesystem control 1014 can include, for example, a feedforward power system 1028. The feedforward power system 1028 can provide a feed forward power signal for driving circuitry associated with theK modulators 1024. The feedforward power system 1028 can also cause an oscillator signal generator to provide an oscillation signal to each of theK modulators 1024. - The
system control 1014 can also include acharge pump 1032. Thecharge pump 1032 can provide a signal to each of theK amplifiers 1022 for driving the one ormore loudspeakers 1020 associated with each of theK output channels 1018. Thesystem control 1014 can still further include aramp signal generator 1034 that can provide a ramp signal (or a ramp enable signal, such as a control signal) to each of theK modulators 1024. The ramp signal can be provided, for example, in response to thesystem control 1014 receiving a signal from theoutput level selector 1016 indicating that a change in operating state (e.g., activated state or deactivated state) of thesystem 1000 has been selected. Theramp signal generator 1034 can thusly provide means for providing the ramp signal. - In an activated state (e.g., steady state) of operation, the
system control 1014 can receive an input signal from the input selector, and a volume selection signal from theoutput level selector 1016 that indicates a desired volume. Thesystem control 1014 can cause each of theK output channels 1018 to provide an audio signal at the one ormore loudspeakers 1020 associated with eachoutput channel 1018. However, when a deactivated (or mute) condition is selected, for example, by a user of themulti-channel audio system 1000, theoutput level selector 1016 provides a deactivation signal to thesystem control 1014. The deactivation signal causes thesystem control 1014 to provide a rising ramp signal (e.g., the signal between t3 and t4 illustrated inFIG. 7 ) to each of theK modulators 1024. The rising ramp signal causes the output the one ormore loudspeakers 1020 associated with a givenmodulator 1024 to be reduced as the ramp signal increases until the output of the one ormore loudspeakers 1020 associated with the givenmodulator 1024 is disabled. - When the deactivated condition is deselected, for example, by the user of the
multi-channel audio system 1000, theoutput level selector 1016 provides an activation signal to thesystem control 1014. The activation signal causes thesystem control 1014 to provide a decreasing ramp signal (e.g., the signal between t1 and t2 illustrated inFIG. 7 ) to each of theK modulators 1024. The decreasing ramp signal causes the output of one ormore loudspeakers 1020 associated with a givenmodulator 1024 to be increased as the ramp signal decreases until the volume at the one ormore loudspeaker 1020 associated with the givenmodulator 1024 is restored to the level prior to the deactivation (e.g., the permuted level). Accordingly, the system control provides means for controlling the ramp signal. The ramp signal can be employed, for example, by each of theK modulators 1024 to smooth the transition from the activated state and the deactivated state and vice versa. As one example, the ramp signal can be employed to vary at least one of an integration time constant, gain and phase margin of themodulators 1024, such that pole dominance is smoothly transitioned between the first and second poles of the second order, two pole filter system of themodulators 1024. Such a smooth transition between operation states can reduce or eliminate transient signals provided to the one ormore loudspeakers 1020 associated with a givenmodulator 1024 that can damage electrical components and/or cause the one ormore loudspeakers 1020 associated with the givenmodulator 1024 to produce undesirable audible artifacts (e.g., a “click/pop” sound) in themulti-channel audio system 1000. -
FIG. 11 illustrates a flow chart that depicts aprocess 1100 in accordance with an aspect of the invention. Theprocess 1100 could be implemented, for example in a system that provides a PWM output signal, such as an audio system. At 1102, the PWM output signal can be provided. The PWM output signal could be provided, for example, by a modulator that includes at least one variable time constant integrator. As an example, include circuitry that the modulator can defines two poles of a second order, two pole filter system with an associated closed loop transfer function. In such a situation, a first pole of the second order, two pole filter system can be dominant (relative to a second pole of the second order, two pole filter system) when the audio system is in an activated state (e.g., steady state) of operation. Additionally, the second pole of the second order, two pole filter system can be the dominant pole (relative to the first pole of the second order, two pole filter system) when the system in the deactivated state of operation. To implement the second order, two pole filter system, the modulator can, for example, include at least one variable time constant integrator. The output signal provided by the modulator could be used, for example, to drive one or more loudspeakers of the audio system. - At 1104 an output state (e.g., activated or deactivated state) of the modulator can be monitored. At 1104, a selection signal can also be monitored. The selection signal can indicate if a change in the output state of the modulator is desired (e.g., an activation or deactivation event (e.g. start up/shut down) or a muting or unmuting event). At 1106 a determination is made as to whether a change in the output state of the modulator is occurring, such as based on the selection signal. If the determination at 1106 is negative (e.g., NO), the
process 1100 returns to 1104. If the determination at 1106 is affirmative (e.g., YES), indicating a transition in output state, theprocess 1100 proceeds to 1108. At 1108, the closed loop transfer function associated with the modulator can be controlled to vary, causing the output of the modulator to change from the activated state to the deactivated state (or vice versa), which in turn can disable (or enable) audio output. The transfer function can be varied, for example, as a function of a RAMP signal, and/or a RESET signal. As an example, the transfer function can be varied by varying at least one of the integration time constant, gain and phase margin of the at least on integrator of the modulator commensurate with changes in the RAMP signal. Varying the transfer function can, for example, smoothly transition pole dominance of the second order, two pole filter system associated with the modulator thereby reducing or eliminating transient signals that could cause audio artifacts (e.g., a “click/pop” sound) at the output of the audio system during an output state change of the system. - What have been described above are examples of the invention. It is, of course, not possible to describe every conceivable combination of components or methodologies for purposes of describing the invention, but one of ordinary skill in the art will recognize that many further combinations and permutations of the invention are possible. Accordingly, the invention is intended to embrace all such applications including alterations, modifications and variations that fall within the scope of the appended claims.
Claims (20)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US11/961,144 US7554390B1 (en) | 2007-12-20 | 2007-12-20 | Method and system for transitioning between operation states in an output system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US11/961,144 US7554390B1 (en) | 2007-12-20 | 2007-12-20 | Method and system for transitioning between operation states in an output system |
Publications (2)
Publication Number | Publication Date |
---|---|
US20090160547A1 true US20090160547A1 (en) | 2009-06-25 |
US7554390B1 US7554390B1 (en) | 2009-06-30 |
Family
ID=40787868
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US11/961,144 Active 2028-01-27 US7554390B1 (en) | 2007-12-20 | 2007-12-20 | Method and system for transitioning between operation states in an output system |
Country Status (1)
Country | Link |
---|---|
US (1) | US7554390B1 (en) |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100190519A1 (en) * | 2009-01-29 | 2010-07-29 | Adc Telecommunications, Inc. | Method and apparatus for muting a digital link in a distributed antenna system |
US20120249202A1 (en) * | 2009-10-09 | 2012-10-04 | Shyam Somayajula | Pulse Width Modulation for Switching Amplifier |
CN104065353A (en) * | 2013-03-22 | 2014-09-24 | 意法半导体研发(深圳)有限公司 | Mute-starting class-D amplifier |
JP2015198371A (en) * | 2014-04-01 | 2015-11-09 | ローム株式会社 | Audio output circuit and electronic apparatus using the same |
US20180331660A1 (en) * | 2017-05-11 | 2018-11-15 | Merus Audio Aps | Class D Audio Amplifier with Adjustable Gate Drive |
EP3408936B1 (en) * | 2016-01-29 | 2019-12-04 | Dolby Laboratories Licensing Corporation | Multi-channel amplifier with continuous class-d modulator and embedded pld and resonant frequency detector |
US10862442B2 (en) * | 2017-11-10 | 2020-12-08 | Cirrus Logic, Inc. | Low power dissipation high performance Class-D amplifier |
US10951186B2 (en) | 2013-08-21 | 2021-03-16 | On-Bright Electronics (Shanghai) Co., Ltd. | Amplification systems and methods with output regulation |
US11190136B2 (en) * | 2013-08-21 | 2021-11-30 | On-Bright Electronics (Shanghai) Co., Ltd. | Amplification systems and methods with one or more channels |
US11962275B2 (en) | 2011-09-06 | 2024-04-16 | On-Bright Electronics (Shanghai) Co., Ltd. | Amplification systems and methods with distortion reductions |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6734724B1 (en) * | 2000-10-06 | 2004-05-11 | Tropian, Inc. | Power control and modulation of switched-mode power amplifiers with one or more stages |
US7852156B1 (en) * | 2009-08-21 | 2010-12-14 | Amazing Microelectronic Corp. | Class-D power amplifier having distortion-suppressing function |
US10218312B2 (en) | 2016-02-29 | 2019-02-26 | Qualcomm Incorporated | Dynamic volume management in audio amplifiers |
US10256777B2 (en) * | 2016-02-29 | 2019-04-09 | Qualcomm Incorporated | Audio amplifiers |
EP3425795B1 (en) * | 2017-07-03 | 2021-09-01 | Infineon Technologies Austria AG | Class d audio amplifier with overload protection circuit |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5128629A (en) * | 1991-04-22 | 1992-07-07 | Hughes Aircraft Company | Method for controlling the output power of digital cellular telephones |
US5945876A (en) * | 1997-09-26 | 1999-08-31 | Ericsson Inc. | Soft switching for Cartesian feedback loop control with a transmission system |
US6720825B2 (en) * | 2001-06-15 | 2004-04-13 | Texas Instruments Incorporated | Method and circuit for reduction of audible turn-on and turn-off transients in switching amplifiers |
US6765443B2 (en) * | 2002-02-21 | 2004-07-20 | Ericsson Inc. | Dynamic bias controller for power amplifier circuits |
US20050083115A1 (en) * | 2003-10-15 | 2005-04-21 | Texas Instruments Incorporated | Soft transitions between muted and unmuted states in class D audio amplifiers |
US6998910B2 (en) * | 2004-01-22 | 2006-02-14 | Texas Instruments Incorporated | Amplifier using delta-sigma modulation |
US7230481B2 (en) * | 2005-05-05 | 2007-06-12 | Texas Instruments Incorporated | System and method for reducing audible artifacts in an audio system |
US7262658B2 (en) * | 2005-07-29 | 2007-08-28 | Texas Instruments Incorporated | Class-D amplifier system |
US7391258B2 (en) * | 2003-06-27 | 2008-06-24 | Tc Electronic A/S | Self-oscillating power circuit |
-
2007
- 2007-12-20 US US11/961,144 patent/US7554390B1/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5128629A (en) * | 1991-04-22 | 1992-07-07 | Hughes Aircraft Company | Method for controlling the output power of digital cellular telephones |
US5945876A (en) * | 1997-09-26 | 1999-08-31 | Ericsson Inc. | Soft switching for Cartesian feedback loop control with a transmission system |
US6720825B2 (en) * | 2001-06-15 | 2004-04-13 | Texas Instruments Incorporated | Method and circuit for reduction of audible turn-on and turn-off transients in switching amplifiers |
US6765443B2 (en) * | 2002-02-21 | 2004-07-20 | Ericsson Inc. | Dynamic bias controller for power amplifier circuits |
US7391258B2 (en) * | 2003-06-27 | 2008-06-24 | Tc Electronic A/S | Self-oscillating power circuit |
US20050083115A1 (en) * | 2003-10-15 | 2005-04-21 | Texas Instruments Incorporated | Soft transitions between muted and unmuted states in class D audio amplifiers |
US6998910B2 (en) * | 2004-01-22 | 2006-02-14 | Texas Instruments Incorporated | Amplifier using delta-sigma modulation |
US7230481B2 (en) * | 2005-05-05 | 2007-06-12 | Texas Instruments Incorporated | System and method for reducing audible artifacts in an audio system |
US7262658B2 (en) * | 2005-07-29 | 2007-08-28 | Texas Instruments Incorporated | Class-D amplifier system |
Cited By (18)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100190519A1 (en) * | 2009-01-29 | 2010-07-29 | Adc Telecommunications, Inc. | Method and apparatus for muting a digital link in a distributed antenna system |
US8306563B2 (en) * | 2009-01-29 | 2012-11-06 | Adc Telecommunications, Inc. | Method and apparatus for muting a digital link in a distributed antenna system |
US20120249202A1 (en) * | 2009-10-09 | 2012-10-04 | Shyam Somayajula | Pulse Width Modulation for Switching Amplifier |
US8841950B2 (en) * | 2009-10-09 | 2014-09-23 | Ericsson Modems Sa | Pulse width modulation for switching amplifier |
US11962275B2 (en) | 2011-09-06 | 2024-04-16 | On-Bright Electronics (Shanghai) Co., Ltd. | Amplification systems and methods with distortion reductions |
CN104065353A (en) * | 2013-03-22 | 2014-09-24 | 意法半导体研发(深圳)有限公司 | Mute-starting class-D amplifier |
US20140285258A1 (en) * | 2013-03-22 | 2014-09-25 | Stmicroelectronics (Shenzhen) R&D Co. Ltd. | Silent start class-d amplifier |
US9231535B2 (en) * | 2013-03-22 | 2016-01-05 | STMicroelectronics (Shenzhen) R&D Co. Ltd | Silent start class-D amplifier |
US10951186B2 (en) | 2013-08-21 | 2021-03-16 | On-Bright Electronics (Shanghai) Co., Ltd. | Amplification systems and methods with output regulation |
US11190136B2 (en) * | 2013-08-21 | 2021-11-30 | On-Bright Electronics (Shanghai) Co., Ltd. | Amplification systems and methods with one or more channels |
JP2015198371A (en) * | 2014-04-01 | 2015-11-09 | ローム株式会社 | Audio output circuit and electronic apparatus using the same |
EP3408936B1 (en) * | 2016-01-29 | 2019-12-04 | Dolby Laboratories Licensing Corporation | Multi-channel amplifier with continuous class-d modulator and embedded pld and resonant frequency detector |
US10511263B2 (en) * | 2017-05-11 | 2019-12-17 | Infineon Technologies Austria Ag | Class D audio amplifier with adjustable gate drive |
US20180331660A1 (en) * | 2017-05-11 | 2018-11-15 | Merus Audio Aps | Class D Audio Amplifier with Adjustable Gate Drive |
US10862442B2 (en) * | 2017-11-10 | 2020-12-08 | Cirrus Logic, Inc. | Low power dissipation high performance Class-D amplifier |
US10972061B2 (en) | 2017-11-10 | 2021-04-06 | Cirrus Logic, Inc. | Class-D amplifier with multiple independent output stages |
US11245370B2 (en) | 2017-11-10 | 2022-02-08 | Cirrus Logic, Inc. | Class-D amplifier with multiple power rails and quantizer that switches used ramp amplitude concurrently with switch in used power rail |
US11290069B2 (en) | 2017-11-10 | 2022-03-29 | Cirrus Logic, Inc. | Distortion reducing variable output impedance class-D amplifier |
Also Published As
Publication number | Publication date |
---|---|
US7554390B1 (en) | 2009-06-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7554390B1 (en) | Method and system for transitioning between operation states in an output system | |
US7378904B2 (en) | Soft transitions between muted and unmuted states in class D audio amplifiers | |
US7142050B2 (en) | Recovery from clipping events in a class D amplifier | |
KR100604967B1 (en) | Power amplifier circuit | |
US6476673B2 (en) | Class D audio amplifier | |
US8139792B2 (en) | Amplifier circuits, methods of starting and stopping amplifier circuits | |
CN102984629B (en) | Method used for reducing noise in voice frequency amplification system | |
EP2127070B1 (en) | A data processing system for clipping correction | |
TWI477064B (en) | A system and method for reducing distortion in an audio amplification system | |
US20090116654A1 (en) | On-the-fly introduction of inter-channel delay in a pulse-width-modulation amplifier | |
US7190224B2 (en) | Class D amplifier | |
US8115564B2 (en) | Systems and methods to minimize startup transients in class-D amplifiers | |
US8686789B2 (en) | Transient signal suppression for a class-D audio amplifier arrangement | |
US20200235707A1 (en) | An Error Amplifier | |
US7492218B2 (en) | Digital amplifier apparatus and method of resetting a digital amplifier apparatus | |
US10666209B2 (en) | Increased output impedance switching amplifier and low-side recycle mode | |
US20090302942A1 (en) | D-class amplifier | |
US20200412320A1 (en) | An electronic filter apparatus | |
EP4102717A1 (en) | Self-oscillating class d audio amplifier with voltage limiting circuit | |
US20110012676A1 (en) | Systems and methods of reduced distortion in a class d amplifier | |
JP2016019274A (en) | Signal processor and signal processing method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
AS | Assignment |
Owner name: TEXAS INSTRUMENTS INCORPORATED, TEXAS Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:SHANKAR, ASIT;KROGSGAARD, KLAUS;REEL/FRAME:020329/0213 Effective date: 20071219 Owner name: TEXAS INSTRUMENTS INCORPORATED,TEXAS Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:SHANKAR, ASIT;KROGSGAARD, KLAUS;REEL/FRAME:020329/0213 Effective date: 20071219 |
|
STCF | Information on status: patent grant |
Free format text: PATENTED CASE |
|
FPAY | Fee payment |
Year of fee payment: 4 |
|
FPAY | Fee payment |
Year of fee payment: 8 |
|
MAFP | Maintenance fee payment |
Free format text: PAYMENT OF MAINTENANCE FEE, 12TH YEAR, LARGE ENTITY (ORIGINAL EVENT CODE: M1553); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY Year of fee payment: 12 |