User Guide
Chapter 6 Analog behavioral modeling
156
Limiters
The Limiters can be used to restrict an output to values
between a set of specified ranges. These parts are
described below.
LIMIT
The LIMIT part constrains the output voltage to a value
between an upper limit (set with the HI property) and a
lower limit (set with the LO property). This part takes one
input and provides one output.
GLIMIT
The GLIMIT part functions as a one-line opamp. The gain
is applied to the input voltage, then the output is
constrained to the limits set by the LO and HI properties.
This part takes one input and provides one output.
SOFTLIMIT
The SOFTLIMIT part provides a limiting function much
like the LIMIT device, except that it uses a continuous
curve limiting function, rather than a discontinuous
limiting function. This part takes one input and provides
one output.
HI upper limit value
LO lower limit value
HI upper limit value
LO lower limit value
GAIN constant gain value
HI upper limit value
LO lower limit value
GAIN constant gain value
A, B, V,
TANH
internal variables used to define the
limiting function
Pspug.book Page 156 Wednesday, November 11, 1998 1:14 PM