OrCAD PSpice A/D, OrCAD PSpice AA and AMS Simulator

Similar documents
OrCAD PSpice A/D and AMS Simulator

EXPERIMENT NUMBER 10 TRANSIENT ANALYSIS USING PSPICE

Introduction to PSpice

FACULTY OF ENGINEERING LAB SHEET

OrCAD PSpice - Tutorial. TA: 黃玉龍

Introduction to OrCAD. Simulation Program With Integrated Circuits Emphasis.

TS3410 1A / 1.4MHz Synchronous Buck Converter

THE SPICE BOOK. Andrei Vladimirescu. John Wiley & Sons, Inc. New York Chichester Brisbane Toronto Singapore

FACULTY OF ENGINEERING LAB SHEET

An Introductory Guide to Circuit Simulation using NI Multisim 12

Introduction to SPICE. Simulator of Electronic devices

LD5857 4/15/2014. Boost Controller for LED Backlight. General Description. Features. Applications. Typical Application REV: 00

Engineering 3821 Fall Pspice TUTORIAL 1. Prepared by: J. Tobin (Class of 2005) B. Jeyasurya E. Gill

Figure AC circuit to be analyzed.

LD /01/2013. Boost Controller for LED Backlight. General Description. Features. Applications. Typical Application REV: 00

ECE 201 LAB 6 INTRODUCTION TO SPICE/PSPICE

Single Switch Forward Converter

Designing low-frequency decoupling using SIMPLIS

Current Mode PWM Controller

DESIGN AND SIMULATING TWO INPUT CONVERTER AND TESTING THE PV PANEL PSPICE MODEL

SPICE FOR POWER ELECTRONICS AND ELECTRIC POWER

Current Mode PWM Controller

1.3 An Introduction to WinSPICE

MT3540 Rev.V1.2. Package/Order Information. Pin Description. Absolute Maximum Ratings PIN NAME FUNCTION

TS mA / 1.5MHz Synchronous Buck Converter

P1: IML/OVY P2: IML/OVY QC: IML/OVY T1: IML MHBD Sandler MHBD017-Sandler-v4.cls October 7, :44

HY2596A 3A 150kHz DC-DC BUCK REGULATOR

ENEE207 Electric Circuits Lab Manual

Mor M. Peretz Power Electronics Laboratory Department of Electrical and Computer Engineering Ben-Gurion University of the Negev, ISRAEL

2.5A 150KHZ PWM Buck DC/DC Converter TD1507. Features

LSP5504. PWM Control 2A Step-Down Converter. Applications. General Description. Features LSP5504. Typical Application Circuit

Current Mode PWM Controller

HM V 2A 500KHz Synchronous Step-Down Regulator

14:332:223 Principles of Electrical Engineering I Instructions for using PSPICE Tools Sharanya Chandrasekar February 1, 2006

UC3842/UC3843/UC3844/UC3845

AN294. Si825X FREQUENCY COMPENSATION SIMULATOR FOR D IGITAL BUCK CONVERTERS

VCC. UVLO internal bias & Vref. Vref OK. PWM Comparator. + + Ramp from Oscillator GND

GENERAL DESCRIPTION FEATURES APPLICATIONS TYPICAL APPLICATION. High Efficiency 1.2MHz 2A Step Up Converter. Efficiency

Improving Simulation Performance

10A Current Mode Non-Synchronous PWM Boost Converter

Built-In OVP White LED Step-up Converter in Tiny Package

AP Khz, 3A PWM Buck DC/DC Converter. Features. General Description. Applications. Description. Pin Assignments

Background Theory and Simulation Practice

Appendix. RF Transient Simulator. Page 1

Datasheet. 2A 380KHZ 20V PWM Buck DC/DC Converter. Features

FP kHz 7A High Efficiency Synchronous PWM Boost Converter

FP A Current Mode Non-Synchronous PWM Boost Converter

AP1506. Package T5: TO220-5L L : K5: TO263-5L T5R: TO220-5L(R)

FP6276B 500kHz 6A High Efficiency Synchronous PWM Boost Converter

Package K5 : TO263-5L T5 : TO220-5L T5R : TO220-5L(R)

LD7523 6/16/2009. Smart Green-Mode PWM Controller with Multiple Protections. General Description. Features. Applications. Typical Application REV: 00

Figure Main frame of IMNLab.

LM2596R. 3.0A, 150Khz, Step-Down Switching Regulator HTC FEATURES. Applications DESCRIPTION ORDERING INFORMATION

Presentation Content Review of Active Clamp and Reset Technique in Single-Ended Forward Converters Design Material/Tools Design procedure and concern

Pin Assignment and Description TOP VIEW PIN NAME DESCRIPTION 1 GND Ground SOP-8L Absolute Maximum Ratings (Note 1) 2 CS Current Sense

Microcontroller Based MPPT Buck-Boost Converter

The analysis and layout of a Switching Mode

eorex (Preliminary) EP3101

ENGR-4300 Fall 2006 Project 3 Project 3 Build a 555-Timer

ENGR4300 Fall 2005 Test 4A. Name solutions. Section. Question 1 (25 points) Question 2 (25 points) Question 3 (25 points) Question 4 (25 points)

A Brief Handout for Introduction to

SPICE for Power Electronics and Electric Power

DC->DC Power Converters

L1 1 2 D1 B uF R5 18K (Option ) R4 1.1K

Non-Synchronous PWM Boost Controller

Assoc. Prof. Dr. Burak Kelleci

MP3115 High-Efficiency, Single-Cell Alkaline, 1.3MHz Synchronous Step-up Converter with Output Disconnect

Using LTSPICE to Analyze Circuits

MultiSim and Analog Discovery 2 Manual

FEATURES APPLICATION

UM mA, 600kHz Step-Up DC-DC Converter UM3433 SOT23-6. General Description. Rev.05 Dec /9

Class #8: Experiment Diodes Part I

UNISONIC TECHNOLOGIES CO., LTD UCC36351 Preliminary CMOS IC

YB1506 Step-up DC-DC Converter, White LED Driver

Designing Offline HB LED Current Sources with Primary Side Control Using E-series Fairchild Power Switch (FPS)

Designing and Implementing of 72V/150V Closed loop Boost Converter for Electoral Vehicle

EM5301. Pin Assignment

Design Kit. NJM2377 Boost DC/DC Converter. All Rights Reserved Copyright (C) Bee Technologies Corporation

Lead Free L : Lead Free. Package K5 : TO263-5L T5 : TO220-5L T5R : TO220-5L(R)

HT7L4815 Non-isolation Buck LED Lighting Driver with Active PFC

Getting Started with Qucs

Lab 4: Analysis of the Stereo Amplifier

Low-Noise 4.5A Step-Up Current Mode PWM Converter

YB1518 Step-up DC-DC Converter White LED Driver Description

Advanced Power Electronics Corp. APE1911-HF-3. Step-up PWM DC/DC Converter. Features Description. Typical Application Circuit. Ordering Information

HM V 3A 500KHz Synchronous Step-Down Regulator

Non-Synchronous PWM Boost Controller for LED Driver

Not Recommended for New Design

ECE 2274 Pre-Lab for Experiment # 4 Diode Basics and a Rectifier Completed Prior to Coming to Lab

PSPICE T UTORIAL P ART I: INTRODUCTION AND DC ANALYSIS. for the Orcad PSpice Release 9.2 Lite Edition

ACE A, Multi-Chemistry Battery Charger

Output 1.0A High-efficiency Step-down Switching regulators with Built-in Power MOSFET

EUP3410/ A,16V,380KHz Step-Down Converter DESCRIPTION FEATURES APPLICATIONS. Typical Application Circuit

3.0A, 150kHz, Step-Down Switching Regulator

TFT-LCD DC/DC Converter with Integrated Backlight LED Driver

UC3843 DESCRIPTION FEATURES PACKAGE INFORMATION

MP A, 500KHz Synchronous Rectified Step-up Converter

EUP A,40V,200KHz Step-Down Converter

150KHz 3A PWM Buck DC/DC Converter

ENGR4300 Test 3A and 3B Fall 2003

Transcription:

Title: Product: Summary: Using AutoConvergence OrCAD PSpice A/D, OrCAD PSpice AA and AMS Simulator The convergence problem will be described briefly in this application note and the AutoConvergence feature of PSpice will be introduced Author/Date: Wei Ling / 24.8.21 Table of Contents 1 Introduction... 2 2 Demo Project... 4 3 Convergence Problem... 5 4 Using AutoConvergence... 8 5 Bibliography...1 Using AutoConvergence Page 1 von 1

1 Introduction In order to calculate the bias point, DC sweep and transient analysis for analog devices, PSpice must solve a set of nonlinear equations which describe the circuit's behaviour. This is accomplished by using an iterative technique, the Newton-Raphson algorithm, which starts by having an initial approximation to the solution and iteratively improves it until successive voltages and currents converge to the same result. The Newton-Raphson method can be described as follows. We want to find successively better approximations to the roots of a function ƒ(x). With the first guess x we begin to find a better approximation x 1 x f ( x ' f ( x ) ) 1 = x (1) ' Where f x ) is the derivative of the function at x ( Further we have x = x f ( x ) n n+ 1 n ' (2) f ( xn ) In order to guarantee the convergence of a solution, some conditions must be considered. The nonlinear equations must have a solution The equations must be continuous The algorithm needs the equations' derivatives The initial approximation must be close enough to the solution. Using AutoConvergence Page 2 von 1

Each of these can be taken in order. We should be aware that the PSpice algorithms are used in computer hardware that has finite precision and finite dynamic range with these limits: Voltages and currents in PSpice are limited to +/-1e1 volts and amps Derivatives in PSpice are limited to 1e14 The arithmetic used in PSpice is double precision and has 15 digits of accuracy In a few cases PSpice cannot find a solution to the nonlinear circuit equations. This is generally called a convergence problem because the symptom is that the Newton-Raphson repeating series cannot converge onto a consistent set of voltages and currents. If you use the transient analysis, and it is the case that the voltage or the current in the circuit moves too fast, it may be unable to continue because the time step required becomes too small. Normally if you face the convergence problem in PSpice, you have to change the runtime parameters to relax the limits. With the help of the following demo-circuit we will discuss how you can try to solve the convergence problem manually and how to use the AutoConvergence feature of PSpice to converge the simulation automatically. Using AutoConvergence Page 3 von 1

2 Demo Project The example circuit we would like to build up is a DC-DC converter. This circuit in the project AutoConverge.opj is created as follows: V1 12V R1.5 L1 7uH R1 V-G M1 C1 13u L3 282u T1 IRF13/HA L4 R18 5 12.8m R8 K K1 1k K_Linear COUPLING = 1 C3.5u D1 MUR86 D2 MUR86 R11 3 L2 2.7mH C4 1.5u V-Out R9 25k R5 1k R6 1k 5 13V V2 V-F V-R U1A + V+ LM324 OUT - V- V-In R7 1k C2 1n R4 1k V 2 1 3 4 VCC 7 U2 VFB 6 OUT COMP ISENSE RT/CT SG1843 5 8 GND VREF R2.1 R3 3k The N-Channel Power MOSFET M1 switches on and off, the energy from DC source V1 can be saved in capacitors and inductors. The AC voltage of L3 will be transformed to the secondary side of the transformer T1. The diodes D1 and D2 rectify the AC voltage and the capacitor C4 will be charged with the rectified voltage. The amplifier LM324 and the PWM controller SG1843 are responsible for the control of M1. The feedback voltage V-F will be compared with the reference voltage V-R and the result V-In will determine the gate voltage V-G of M1. Using AutoConvergence Page 4 von 1

3 Convergence Problem We can, for example, simply run the transient analysis for 1ms. However, the simulation will abort and the PSpice Runtime Settings window comes up. If you look at the PSpice output file, you can see an error is reported as follows. ERROR - Convergence problem in transient analysis at Time = 2.46E-6 Time step = 42.44E-21, minimum allowable step size = 1.E-18 PSpice uses by default the original value of the runtime parameter. The following table describes these parameters. TSTOP TMAX RELTOL ABSTOL VNTOL GMIN ITL1 ITL2 ITL4 Run to time, for the demo circuit it is set to 1ms Maximum step size, if you don t define it in Simulation Profile, it is by default set to TSTOP/5 Relative tolerance of voltage and current Absolute current tolerance Absolute voltage tolerance Minimum conductance for any branch Limit of iterations of convergence calculation during bias point analysis Limit of iterations during DC analysis Limit of iterations at any repeating point in transient analysis The hardest part of the whole process is getting started, that is, finding the bias point. Therefore we will then run the bias point simulation. In Simulation Settings window select the Bias Point as Analysis type. Using AutoConvergence Page 5 von 1

Click OK and run the bias point simulation. The bias point simulation runs without any convergence problems. Once a bias point is found, it moves on to run the transient analysis. It starts from a know solution (bias point) and steps forward in time. Changing back to run the transient simulation and the simulation will abort again. In order to resolve the convergence problem, we will try to relax the limits for some runtime parameters. In the PSpice Runtime Settings dialogue window, uncheck the Use Original Value check box for RELTOL and set its value to.1. Uncheck the Use Original Value check box for ITL4 and set its value to 1. This increase the number of transient iterations that PSpice will attempt at each time point before it gives up. Using AutoConvergence Page 6 von 1

Note: You cannot specify a value that is less relaxed than the normal limit. For example, if the limit for ITL1 is set to 15, you cannot specify 12 as the relaxed limit. Click OK & Resume Simulation to continue the simulation from where it left off. However we still have the convergence error. Change the runtime parameters with the relaxed limits as follows: Click OK & Resume Simulation to continue the simulation. This time PSpice runs without any convergence problems. Although the convergence problem is resolved, sometimes it could be very time consuming and you need some understanding of the runtime parameters. Next you will see how you can use AutoConvergence feature of PSpice to resolve the convergence problem quickly. Using AutoConvergence Page 7 von 1

4 Using AutoConvergence When you run the simulation with AutoConvergence, PSpice initially runs using the original values for the specified simulation time. However, if the simulation does not converge, PSpice changes the values within the relaxed limit for the run time parameters selected in the AutoConvergence Options dialogue box. Open the simulation profile and click the Options tab. Click the Reset button to bring back all of the original values of the parameters. Then click the AutoConverge button, the AutoConverge Options dialogue box pops up. Check the AotoConverge check box to active the relaxed limits. Using AutoConvergence Page 8 von 1

Click OK to accept the new relaxed limits and run the simulation. PSpice will run to completion without reporting any convergence problems. In the Probe window add traces for V-Out, V-In and V-G. The curves are displayed as follows: 8V 4V V -4V s 2ms 4ms 6ms 8ms 1ms V(V-OUT) V(V-G) V(V-In) Time In the above diagram you will see, the output voltage V-Out, which is the voltage that crosses the capacitor C4, increases because of the charge of C4. The feedback voltage V-F increases but it is still smaller than the reference voltage V-R. As long as V-F < V-R, V-In stays at a low voltage level and the gate voltage V-G turns M1 on more periodically. When V-F > V-R, V-In changes to have the high voltage level, the Power MOSFET M1 switched periodically off more and the output voltage V-Out decreases because of the discharge of C4. V-F decreases also. As long as V-F > V-R, V-In stays at a high voltage level and the capacitor C4 will continue to be discharged through R9. When V-F < V-R, M1 switches on to start the charge process for C4 and the output voltage V-Out increases. The capacitor C4 will be periodically charged and discharged and the output voltage V-Out will increase and decrease accordingly. However, the output voltage will be kept at a certain DC voltage level. We can add the current trace I(C4) for the capacitor and zoom in to have a better observation. Using AutoConvergence Page 9 von 1

1mA 5mA A I(C4) 2V 1V SEL>> -5V 5.251ms 5.3ms 5.4ms 5.5ms V(V-In) V(V-G) Time 5.582ms In the above diagram you can see how C4 will be charged while M1 switches on. 5 Bibliography [1] PSpice User s Guide, Cadence [2] OrCAD Capture User s Guide, Cadence [3] Leistungselektronische Schaltungen, D. Schröder, Springer [4] http://en.wikipedia.org/wiki/newton%27s_method Using AutoConvergence Page 1 von 1