As everyone else said, subtract them both.
But there is more to it than that. I have a comment and a question.
The comment .....
When you subtract, remember to consider the accuracy of the
measurements. In the usual case, in the region where the clamp is
strong, the things you are subtracting are nearly equal and large,
producing a result near zero. In most models, the
resulting pullup/pulldown in this region is ALL NOISE. Those models
that look like they have a negative resistance region there are
WRONG. The literature says that it doesn't matter because they are
added back by the simulator, but that is not the whole story. You are
better off leaving these points out, even if it means not going the
full -Vcc to +2*Vcc.
So ...
Look at the curve! Does it make sense? At the ends, where the curve
looks like nonsense, throw those points away. Those warnings from
the parser about "non-monotonic" are real.
The simulator will probably clean this up anyway, but your goal as a
model maker should be to make a model that doesn't need further
clean-up.
Now, the question ....
What should a simulator do with the clamps in the region where the
other clamp applies?
Extend flat? (constant current) -- sure, if it is 0. What if it
isn't? The current at the splice is double counted.
Make it 0? -- what if they don't match? The currents might not
match. There might be a gap or overlap. (Consider min or max with a
different reference voltage.)
Extend last slope? -- this makes sense totally outside, but not here.
Received on Sun Jul 9 10:48:28 2000
This archive was generated by hypermail 2.1.8 : Fri Jun 03 2011 - 09:53:47 PDT