DOC PREVIEW
Berkeley ELENG 140 - Project 1 Test Bench

This preview shows page 1 out of 2 pages.

Save
View full document
View full document
Premium Document
Do you want full access? Go Premium and unlock all 2 pages.
Access to all documents
Download any document
Ad free experience
Premium Document
Do you want full access? Go Premium and unlock all 2 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

Project 1 Test Bench Circuit Put your circuit in a file name ‘circuit.sp’ with the following structure: .param VIC = < the midpoint of your common mode range > .subckt amplifier inp inn out vddp vddn < your circuit > .ends You can change the names of the ‘inp’, ‘inn’, ‘out’, ‘vddp’ and ‘vddn’ nodes in the subcircuit statement (to match the names you choose), but not their order. Your circuit is not supposed to have any independent sources, only transistors and resistors. The supply is provided to you through the ‘vddp’ and ‘vddn’ connections (positive and negative supply respectively). ‘inp’ and ‘inn’ are the positive and negative input respectively. ‘out’ is the output. Make sure the sign of the output is right: ‘inp’ is the positive input; ‘inn’ is the negative input (switching the input nodes will fix the sign). Some of the test bench rely on feedback to get the result, and they will fail if you inverse the sign of you amplifier. You will have to submit this file through email. ( More detail in project 1 submit guideline) Tests 1. Operating point and differential mode gain for VIC = midpoint • Purpose: check specs for Adm, Psupply, VDsat, Vout = 0 for VID = 0 2. Operating point and differential mode gain for VIC = midpoint + 0.2 V. • Purpose: check common mode range • Adm must meet specs for maximum common mode input 3. Operating point and differential mode gain for VIC = midpoint – 0.2 V. • Purpose: check common mode range • Adm must meet specs for minimum common mode input 4. Operating point and differential mode gain for VDD = 1.2*1.1 V and VIC = midpoint. • Purpose: check gain variation with supply variation • Adm must meet specs.5. Operating point and differential mode gain for VDD = 1.2*0.9 V and VIC = midpoint. • Purpose: check gain variation with supply variation • Adm must meet specs. 6. Common mode gain for = midpoint. • Purpose: check Acm. 7. AC analysis (differential mode gain) at 1 Hz for Vout = 0 V. 8. AC analysis (differential mode gain) at 1 Hz for Vout = +0.4 V. • Purpose: check output range • Adm must meet specs 9. AC analysis (differential mode gain) at 1 Hz for Vout = -0.4 V. • Purpose: check output range • Adm must meet specs Tests 7-9 use a simple feedback network to set the output voltage. An AC analysis at low frequency is used instead of a TF analysis, because the feedback network is active for DC analyses (include OP,TF), but not for AC analyses. Test benches • testbench1.sp: runs tests 1-6 • testbench2.sp: runs tests 7-9 Usage: put testbench1.sp, testbench2.sp, models.sp, circuit.sp in the same directory and run ‘hspice testbench1 –o testbench1’, ‘hspice testbench2 –o testbench2’ and check the


View Full Document

Berkeley ELENG 140 - Project 1 Test Bench

Documents in this Course
Load more
Download Project 1 Test Bench
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view Project 1 Test Bench and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view Project 1 Test Bench 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?