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

Info icon This 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
Image of page 1

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

View Full Document Right 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
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.
Image of page 3

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

View Full Document Right 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.
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.
Image of page 5

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

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

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern