Prerequisite: Basic Electronics

     © by Tony van Roon



At this moment I'm finishing up this tutorial and am working out the format so it will print properly, in which case it is probable that text & graphics will be switched around to have a proper printed copy. Maybe another week or two... Thanks very much for your patience.

What Exactly Is An Op-Amp?

     What exactly is an OPerational AMPlifier? Let's define what that component is and look at the parameters of this amazing device. An operational amplifier IC is a solid-state integrated circuit that uses external feedback to control its functions

The term 'op-amp' was originally used to describe a chain of high performance dc amplifiers that was used as a basis for the analog type computers of long ago. The very high gain op-amp IC's our days uses external feedback networks to control responses. The op-amp without any external devices is called 'open-loop' mode, refering actually to the so-called 'ideal' operational amplifier with infinite open-loop gain, input resistance, bandwidth and a zero output resistance.
However, in practice no op-amp can meet these ideal characteristics. And as you will see, a little later on, there is no such thing as an ideal op-amp.
Since the LM741/NE741/µA741 Op-Amps are the most popular one, this tutorial is direct associated with this particular type. Nowadays the 741 is a frequency compensated device.

     Let's go back in time a bit and see how this device was developed.
The term "operational amplifier" goes all the way back to about 1943 where this name was mentioned in a paper written by John R. Ragazzinni with the title "Analysis of Problems in Dynamics" and also covered the work of technical aid George A. Philbrick. The paper, which was defined to the work of the U.S. National Defense Research Council, was published by the IRE in May 1947 and is considered a classic in electronics.
The very first series of modular solid-state op-amps were introduced by Burr-Brown Research Corporation and G.A. Philbrick Researches Inc. in 1962. The op-amp has been a workhorse of linear systems ever since.

The first op-amp offered to the public in 1963 was the µA702 manufactured by Fairchild Semiconductors but it had very weird supply voltages such as +12 and -6volts and had a tendency to burn out when it was temporarily shorted. Despite all these little shortcomings this device was the best in its day.
In 1965 the next major change was introduced in op-amp design with the µA709 from Fairchild Semiconductor. It had higher gain, a larger bandwidth, lower input current, and a more user-friendly supply voltage requirement of approximately +15 Volt DC.

National Semiconductor decided to jump on the bandwagen with the release of a more versatile op-amp version in the form of the LM101 in 1967. It had a an increased gain (up to 160K) and operation range. One of the nicest features of the LM101 was 'short-circuit' protection, and simplified frequency compensation. This was accomplished by placing an external capacitor across selected connection pins. The first op-amp to provide this internally was the hybrid LH101, which was basically a LM101 with a capacitor in a single package.
But Fairchild was not done yet. It introduced in May 1968 an internally compensated op-amp called the µA741. However, the differences between their LM101 and the µA741 were very slight. Frequency compensation is accomplished using an 'on-chip' capacitor. Offset null is accomplished by adjustment of currents in input stage emitters. On the LM101, Offset is achieved by adjusting current in input stage collectors.
In December 1968, an improved version of the LM101, the LM101A, was devised. This device provided better input control over the temperature and lower Offset currents.
National Semiconductor introduced the LM107, which had the frequency compensation capacitor built into the silicon chip. The LM107 came out at the same time as the LM101A.
In 1968, Fairchild Semiconductor issued the µA748. The device had essentially the same performance characteristics as the µA741. The difference was external frequency compensation.
The first multiple op amp device was Raytheon Semiconductor's RC4558 in 1974. Characteristics of this new device are similar to the µA741 except that the latter uses NPN input transistors. Later in that same year, the LM324 quad op amp from National Semiconductor became public to the delight of manufacturing industry and hobbyist alike. It is similar in characteristics in comparison with the µA741 in speed and input current. The LM324 is especially useful for low-power consumption. The beauty of this chip, according to some engineers, is its single-power-supply requirement.

Now the snowball was rolling. The first FET input op amp was the CA3130 made by RCA. With this addition to the op-amp family, extremely low input currents were achieved. Its power can be supplied by a 5 to 15-vdc single supply system. A beautiful piece of work this CA3130.
In July 1975, National Semiconductor came out with the J-FET type LF355. This was the first device created using ion implantation in an op amp.
Texas Instruments introduced the TL084 op amp in October 1976. It is a quad JFET input op amp; it also is an ion-implant JFET. Low bias current and high speed are two of its beautiful attributes.

In dated sequence, the op-amp developed like this: 1963-µA702, 1965-µA709, 1967-LM101/LH101, 1968-µA741, 1974-RC4558/LM324, 1975-CA3130/LF355, and in 1976 the TL084... wow! Most of the mentioned op-amps have of course been replaced over time, keeping the same model number, with cleaner and low-noise types. Meaning, the silicon cutting laser in the early 60's was not of the same quality as the 70's or the 80's, etc. Other companies like RCA discontinued their semiconductor line all together.

Today, and since that month in 1976, the types of op amps have increased almost daily. We now enjoy a variety of op amps that will provide the user essentially with anything s/he needs, such as high common-mode rejection, low-input current frequency compensation, cmos, and short-circuit protection. All a designer has to do is expressing his needs and is then supplied with the correct type.




Shown in Fig.1 at the right are op-amp symbols as used today. The one on the right is an older way of drawing it but still used in books like the ARRL (American Radio Relay Leaque) and older schematics. It is common practice to omit the power supply connections as they are implied.





Absolute Maximum Parameters:
Maximum means that the op-amp can safely tolerate the maximum ratings as given in the data section of such op-amp without the possibility of destroying it. The µA741 is a high performance operational amplifier with high open loop gain, internal compensation, high common mode range and exceptional temperature stability. The µA741 is short-circuit protected and allows for nulling of the offset voltage. Manufactured by Fairchild Semiconductor.


µA741 Maximum RatingsSupply Voltage (- + Vs): The maximum voltage (positive and negative) that can be safely used to feed the op-amp.
Dissipation (Pd): The maximum power the op-amp is able to dissipate, by specified ambient temperature (500mW @ 80° C).

Differential Input Voltage (Vid): This is the maximum voltage that can be applied across the + and - inputs.

Input Voltage (Vicm): The maximum input voltage that can be simultaneously applied between both input and ground also referred to as the common-mode voltage. In general, the maximum voltage is equal to the supply voltage.

Operating Temperature (Ta): This is the ambient temperature range for which the op-amp will operate within the manufacutre's specifications. Note that the military grade version (µA741)has a wider temperature range than the commercial, or hobbyist, grade version (µA741C).

Output Short-Circuit Duration: This is the amount of time that an op-amp's ouput can be short-circuited to either supply voltage.

Summed-up Features:
  • Internal Frequency Compensation
  • Short Circuit Protection
  • Offset voltage null capability
  • Excellent temperature stability
  • High input voltage range
  • NO latch-up

    Input Parameters:
    1. Input Offset Voltage (Voi)
      This is the voltage that must be applied to one of the input pins to give a zero output voltage. Remember, for an ideal op-amp, output offset voltage is zero!

    2. Input Bias Current (Ib)
      This is the average of the currents flowing into both inputs. Ideally, the two input bias currents are equal.

    3. Input Offset Current (Ios)
      This is the difference of the two input bias currents when the output voltage is zero.

    4. Input Voltage Range (Vcm)
      The range of the common-mode input voltage (i.e. the voltage common to both inputs and ground).

    5. Input Resistance (Zi)
      The resistance 'looking-in' at either input with the remaining input grounded.

    µA741 Equivalent Circuit

    Output Parameters:
    1. Output Resistance (Zoi)
      The resistance seen 'looking into' the op-amp's output.
    2. Output Short-Circuit Current (Iosc)
      This is the maximum output current that the op-amp can deliver to a load.
    3. Output Voltage Swing (Vo max)
      Depending on what the load resistance is, this is the maximum 'peak' output voltage that the op-amp can supply without saturation or clipping.

    Dynamic Parameters:
    1. Open-Loop Voltage Gain (Aol)
      The output to input voltage ratio of the op-amp without external feedback.
    2. Large-Signal Voltage Gain
      This is the ratio of the maximum voltage swing to the charge in the input voltage required to drive the ouput from zero to a specified voltage (e.g. 10 volts).
    3. Slew Rate (SR)
      The time rate of change of the ouput voltage with the op-amp circuit having a voltage gain of unity (1.0).

    Other Parameters:
    1. Supply Current
      This is the current that the op-amp will draw from the power supply.

    2. Common-Mode Rejection Ratio (CMRR)
      A measure of the ability of the op-amp' to reject signals that are simultaneously present at both inputs. It is the ratio of the common-mode input voltage to the generated output voltage, usually expressed in decibels (dB).
    3. Channel Seperation

      Whenever there is more than one op-amp in a single package, like the 747 op-amp, a certain amount of "crosstalk" will be present. That is, a signal applied to the input of one section of a dual op-amp will produce a finite output signal in the remaining section, even though there is no input signal applied to the unused section.

    Open-Loop Gain & Frequency:


       

         Unlike the ideal op-amp (Fig. 5-1), the op-amp that is used in more realistic circuits today, does not have infinite gain and bandwidth. Look at Open-loop gain in Fig. 4 above, it is graphed for a type 741 op-amp as a function of frequency. At very low frequencies, the open-loop gain of an op-amp is constant, but starts to taper off at about 6Hz or so at a rate of -6dB/octave or -20dB/decade (an octave is a doubling in frequency, and a decade is a ten-fold increase in frequency). This decrease continues until the gain is unity, or 0 dB. The frequency at which the gain is unity is called the unity gain frequency or fT.
    Maybe the first factor in the consideration of a specific op-amp is its "gain-bandwidth product" or GBP. For the response curve of Fig. 4, the product of the open-loop gain and frequency is a constant at any point on the curve, so that:   GBP = AolBW
    Graphically, the bandwidth is the point at which the closed-loop gain curve intersects the open-loop curve, as shown in Fig. 5 for a family of closed-loop gains. For a more practical design situation, the actual design of an op-amp circuit should be approximately 1/10 to 1/20 of the open-loop gain at a given frequency. This ensures that the op-amp will function properly without distortion. As an example, using the response in Fig. 4, the closed-loop gain at 10Khz should be about 5 to 10, since the open-loop gain is 100 (40dB).
    One additional parameter is worth mentioning, the Transient Response, or rise time is the time that it takes for the output signal to go from 10% to 90% of its final value when a step-function pulse is used as an input signal, and is specified under close-loop condistions. From electronic circuit theory, the rise time is related to the bandwidth of the op-amp by the relation:   BW = 0.35 / rise time

    Open-Loop Gain:
    Lets have a look how the 'ideal' amplifier would look like. The search for an ideal amplifier is, of course, a futile exercise. The characteristics of the operational amplifier are good enough, however, to allow us to treat it as ideal. Below are some amplifier properties that make this so. (Please realize that these ratings are next to impossible to achieve).

         1. Gain--infinite
         2. Input impedance--infinite
         3. Output impedance--zero
         4. Bandwidth--infinite
         5. Voltage out--zero (when voltages into 
               each other are equal)
         6. Current entering the amp at either 
               terminal--extremely small
    Power Supply:
    In general op-amps are designed to be powered from a dual or bipolar voltage supply which is typically in the range of +5V to +15Vdc with respect to ground, and another supply voltage of -5V to -15Vdc with respect to ground, as shown in Fig. 7. Although in certain cases an op-amp, like the LM3900 and called a 'Norton Op-Amp', may be powered from a single supply voltage.

    Electrical Ratings:
    Electrical characteristics for op-amps are usually specified for a certain (given) supply voltage and ambient temperature. Also, other factors may play an important role such as certain load and/or source resistance. In general, all parameters have a typical minimum/maximum value in most cases.




    The two most common types are shown in the diagram on the right. Depending on the application, the 8-pin version is used the most, worldwide. Actually, there is a third type in the form of a metal-can but is obsolete and, by my knowledge, no longer used. I have two of these metal-can types and keep them as a 'gone-by' memory.







    Definition of 741-pin functions: (Refer to the internal 741 schematic of Fig. 3)

    Pin 1 (Offset Null):  Offset nulling, see Fig. ???. Since the op-amp is the differential type, input offset voltage must be controlled so as to minimize offset. Offset voltage is nulled by application of a voltage of opposite polarity to the ofset. An offset null-adjustment potentiometer may be used to compensate for offset voltage. The null-offset potentiometer also compensates for irregularities in the operational amplifier manufacturing process which may cause an offset. Consequently, the null potentiometer is recommended for critical applications. See 'Offset Null Adjustment' for method.

    Pin 2 (Inverted Input):  

    Pin 3 (Non-Inverted Input):  

    Pin 4 (-V):  The V- pin (also referred to as Vss) is the negative supply voltage terminal. Supply-voltage operating range for the 741 is -4.5 volts (minimum) to -18 volts (max), and it is specified for operation between -5 and -15 Vdc. The device will operate essentially the same over this range of voltages without change in timing period. Sensitivity of time interval to supply voltage change is low, typically 0.1% per volt. (Note: Do not confuse the -V with ground).

    Pin 5 (Offset Null):   See pin 1, and Fig. ???

    Pin 6 (Output):   Output signal's polarity will be the oposite of the input's when this signal is applied to the op-amp's inverting input. For example, a sine-wave at the inverting input will output a square-wave in the case of an inverting comparator circuit.

    Pin 7 (+V):  The V+ pin (also referred to as Vcc) is the positive supply voltage terminal of the 741 Op-Amp IC. Supply-voltage operating range for the 741 is +4.5 volts (minimum) to +18 volts (maximum), and it is specified for operation between +5 and + 15 Vdc. The device will operate essentially the same over this range of voltages without change in timing period. Actually, the most significant operational difference is the output drive capability, which increases for both current and voltage range as the supply voltage is increased. Sensitivity of time interval to supply voltage change is low, typically 0.1% per volt.

    Pin 8 (N/C):  The 'N/C' stands for 'Not Connected'. There is no other explanation. There is nothing connected to this pin, it is just there to make it a standard 8-pin package.

    Dual volt with two 9V batteriesExperiments:
    You are given the opportunity to play with and analyze experiments to demonstrate the principles, concepts, and applications of a couple of these basic configured op-amps.
    If you have already a dual-voltage power supply (positive/negative), that would make things alot easier for you. If not, build this Dual Volt Powersupply here to get you started. This power supply has two non-adjustable voltages; +12Vdc and -12Vdc. However, in general, a very simple and cheap power supply can be rigged up with two 9 Volt alkaline batteries and does the job in most, if not all, cases.

    Bread Board Module:
         A bread board module, or just 'breadboard', is a board manufactured of plastic with a couple 100 tiny holes with tiny sockets in them connected electrically together and in the center of the breadboard a grove to hold a plastic panel for leds, pots and switches. They measure about 6 by 2 inches and come in white and blue. The blue kind is called 'BimBoard' and made in the UK. I purchased mine back in 1980 from ElectroSonic in Toronto Canada and its still working fine.
    Radio Shack and the European Tandy are both selling their own version and they work fine too.
    The Bread Board Design System is also available, if you can afford it, and would be preferred if you intend to do a lot more experimenting in the future. This system contains everything you need already build-in, like the powersupply, jacks, switches, leds, function generator and lots more goodies. Kindah nice to have everything in one place.

    The Norton Op-Amp:
         It is not my intention to confuse you with a different type of op-amp so I will just mention a couple of points about this op-amp.
    The Norton op-amp, or current-differencing amplifier, is designed to operate from a single ended supply. Wow, that is truly fantastic. You can use a voltage anywhere from +4V to a whopping +36V! The Norton op-amp referred to here is the LM3900 and is the best known type made by National Semiconductor. This chip contains four op-amps in a single 14-pin package. The picture in Fig. 8-b below shows the symbol for the Norton op-amp. As you may notice it is somewhat different than the normal op-amp symbol. Fig. 8-c shows the major parameters of relevance between the 741 and the 3900 op-amps.

    Norton Op-AmpMajor Parameters









    The Peak Detector
    The Peak Detector The peak detector is a circuit that "remembers" the peak value of a signal. As shown in Fig. 9-a (left), when a positive voltage is fed to the noninverting input after the capacitor has been momentarily shorted (reset), the output voltage of the op-amp forward biases the diode and charges up the capacitor. This charging last until the inverting and noninverting inputs are at the same voltage, which is equal to the input voltage. When the noninverting input voltage exceeds the voltage at the inverting input, which is also the voltage across the capacitor, the capacitor will charge up to the new peak value. Consequently, the capactor voltage will always be equal to the greatest positive voltage applied to the noninverting input.
    Once charged, the time that the peak detector "remembers" this peak value is typically several minutes and depends on the impedance of the load that is connected to the circuit. Consequently, the capacitor will slowly discharge towards zero. To minimize this rate of discharge, a voltage follower can be used to buffer the detector's output from any external load, as shown in in Fig. 9-b (right). Momentarily shorting the capacitor to ground will immediately set the output to zero.

    The Comparator
    The Comparator A 'comparator' is circuit that compares an input voltage with a reference voltage. The ouput of the comparator then indicates whether the input signal is either above or below the reference voltage. As shown for the basic circuit in Fig. ??????????, the output voltage approaches the positive supply voltage when the input signal is slightly greater than the reference voltage, Vref. When the input is slightly less than the reference, the op-amp's output approaches the negative supply voltage. Consequently, the exact threshold is dominated by the op-amp's input offset voltage, which should be nulled out.

    There are many types of op-amps who are designed for a specific purpose like the Instrumentation Amplifier from Burr-Brown.(see Fig.????????) In this example we are talking about the 3660J type. It can be used in both balanced and unbalanced systems, like a Wheastone Bridge circuit.
    3660J
    Keep this in mind as a rule-of-thumb:
    An operational amplifier circuit will not work at all unless:
    1. External feedback limits the gain or desired responce to a design value.
    2. Both inputs have direct-current return path to ground of a similar reference.
    3. The input frequencies and required gain are well within the performance limitations of the op-amp used.

    Offset Null Adjustment Procedure for the µA741:
    Offset null adjustments differ with the application (e.i. Inverting or Non-Inverting Amplifier). Offset-null potentiometers are not placed on design schematics as they would detract from a design. For practice, perform the following Offset Null adjustment if you wish:




    1. Adjust the 10K pot(entio)meter to its center position.
    2. Connect the potmeter outside leads between pins 1 and 5 of the op-amp.
    Make sure that the power is applied to the design application.
    3. Connect the wiper of the potmeter to the negative supply voltage.
    4. Ensure that input signals are zero or null and that pins 2 and 3 have a dc return to ground.
    5. Measure the output with a dc meter and obtain zero null by adjusting the potentiometer.

    This just one method and is the recommended nulling procedure for the µA741 type (1968) op-amp. Always look for, and follow the particular procedure as specified by a certain chip manufacturer. Procedures may become obsolete or may be updated and changed when improved op-amps of the same type and brand come on the market.

    Planning Your Prototype or Experiment:
    Planning the layout of your experiments could be important, especially with large circuits. Use this [lay-out sheet] to plan your components layout on the bread board, if you wish.
    Remove every component and all wires from previous experiments.
    Important: Before starting to insert components into the breadboard, make sure all power and signal connections are removed and the power source disconnected. And if required, take the glue/dirt of the components' legs before inserting them into the sockets, it is very hard if not impossible to get it cleaned out.

    A couple circuit examples:
    Below are a couple circuit examples you can play and experiment with to understand the working of a 741 op-amp hands on. If you are serious about electronics I strongly recommend buying a book or two about Op-Amps for your experimenting pleasures.

    Fig. 10 - 741 Light Sensor
    This is a really nice circuit to play with. When there is NO light falling on the sensor, the relay closes. When light falls on the LDR, the relay opens. To reverse the situation just exchange LDR and R1. Example uses for this circuit: Dark-room, Automatic door-lock, closet, Shed Alarm, etc.

    Fig. 11 - Smart Continuity Tester
    Occasionally you need a continuity test between two points in an electronic circuit. Unfortunately, most continuity testers are prone to "lie". They don't do that deliberately, but if they see a small resistance, they still tell you that you have continuity. They just don't know any better. This unit is different. If you have continuity it will tell you so. And if you're reading even a low resistance through a component, the unit will tell you that as well. The unit uses two 741 op-amps. It offers a short-circuit test current of less than 200uA. It detects resistance values of less than 10 ohms. Nicest of all, it will not break down a PN junction. The device has come in handy in my own shop for debugging electronic circuits.

    Fig. 12 - 12V Battery Monitor
    The 100 Kilo-ohm trimmer pot controls the set point of this circuit to a 'high' point like 12.5 or something, so adjust it to the point you wish the LED to light up. To monitor a 'low' point, and have the led light up when the battery has drained to a certain point, connect the led (via the 330 ohm resistor) to ground (in the blue-boxed area). The led is the high-brightness or ultra-bright type for maximum visibility. The trimpot in the schematic is a 10-turn type for better accuracy, but basically any type will do.

    Light Sensor


    Smart Continuity Tester


    12V Battery Monitor

    Suggested Reading:
    "Active Filter Cookbook", by Don Lancaster, 1975, by Howard W. Sams & CO., Publisher SAMS, ISBN: 0-672-21168-8
    "CDA--The New Current Differencing Amplifier", by W.G. Jung, June 1973, Popular Electronics, pp. 61-66.
    "Design of OP-AMP Circuits With Experiments", H.M Berlin, 1987, Howard W. Sams & Co., Inc. Publisher SAMS. ISBN: 0-672-21537-3
    "IC Op-Amp Cookbook", by W.G. Jung, 1974, by Howard W. Sams & CO., Publisher SAMS
    "Introductory Experiments in Digital Electronics", by H.M.Berlin (Book 1&2), Howard W. Sams & Co., Inc. Publisher SAMS.
    "Logic & Memory Experiments using TTL Integrated Circuits", by H.M.Berlin (Book 1&2), Howard W. Sams & Co., Inc. Publisher SAMS.
    "Operational Amplifiers--Design and Applications", by G.E.Tobey, J.G.Graeme, and L.P.Huelsman, 1971. Publisher McGraw-Hill.
    "The Design of Active Filters, with Experiments", by H.M.Berlin, 1974. Howard W. Sams & Co., Inc. Publisher SAMS.
    "Understanding IC Operational Amplifiers", by R. Melen and H. Garland, 1971. Reston Publishing Co., Publisher RESTON

    The following business names, mentioned in this tutorial, are Trade Marked and protected under International Copyright Laws#660099:
    ARRL - American Radio Relay Leaque, ECG, Fairchild Semiconductor, Howard W. Sams & CO. Publishing, McGraw-Hill publishing, National Semiconductor, NTE, Philips, Raytheon Semiconductors, RCA, Reston Publishing, Texas Instruments.

    Some excerpts and graphics are used from SAMS Book "Design of Op-Amp Circuits With Experiments" written by Howard M. Berlin. Re-print with copyright permission obtained from: Pearson Education, Kiersti Kjonaas, Foreign Rights. 201 West 103rd Street Indianapolis, IN 46200-1007 -- U.S.A. Tel (317) 581-3500
    Copyright © 2001 by Tony van Roon
    Last updated: September 27, 2001