introduction to spice (version16.2) prof. shahrokh ahmadi ece002

25
Introduction to SPICE (Version16.2) Prof. Shahrokh Ahmadi ECE002

Upload: percival-long

Post on 16-Jan-2016

221 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Introduction to SPICE (Version16.2) Prof. Shahrokh Ahmadi ECE002

Introduction to SPICE(Version16.2)

Prof. Shahrokh Ahmadi

ECE002

Page 2: Introduction to SPICE (Version16.2) Prof. Shahrokh Ahmadi ECE002

What is SPICE?

• SPICE stands for Simulation Program with Integrated Circuit Emphasis

• This software is widely used for analog and digital circuit design and also for educational purposes

Page 3: Introduction to SPICE (Version16.2) Prof. Shahrokh Ahmadi ECE002

To Start the Program…Start > Cadence SPB 16.2 > Design Entry CIS

Page 4: Introduction to SPICE (Version16.2) Prof. Shahrokh Ahmadi ECE002
Page 5: Introduction to SPICE (Version16.2) Prof. Shahrokh Ahmadi ECE002

Open a New Project

Page 6: Introduction to SPICE (Version16.2) Prof. Shahrokh Ahmadi ECE002

Select a Name for your Project

Page 7: Introduction to SPICE (Version16.2) Prof. Shahrokh Ahmadi ECE002
Page 8: Introduction to SPICE (Version16.2) Prof. Shahrokh Ahmadi ECE002

The Window Looks Like This

Page 9: Introduction to SPICE (Version16.2) Prof. Shahrokh Ahmadi ECE002

Place components using this icon

Component List

Component Library

In the case that you do not see the library list, please load the library list from here

Page 10: Introduction to SPICE (Version16.2) Prof. Shahrokh Ahmadi ECE002

R/Analog = ResistorVDC/Source = DC Voltage SourceVSIN/Source = AC Voltage Source

For Wiring use this icon

Page 11: Introduction to SPICE (Version16.2) Prof. Shahrokh Ahmadi ECE002

Wiring

The Red Dot means a Node where the wiring is correct!

Page 12: Introduction to SPICE (Version16.2) Prof. Shahrokh Ahmadi ECE002
Page 13: Introduction to SPICE (Version16.2) Prof. Shahrokh Ahmadi ECE002

Setting up the Voltage Source

By Clicking on the component value you can modify the value! (if you click on the component itself, you will be able to change more properties).

Page 14: Introduction to SPICE (Version16.2) Prof. Shahrokh Ahmadi ECE002

Placing the Probes

Voltage Probe Current Probe

Page 15: Introduction to SPICE (Version16.2) Prof. Shahrokh Ahmadi ECE002

Placing the Probes

Do not forget to put the ground in your circuit!

Page 16: Introduction to SPICE (Version16.2) Prof. Shahrokh Ahmadi ECE002

Start Simulating …

Then, enter a name for your simulation…

Press this one to start…

Page 17: Introduction to SPICE (Version16.2) Prof. Shahrokh Ahmadi ECE002

Time duration of the simulation

Now, you are good to go! Press the green “play” button to start the simulation!

Page 18: Introduction to SPICE (Version16.2) Prof. Shahrokh Ahmadi ECE002

If you want to rerun the simulation and you want to change the simulation properties, you can use this icon to bring up the menu!

Page 19: Introduction to SPICE (Version16.2) Prof. Shahrokh Ahmadi ECE002

If there is something wrong the window appears like this:

Page 20: Introduction to SPICE (Version16.2) Prof. Shahrokh Ahmadi ECE002

Results of the simulation

Page 21: Introduction to SPICE (Version16.2) Prof. Shahrokh Ahmadi ECE002
Page 22: Introduction to SPICE (Version16.2) Prof. Shahrokh Ahmadi ECE002
Page 23: Introduction to SPICE (Version16.2) Prof. Shahrokh Ahmadi ECE002

Use the same procedure to simulate a Diode!

For D1N4002 diode the cutoff voltage is around ~ 0.6 Volts

Page 24: Introduction to SPICE (Version16.2) Prof. Shahrokh Ahmadi ECE002

Sin Waves

VOFFOffset voltage

FREQ=1/T

T

VAMP

Page 25: Introduction to SPICE (Version16.2) Prof. Shahrokh Ahmadi ECE002