Embodiments of the present disclosure relate to a switching amplifier, and more specifically, for a class D switching amplifier system employing a feedback loop.
A class D amplifier, also termed a switching amplifier, is an amplifier made of electronic components where the amplifying devices operate as electronic switches, instead of operating as gain devices as is common in other circuits. A class D amplifier operates by rapidly switching between open and closed states between the supply rails, and is often controlled by a modulator using pulse width modulation (PWM) which acts to transform an analog input signal into a pulse signal. The pulse signal is then passed through a filter, such as a low-pass filter, to an audio speaker. Switching amplifiers are highly efficient and can often exceed 85%-95% efficiency ratings.
It is desirable to have a high-performance class D amplifier which can handle both analog inputs as well as digital PWM inputs. The performance of the system is preferably not adversely affected by power supply noise or power stage nonlinearities. A feedback signal that is able to accomplish this should have high loop gain over the entire band of interest (for example, the audio band for class D audio amplifiers). Therefore, there is a need for a high performance class D amplifier which is capable of handling analog as well as digital PWM input signals in order to address a variety of applications.
In accordance with an embodiment of the present disclosure, herein is described a switching amplifier comprising a power supply configured to provide electrical power to the switching amplifier, a pulse modulator configured to modulate an input signal into a pulse width modulation signal, a switching stage configured to generate an amplified output signal using the input signal and the pulse width modulation signal, and an error feedback signal configured to correct errors in the amplified output signal, where the input signal is comprised of at least one of an analog signal and a digital signal. In some embodiments, the switching amplifier system also includes where the error feedback signal is comprised of a high order transfer function corresponding to an error between the input signal and a differential switching signal, where the high order is an order of two or greater. The switching amplifier system may also include where the high order transfer function is comprised of a plurality of op-amp circuits. The switching amplifier system may also include where the error feedback signal is generated by a combination of combinatorial logic and analog comparators. The switching amplifier system may also include where the error feedback signal is configured to have a value of zero at twice a switching frequency. The switching amplifier system may also include where the input signal is modulated using fixed frequency pulse width modulation. The switching amplifier system may also include where the input signal is modulated using variable frequency pulse width modulation. The switching amplifier system may also include where the digital signal is comprised of a pulse width modulation signal and where the digital signal is configured to latch the PWM output signal. The switching amplifier system may also include where the switching amplifier system is configured to detect a saturation event and generate a reset signal to reset the error feedback signal. The switching amplifier system may also include a digital clock, where the digital clock is configured to modulate a period of an analog pulse width modulation system to form analog spread spectrum pulse width modulation. The switching amplifier system may also include generating a digital spread spectrum signal by modifying a pulse code modulation corresponding to a pulse width modulation algorithm. The switching amplifier system may also include combinatorial logic to generate a saturation detection signal, where the saturation detection signal is generated when the switching amplifier system undergoes a saturation event. The switching amplifier system may also include a reset signal configured to reset the switching amplifier system upon detection of the saturation detection signal. The switching amplifier system may also include an oscillator and a ramp circuit configured to generate a pulse width modulation reference input signal based on a feedforward signal, where the oscillator generates a clock signal to generate the pulse width modulation output signal. The switching amplifier system may also include where the error feedback signal is generated by combining the feedforward signal, the amplified output signal, and the pulse width modulation reference input signal.
In accordance with an embodiment of the present disclosure, a method of signal amplification by a switching amplifier, comprising, in response to receiving an input signal, generating, by a pulse width modulator, a pulse width modulation signal, combining, by a switching stage, the input signal and the pulse width modulation signal to form an amplified output signal, and generating, by the switching stage, an error feedback signal, where the error feedback signal is configured to correct errors in the amplified output signal, and where the input signal is comprised of at least one of an analog signal and a digital signal. The method may also include generating, by the switching amplifier, a reset signal configured to reset the error feedback signal upon detection of a saturation event. The method may also include generating, by the switching amplifier, a digital spread spectrum signal by modifying the period of the pulse width modulated signal corresponding to a pulse width modulation algorithm. The method may also include generating, by combinatorial logic, a saturation detection signal, where the saturation detection signal is generated when the switching amplifier system undergoes a saturation event. The method may also include generating, by an oscillator and a ramp circuit, a pulse width modulation reference input signal based on a feedforward signal, where the oscillator generates a clock signal synchronized to a pulse width modulation reference input signal.
To further clarify the advantages and features of the present disclosure, a more particular description of the disclosure will follow by reference to specific embodiments thereof, which are illustrated in the appended figures. It is to be appreciated that these figures depict only typical embodiments of the disclosure and are therefore not to be considered limiting in scope. The disclosure will be described and explained with additional specificity and detail with the appended figures.
The disclosure will be described and explained with additional specificity and detail with the accompanying figures in which:
Further, those skilled in the art will appreciate that elements in the figures are illustrated for simplicity and may not have necessarily been drawn to scale. Furthermore, in terms of the construction of the device, one or more components of the device may have been represented in the figures by conventional symbols, and the figures may show only those specific details that are pertinent to understanding the embodiments of the present disclosure so as not to obscure the figures with details that will be readily apparent to those skilled in the art having the benefit of the description herein.
For the purpose of promoting an understanding of the principles of the disclosure, reference will now be made to the embodiment illustrated in the figures and specific language will be used to describe them. It will nevertheless be understood that no limitation of the scope of the disclosure is thereby intended. Such alterations and further modifications in the illustrated system, and such further applications of the principles of the disclosure as would normally occur to those skilled in the art are to be construed as being within the scope of the present disclosure.
The terms “comprises”, “comprising”, or any other variations thereof, are intended to cover a non-exclusive inclusion, such that a process or method that comprises a list of steps does not include only those steps but may include other steps not expressly listed or inherent to such a process or method. Similarly, one or more devices or sub-systems or elements or structures or components preceded by “comprises . . . a” does not, without more constraints, preclude the existence of other devices, sub-systems, elements, structures, components, additional devices, additional sub-systems, additional elements, additional structures, or additional components. Appearances of the phrase “in an embodiment”, “in another embodiment” and similar language throughout this specification may, but not necessarily do, all refer to the same embodiment.
Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those skilled in the art to which this disclosure belongs. The system, methods, and examples provided herein are only illustrative and not intended to be limiting.
In the following specification and the claims, reference will be made to a number of terms, which shall be defined to have the following meanings. The singular forms “a”, “an”, and “the” include plural references unless the context clearly dictates otherwise.
According to some embodiments, the switching amplifier system 100 also includes a PWM clock and ramp generator 160 that is configured to generate one or more PWM clock or oscillator signals 178 which is received by the latching PWM generator 120.
According to some embodiments, it is possible to apply the present disclosure to a spread spectrum signal. In order to do so, the following modifications are required. For an analog input signal, the latching PWM generator 120 requires a ramp generator and an associated digital clock/oscillator. By modulating the period of the PWM slowly, the system will produce analog spread spectrum PWM. For a digital input signal, the input digital PWM signal (X) has period of the PWM that is not constant and time varying, the system will produce digital spread spectrum PWM.
To maintain high loop gain over the entire audio band, a higher order feedback loop is used. The higher order feedback loop, such as Analog Error Amplifier 110 of
The higher order system is not guaranteed to be stable if there is a saturation event. The duty ratios by definition are constrained to be in the range from zero to one. Thus, a saturation event is a likely scenario if the volume is pushed high enough. To maintain stability and fast recovery from the saturation event without audible artifacts at the load 150, it is necessary to detect the saturation event within the first half cycle. This is accomplished using combinatorial logic which is both fast and low cost in both discrete and integrated implementations. The saturation detection circuitry is part of the latching PWM generator 120 and is used to reset the analog error amplifier 110 in the higher order Analog Error Amplifier 110. The system is capable of handling both fixed and variable switching frequency PWM signals.
In the switching amplifier system 200 with an analog input (X) 210, the PWM clock and ramp generator 160 creates the PWM clock and ramp signal 178 that includes a ramp with linear slope and a feedforward term that mathematically creates the equivalent of a PWM reference input to the latching PWM generator 120. The PWM clock portion of the PWM clock and ramp signal 178 is used to create a digital clock synchronized with the ramp signal.
Continuing with
By defining X as the input and Vsw as the output, the expression can be simplified as:
Ignoring γ, the overall transfer function of the error amplifier can be defined to be:
The magnitude of the signal is irrelevant since the output feeds a comparator. Without changing the system transfer function, we can set the time constants to the same value and we are left with only two independent variables: g1 and g2. T0=T1=T2=T where T may be chosen to be equal to a PWM half cycle. The resulting system has two independent variables g1 and g2. These two design variables g1 and g2 are used to optimize performance.
The composite error signal is a linear combination of a feedforward term, the error amplifier output, and the ramp.
If the difference between the reference input Vref and the Ramp, when passed through the comparator, produces ideal PWM, then it can be approximated to X plus the switching noise “NA”. Taking this approximation, we get the following equation:
Combining terms, we get the following terms including the switching noise of the PWM NA.
The term γ makes a null in the noise transfer function at a frequency proportional to the switching frequency and γ. The noise due to the PWM process NA can be significant in the audio band, but this noise is divided by the gain of the error amplifier which is very high in the audio band. This can be made even higher over the entire audio band by appropriate choice of the term γ. The output spectrum plots show a null in the noise transfer function based on the value of the term γ.
In a similar manner as described in
This following is a mathematical analysis of digital PWM as it pertains to the system of
First op-amp output is I0:
First Proportional plus Integral output is PI1:
Second Proportional plus Integral output is PI2 which is also the Error Feedback Signal:
Ignoring the γ term from PI2 that is fed back into PI1 we can express the transfer function as:
The magnitude of the signal is irrelevant since the output feeds a comparator. Without changing the system transfer function, we can set the time constants to the same value and we are left with only two independent variables g1 and g2. T0=T1=T2=T, where T may be chosen to be equal to a PWM half cycle. The resulting system has two independent variables: g1 and g2. These two design variables g1 and g2 can be used to optimize the performance. Table (3) shows data on the impact of these variable on the performance of the system.
Under normal operation, the error is small. Under small signal conditions, linearization can be used to approximate Y. Y is the sum of input X, the error amplifier output, and the noise of the PWM system.
where ND represents the switching noise of the system:
The term γ makes a null in the noise transfer function at a frequency proportional to the switching frequency and γ.
Continuing with
Continuing with
Table 2 below is titled “Impact of Error Amplifier Gains for system with Analog Input”. The objective is to maximize SNR. Low SNR number indicate instability or nonoptimal designs. The SNR results show not only high performance but also a relatively wide range of values in the neighbourhood of optimal values where the performance is good indicating robustness of the solution.
Table 3 is labelled “Impact of Error Amplifier Gains on system with Digital Input” as disclosed in
It will be understood by those skilled in the art that the foregoing general description and the following detailed description are exemplary and explanatory of the disclosure and are not intended to be restrictive thereof.
While specific language has been used to describe the disclosure, any limitations arising on account of the same are not intended. As would be apparent to a person skilled in the art, various working modifications may be made to the method in order to implement the inventive concept as taught herein.
The figures and the foregoing description give examples of embodiments. Those skilled in the art will appreciate that one or more of the described elements may well be combined into a single functional element. Alternatively, certain elements may be split into multiple functional elements. Elements from one embodiment may be added to another embodiment. For example, the order of processes described herein may be changed and are not limited to the manner described herein. Moreover, the actions of any flow diagram need not be implemented in the order shown; nor do all of the acts need to be necessarily performed. Also, those acts that are not dependent on other acts may be performed in parallel with the other acts. The scope of embodiments is by no means limited by these specific examples.
Number | Name | Date | Kind |
---|---|---|---|
7378904 | Risbo | May 2008 | B2 |
11290070 | Zanbaghi | Mar 2022 | B2 |
20070229159 | Krishnan | Oct 2007 | A1 |
Entry |
---|
Large-Signal Design and Performance of a Digital PWM Amplifier; Pallab Midya and Bill Roeckner; ADX Research, Inc., Schaumburg, IL, 60173, USA. |
Pedec—A Novel Pulse Referenced Control Method for High Quality Digital PWM Switching Amplification; Karsten Nielsen; Bang & Olufsen N S , Struer, Denmark; Dept. of Applied Electronics, DTU, Denmark. |
Number | Date | Country | |
---|---|---|---|
20230069006 A1 | Mar 2023 | US |