Modeling Amplifiers as Analog Filters Increases SPICE Simulation Speed

Similar documents
Operational Amplifier BME 360 Lecture Notes Ying Sun

Transmit filter designs for ADSL modems

Integrators, differentiators, and simple filters

Today s topic: frequency response. Chapter 4

Poles and Zeros of H(s), Analog Computers and Active Filters

Background (What Do Line and Load Transients Tell Us about a Power Supply?)

EE Experiment 8 Bode Plots of Frequency Response

ECEN 325 Lab 5: Operational Amplifiers Part III

CHAPTER 6 INTRODUCTION TO SYSTEM IDENTIFICATION

Op-Amp Simulation Part II

Single Supply, Rail to Rail Low Power FET-Input Op Amp AD820

Active Filter Design Techniques

OPERATIONAL AMPLIFIER PREPARED BY, PROF. CHIRAG H. RAVAL ASSISTANT PROFESSOR NIRMA UNIVRSITY

Applied Electronics II

Mini Project 3 Multi-Transistor Amplifiers. ELEC 301 University of British Columbia

Transmit filter designs for ADSL modems

LECTURE FOUR Time Domain Analysis Transient and Steady-State Response Analysis

Homework Assignment 06

Homework Assignment 11

Keywords: op amp filters, Sallen-Key filters, high pass filter, opamps, single op amp

I1 19u 5V R11 1MEG IDC Q7 Q2N3904 Q2N3904. Figure 3.1 A scaled down 741 op amp used in this lab

Single Supply, Rail to Rail Low Power FET-Input Op Amp AD820

Section 4: Operational Amplifiers

16 V, 1 MHz, CMOS Rail-to-Rail Input/Output Operational Amplifier ADA4665-2

ECE 203 LAB 2 PRACTICAL FILTER DESIGN & IMPLEMENTATION

Lecture 2 Analog circuits. IR detection

Lab 11. Speed Control of a D.C. motor. Motor Characterization

Dual operational amplifier

FSK DEMODULATOR / TONE DECODER

SECTION 7: FREQUENCY DOMAIN ANALYSIS. MAE 3401 Modeling and Simulation

CLC440 High Speed, Low Power, Voltage Feedback Op Amp

Low Distortion, Precision, Wide Bandwidth Op Amp AD9617

PowerAmp Design. PowerAmp Design PAD117A RAIL TO RAIL OPERATIONAL AMPLIFIER

Analog CMOS Interface Circuits for UMSI Chip of Environmental Monitoring Microsystem

SAR (successive-approximation-register) ADCs

[ á{tå TÄàt. Chapter Four. Time Domain Analysis of control system

ECEN 474/704 Lab 8: Two-Stage Miller Operational Amplifier

James Lunsford HW2 2/7/2017 ECEN 607

Practical Testing Techniques For Modern Control Loops

PowerAmp Design. PowerAmp Design PAD112 HIGH VOLTAGE OPERATIONAL AMPLIFIER

High Common-Mode Voltage, Programmable Gain Difference Amplifier AD628

Operational Amplifier as A Black Box

EK307 Active Filters and Steady State Frequency Response

Select the Right Operational Amplifier for your Filtering Circuits

ES250: Electrical Science. HW6: The Operational Amplifier

Assist Lecturer: Marwa Maki. Active Filters

Lesson number one. Operational Amplifier Basics

Difference between BJTs and FETs. Junction Field Effect Transistors (JFET)

High Common-Mode Voltage Difference Amplifier AD629

EPAD OPERATIONAL AMPLIFIER

Low Distortion, Precision, Wide Bandwidth Op Amp AD9617

DATASHEET HA Features. Applications. Pinout. Part Number Information. 12MHz, High Input Impedance, Operational Amplifier

Comparison of Signal Attenuation of Multiple Frequencies Between Passive and Active High-Pass Filters

Operational Amplifiers (Op Amps)

Designing low-frequency decoupling using SIMPLIS

New Technique Accurately Measures Low-Frequency Distortion To <-130 dbc Levels by Xavier Ramus, Applications Engineer, Texas Instruments Incorporated

High Common-Mode Rejection. Differential Line Receiver SSM2141 REV. B FUNCTIONAL BLOCK DIAGRAM FEATURES. High Common-Mode Rejection

POSSIBLE SUBSTITUTE PRODUCT HA-2842, HA-2544

UNIT I. Operational Amplifiers

LF411 Low Offset, Low Drift JFET Input Operational Amplifier

EC CONTROL SYSTEMS ENGINEERING

Lecture 2 Analog circuits. Seeing the light..

LM146/LM346 Programmable Quad Operational Amplifiers

1.0V Micropower, SOT23, Operational Amplifier

DATASHEET EL2045. Features. Applications. Ordering Information. Pinout. Low-Power 100MHz Gain-of-2 Stable Operational Amplifier

DC/DC Converter. Introduction

Design of a low voltage,low drop-out (LDO) voltage cmos regulator

EC kHz, 7μA, CMOS, Rail-to-Rail Operational Amplifier. General Description. Features. Applications. Pin Assignments

Chapter 5. Operational Amplifiers and Source Followers. 5.1 Operational Amplifier

Single-Supply, Rail-to-Rail, Low Power FET-Input Op Amp AD820

DUAL ULTRA MICROPOWER RAIL-TO-RAIL CMOS OPERATIONAL AMPLIFIER

IOWA STATE UNIVERSITY. EE501 Project. Fully Differential Multi-Stage Op-Amp Design. Ryan Boesch 11/12/2008

Università degli Studi di Roma Tor Vergata Dipartimento di Ingegneria Elettronica. Analogue Electronics. Paolo Colantonio A.A.

Homework Assignment 03

Boise State University Department of Electrical and Computer Engineering ECE 212L Circuit Analysis and Design Lab

PowerAmp Design. PowerAmp Design PAD20 COMPACT HIGH VOLTAGE OP AMP

LF155/LF156/LF355/LF356/LF357 JFET Input Operational Amplifiers

Input Stage Concerns. APPLICATION NOTE 656 Design Trade-Offs for Single-Supply Op Amps

An LDO Primer. Part III: A Review on PSRR and Output Noise

Low Pass Filter Rise Time vs Bandwidth

HA-2520, HA-2522, HA-2525

The University of Texas at Austin Dept. of Electrical and Computer Engineering Final Exam

Design of a High Dynamic Range CMOS Variable Gain Amplifier for Wireless Sensor Networks

Lecture 17 z-transforms 2

Unit 6 Operational Amplifiers Chapter 5 (Sedra and Smith)

EL2244, EL2444. Features. Dual/Quad Low-Power 120MHz Unity-Gain Stable Op Amp. Applications. Pinouts FN Data Sheet July 14, 2004

EE233 Autumn 2016 Electrical Engineering University of Washington. EE233 HW7 Solution. Nov. 16 th. Due Date: Nov. 23 rd

Sallen-Key_High_Pass_Filter -- Overview

Constant Current Control for DC-DC Converters

BSNL TTA Question Paper Control Systems Specialization 2007

PHYSICS 330 LAB Operational Amplifier Frequency Response

Course Outline. Time vs. Freq. Domain Analysis. Frequency Response. Amme 3500 : System Dynamics & Control. Design via Frequency Response

Experiment 1: Amplifier Characterization Spring 2019

Homework Assignment 07

Department of Electronics &Electrical Engineering

Quad Picoampere Input Current Bipolar Op Amp AD704

Solid State Devices & Circuits. 18. Advanced Techniques

Microelectronic Circuits II. Ch 9 : Feedback

Lecture 2 Analog circuits...or How to detect the Alarm beacon

Filters and Tuned Amplifiers

Transcription:

Modeling Amplifiers as Analog Filters Increases SPICE Simulation Speed By David Karpaty Introduction Simulation models for amplifiers are typically implemented with resistors, capacitors, transistors, diodes, dependent and independent sources, and other analog components. An alternative approach uses a second-order approximation of the amplifier s behavior (Laplace transform), speeding up the simulation and reducing the simulation code to as little as three lines. With high-bandwidth amplifiers, however, time-domain simulations using s-domain transfer functions can be very slow, as the simulator must first calculate the inverse transform and then convolve it with the input signal. The higher the bandwidth, the higher the sampling frequency required to determine the timedomain function. This results in increasingly difficult convolution calculations, slowing down the time-domain simulations. This article presents a further refinement, synthesizing the secondorder approximation as an analog filter rather than as an s-domain transfer function to provide much faster time-domain simulations, especially for higher bandwidth amplifiers. Second-Order Transfer Functions The second-order transfer function can be implemented using the Sallen-Key filter topology, which requires two resistors, two capacitors, and a voltage-controlled current source for an amplifier simulation model; or the multiple feedback (MFB) filter topology, which requires three resistors, two capacitors, and a voltagecontrolled current source. Both topologies should give the same results, but the Sallen-Key topology is simpler to design, while the MFB topology has better high-frequency response and might be better for programmable-gain amplifiers, as it is easier to switch in different resistor values. We can begin the process by modeling the frequency and transient response of an amplifier with the following standard form for the second-order approximation: n s + ζ n s + n Conversions to Sallen-Key and multiple feedback topologies are shown in Figure. R H LP = R C C +V S SALLEN-KEY c s c s + + Q c V IN R V S C H LP = Figure. Filter topologies. R MFB C +V S V S K c V s c s + + Q c The natural undamped frequency of the amplifier, n, is equal to the corner frequency of the filter, c, and the damping ratio of the amplifier, ζ, is equal to ½ times the reciprocal the quality factor of the filter, Q. For a two-pole filter, Q indicates the radial distance of the poles from the j-axis, with higher values of Q indicating that the poles are closer to the j-axis. With amplifiers, larger damping ratios result in lower peaking. These relationships serve as useful equivalencies between the s-domain (s = j) transfer function and the analog filter circuit. n = c ζ = Q Design Example: Gain-of- Amplifier The design consists of three major steps: first, measure the amplifier s overshoot (M p ) and settling time (t s ). Second, using these measurements, calculate the second-order approximation of the amplifier s transfer function. Third, convert the transfer function to the analog filter topology to produce the amplifier s SPICE model. 9 % INPUT PUT CH = mv, CH = mv, H = μs Figure. Gain-of- amplifier. As an example, a gain-of- amplifier will be simulated using both Sallen-Key and MFB topologies. From Figure, the overshoot (M p ) is approximately %, and the settling time to % is approximately.8 μs. The damping ratio, ζ, is calculated as M p = e ξπ ξ Rearranging terms to solve for ζ gives = ζ [ln(m p )] π + [ln(m p )] Next, calculate the natural undamped frequency in radians per second using the settling time. n = t s ζ =.6 6 For a step input, the s and s terms in the denominator of the transfer function (in radians per second) are calculated from = 7.86 n = t s ζ and ζ.67 6 Analog Dialogue 7- Back Burner, January () www.analog.com/analogdialogue

The unity-gain transfer function then becomes 7.87 s +.67 6 s + 7.87 The final transfer function for a gain-of- amplifier is obtained by multiplying the step function by : 7.87 s +.67 6 s + 7.87 = 89.7 s +.67 6 s + 7.87 The following netlist simulates the Laplace transform for the transfer function of the gain-of- amplifier. Before converting to a filter topology, it s good to run simulations to verify the Laplace transform, adjusting the bandwidth as needed by making the settling time larger or smaller. ***GAIN_OF_ TRANSFER ***.SUBCKT SECOND_ORDER E LAPLACE {V() V()} = {89.7E / (S^ +.67E6*S + 7.87E)} Figure shows the simulation results in the time domain. Figure shows the results in the frequency domain. PUT VOLTAGE (V) 6 TIME (μs) Figure. Gain-of- amplifier: time domain simulation results. The peaking in the pulse response makes it easy to maintain a constant damping ratio while varying the settling time to modify the bandwidth. This changes the angle of the complex-conjugate pole pair with respect to the real axis in an amount equal to the arccosine of the damping ratio, as shown in Figure. Decreasing the settling time increases the bandwidth; and increasing the settling time decreases the bandwidth. Peaking and gain will not be affected as long as the damping ratio is kept constant and adjustments are made only to the settling time, as shown in Figure 6. IMAGINARY AXIS....8.6.. REAL AXIS Figure. Complex conjugate pole-pair of the gain-of- transfer function. ζ =. n = n = ζ =. 6.. FREQUENCY (Rad/s) n = n = Figure 6. Bandwidth due to settling time adjustment. MULTIPLE FEEDBACK TOPOLOGY Once the transfer function matches the characteristics of the actual amplifier, it is ready to be converted to a filter topology. This example will use both Sallen-Key and MFB topologies. First, use the canonical form for the unity-gain Sallen-Key topology to convert the transfer function into resistor and capacitor values. k k k M M Figure. Gain-of- amplifier: frequency domain simulation results. R R C C (R + R ) s + s + R R C R R C C From the s-term, C can be found from (R + R ) s =.67 R R C 6 Analog Dialogue 7- Back Burner, January ()

Choose convenient resistor values, such as k, for R and R, and calculate C. (R + R ) C = s =. ζ n R R Use the relationship for the corner frequency to solve for C. c = R R C C C = R R C =.7 c The resulting netlist follows, and the Sallen-Key circuit is illustrated in Figure 7. E multiplies the step function to obtain a gain of. Ro provides an output impedance of. G is a VCCS with a gain of db. E is the differential input block. The frequency vs. gain simulation was identical to the simulation using the Laplace transform..subckt SALLEN_KEY R E R E C.7E C.E G E6 E E RO E V/V R k R k C.E-F C.7E-F G M Ro E V/V Figure 7. Simulation circuit for gain-of- amplifier using Sallen-Key filter. /S STEP Next, use the standard form for the MFB topology to convert the transfer function into resistor and capacitor values. R R C C (R + R ) s + + R R C R C s + R R C C Begin the transformation by calculating R. To do this, the transfer function can be restated in this more generic form Ka s + a s + a Set C = nf. Next, choose C such that the quantity under the radical is positive. For convenience, C was chosen as pf. Substituting the known values of C = pf, a =.67E6, K =, and a = 7.86E gives the value for R : R = R = a + ( + K) a Ca ( + K) ( + ).67E6 +.67E ( E 7.86E ( + )) = 6 R can easily be found as R /K = R / =. From the standard polynomial coefficients, solve for R. Substituting known values for a, R, and C gives R = a R C =. k Finally, to verify that the component ratios are correct, C should equal nf after substituting known values for a, R, R, gain K, and C (from the s term). C = = = nf a R R C a R R C K Now that the component values are solved, substitute back into the equations to verify that the polynomial coefficients are mathematically correct. A spreadsheet calculator is an easy way to do this. The component values shown provide practical values for use in the final SPICE model. In practice, ensure that the minimum capacitor value does not fall below pf. The netlist for the gain-of- amplifier follows and the model is shown in Figure 8. G is a VCCS (voltage-controlled current source) with an open-loop gain of db. Note that the component count is much lower than would otherwise be required with transistors, capacitors, diodes, and dependent sources..subckt MFB ***VCCS db OPEN_LOOP_GAIN*** G 7 6 E6 R 6 K C 7 6 P C N R 7.6K E E 9 7 ***PUT_IMPEDANCE RO = *** RO 9 E V/V R C nf R 6.k C pf G M Figure 8. Simulation circuit for gain-of- amplifier using MFB filter. R O E V/V PUT BUFFER Analog Dialogue 7- Back Burner, January ()

Design Example: Gain-of- Amplifier As a second example, consider the pulse response of a gain-of- amplifier without overshoot, as shown in Figure 9. The settling time is approximately 7 μs. Since there is no overshoot, the pulse response can be approximated as being critically damped, with ζ.9 (M p =.%). To find resistor and capacitor values for the unity gain Sallen- Key topology, choose R = R = k as before. Calculate the capacitor values with the same method used in the gain-of- amplifier example: (R + R ) s =. R 6 R C C = (R + R ) ζ n R R c = R R C C s = 7, R = R = k C = = R R C c Figure 9. Gain-of- amplifier with no overshoot. With no overshoot, it is convenient to maintain a constant settling time and adjust the damping ratio to simulate the correct bandwidth and peaking. Figure shows how the poles move as the damping ratio is varied while maintaining a constant settling time. Figure shows the change in frequency response. IMAGINARY AXIS n = n = ζ n = CONSTANT.......... REAL AXIS Figure. Pole locations for different damping ratios with constant setting time. n = n = The netlist follows and the Sallen-Key simulation circuit model is shown in Figure. E, a gain-of- block, is placed at the output stage along with a - output impedance. E multiplies the unity gain transfer function by. Both Laplace and Sallen-Key netlists produced identical simulations, as shown in Figure. ***AD88 PREAMPLIFIER_TRANSFER_ (GAIN = db)***.subckt AMPLIFIER_GAIN SALLEN_KEY R E R E C E C 7E G E6 E E RO E V/V R k R k C 7E-F C E-F G M R O E V/V /S STEP Figure. Simulation circuit for gain-of- amplifier using Sallen-Key filter. ζ n = CONSTANT 6.. FREQUENCY (Rad/s) Figure. Frequency response for different damping ratios with constant setting time. ***AD88 PREAMPLIFIER_TRANSFER_ (GAIN = db)***.subckt PREAMPLIFIER_GAIN_ E LAPLACE {V() V()} = {.7E / (S^ +.E6*S + 7.79E9)} k k k M Figure. Frequency domain simulation of gain-of- amplifier using Sallen-Key filter. Analog Dialogue 7- Back Burner, January ()

A similar derivation can be done using the MFB topology. The netlist follows, and the simulation model is shown in Figure. ***AD88 PREAMPLIFIER_TRANSFER_ (GAIN = db)***.subckt 88_MFB ***G = VCCS WITH db OPEN_LOOP_GAIN*** G 7 6 E6 R 99.7 R 7 9.9K 6 6.9K C N C 7 6 P EIN_STAGE ***E = PUT BUFFER*** E 9 7 ***PUT RESISTANCE = *** RO 9 R 99.7 E V/V C nf R 9.9k 6.9k C pf G M Ro E V/V PUT BUFFER Figure. Simulation circuit for gain-of- amplifier using MFB filter. Conclusion SPICE models constructed with analog components will provide much faster time-domain simulations for higher bandwidth amplifiers as compared to those of s-domain (Laplace transform) transfer functions. The Sallen-Key and MFB low-pass filter topologies provide a method for converting s-domain transfer functions into resistors, capacitors, and voltage-controlledcurrent-sources. Non-ideal operation of the MFB topology results from C and C behaving as shorts at high frequencies relative to the impedance of resistors R, R, and R. Similarly, non-ideal operation of the Sallen-Key topology results from C and C behaving as shorts at high frequencies relative to the impedance of resistors R and R. A comparison of the two topologies is shown in Figure. Existing circuits commonly used for CMRR, PSRR, offset voltage, supply current, spectral noise, input/output limiting, and other parameters can be combined with the model, as shown in Figure 6. 8 8 MULTIPLE FEEDBACK TOPOLOGY SALLEN-KEY k k M M M G G G Figure. Bode plots of Sallen-Key and MFB topologies. I SUPPLY 99 V OS I OS INPUT STAGE CMRR SECOND-ORDER FILTER TRANSFER PSRR NOISE V CC PUT LIMITING PUT LIMITING V EE Figure 6. Complete SPICE amplifier model including error terms. References Karpaty, David. Create Spice Amplifier Models Using Second- Order Approximations. Electronic Design, September,. Author David Karpaty [david.karpaty@analog.com] is a staff engineer in the Integrated Amplifier Products (IAP) group at ADI. He is responsible for product and test engineering support of precision signal processing components with a focus on automotive products. David holds a BSEE from Northeastern University and a bachelor s degree in electrical engineering technology from Wentworth Institute. Analog Dialogue 7- Back Burner, January ()