9
 1 NUST School of Electrical Engineering and Computer Science (Department of Electrical Engineering)  Department of Electrical Engineering Faculty Member:____________________ Dated: ________________ Semester:_____________ Section: ________________ EE221: Electronics - II Lab No 2 : I ntroduction to PSpice Name Reg. no. Report Marks / 10 Viva Marks / 5 Total/15

Lab No 02 Elect II Intro to PSpice EE221 for BEE2C BICSE8

Embed Size (px)

Citation preview

Page 1: Lab No 02 Elect II Intro to PSpice EE221 for BEE2C BICSE8

8/2/2019 Lab No 02 Elect II Intro to PSpice EE221 for BEE2C BICSE8

http://slidepdf.com/reader/full/lab-no-02-elect-ii-intro-to-pspice-ee221-for-bee2c-bicse8 1/9

 

1

NUST School of Electrical Engineering and Computer Science

(Department of Electrical Engineering) 

Department of Electrical Engineering 

Faculty Member:____________________ Dated: ________________ 

Semester:_____________ Section: ________________ 

EE221: Electronics - II

Lab No 2 : Introduction to PSpice

Name Reg. no. Report Marks / 10 Viva Marks / 5 Total/15

Page 2: Lab No 02 Elect II Intro to PSpice EE221 for BEE2C BICSE8

8/2/2019 Lab No 02 Elect II Intro to PSpice EE221 for BEE2C BICSE8

http://slidepdf.com/reader/full/lab-no-02-elect-ii-intro-to-pspice-ee221-for-bee2c-bicse8 2/9

 

2

Lab No 2 : Introduction to PSpice

Objective: PSpice is a simulation software that runs on personal computers. It can be usedto design and analyze almost all manner of complicated electronic circuits. The purpose of this

lab assignment is to familiarize students with the use of PSpice.

To start: After installation, your Program folder should contain the PSpice software. So,

select Start >Programs > Orcad Family Release 9.2 Lite Edition > Capture Lite Edition . This

will launch the Capture application. 

Your screen should appear as in Figure 1

FIGURE 1

Designing a simple circuit:

1. Now, to begin, you must create a new Project. Begin by selecting the File > New> Project menu.

Page 3: Lab No 02 Elect II Intro to PSpice EE221 for BEE2C BICSE8

8/2/2019 Lab No 02 Elect II Intro to PSpice EE221 for BEE2C BICSE8

http://slidepdf.com/reader/full/lab-no-02-elect-ii-intro-to-pspice-ee221-for-bee2c-bicse8 3/9

 

3

2. You should now configure the application so that an Analog or Mixed A/D (analogor mixed analog and digital design) is selected. Please note carefully that theAnalog or Mixed A/D checkbox has been highlighted in Figure 2. Name yourproject and directory you want it to be saved to and click OK.

FIGURE 2

3. Now, upon confirming your selection by clicking on the OK button, another choicewill appear. This prompts you as to whether you would like to create a new Projectbased on a previous Project. For this case, select Create a blank project 

4. Now, this will bring up the Capture schematic graphics window, as in Figure 5.This will now allow you to actually draw a circuit with electronic components that

can be individually adjusted for their properties. We are ready to begin designing.5. First, the Ground potential reference point is a circuit node or in the Place menu.

We want to “Place” this node in our circuit. So, you may reach this by pointing tothe Place menu.

6. Now, click on Ground, and you will see the Ground dialog box. Click on the AddLibrary button and select the „source‟ library from the PSpice folder. After returningto the dialog box you should see the Libraries highlighted as shown. Now, selectthe 0/Source selection as in Figure 3.

7. Then, click on OK and you will now find that there is a Ground symbol attached toyour mouse Cursor. Place this by clicking with the left mouse button. Then, clickwith the right mouse button. If you are not careful here, you will accidentally create

Page 4: Lab No 02 Elect II Intro to PSpice EE221 for BEE2C BICSE8

8/2/2019 Lab No 02 Elect II Intro to PSpice EE221 for BEE2C BICSE8

http://slidepdf.com/reader/full/lab-no-02-elect-ii-intro-to-pspice-ee221-for-bee2c-bicse8 4/9

 

4

two ground terminals (one will have to be deleted by right clicking on the part anddeleting it).

FIGURE 3

8. Now, we will add a conductor (Wire) to our circuit. Again, proceed to the Placemenu, select Wire, and this will now create a drawing tool. You may create thewire by placing the mouse cursor on the terminal at the top of the Ground symboland then holding down the left mouse button while dragging the mouse cursorupwards (as you can see this is the standard Windows drawing paradigm so this

will be familiar to you.)

9. Now, we must start to add Resistor and Source components. To obtain and“Place” these parts we again navigate to the Place menu. But, this time, click onPart. This will bring up a Place Part dialog box. At this stage, we need to addParts Libraries to our list of choices. You will need to perform this only once, in thefuture, the Libraries will appear by default. Click on Add Libraries and select all thelibraries listed in the PSpice folder.

10. Now, we can add a Resistor to our circuit. Click on Place > Part and then whenthe Place Part dialog box appears, highlight the ANALOG library in the Librariesbox. This will bring up a list of parts in the Part List box. Now, scroll down to R and

click on this.

11. Click the OK button to select this and then you are ready to Place this part.Proceed to place this part as shown in Figure 4.

Page 5: Lab No 02 Elect II Intro to PSpice EE221 for BEE2C BICSE8

8/2/2019 Lab No 02 Elect II Intro to PSpice EE221 for BEE2C BICSE8

http://slidepdf.com/reader/full/lab-no-02-elect-ii-intro-to-pspice-ee221-for-bee2c-bicse8 5/9

 

5

FIGURE 4

12.To place a power source, follow the same steps as above, but remember tosearch for VDC in the Parts dialog box. 

13.To change the value of a part, double click on the number representing the value,and enter the required magnitude in the value field. 

14.Draw the circuit show in Figure 5 in PSpice. 

15.Now, with our circuit complete, we are ready to start a Simulation. First, we mustconfigure the Simulation tool. Proceed to the PSpice menu and click on NewSimulation Profile 

FIGURE 5

16.Name your simulation and leave the „inherit from‟ field to none. When ready clickCreate. This will bring up the Simulation Settings Dialog Box.

Page 6: Lab No 02 Elect II Intro to PSpice EE221 for BEE2C BICSE8

8/2/2019 Lab No 02 Elect II Intro to PSpice EE221 for BEE2C BICSE8

http://slidepdf.com/reader/full/lab-no-02-elect-ii-intro-to-pspice-ee221-for-bee2c-bicse8 6/9

 

6

17.Now, the Analysis type we must select is Bias Point. You can reach this byscrolling through the Analysis type selections and clicking on Bias Point. We donot need to select any of the Output File Options, so simply click on OK. SeeFigure 6 

18.Now, start the Simulation by clicking on PSpice > Run or simply click the Playbutton in the tool bar

FIGURE 6

19. To check the bias currents click on the I button in the tool bar. For Power dissipation clickon W. 

Page 7: Lab No 02 Elect II Intro to PSpice EE221 for BEE2C BICSE8

8/2/2019 Lab No 02 Elect II Intro to PSpice EE221 for BEE2C BICSE8

http://slidepdf.com/reader/full/lab-no-02-elect-ii-intro-to-pspice-ee221-for-bee2c-bicse8 7/9

 

7

 APPENDIX I 

Saving Your Simulation:

Most users have problems while saving their files at their desired places and some careless users evensave their files openly on desktop which creates a lot of mess not only at the desktop but for the person

trying to find the required file and screenshot. To save your file please follow the following steps:

1.  Create a folder by the name of ‘’Group<#> – Lab Exercise <#>’’. Here replace ‘Group #’ with your

group number and same goes for the lab exercise that you are performing.

2.  Now open the directory where PSpice is installed or go Start Menu to find its shortcut. You need to

select OrCad lite edition from the list of icons. It is the main program that generates the object file

for our simulation which is later used by other programs to perform their respective functions.

3.  After opening the setup a window resembling figure A would open up. All you need to do is press

‘open new file’ icon on the top left of the window or go into the file menu and scroll down to newand then select project.

>>> File Menu >>> New >>> Project

Figure A

Page 8: Lab No 02 Elect II Intro to PSpice EE221 for BEE2C BICSE8

8/2/2019 Lab No 02 Elect II Intro to PSpice EE221 for BEE2C BICSE8

http://slidepdf.com/reader/full/lab-no-02-elect-ii-intro-to-pspice-ee221-for-bee2c-bicse8 8/9

 

8

Now the following window would appear: 

Figure-B

Now select browse and go to desktop to select the folder you have created in step 1. This would make

sure that all your files are saved in that folder. Moreover you should name your file ‘Lab Exercise #’. No

need to put your group name here because your folder already contains your group name. Also do not

forget to select the type of project you would want to be creating. Choose as shown in figure 4 below:

Figure C

4.  Now pay close attention to the figure on the following page. It is of prime importance that you note

down the encircled parts as they will make your work easy to do and more efficient.

Page 9: Lab No 02 Elect II Intro to PSpice EE221 for BEE2C BICSE8

8/2/2019 Lab No 02 Elect II Intro to PSpice EE221 for BEE2C BICSE8

http://slidepdf.com/reader/full/lab-no-02-elect-ii-intro-to-pspice-ee221-for-bee2c-bicse8 9/9