Model 8010 High Power Device Test Fixture User's Manual Section 4: Off-state MOSFET characterization of a power MOSFET
8010-900-01 Rev. C / March 2017
4-13
--Configure source parameters for the drain SMU.
smua.source.func = smua.OUTPUT_DCVOLTS
smua.source.levelv = 0
smua.source.limiti = iLimit
if math.abs(startV) > math.abs(stopV) then
smua.source.rangev = startV
else
smua.source.rangev = stopV
end
--Configure measurement parameters for the drain SMU.
smua.measure.rangei = measRange
smua.measure.nplc = numNPLC
smua.measure.delay = measDelay
step = (stopV - startV)/(numSteps - 1)
voltage = startV
smua.source.levelv = voltage
--Run the test.
node[2].smua.source.output = 1
smua.source.output = 1
delay(1)
for i = 1, numSteps do
smua.measure.iv(smua.nvbuffer1, smua.nvbuffer2);
--Remove the following 4 lines if you do not want to monitor
--for compliance
testCmpl = smua.source.compliance
if testCmpl == true then
break
end
smua.source.levelv = v step
voltage = v step
end
--Turn off the SMUs to complete the test.
smua.source.levelv = 0
node[2].smua.source.levelv = 0
node[2].smua.source.output = 0
smua.source.output = 0
printData()
end
function printData()
if smua.nvbuffer1.n == 0 then
print("No reading in buffer")
else
print("Timestamps\tVoltage\tCurrent")
for i = 1, smua.nvbuffer1.n do
print(string.format("%g\t%g\t%g", smua.nvbuffer1.timestamps[i],
smua.nvbuffer2.readings[i], smua.nvbuffer1.readings[i]))
end
end
end