Analog Behavioral Modeling (ABM) can be used to model a nonlinear resistor using tables and expressions which describe resistance. Here are some examples.
If a Resistance vs. Voltage curve is available, a look-up table can be used in the ABM expression with a GVALUE device. This table contains (Voltage, Resistance) pairs picked from points on the curve.The voltage input is nonlinearly mapped from the voltage values in the table to the resistance values. Linear interpolation is used between table values.
Let’s say that points picked from a Resistance vs. Voltage curve are:
The ABM expression for this will be as shown below:
Do let us know with your replies, if this is helpful and if you want to see more such posts in future.
Thanks for sharing. Very useful.