Issue link: https://resources.pcb.cadence.com/i/1180526
PSpice User Guide Analog behavioral modeling October 2019 348 Product Version 17.4-2019 © 1999-2019 All Rights Reserved. Example one Suppose you want to set an output voltage on net 4 to 5 volts times the square root of the voltage between nets 3 and 2. You could use an ABM2 part (which takes two inputs and provides a voltage output) to define a part like the one shown in Figure 6-9. Figure 6-9 ABM expression part example one. In this example of an ABM device, the output voltage is set to 5 volts times the square root of the voltage between net 3 and net 2. The property settings for this part are as follows: EXP1 = 5V * EXP2 = SQRT(V(%IN2,%IN1)) This will produce a PSpice netlist declaration like this: ESQROOT 4 0 VALUE = {5V*SQRT(V(3,2))} Example two GPSK is an oscillator for a PSK (Phase Shift Keyed) modulator. Current is pumped from net 11 through the source to net 6. Its value is a sine wave with an amplitude of 15 mA and a frequency of 10 kHz. The voltage at net 3 can shift the phase of GPSK by 1 radian/volt. Note the use of the TIME parameter in the EXP2 expression. This is the PSpice A/D internal sweep variable used in transient analysis. For any analysis other than transient, TIME = 0. This could be represented with an ABM1/I part (single input, current output) like the one shown in Figure 6-10.