PSpice User Guide

PSpice User Guide

Issue link: https://resources.pcb.cadence.com/i/1180526

Contents of this Issue

Navigation

Page 348 of 884

PSpice User Guide Analog behavioral modeling October 2019 349 Product Version 17.4-2019 © 1999-2019 All Rights Reserved. Figure 6-10 ABM expression part example two. This part is characterized by the following properties: EXP1 = 15ma * SIN( EXP2 = 6.28*10kHz*TIME EXP3 = + V(%IN)) This produces a PSpice netlist declaration like this: GPSK 11 6 VALUE = {15MA*SIN(6.28*10kHz*TIME+V(3))} Example three A device, EPWR, computes the instantaneous power by multiplying the voltage across nets 5 and 4 by the current through VSENSE. Sources are controlled by expressions which may contain voltages or currents or both. The ABM2 part (two inputs, voltage output) in Figure 6-11 could represent this. Figure 6-11 ABM expression part example three. This part is characterized by the following properties: EXP1 = V(%IN2,%IN1) * EXP2 = I(VSENSE) This produces a PSpice netlist declaration like this: EPWR 3 0 VALUE = {V(5,4)*I(VSENSE)} Example four The output of a component, GRATIO, is a current whose value (in amps) is equal to the ratio of the voltages at nets 13 and 2. If V(2) = 0, the output depends upon V(13) as follows: if V(13) = 0, output = 0 if V(13) > 0, output = MAXREAL if V(13) < 0, output = -MAXREAL

Articles in this issue

view archives of PSpice User Guide - PSpice User Guide