6: Rechargeable battery measurements Model 2460 Interactive SourceMeter® Instrument User's Ma
6-8 2460-900-01 Rev. A / September 2014
Send the following commands for this example application:
SMU
command or
pseudocode
Commands Description
command
SENS:CURR:RSEN ON
SOUR:FUNC VOLT
SOUR:VOLT 0.9
ROUT:TERM REAR
SOUR:VOLT:READ:BACK ON
SOUR:VOLT:RANG 2
SOUR:VOLT:ILIM 2.5
SENS:FUNC "CURR"
SENS:CURR:RANG 4
• Turn on high-impedance output mode.
• Set to 4-wire sense mode.
• Set to source voltage.
• Set source level to 0.9 V.
• Select the rear-panel connections.
• Turn on source readback.
• Set source range to 2 V.
• Set the source limit to 2.5 mA.
• Set to measure current.
• Set current range to 4 A.
• Turn the output on.
voltLimit = 0.9001
current = []
voltage = []
seconds = []
hours = []
while true do:
• Create a variable called iteration and
initialize to 1.
• Create a variable called voltLimit and
initialize to 0.9001.
• Create an empty array for current
measurements.
• Create an empty array for voltage
measurements.
• Create an empty array for the time values.
•
SMU
command
current[iteration] = READ?
"defbuffer1"
voltage[iteration] = TRAC:DATA?
iteration, iteration,
"defbuffer1", SOUR
seconds[iteration] = TRAC:DATA?
iteration, iteration,
• Append the current reading to the array
current.
• Append the voltage reading to the array
voltage.
• Append the time reading to the array
seconds.
Pseudocode
seconds[iteration]/3600
print(voltage[iteration],
current[iteration],
hours[iteration])
if voltage[iteration] <=
voltLimit then:
break
end if
iteration = iteration + 1
delay(10)
• Calculate the hours taken at each iteration.
• Print the measured values.
• Compare the voltage reading from this
iteration to the voltage limit. If the
measured value is less than or equal to the
limit, break out of the loop.
• End the if statement.
• Increment the iteration count by 1.
• Delay for 10 seconds.
• End the while loop.
SMU
• Turn the output off.