1 Parametric analysis Overview This course describes how to set up parametric and temperature analyses. Parametric and temperature are both simple multi-run.

Slides:



Advertisements
Similar presentations
DC Analysis Engr. Fahmi Samsuri, FKEE, UMP 4/6/2017.
Advertisements

Example 2.2 Estimating the Relationship between Price and Demand.
The uA741 Operational Amplifier
Sweeping a Variable Resistor Wheatstone Bridge. Place the Parts 1.VDC 2.R, which you place 3 times. The numbering of the resistor increases sequentially.
Tutorial 10: Performing What-If Analyses
Design a Logic Probe Experiment 20. Design Specifications Design a logic probe as shown in the block diagram of Figure 1 of Experiment 20 with a signal.
Simulation Operations -- Prof. Juran.
Black Box Electronics An Introduction to Applied Electronics for Physicists 5. Pushing the Limits With Spice University of Toronto Quantum Optics Group.
The George Washington University School of Engineering and Applied Science Department of Electrical and Computer Engineering ECE122 Lab 4: VTC & Power.
ECE 3130 – Digital Electronics and Design Lab 4 VTC and Power Consumption Fall 2012 Allan Guan.
Excel Charts – Basic Skills Creating Charts in Excel.
Monte Carlo Simulations
In PSpice. DC Sweep in PSpice A simulation that results in a plot of specified voltages and/or currents in the circuit as a function of a particular variable.
FUNCTIONS AND MODELS Chapter 1. Preparation for calculus :  The basic ideas concerning functions  Their graphs  Ways of transforming and combining.
By Hrishikesh Gadre Session II Department of Mechanical Engineering Louisiana State University Engineering Equation Solver Tutorials.
Automating Tasks With Macros
Assumption of Homoscedasticity
Week 9: Series RC Circuit Experiment 14. Circuit to be constructed Shunt resistor It is good practice to short the unused pin on the trimpot when using.
DECISION MODELING Chapter 2 Spreadsheet Modeling Part 1 WITH MICROSOFT EXCEL Copyright 2001 Prentice Hall Publishers and Ardith E. Baker.
Introduction to SPSS (For SPSS Version 16.0)
Regression Basics For Business Analysis If you've ever wondered how two or more things relate to each other, or if you've ever had your boss ask you to.
Technology Basics Creating Worksheet Formulas. 2 Understand Formulas Equations used to calculate values in cells are called formulas. Formulas consist.
1 Chapter 3 Methods of Analysis Copyright © 2013 The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Lecture Roger Sutton CO357 Computing for Business and Accounting 13: Automation and Control (Macros and Form controls ) 1.
Computer Literacy BASICS
Basic Pspice Instructions Stuart Tewksbury
Computer Aided Design Course 5 Transient Analyses.
Introduction to Controlling the Output Power of a Transistor Stage A load network will be designed to maximize the output power obtainable from the Mitsubishi.
1 Performing Spreadsheet What-If Analysis Applications of Spreadsheets.
XP New Perspectives on Integrating Microsoft Office XP Tutorial 2 1 Integrating Microsoft Office XP Tutorial 2 – Integrating Word, Excel, and Access.
The George Washington University School of Engineering and Applied Science Department of Electrical and Computer Engineering ECE122 Lab 4: VTC & Power.
Voltage and Current Dividers
HDL Bencher FPGA Design Workshop. For Academic Use Only Presentation Name 2 Objectives After completing this module, you will be able to:  Describe the.
Active-HDL Interfaces Debugging C Code Course 10.
 Agenda 2/20/13 o Review quiz, answer questions o Review database design exercises from 2/13 o Create relationships through “Lookup tables” o Discuss.
Office Management Tools II Ms Saima Gul. Office Management Tools II Ms Saima Gul.
Database Applications – Microsoft Access Lesson 4 Working with Queries 36 Slides in Presentation.
Programmable Logic Training Course HDL Editor
Copyright © 2008 Pearson Prentice Hall. All rights reserved Exploring Microsoft Office Excel 2007 Chapter 8 What-if Analysis Robert Grauer, Keith.
Simulation is the process of studying the behavior of a real system by using a model that replicates the system under different scenarios. A simulation.
Computer Simulation. The Essence of Computer Simulation A stochastic system is a system that evolves over time according to one or more probability distributions.
Chapter 9 Wireless Model Predictive Control. MPC Simulation of Measurement Value on Detection of Bad Status Detection  In many recent MPC designs a similar.
Introduction to PSpice
Velleman Oscilloscope: Windows 7 by Mr. David Fritz.
Modeling of Power Converters using Matlab and Simulink
Sensitivity Analysis A systematic way of asking “what-if” scenario questions in order to understand what outcomes could possibly occur that would effect.
INTRODUCTION TO SIMULINK by Yasmin Hanum Md Thayoob & Aidil Azwin Zainul Abidin.
DAY 9: MICROSOFT EXCEL – CHAPTER 6 Sravanthi Lakkimsetty Sept 16, 2015.
Key Applications Module Lesson 14 — Working with Tables Computer Literacy BASICS.
Copyright © 2008 Pearson Prentice Hall. All rights reserved. 1 Create a one-variable data table What-if analysis enables you to see how changes in variables.
Phasors and Kirchhoff’s Current Law
ELECTRIC CIRCUITS ECSE-2010 Spring 2003 Class 13.
T RANSIENTS AND S TEP R ESPONSES ELCT222- Lecture Notes University of S. Carolina Fall2011.
Modify Tables and FieldsModify Tables and Fields Lesson 4 © 2014, John Wiley & Sons, Inc.Microsoft Official Academic Course, Microsoft Word Microsoft.
Quick Test Professional 9.2. Testing Process Preparing to Record Recording Enhancing a Test Debugging Running the Test and Analyzing the Results Reporting.
Wheatstone Bridge. Schematic of a Wheatstone Bridge V BA = 0V and I R3 = I R4 if R 1 = R 2 and R 3 = R 4. Typically, the resistors are selected such that.
Access Module Implementing a Database with Microsoft Access A Great Module on Your CD.
It’s always important that all of your nodes be numbered. So the way to do that is to go to Options at the top of the screen then select Preferences. When.
Copyright © 2007 by Pearson Education 1 UNIT 6A COMBINATIONAL CIRCUIT DESIGN WITH VHDL by Gregory L. Moss Click hyperlink below to select: Tutorial for.
Computer Science Up Down Controls, Decisions and Random Numbers.
Performance Evaluation of Ethernet Networks under different Scenarios Lab 6
SECTION 6 DESIGN STUDY. What’s in this section: –Design Variables –Design Studies Overview –Specifying an Objective –Execution Display Settings –Output.
Introduction to PSPICE
BUSINESS MATHEMATICS & STATISTICS.
Week 9: Series RC Circuit
Transistor Circuit Design Diode Approximations Heathkit EB-6002.
global parameter model parameter temperature
Getting started – Example 1
ECE 352 Digital System Fundamentals
Presentation transcript:

1 Parametric analysis Overview This course describes how to set up parametric and temperature analyses. Parametric and temperature are both simple multi-run analysis types. COURSE 6

2 Parametric analysis Minimum requirements to run a parametric analysis Minimum circuit design requirements  Set up the circuit according to the swept variable type as listed in table 1.  Set up a DC sweep, AC sweep, or transient analysis.

3 Parametric analysis Minimum program setup requirements 1 In the Simulation Settings dialog box, from the Analysis type list box, select Time Domain Transient). 2 Under Options, select Parametric Sweep if it is not already enabled. 3 Specify the required parameters for the sweep.

4 Parametric analysis Note: Do not specify a DC sweep and a parametric analysis for the same variable.

5 Parametric analysis Overview of parametric analysis Parametric analysis performs multiple iterations of a specified standard analysis while varying a global parameter, model parameter, component value, or operational temperature. The effect is the same as running the circuit several times, once for each value of the swept variable.

6 Temperature analysis Minimum circuit design requirements None. Minimum program setup requirements 1 In the Simulation Settings dialog box, from the Analysis type list box, select Time Domain (Transient). 2 Under Options, select Temperature Sweep if it is not already enabled. 3 Specify the required parameters for the sweep.

7 Temperature analysis For a temperature analysis, PSpice reruns standard analyses set in the Simulation Settings dialog box at different temperatures. You can specify zero or more temperatures. If no temperature is specified, the circuit is run at 27°C. If more than one temperature is listed, the simulation runs once for each temperature in the list. Setting the temperature to a value other than the default results in recalculating the values of temperature-dependent devices. Temperatures can also be achieved using parametric analysis.With parametric analysis, the temperatures can be specified either by list, or by range and increments within the range.

8 Using global parameters and expressions for values In addition to literal values, you can use global parameters and expressions to represent numeric values in your circuit design. Global parameters A global parameter is like a programming variable that represents a numeric value by name. Once you have defined a parameter (declared its name and given it a value), you can use it to represent circuit values anywhere in the design; this applies to any hierarchical level. Some ways that you can use parameters are as follows:  Apply the same value to multiple part instances.  Set up an analysis that sweeps a variable through a range of values (for example, DC sweep or parametric analysis).

9 Using global parameters and expressions for values When multiple parts are set to the same value, global parameters provide a convenient way to change all of their values for “what-if” analyses. Example: If two independent sources have a value defined by the parameter VSUPPLY, then you can change both sources to 10 volts by assigning the value once to VSUPPLY.

10 Using global parameters and expressions for values Declaring and using a global parameter To use a global parameter in your design, you need to:  define the parameter using a PARAM part, and  use the parameter in place of a literal value somewhere in your design.

11 Using global parameters and expressions for values To declare a global parameter 1 Place a PARAM part in your design. 2 Double-click the PARAM part to display the Parts spreadsheet, then click New. 3 Declare up to three global parameters by doing the following for each global parameter: a Click New. b In the Property Name text box, enter NAME n, then click OK. This creates a new property for the PARAM part,NAMEn in the spreadsheet. c Click in the cell below the NAMEn column and enter a default value for the parameter. d While this cell is still selected, click Display. e In the Display Format frame, select Name and Value, then click OK. Example: To declare the global parameter VSUPPLY that will set the value of an independent voltage source to 14 volts, place the PARAM part, and then create a new property named VSUPPLY with a value of 14v.

12 Using global parameters and expressions for values To use the global parameter in your circuit 1 Find the numeric value that you want to replace: a component value, model parameter value, or other property value. 2 Replace the value with the name of the global parameter using the following syntax: { global_parameter_name } The curly braces tell PSpice to evaluate the parameter and use its value. Example: To set the independent voltage source, VCC, to the value of the VSUPPLY parameter, set its DC property to {VSUPPLY}.

13 Using global parameters and expressions for values Expressions An expression is a mathematical relationship that you can use to define a numeric or boolean (TRUE/FALSE) value. PSpice evaluates the expression to a single value every time:  it reads in a new circuit, and  a parameter value used within an expression changes during an analysis. Example: A parameter that changes with each step of a DC sweep or parametric

14 Using global parameters and expressions for values Specifying expressions To use an expression in your circuit 1 Find the numeric or boolean value you want to replace: a component value, model parameter value, other property value, or logic in an IF function test. 2 Replace the value with an expression using the following syntax: { expression } where expression can contain any of the following:  standard operators  built-in functions  user-defined functions  system variables listed  user-defined global parameters  literal operands The curly braces tell PSpice to evaluate the expression and use its value.

15 Using global parameters and expressions for values Example: Suppose you have declared a parameter named FACTOR (with a value of 1.2) and want to scale a -10 V independent voltage source, VEE, by the value of FACTOR. To do this, set the DC property of VEE to: {-10*FACTOR} PSpice evaluates this expression to: (-10 * 1.2) or -12 volts

16 Using global parameters and expressions for values

17 Using global parameters and expressions for values

18 Using global parameters and expressions for values

19 Using global parameters and expressions for values I2 1Adc 0 C1 10u

20 Lab work - parametric analysis Analyzing an amplifier’s settling time using performance analysis Settling time is a key performance parameter for an amplifier. The standard simulation methodology to test for this parameter steps the input voltage over the relevant input range and measures the time taken for the output to settle to some defined value close to its steady state value. The defined value depends upon the resolution of the system. For example, a 12 bit system in a range of ten volts will probably need to settle to within 1.2 mV (1/2 lsb) of its final value.

21 Lab work - parametric analysis Analyzing an amplifier’s settling time using performance analysis During the design of such an amplifier, many parameters are varied to optimize the settling time. It can become extremely tedious moving along the response curves to find the exact settling time. Performance Analysis by means of "goal function" definition can facilitate this investigation. To demonstrate the implementation of the relevant goal functions, the settling time of an LF411 in unity gain configuration will be computed as a function of load capacitance ( figure 1). A parametric sweep of the parameter "cload" over the range of 100pF to 700pF using 7pF steps will generate the data for the performance analysis.figure 1

22 Lab work - parametric analysis Analyzing an amplifier’s settling time using performance analysis

23 Lab work - parametric analysis Analyzing an amplifier’s settling time using performance analysis Figure 2Figure 2 shows the response of the system for three different load capacitors, to a one volt step at the input. The method normally used to estimate the settling time from these curves is fairly straightforward. We simply start at the end point and scan backwards along the curve until we find a point where the response curve intersects the defined settled value

24 Lab work - parametric analysis Analyzing an amplifier’s settling time using performance analysis The next step is to create a goal function to measure the settling time by choosing Goal Function in the Trace menu. It will be called "settle".

25 Lab work - parametric analysis Analyzing an amplifier’s settling time using performance analysis The goal function definition ( Figure 4) performs the backwards search from the end of the run to where the defined value (1.01 volts in this case) intersects the curve.Figure 4

26 Lab work - parametric analysis Analyzing an amplifier’s settling time using performance analysis Using this goal function, we can now examine the settling time versus load capacitance using Performance Analysis in the Trace menu.

27 Lab work - parametric analysis Analyzing an amplifier’s settling time using performance analysis We’ll use the Wizard. The next step is to choose the goal function (settle).

28 Lab work - parametric analysis Analyzing an amplifier’s settling time using performance analysis In the next step, we choose the name of the trace to search.

29 Lab work - parametric analysis Analyzing an amplifier’s settling time using performance analysis Performance Analysis then evaluates the goal function for the entire family of waveforms (one for each step of cload). The result is shown in Figure 8.Figure 8

30 Lab work - parametric analysis Analyzing an amplifier’s settling time using performance analysis The curve in Figure 8 shows the trend, but several inconsistent discontinuities are noticeable. To appreciate where the discontinuities come from, we must first visualize the oscillation which intersects the defined level. With increasing load, this oscillation will increase in amplitude as will the cycle after it. At some point, however, the succeeding cycle will grow enough to intersect the defined level, giving a jump of half the oscillation period.Figure 8 To smooth the curves even further, a more appropriate function could be defined. We first detect the peaks of the cycles in the neighborhood of the defined value. We can then fit a polynomial to these points and use this to predict the settling time. The goal functions to implement this are shown below as S1, S2, and S3, which are three components of the Lagrangian polynomial. In the example shown, the Lagrangian components are evaluated at a defined level of 1.01, which, when added together, will produce the settling time curve to 10 mV.

31 Lab work - parametric analysis Analyzing an amplifier’s settling time using performance analysis Different settling time curves can be produced by modifying the goal functions for different defined levels. Figure 12 shows the curves for the settling time to 20 mV, 10 mV, and 5 mV, by setting the defined level at 1.02, 1.01, and 1.005, respectively. Note that both the "marked point expression" and the LEVEL function are modified for each distinct defined level. The resulting settling time can be defined as a macro expression (Macro in the Trace menu):Figure 12

32 Lab work - parametric analysis Analyzing an amplifier’s settling time using performance analysis

33 Lab work - parametric analysis Analyzing an amplifier’s settling time using performance analysis

34 Lab work - parametric analysis Analyzing an amplifier’s settling time using performance analysis