I am trying to simulate a load in SPICE(PSICE). This load is modeled by a resistance that can go from a high value(thereby sinking low current) to a very low resistance that can draw a large amount. How can I model such a variable resistor (w.r.t time) in SPICE ?
Asked
Active
Viewed 3,176 times
1
1 Answers
1
So to summarize:
- if a precise curve of the resistor vs time doesn't matter
.step param, which is supported in PSpice, is a good way. Actually you can remain ignorant of the SPICE dot command syntax in PSpice, because parametric sweeps can be configured entirely via GUI menus (Simulation Settings > Primary Sweep) as explained in this tutorial: http://m.eet.com/media/1179065/chapter (see p. 69) - for a curve vs time: SPICE3 behavioral expressions. I'm not sure exactly what PSpice supports in this regard... It seems the preferred way of doing this in PSpice is to use its Analog Behavioral Modeling (ABM) extension, which allows abstract components that can use
TIMEas a variable; see http://www.nordcad.dk/download/Forum/PSpice/abm.pdf for an overview. At least for this problem, it seems ABM is actually the same thing as a SPICE3 behavioral expression, with a (PSpice) syntax likeR1 1 0 VALUE={10 + 0.01 * TIME}.
the gods from engineering
- 14,475
- 2
- 45
- 98
The above is what I got from your link. Assuming Res is the part number, RMOD is what ?
– Board-Man Oct 13 '15 at 14:09R1 1 2 0.015;
X1 1 2 3 OPAMP1;
X2 2 3 4 DMG2301U ;
R2 4 0 10K;
.step r2 100 10k 100;
.PROBE
– Board-Man Oct 13 '15 at 14:14