Symbolic SPICE TM Circuit Analyzer and Approximator

Similar documents
Symbolic SPICE TM Circuit Analyzer and Approximator

EE221 Circuits II. Chapter 14 Frequency Response

EE221 Circuits II. Chapter 14 Frequency Response

The general form for the transform function of a second order filter is that of a biquadratic (or biquad to the cool kids).

ECE 202 Fall 2013 Final Exam

AC Circuits Homework Set

QUESTION BANK SUBJECT: NETWORK ANALYSIS (10ES34)

AC Circuit Analysis and Measurement Lab Assignment 8

Sophomore Physics Laboratory (PH005/105)

Berkeley. Matching Networks. Prof. Ali M. Niknejad. U.C. Berkeley Copyright c 2016 by Ali M. Niknejad

Single-Time-Constant (STC) Circuits This lecture is given as a background that will be needed to determine the frequency response of the amplifiers.

A DIFFERENT POINT OF VIEW

LECTURE 25 and MORE: Basic Ingredients of Butterworth Filtering. Objective: Design a second order low pass filter whose 3dB down point is f c,min

Bfh Ti Control F Ws 2008/2009 Lab Matlab-1

Some of the different forms of a signal, obtained by transformations, are shown in the figure. jwt e z. jwt z e

EE-202 Exam III April 10, 2008

MODULE-4 RESONANCE CIRCUITS

RLC Series Circuit. We can define effective resistances for capacitors and inductors: 1 = Capacitive reactance:

LECTURE 21: Butterworh & Chebeyshev BP Filters. Part 1: Series and Parallel RLC Circuits On NOT Again

8. Active Filters - 2. Electronic Circuits. Prof. Dr. Qiuting Huang Integrated Systems Laboratory

Second-order filters. EE 230 second-order filters 1

OPERATIONAL AMPLIFIER APPLICATIONS

Alternating Current Circuits. Home Work Solutions

Frequency Response part 2 (I&N Chap 12)

0-2 Operations with Complex Numbers

0-2 Operations with Complex Numbers

Speaker: Arthur Williams Chief Scientist Telebyte Inc. Thursday November 20 th 2008 INTRODUCTION TO ACTIVE AND PASSIVE ANALOG

Deliyannis, Theodore L. et al "Two Integrator Loop OTA-C Filters" Continuous-Time Active Filter Design Boca Raton: CRC Press LLC,1999

ECE Networks & Systems

Chapter 33. Alternating Current Circuits

Active Filters an Introduction

FEEDBACK, STABILITY and OSCILLATORS

Open Baffle w/ 2 Drivers - Acoustic Response 12/27/12. Copyright 2012 by Martin J. King. All Rights Reserved.

Solutions to Problems in Chapter 6

ECE3050 Assignment 7

Electronic Circuits EE359A

Modelling Non-Ideal Inductors in SPICE

Poles, Zeros, and Frequency Response

Expressions for f r (T ) and Q i (T ) from Mattis-Bardeen theory

Electricity and Light Pre Lab Questions

Case Study: Parallel Coupled- Line Combline Filter

Op-Amp Circuits: Part 3

Dynamic circuits: Frequency domain analysis

Physics 4B Chapter 31: Electromagnetic Oscillations and Alternating Current

Handout 11: AC circuit. AC generator

EE-202 Exam III April 13, 2015

Introduction. HFSS 3D EM Analysis S-parameter. Q3D R/L/C/G Extraction Model. magnitude [db] Frequency [GHz] S11 S21 -30

( s) N( s) ( ) The transfer function will take the form. = s = 2. giving ωo = sqrt(1/lc) = 1E7 [rad/s] ω 01 := R 1. α 1 2 L 1.

Decibel measurements

ECE 255, Frequency Response

Contents The Real Number System

Kirchhoff's Laws and Circuit Analysis (EC 2)

Copyright 2014 by Martin J. King. All Rights Reserved. Configuration : Extended Range Driver w/ Bass Driver Mounted on an Open Baffle

Open Baffle w/ 2 Drivers - Acoustic Response 12/30/14. Copyright 2014 by Martin J. King. All Rights Reserved.

Filters and Tuned Amplifiers

Alternating Current Circuits

EE40 Midterm Review Prof. Nathan Cheung

SUGGESTED LESSON PLANS FOR PHY 097 SEMESTER NOV10 Text Book : PHYSICS FOR SCIENTISTS & ENGINEERS WITH MODERN PHYSICS BY GIANCOLI, FOURTH EDITION

LAB MANUAL EXPERIMENT NO. 7

Start with the transfer function for a second-order high-pass. s 2. ω o. Q P s + ω2 o. = G o V i

Ch. 23 Electromagnetic Induction, AC Circuits, And Electrical Technologies

Electronics II. Final Examination

EE-202 Exam III April 15, 2010

Laplace Transform Analysis of Signals and Systems

Lecture 6: Impedance (frequency dependent. resistance in the s- world), Admittance (frequency. dependent conductance in the s- world), and

IMPERIAL COLLEGE OF SCIENCE, TECHNOLOGY AND MEDICINE UNIVERSITY OF LONDON DEPARTMENT OF ELECTRICAL AND ELECTRONIC ENGINEERING EXAMINATIONS 2010

1 Phasors and Alternating Currents

Homework Assignment 11

EE -213 BASIC CIRCUIT ANALYSIS LAB MANUAL

D is the voltage difference = (V + - V - ).

Signal Processing. Lecture 10: FIR Filter Design. Ahmet Taha Koru, Ph. D. Yildiz Technical University Fall

SIMON FRASER UNIVERSITY School of Engineering Science ENSC 320 Electric Circuits II. Solutions to Assignment 3 February 2005.

CHAPTER 5 ANALYSIS OF EXTRAPOLATION VOLTAGES

Algebraic substitution for electric circuits

Algebraic substitution for electric circuits

LCR Series Circuits. AC Theory. Introduction to LCR Series Circuits. Module. What you'll learn in Module 9. Module 9 Introduction

First and Second Order Circuits. Claudio Talarico, Gonzaga University Spring 2015

Sinusoidal Steady State Analysis (AC Analysis) Part I

Prefix Prefix Scaling Example EXP Name

Q. 1 Q. 25 carry one mark each.

Proofs, Strings, and Finite Automata. CS154 Chris Pollett Feb 5, 2007.

BME/ISE 3511 Bioelectronics - Test Five Review Notes Fall 2015

Electronic Circuits EE359A

The process of analysing a circuit using the Laplace technique can be broken down into a series of straightforward steps:

Analysis and Design of Differential LNAs with On-Chip Transformers in 65-nm CMOS Technology

Electronic Circuits Summary

(amperes) = (coulombs) (3.1) (seconds) Time varying current. (volts) =

MARK SCHEME for the October/November 2012 series 9702 PHYSICS

SIMON FRASER UNIVERSITY School of Engineering Science ENSC 320 Electric Circuits II. R 4 := 100 kohm

Name: (Please print clearly) Student ID: CIRCLE YOUR DIVISION INSTRUCTIONS

fiziks Institute for NET/JRF, GATE, IIT-JAM, JEST, TIFR and GRE in PHYSICAL SCIENCES

ESE319 Introduction to Microelectronics Bode Plot Review High Frequency BJT Model

6.1 Introduction

y(d) = j

R. W. Erickson. Department of Electrical, Computer, and Energy Engineering University of Colorado, Boulder

(3), where V is the peak value of the tank voltage in the LC circuit. 2 The inductor energy is: E.l= LI 2

Plumber s LCR Analogy

Lecture 14 Date:

CS 436 HCI Technology Basic Electricity/Electronics Review

Exercise s = 1. cos 60 ± j sin 60 = 0.5 ± j 3/2. = s 2 + s + 1. (s + 1)(s 2 + s + 1) T(jω) = (1 + ω2 )(1 ω 2 ) 2 + ω 2 (1 + ω 2 )

Transcription:

ymbolic PICE ymbolic PICE TM Circuit Analyzer and Approximator Application Note AN-001: eries Resonant Circuit by Gregory M. Wierzba Rev 07010

A) Introduction The schematic shown below in Fig. 1 is a series RLC circuit. This simple circuit is capable of acting as a low-pass, high-pass, band-pass and band-stop filter [1]. A Ppice input file, rlc.cir, is given in Table 1. The same file is also accepted by ymbolic PICE TM. Table 1. Ppice/ymbolic PICE Input File Figure 1. eries RLC circuit ERIE RLC CIRCUIT V 1 0 AC 1 R 1 470 L 3 1M C 3 0.01U.AC DEC 500 5K.5MEG.PROBE.END B) Numerical Program Results Running Ppice, we have the following numerical results with the element nodes indicated that create low-pass, high-pass, band-pass and band-stop filters: Figure. Low-pass response

Figure 3. High-pass response Figure 4. Band-pass response 3

Figure 5. Band-stop response C) Running ymbolic PICE Although a numerical program can show you what a circuit is capable of doing, ymbolic PICE can show you why. ymbolic PICE can also provide design equations. Running [] the same input file shown in Table 1, the following are the prompts. The user responses are shown in bold: ymbolic PICE - Circuit Analyzer and Approximator Demo Version 3.1 (C) Copyright 010 by Willow Electronics, Inc. INPUT FILE NAME [.cir] : rlc OUTPUT FILENAME [rlc.det] : (hit enter) Determinant string sorted according to orders of some variable? (y/n) : n Numerical evaluation of the results? (y/n) : y Discard terms if their magnitude falls below a threshold? (y/n) : n Check and solve for second order filter functions? (y/n) : y FILTER FUNCTION FILE NAME [rlc.fun] : (hit enter) olve for a variable or expression? (y/n) : y Available Unknowns: 4

V1 V V3 V5 *Ignore nodes 4 and higher if present. They are used for internal numbering. Valid Operators: +, -, *, /, ( ), { }, [ ] Equation: v3 olve for another variable or expression? (y/n) : y Equation: v(,3) olve for another variable or expression? (y/n) : y Equation: v(1,) olve for another variable or expression? (y/n) : y Equation: v() olve for another variable or expression? (y/n) : n D) ymbolic PICE Determinant Output The output file rlc.det listed in Table is the matrix written by ymbolic PICE and the transfer functions requested. The program formulates this matrix by using admittances [3]. For example, the resistance R is modeled as a conductance G with a value of 1/470.176 É, the capacitance C is modeled as an admittance sc with a value of (0.01:)s and the inductance L is modeled as an admittance 1/(sL ) with a value of 1/[(1m)s] where s is the Laplace operator. All symbols are echoed as uppercase letters except for the Laplace operator. ERIE RLC CIRCUIT Table. ymbolic PICE Output File rlc.det [0 ] [-G G-1 0 1 ][V1 ] [0 ][0 -sl sc+1 sl-1 ][V ] [1 ] [1 0 0 0 ][V3 ] [0 ] [0 sl+1-1 -sl ][V5 ] *Ignore nodes 4 and higher if present. They are used for internal numbering. Numerator of: v3 s**0 terms: + G + 0.001766 * s**0 5

Denominator of: v3 s** terms: + sl*sc*g s**1 terms: + sc s**0 terms: + G +.1766e-014 * s** + 1e-008 * s**1 + 0.001766 * s**0 Numerator of: v(,3) s** terms: + sl*sc*g +.1766e-014 * s** Denominator of: v(,3) s** terms: + sl*sc*g s**1 terms: + sc s**0 terms: + G +.1766e-014 * s** + 1e-008 * s**1 + 0.001766 * s**0 6

Numerator of: v(1,) s**1 terms: + sc + 1e-008 * s**1 Denominator of: v(1,) s** terms: + sl*sc*g s**1 terms: + sc s**0 terms: + G +.1766e-014 * s** + 1e-008 * s**1 + 0.001766 * s**0 Numerator of: v() s** terms: + sl*sc*g s**0 terms: + G +.1766e-014 * s** + 0.001766 * s**0 7

Denominator of: v() s** terms: + sl*sc*g s**1 terms: + sc s**0 terms: + G +.1766e-014 * s** + 1e-008 * s**1 + 0.001766 * s**0 ymbolic PICE s format is a collection of strings of symbols sorted by the (default) Laplace operator s. This is usually not how most people view equations, so you may need to do some minor editing. For example, the last transfer function v() is actually V / V V / V 1 V since V 1 1. Thus we have 1 V V sl sc G sc G s L C G sc G s s LG LC s + slscg + G s LCG + G LC 1 + + + + 1 1 + + 1 s + LC R 1 s + s + L L C Likewise for the numerical results, 1 14 V.1766e s + 0.001766 s + 100G V 14 8.1766e s + 1e s+ 0.001766 s + 470k s+ 100G E) ymbolic PICE Filter Function Output ymbolic PICE will examine any transfer function to determine if its denominator is second order in the Laplace operator s. If this is the case then it finds the parameters associated with the different filter functions. ymbolic PICE finds formulas for Q o, T o and H i where some of the various cases of i are listed on the following page: 8

Low-pass filter T lp s Hlp ωo ω o + s + ω Q o o High-pass filter T hp s Hhp s ω s Q + o + ωo o Band-pass filter T bp s H ωο s Qo ω bp o + s + ω o Q o Band-stop filter T bs z Hbs ( s + ω ) ω s s Q + o + ωo o The output file rlc.fun listed in Table 3 contains the filter parameters solved for by ymbolic PICE. Table 3. ymbolic PICE Output File rlc.fun ERIE RLC CIRCUIT ECOND ORDER FILTER PARAMETER: Qo is: ( + G)*QRT{ + L} ------------------- QRT{ + C} 0.6785 Wo** is: ( + 1) -------- ( + L*C) 9

fo 5039.Hz **************************************** There exists a LOW PA filter for : v3 LOW PA GAIN (Hlp) is: ( + 1) -------- + 1 1 **************************************** There exists a HIGH PA filter for : v(,3) HIGH PA GAIN (Hhp) is: ( + 1) -------- + 1 1 **************************************** There exists a BAND PA filter for : v(1,) BAND PA GAIN (Hbp) is: ( + 1) -------- + 1 1 **************************************** There exists a BAND TOP filter for : v() BAND TOP GAIN (Hbs) is: ( + 1) -------- + 1 1 BAND TOP FREQUENCY (Wz**) is: ( + 1) -------- ( + L*C) fz 5039.Hz **************************************** 10

F) Comparison of Results From Fig. 5, we can read the numerical value of f o f z 50.31k Hz. The exact value of f o is 50.39k Hz. This is a difference of 0.195% which is approximately the default accuracy of Ppice. Likewise we can calculate the numerical value of Q o from the data [1] in Fig. 5 where Q o f o /(-3dB bandwidth) 50.31k / (100.75k - 5.317k) 0.6701. The exact value is 0.6785. This is a difference of 0.40%. Besides the numerical results, we now have the formulas for f o f z ( π ) 1 LC and L 1 L Qo G C R C To turn these formulas into a design procedure[1]: Pick L tandard inductor value then C 1 ( o) π f L and R 1 L Q C o G) Conclusion ymbolic PICE can be used to analyze passive filters. ymbolic PICE can recognize second order transfer functions in the Laplace operator s. It can also determine the filter type such as low-pass, high-pass, band-pass and band-stop and then solve for the filter parameters T o, Q o and H i. 11

H) References [1] G. M. Wierzba, ECE 0: Electric Circuits and ystems II - Class Notes, Ch.1, pp. 6-4.This e-book is available at http://stores.lulu.com/willowepublishing [] G. M. Wierzba, ymbolic PICE User Manual, p. 6. This e-book is available at http://stores.lulu.com/willowepublishing [3] G. M. Wierzba, ymbolic PICE User Manual, p. 7-8. 1