I haven't found a SPICE that allows for Log sweeping. To make wide-range BJT beta-vs-IC and Gummel plots, I did the following:
- DC sweep with equal voltage steps, e.g. 0 to 20 volts, 0.2-volt steps.
- Linear EXP function subcircuit.
- Voltage-controlled current source, with severe attenuation, 1E-10 * At this point we have a super-wide-range log sweep of base current.
- Small series resistor to BJT base, with current and voltage probes.
- BJT emitter to GND.
- Series resistor from BJT collector to +5V supply, with current probe.
- Run, gather a set of base and collector currents, add to spreadsheet.
- Data probably covers over 10 decades. Take ratio Ic/Ib = beta.
- Gummel plot: Ic and Ib traces vs Vbe.
- Beta plot: beta vs collector current, Ic from 1uA to 10A.
Make changes to BJT SPICE model parameters, etc., goto step 7.