I’m one of those idiots that Bob Widlar warned you about (can only count to one) so have mercy. I’d like to model some vacuum tube circuits, so I thought it might be helpful if I could duplicate the datasheet characteristic curves as a first step to understanding that the model is correct and that I understand the rudiments of simulating them in QSpice.
I’m starting with the GE 6J6. I found a model on the web, built a simple testbench in QSpice, and simulated the plate current vs. grid voltage as shown in the third chart in the GE datasheet. My Qspice schematic:
For something more challenging, I set out to plot the plate resistance, rp. I utterly failed at this until I learned that the small-signal resistance is the point-by-point slope of the Vp/Ip curve. To simulate this I used the finite difference approach with two 6J6s, one operating at Vp+dVp and the other operating at Vp-dVp hooked up as follows:
Then I overlaid my Qspice plot of rp onto the fourth graph in the GE datasheet (I tried to gray-out the characteristics that I’m not concerned with here):
I only realized the challenge of obtaining this curve after running the simulation. The method you are currently using runs faster; the only advantage of below approach is that you avoid duplicating the circuit, though sacrifice simulation time due to the .meas commands.
update Qspice to latest version, and it now supports abscissa for .meas plot.
this is an example to run a .meas plot without requiring additional operation in setting up axis range or abscissa.
I’m glad to know that my approach is basically sound and any differences with the published datasheet graphs must be due to the model and not a shortcoming of the simulation.
Also, thanks for demonstrating how to plot using the .meas directive and the axis range and abscissa specifications.