Simulation Manager for OrCAD PSpice Dalibor Biolek 1,2, Jaroslav Kadlec 1 1,2 Faculty of EE and Communications, Dept. of Microelectronics Brno University.

Slides:



Advertisements
Similar presentations
Controller Tests Stephen Kaye Controller Test Motivation Testing the controller before the next generation helps to shake out any remaining.
Advertisements

MTA ETA. Product Description A real-time simulation system that estimates the expected time that it will take a certain bus to arrive at an end- users.
(Semi) symbolic computer analysis of continuous-time and switched linear systems Dalibor Biolek, Dept. of Microelectronics, FEEC Brno University of Technology,
Dalibor Biolek, TU and MA Brno, Czech Republic Computer supported analysis of linear systems.
1 LHCb CALO commissioning meeting Anatoli Konoplyannikov /ITEP/ Proposal of the ECAL CW base modification + Anatoli, Michail ( Michail Soldatov.
APPENDIX B SPICE DEVICE MODELS AND DESIGN SIMULATION EXAMPLES USING PSPICE AND MULTISIM Microelectronic Circuits, Sixth Edition Sedra/Smith.
Using Spice in Lab Practicing for Analog ASIC Design Goran Jovanović, Faculty of Electronic Engineering University of Niš Serbia and Montenegro.
ORCAD P-spice SPICE is a circuit simulation program-industry standard You create a circuit different circuit editors Then you simulate it! Gives you currents,
Module F: Simulation. Introduction What: Simulation Where: To duplicate the features, appearance, and characteristics of a real system Why: To estimate.
Wien-Bridge Oscillator Circuits. Why Look At the Wien-Bridge? It generates an oscillatory output signal without having any input source.
Introduction to the OP AMP
ECE201 Lect-111 Nodal and Loop Analysis cont’d (8.8) Dr. Holbert March 1, 2006.
EE 2303 Week 2 EE 2303 Week 2. Overview Kirchoff’s Current Law (KCL) Kirchoff’s Voltage Law (KVL) Introduction to P-spice.
BY CHRIS ANDERSON Creating a MIDI Generator Program.
Design of a Control Workstation for Controller Algorithm Testing Aaron Mahaffey Dave Tastsides Dr. Dempsey.
Thermo-Cooler Controller Kiefer, Mary, Molly, Sam.
SE 207: Modeling and Simulation Lab # 2:Basic Operations of the Analog Computers.
Outline Chapter 1 Hardware, Software, Programming, Web surfing, … Chapter Goals –Describe the layers of a computer system –Describe the concept.
Project 3 Build an Astable Multivibrator
MTA ETA. Product Description A real-time simulation system that estimates the expected time that it will take a certain bus to arrive at an end- user’s.
A Crowd Simulation Using Individual- Knowledge-Merge based Path Construction and Smoothed Particle Hydrodynamics Weerawat Tantisiriwat, Arisara Sumleeon.
1 FET FREQUENCY RESPONSE LOW FREQUENCY. 2 LOW FREQUENCY – COMMON SOURCE.
Analysis and Design of Power Electronic Circuits using Orcad
Teaching linear circuit analysis effectively D. Biolek, V. Biolkova & K. Vrba Brno University of Technology Czech Republic.
Differential Amplifiers: Second Stage Dr. Paul Hasler.
Computerized Train Control System by: Shawn Lord Christian Thompson.
EE 350 / ECE 490 ANALOG COMMUNICATION SYSTEMS 2/23/2010 R. Munden - Fairfield University 1.
The George Washington University School of Engineering and Applied Science Department of Electrical and Computer Engineering Circuit Design Verification.
1 Web Based Interface for Numerical Simulations of Nonlinear Evolution Equations Ryan N. Foster & Thiab Taha Department of Computer Science The University.
Oscillators with LC Feedback Circuits. LC Feedback elements are used for the generation of higher frequencies of oscillation. Because of lower unity gain.
Modeling of the Memristor in SPICE Introduction In 1971, professor Chua predicted the existence of the fourth circuit element – memristor [3]. The memristor.
Voltage Divider Bias ENGI 242 ELEC February 2005ENGI 242/ELEC 2222 BJT Biasing 3 For the Voltage Divider Bias Configurations Draw Equivalent Input.
How to Teach the Analysis of Electrical Circuits at Technical Universities Dalibor Biolek University of Defence Brno and Brno University of Technology.
EE 211 Lecture 4 T. H. Ortmeyer Spring This week’s labs Grounding Lab Labview Tutorial.
Electronic Circuits Laboratory EE462G Simulation Lab #9 The BJT Differential Amplifier.
3V CMOS Rail to Rail Op-Amp
LabVIEW and MatLab E80 Teaching Team February 5, 2008.
Microelectronic Circuits, Sixth Edition Sedra/Smith Copyright © 2010 by Oxford University Press, Inc. Figure B.50 Input–output voltage transfer characteristic.
Voltage Divider Bias ELEC 121. January 2004ELEC 1212 BJT Biasing 3 For the Voltage Divider Bias Configurations Draw Equivalent Input circuit Draw Equivalent.
Measuring of the time consumption of the WLAN’s security functions Jaroslav Kadlec, Radek Kuchta, Radimír Vrba Dept. of Microelectronics.
BJT Transistors and Characteristics ELEC 121. January 2004ELEC 1212 Introduction to BJT’s BJT Specification Sheets BJT Characteristic Family of Curves.
Basic Concepts in VHDL Instructors: Fu-Chiung Cheng ( 鄭福炯 ) Associate Professor Computer Science & Engineering Tatung University.
Jaroslav Šnajberk, Tomáš Potužák, Richard Lipka Department of Computer Science and Engineering Faculty of Applied Sciences University of West Bohemia,
Minimum Energy Sub-Threshold CMOS Operation Given Yield Constraints Max Dreo Vincent Luu Julian Warchall.
PSPICE – Windows Version
Virtual Reality Environment in C3I Systems Jan Hodicky, Petr Frantis Communication and Information Systems Departement University of Defense, Brno Czech.
HW #5 7.10, 7.21, 7.71, 7.88 Due Tuesday March 3, 2005.
Virtual Tutor Application v1.0 Ruth Agada Dr. Jie Yan Bowie State University Computer Science Department.
Using PSpice to check your calculations BJTs. Example.
Transient Response. Transient Analysis Plot of the voltages or currents as a function of time. – Output plot mimics the oscilloscope display. If simulating.
P RESENTATION ON MONOLITHIC MICROWAVE INTEGRATED CIRCUITS PASSIVE COMPONENTS SUBMITTED BY:- AJAY KAUSHIK(088/ECE/09 ) NAMAN KUMAR(082/ECE/09 )
MTA ETA. Product Description A real-time simulation system that estimates the expected time that it will take a certain bus to arrive at an end- user’s.
UOP ECT 246 All iLabs (Week 1 to Week 7) Check this A+ tutorial guideline at For more classes.
UOP ECT 246 Week 6 iLab Filters and Oscillators Check this A+ tutorial guideline at
INSTITUTE & TECHNOLOGY
Introduction to PSPICE
Microelectronic Circuits Chapter 9. Operational Amplifiers
Exercise 1 In Fig. 1, run the analysis, and verify that the overall voltage gain Av=V0/Vs=-25.74, input resistance at VS = 15.44K, output resistance at.
The open loop gain of this op-amp is 105 and the bandwidth is 10 Hz
10 MHz amplifier status G. Favia
Microelectronic Circuits Chapter 9. Operational Amplifiers
Project 3 Build an Astable Multivibrator
Op Amp Specs and Test Benches
Project 3 Build an Astable Multivibrator
OS Sim (Operating System Concepts Simulator)
Introduction to Small Signal Model
Using PSpice to check your calculations
Type Topic in here! Created by Educational Technology Network
10k 20k Vin Vout H3 What is the gain?
Presentation transcript:

Simulation Manager for OrCAD PSpice Dalibor Biolek 1,2, Jaroslav Kadlec 1 1,2 Faculty of EE and Communications, Dept. of Microelectronics Brno University of Technology, Czech Republic 1 Faculty of Military Technologies, Dept. of EE University of Defence, Brno, Czech Republic

Outline Why PSiM (PSpice Simulation Manager) PSiM Conception PSiM Features Demonstrations Conclusions

Why PSiM OrCAD PSpice limitations: ICL (Interactive Command Language) is not implemented No possibility to work in so-called sequential mode Results of the analysis cannot be input data of the following analysis user

PSiM Conception SIM user

PSiM Conception

PSiM Features The PSiM reads the MCF step-by-step, starting from the first line. The programming language of the PSiM should support mathematical computations. The ECIRs of the circuits being analyzed can appear in the MCF. The PCIR can be modified prior to its generation by the PSiM. The PSiM is able to process the results of executed simulations. All the files generated from all executed simulation runs should be available. The PSiM manages commands for program loops and chaining.

PSiM Demonstrations Optimization of transistor amplifier Rc design in order to set voltage gain to 10 on a frequency of 1kHz Preliminary PSpice analysis: The gain is approximately 9.

PSiM Demonstrations Optimization of transistor amplifier 1: *transistor amplifier 2: set Rc 1.9k gain 1 3: while (gain)<=10 4: assemblycir run.cir 5:*beginspice 6: Vbat bat 0 12V 7: Q c b e Q2N2222 8: Rc bat c #$Rc$ 9: Re e : Rb1 bat b 180k 11: Rb2 b 0 33k 12: Cv in b 10u 13: Vin in 0 AC 1 14:.lib 15: *endspice 16: genFpoint AMPLI 1k {v([c])} 17: endassembly 18: getFpoint AMPLI gain 1 19: set Rc Rc+20 20: endwhile The analysis runs 11 times. Two last results (Rc, gain): 2100 Ohms, Ohms, 10.09

PSiM Demonstrations AC analysis of SH circuit =0

PSiM Demonstrations AC analysis of SH circuit =0 For k=1..2 *computing coefficients bk circuit model in phase k, vin=1V, zero initial conditions TRANSIENT analysis, Tmax =Tk reading the state variable and saving it to the variable bk *computing coefficients ak circuit model in phase k, vin=0V, zero initial conditions the state variable v = 1 TRANSIENT analysis, Tmax=Tk reading the state variable and saving it to the variable ak end Algorithm of the MCF:

PSiM Demonstrations AC analysis of SH circuit =0 Compiling the z-domain equations via behavioral modeling (E-sources) Solving equations via.AC analysis PROBE demonstration of frequency responses Algorithm of the MCF:

PSiM Demonstrations AC analysis of SH circuit 1:*AC analysis of Sample-Hold circuit 2:set Ron 5k fs 100k T1 0.1/fs T2 1/fs-T1 3:beginnet SH1 4:Ron 1 2 #$Ron$ 5:Rs m 6:C 3 0 1n 7:Rz k 8:endnet 9:beginnet SH2 10:Rs m 11:C 3 0 1n 12:Rz k 13:endnet 14:defsim tran1.TRAN 0 #$T1$ 0 #$T1/100$ skipbp 15:defsim tran2.TRAN 0 #$T2$ 0 #$T2/100$ skipbp 16:defsim AC.AC dec #$fs*2$ 17:assemblycir run1.cir 18:Vin 1 0 1V 19:use SH1 20:runsim tran1 21:endassembly

PSiM Demonstrations AC analysis of SH circuit 22:getprobe b tran1 V(3) #$T1$ 23:assemblycir run2.cir 24:Vin 1 0 0V 25:use SH1 26:.IC V(3) 1V 27:runsim tran1 28:endassembly 29:getprobe a1 tran1 V(3) #$T1$ 30:assemblycir run3.cir 31:use SH2 32:.IC V(3) 1V 33:runsim tran2 34:endassembly 35:getprobe a2 tran2 V(3) #$T2$ 36:assemblycir run4.cir 37:Vin 1 0 AC 1 38:Ec1 c1 x LAPLACE {V(c2)} {#$a1$*exp(-s*#$T1$)} 39:Ex x 0 value={V(1)*#$b$} 40:Ec2 c2 0 LAPLACE {V(c1)} {#$a2$*exp(-s*#$T2$)} 41:runsim AC/nocsdf 42:endassembly

PSiM Demonstrations AC analysis of SH circuit Frequency responses Frequency 100Hz10KHz10Hz200KHz DB(V(c1))DB(V(c2))

Conclusions PSiM is an independent executable program which controls the OrCAD PSpice. It extends significantly the OrCAD PSpice features: Special simulation tasks can be performed which cannot be done by PSpice alone. Currently the PSiM working on the text file level is available. The graphical User's Interface (GUI) is developed.