Section 6: Rechargeable battery measurements
Send the following commands for this example application:
SMU
command or
pseudocode
SMU
command
Pseudocode iteration = 1
SMU
command
Pseudocode
SMU
command
6-8
Commands
OUTP:SMOD HIMP
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
OUTP ON
voltLimit = 0.9001
current = []
voltage = []
seconds = []
hours = []
while true do:
current[iteration] = READ?
"defbuffer1"
voltage[iteration] = TRAC:DATA?
iteration, iteration,
"defbuffer1", SOUR
seconds[iteration] = TRAC:DATA?
iteration, iteration,
"defbuffer1", REL
hours[iteration] =
seconds[iteration]/3600
print(voltage[iteration],
current[iteration],
hours[iteration])
if voltage[iteration] <=
voltLimit then:
break
end if
iteration = iteration + 1
delay(10)
end while
OUTP OFF
Model 2460 Interactive SourceMeter® Instrument User's Manual
Description
•
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.
•
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.
•
Start a while loop.
•
Append the current reading to the array
current.
•
Append the voltage reading to the array
voltage.
•
Append the time reading to the array
seconds.
•
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.
•
Turn the output off.
2460-900-01 Rev. A / September 2014