intro to spice

intro to spice - Introduction to SPICE ECSE 330...

Info iconThis preview shows pages 1–6. Sign up to view the full content.

View Full Document Right Arrow Icon
Introduction to SPICE ECSE 330 Introduction to Electronics Department of Electrical and Computer Engineering McGill University
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
ECSE330 Introduction to Electronics (Winter 2008) Introduction to SPICE 2 SPICE ± SPICE ( S imulation P rogram with I ntegrated C ircuits E mphasis!): ² Circuit simulation program. ² Provides detailed analysis of circuits containing lumped components (R, L, C) and active components (diodes, FETs, BJTs). ± PC Version: ² Pspice A/D (part of Orcad 10.0) ² Available on the machines on the 4 th and 5 th floor of the Trottier. ² You can download PSPICE 9.1 (student edition) it from the following link at your own risk: http://electronics-lab.com/downloads/schematic/013/ ± Resources: ² “Spice for Microelectronics” by Roberts and Sedra, 2 nd edition. ² Interactive User Guide from http://bwrc.eecs.berkeley.edu/Classes/IcBook/SPICE
Background image of page 2
ECSE330 Introduction to Electronics (Winter 2008) Introduction to SPICE 3 PSpice A/D ± Models the behavior of a circuit containing any mix of analog and digital devices. ± Basic analyses: ² DC analysis: DC sweep, bias point, DC sensitivity, small- signal DC gain, and input and output resistances. ² AC analysis: small-signal response over a range of frequencies and noise. ² Transient analysis: time-domain response and Fourier analysis.
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
ECSE330 Introduction to Electronics (Winter 2008) Introduction to SPICE 4 Spice Input File (Deck) ± Suggested input format: Title Statement Title statement is always on the first line. ****Comment Comment always begins with an asterisk (*). Circuit Description Power Supplies / Sources Element Description Model Statements Analysis Requests Output Requests .END The last line must end with an .END. ± Additional Notes: ² Order is not important, except the first and last lines. ² NOT case sensitive. ² Words can be separated by an arbitrary number of spaces. Elements must be uniquely labeled (up to 8 characters, 1st character identifies the type of the element). Connections are represented by nodes, which are usually numbered. Node “0” means ground.
Background image of page 4
ECSE330 Introduction to Electronics (Winter 2008) Introduction to SPICE 5 Input File Example Low pass filter ** Circuit Description ** * Power supply Vin 1 0 PWL(0s, 0V,1ms,0V, + 1.0001ms, 1V) * Elements description R1 1 2 1Kohm C1 2 0 1uF *Analysis request .OP .Tran 0.1ms 5ms .end Positive Terminal (n+) Negative Terminal (n-) Title .END command Node 2 R 1 Vin + - C 1 Node 1 Ground = Node 0 The “+” sign means that the previous command is continued on this line.
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 6
This is the end of the preview. Sign up to access the rest of the document.

This document was uploaded on 02/09/2012.

Page1 / 23

intro to spice - Introduction to SPICE ECSE 330...

This preview shows document pages 1 - 6. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online