Professional Documents
Culture Documents
Application Note 20 An Applications Guide For Op Amps: Literature Number: SNOA621B
Application Note 20 An Applications Guide For Op Amps: Literature Number: SNOA621B
National Semiconductor
Application Note 20
Re-released June 1, 2009
February 4, 1969
Introduction
The general utility of the operational amplifier is derived from
the fact that it is intended for use in a feedback loop whose
feedback properties determine the feed-forward characteristics of the amplifier and loop combination. To suit it for this
usage, the ideal operational amplifier would have infinite input
impedance, zero output impedance, infinite gain and an openloop 3 dB point at infinite frequency rolling off at 6 dB per
octave. Unfortunately, the unit costin quantitywould also be
infinite.
Intensive development of the operational amplifier, particularly in integrated form, has yielded circuits which are quite
good engineering approximations of the ideal for finite cost.
Quantity prices for the best contemporary integrated amplifiers are low compared with transistor prices of five years ago.
The low cost and high quality of these amplifiers allows the
implementation of equipment and systems functions impractical with discrete components. An example is the low frequency function generator which may use 15 to 20 operational amplifiers in generation, wave shaping, triggering and
phase-locking.
The availability of the low-cost integrated amplifier makes it
mandatory that systems and equipments engineers be familiar with operational amplifier applications. This paper will
present amplifier usages ranging from the simple unity-gain
buffer to relatively complex generator and wave shaping circuits. The general theory of operational amplifiers is not within
the scope of this paper and many excellent references are
available in the literature.1,2,3,4 The approach will be shaded
toward the practical, amplifier parameters will be discussed
as they affect circuit performance, and application restrictions
will be outlined.
The applications discussed will be arranged in order of increasing complexity in five categories: simple amplifiers, operational circuits, transducer amplifiers, wave shapers and
generators, and power supplies. The integrated amplifiers
shown in the figures are for the most part internally compensated so frequency stabilization components are not shown;
however, other amplifiers may be used to achieve greater
operating speed in many circuits as will be shown in the text.
Amplifier parameter definitions are contained in Appendix I.
6822
AN-20
682201
AN-20
has an attenuation of 6 dB, while it requires 30 pF in the noninverting unity gain connection where the feedback network
has zero attenuation. Since amplifier slew rate is dependent
on compensation, the LM101 slew rate in the inverting unity
gain connection will be twice that for the non-inverting connection and the inverting gain of ten connection will yield
eleven times the slew rate of the non-inverting unity gain connection. The compensation trade-off for a particular connection is stability versus bandwidth, larger values of compensation capacitor yield greater stability and lower bandwidth and
vice versa.
The preceding discussion of offset voltage, bias current and
stability is applicable to most amplifier applications and will be
referenced in later sections. A more complete treatment is
contained in Reference 4.
VOUT = VIN
R1 = RSOURCE
For minimum error due to input bias current
682202
R1 R2 = RSOURCE
For minimum error due to input bias current
682204
www.national.com
Differentiator
The summing amplifier, a special case of the inverting amplifier, is shown in Figure 4. The circuit gives an inverted output
which is equal to the weighted algebraic sum of all three inputs. The gain of any input of this circuit is equal to the ratio
of the appropriate input resistor to the feedback resistor, R4.
Amplifier bandwidth may be calculated as in the inverting amplifier shown in Figure 1 by assuming the input resistor to be
the parallel combination of R1, R2, and R3. Application cautions are the same as for the inverting amplifier. If an uncompensated amplifier is used, compensation is calculated on the
basis of this bandwidth as is discussed in the section describing the simple inverting amplifier.
The advantage of this circuit is that there is no interaction between inputs and operations such as summing and weighted
averaging are implemented very easily.
The differentiator is shown in Figure 6 and, as the name implies, is used to perform the mathematical operation of differentiation. The form shown is not the practical form, it is a true
differentiator and is extremely susceptible to high frequency
noise since AC gain increases at the rate of 6 dB per octave.
In addition, the feedback network of the differentiator, R1C1,
is an RC low pass filter which contributes 90 phase shift to
the loop and may cause stability problems even with an amplifier which is compensated for unity gain.
682206
R1 = R2
For minimum offset error due to input bias current
FIGURE 6. Differentiator
682205
For R1 = R3 and R2 = R4
682207
R1 R2 = R3 R4
For minimum offset error due to input bias current
www.national.com
AN-20
Summing Amplifier
AN-20
phase lag of R2C1 and prevent loop instability. A gain frequency plot is shown in Figure 8 for clarity.
682208
Integrator
The integrator is shown in Figure 9 and performs the mathematical operation of integration. This circuit is essentially a
682209
FIGURE 9. Integrator
www.national.com
AN-20
682210
682211
www.national.com
AN-20
682214
682212
Photocell Amplifiers
682215
VOUT = R1 ID
682213
VOUT = IIN R1
www.national.com
682216
VOUT = ICELL R1
682218
VIN 0V
682217
VIN 0V
682219
www.national.com
AN-20
AN-20
682222
682220
682221
www.national.com
682223
682224
www.national.com
AN-20
AN-20
682225
www.national.com
10
An amplitude-stabilized sine-wave oscillator is shown in Figure 26. This circuit provides high purity sine-wave output
down to low frequencies with minimum circuit complexity. An
important advantage of this circuit is that the traditional tungsten filament lamp amplitude regulator is eliminated along
with its time constant and linearity problems.
In addition, the reliability problems associated with a lamp are
eliminated.
The Wien Bridge oscillator is widely used and takes advantage of the fact that the phase of the voltage across the
682226
*See Text
682227
Triangle-Wave Generator
11
www.national.com
AN-20
parallel branch of a series and a parallel RC network connected in series, is the same as the phase of the applied
voltage across the two networks at one particular frequency
and that the phase lags with increasing frequency and leads
with decreasing frequency. When this networkthe Wien
Bridgeis used as a positive feedback element around an
amplifier, oscillation occurs at the frequency at which the
phase shift is zero. Additional negative feedback is provided
to set loop gain to unity at the oscillation frequency, to stabilize
the frequency of oscillation, and to reduce harmonic distortion.
AN-20
www.national.com
682228
12
AN-20
682229
The negative regulator is simply a unity-gain inverter with input resistor, R6, and feedback resistor, R7.
The amplifiers must be compensated for unity-gain operation.
The power supply may be modulated by injecting current into
the wiper of R4. In this case, the output voltage variations will
be equal and opposite at the positive and negative outputs.
The power supply voltage may be controlled by replacing D1,
D2, R1 and R2 with a variable voltage reference.
13
www.national.com
AN-20
682230
a.
682231
b.
682232
c.
FIGURE 30. Low-Power Supply for
Integrated Circuit Testing
Programming sensitivity of the positive and negative supply
is 1V/1000 of resistors R6 and R12 respectively. The output
voltage of the positive regulator may be varied from approximately +2V to +38V with respect to ground and the negative
www.national.com
14
Conclusions
The foregoing circuits are illustrative of the versatility of the
integrated operational amplifier and provide a guide to a number of useful applications. The cautions noted in each section
will show the more common pitfalls encountered in amplifier
usage.
References
Appendix I
1.
Definition of Terms
2.
3.
4.
5.
6.
15
www.national.com
AN-20
Notes
For more National Semiconductor product information and proven design tools, visit the following Web sites at:
Products
Design Support
Amplifiers
www.national.com/amplifiers
WEBENCH Tools
www.national.com/webench
Audio
www.national.com/audio
App Notes
www.national.com/appnotes
www.national.com/timing
Reference Designs
www.national.com/refdesigns
Data Converters
www.national.com/adc
Samples
www.national.com/samples
Interface
www.national.com/interface
Eval Boards
www.national.com/evalboards
LVDS
www.national.com/lvds
Packaging
www.national.com/packaging
Power Management
www.national.com/power
Green Compliance
www.national.com/quality/green
Switching Regulators
www.national.com/switchers
Distributors
www.national.com/contacts
LDOs
www.national.com/ldo
www.national.com/quality
LED Lighting
www.national.com/led
Feedback/Support
www.national.com/feedback
Voltage Reference
www.national.com/vref
www.national.com/easy
www.national.com/powerwise
Solutions
www.national.com/solutions
Mil/Aero
www.national.com/milaero
PowerWise Solutions
www.national.com/tempsensors SolarMagic
www.national.com/solarmagic
Wireless (PLL/VCO)
www.national.com/wireless
www.national.com/training
PowerWise Design
University
THE CONTENTS OF THIS DOCUMENT ARE PROVIDED IN CONNECTION WITH NATIONAL SEMICONDUCTOR CORPORATION
(NATIONAL) PRODUCTS. NATIONAL MAKES NO REPRESENTATIONS OR WARRANTIES WITH RESPECT TO THE ACCURACY
OR COMPLETENESS OF THE CONTENTS OF THIS PUBLICATION AND RESERVES THE RIGHT TO MAKE CHANGES TO
SPECIFICATIONS AND PRODUCT DESCRIPTIONS AT ANY TIME WITHOUT NOTICE. NO LICENSE, WHETHER EXPRESS,
IMPLIED, ARISING BY ESTOPPEL OR OTHERWISE, TO ANY INTELLECTUAL PROPERTY RIGHTS IS GRANTED BY THIS
DOCUMENT.
TESTING AND OTHER QUALITY CONTROLS ARE USED TO THE EXTENT NATIONAL DEEMS NECESSARY TO SUPPORT
NATIONALS PRODUCT WARRANTY. EXCEPT WHERE MANDATED BY GOVERNMENT REQUIREMENTS, TESTING OF ALL
PARAMETERS OF EACH PRODUCT IS NOT NECESSARILY PERFORMED. NATIONAL ASSUMES NO LIABILITY FOR
APPLICATIONS ASSISTANCE OR BUYER PRODUCT DESIGN. BUYERS ARE RESPONSIBLE FOR THEIR PRODUCTS AND
APPLICATIONS USING NATIONAL COMPONENTS. PRIOR TO USING OR DISTRIBUTING ANY PRODUCTS THAT INCLUDE
NATIONAL COMPONENTS, BUYERS SHOULD PROVIDE ADEQUATE DESIGN, TESTING AND OPERATING SAFEGUARDS.
EXCEPT AS PROVIDED IN NATIONALS TERMS AND CONDITIONS OF SALE FOR SUCH PRODUCTS, NATIONAL ASSUMES NO
LIABILITY WHATSOEVER, AND NATIONAL DISCLAIMS ANY EXPRESS OR IMPLIED WARRANTY RELATING TO THE SALE
AND/OR USE OF NATIONAL PRODUCTS INCLUDING LIABILITY OR WARRANTIES RELATING TO FITNESS FOR A PARTICULAR
PURPOSE, MERCHANTABILITY, OR INFRINGEMENT OF ANY PATENT, COPYRIGHT OR OTHER INTELLECTUAL PROPERTY
RIGHT.
LIFE SUPPORT POLICY
NATIONALS PRODUCTS ARE NOT AUTHORIZED FOR USE AS CRITICAL COMPONENTS IN LIFE SUPPORT DEVICES OR
SYSTEMS WITHOUT THE EXPRESS PRIOR WRITTEN APPROVAL OF THE CHIEF EXECUTIVE OFFICER AND GENERAL
COUNSEL OF NATIONAL SEMICONDUCTOR CORPORATION. As used herein:
Life support devices or systems are devices which (a) are intended for surgical implant into the body, or (b) support or sustain life and
whose failure to perform when properly used in accordance with instructions for use provided in the labeling can be reasonably expected
to result in a significant injury to the user. A critical component is any component in a life support device or system whose failure to perform
can be reasonably expected to cause the failure of the life support device or system or to affect its safety or effectiveness.
National Semiconductor and the National Semiconductor logo are registered trademarks of National Semiconductor Corporation. All other
brand or product names may be trademarks or registered trademarks of their respective holders.
AN-20
IMPORTANT NOTICE
Texas Instruments Incorporated and its subsidiaries (TI) reserve the right to make corrections, modifications, enhancements, improvements,
and other changes to its products and services at any time and to discontinue any product or service without notice. Customers should
obtain the latest relevant information before placing orders and should verify that such information is current and complete. All products are
sold subject to TIs terms and conditions of sale supplied at the time of order acknowledgment.
TI warrants performance of its hardware products to the specifications applicable at the time of sale in accordance with TIs standard
warranty. Testing and other quality control techniques are used to the extent TI deems necessary to support this warranty. Except where
mandated by government requirements, testing of all parameters of each product is not necessarily performed.
TI assumes no liability for applications assistance or customer product design. Customers are responsible for their products and
applications using TI components. To minimize the risks associated with customer products and applications, customers should provide
adequate design and operating safeguards.
TI does not warrant or represent that any license, either express or implied, is granted under any TI patent right, copyright, mask work right,
or other TI intellectual property right relating to any combination, machine, or process in which TI products or services are used. Information
published by TI regarding third-party products or services does not constitute a license from TI to use such products or services or a
warranty or endorsement thereof. Use of such information may require a license from a third party under the patents or other intellectual
property of the third party, or a license from TI under the patents or other intellectual property of TI.
Reproduction of TI information in TI data books or data sheets is permissible only if reproduction is without alteration and is accompanied
by all associated warranties, conditions, limitations, and notices. Reproduction of this information with alteration is an unfair and deceptive
business practice. TI is not responsible or liable for such altered documentation. Information of third parties may be subject to additional
restrictions.
Resale of TI products or services with statements different from or beyond the parameters stated by TI for that product or service voids all
express and any implied warranties for the associated TI product or service and is an unfair and deceptive business practice. TI is not
responsible or liable for any such statements.
TI products are not authorized for use in safety-critical applications (such as life support) where a failure of the TI product would reasonably
be expected to cause severe personal injury or death, unless officers of the parties have executed an agreement specifically governing
such use. Buyers represent that they have all necessary expertise in the safety and regulatory ramifications of their applications, and
acknowledge and agree that they are solely responsible for all legal, regulatory and safety-related requirements concerning their products
and any use of TI products in such safety-critical applications, notwithstanding any applications-related information or support that may be
provided by TI. Further, Buyers must fully indemnify TI and its representatives against any damages arising out of the use of TI products in
such safety-critical applications.
TI products are neither designed nor intended for use in military/aerospace applications or environments unless the TI products are
specifically designated by TI as military-grade or "enhanced plastic." Only products designated by TI as military-grade meet military
specifications. Buyers acknowledge and agree that any such use of TI products which TI has not designated as military-grade is solely at
the Buyer's risk, and that they are solely responsible for compliance with all legal and regulatory requirements in connection with such use.
TI products are neither designed nor intended for use in automotive applications or environments unless the specific TI products are
designated by TI as compliant with ISO/TS 16949 requirements. Buyers acknowledge and agree that, if they use any non-designated
products in automotive applications, TI will not be responsible for any failure to meet such requirements.
Following are URLs where you can obtain information on other Texas Instruments products and application solutions:
Products
Applications
Audio
www.ti.com/audio
Amplifiers
amplifier.ti.com
www.ti.com/computers
Data Converters
dataconverter.ti.com
Consumer Electronics
www.ti.com/consumer-apps
DLP Products
www.dlp.com
www.ti.com/energy
DSP
dsp.ti.com
Industrial
www.ti.com/industrial
www.ti.com/clocks
Medical
www.ti.com/medical
Interface
interface.ti.com
Security
www.ti.com/security
Logic
logic.ti.com
www.ti.com/space-avionics-defense
Power Mgmt
power.ti.com
Microcontrollers
microcontroller.ti.com
RFID
www.ti-rfid.com
www.ti.com/omap
Wireless Connectivity
www.ti.com/wirelessconnectivity
TI E2E Community Home Page
www.ti.com/video
e2e.ti.com
Mailing Address: Texas Instruments, Post Office Box 655303, Dallas, Texas 75265
Copyright 2011, Texas Instruments Incorporated