orcad pspice 用户手册
Control system parts
167
Math functions
The ABM math function parts are shown in
. For
each device, the corresponding template is shown,
indicating the order in which the inputs are processed, if
applicable.
indicating the order in which the inputs are processed, if
applicable.
Math function parts are based on the PSpice “E” device
type. Each provides one or more inputs, and a
mathematical function which is applied to the input. The
result is output on the output net.
type. Each provides one or more inputs, and a
mathematical function which is applied to the input. The
result is output on the output net.
Table 1
ABM math function parts
For this device...
Output is the...
ABS
absolute value of the input
SQRT
square root of the input
PWR
result of raising the absolute value of the
input to the power specified by EXP
input to the power specified by EXP
PWRS
result of raising the (signed) input value to
the power specified by EXP
the power specified by EXP
LOG
LOG of the input
LOG10
LOG
10
of the input
EXP
result of
e
raised to the power specified by
the input value (
e
x
where x is the input)
SIN
sin
of the input (where the input is in
radians)
COS
cos
of the input (where the input is in
radians)
TAN
tan
of the input (where the input is in
radians)
ATAN,
ARCTAN
ARCTAN
tan
-1
of the input (where the output is in
radians)
Pspug.book Page 167 Wednesday, November 11, 1998 1:14 PM