In amplifiers it is often useful to have a warning before the amplifier's output reaches saturation to avoid significant distortion. Typically, the distortion grows gradually at first as the output signal level approaches saturation, and increases abruptly as the amplifier reaches saturation and is driven beyond the saturation onset. The saturation detection and warning is especially useful for audio amplifiers.
The actual output level where saturation occurs depends on a number of variables: process parameters, environmental variables like temperature, and application variables like load current, supply voltage, and others. In order to maximize the utilized output range of the amplifier it is advantageous to choose the threshold of the saturation detector and warning circuit as close to the output saturation level as possible, yet low enough to avoid significant distortion that results from output clipping (which occurs when the amplifier is driven into saturation).
Another application for a saturation detector and warning circuit is in Low Drop out Linear regulators (LDO-s) as a drop out detector and warning circuit. In these voltage regulators it is useful for the system that utilizes them (e.g. a portable system like cellular phone or PDA) to sense the impending loss of output voltage regulation and take appropriate action, like saving all data in before it happens. Hence, a circuit that detects the impending drop out of an LDO is useful.
For clarity of discussion it is worthwhile to point out that “saturation” is used in different ways when it refers to an amplifier or when it refers to a MOSFET transistor. In an amplifier, saturation means that the output of the amplifier hits its limit and essentially does not respond to further increase of its input voltage (the amplifier's output is essentially clamped, typically at close to the supply voltage). In other words the amplifier does not operate as a linear amplifier anymore in saturation. In an amplifier that utilizes feedback, i.e. most of the linear amplifiers, this means that the feedback loop is no longer closed. In contrast, if the amplifier is realized using MOSFET transistors the output MOSFET transistor typically operates in its non-saturated triode (or resistive) region when the amplifier is in, or close to, saturation. Consequently typically a detector circuit that detects the saturation or impending saturation of an amplifier actually detects that its output transistor(s) is operating in, or entering into, its non-saturated resistive (or triode) operating region.
The logic “H” level at the output of comparator SATCompH indicates that the amplifier is close to high side saturation. Similarly logic “H” level at the output of comparator SATCompL indicates that the amplifier is close to low side saturation. The outputs of the two comparators are “OR” connected. The output of the “OR” gate is logic “H” if the amplifier is close to either low side or high side saturation, hence it can be used as a saturation detection or warning signal.
The disadvantage of the prior art solution is that it does not track the variation of the saturation voltage level caused by process, temperature supply voltage and load current variations. This results in over-design, as the threshold levels SATREFH and SATREFL have to be selected for worst case conditions. As a consequence, the prior art circuits may signal the onset of saturation too early under typical conditions, thereby limiting the usable output voltage swing of the amplifier.
The present invention is illustrated by way of example, and not by way of limitation, in the figures of the accompanying drawings and in which like reference numerals refer to similar elements and in which:
Although some device numbers are duplicated across figures, i.e. MOS12 in
In one embodiment, the present invention creates a saturation detector and warning circuit that can detect the impending saturation of an amplifier in an adaptive way, maximizing the usable output voltage swing of the amplifier under process, temperature, supply voltage and load current variations. This is achieved by a circuit that creates a saturation detection reference voltage (corresponding to SATREFH or SATREFL) that tracks changes in process variations, temperature, supply voltage and load current.
In one embodiment, the system of the invention creates an adaptive soft clamp circuit to clamp the amplifier's output in saturation, at a level that is slightly above the threshold level of the saturation detector and warning circuit of the invention, but that is slightly below of the hard saturation output level of the amplifier. The output signal of the soft clamp circuit is fed back to the input of the amplifier. In this way the feedback loop of the amplifier remains active when the amplifier's output is clamped, resulting typically in cleaner output waveform and improved distortion in some applications.
In the embodiment of
MOS1 is the low side NMOS output transistor of the amplifier. MOS1 is typically a large device. In the following, “MOS” or “NMOS” designation will mean N channel MOSFET transistors, while “PMOS” designation will mean P channel MOSFET transistors. There is a size designator next to every transistor in all the embodiments. These size designators indicate the size of the devices relative to a unit device size that is designated by “x”. The unit device size, its W/L (channel Width over channel Length), can be practically any value chosen by the circuit designer. For matching devices the channel length, L, is typically chosen to be the same. The device size is scaled by varying the device's width, W. In typical embodiments the relative sizes of the NMOS and PMOS transistors are important, but their absolute size is of limited importance for the proper operation of the circuits.
In
Vds(4)=Vtn+dV=Vtn+sqrt((Iout/N)/(k*1*W/L)) (Eq.1.)
In Eq.1. and all further equations we use “W/L” designation for the unit transistor size instead of “x”, to make the equations more familiar in format. As it is well known in the art, the dV overdrive voltage is approximately equivalent to the drain source voltage, Vdssat, of the transistor at the edge of the saturated (pentode) operating mode. In the saturated operating mode, the output impedance of the MOSFET is high, accordingly transistors used in a typical grounded source amplifier have high small signal gain operating in their saturated mode. If the Vds drops below Vdssat, the transistor starts to operate in its linear or triode region, where its output impedance is significantly lower and its small signal gain is also significantly lower in a typical grounded source amplifier application.
As it is known in the art, if the gain of an amplifier significantly decreases its distortion typically increases. Hence, sensing the point where the output transistor MOS1 enters in its resistive (triode) region from its saturated (pentode) region, i.e. the point where its drain source voltage Vds drops below Vdssat, can be a good indication of the impending saturation of the amplifier. The embodiment of
In Eq.2. Vds(4) designated the drain source voltage of transistor MOS4, while Vgs(5) designates the gate source voltage of transistor MOS5, both in
Vdssat(1)=sqrt((Iout)/(k*4*N*W/L))=0.5*sqrt((Iout)/(k*N*W/L)) (Eq.3.)
Comparing Vdssat(1) in Eq.3 with Eq.2., it is clear that the LSSST voltage generated on the source of MOS5 is equal with the Vdssat voltage of the output transistor MOS1.
If the output voltage decreases further, decreasing the Vds voltage of MOS1 below Vdssat, the SATCompL comparator's output will become logic “H” level, indicating that the amplifier is close to low side saturation. Increasing the amplitude of the amplifier's output signal further will drive the drain voltage of MOS1 transistor below its Vdssat level typically causing a significant drop in the gain of the output stage as MOS1 enters into its triode region. By using the output transistor's Vdssat voltage as the threshold for the saturation warning circuit, as shown in
In the circuit of
The hard negative saturation level of the amplifier in
Vdsmin(1)=Iout*Rdson(1)=Iout/((2*k*(4*N*W/L)*(Vcc−Vtn)) (Eq.4.)
Substituting Vdssat(1)=sqrt((Iout/(k*4*N*W/L)):
Vdsmin(1)=0.5*((Vdssat(1))ˆ2)/(Vcc−Vtn) (Eq.5.)
Where Rdson(1) is the drain source resistance of transistor MOS1 when it is operating in its resistive (triode) region.
Typically Vdssat is much smaller than (Vcc−Vtn), and from this follows that Vdssat is typically much higher than Vdsmin. While the distortion of the amplifier starts to increase when Vout falls below Vdssat(1), it can be still acceptably low in same applications, and the amplifier can generate lower output voltage levels without significant distortion. In other words the saturation warning circuit shown in
An alternative embodiment of the invention, shown in
Vds(12)=V(LSSST)=Iout*(n11/n10)*Rdson(12) (Eq.6.)
Vgs(12)=Vtn+sqrt(Iout*(n11/n10)/k*n16*W/L)=Vtn+dV(12) (Eq.7)
Where Rdson(12) is the drain source resistance of transistor MOS12. Substituting Eq.7 into Eq.6, and using the well known relationship between Rdson(12) and dV(12):
Vds(12)=Iout*(n11/n10)*1/((2*k*n12*W/L)*sqrt(Iout*(n11/n10)/k*n16*W/L)) (Eq.8)
Substituting the Vdssat voltage of the output transistor MOS10 Vdssat(10)=sqrt(Iout/k*n10*W/L) into Eq.8:
Vds(12)=Vdssat(10)*(sqrt(n11*n16))/(2*n12)=V(LSSST) (Eq.9)
Eq.9 yields a ratio, Z, between the saturation warning threshold voltage, V(LSSST) and the saturation Vds voltage, Vdssat(10) of the MOS10 output transistor:
Z=V(LSSST)Ndssat(10)=(sqrt(n11*n16))/(2*n12) (Eq.10)
This ratio is less than one for all practical circuits and depends on the relative device sizes of MOS11, MOS16 and MOS12 transistors. Therefore, this ratio is very well controlled and very stable. As a practical example values n11=4, n16=1, and n12=2 can be chosen. These transistor sizes result in:
V(LS SST)=0.5*Vdssat(10)
In order to keep MOS12 operating in its triode mode n12 should be larger than n16. As another example, choosing n11=9, n16=1 and n12=2 yields a threshold value of 0.75*Vdssat. Choosing the device sizes properly, practically any fraction of the Vdssat(10) can be generated on the drain of MOS12, and used as saturation sensing threshold.
Additionally, the area ratios of PMOS16, PMOS15 and PMOS14 (which is shown as 1 in
sqrt(n11/n16)−sqrt(n11/n17)=Z (Eq. 11.)
This condition leads to the well known n11=n17=4*n16 condition if Z=1 which is used in the embodiment of
It is often desirable to add a small hysteresis to the operation of comparators to avoid chattering due to noise at the transitions. The embodiment shown in
In one embodiment, PMOS21 is matched to PMOS14, PMOS15 and PMOS16, except for size. Its size, designated with ax, is a small fraction of the size of PMOS15, 1×. Its current is a small fraction of the current of PMOS15. When the comparator output transitions from low to high, PMOS22 transistor is turned on via Inv1 inverter and the current generated by PMOS21 is added to the current of PMOS15. This increases the drop on MOS12, creating a small hysteresis. The size of the hysteresis can be controlled by the size ratio of PMOS21 ad PMOS15, i.e. by the value of “a”. If the desired value of “a” results in a device size (W/L ratio) that is too small to implement in practice, a resistor can be added between PMOS21's source and ground to decrease its drain current. The size of PMOS22 switch is typically much larger than the size of PMOS21, it can be chosen to 1×, about the size of PMOS15, or larger. Similar considerations are valid for the symmetric set of devices MOS32 and MOS31 on the high side.
Vdsmin(12)Ndsmin(10)=n11/n12 (Eq.13.)
Hence, based on Eq.13, the embodiment shown in
In amplifiers driven into saturation it is often useful to provide a soft clamp circuit that keeps the amplifier in its active region with a closed feedback loop to avoid ringing when the amplifier enters into and exits from hard saturation. In the context of the invention, the soft clamp circuit should clamp the output voltage between the saturation warning threshold level and the hard saturation (Vdsmin) level. This means that the soft clamp circuit has to be adaptive, following the changes in saturation warning threshold due to process, temperature, supply voltage and load current variations.
In one embodiment, shown in
The value of the offset is set by the size of PMOS19, px, relative to the size of PMOS18 and PMOS19, Px, and the value of IB1 bias current. The gain of the clamp is dependent of the size ratio of PMOS30 and PMO31, Q/q, multiplied by the size ratio of MOS29 and MOS24, N/n. The ClampH Output is tied to the inverting input of the amplifier to accomplish the clamping function. In one embodiment, the low side comparator and clamp circuit is a straight transposition of the high side circuit shown in
As the drain source voltage of the pass device PFET800 drops below the HSSST threshold the output of the comparator SATCompH changes to logic “H” level, indicating that the LDO is close to or about to drop out, losing the regulation of its output voltage Vout. The output of comparator SATCompH is utilized as the Drop-out Warning output signal of circuit 810 in
In the foregoing specification, the invention has been described with reference to specific exemplary embodiments thereof. It will, however, be evident that various modifications and changes may be made thereto without departing from the broader spirit and scope of the invention as set forth in the appended claims. The specification and drawings are, accordingly, to be regarded in an illustrative rather than a restrictive sense.
The present application claims priority to U.S. Provisional Patent Application Ser. No. 60/804,829, filed on Jun. 15, 2006, titled “Saturation Warning Circuit for Amplifiers”. That application is incorporated herein by reference.
| Number | Date | Country | |
|---|---|---|---|
| 60804829 | Jun 2006 | US |