Abstract:
An improved differential amplifier having circuitry to enhance the slew rate and to provide a means for nulling the offset voltage during fabrication of the amplifier as an integrated circuit. The differential amplifier comprises an input stage connected to a current mirror. A slew rate enhancement circuit injects current into selected points of the circuit when the input voltage exceeds a predetermined threshold. An offset trim circuit injects a selected amount of current into the current mirror to alter the current flow between the input stage and the current mirror, thereby reducing the offset voltage. The selected amount of current is dictated by diodes which may be permanently shorted at various stages during fabrication, both before and after the amplifier is enclosed in an IC package.

Description:
BACKGROUND OF THE INVENTION 
     This invention relates generally to linear amplifiers and more specifically to improving the performance of integrated circuit differential amplifiers. 
     Differential amplifiers are well known in the electronic art and are commercially available in integrated circuit (IC) packages. A typical package might have eight output pins: two for the input, one for the output, two for power connections, two for nulling the offset voltage, and one pin not connected to the circuit but included to provide an even number of pins. 
     The difference between signals applied to the input pins appears amplified at the output pin. Ideally, the signal at the output pin would change instantaneously in response to changes of the signals at the input pins. Components throughout the amplifier, however, have capacitance associated with them. For voltage across the components to change, current must flow to either charge or discharge those capacitances. The speed at which the output can change in response to changes at the inputs is therefore limited by the capacitance and the amount of current which flows. 
     The maximum rate at which the output can change in response to changes in the input is called the &#34;slew rate&#34;. A high slew rate is desirable in many applications. In particular, where the differential amplifier must respond to rapid changes in the input signals, a high slew rate is very important. For this reason, differential amplifiers are often characterized by their slew rates. 
     Another characteristic of a differential amplifier is its offset voltage. Ideally, when no input signals are applied, both input pins are at the same voltage (i.e. the difference between the input pins is zero). Variations in fabricating the components of the differential amplifier, however, prevent perfect alignment of the input voltages. If the offset voltage is not corrected, incorrect output signals can result. 
     The nulling pins can be used to bring the input voltages into alignment. A variable resistor can be connected between those nulling pins when the amplifier is used in a circuit. The center tap of the variable resistor is connected to a power supply. Appropriately adjusting the resistor reduces the offset voltage, i.e. the offset voltage is &#34;nulled&#34;. 
     One drawback to nulling the offset voltage using an external resistor is that it is inconvenient for users of differential amplifiers. For instance, electronics manufacturers mass producing products using differential amplifiers can often not afford to null each amplifier. It would be desirable, therefore, to null each amplifier when it is made. 
     SUMMARY OF THE INVENTION 
     It is an object of this invention to provide a differential amplifier with an enhanced slew rate. 
     It is also an object of this invention to provide an improved means to null the offset voltage of a differential amplifier. 
     The foregoing and other objects of the invention are achieved in a differential amplifier having a differential input stage connected to a current mirror via a first and second lead. A slew rate enhancement circuit, responsive to the input signal, injects current into the first lead of the current mirror when the input voltage exceeds a positive threshold and into the second lead of the current mirror when the input voltage falls below a negative threshold. The slew rate enhancement circuit also injects current into the gain stages of the amplifier when the input signal exceeds the positive threshold. The injected currents from the slew rate enhancer provide additional current to charge and discharge circuit capacitance which in turn improves the slew rate. 
     According to another feature of the invention, an offset trim circuit also injects current into the first and second leads of the current mirror in an amount selected to reduce the offset voltage. The offset trim circuit has a first set of diodes connected to test pads which are adapted to be permanently shorted by test equipment connected to the test pads. The offset trim circuit has a second set of diodes connected, via isolating components, to pins of the IC package. Selected ones of the diodes of the second set may be permanently shorted by test equipment connected to pins of the package. 
    
    
     BRIEF DESCRIPTION OF THE DRAWINGS 
     For a more complete understanding of this invention, reference is now made to the following description of a preferred embodiment of this invention, as illustrated in the accompanying drawings, in which: 
     FIG. 1 is a block diagram of a differential amplifier fabricated according to this invention; 
     FIG. 2 is a schematic, greatly simplified, of the input stage of the amplifier in FIG. 1; 
     FIG. 3 is a schematic, greatly simplified, of the current mirror of the amplifier in FIG. 1; 
     FIG. 4 is a schematic, greatly simplified, of a circuit to enhance the slew rate of the amplifier in FIG. 1; and 
     FIG. 5 is a schematic, greatly simplified, of a circuit allowing nulling of the offset voltage of the amplifier of FIG. 1. 
    
    
     DESCRIPTION OF THE PREFERRED EMBODIMENTS 
     Referring now to FIG. 1, a block diagram of a differential amplifier constructed according to the present invention is seen. Input signals are applied to the terminals V in+   and V in- . Since the circuit describes a differential amplifier, the input voltage (hereinafter &#34;V in  &#34;) is the difference between V in+   and V in- . The output appears at terminal V o . For simplicity, power connections, the pins for connecting an external resistor for nulling the offset voltage, and other standard components of differential amplifiers are not explicitly shown. 
     In operation, when no input signals are applied to terminals V in+   and V in- , the currents from input stage 20 in leads 34 and 36 are ideally identical. When signals are applied to terminals V in+   and V in- , input stage 20 changes the currents in leads 34 and 36 in proportion to the input voltage. 
     Current mirror 22 acts to keep the current flowing on its input leads 10 and 12 equal. When an input voltage is applied at terminals V in+   and V in-   to create unequal currents in leads 34 and 36, current flow through lead 38 equalizes the current flow in leads 10 and 12 into current mirror 22. For example, if V in+   (herein the voltages at terminals V in+   and V in-   will also be referred to simply as V in+  and V in- ) is greater than V in- , current flow in lead 36 exceeds current flow in lead 34. To equalize the current flow into leads 10 and 12, the additional current flows into lead 38. A little thought reveals that the current in lead 38 is proportional to the difference in voltages applied at the input terminals V in+   and V in- . 
     The current flow through lead 38 provides an input to gain stage 24. Here, gain stage 24 is an amplification stage such as might be found in known differential amplifiers. Gain stage 24 is in turn connected to a buffer stage 28, also of known construction, which provides the output signal at terminal V o . 
     The slew rate of the amplifier in FIG. 1 is limited by the capacitance associated with the various components. Significantly, the capacitances of gain stage 24 and of buffer stage 28 contribute appreciably to any decrease in the slew rates. For purposes of illustration, those capacitances are represented by imaginary capacitors 26A and 26B. The slew rate of the differential amplifier is therefore limited by how quickly current can be supplied to charge or discharge capacitors 26A and 26B in response to changes at the inputs. 
     Slew rate enhancer 30 operates to supply additional current to charge or discharge capacitors 26A and 26B in response to relatively large changes in the input. When V in+   exceeds V in-   by a threshold amount, V p , slew rate enchancer 30 supplies current on leads 42 and 14 to charge capacitors 26A and 26B. The current on lead 42 flows into lead 38 and charges capacitor 26A because current mirror 22 prevents that current from flowing into lead 12. When V in-   exceeds V in+   by the threshold V p , slew rate enhancer 30 supplies current on lead 40. The increase in current on lead 40 increases the current on lead 10. Current mirror 22 operates to equalize the currents on leads 10 and 12. Increasing the current in lead 12 allows current to flow out of capacitor 26A through lead 38 and into the current mirror through lead 12. No path is provided to discharge capacitor 26B when V in-   exceeds V in+   because that capacitor discharges much more quickly than it charges. 
     The differential amplifier of FIG. 1 also allows nulling of the offset voltage. If the components used to construct input stage 20 all have identical current versus voltage characteristics, equal currents in leads 34 and 36 would result in equal voltages at terminals V in+   and V in- . However, there can be significant variations in the current versus voltage characteristics from device to device even when the devices are fabricated on the same IC wafer. Offset trim circuit 32 may be adjusted to minimize the effect of any differences in devices. 
     In a manner to be explained in more detail below, offset trim circuit 32 outputs current on lead 44 or 46. A little thought will reveal that, due to the operation of current mirror 22 keeping current through lead 12 equal to current through lead 10, increased current on lead 44 increases current on lead 36. Conversely, current on lead 46 decreases current on lead 36. The difference in current on leads 34 and 36 compensates for differences in the current versus voltage characteristics of devices in input stage 20 to make the voltages at terminals V in+   and V in-  equal. Thus, currents on leads 44 and 46 null the offset at the input terminals. During fabrication of the IC differential amplifier, offset trim circuit 32 is set to produce the desired current on leads 44 and 46. 
     Turning now to FIG. 2, additional details of input stage 20 can be seen. Terminal V in+   is connected to the gates of field effect transistors (FET) Q 1  and Q 3 . Terminal V in-   is connected to the gates of FETs Q 4  and Q 5 . Constant current sources I 1A , I 1B , and I 2  are fabricated from discrete components using known methods. Here, constant current sources I 1A  and I 1B  are designed to provide the same amount of current, on the order of a few tenths of a milliAmp. Constant current source I 2  is designed to provide four times the current of I 1A  or I 1B . The sources are powered by connections to the positive supply +V and the negative supply -V. 
     The current through Q 3  and Q 5  is equal to the current of the constant current sources I 1A  and I 1B , respectively. The sum of those currents on lead 36 is therefore always constant and is equal to I 1A  +I 1B  (herein, the current through a constant current source will be referred to by the same designation as the constant current source). The current in lead 34 is equal to the current through FET Q 1 . When no voltage is applied to terminal V in+   or V in- , the current through FET Q 1  ideally equals the current through FET Q 4 . A little thought reveals the current through FET Q 1  is one-half I 2 , which equals I 1A  +I 1B . Thus, the current on lead 34 equals the current on lead 36 when V in+   equals V in- . According to the small signal model of transistors, when V in+  exceeds V in- , I 2  divides in proportion to the difference between V in+   and V in-   such that more current flows through FET Q 1  then through FET Q 2 . Thus, the current on lead 34 exceeds the current on lead 36. Conversely, when V in-   exceeds V in+ , the current through FET Q 4  exceeds the current through FET Q 1  and the current on lead 36 exceeds the current on lead 34. Thus, it can be seen that the circuit of FIG. 2 functions as an input stage 20 as described above. 
     Turning now to FIG. 3, details of current mirror 22 can be seen. The circuit is constructed from bipolar junction transistors (BJTs) using known techniques. Here, the bases of BJTs Q 32  and Q 35  are connected together and are at the same voltage. The emitters are connected to the negative supply, -V, through resistors R 8  and R 11 , which have the same resistance. A little thought reveals that if BJTs Q 32  and Q 35  have substantially equal voltage versus current characteristics, the currents through BJTs Q 32  and Q 35  will be equal. If the current on lead 10 increases, the base current of BJT Q 33  will increase, causing an increase in base voltages and base currents of BJTs Q 32  and Q 35 . Thus, an increase in current of lead 10 is &#34;mirrored&#34; by an increase of current in lead 12. Thus, the circuit in FIG. 3 performs the function of current mirror 22 described above. 
     Turning now to FIG. 4, additional details of slew rate enchancer 30 can be seen. FETs Q 6  and Q 7  can be thought of as switches which prevent current from flowing through leads 40 and 42 when V in-   and V in+   are below the threshold V p . As is known, FETs conduct no current when their gate to source voltages are below a pinchoff voltage, which is equal to the threshold V p . Thus, slew rate enhancer 30 has no effect on the rest of the differential amplifier when the inputs are below V p . 
     A little thought will reveal that FET Q x2  and constant current source I 3A  make a source follower amplifier to buffer V in-  as it is applied to the base of BJT Q 35 . Likewise, FET Q x1  and constant current source I 3B  buffer V in+   as it is applied to the base of BJT Q 29 . Constant current sources I 3A  and I 3B  here provide the same amount of current, on the order of 0.2 mA. 
     Since FETs Q x1  and Q x2  act as source followers, V in+   and V in-   are applied to the bases of BJTs Q 53  and Q 29 . The current through resistor R 2  might then be calculated to equal 
     
         (V.sub.in+ +V.sub.gsx1 -V.sub.BE29 -(V.sub.in- +V.sub.gs6))/R.sub.2 ≃V.sub.in /R.sub.2                          EQ. (1) 
    
     where 
     V GSx1  =the gate to source voltage of FET Q x1  ; 
     V BE29  =the base to emitter voltage of BJT Q 29  ; 
     V GS6  =the gate to source voltage of FET Q 6  ; and 
     V in  =V in+  -V in- . 
     Thus, the current through resistor R 2  is proportional to V in . 
     The current flowing through lead 40 can therefore be calculated. As described above, when V in+   exceeds V in-   by at least V p , the current through resistor R 2  flows in part through FET Q 6 . Part of the current through resistor R 2  flows through constant current source I 4A . Here, I 4A  is designed to pass a constant current of I 4A  =V p  /R 2 . Using EQ. (1), the current through FET Q 6  approximately equals V in  /R 2  -V p  /R 2  =(V in  -V p )/R 2  when V in  &gt;V p  and equals 0 when V in  &lt;V p . 
     Due to the symmetry of the circuit in FIG. 4, a little thought will reveal that lead 42 has a current of (V in  -V p )/R 2  when -V in  &gt;V p  and equals 0 when -V in  &lt;V p . 
     In summary then, when V in  is between -V p  and +V p , slew rate enhancer 30 does not provide current on lead 40 or lead 42. When V in  equals -V p , slew rate enhancer 30 begins to provide current on lead 42, and the magnitude of that current increases as V in  becomes more negative. When V in  equals V p , slew rate enhancer 30 begins to provide current on lead 40, and the magnitude of that current increases as V in  becomes more positive. Here the threshold V p  is selected to equal the input voltage at which input stage 20 (FIG. 1) saturates, the current provided by slew rate enhancer 30 compensates for the saturation of input stage 20. 
     One additional feature of slew rate enhancer 30 can be seen by reference to FIG. 4. Namely, the current on lead 14 equals the current through resistor R 2 . As can be seen, the bases of BJTs Q 52  and Q 51  are connected together as are their emitters. Therefore, the current through BJT Q 52  should equal the current through BJT Q 51 . Since the current through BJT Q 52  flows through resistor R 2 , the current through BJT Q 52 , and hence the current through BJT Q 51  and lead 14, equals the current through R 2 . Since lead 14 is connected to capacitor 26B (FIG. 1), slew rate enhancer 30 provides current to charge capacitor 26B (FIG. 1) as V in+   exceeds V in- . 
     Turning now to FIG. 5, additional details of offset trim circuit 32 can be seen. As described above, trim circuit 32 provides current on leads 44 and 46 to null the offset voltage. 
     Part of the nulling, called &#34;wafer level trim&#34; is accomplished during fabrication of the IC containing the differential amplifier. As is known in the art, during fabrication before the integrated circuits are sealed into packages, test equipment is connected to the circuit. Here, test pads Z 1  -Z 7  represent pads where test probes can make connection to the circuit. The equipment connected to test pads Z 1  -Z 7  will short out selected ones of the diodes D 1  -D 6  to select the amount of current flowing in leads 44 and 46. 
     Each of the diodes D 1  -D 4  is connected to FET Q 18  through one of the resistors R 27  -R 31 . Here, FET Q 18  is configured as a multidrain current source. As is known, FET Q 18  operating as a multidrain current source divides the current supplied by constant current source I 5  to flow out of drains D 18a  -D 18e . The dimensions of FET Q 18  are selected so that the current in drains D 18a  -D 18e  are in the ratios of 16:8:4:2:1, i.e. the drains have a binary weighting. Because each diode D 1  -D 4  is connected to a different one of the drains of FET Q 18  , each diode D 1  -D 4  shorted out will provide a different amount of current to the node connected to test pad Z 7 . By selecting appropriate combinations of the diodes D 1  -D 4 , sixteen different values of current could be provided to the node connected to test pad Z 7 . 
     By shorting diode D 5 , the selected current at the node connected to test pad Z 7  is directed to lead 44. Conversely, by shorting diode D 6 , that current is directed to lead 46. As described above, adding current on lead 44 increases the voltage at terminal V in-   (FIG. 1) relative to the voltage at V in+   (FIG. 1). Conversely, adding current on lead 46 increases the voltage at terminal V in+   (FIG. 1) relative to terminal V in-   (FIG. 1). Thus, the offset voltage can be nulled by shorting diodes D 1  -D 6 , and the ability to null the offset voltage is limited only by the ability to select a combination of diodes which produce the desired nulling. 
     It should be noted that bias circuit 50 biases the gate of FET Q 18  to ensure the device conducts the required current. Here, bias circuit 50 is constructed in any known manner. Additionally, bias circuit 50 provides a bias voltage to the bases of BJTs Q 17  -Q 21 . The bases of those transistors are biased to a sufficient level that diodes D 1  -D 4  are reversed biased, unless they have been shorted out. 
     Diodes D 16  or D 17 , if shorted out, would connect drain D 18e  to either lead 44 or 46. For reasons to be described below, diodes D 16  and D 17  provide a means to make a slight adjustment to the current in leads 44 and 46 and thereby to make a slight adjustment in the offset voltage. 
     In operation, selected ones of the diodes D 1  -D 6 , and D 16  and D 17  are shorted out at the factory where the IC differential amplifiers are made. As is known, before IC&#39;s are sealed inside packages, test equipment (not shown) makes a connection to bonding pads and test pads. Bonding pads are metalized regions on the IC where bond wires are attached. The bond wires make connections to pins on the outside of the IC packages. Thus, the input terminals V in+   and V in- , the power supplies V+ and V-, the two nulling inputs and the output terminal have bonding pads associated with them. Test pads, such as test pads Z 1  -Z 7 , are metalized regions like bonding pads. They are connected to the circuit, but not to pins on the IC package. 
     To determine which diodes to short, the test equipment connects input terminal V in-   to ground, forces the output voltage to zero using well-known testing techniques, and measures the voltage at terminal V in+ . The test equipment supplies power to the circuit via connections to the bonding pads connected to supply terminals V+ and V- so that FET Q 18  produces the desired current flow in drains D 18a  -D 18e . A little thought will reveal that the test equipment can simulate the effect of shorting any diode D 1  -D 4  by making connections between test pads Z 1  -Z 4  and test pad Z 7 . Likewise, the test equipment can simulate the effects of shorting diodes D 5  or D 6  by making connections between test pad Z 5  or Z 6  and test pad Z 7 . The simplest way to determine which diodes to short is for the test equipment to ground the input terminal V in-  and measure the voltage at input terminal V in+   (i.e. the offset voltage). The test equipment then runs through the possible combinations of shorts and opens the diodes D 1  -D 6  (32 combinations in all since only one of the pair D 5  and D 6  is shorted). The combination producing the value of voltage closest to zero is selected and those diodes are permanently shorted. 
     The diodes are permanently shorted by a technique sometimes called &#34;zapping&#34;. Basically, each diode consists of a region of n-type semiconductor adjacent to a region of p-type material. Metal contacts, usually aluminum, are made to the regions. To zap a diode, the diode is reverse biased to approximately 20 V and a 500 mA current pulse lasting approximately 100 ms is created. For diodes which are relatively small, the current pulse is large enough to cause migration of aluminum from the metal pad over the n-type region to the p-type region. The junction between the n-type and p-type region is thereby shorted out. 
     For example, to short out diode D 1 , the test equipment applies 20 V between test pads Z 7  and Z 1 . The resulting current pulse zaps the diode. Resistors R 27  -R 31 , having values approximately 1 k ohms, protect FET Q 18  during the zapping. Likewise, resistors R 32  -R 36  protect BJTs Q 17  -Q 21  during the zapping. Diode D 5  or D 6  is then zapped by pulses applied at test pads Z 7  and Z 5  or Z 6 . 
     Once diodes D 1  -D 6  are zapped, the bonding pads are connected to the pins of a package and the IC is enclosed in the package. Once the IC is enclosed in the package, the test pads can no longer be used for zapping diodes to adjust the offset. However, the process of sealing the IC chip in the package or the presence of bonding wires may change the offset such that additional adjustment is required. 
     After packaging, the only access to the circuitry is through the external pins on the package. Where the IC is enclosed in an eight pin package, there is typically one pin which is not used. In FIG. 5, bonding pad P 8  is connected to diodes D 16  and D 17  and is connected to the unused pin. Thus, there is access to one end of diodes D 16  and D 17  to provide further nulling, but at least two more pins are required to access the other sides of diodes D 16  and D 17 . Since the remaining seven pins of an eight pin package are needed for other connections, there are apparently no available pins for zapping diodes D 16  and D 17 . However, FIG. 5 shows that diodes D 16  and D 17  can be zapped by multiple connections to two pins. 
     As shown in FIG. 5, one side of diode D 16  is connected to bonding pad P 3  via FET Q 1 . Here, FET Q 1  is normally a part of input stage 20 (FIG. 2) and bonding pad P 3  is normally used to connect input terminal V in+   (FIG. 2) to a pin on the package. During the zapping at the factory, a large voltage is connected between the pin connected to bonding pad P 8  and the pin connected to bonding pad P 3 . The connection from bonding pad P 3  to diode D 16  passes through the gate to drain junction of FET Q 1 , which acts as a forward biased diode. Furthermore, FET Q 1  is much larger than diode D 16  so that metal migration on the contacts of FET Q 1  does not cause metal to bridge any junctions of the device. 
     Diode D 17  can be zapped by applying a voltage between the pins connected to bonding pads P 1  and P 8 . Bonding pad P 8  as described above, is connected to the normally unused pin of the package. Bonding pad P 1  is normally used for offset nulling of the differential amplifier in a circuit. For example, an end user of the IC might connect a variable resistor 54 between the pins connected to bonding pads P 1  and P 5 . The center tap of the resistor is connected to the positive voltage supply V+ and adjusted until the offset voltage is nulled. Null circuit 52 inside the differential amplifier responds to the setting of the resistor and nulls the offset in a known manner. 
     When D 17  is zapped, variable resistor 54 is not connected. The voltage applied to pads P 8  and P 1  causes the metal migration which zaps D 17 , but has little effect on BJT Q 58 . During the zapping, BJT Q 58  is forward biased. Additionally, BJT Q 58  is much larger than the diode D 17  such that any metal migration does not short any junctions of BJT Q 58 . 
     After the zapping, BJT Q 58  acts as a reverse bias diode to isolate pad P 1  from diode D 17 . Thus, there is no problem in using the pin connected to pad P 1  for zapping at the factory and for some other purpose when the differential amplifier is incorporated into a circuit. The drain of FET Q 1  is, in normal operation, connected via lead 34 to lead 44. Thus, there is no problem in using the pin connected to pad P 3  for zapping diodes D 16  and for some other purpose when the differential amplifier is incorporated into a circuit. 
     Having described a preferred embodiment of the present invention, other embodiments may now become apparent to persons having ordinary skill in the art. Accordingly, it is understood that the scope of the present invention is limited only by the scope of the appended claims.