# Patent

## Title
Sense amplifier with depletion transistor feedback

## Abstract

A temperature compensation control circuit to maintain a constant control gain in an AGC (automatic gain control) amplifier. The present invention compensates for the inherent temperature dependence without using any special processing or non-standard device structures. The present invention utilizes the voltage drop across n diodes in series to produce the control voltage difference (V.sub.C -V.sub.C *). These n series diodes are coupled to the collectors of a PNP emitter coupled pair with emitter resistance. This causes the control voltage difference to be dependent on temperature (nkT/q), but this dependency cancels out with the other inherent temperature dependency in the exponential function of the AGC amplifier which is also produced by a diode form. Thus, the present invention provides temperature compensation with minimum component matching problems and without the need for a PTAT (proportional to absolute temperature) current source.

## Background
1. Field of the Invention

This invention relates to the field of compensation for the inherent temperature dependence in automatic gain control amplifiers while retaining the exponential gain characteristic.

2. Background Art

The gain versus input control voltage for a typical automatic gain control (AGC) amplifier is usually an exponential function which results in constant control gain that is independent of the input signal amplitude. The constant gain characteristic allows the AGC feedback loop frequency compensation to be optimized for minimum transient settling time.

Previous technology for AGC amplifiers usually employ an emitter-coupled pair with diodes in a configuration such as a Gilbert Multiplier. However, the performance of these circuits suffer, since the exponential function is temperature dependent. The basic equation for the prior art AGC amplifier with an exponential gain control voltage is as follows: *-V.sub.C)]

In this equation, the inherent dependency (q/kT) of the gain on temperature can be seen. When the gain (V.sub.O -V.sub.O *) versus (V.sub.C -V.sub.C *) of 25 dB range AGC is plotted, the gain range changes due to temperature variation by 8.4 dB over a 0.degree. C. to 127.degree. C. change.

To nullify this variation of gain, temperature compensated log-antilog exponential function amplifiers have been built using thermistor networks. The thermistor is a temperature-sensitive resistor that must be selected or trimmed for appropriate temperature compensation and be external to an integrated circuit.

Another prior art means of temperature compensation is accomplished by making the differential control voltage (V.sub.C -V.sub.C *) proportional to kT/q. In practice, however, this circuit is sensitive to the offset voltages in bipolar junction transistors. The circuit is also sensitive to the matching of the load resistors R.sub.L since their voltage drop distance appears as a control voltage difference. Furthermore, the circuit also has the disadvantage that a PTAT (proportional to absolute temperature) current source is required.

Therefore, it is an object of the present invention to compensate for the temperature dependency in the exponential gain control for an AGC amplifier.

It is another object of the present invention to compensate for the temperature dependence without using external devices.

It is another object of the present invention to suppress the temperature dependency without the disadvantage of requiring a PTAT device.

The present invention implements a temperature compensation control circuit to maintain a constant control gain in an AGC (automatic gain control) amplifier. The present invention compensates for the inherent temperature dependence without using any special processing or nonstandard device structures. The present invention utilizes the voltage drop across n diodes in series to produce the control voltage difference (V.sub.C -V.sub.C *). These n series diodes are coupled to the collectors of a PNP emitter coupled pair with emitter resistance. This causes the control voltage difference to be dependent on temperature (nkT/q), but this dependency cancels out with the other inherent temperature dependency in the exponential function of the AGC amplifier which is also produced by a diode form. Thus, the present invention provides temperature compensation with minimum component matching problems and without the need for a PTAT (proportional to absolute temperature) current source.

FIG. 1 is a circuit diagram of an AGC amplifier using a Gilbert Multiplier but having no temperature compensation.

FIG. 2 is a plot of uncompensated temperature variation of gain versus control voltage.

FIG. 3 is a circuit diagram of a prior art temperature compensation control circuit.

FIG. 4 is a circuit diagram of the temperature compensation control circuit of the preferred embodiment of the present invention.

FIG. 5 is a plot of temperature compensated variation of gain versus control voltage.

An AGC amplifier using a temperature compensation control circuit is described. In the following description, numerous specific details, such as voltage, conductivity type, etc., are set forth in order to provide a more thorough understanding of the present invention. It will be apparent, however, to one skilled in the art, that the present invention may be practiced without these specific details. In other instances, well known features have not been described in detail in order to not obscure the present invention.

The gain of a prior art AGC amplifier is given by an exponential function in which the exponent consists of a ratio value. The exponential function is provided by using emitter coupled pair transistors, such as a Gilbert Multiplier. The denominator of the ratio is temperature dependent, resulting in the gain being temperature dependent. The present invention provides voltage control circuitry which results in the numerator of the exponential ratio being temperature dependent as well. As a result, voltage variations due to temperature changes are cancelled out and the gain becomes temperature independent.

An example of a prior art AGC amplifier using a Gilbert Multiplier is illustrated in FIG. 1. The prior art AGC circuit utilizes first and second gain stages consisting of first and second pairs of emitter coupled transistors. As shown in FIG. 1, emitter coupled transistor pairs Q1 and Q2 comprise one gain stage, and emitter coupled transistors Q5 and Q6 comprise a second gain stage. The differential output voltage is taken from the collectors of transistors Q5 and Q6. Supply voltage V.sub.cc is coupled through load resistance R.sub.L1 to the collector of transistor Q5. V.sub.cc is also coupled through another load resistance R.sub.L2 to the collector of transistor Q6.

The base of transistor Q5 is coupled to the collector of transistor Q1 and the emitter of diode-connected transistor Q3 at node 10. The base of transistor Q3 is coupled to the collector of transistor Q3. The base of transistor Q1 is coupled to input voltage V.sub.I. The emitter of transistor Q1 is coupled to the collector of transistor Q7 through emitter resistance R.sub.E1 at node 12. The emitter of transistor Q2 is also coupled to the collector of transistor Q7 through another emitter resistance R.sub.E2 at node 12. The base of transistor Q7 is coupled to input voltage V.sub.C (control voltage). The emitters of transistors Q7 and Q8 are coupled to the current source I.sub.T at node 14. The current source is coupled to ground.

The base of transistor Q8 is coupled to control voltage V.sub.C *. The collector of transistor Q8 is coupled to the emitters of transistor Q5 and transistor Q6 at node 11. The base to transistor Q6 is coupled to the collector of transistor Q2 and coupled to the emitter of diode-connected transistor Q4 at node 13. Output voltage V.sub.o * is taken from the collector of transistor Q6. The base of transistor Q4 is coupled to the collector of transistor Q4. The base of transistor Q2 is coupled to the input voltage V.sub.I *.

The voltage gain for the emitter-coupled pairs, Q1 and Q2, and Q5 and Q6, is equal to the ratio of the total resistance in the collector circuit to the total resistance in the emitter circuit. Thus, the differential gain at the collectors of Q.sub.1 and Q.sub.2 is approximately: ##EQU1##

I.sub.1 is the total current running through the emitter coupled pair and also runs through transistor Q7.

Similarly, the differential gain at the collectors of Q5 and Q6 is:

I.sub.2 is the total current running from transistor Q5 and Q6. Substituting equation 1 into equation 2: ##EQU2##

Concerning the Gilbert Multiplier in the circuit, the equation for the differential control voltage at the bases of the emitter-coupled pair of transistors Q7 and Q8 is:

which can also be expressed as:

Substituting equation 5 into equation 3:

V.sub.0 -V.sub.o *=(V.sub.I -V.sub.I *)(R.sub.L /R.sub.E)exp[(q/kT)(V.sub.C *-V.sub.C)]                                               (Equation 6)

This is the basic equation of an AGC amplifier with an exponential gain control. Problems arise due to the temperature dependence factor (q/KT) in the exponential term. An example of the temperature variation of the gain versus the differential control voltage V.sub.C -V.sub.C * of a 25 dB range AGC is plotted in FIG. 2. The gain range changes by 8.4 dB over a 0.degree. C. to 127.degree. C. change.

An example of a prior art temperature compensation scheme is illustrated in FIG. 3. In operation, the circuit in FIG. 3 is added on to the circuit of FIG. 1 to provide the proper differential control voltage for temperature compensation. The compensation circuit is made up of two emitter-coupled pairs and a PTAT current source to provide the required control voltage output. Control voltage V.sub.C is taken from the collector of transistor Q5 and V.sub.C * is taken from the collector of transistor Q6. The collector of transistor Q5 is coupled to voltage supply V.sub.cc through resistor R.sub.L3. The collector of Q6 is also coupled to V.sub.cc through another load resistor R.sub.L4. The base of transistor Q5 is coupled to the collector of transistor Q1 and coupled to the emitter of transistor Q3 at node 20. The base of transistor Q3 is coupled to the collector of transistor Q3. The base of transistor Q1 is coupled to the input voltage V.sub.B. The collector of transistor Q1 is coupled to current source I.sub.1 through emitter resistance R.sub.E3 at node 22. The emitter of transistor Q2 is also coupled to current source I.sub.1 at node 22 through another emitter resistance R.sub.E4. The base of transistor Q2 is coupled to the input voltage V.sub.B *. The collector of transistor Q2 is coupled to the base of Q6 and coupled to the emitter of transistor Q4 at node 23. The base of transistor Q4 is coupled to the collector of transistor Q4.

The role of this prior art circuit is to make the differential control voltage V.sub.C -V.sub.C * temperature dependent and therefore cancel out the other temperature factor in the differential output voltage equation. Since the circuit in FIG. 3 is similar to the circuit in FIG. 1, similar circuit analysis can be employed. It can be seen that the differential control voltage is: ##EQU3##

A necessary element of this scheme is to make I.sub.2 be a PTAT current source so that I.sub.2 =K (kT/q). Therefore: ##EQU4##

In this circuit, the (kT/q) terms cancel out, resulting in a temperature independent exponential function in the differential output voltage equation. However, drawbacks to using this method of temperature compensation include the sensitivity of the circuit toward the offset voltages of transistor pairs Q3-Q4, and Q5-Q6, since these offset voltages are amplified by the gain of transistors Q5 and Q6. Furthermore, the circuit is very sensitive to the matching of the two load resistors R.sub.L3 and R.sub.L4, since the voltage drop between the two makes up the differential control voltage. Thus, high precision resistors must be used. Another disadvantage to this prior art method is that a PTAT current source is required. Thus, the present invention generates a voltage control difference that has a temperature compensation term in its numeral, but is executed without undesirable post-processing or any PTAT devices.

An example of the preferred embodiment of the present invention is illustrated in FIG. 4. The control voltage difference is determined by the voltage drop across n diodes in series coupled to the collectors of an emitter coupled pair of PNP transistors.

The voltage supply V.sub.cc is coupled to node 11 through the current source I.sub.T. The emitter of transistor Q19 is coupled to node 11 through resistor R.sub.E5. The emitter of transistor Q20 is also coupled to node 11 through another resistor R.sub.E6. The base of transistor Q19 is coupled to input voltage V.sub.B. The control voltage V.sub.C is taken from the collector of transistor Q19. A number of n diodes in series are coupled to the collector of transistor Q19 with the positive terminal of the first diode coupled to the collector of transistor Q19 and the negative terminal of the last diode coupled to ground.

The base of transistor Q20 is coupled to input voltage V.sub.B *. The control voltage V.sub.C * is taken from the collector of transistor Q20. A number of n diodes is coupled to the collector of transistor Q20 with the positive terminal of the first diode coupled to the collector of transistor Q20 and the negative terminal of the last diode coupled to ground.

Using similar analysis as that used for the Gilbert Multiplier in FIG. 1, the differential control voltage is equal to:

This equation can also be represented as: ##EQU5##

Ideally, .DELTA.I/I.sub.T should be much smaller than one. When this is true, then: ##EQU6## This is equal to 2(V.sub.B -V.sub.B *)/R.sub.E I.sub.T. Thus, the differential control voltage of the present invention is: ##EQU7##

The accuracy of this approximation improves as n increases since .DELTA.I/I.sub.T can be made smaller. The series diode offset voltage sum also increases linearly with n.

An example of the temperature compensated variation of gain versus the differential control voltage is plotted in FIG. 5. The plot shown is for a 25 dB range AGC and an n=2. Although n is only equal to 2, from the plot it is evident that the gain change from 0.degree. C. to 127.degree. C. is small (.apprxeq.0.86 db) when compared to the uncompensated gain change (.apprxeq.8.4 db) shown in FIG. 2. Thus, when employing the circuit of the present invention, an approximate 263% gain change with temperature is reduced to about a 10.4% gain change.

Thus, a less complicated temperature compensation control circuit for an AGC with exponential gain has been described.

## Claims

1. A circuit comprising: second gain stage is an AGC amplifier; third stage is an exponential function stage; proportional to temperature, output of said fourth gain stage coupled to input of said third gain stage, output of said first gain stage coupled to input of said second gain stage and said third gain stage coupled to said first and said second gain stage, said fourth gain stage comprising an emitter coupled pair of transistors with first and second sets of n diodes in series, n being an integer greater than zero, said first and second sets of diodes coupled to first and second outputs of said emitter coupled pair of transistors, respectively.

2. The circuit of claim 1 wherein said first gain stage comprises first and second emitter coupled transistors each with emitter resistance.

3. The circuit of claim 2 wherein said second gain stage comprises third and fourth emitter coupled transistors.

4. The circuit of claim 3 wherein said third gain stage comprises fifth and sixth emitter coupled transistors, and wherein a combination of said first, second and third gain stages is a Gilbert Multiplier.

5. The circuit of claim 4 wherein the collector of said fifth transistor is coupled to the emitters of said emitter coupled first and second transistors.

6. The circuit of claim 5 wherein the collector of said sixth transistor is coupled to the emitters of said emitter coupled third and fourth transistors.

7. The circuit of claim 4 wherein the bases of said fifth and sixth transistors are driven by said fourth gain stage.

8. An automatic gain control (AGC) amplifier, said amplifier comprising: transistors with first and second sets of n diodes in series, n being an integer greater than zero, said first and second sets of diodes coupled to first and second outputs of said emitter coupled pair of transistors, respectively, said temperature compensation means coupled to input of said exponential function means.

9. The circuit of claim 8 wherein said automatic gain control means comprises a first gain stage which is comprised of first and second emitter coupled transistors, each with emitter resistance and a second gain stage which is comprised of third and fourth emitter coupled transistors.

10. The circuit of claim 9 wherein said exponential function means comprises fifth and sixth emitter coupled transistors, and wherein a combination of said automatic gain control means and said exponential function means is a Gilbert Multiplier.

11. The circuit of claim 10 wherein the collector of said fifth transistors coupled to the emitters of said emitter coupled first and second transistors.

12. The circuit of claim 11 wherein the collector of said sixth transistors is coupled to the emitters of said emitter coupled third and fourth transistors.

13. The circuit of claim 10 wherein the bases of said fifth and sixth transistors are driven by said temperature compensation means.

14. A temperature compensation circuit for compensating a temperature dependence in an exponential gain function stage of an AGC amplifier, said temperature compensation circuit comprising: second emitter coupled transistors, respectively, N being an integer greater than one; emitter coupled transistors; differential voltage output; gain function stage of said AGC amplifier, said exponential gain function stage coupled to an AGC stage of said AGC amplifier.

15. The circuit of claim 14 wherein said first conductivity type is P type (PNP).

16. The circuit of claim 14 wherein said temperature compensation circuit does not include a PTAT current source, and provides a gain control voltage to said AGC amplifier having an exponential gain function wherein an exponent is inversely proportional to temperature and proportional to said gain control voltage.

17. The circuit of claim 16 wherein said temperature compensation circuit drives the bases of third and fourth emitter coupled transistors of said exponential function stage of said AGC amplifier.