What is self-discharge?12
Advantages of the Keysight BT2152A Self-Discharge Analyzer12
Contact Keysight Technologies12
Models and Specifications13
Models13
Front and Rear Views13
Specifications14
Characteristics15
Self-Discharge Measurement Criteria16
External Temperature Measurement16
Dimensions and Airflow17
Command Quick Reference18
2 Installing the Analyzer23
Before Installation24
Inspect the Unit24
Check for Items Supplied24
Accessories24
Review Safety Information25
Observe Environmental Conditions25
Provide Adequate Air Flow25
Connect the Power Cord26
Connect the Interfaces27
LAN Connections27
USB Connections28
Digital Port Connections28
Thermistor Connections28
Connect the Cell Cables29
Makingthe Cables29
RJ45 WIre Color Codes and Pinout Numbers30
32-Channel Mapping to RJ45 Connectors31
3 Operating the Analyzer33
Understanding Front Panel Operation34
What happens at power-on?34
What happens when a test is initiated?35
What happens when a test stops?35
What happens when the reference temperature exceeds its specification?35
What happens when a protection event or error occurs?35
Using the Digital Port36
Digital Control Port36
Bi-Directional Digital I/O36
3Keysight BT2152A Operating and Service Guide
Digital Input37
Fault Output38
Inhibit Input38
Fault/Inhibit System Protection39
Maintaining Cell Stability During Testing40
A Cell's Percent State of Charge40
Charge Redistribution and Equilibrium40
Expected Self-Discharge Current and Temperature Dependency41
Temperature Impact on Current Measurement41
Impact of Stress and Vibration on Current Measurement42
Setting up and running a test48
Retrieving all test values49
Stopping/aborting a test50
Clearing protection events and errors50
Commands by Subsystem51
Calibration Commands52
Common Commands58
Digital Commands61
Fetch Commands63
Format Command68
Initiate Commands69
LXI Command71
Output Commands72
Sense Commands73
Status Commands75
System Commands79
Status Tutorial87
Status Registers87
Alarm Channel Groups87
Alarm Status Group88
Standard Operation Group88
Status Byte Register89
Error and Output Queues90
Status Diagram91
Reset (*RST) and Interface Settings92
SCPI Error Messages93
Error List93
Keysight BT2152A Operating and Service Guide4
5 Verification and Calibration97
Verification Procedure98
Introduction98
External DMM Connections and Setup98
Zero-Scale Current Accuracy Verification99
Full-Scale Current Accuracy Verification100
Voltage Accuracy Verification101
Verification Assembly102
Reference Calibration103
Introduction103
External DMM Connections and Setup103
Enter Calibration Mode104
Voltage Calibration104
Current Calibration104
End Calibration and Store Results105
Channel Calibration106
Prerequisites106
Running Channel Calibration106
If Problems Occur with Channel Calibration106
Aborting Channel Calibration106
No part of this manual may be reproduced in any form or by any means (including electronic storage
and retrieval or translation into a foreign language) without prior agreement and written consent from
Keysight Technologies Inc. as governed by United States and international copyright laws.
Manual Part Number
BT2152A-90001
Edition
Edition 3, September, 2017
Updated August, 2018
Published By
Keysight Technologies
550 Clark Drive, Suite 101
Budd Lake, New Jersey 07828
USA
Warranty
The material contained in this document is provided "as is," and is subject to being changed, without
notice, in future editions. Further, to the maximum extent permitted by applicable law, Keysight
disclaims all warranties, either express or implied, with regard to this manual and any information
contained herein, including but not limited to the implied warranties of merchantability and fitness for
a particular purpose. Keysight shall not be liable for errors or for incidental or consequential damages
in connection with the furnishing, use, or performance of this document or of any information contained
herein. Should Keysight and the user have a separate written agreement with warranty terms
covering the material in this document that conflict with these terms, the warranty terms in the
separate agreement shall control.
Keysight BT2152A Operating and Service Guide6
Legal and Safety Information
Certification
Keysight Technologies certifies that this product met its published specifications at time of shipment
from the factory. Keysight Technologies further certifies that its calibration measurements are
traceable to the United States National Institute of Standards and Technology, to the extent allowed
by the Institute's calibration facility, and to the calibration facilities of other International Standards
Organization members.
U.S. Government Rights
The Software is "commercial computer software," as defined by Federal Acquisition Regulation (“FAR”) 2.101.
Pursuant to FAR 12.212 and 27.405-3 and Department of Defense FAR Supplement (“DFARS”) 227.7202, the U.S.
government acquires commercial computer software under the same terms by which the software is customarily
provided to the public. Accordingly, Keysight provides the Software to U.S. government customers under its
standard commercial license, which is embodied in its End User License Agreement (EULA), a copy of which can
be found at http://www.keysight.com/find/sweula. The license set forth in the EULA represents the exclusive
authority by which the U.S. government may use, modify, distribute, or disclose the Software. The EULA and the
license set forth therein, does not require or permit, among other things, that Keysight: (1) Furnish technical
information related to commercial computer software or commercial computer software documentation that is
not customarily provided to the public; or (2) Relinquish to, or otherwise provide, the government rights in excess of
these rights customarily provided to the public to use, modify, reproduce, release, perform, display, or disclose
commercial computer software or commercial computer software documentation. No additional government
requirements beyond those set forth in the EULA shall apply, except to the extent that those terms, rights, or
licenses are explicitly required from all providers of commercial computer software pursuant to the FAR and the
DFARS and are set forth specifically in writing elsewhere in the EULA. Keysightshall be under no obligation to
update, revise or otherwise modify the Software. With respect to any technical data as defined by FAR 2.101,
pursuant to FAR 12.211 and 27.404.2 and DFARS 227.7102, the U.S. government acquires no greater than Limited
Rights as defined in FAR 27.401 or DFAR 227.7103-5 (c), as applicable in any technical data
Declaration of Conformity
Declarations of Conformity for this product and for other Keysight products may be downloaded from
the Web. Go to http://www.keysight.com/go/conformity and click on "Declarations of Conformity".
You can then search by product number to find the latest Declaration of Conformity.
Waste Electrical and Electronic Equipment (WEEE) Directive 2002/96/EC
This product complies with the WEEE Directive 2002/96/EC marketing requirement. The affixed
product label (see below) indicates that you must not discard this electrical/electronic product in
domestic household waste.
Product Category: With reference to the equipment types in the WEEE directive Annex 1, this product
is classified as "Monitoring and Control instrumentation" product.
Do not dispose in domestic household waste.
To return unwanted products, contact our local Keysight office.
7Keysight BT2152A Operating and Service Guide
Safety Symbols
A WARNING notice denotes a hazard. It calls attention to an operating procedure, practice, or the
like that, if not correctly performed or adhered to, could result in personal injury or DEATH. Do not
proceed beyond a WARNING notice until the indicated conditions are fully understood and met.
A CAUTION notice denotes a hazard. It calls attention to an operating procedure, practice, or the
like that, if not correctly performed or adhered to, could result in damage to the product or loss of
important data. Do not proceed beyond a CAUTION notice until the indicated conditions are fully
understood and met.
Direct current
Alternating current
Frame or chassis terminal
Standby supply. Unit is not completely disconnected from AC mains when switch is off.
Legal and Safety Information
Risk of electric shock
Refer to accompanyingdocuments
Earth ground terminal
The CE mark is a registered trademark of the European Community.
The ETL mark is a registered trademark ofIntertek.
The RCM mark is a registered trademark of the Spectrum Management Agency of Australia. This signifies compliance with the Australian EMC Framework regulations under
the terms ofthe Radio Communications Act of 1992.
South Korean Class A EMC Declaration
This equipment is Class A suitable for professional use and is for use in electromagnetic
environments outside of the home.
Contains one or more ofthe 6 hazardous substances above the maximum concentration value (MCV), 40 Year EPUP.
ISM1-AThis text indicates that the instrument is an Industrial Scientific and Medical Group 1
Class A product (CISPER 11, Clause 4).
ICES/NMB001
This text indicates product compliance with the Canadian Interference- Causing Equipment Standard (ICES-001).
Keysight BT2152A Operating and Service Guide8
Legal and Safety Information
Safety Notices
The following general safety precautions must be observed during all phases of operation of this
instrument. Failure to comply with these precautions or with specific warnings or instructions
elsewhere in this manual violates safety standards of design, manufacture, and intended use of the
instrument. Keysight Technologies assumes no liability of the customer’s failure to comply with the
requirements.
General
Do not use this product in any manner not specified by the manufacturer. The protective
features of this product may be impaired if it is used in a manner not specified in the
operating instructions.
Environmental Conditions
Never use the instrument outside of the specified environmental conditions described
under Environmental Conditions.
Ground the Instrument
This product is provided with protective earth terminals. To minimize shock hazard, the
instrument must be connected to the AC mains through a grounded power cable, with
the ground wire firmly connected to an electrical ground (safety ground) at the power
outlet. Any interruption of the protective (grounding) conductor or disconnection of the
protective earth terminal will cause a potential shock hazard that could result in injury
or death.
Do Not Operate in an Explosive Atmosphere
Do not operate the instrument in the presence of flammable gases or fumes.
Do Not Remove the Instrument Cover
Only qualified, service-trained personnel who are aware of the hazards involved should
remove covers. Always disconnect external power.
Do Not Modify the Instrument
Do not install substitute parts or perform any unauthorized modification to the product.
Return the product to a Keysight Sales and Service Office for service and repair to
ensure that safety features are maintained.
Fuses
The instrument contains an internal fuse, which is not customer accessible.
9Keysight BT2152A Operating and Service Guide
Legal and Safety Information
Cleaning
To prevent electric shock, always unplug the unit before cleaning. Use a dry cloth or
one slightly dampened with water to clean the external case parts. Do not use
detergent or chemical solvents. Do not attempt to clean internally.
In Case of Damage
Instruments that are not functioning correctly, appear damaged or defective should be
made inoperative and secured against unintended operation until they can be repaired
by qualified service personnel.
Keysight BT2152A Operating and Service Guide10
Keysight BT2152A Operating and Service Guide
1
Quick Reference
Welcome
Models and Specifications
Command Quick Reference
1 Quick Reference
Welcome
What is self-discharge?
Self-discharge of an electrical cell is the loss of charge over time while not connected to any load.
Some amount of self-discharge is a normal attribute resulting from chemical reactions taking place
within the cell. Additional self-discharge can result from leakage current paths existing within the cell.
Particulate contaminants and dendrite growths produce internal “micro-shorts”, creating such
leakage current paths. These are not normal attributes and they can lead to catastrophic failure of the
cell. For this reason it is a priority to evaluate cells for self-discharge.
Electrically, self-discharge can be modeled as a high-value resistance existing in parallel across the
cell. Note that self-discharge current is very difficult to measure in practice. Usually a defective cell
can only be detected after days or weeks of aging. This is where the proprietary technology of the
Keysight BT2152A Self-Discharge Analyzer provides a superior method of measuring self-discharge
over other traditional methods.
Advantages of the Keysight BT2152A Self-Discharge Analyzer
The Keysight BT2152A Self-Discharge Analyzer uses a proprietary measurement technique to
determine the open-circuit discharge of the cell due to its internal parallel resistance. This proprietary
direct measurement technique lets you determine the quality of the cell within one to two hours after
the cell has been initially charged and rested. This can significantly reduce the test time required to
determine the self-discharge characteristic of the cell due to internal parallel resistance. Key test
features are as follows:
l The voltage applied to the cell is quickly matched (±5 μV) to the actual cell voltage. This minimizes
any new charge or discharge and limits any new RC settling to a minimum.
l The voltage applied to the cell is very stable (±10 μV
current noise on the self-discharge current measurement.
l The Measurement System accurately measures low-level self-discharge currents to ± (0.33% of read-
ing + 1 μA).
) to minimize continuing charge redistribution
peak
Contact Keysight Technologies
You can contact Keysight Technologies for warranty, service, or technical support.
Use www.keysight.com/find/assist for information on contacting Keysight worldwide, or contact your
Keysight Technologies representative.
12Keysight BT2152A Operating and Service Guide
Models and Specifications
Front and Rear Views
Specifications
Characteristics
Self-Discharge Measurement Criteria
External Temperature Measurement
Dimensions and Airflow
Models
l Keysight BT2152A - 32 channel Self-Discharge Analyzer
1 Quick Reference
Front and Rear Views
1. Line switchTurns the unit on or off
2. Status Indicators
and switches
Power: Green LED indicates power is on.
LAN: Green LED indicates the LAN connection is active. Flashing green indicates an LXI identification query is sent. Flashing blue indicates a SCPI command is received. Red indicates a
LAN fault.
Ready: Amber indicates the unit is warming up. A warmup time of 1 hour is required. Green
indicates the unit is ready to start the test.
Test: Flashing blue indicates that cell matching has been initiated. Blue indicates a test is running. Off indicates no test is running. Flashing orange indicates calibration.
Error: Red indicates an error has occurred. Off indicates protection is cleared.
LANreset: This recessed switch performs a software system LAN reset.
Aux: This switch is reserved for future use.
Stop: This switch aborts any current measurements and sequences. The unit returns to a state
of being ready for initialization.
3. Air InletAir inlet requires a minimum of 6 inch (15 cm) clearance
Keysight BT2152A Operating and Service Guide13
1 Quick Reference
4. Digital connectorAn 8-pin digital IO interface
5. USBUSB interface connector
6. LAN10/100/1000 Base-T
Left LED indicates link speed (Green 1 Gbps, Orange is 100 Mbps, Off is 10 Mbps with activity
blinking) Right LED indicates activity
7. Universal AC inputStandard IEC 320 connector
8. Calibration portCalibration port
9. Temperature sensorTemperature sensor input (requires an external 10 kΩ thermistor)
10. RJ45 connectorsEight RJ45 connectors for 32-channel cell connections (4 cell connections are available on
each RJ45 connector)
11. Air Outlets
1
The rear air outlet requires a minimum of 6 inch (15 cm) clearance
Specifications
Unless otherwise noted, specifications are warranted over the ambient temperature range of 20°C to
30°C after a 1 hour warm-up period.
ParameterSpecification
Number of channels:Standard 32 channels
Optional configurations available in 4- channel increments
Current measurement accuracy:
Voltage measurement accuracy:± (0.05% + 1 mV)
1
Current measurement accuracy is measured at 1 minute integration.
1
± (0.33% + 1 μA)
14Keysight BT2152A Operating and Service Guide
1 Quick Reference
Characteristics
Characteristics are not warranted but are descriptions of performance determined either by design or
by type testing. Characteristics are typical unless otherwise noted.
ParameterCharacteristic
Voltage measurement and output range:0.5 V to + 4.5 V
Indoor use, installation category II (for AC input), pollution degree 2
20°C to 30°C
Up to 80% (non-condensing)
Up to 2000 meters
-30°C to 70°C
+16.5 VDC/- 5 VDC between pins
Maximum low-level output voltage = 0.5 V @ 4 mA
Maximum low-level sink current = 4 mA
Typical high-level leakage current = 1 mA @ 16.5 VDC
Maximum low-level output voltage = 0.5 V @ 4 mA;
1 V @ 50 mA; 1.75 V @ 100 mA
Maximum low-level sink current = 100 mA
Typical high-level leakage current = 0.8 mA @ 16.5 VDC
Maximum low-level input voltage= 0.8 V
Minimum high-level input voltage= 2 V
Typical low-level current = 2 mA @ 0 V (internal 2.2k pull-up)
Typical high-level leakage current = 0.12 mA @ 16.5 VDC
Pin 8:
AC input
Range:
Frequency:
VA:
1
Output voltage stability is measured over 24 hours at 1 minute integration.
2
Specification applies at output terminals. Cabling and interconnect errors may degrade this significantly.
3
Maximum rate-of-change (dT/dt) must be <5°C/hour.
Pin 8 is common (internally connectedto chassis ground)
100-240 VAC
50/60 Hz
170 VA Max
Keysight BT2152A Operating and Service Guide15
1 Quick Reference
Self-Discharge Measurement Criteria
To quickly measure the self-discharge behavior of a Lithium ion cell requires characterizing a number
of test parameters, and verifying that their effect will result in a valid self-discharge measurement.
The following inequality describes the parameter constraints that must be satisfied for a valid selfdischarge measurement, one that results in a voltage value between 0.5 V and 4.5 V.
0.5V ≤ V
+ I*(6.2Ω + R
CELL
CABLES
+ R
- <res>) ≤ 4.5V
ESR
where
V
is the open circuit voltage of the cell. This can be provided by the user, or measured with the
CELL
Keysight BT2152A.
I is the instantaneous current obtained during the self-discharge test. This is the Keysight BT2152A’s
current measurement value. The inequality constraints must be satisfied for all measured current
results, both positive and negative. This includes the initial current, final settled current value, and any
transients that may occur. Note that the current measurement range for the unit is ±10 mA; however,
the resultant value should be positive and much lower than 10 mA -- usually in the 10 to 100
microampere range.
R
CABLES
is the resistance of the total cable wiring from the Keysight BT2152A to the cell under test.
This can be provided by the user through external measurements, or it can be calibrated directly by
the Keysight BT2152A’s CALibration:WIRE:RESistance:AUTO command. It can also be modified using
the SENSe:WIRE:RESistance:CONFigure command.
R
is cell’s internal equivalent series resistance. This can be provided by the user if necessary by
ESR
adding it to the resistance of the total cabling wiring from the Keysight BT2152A to the cell under test,
using the SENSe:WIRE:RESistance:CONFigure command. Typically this value is less than 10 mΩ.
<res> is the user-selected output resistance from 0.1 Ω to 10 Ω. This is the same value entered using
the INITiate:TEST:MATChed command.
External Temperature Measurement
The external temperature sensor input on the rear panel requires an external 10 kΩ thermistor.
Measurement InputCharacteristic
Thermistor Requirements:Negative Temperature coefficient (NTC)
10 kΩ Nominal Resistanceat 25°C
Programmable Beta value (4073 default)
Temperature measurement range:5°C to 100°C
Temperature measurement uncertainty:± 1.5°C
Maximum total lead resistanceallowed:10 Ω
16Keysight BT2152A Operating and Service Guide
Dimensions and Airflow
Do not block the air intake at the front and side, or the exhaust at the rear of the instrument.
1 Quick Reference
l The front air inlet requiresa minimum of 6 inches (15 cm) clearance. Inlet air temperature must be
within the temperature range of 20°C to 30°C.
l The rear air outlet requires a minimum of 6 inches (15 cm) clearance.
l The small air outlet on the left side of the unit must also be unrestricted, with a minimum clearance of
1.25 inches (30 mm) or more. Clearance to the instrument support rail could be as small as 10 mm if
rack mounted.
l The instrument should not be installed in a pressured rack or enclosure.
Keysight BT2152A Operating and Service Guide17
1 Quick Reference
Command Quick Reference
CALibration
:DATE <date>Sets the calibration date
:ENDEnds calibration
:LOADLoads the previous calibration values
:RESult? <value>Enters the resulting measurement for calibration
:SECure
:CODE <code>Sets a calibration security code
:STATe 0|OFF|1|ONSecures or unsecures calibration
:STARtInitiates calibration
:STEP <step>Steps through the different calibration processes
:STOReStores the cal constants in the EEPROM
:STRing <string>Stores a message in calibration memory
:VALue? <step>Returns the calibration constants of the step
:VERification
:ENDEnds the verification process
:STARt <channel>Starts the verification process
:VOLTage <voltage>Enters the output voltage for verification
:MEASure
:INITiate <time>, <tint>Starts a verification measurement
:WIRE
:RESistance
:AUTORuns auto-calibration of the wire resistance
:CLEarResets all wiring resistance values to zero
:LOAD <value>Loads the wiring resistance values from a file
:SAVE <value>Saves the wiringresistance values to a file
Common Commands
ABORtAborts the measurement in progress
*CAL?Initiates auto-calibration on all channels
*CLSClears status
*IDN?Returns instrument identification
*OPC?Returns "1" to the output buffer when all pending operations complete
*RSTResets the instrument
*STB?Status byte query
*TST?Self-test query
*WAIPauses command processing until all pending operations are complete
18Keysight BT2152A Operating and Service Guide
1 Quick Reference
[SOURce:]DIGital[SOURce:] is optional
:INPut
:DATA?Reads the state of the digital control port
:OUTPut
:DATA <value>Sets the state of the digital control port
:PIN<1-7>
:FUNCtion DIO|DINPut|FAULt|INHibitSpecifies the pin function
:POLarity POSitive|NEGativeSpecifies the pin polarity
FETCh
:CURRent
:LATest? (@<chanlist>)Returns the most recent measurements
:LOG? <values/chan> [,<offset/chan>], (@<chanlist>) Returns the measurement log in ASCii
:BINary? <values/chan>, (@<chanlist>)Returns the measurement log in binary
:POINts?Returns the number ofreadings available
:PROBecheck? (@<chanlist>)Returns results of the probe check test
:TEMPerature
:LATest?Returns the most recent temperature
:LOG? <values> [,<offset>]Returns the temperature log in ASCii
:LOG
:BINary? <values>Returns the temperature log in binary
:POINts?Returns the number ofreadings available
:VOLTage
:LATest? (@<chanlist>)Returns the most recent measurements
:LOG? <values/chan> [,<offset/chan>], (@<chanlist>) Returns the measurement log in ASCii
:LOG
:BINary? <values/chan>, (@<chanlist>)Returns the measurement log in binary
:POINts?Returns the number ofreadings available
:OCV? (@<chanlist>)Retrieves the open-circuit voltage values
FORMat
:BORDer NORM|SWAPSelects the byte order for binary block transfers
[,<tint>[,<curr>[,<ocp>]]], (@<chanlist>)
:OCV (@<chanlist>)Initiates an open-circuit voltage test
:PROBecheck (@<chanlist>)Initiates a probe check test
Keysight BT2152A Operating and Service Guide19
Sets parameters for the voltage matched
discharge current measurement
1 Quick Reference
LXI
:IDENtify[:STATe] 0|OFF|1|ONTurns the front panel LXI identify indicator on or off
OUTPut
:INHibit
:MODE LATChing|LIVE|OFFSets the operating mode of the Inhibit Input digital pin
:PROTection
:CLEarResets any protection events that have occurred
SENSe
:OCV
:AVAIlable?Returns availability of the OCV measurement
:PROBecheck
:AVAIlable?Returns availability of the probe check test
:THERmistor
:CONFigure <temp>, <resistance>, <beta>Specifies parameters for the external thermistor
:TTIMe
:REMaining?Returns the remaining time for the present test
:VERification
:AVAIlable?Returns availability of the calibration verification
:WIRE
:RESistance
:AVAIlable?Returns availability of the wire resistance values
:CONFigure <resistance>, (@<chanlist>) Specifies the wiring resistance of each channel
STATus
:ALARm
[:EVENt]?Queries the alarm event register
:CONDition?Queries the alarm condition register
:CURRent?Returns the sum ofthe over-current condition bits
:VOLTage?Returns the sum of the over-voltage condition bits
:UNDer?Returns the sum of the under-voltage condition bits
:ENABle <value>Sets the alarm enable register.
:OPERation
[:EVENt]?Queries the operation event register
:CONDition?Queries the operation condition register
:ENABle <value>Sets the operation enable register
20Keysight BT2152A Operating and Service Guide
1 Quick Reference
SYSTem
:COMMunicate
:ENABle 0|OFF|1|ON <interface>Enables or disables the remote interface
:LAN
:CONTrol?Reads the initial control connection port number
:DHCP 0|OFF|1|ONEnables or disables DHCP
:DNS[1|2] "<address>"Assigns static IP addresses of DNS servers
:DOMain?Returns the domain name
:GATeway "<address>"Assigns a default gateway address
:HOSTname "<name>"Assigns a hostname
:IPADdress "<name>"Assigns a static IP address
:MAC?Returns the instrument's MAC address
:SMASk "<mask>"Assigns a subnet mask
:TELNet
:PROMpt "<string>"Sets the command prompt for Telnet
:WMESsage "<string>"Sets the welcome message for Telnet
:UPDateSaves any changes made to the LAN settings
:WINS[1|2] "<address>"Assigns the static IP addresses of WINS servers
:DATE <yyyy>, <mm>, <dd>Sets the date of the system clock
:ERRor?Reads and clears one error from the error queue
:TIME <hh>, <mm>, <ss>Sets the time ofthe system clock
:TEMPerature?Returns the external sensor's temperature value
Keysight BT2152A Operating and Service Guide21
Keysight BT2152A Operating and Service Guide
2
Installing the Analyzer
Before Installation
Connect the Power Cord
Connect the Interfaces
Connect the Cell Cables
2 Installing the Analyzer
Before Installation
Inspect the Unit
When you receive your Keysight BT2152A Self-Discharge Analyzer, inspect it for any obvious damage
that may have occurred during shipment. If there is damage, notify the shipping carrier and nearest
Keysight Sales and Support Office immediately. Refer to www.keysight.com/find/assist.
Until you have checked out the unit, save the shipping carton and packing materials in case the unit
has to be returned.
Check for Items Supplied
Before getting started, check the following list and verify that you have received these items.
BT2152A ItemsDescriptionPart Number
Power cordA power cord suitable for your locationCall Keysight Sales & Support Office
LANcableLANinterface cable - cable is installedKeysight 8121-3010
L-COM TRD815OR-7
Digital connector8-pin connector for the digital portKeysight 1253-6408;
Phoenix Contact 1840421
Thermistor connector2-pin connector for an external thermistorKeysight 0360-3009
Phoenix Contact 1840366
Calibration connector3-pin connector for an calibration connectionsKeysight 0360-3038
Phoenix Contact 1840379
Thermistor cable2-meter cable with 10 k thermistor - used with thermistor con-
Calibration certificateCalibration certificatereferenced to serial numberNone
Keysight BT2152-61607
Refer to the box packing list for any additional items that may be included with your shipment. If
anything is missing, please contact your nearest Keysight Sales and Support Office.
Accessories
ItemsDescriptionPart Number
Verification KitVerification kit to simplify instrument verificationKeysight BT2152-60002
24Keysight BT2152A Operating and Service Guide
2 Installing the Analyzer
Review Safety Information
This instrument is a Safety Class 1 instrument, which means it has a protective earth terminal. That
terminal must be connected to earth ground through a power source equipped with an earth ground.
Refer to the Safety Notices page for general safety information. Before installation or operation, check
the instrument and review this guide for safety warnings and instructions. Safety warnings for specific
procedures are located at appropriate places throughout this guide.
Observe Environmental Conditions
Do not operate the instrument in the presence of flammable gases or fumes.
The environmental conditions of the instrument are documented under Characteristics. Basically, the
unit should only be operated indoors in a controlled environment. Do not operate the unit in areas
where the ambient temperature is outside the 20°C to 30°C range. This applies for rack-mounting as
well as for bench use.
Provide Adequate Air Flow
Do not block the air intake at the front and side, or the exhaust at the rear of the instrument.
The dimensions of your instrument as well as an outline diagram are given under Dimensions. Fans
cool the unit by drawing air through the front and exhausting it out the side and back. The unit must be
installed in a location that allows sufficient space of at least 6 inches (15 cm) at the front and back of
the unit for adequate air circulation.
Keysight BT2152A Operating and Service Guide25
2 Installing the Analyzer
Connect the Power Cord
FIRE HAZARD Use only the power cord that was supplied with your instrument. Using
other types of power cords may cause overheating of the power cord, resulting in fire.
SHOCK HAZARD The power cord provides a chassis ground through a third conductor.
Be certain that your power outlet is of the three-conductor type with the correct pin
connected to earth ground.
Connect the power cord to the IEC 320 connector on the rear of the unit. If the wrong power cord was
shipped with your unit, contact your nearest Keysight Sales and Support Office.
The AC input on the back of your unit is a universal AC input. It accepts nominal line voltages in the
range of 100 VAC to 240 VAC. The frequency can be 50 Hz or 60 Hz.
The detachable power cord may be used as an emergency disconnecting device.
Removing the power cord will disconnect AC input power to the unit.
26Keysight BT2152A Operating and Service Guide
2 Installing the Analyzer
Connect the Interfaces
LAN Connections
USB Connections
DIgital Port Connections
Thermistor Connections
If you have not already done so, install the Keysight IO Libraries Suite, which can be found at
www.keysight.com/find/iolib .
For detailed information about GPIB, USB, and LAN interface connections, refer to the
documentation included with the Keysight IO Libraries Suite.
LAN Connections
Equipment Damage Never insert any cell cables (RJ45) into the LAN connector.
The LAN and RJ45 terminals are NOT compatible.
1. Connect the instrument to the site LANor to your computer using the LAN cable that is connected to
the unit. The cable comes connected to prevent any output cables from being accidentally inserted
into the LAN connector.
The LAN cable comes installed to prevent any
cell cables from being accidentally inserted into
the LAN connector. If you need to remove the
LAN cable, insert a small screwdriver or equivalent into the hole and push down on the
cable latch to release it.
2. The as-shipped LAN settings are configured to automatically obtain an IP address from the network
using a DHCP server (DHCP is set On). The DHCP server will register the instrument's hostname with
the dynamic DNS server. The hostname as well as the IP address can then be used to communicate
with the instrument. If you are using a private LAN, you can leave all LAN settings as they are. Most
Keysight products and most computers will automatically choose an IP address using auto-IP if a
DHCP server is not present. Each assigns itself an IP address from the block 169.254.nnn. The frontpanel Lan indicator will come on when the LAN port has been configured.
3. Use the Connection Expert utility of the Keysight IO Libraries Suite to add the instrument and verify a
connection. To add the instrument, you can request the Connection Expert to discover the instrument.
If the instrument cannot be found, add the instrument using the instrument’s hostname or IP address.
4. You can now use Interactive IO within the Connection Expert to communicate with your instrument,
or program the instrument directly using the applicable SYSTem:COMMunicate:LAN commands.
Keysight BT2152A Operating and Service Guide27
2 Installing the Analyzer
USB Connections
1. Connect the instrument to the USB port on your computer using a customer-supplied USB cable. .
2. With the Connection Expert utility of the Keysight IO Libraries Suite running, the computer will
automatically recognize the instrument. This may take several seconds. When the instrument is
recognized, your computer will display the VISA alias, IDN string, and VISA address. This information is
located in the USB folder.
3. You can now use Interactive IO within the Connection Expert to communicate with your instrument,
or program the instrument directly using the applicable SYSTem:COMMunicate:LAN commands.
Digital Port Connections
Twist and shield all signal wires to and from the digital connector. With shielded wire, connect
only one end of the shield to chassis ground to prevent ground loops.
An 8-pin connector and a quick-disconnect connector plug are provided for accessing the digital port
functions. Refer to Items Supplied for part numbers. Disconnect the connector plug to make your wire
connections. The connector plug accepts wires sizes from AWG 14 (1.5 mm2) to AWG 28 (0.14 mm2).
Strip the wire insulation back 7 mm.
Information on using the digital port is found under Usingthe Digital Port. The electrical characteristics
are described under Common Characteristics.
Thermistor Connections
A 2-pin connector and a quick-disconnect connector plug are provided for the thermistor cable
connections. Use the provided thermistor cable. Refer to Items Supplied for the thermistor cable part
number.
1.
Insert wires
2.
Tighten screws
The thermistor provided with the cable is Keysight p/n 0837-4194; Amphenol Advanced Sensors
RL1005-5744-103-SA. Refer to SENse:THERmistor:CONFigure for additional information.
28Keysight BT2152A Operating and Service Guide
2 Installing the Analyzer
Connect the Cell Cables
Making the Cables
RJ45 WIre Colors Codes and Pinout Numbers
32-Channel Mapping to RJ45 Connectors
This section describes how to make and connect the cell cables.
Making the Cables
Two methods of cabling are available:
1. RJ45 to bare wire
Obtain off-the-shelf RJ45 CAT6+ shielded cables. Many lengths are available. For example:
Manufacturer = Belden. Part number = C6F1106010. Maximum allowable cable length = 25 meters.
Cut the cable in the middle. Now, you have two pieces half the previous length. Each piece has an
RJ45 on one side and bare wires on the other.
Connect the RJ45 CAT6+ cables from the instrument to the test fixture.
When using shielded cables like Cat 6A or Cat 7, leave the shield floating at the cell end of the
cable. The cable shield connects to the instrument chassis at the BT2152A end of the cable.
Wire resistance calibration is recommended when all RJ45 cables have been installed in the
instrument to allow for more accurate output resistance selections. Wire resistance
calibration is also recommended whenever any RJ45 connector is unplugged, reinserted, or
reseated. Wire resistance must be between 0Ω and 5Ω.
2. RJ45 to RJ45
Obtain off-the-shelf RJ45 CAT6+ shielded cables. Many lengths are available. For example:
Manufacturer = Belden. Part number = C6F1106010. Maximum allowable cable length = 25 meters.
Obtain off-the-shelf RJ45 board mount receptacles. For example: Manufacturer = Amphenol. Part
number = RJSSE-5380-04.
Mount the RJ45 receptacle on the test fixture. Connect the RJ45 CAT6+ cables from the instrument to
the receptacle.
Keysight BT2152A Operating and Service Guide29
2 Installing the Analyzer
When using shielded cables like Cat 6A or Cat 7, leave the shield floating at the cell end of the
cable. The cable shield connects to the instrument chassis at the BT2152A end of the cable.
Wire resistance calibration is recommended when all RJ45 cables have been installed in the
instrument to allow for more accurate output resistance selections. Wire resistance
calibration is also recommended whenever any RJ45 connector is unplugged, reinserted, or
reseated. Wire resistance must be between 0Ω and 5Ω.
RJ45 WIre Color Codes and Pinout Numbers
The following figures illustrate the color codes and pin-outs of two types of RJ45 connectors, as
viewed from the bottom of the connector.
The following table shows the mapping of the color-coded wires into both T-568A and T-568B
connectors. The table also shows the channel-assignment mapping of channels 1 through 4.
The following figure shows the channel assignments for the 32-channel self-discharge analyzer.
The following table shows the channel-assignment mapping of all 32 channels.
RJ45 #1
Channels 1 to 4
RJ45 #2
Channels 5 to 8
RJ45 #3
Channels 9 to 12
RJ45 #4
Channels 13 to 16
RJ45 #5
Channels 17 to 20
RJ45 #6
Channels 21 to 24
RJ45 #7
Channels 25 to 28
RJ45
Pin 8
-1+1-3-2+2+3-4+4
-5+5-7-6+6+7-8+8
-9+9-11-10+10+11-12+12
-13+13-15-14+14+15-16+16
-17+17-19-18+18+19-20+20
-21+21-23-22+22+23-24+24
-25+25-27-26+26+27-28+28
RJ45
Pin 7
RJ45
Pin 6
RJ45
Pin 5
RJ45
Pin 4
RJ45
Pin 3
RJ45
Pin 2
RJ45
Pin 1
RJ45 #8
Channels 29 to 32
-29+29-31-30+30+31-32+32
Keysight BT2152A Operating and Service Guide31
Keysight BT2152A Operating and Service Guide
3
Operating the Analyzer
Understanding Front Panel Operation
Using the Digital Port
Maintaining Cell Stability During Testing
3 Operating the Analyzer
Understanding Front Panel Operation
What Happens at power-on?
What happens whena test is initiated?
What happens whena test stops?
What happens whenthe reference temperature exceeds its specification?
What happens whena protection event or error occurs?
The following indicators and controls are on the front panel.
The AUX button is not active, and is reserved for future use.
What happens at power-on?
Turn the unit on with the front-panel Line switch.
It may take about 60 seconds or so for the unit to completely boot up.
When the unit is first turned on, the Power LED turns green, indicating that power is on.
The LAN indicator turns green when the LAN connection is active. Flashing green indicates an active
LXI identification state. Red indicates the LAN is disconnected. Pressing the LAN reset button on the
front panel will attempt to restore the LAN connection. If this does not work, restoring LAN
communication must be done using the test program.
The Ready indicator turns orange, indicating that the unit is warming up. A warm up time of about 1
hour is required for the unit to meet its specified performance. It is possible to send commands and
operate the unit during the warm up time, but it is advisable to allow the unit to fully warm up before
running any test. If power was cycled and off for less than 5 minutes after warmup, subsequent warm
up will be about 30 minutes.
The Ready status is driven by elapsed time. If the unit is powered off and then powered on
again, the Ready LED will again turn orange for about one hour.
The Test and Error indicators should be off. If the Error LED is red, either a protection event or an error
has occurred (see What happens when a protection event or error occurs?).
34Keysight BT2152A Operating and Service Guide
3 Operating the Analyzer
What happens when a test is initiated?
Before initiating a test, wait for the Ready indicator to change from orange to green, which means the
unit is warmed up and ready for testing. It is possible to send commands and operate the unit prior to
the LED changing to green, but it is advisable to let the unit warm up to meet specified performance.
The LAN indicator flashes blue when any SCPI commands or queries are sent.
The Test indicator flashes blue when the cell matching process has been initiated and is running.
The Test indicator stops flashing and turns solid blue when the cell measurement test is running and
data logging is occurring.
The Test indicator turns off when the measurement logging has completed.
What happens when a test stops?
Normally, a test runs for the duration of its programmed test time and then stops. A test can also be
stopped before the completion of its programmed time by pushing the Stop button or sending an Abort
command.
When a test stops or is stopped, the Test indicator turns off.
The Power, LAN, and Ready indicators are green. The Test and Error indicators are off.
What happens when the reference temperature exceeds its specification?
The Ready indicator turns orange when the internal reference temperature is slightly out of regulation.
There may be a problem with the airflow. Check that the airflow at the vents is unobstructed. Once the
internal temperature is restored, the Ready indicator will turn to green.
The Ready indicator flashes red when the internal reference temperature has increased to a point
where damage could occur. When this happens the internal heaters are disabled and the operating
temperature range will not be maintained. Turn the unit off, let it cool down, then turn it on to clear the
condition.
What happens when a protection event or error occurs?
The Error indicator turns red when either a protection event or an error has occurred.
If a protection event occurs on a channel, that channel is disconnected from the cell. You can continue
running the test on other channels. The channel that tripped protection remains disconnected from
the cell until protection is cleared.
If an error occurs, the instrument will continue to operate with errors present.
Clearing the protection event or error can only be done using the test program. There is no front panel
control to clear protection events or errors. Once the test program clears the protection event or error,
the Error LED turns off.
Keysight BT2152A Operating and Service Guide35
3 Operating the Analyzer
Using the Digital Port
Bi-Directional Digital I/O
Digital Input only
Fault Output
Inhibit Input
Fault/Inhibit System Protection
Digital Control Port
A Digital Control Port consisting of seven I/O pins is provided to access various control functions. Each
pin is user-configurable. The following control functions are available for the I/O pins.
The following table describes the possible pin configuration for the digital port functions. For a
complete description of the electrical characteristics of the digital control port, refer to the
Characteristics section.
FunctionDescription
DIOGeneral-purpose ground-referenced digital input/output function. The output can be setwith
[SOURce:]DIGital:OUTPut:DATA.
DINPutDigital input-only mode. The digital output dataof the pin is ignored.
FAULtApplies only to pin 1. Pin 1 functions as an isolated fault output. The fault signal is true when any output isin
a protected state. Pin 2 serves as theisolated common for pin 1. When pin 1 is setto the FAULtfunction, the
instrument ignores any commands to program pin 2. Queries of pin 2 will return FAULt. If pin 1 ischanged
from FAULtto another function, pin 2 is setto DINPut.
INHibitApplies only to pin 3. When pin 3 isconfigured as an inhibit input; a true signal at thepin will disable the out-
put.
CommonApplies only to pin 8. Connected to ground.
In addition to the configurable pin functions, the signal polarity (Positive or Negative) for each pin is
also configurable. For level signals, POSitive indicates a voltage high at the pin. NEGative indicates a
voltage low at the pin. For edge signals, POSitive means a rising edge and NEGative means a falling
edge.
Bi-Directional Digital I/O
Each of the seven pins can be configured as general purpose bi-directional digital inputs and outputs.
The polarity of the pins can also be configured. Pin 8 is the signal common for the digital I/O pins. Data
is programmed according to the following bit assignments:
36Keysight BT2152A Operating and Service Guide
3 Operating the Analyzer
Pin76 54 321
Bit Weight 6 (msb)5 43 21 0 (lsb)
The digital I/O pin can be used to control both relay circuits as well as digital interface circuits. The
following figure illustrates typical relay circuits as well as digital interface circuit connections using the
digital I/O functions
To configure the pins for digital I/O:
DIG:PIN1:FUNC DIO
DIG:PIN2:FUNC DIO
DIG:PIN3:FUNC DIO
DIG:PIN4:FUNC DIO
DIG:PIN5:FUNC DIO
DIG:PIN6:FUNC DIO
DIG:PIN7:FUNC DIO\\ sets the function for all 7 pins to digital IO
DIG:PIN1:POL POS
DIG:PIN2:POL POS
DIG:PIN3:POL POS
DIG:PIN4:POL POS
DIG:PIN5:POL POS
DIG:PIN6:POL POS
DIG:PIN7:POL POS\\ sets the function for all 7 pins to positive
DIG:OUTP:DATA 7\\ configures pins 1 through 7 as “0000111”
Digital Input
Each of the seven pins can be configured as digital input only. The polarity of the pins can also be
configured. Pin 8 is the signal common for the digital input pins. The pin status reflects the true
condition of the external signal that is applied to the pin. The pin state is not affected by the setting of
DIGital:OUTPut:DATA.
To configure the pins for digital input only:
Keysight BT2152A Operating and Service Guide37
3 Operating the Analyzer
DIG:PIN1:FUNC DINP
DIG:PIN2:FUNC DINP
DIG:PIN3:FUNC DINP
DIG:PIN4:FUNC DINP
DIG:PIN5:FUNC DINP
DIG:PIN6:FUNC DINP
DIG:PIN7:FUNC DINP\\ sets the function for all 7 pins to digital input
DIG:PIN1:POL POS
DIG:PIN2:POL POS
DIG:PIN3:POL POS
DIG:PIN4:POL POS
DIG:PIN5:POL POS
DIG:PIN6:POL POS
DIG:PIN7:POL POS\\ sets the function for all 7 pins to positive
DIG:INP:DATA?\\ reads the data on the pins
Fault Output
Pins 1 and 2 can be configured as a fault-output pair. The Fault Output function enables a fault
condition to generate a protection fault signal from the Alarm Status Group on the digital port.
Both pins 1 and 2 are dedicated to this function. Pin 1 is the Fault output; pin 2 is the common for pin 1.
This provides for an optically-isolated output. The polarity of pin 1 can also be configured. When the
pin polarity is positive, a fault condition causes the isolated output to conduct. Note that the Fault
output signal remains latched until the fault condition is removed and the protection circuit is cleared
using OUTput:PROTection:CLEar.
Pin 2's selected function is ignored. Pin 2 should be connected to the ground of the external
circuit.
To configure the Fault Output function:
DIG:PIN1:FUNC FAUL\\ sets the function for all 7 pins to digital IO
DIG:PIN1:POL POS\\ sets the function for all 7 pins to positive
Inhibit Input
Pin 3 can be configured as a remote inhibit input. The Inhibit input function lets an external input signal
disconnect or connect the input channels. The Inhibit input is level triggered. Pin 8 is the common for
pin 3.
Use the OUTput:INHibit:MODE command to specify the following non-volatile Inhibit input modes:
Latching, Live, or Off.
To configure the Inhibit Input function:
DIG:PIN3:FUNC INH\\ sets the function for pin 3 to Inhibit
DIG:PIN3:POL POS\\ sets the polarity for pin 3 to positive
OUTP:INH:MODE LIVE\\ sets the inhibit mode to Live
38Keysight BT2152A Operating and Service Guide
3 Operating the Analyzer
OUTP:INH:MODE LATC\\ sets the inhibit mode to Latched
OUTP:INH:MODE OFF\\ sets the inhibit mode to Off
Fault/Inhibit System Protection
As shown in the following figure, when the Fault outputs and Inhibit inputs of several instruments are
daisy-chained, an internal fault condition in one of the units will disconnect all channels without
intervention by either the controller or external circuitry. Note that when using the Fault/Inhibit signals
in this manner, both signals must be set to the same polarity.
Also, as shown in the figure, you can also connect the Inhibit input to a manual switch or external
control signal that will short the Inhibit pin to common whenever it is necessary to disconnect all
channels. Negative polarity must be programmed for all pins in this case. You can also use the Fault
output to drive an external relay circuit or signal other devices whenever a protection fault occurs.
Clearing a System Protection Fault
To restore all instruments to a normal operating condition when a fault condition occurs in a daisychained system protection configuration, two fault conditions must be removed:
1.
The initial protection fault or external Inhibit signal.
2.
The subsequent daisy-chained fault signal (which is sourced by the Inhibit signal).
Even when the initial fault condition or external signal is removed, the fault signal is still
active and will continue to disconnect the channels of all the units.
To clear the daisy-chained fault signal if the operating mode of the Inhibit input is Live, simply clear the
output protection on any ONE unit as explained under Clearing Protection Functions. If the operating
mode of the Inhibit input is Latched, turn off the Inhibit input on ALL units individually. To re-enable the
chain, re-program the Inhibit input on each unit to Latched mode.
Keysight BT2152A Operating and Service Guide39
3 Operating the Analyzer
Maintaining Cell Stability During Testing
A Cell's Percent State of Charge
Charge Redistribution and Equilibrium
Expected Self-Discharge Current and Temperature Dependency
Temperature Impact on Current Measurement
Impact of Stress and Vibration on Current Measurement
The voltage of most Lithium Ion cells is very sensitive to vibration and mechanical stress
or deflection. Once a self-discharge test has started, it is important that the cell not be
moved or disturbed, and is not subjected to vibration. The temperature sensor must be
mounted on or attached to the cell before the test and not touched or have its
connection adjusted during the test. Cells are microphonic – any touching or tapping
them, or any vibration or shock will affect the cell’s voltage and thus the measured
current value.
A Cell's Percent State of Charge
Self-discharge current is somewhat less for lower levels of percent state of charge (% SOC), falling off
at a greater rate below ~45% SOC. The cell’s voltage tends to be less stable and more temperature
sensitive at lower levels of % SOC. For these reasons, it is generally recommended that the cells
should ideally be at 60% SOC or higher for achieving good self-discharge current measurements.
Charge Redistribution and Equilibrium
Right after a cell is charged or discharged, it takes a considerable amount of time for the electron
charge to uniformly distribute itself within the cell and be at equilibrium. During this time, the cell’s
voltage is dropping or rising at an exponential rate, depending on whether it had been charged or
discharged. In comparison, when a cell’s charge is fully distributed and at equilibrium, its voltage falls
off at a much lower and linear rate, due to the internal self-discharge current. Depending on the cell’s
makeup, it can take from several days to two weeks for a cell to reach charge equilibrium.
When the cell is connected to the Keysight BT2152A, the system holds its output voltage constant
after it goes through the cell voltage matching process. If the cell is at charge equilibrium, the only
influence on the cell’s voltage is due to self-discharge. As the BT2152A holds its voltage constant, the
net result is the BT2152A needs to only replenish the self-discharge current to maintain constant
voltage. However, when a cell has recently been charged or discharged and then connected to the
BT2152A, additional charging current will be drawn from the BT2191A (after charging) or discharging
current will be sourced back into the BT2152A (after discharging) in addition to the self-discharge
current. The peak of this current can be several orders of magnitude greater than the self-discharge
current alone.
40Keysight BT2152A Operating and Service Guide
3 Operating the Analyzer
Expected Self-Discharge Current and Temperature Dependency
It is normal for cells to exhibit a small amount of self-discharge. It is difficult to definitively state what a
cell’s expected self-discharge current should be, as many factors exist regarding a cell’s design and
makeup that can affect this value. Notwithstanding, for cells at a room temperature of typically 23 °C,
testing has shown it can typically range from just a few micro-amperes for sub 1 Ah cells to 50 to 100
micro-amperes for 10 to 20 Ah cells.
All other things being equal, a cell’s self-discharge current can approximately double for a 10 °C
increase in temperature. This applies to good cells not exhibiting excessive self-discharge leakage
current caused by internal defects or other problems.
Temperature Impact on Current Measurement
A cell’s voltage temperature dependency can be expressed as a temperature coefficient of voltage
(TCV), and can be quantified in microvolts per degree C (μV/ °C). Since the BT2152A's method to
measure a cell’s self-discharge current relies on matching its internal voltage source to the cell’s
voltage and then connecting them together, it is easy to see how the self-discharge current
measurement is impacted by any change of the cell’s voltage afterward. Several things can be done to
reduce the effect of temperature on self-discharge current measurements:
l It turns out a cell’s TCV isdependent on its % SOC. It can vary from as low as zero at certain points to
as much as 100’s of μV/oC, typically at very low % SOC levels. Generally having the cell charged to
70% SOC or better helps reduce the cell’s TCV. Still, you may have to contend with a TCV in the range
of 20 to 100 μV/ °C
l An indoor test environment can experience a few degrees temperature cycle each day. The series res-
istance between the BT2152A and the cell affects the measurement’s sensitivity to the cell’s TCV
l Increasing this series resistance reduces the sensitivity to a cell’s TCV but increases the time it
takes for the measurement to settle to the final self-discharge current value.
l The BT2152A has a programmable series resistance for this purpose.
l Temperature sensitivity is a significant factor for larger cells, as they usually require a longer meas-
urement settling time due to their proportionally larger capacity.
l Depending on how long the self-discharge measurement takes, it may be necessary to take further
steps to hold the cell’s temperature steady. Possibilities include:
l Surrounding the cell with thermal insulation.
l Incorporating a substantial thermal mass (metal plate) that the cell is held against, to dampen tem-
perature change. The thermal mass can be passive or actively temperature regulated.
l Using a thermal chamber having a regulated temperature.
Keysight BT2152A Operating and Service Guide41
3 Operating the Analyzer
Impact of Stress and Vibration on Current Measurement
A cell’s voltage can be altered by mechanical stress and vibration. Any change of the cell’s voltage
impacts the self-discharge current. Static stress can induce a relatively fixed voltage shift while
vibrations can create substantial peak-to-peak deviations in the measurement. Take care to:
l not subject the cell to stress.
l isolate the cell from any direct vibration that may exist.
42Keysight BT2152A Operating and Service Guide
Keysight BT2152A Operating and Service Guide
4
Programming Reference
Introduction to the SCPI Language
Programming Samples
Commands by Subsystem
Status Tutorial
Reset and Interface Settings
SCPI Error Messages
4 Programming Reference
Introduction to the SCPI Language
Command Types
Keywords
Queries
Syntax Conventions
Parameter Types
Device Clear
Command Types
SCPI (Standard Commands for Programmable Instruments) is an ASCII-based instrument command
language designed for test and measurement instruments. SCPI has two types of commands,
common and subsystem.
Common commands are defined by the IEEE 488.2 standard to perform common interface functions
such as reset, status, and synchronization. All common commands consist of a three-letter mnemonic
preceded by an asterisk: *RST, *IDN?
Subsystem commands perform specific instrument functions. They can be a single command or a
group of commands. The groups are comprised of commands that extend one or more levels below
the root. Subsystem commands are arranged alphabetically according to the function they perform.
The following figure shows a portion of a subsystem command tree, from which you access the
commands located along the various paths.
INITiate
:TEST
:OCV (@1)
Keywords
Keywords, also referred to as headers, are instructions recognized by the instrument. Common
commands are also keywords.
INITiate is the root keyword, TEST is a second-level keyword, OCV is a third-level keyword. Colons ( : )
separate the keyword levels.
The command syntax shows most commands (and some parameters) as amixture of upper- and
lower-case letters. The upper-case letters indicate the abbreviated spelling for the command. For
shorter program lines, you can send the abbreviated form. For better program readability, you can
send the long form.
44Keysight BT2152A Operating and Service Guide
4 Programming Reference
In the above examples, INIT and INITiate are both acceptable forms. You can use upper- or lowercase letters. Therefore, INITIATE, init, and Init are all acceptable. Other forms such as INITiat, are not
valid and will generate an error.
Queries
Following a keyword with a question mark (?) turns it into a query (Example:
FETCh:CURRent:LATest?). If a query contains parameters, place the query indicator at the end of the
last keyword, before the parameters. Insert a space between the query indicator and the first
parameter.
You can query the programmed value of most parameters. For example, you can query the latest
current reading by sending:
FETCh:CURRent:LATest? (@1)
You must read back all the results of a query before sending another command to the instrument.
Otherwise, a Query Interrupted error will occur and the unreturned data will be lost.
Syntax Conventions
l Colons ( : ) separate keyword levels. Blank spaces must be used to separate command parameters
from their corresponding keyword. Note the space between VALue and the <voltage> parameter. If a
command requires more than one parameter, use a comma to separate adjacent parameters. In the following calibration command, the voltage and current value parameters must be separated with a
comma.
CALibration:VALue <voltage>, <current>
l
Triangle brackets ( < > ) indicate that you must specify a value for the enclosed parameter. In the
example above, the <voltage> parameter is enclosed in triangle brackets. The brackets are not sent
with the command string. You must specify a value for the parameter.
l
A vertical bar ( | ) separates multiple parameter choices for a given command string.
l
Square brackets ( [ ]) enclose some syntax elements - nodes and parameters for example. Thisindic-
ates that the element is optional and can be omitted. Thebrackets are not sent with the command
string. Any keyword enclosed in brackets is optional and can be omitted. However, if you are combining several commands within the same message string, you must include the optional commands
to place the command parser at the correct level in the hierarchy.
Keysight BT2152A Operating and Service Guide45
4 Programming Reference
Parameter Types
The SCPI language defines several data formats to be used in commands and queries.
Channel Parameter
The channel parameter <chanlist> is required to address one or more cell channels. Cell channels are
numbered from 1 to 32. It has the following syntax for the entire range of channels:
(@1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,
29,30,31,32)
or
(@1:32)
You can specify any combination of channels and ranges, provided the channels are in ascending
order, as follows:
(@1:8,10,12,14,16,18,20:32)
The channel list, shown as <chanlist> throughout this document, must be preceded with the @
symbol and must be enclosed in parentheses (). Query results are channel list order-sensitive. Results
are returned in the order they are specified in the list.
When adding a channel list parameter to a query, you must include a space character
between the query indicator (?) and the channel list parameter. Otherwise error –103,
Invalid separator will occur.
Numeric Parameters
Commands that require numeric parameters will accept all commonly used decimal representations
of numbers including optional signs, decimal points, and scientific notation. If a command accepts only
certain specific values, the instrument will automatically round the input numeric parameters to the
accepted values. The following command requires a numeric parameter to enable channels 1 through
4 in the alarm register:
STATus:ALARm:ENABle 15
Boolean Parameters
Boolean parameters represent a single binary condition that is either true or false. For a false
condition, the instrument will accept "OFF" or "0". For a true condition, the instrument will accept "ON"
or "1". When you query a Boolean setting, the instrument will always return "0" or "1". The following
command requires a Boolean parameter:
SYSTem:COMMunicate:LAN:DHCP OFF|0|ON|1
46Keysight BT2152A Operating and Service Guide
4 Programming Reference
ASCII String Parameters
String parameters can contain virtually any set of ASCII characters. A string must begin and end with
matching quotes; either with a single quote or a double quote. You can include the quote delimiter as
part of the string by typing it twice without any characters in between. The following command uses a
string parameter:
SYSTem:COMMunicate:LAN:DNS "198.105.232.4"
Device Clear
Device Clear is an IEEE-488 low-level bus message that you can use to return the instrument to a
responsive state. Different programming languages and IEEE-488 interface cards provide access to
this capability through their own unique commands. The status registers, theerror queue, and all
configuration states are left unchanged when aDevice Clear message is received.
Device Clear performs the following actions:
l If a measurement isin progress, it is aborted.
l The instrument returns to the trigger idle state.
l The instrument's input and output buffers are cleared.
l The instrument is prepared to accept a newcommand string.
The ABORt command is the recommended method to terminate an instrument
operation.
Keysight BT2152A Operating and Service Guide47
4 Programming Reference
Programming Samples
Setting up and running a test
Retrieving all test values
Stopping/aborting a test
Clearing protection events and errors
The unit requires a warm-up time of 1 hour for the measurement circuits to stabilize so that
the test results meet specifications. When the unit is fully warmed up, the front panel Ready
indicator changes from amber to green. You can send programming commands to the unit
while it is warming up; you just cannot calibrate the unit.
Setting up and running a test
You need only one command to set up and run a test. For example, send:
This command matches the cell open-circuit voltage at the start of the test and runs according to the
following settings:
Test duration in minutes: 75
Maximum voltage: 4.2
Minimum voltage: 2.8
Output resistance in ohms: 1.0
Time interval in seconds: 1.0
Initial cell current in amps: 0.0001
Over-current protection in amps: 0.001
Cell channels: 1 through 16.
The test begins immediately after sending this command.
The front panel Test indicator flashes blue when cell matching has been initiated. The indicator stops
flashing and remains blue during the entire time the discharge test is running. After about 75 minutes,
the test will stop, the Test indicator turns off, and the final discharge values are stored in the unit until
the host computer reads the data out.
INIT:TEST:PROB probe check and query sequence
The following initiates a probe check test and returns the status of the channel probes.
INIT:TEST:PROB (@1:16)
While(SENS:PROB:AVAIlable? == 0) \\ wait for data to become available
Sleep(1000);
FETC:PROB? (@1:16) \\ return comma-separated boolean values
48Keysight BT2152A Operating and Service Guide
4 Programming Reference
INIT:TEST:OCV measurement and query sequence
The following initiates an open-circuit voltage test and returns the measured open-circuit voltage.
INIT:TEST:OCV 4.2, 2.8, 0.001, 1, (@1:16)
While(SENS:OCV:AVAIlable? == 0) \\ wait for data to become available
Sleep(1000);
FETC:VOLT:OCV? (@1:16)
INIT:TEST:MATC measurement and query sequence
The following matches the cell open-circuit voltage, initiates a test sequence, and returns the latest
current and voltage measurement.
INIT:TEST:MATC 75, 4.2, 2.8, 1, 0.125, 0.0001, 0.001, (@1:16)
While(SENSe:TTIMe:REMaining? > 0) \\ wait for test to finish
Sleep(1000);
FETC:VOLT:LAT? (@1:16)
FETC:CURR:LAT? (@1:16)
Retrieving all test values
One command returns all test values from all specified cell channels. You can first query the number
of available measurement points. Then retrieve the measurements.
FETCh:CURRent:LOG:POINts? \\ returns the number of available points
FETCh:CURRent:LOG? 100, (@1:16)
This command retrieves 100 current measurements from channel 1 to 16. The readings are returned
sequentially in channel groups (i.e. x,x,x,x,x,x,x,x, ... y,y,y,y,y,y,y,y, ...) where x represents all the
measurements for channel 1, y represents all the measurements for channel 2 etc.
Measurement array query and retrieval
The intent here is to query how many points are available, then use that information to query UP TO
200 but not more than the number of points available per channel. If the FETCh command is sent
immediately after the INITiate:TEST command is sent, there may be no data to fetch for quite a while.
Because the INITiate:TEST commands could take hours to execute, it may be necessary to stop the
test in the middle to debug or fixa problem like a damaged fixture or cell installed backwards.
If the host computer is located in another building in a distributed factory environment, stopping the
program may not be practical.
The front panel Stop button can be used to immediately stop a test. This will safely stop the test
without losing test data or test configuration. Note that the ABORt command performs the same
function as the front panel Stop button.
Clearing protection events and errors
When the Error LED is red, either a protection event or an error has occurred and need to be cleared.
Protection events occur due to an over-voltage (OV), under-voltage (UV), or over current (OC)
condition. The unit will latch off and cannot be operated until the fault is cleared. To clear the fault the
cause of the fault must first be removed and then the protect status then needs to be cleared. These
faults are part of the Alarm Status Group.
To query if a protection event has occurred, send:
STATus:ALARm:EVENt?
The value returned indicates the type of protection event: Over-voltage = 1; Over-current = 2; Undervoltage = 512. The command reads and clears the fault when it is sent to the instrument. To determine
if the protection condition still exists, send:
If a value other than zero is returned when these commands are sent, the condition is still present and
must be removed. if the condition is no longer present, send the following command to clear
protection status. This will turn the front panel Error LED off.
OUTPut:PROTection:CLEar
Errors occur due to a variety of command processing errors, such as failing to read back the result from
a query command. The instrument will continue to operate with errors present. Note that the front
panel Error light does not turn on from command precessing errors.
To read and clear error codes send:
SYSTem:ERRor?
Each time this command is sent, one error is removed from the error queue. When the query returns a
zero, all error have been removed from the queue.
50Keysight BT2152A Operating and Service Guide
Commands by Subsystem
Calibration
CommonCommands
Digital
Fetch
Format
Initiate
LXI
Output
Sense
Status
4 Programming Reference
System
Keysight BT2152A Operating and Service Guide51
4 Programming Reference
Calibration Commands
Read the calibration section before calibrating. Improper calibration can reduce
accuracy and reliability.
CALibration:DATE <"date">
CALibration:DATE?
Stores the calibration date in nonvolatile memory. Enter any ASCII string up to 16 characters. The
query returns the date. If no date is stored, an empty quoted string ("") is returned.
ParameterTypical Return
<"date">String program data. Enclose string parameters in
single or double quotes.
Enter a calibration date: CAL:DATE "2/2/2017"
dateof last calibration
CALibration:END
Ends the calibration process. This command should be used after the calibration constants have been
set, but before storing the calibration using CAL:STOR.
ParameterTypical Return
(none)(none)
End calibration: CAL:END
CALibration:LOAD
Loads the previous calibration values. For example, this can be used if there has been an error in the
calibration procedure. This command is only valid prior to executing the CALibration:STORe command.
Once the CALibration:STORe command has been executed, the previous calibration values are
overwritten.
ParameterTypical Return
(none)(none)
Loads the previous calibration values: CAL:LOAD
CALibration:RESult? <value>
Used to enter the resulting measurement for calibration. The value entered depends on the
calibration step. The command returns a zero (0) if the calibration step was successful.
52Keysight BT2152A Operating and Service Guide
4 Programming Reference
ParameterTypical Return
<value> is the measured result0
Enter a calibration result: CAL:RES? 1.234567
l If a value other than zero is returned, an error has occurred. Send SYST:ERR? to return the error.
CALibration:SECure:CODE <code>
Sets the security code to prevent unauthorized calibration.
ParameterTypical Return
<code> integer from 1 to 10E32(none)
Enter a calibration code: CAL:SEC:CODE 1223334444
l Once set, you must unsecure the unit to calibrate it, or change the calibration string or security code.
l When shipped from the factory the instrument is unsecured, with the security code set to 0 (zero).
l You cannot update the firmware using the Keysight utility without the code if calibration islocked.
Initiates the calibration procedure. The command does the following:
l Sends a *RST command
l Closes the output relays on all channels
l Disables the OVP, UVP, OCP, and UCP protections
l Sets all instrument DACs to 3.5 V.
l Sets the calibration status bit
ParameterTypical Return
(none)(none)
Startcalibration: CAL:STAR
Keysight BT2152A Operating and Service Guide53
4 Programming Reference
CALibration:STEP <step>
CALibration:STEP?
Steps through the different calibration processes; executes a reset after the command is sent. The
query returns 0 (zero) if no step is sent.
StepCalibrating:
1Voltage value
2Voltage offset value
310 mA value
ParameterTypical Return
<step> number from 1-30-3
Execute calibration step 1: CAL:STEP 1
CALibration:STORe
Stores the calibration constants in the EEPROM. This step overwrites the previous calibration
constants. This command should be used after calibration has ended using CAL:END.
ParameterTypical Return
(none)(none)
Store thecalibration constants: CAL:STOR
CALibration:STRing <"string">
CALibration:STRing?
Stores a message in calibration memory. Common messages include the last calibration date,
calibration due date, or calibration contact information. You can perform this query regardless of
whether the instrument is secured.
ParameterTypical Return
Quoted string of up to 128 characters"Default Calibration"
To store a cal string: CAL:STR: "Calibration must be performed in the cal lab."
CALibration:VALue? <step>
Returns the reference calibration constants of the specified step. Values are either in volts or amps,
depending on the step. This allows you to query the reference calibration values before doing a new
calibration to see how far the references have shifted.
54Keysight BT2152A Operating and Service Guide
4 Programming Reference
ParameterTypical Return
<step> number from 1- 3calibration constant (Vor I)
Returns the calibration constant for step 1: CAL:VAL? 1
CALibration:VERification:END
Ends the verification process. This command should be used after the SENSe:VERify:AVAIlable
command returns a one (1) to indicate that the calibration verification has completed.
ParameterTypical Return
(none)(none)
End channel verification: CAL:VER:END
l If an ABORt, *RST or device clear command is sent while verification is in progress, all channel settings
will revert to their default settings.
CALibration:VERification:STARt <channel>
Initiates the channel verification procedure on the specified channels.
Initiates a measurement with the specified input parameters. The front panel Test light flashes orange
when this command is executed.
Keysight BT2152A Operating and Service Guide55
4 Programming Reference
ParameterTypical Return
<time> verification duration in seconds1
<tint> between samples in seconds, from 1 to 2501
Setthe time limitand time interval for verification: CAL:MEAS:TINT 10, 10
l The results can be returned with the FETCh commands (i.e. FETC:VOLT:LAT?, FETC:CURR:LOG?).
CALibration:WIRE:RESistance:AUTO
Runs auto-calibration of cable resistance on all 32 channels. This command takes about 18 minutes.
IMPORTANT Disconnect all LI cells from the cell cables. Short the ends of the cell cables
together.
ParameterTypical Return
(none)(none)
Startwireresistancecalibration: CAL:WIRE:RES:AUTO
l
Wire resistance values can be retrieved using SENSe:WIRE:RESistance:CONFigure? query.
l CALibration:WIRE:RESistance:SAVE must be sent to place the values in non-volatile memory.
l
Flashes the Test light orange, and sets the calibration bit while running.
CALibration:WIRE:RESistance:SAVE <value>
Saves the wire resistance values to the specified file location in non-volatile memory.
IMPORTANT Wire resistance values are reset to 0 after a factory reset (*RST) and at
instrument power on. If this occurs before the new calibration values are saved they will be
irretrievably lost.
ParameterTypical Return
<value> resistancefile name from 1- 5(none)
Save the wireresistance values in location 1: CAL:WIRE:RES:SAVE 1
l
This includes any changed values from the SENSe:WIRE:RESistance:CONFigure command.
l
To use the wire resistances after having performed the wire resistance calibration, a subsequent INITi-
ate:TEST:MATChed command must be performed without issuing a factory reset *RST.
56Keysight BT2152A Operating and Service Guide
4 Programming Reference
CALibration:WIRE:RESistance:LOAD <value>
Loads the wire resistance values from the specified file location.
ParameterTypical Return
<value> resistancefile name from 1- 5(none)
Loads the wire resistancevalues in location 1: CAL:WIRE:RES:LOAD 1
l
To use the wire resistances from a loaded resistance file, a subsequent INITiate:TEST:MATChed command must be performed without issuing a factory reset *RST.
CALibration:WIRE:RESistance:CLEar
Resets all the volatile wiring resistance values to 0 (zero). You must load a wire resistance file or run
auto-calibration in order to use non-zero resistance values.
ParameterTypical Return
(none)(none)
Resets thewireresistancecalibration values to zero: CAL:WIRE:RES:CLE
l Turning power on and the *RST will also reset all wiring resistance values to zero.
l Values saved to non-volatile memory are not cleared.
Keysight BT2152A Operating and Service Guide57
4 Programming Reference
Common Commands
ABORt
Aborts a measurement in progress, returning the instrument to the trigger idle state.
ParameterTypical Return
(none)(none)
Abort the measurement in progress: ABOR
*CAL?
Transfers the calibration values to the instrument channels. This calibration is automatic and can take
up to 1 hour. Returns a 0 (zero) when successful, and an error code otherwise.
IMPORTANT Remove all connections from the CAL connector on the rear panel of the
BT2152A before performing the channel calibration.
ParameterTypical Return
(none)0
Initiatetransfer of calibration values to channels: *CAL?
l The unit must pass self-test, which is run at the start of channel calibration. If self-test (*TST?) does
not pass, channel calibration will abort.
l
The unit must be warmed up. A warm up time of 1 hour is required before the unit can be calibrated.
The Ready indicator must be green, otherwise *CAL? will abort.
l If channel calibration fails, an error will be placed in the error queue with the channel number that
failed along with measurement information detailing the issue. Use SYSTem:ERRor? to read the error
queue. See SCPI Error Messages for more information.
l Sets the calibration status bit.
*CLS
Clear Status Command. Clears the event registers in all register groups. Also clears the Status Byte
and Error Queue. If *CLS immediately follows a program message terminator (<NL>), then the Output
Queue and the MAV bit are also cleared. Refer to Status Tutorial for more information.
ParameterTypical Return
(none)(none)
Clear Event register bits, Status byte, and Error queue: *CLS
58Keysight BT2152A Operating and Service Guide
4 Programming Reference
*IDN?
Identification Query. Returns instrument’s identification string, which contains four comma-separated
fields. The first field is the manufacturer's name, the second field is the instrument model number, the
third field is the serial number, and the fourth field is the firmware revision.
ParameterTypical Return
(none)<ASCII string with comma-separated fields>
Return the instrument's identification string: *IDN?
l Response format: Keysight Technologies,BTxxxxA,<serial number>,<revision codes>
l Typical return: Keysight Technologies,BT2152A,MY06009010,A.01.51-60-04-10
where:
A.01 = major firmware revision
.51 = minor firmware revision
-60 = primary FPGA revision
-04 = secondary FPGA revision
-10 = mainboard ID
*OPC?
Returns a 1 to the output buffer when all pending operations complete. The response is delayed until
all pending operations such as the INIT:TEST or calibration commands complete.
ParameterTypical Return
(none)1
Return a 1 when commands complete: *OPC?
l The purpose of this command is to synchronize your application with the instrument.
l Other commands cannot be executed until this command completes.
*RST
Reset Command Resets the instrument to pre-defined values that are either typical or safe. These
settings are described in Factory Reset State.
ParameterTypical Return
(none)(none)
Reset the instrument: *RST
l *RST forces the ABORt command. This cancels any measurement actions presently occurring.
l Allow at least 4 seconds for the *RST to complete. Set the IO timeout to >4 seconds.
Keysight BT2152A Operating and Service Guide59
4 Programming Reference
*STB?
Status byte query. Reads the Status Byte Register, which contains the status summary bits and the
Output Queue MAV bit. The Status Byte is a read-only register and the bits are not cleared when it is
read. Refer to Status Tutorial for more information.
ParameterTypical Return
(none)<bit value>
Read status byte: *STB?
*TST?
SelfTest Query. Performs an instrument self-test. A 0 (zero) indicates the instrument passed self-test.
If self-test fails, one or more error messages will provide additional information. Use SYSTem:ERRor?
to read the error queue. See SCPI Error Messages for more information.
ParameterTypical Return
(none)0 or 1
Perform self-test: *TST?
*WAI
Pauses additional command processing until all pending operations such as the INIT:TEST
commands are complete. See OPC for more information.
ParameterTypical Return
(none)(none)
Wait until all pending operations complete. *WAI
l *WAI can only be aborted by sending the instrument a Device Clear command.
60Keysight BT2152A Operating and Service Guide
4 Programming Reference
Digital Commands
Digital commands program the digital control port on the rear panel of the instrument. The [SOURce:]
keyword is optional.
[SOURce:]DIGital:INPut:DATA?
Reads the state of the digital control port. Returns the binary-weighted value of the state of pins 1
through 7 in bits 0 through 6 respectively.
ParameterTypical Return
(none)<bit value>
Reads the stateof the digital control port: DIG:INP:DATA?
Sets the state of the digital control port. This only affects the pins whose function has been set to
Digital IO operation. The port has seven signal pins and a digital ground pin. In the binary-weighted
value that is written to the port, the pins are controlled according to the following bit assignments:
Pin1 23 4567
Bit number01 23456
Decimal value1 24 816 3264
Bit values corresponding to digital port pins that are not configured as DIO are ignored.
Sets the pin polarity. POSitive means a logical true signal is a voltage high at the pin. For trigger inputs
and outputs, POSitive means a rising edge. NEGative means a logical true signal is a voltage low at
the pin. For trigger inputs and outputs, NEGative means a falling edge. The pin polarities are saved in
non-volatile memory.
ParameterTypical Return
POSitive|NEGativePOS or NEG
Sets pin 1 to POSitive polarity: DIG:PIN1:POL POS
62Keysight BT2152A Operating and Service Guide
4 Programming Reference
Fetch Commands
Fetch commands return measurement data that has been acquired once a test has been started using
the INITiate:TEST commands. They also return measurement data from an external thermistor
connected to the rear panel TEMP input.
Returns the current or voltage measurement log for the specified channels in binary. These
commands allow you to return all the data instead of being limited to 8192 values like ASCii readings.
Use the FORMat:BORDer command to format the binary data.
ParameterTypical Return
<values/chan> number of readings returned per channel<binary data string>
<chanlist> activechannels from 1 - 32(none)
Returns 10 current readings per channel in binary: FETC:CURR:LOG:BIN? 10, (@1:32)
Returns 10 voltage readings per channel in binary: FETC:VOLT:LOG:BIN? 10, (@1:32)
l The readings are returned sequentially in channel groups (i.e. xxxxxxxxyyyyyyyy ….)
Where x represents all measurements for channel 1, y represents all measurements for channel 2 etc.
Each data point takes up 64 bits. The values returned are 64-bit floating point numbers.
l The <values/chan> parameter specifies the number of readings. So, for example, if (@1:4) is the spe-
cified channel list and values/chan is specified as 10, a total of 40 values will be returned.
l The FETCh? query does not erase measurements from the reading memory.
l Use FETCh:CURRent:LOG:POINts? or FETCh:VOLTage:LOG:POINts? to query how many meas-
urement points are available.
l The instrument clears all measurements from reading memory whenever INIT is executed.
l If INITiate:TEST:MATChed hasbeen configured for a different channel group than the channel group
specified in this command, non-active channels will return +9.91000000e37 (not a number).
Returns the number of readings available per channel of the active channels specified in the INIT
command.
ParameterTypical Return
(none)4020
Returns the number of current readings available: FETC:CURR:LOG:POIN?
Returns the number of voltage readings available: FETC:VOLT:LOG:POIN?
l If you attempt to return more readings than are available, an error will be generated. You must include
any offset/chan values in the total number of readings available.
FETCh:PROBecheck? (@<chanlist>)
Returns the boolean results of the probe check test.
ParameterTypical Return
(none)Comma-separated boolean values
for the specified channels
0 indicates acell is NOT present
1 indicates acell is present
<chanlist> activechannels from 1 - 32(none)
Returns the probe checkresults for channels 1-32: FETC:PROB? (@1:32)
l If INITiate:TEST has been configured for a different channel group than the channel group specified in
this command, non-active channels will return 0.
FETCh:TEMPerature:LATest?
Returns the most recent temperature of the external thermistor connected to the rear panel TEMP
input (see Rear View).
ParameterTypical Return
(none)Comma-separatedvalues
from specified channels
Returns the latestexternal temperature: FETC:TEMP:LAT?
l
Same as SYSTem:TEMPerature? EXTernal
l The FETCh? query does not erase measurements from the reading memory. You can send the query
multiple times to retrieve the same data. 8192 is the maximum number of ASCii values that can be
returned in any one call.
l The instrument clears all measurements from reading memory whenever INIT is executed.
Keysight BT2152A Operating and Service Guide65
4 Programming Reference
FETCh:TEMPerature:LOG? <values> [,<offset>]
Returns the temperature measurement log of the external thermistor in ASCii.
ParameterTypical Return
<values> the number of reading to returnMultiple comma-separated values
<offset> optional value that offsets or skips the number of
readings returned from the beginning of the data log
Skips 5, then returns the next 10 temperature readings: FETC:TEMP:LOG? 10, 5
l The FETCh? query does not erase measurements from the reading memory. You can send the query
(none)
multiple times to retrieve the same data. 8192 is the maximum number of ASCii values that can be
returned in any one call.
l Use FETCh:TEMP:LOG:POINts? to query how many measurement points are available.
l The instrument clears all measurements from reading memory whenever INIT is executed.
FETCh:TEMPerature:LOG:BINary? <values>
Returns the temperature measurement log of the external thermistor in binary. This command allows
you to return all the data instead of being limited to 8192 values like ASCii readings. Use the
FORMat:BORDer command to format the binary data.
ParameterTypical Return
<values> number of reading to return<binary data string>
Returns 10 temperature readings in binary: FETC:TEMP:LOG:BIN? 10
l Each data point (value) takes up 64 bits. The values returned are 64-bit floating point numbers.
l The FETCh? query does not erase measurements from the reading memory.
l Use FETCh:TEMP:LOG:POINts? to query how many measurement points are available.
l The instrument clears all measurements from reading memory whenever INIT is executed.
FETCh:TEMPerature:LOG:POINts?
Returns the number of readings available in the temperature measurement log of the external
thermistor.
ParameterTypical Return
(none)4020
Returns the number of temperature readings available: FETC:TEMP:LOG:POIN?
l If you attempt to return more readings than are available, an error will be generated. You must include
any offset values in the total number of readings available.
66Keysight BT2152A Operating and Service Guide
4 Programming Reference
FETCh:VOLTage:OCV? (@<chanlist>)
Retrieves the open-circuit voltage (OCV) values. This command is only applicable when used in
conjunction with the INITiate:TEST:OCV command.
ParameterTypical Return
(none)Comma-separated OCV values
for the specified channels
<chanlist> activechannels from 1 - 32(none)
Returns the OCV values atthe startof the test: FETC:VOLT:OCV? (@1:32)
l If INITiate:TEST:MATChed hasbeen configured for a different channel group than the channel group
specified in this command, non-active channels will return +9.91000000e37 (not a number).
Keysight BT2152A Operating and Service Guide67
4 Programming Reference
Format Command
FORMat:BORDer NORMal|SWAPped
FORMat:BORDer?
Used for binary block transfers only. Selects the byte order for binary block transfers using FETCh?
ParameterTypical Return
NORMal|SWAPped; Default: SWAPSWAP
Selectthe normal byte order: FORM:BORD NORM
l In the NORMal byte order, the most-significant byte (MSB) of each data point is returned first and the
least significant byte is returned last.
l In the SWAPped byte order the least-significant byte (LSB) of each data point is returned first and the
most significant byte is returned last.
l The byte order setting is stored in non-volatile memory and does not change when power has been
off. The default value is restored after a reset (*RST).
l The most common setting for this command isSWAPped.
68Keysight BT2152A Operating and Service Guide
4 Programming Reference
Initiate Commands
These commands initialize and start the discharge test.
You can only execute one INIT:TEST at a time. For example, you cannot run
INIT:TEST:OCV on channel 1 while running INIT:TEST:MATCH on channel 2.
Sets all parameters for the voltage matched discharge current measurement. The query form returns
the present INIT:TEST:MATC parameters for each channel in the list.
ParameterTypical Return
<time> test duration in minutes (seetime interval between samples)5
<ovp> over-voltage protection in volts: from 0.5 V to 4.5 V; resolution: 0.1 mV4.0
<uvp> under-voltageprotection in volts: from 0.5 V to 4.5 V; resolution: 0.1 mV3.0
<res> output resistancein ohms: from 0.1 Ω to 10 Ω; resolution: 0.001 Ω1.0
optional <tint>time interval between samples in seconds: from 1 to 2501
optional <curr> initial cell current in amperes: from -10 mA to +10 mA; resolution: 0.1 μA0.001
optional <ocp> over-current protection in amperes: from -10 mA to +10 mA; resolution: 0.1 μA0.01
<chanlist> activechannels: from 1 - 32(none)
Configures channels 1:16 for a 6 hour test with OVPset to 4.2V, UVP setto 1.8V, output resistance 9 Ω , time interval 2s, initial cell
current 0.5mA, over-current protect1mA: INIT:TEST:MATC 360, 4.2, 1.8, 9, 2, 0.0005, 0.001, (@1:16)
Time Interval Parameter
The time interval <tint> parameter lets you specify an average time or time-between-samples where
the samples are averaged to return a single value. The range is from 1 to 250 seconds. The default
time interval is 1 second. The following table describes maximum test times for some typical time
intervals. To calculate the maximum test time in hours use Hours=(<tint> * 72)
TimeintervalMaximum test time
1 second (default)3 days
10 seconds30 days
60 seconds180 days
250 seconds750 days
Keysight BT2152A Operating and Service Guide69
4 Programming Reference
The following table gives the rate at which data can be returned based on the specified time interval
Initiates an open-circuit voltage test. The results can be retrieved with FETCh:VOLTage:OCV?. The
query form returns the present INIT:TEST:OCV parameters for each channel in the list.
ParameterTypical Return
<ovp> over-voltage protection in volts: from 0.5 V to 4.5 V; resolution: 0.1 mV4.0
<uvp> under-voltageprotection in volts: from 0.5 V to 4.5 V; resolution: 0.1 mV3.0
<ocp> over-current protection in amperes: from -10 mA to +10 mA; resolution: 0.1 μA0.01
<tint> time interval between samples in seconds: from 1 to 2501
<chanlist> activechannels: from 1 - 32(none)
Configures channels 1:16 for an open-circuitvoltagetest with OVPset to 4.2V, UVP setto 1.8V, over-current protect1mA, and
timeinterval 2s: INIT:TEST:OCV 4.2, 1.8, 0.001, 2, (@1:16)
INITiate:TEST:PROBecheck (@<chanlist>)
Initiates a probe check test to determine if a cell is connected to the specified channels in the channel
list. Send FETCh:PROBecheck? to return the results of the probe check. Send
SENSe:PROBecheck:AVAIlable? to check whether a probe check test has completed.
ParameterTypical Return
(none)(none)
Initiatea probe checktest on 16 channels: INIT:TEST:PROB (@1:16)
Turns the front panel LXI identify indicator on or off. When turned on, the "LAN" status indicator on the
front panel blinks on and off to identify the instrument that is being addressed.
ParameterTypical Return
0|OFF|1|ON0or1
To blink the front panel LXI indicator: LXI:IDENT ON
Sets the operating mode of the Inhibit Input digital pin (pin 3). The inhibit function disconnects or
connects the input channels in response to an external signal on the Inhibit input pin. See Using the
Digital Port.
LATChing - a logic-true signal on the Inhibit input causes the input channels to disconnect. The
channels remain disconnected until the Inhibit input is returned to logic-false and the latched INH
status bit is cleared by sending the OUTPut:PROTection:CLEar command.
LIVE - allows the input channels to follow the state of the Inhibit input. When the Inhibit input is true,
the channels are disconnected. When the Inhibit input is false, the channels are re-connected.
OFF - The Inhibit input is ignored.
ParameterTypical Return
LATChing|LIVE|OFF; *RSTOFFLATC, LIVE, or OFF
Sets the Inhibit Input to Live mode: OUTP:INH:MODE LIVE
OUTPut:PROTection:CLEar
Resets any protection events that have occurred. The protection settings are specified in the
INIT:TEST commands.
ParameterTypical Return
(none)(none)
Clear instrument protection: OUTP:PROT:CLE
72Keysight BT2152A Operating and Service Guide
4 Programming Reference
Sense Commands
SENSe:OCV:AVAIlable?
Returns the availability of the open-circuit voltage measurement. This command is only applicable
when used in conjunction with the INITiate:TEST:OCV command.
A one (1) is returned when the OCV measurement is completed. A zero (0) is returned when the OCV
measurement is unavailable or if the command was used with any other INIT command besides
INITiate:TEST:OCV.
ParameterTypical Return
(none)0 or 1
Returns the availability of OCV : SENS:OCV:AVAI?
SENSe:PROBecheck:AVAIlable?
Returns the availability of the probe check test.
A one (1) is returned when the probe check command is completed. A zero (0)is returned when the
probe check command is unavailable.
ParameterTypical Return
(none)0or 1
Returns the availability of the Probe checktest: SENS:PROB:AVAI?
Specifies the parameters for the external thermistor connected to the rear panel temperature sensor
input (see Thermistor Connections).
ParameterTypical Return
<temp> the nominal temperature of the thermistor in degrees C, from -272.15° C to 273.15° C25° C
<resistance> thenominal resistancein ohms, from 1 Ω to 1,000,000 Ω10,000
<beta> value from 1 to 1,000,0004073
Specifies the nominal temperature and resistance: SENS:THER:CONF 25, 10000, 4073
Keysight BT2152A Operating and Service Guide73
4 Programming Reference
SENSe:TTIMe:REMaining?
Returns the remaining test time in minutes for the test that is presently running.
ParameterTypical Return
(none)2.200000E+02
Returns the remaining testtime: SENS:TTIM:REM?
SENSe:VERification:AVAIlable?
Returns the state of the verification procedure. A one (1) is returned when the verification procedure is
completed. A zero (0) is returned when the verification is in progress.
ParameterTypical Return
(none)0or 1
Returns the stateof the verification procedure: SENS:VER:AVAI?
SENSe:WIRE:RESistance:AVAIlable?
Returns the state of the wire resistance calibration. A one (1) is returned when the wire resistance
calibration is completed and the wire resistance values are available. A zero (0) is returned when the
calibration is in progress.
ParameterTypical Return
(none)0or 1
Returns the stateof the wire resistance calibration: SENS:WIRE:RES:AVAI?
Specifies the resistance of the wiring of each channel. Refer to Wire resistance calibration for
moere information.
ParameterTypical Return
<resistance> theresistance of the wire in ohms, from 0 Ω to 5 Ω; resolution: 0.001 Ω;
Default: 0
0
<chanlist> activechannels from 1 - 32(none)
Specifies a wire resistanceof 0.188 Ω for channel 1: SENS:WIRE:RES:CONF 0.188, (@1)
Wire resistance calibration is required when all RJ45 connectors have been installed in the
instrument. Wire resistance calibration is also required whenever any RJ45 connector is
unplugged, reinserted, or reseated.
74Keysight BT2152A Operating and Service Guide
4 Programming Reference
Status Commands
Status commands let you determine the operating condition of the instrument at any time. Refer to
Status Tutorial for more information.
STATus:ALARm[EVENt]?
Returns the sum of the bits in the event register for the Status Alarm Register group. An event register
is a read-only register that latches events from the condition register. While an event bit is set,
subsequent events corresponding to that bit are ignored. The register bits are cleared when you read
the register.
ParameterTypical Return
(none)<bit value>
Read theevent alarm register: STAT:ALAR?
l Once a bit is set, it remains set until cleared by reading the event register or by sending *CLS (clear
status).
l The value returned is the binary-weighted sum of all bits set in the register.
STATus:ALARm:CONDiton?
Returns the sum of the bits in the condition register for the Status Alarm Register group. Condition
register bits are updated in real time; they are neither latched nor buffered. This register is read-only;
bits are not cleared when read. The alarm status group consists of the OVP, UVP, and OCP status bits
in the Status Questionable registers.
ParameterTypical Return
(none)<bit value>
Read theevent alarm register: STAT:ALAR:COND?
l The condition register bits reflect the current condition. If a condition goes away, the corresponding
bit is cleared in the condition register.
l The value returned is the binary-weighted sum of all bits set in the register.
STATus:ALARm:ENABle <value>
STATus:ALARm:ENABle?
Enables bits in the condition register for the Status Alarm Register group. The selected bits are then
reported to the Status Byte. An enable register defines which bits in the event register will be reported
to the Status Byte register group. You can write to or read from an enable register.
Keysight BT2152A Operating and Service Guide75
4 Programming Reference
ParameterTypical Return
A decimal value thatcorresponds to the binaryweighted sum of thebits in theregister.
Enable bits1, 2, and 8 in the enable register: STAT:ALAR:ENAB 259
l Use the <value> parameter to specify which bits will be reported to the Status Byte. The decimal value
+259 (bit 1, 2 and 8 set)
specified corresponds to the binary-weighted sum of the bits you wish to enable in the register.
l The enable setting value is stored in nonvolatile memory.
STATus:ALARm:CONDiton:CURRent?
Returns the sum of the bits feeding the over-current (OCP) condition bit in the Status Alarm Register
group. This is a 32-bit unsigned value, where each bit represents one channel. Channel 1 is
represented by bit 0; channel 32 by bit 31.
l The condition register bits reflect the current condition. If a condition goes away, the corresponding
bit is cleared in the condition register.
l The value returned is the binary-weighted sum of all bits set in the register.
STATus:ALARm:CONDiton:VOLTage?
Returns the sum of the bits feeding the over-voltage (OVP) condition bit in the Status Alarm Register
group. This is a 32-bit unsigned value, where each bit represents one channel. Channel 1 is
represented by bit 0; channel 32 by bit 31.
l The condition register bits reflect the current condition. If a condition goes away, the corresponding
bit is cleared in the condition register.
l The value returned is the binary-weighted sum of all bits set in the register.
STATus:ALARm:CONDiton:VOLTage:UNDer?
Returns the sum of the bits feeding the under-voltage (UVP) condition bit in the Status Alarm Register
group. This is a 32-bit unsigned value, where each bit represents one channel. Channel 1 is
represented by bit 0; channel 32 by bit 31.
l The condition register bits reflect the current condition. If a condition goes away, the corresponding
bit is cleared in the condition register.
l The value returned is the binary-weighted sum of all bits set in the register.
STATus:ALARm:ENABle <value>
STATus:ALARm:ENABle?
Enables bits in the condition register for the Status Alarm Register group. The selected bits are then
reported to the Status Byte. An enable register defines which bits in the event register will be reported
to the Status Byte register group. You can write to or read from an enable register.
ParameterTypical Return
A decimal value thatcorresponds to the binaryweighted sum of thebits in theregister.
Enable bit4 (value 16) in the enable register: STAT:ALAR:ENAB 16
l Use the <value> parameter to specify which bits will be reported to the Status Byte. The decimal value
+16 (bit 4 set)
specified corresponds to the binary-weighted sum of the bits you wish to enable in the register. For
example, to enable bit 4 (decimal value = 16) and bit 8 (decimal value = 256), the corresponding
decimal value would be 272 (16 + 256).
l The enable setting value is stored in nonvolatile memory.
STATus:OPERation[:EVENt]?
Returns the sum of the bits in the event register for the Standard Operation Register group. An event
register is a read-only register that latches events from the condition register. While an event bit is
set, subsequent events corresponding to that bit are ignored. The register bits are cleared when you
read the register.
l Once a bit is set, it remains set until cleared by reading the event register or by sending *CLS (clear
status).
l The value returned is the binary-weighted sum of all bits set in the register.
Keysight BT2152A Operating and Service Guide77
4 Programming Reference
STATus:OPERation:CONDition?
Returns the sum of the bits in the condition register for the Standard Operation Register group. This
register is read-only; bits are not cleared when read.
A condition register continuously monitors the state of the instrument. Condition register bits are
updated in real time; they are neither latched nor buffered
ParameterTypical Return
(none)<bit value>
Read theoperation status condition register: STAT:OPER:COND?
l The condition register bits reflect the current condition. If a condition goes away, the corresponding
bit is cleared.
l The value returned is the binary-weighted sum of all bits set in the register.
Sets and queries bits in the enable register for the Standard Operation Register group. The enable
register is a mask for enabling specific bits from the Operation Event register to set the OPER
(operation summary) bit of the Status Byte register. STATus:PRESet clears all bits in the enable
register.
ParameterTypical Return
A decimal value thatcorresponds to the binaryweighted sum of thebits in theregister.
Enable bit4 in theenable register: STAT:OPER:ENAB 16
l
*CLS does not clear the enable register, but does clear the event register.
Disables or enables instrument's use of DHCP. DHCP stands for Dynamic Host Configuration Protocol,
a protocol for assigning dynamic IP addresses to networked devices. With dynamic addressing, a
device can have a different IP address every time it connects to the network.
ON - the instrument tries to obtain an IP address from a DHCP server. If a DHCP server is found, it
assigns a dynamic IP address, Subnet Mask, and Default Gateway to the instrument.
OFF or DHCP unavailable - the instrument uses the static IP address, Subnet Mask, and Default
Gateway during power-on.
ParameterTypical Return
0|OFF|1|ON, Default: ON0or1
Disable DHCP: SYST:COMM:LAN:DHCP OFF
Keysight BT2152A Operating and Service Guide79
4 Programming Reference
l If a DHCP LAN address is not assigned by a DHCP server, then an Auto-IP address is obtained after
approximately 2 minutes. An Auto-IP addresshas the form 169.254.nnn.nnn.
l The DHCP setting is stored in non-volatile memory.
If you change this setting, you must send SYSTem:COMMunicate:LAN:UPDate to
activate the new setting.
Assigns the static IP addresses of Domain Name System (DNS) servers. A primary and a secondary
server address may be assigned. If DHCP is available and enabled, DHCP will auto-assign these
server addresses. These auto-assigned server addresses take precedence over the static addresses
assigned with this command. Contact your LAN administrator for details.
The optional query CURRent parameter returns the address currently being used by the instrument.
The optional query STATic parameter returns the static address from non-volatile memory. This
address is used if DHCP is disabled or unavailable.
Assigns a default gateway for the instrument. The specified IP Address sets the default gateway,
which allows the instrument to communicate with systems that are not on the local subnet. Thus, this
is the default gateway where packets are sent that are destined for a device not on the local subnet,
as determined by the Subnet Mask setting. Contact your LAN administrator for details.
The optional query CURRent parameter returns the address currently being used by the instrument.
The optional query STATic parameter returns the static address from non-volatile memory. This
address is used if DHCP is disabled or unavailable.
Assigns a hostname to the instrument. A hostname is the host portion of the domain name, which is
translated into an IP address. If Dynamic Domain Name System (Dynamic DNS) is available on your
network and your instrument uses DHCP, the hostname is registered with the Dynamic DNS service at
power-on. If DHCP is enabled, the DHCP server can change the specified hostname. Contact your
LAN administrator for details.
The optional query CURRent parameter returns the name currently being used by the instrument. The
optional query STATic parameter returns the name from non-volatile memory. This may not be the
actual name used by the instrument if DHCP is enabled.
ParameterTypical Return
String of up to 15 characters. Must startwithletter (A-Z) May contain
letters, numbers (0-9), or dashes ("-").
Assigns a static Internet Protocol (IP) address for the instrument. If DHCP is enabled, the specified
static IP address is not used. Contact your LAN administrator for details.
The optional query CURRent parameter returns the address currently being used by the instrument.
The optional query STATic parameter returns the static address from non-volatile memory. This
address may not be the actual address used by the instrument if DHCP is enabled.
Assigns a subnet mask for the instrument to use in determining whether a client IP address is on the
same local subnet. When a client IP address is on a different subnet, all packets must be sent to the
Default Gateway. Contact your LAN administrator for details.
The optional query CURRent parameter returns the address currently being used by the instrument.
The optional query STATic parameter returns the static address from non-volatile memory. This
address is used if DHCP is disabled or unavailable..
Specifies the welcome message seen when communicating with the instrument via Telnet.
ParameterTypical Return
Quoted string of up to 63 characters. Default: "Welcome
to theTelnet Session".
To seta command prompt:
SYST:COMM:LAN:TELN:WMES "Welcome to the TelnetSession"
l The instrument uses LAN port 5024 for SCPI Telnet sessions and port 5025 for SCPI Socket sessions.
l This setting isstored in non-volatile memory.
"Welcome to theTelnet Session"
SYSTem:COMMunicate:LAN:UPDate
Stores any changes made to the LAN settings into non-volatile memory and restarts the LAN driver
with the updated settings.
ParameterTypical Return
(none)(none)
The following configures theinstrument to use statically assigned LAN settings:
SYST:COMM:LAN:DHCP OFF
SYST:COMM:LAN:DNS "198.105.232.4"
SYST:COMM:LAN:DNS2 "198.105.232.5"
SYST:COMM:LAN:GAT "198.105.232.1"
SYST:COMM:LAN:HOST "LAB1-DMM"
SYST:COMM:LAN:IPAD "198.105.232.101"
SYST:COMM:LAN:SMAS "255.255.255.0"
SYST:COMM:LAN:WINS "198.105.232.4"
SYST:COMM:LAN:WINS "198.105.232.5"
SYST:COMM:LAN:UPD
The following configures theinstrument back to use DHCP:
SYST:COMM:LAN:DHCP ON
SYST:COMM:LAN:UPD
l This command must be sent after changing the settings for DHCP, DNS, gateway, hostname, IP
address, subnet mask, or WINS.
l Make all changes to the LAN settings before sending this command.
Assigns the static IP addresses of the Windows Internet Name System (WINS) servers. A primary and
a secondary server address may be assigned. If DHCP is available and enabled, DHCP will autoassign these server addresses. These auto-assigned server addresses take precedence over the
static addresses assigned with this command. Contact your LAN administrator for details.
84Keysight BT2152A Operating and Service Guide
4 Programming Reference
The optional query CURRent parameter returns the address currently being used by the instrument.
The optional query STATic parameter returns the static address from non-volatile memory. This
address is used if DHCP is disabled or unavailable.
SYSTem:DATE -Sets the date of the system clock. Specify the year (2000 to 2099), month (1 to 12),
and day (1 to 31).
SYSTem:TIME -Sets the time of the system clock. Specify hours (0 to 23), minutes (0 to 59), and
seconds (0 to 59).
ParameterTypical Return
<yyyy>,<mm>,<dd>+2017,+06,+30
<hh>,<mm>,<ss>20,30,00.000
Setthe dateto June 30, 2017: SYST:DATE 2017,06,30
Setthe clock to 8:30 PM: SYST:TIME 20,30,0
l The real-time clock does not adjust itself for time zone changes or daylight savings time.
SYSTem:ERRor?
Reads and clears one error from the error queue.
ParameterTypical Return
(none)+0,"No error"
Reads and clears the firsterror in error queue: SYST:ERR?
Keysight BT2152A Operating and Service Guide85
4 Programming Reference
l Error retrieval is first-in-first-out (FIFO), and errors are cleared asyou read them.
l If more have accumulated than the queue can hold, the last error stored in the queue (the most recent
error) is replaced with -350,"Error queue overflow". No additional errors are stored until you remove
errors from the queue. If no errors have occurred when you read the error queue, the instrument
responds with +0,"No error".
l The error queue is cleared when power is cycled. It is not cleared by a *RST.
l Errors have the following format (the error string may contain up to 80 characters).
<error code>,<error string> For a list of error codes and message strings, see SCPI Error Messages.
SYSTem:TEMPerature? EXTernal
Returns the temperature sensed across a 10 kΩ thermistor, which must be connected to the rear
panel TEMP input in °C (see Rear View).
ParameterTypical Return
EXTernal+2.41923802E+001
Return the temperature of the external thermistor: SYST:TEMP? EXT
l
Same as FETCh:TEMPerature:LATest?
l If nothing is connected to the external temperature connector, the command will return 9.91E37.
86Keysight BT2152A Operating and Service Guide
4 Programming Reference
Status Tutorial
Status Registers
Alarm Channel Groups
Alarm Status Group
Standard Operation Group
Status Byte Register
Error and Output Queues
Status Diagram
This section provides a detailed description of the individual registers and register groups. The status
diagram at the end of this topic shows how the status registers and groups are interconnected.
Status Registers
The Alarm Channle, Alarm Status, and Standard Operation groups use three different type of registers
to track qualify, flag, and enable instrument events.
l A Condition register continuously monitors the state of the instrument. The bits in the condition
register are updated in real time and the bits are not latched or buffered.
l An Event register latches the various events from the condition register. There is no buffering in this
register; while an event bit is set, subsequent events corresponding to that bit are ignored. Thisis a
read-only register.
l An Enable register defines which bits in the event register will be reported to the Status Byte register
group. You can write to or read from an enable register.
To program individual bits in any register group, you must send a value that corresponds to the binaryweighted value of all the bits that you wish to enable. For example, to enable bit 2 (decimal value = 4)
and bit 4 (decimal value = 16), the corresponding decimal value would be 20 (4 + 16).Similarly, any
register queries return the binary-weighted value of the bits that have been set. For example, with bit
3 (value 8) and bit 5 (value 32) being set, the query returns +40.
Alarm Channel Groups
These registers record signals that indicate abnormal conditions on specific channels. There are three
condition groups - one for each abnormal condition: over-voltage, over-current, and under-voltage.
The group channel assignments are 32-bit unsigned values where each bit represents one channel.
Channel 1 is represented by bit 0; channel 32 by bit 32. A “1” in a bit position indicates that the
indicated alarm condition is true. When true, the affected channel is shut down.
The channel bits are logically-ORed into bits 0, 1, and 9 of the Alarm Status Group. The following table
describes the bit assignments.
Keysight BT2152A Operating and Service Guide87
4 Programming Reference
BitBitNameDecimal Value
0Channel 11
1Channel 22
2Channel 34
.
.
.
29Channel 30536870912
30Channel 311073741824
31Channel 322147483648
.
.
.
.
.
.
Alarm Status Group
These register groups record signals that indicate abnormal operation. The group consists of a
Condition, Event, and Enable register. The outputs of the Alarm Status group are logically-ORed into
the QUEStionable summary bit (3) of the Status Byte register. Refer to Status Registers for a
description of each register. The following table describes the bit assignments.
BitBitNameDecimal ValueDefinition
0OVP1Over-voltage protection
1OCP2Over-current protection
2-8not usednot used0 is returned
9UVP512Under-voltage protection
10-15not usednot used0 is returned
Standard Operation Group
These register groups record signals that indicate the present operating status of the instrument. The
group consists of a Condition, Event, and Enable register. The Standard Operation event register
latches events relating to the operation of the unit. It is a read-only register that is cleared when read.
The Standard Operation enable register functions similarly to the enable registers of the Alarm Status
group. Refer to Status Registers for a description of each register. The following table describes the
bit assignments.
88Keysight BT2152A Operating and Service Guide
4 Programming Reference
BitBitNameDecimal ValueDefinition
0Calibrating1Instrument calibration has been initiated.
1Warm Up2The instrument is warming up.
2Emergency Stop4An emergency stop condition has been activated.
3not usednot used0 is returned
4Measuring16A cell measurement is in progress.
5-7not usednot used0 is returned
8Config changed256The cell configuration has changes since the previous testhas run.
9-11not usednot used
12Temperature
unregulated
13Global Error8192A remote interface has errors in the error queue. SYSTem:ERRor? reads and deletes
14-15not usednot used0 is returned
4096The referencetemperature of the instrument cannot be maintained within specifications
during the execution of an INIT command.
errors.
Status Byte Register
This register summarizes the information from all other status groups as defined in the IEEE 488.2
Standard Digital Interface for Programmable Instrumentation. The following table describes the bit
assignments.
BitBitNameDecimal ValueDefinition
0not usednot used0 isreturned
1Alarm Status
Summary
2Error Queue4One or more errors in the Error Queue. SYSTem:ERRor? reads and deleteserrors.
2One or more Status Alarm conditions have occurred. Use STATus:ALARm:EVENt? to
read and deleteerrors.
3not usednot used0 isreturned
4Message
Available
5not usednot used0 isreturned
6Master Status
Summary
7Operation Status
Summary
16Data is available in the instrument's output buffer.
64One or more bits are setin the Status Byte Register and may generate a Service
Request. Bits must beenabled, see *SRE.
128One or more bits are set in the Operation Status Register. Bitsmust be enabled, see
STATus:OPERation:ENABle.
Keysight BT2152A Operating and Service Guide89
4 Programming Reference
Error and Output Queues
The Error Queue is a first-in, first-out (FIFO) data register that stores numerical and textual description
of an error or event. Error messages are stored until they are read with SYSTem:ERRor? If the queue
overflows, the last error/event in the queue is replaced with error -350,"Queue overflow".
The Output Queue is a first-in, first-out (FIFO) data register that stores instrument-to-controller
messages until the controller reads them. Whenever the queue holds messages, it sets the MAV bit
(4) of the Status Byte register.
MSS Bit
MSS is a real-time (unlatched) summary of all Status Byte register bits that are enabled by the Service
Request Enable register. MSS is set whenever the instrument has one or more reasons for requesting
service. *STB? reads the MSS in bit position 6 of the response but does not clear any of the bits in the
Status Byte register.
90Keysight BT2152A Operating and Service Guide
Status Diagram
4 Programming Reference
Keysight BT2152A Operating and Service Guide91
4 Programming Reference
Reset (*RST) and Interface Settings
Reset State settings are set when the unit is reset.
ParameterSetting
Over-current protection:1.00e-2
Over-voltageprotection:4.0
Under-voltage protection:3.0
Output resistance:1.0
Open-circuit voltage:3.5
Initial cell current:1.00e-3
Output inhibitmode:OFF
Testduration:5 minutes
Timeinterval <tint>:1 second
Interface Settings are the default factory settings.
ParameterSetting
LANinterface:enabled
USB interface:enabled
DHCP:On
Auto IP:On
IP Address:169.254.4.61
Subnet Mask:255.255.0.0
Default Gateway:0.0.0.0
DNS Server:0.0.0.0
Host Name:K-2152A-nnnnn (where nnnnn is last 5 digitsof
the serial number)
LANServices:All enabled
Telnetprompt:"BT2152A> "
IP addresses of Windows Internet
Name System
0.0.0.0
Power must cycled for interface enable or LAN service changes to take effect.
LAN settings changes require a LAN restart.
92Keysight BT2152A Operating and Service Guide
4 Programming Reference
SCPI Error Messages
l Up to 20 errors can be stored in the error queue.
l A global error queue holds all power-on and hardware-related errors (example: over-temperature).
l Error retrieval is first-in-first-out (FIFO), and errors are cleared asyou read them. Once you have read
all interface-specific errors, the errors in the global error queue are retrieved.
l If more than 20 errors have occurred, the last error stored in the queue (the most recent error) is
replaced with -350,"Error queue overflow". No additional errors are stored until you remove errors
from the queue. If no errors have occurred when you read the error queue, the instrument responds
with +0,"No error".
l
Error conditions are also summarized in the Status Byte Register. See Status Subsystem for details.
l Interface-specific error queues are cleared by power cycles. The error queue is not cleared by *RST.
l The SYSTem:ERRor? query reads and clears one error from the error queue. Errors have the following
format -113,"Undefined header". The error string may contain up to 255 characters.
Error List
Device-dependent Errors (these errors set Standard Event Status register bit #3)
201, "Memory lost: time and date";
Internal calibration time and date is lost
202, "Selftest failed";
The power-on self-test has failed
204, "NVRAM checksum error";
A non-volatile RAM checksum error has occurred in the instrument
205, "NVRAM full";
The non-volatile RAM memory in the instrument is full
206, "File not found";
The internal calibration file was not found in NVRAM
207, "Power rail fault";
One or more of the internal power rails have failed
208, "Power supply fault";
One or more of the internal power supplies have failed
210, "diagnostic error";
An internal diagnostic error has occurred in the instrument
Keysight BT2152A Operating and Service Guide93
4 Programming Reference
220, "data is not available";
Measurement data is not available. No measurement readings have occurred
230, "External temperature sensor not connected.";
The external temperature sensor is not connected to the TEMP input
231, "Internal temperature not within limits.";
The internal reference temperature is not within the specified limit
250, "Error during self-discharge measurement";
A self-discharge measurement error has occurred. Error condition specific messages will be appended
to this generic message.
270, "Readings not being collected";
Measurement readings are not being collected as the collection engine is not running.
271, "Not enough reading points collected";
Not enough reading points have been collected to return a measurement
309, "Incorrectly formatted channel list";
The channel list is incorrectly formatted. Check channel syntax -should be (@1:32) or similar.
316, "Mass storage error";
The mass storage memory has been exceeded
320, "Exceeded max number of licensed channels";
The command is specifying more channels than are supported by the installed license.
610, "Self Test Failure: Multiple errors during self test";
Multiple errors have occurred during self-test
611, "Self Test Failure: Voltage reference failed";
The internal reference voltage has failed during self-test.
612, "Self Test Failure: 10 mA Reference failed";
The internal 10 mA reference has failed during self-test.
613, "Self Test Failure: 100 mA Reference failed";
The internal 100 mA reference has failed during self-test.
680, "Incorrect cal password";
An incorrect calibration password has been entered
700, "Unknown calibration error occurred";
94Keysight BT2152A Operating and Service Guide
4 Programming Reference
An unknown calibration error occurred
701, "Calibration has not been started.";
The command used requires the instrument to be in calibration mode.
702, "The calibration result is out of the expected range.";
The calibration value entered from the DVM is outside of the expected range
703, "Error during auto calibration.";
An error has occurred during transfer calibration. Try running auto calibration again
800, "Nonvolatile memory write failure";
The instrument could not write to nonvolatile memory
Command Errors (these errors set Standard Event Status register bit #5)
-123, "Numeric overflow"
The numeric value returned is larger than the expected value
-203, "Command protected; instrument must be unsecured";
Calibration mode requires a password to unsecure the instrument
-213, "INIT ignored";
The INIT:TEST command is ignored. There is already an init running.
-221, "Settings conflict; invalid tint. ";
A test could not be executed because of invalid time interval parameter.
-221, "Settings conflict; invalid test duration. ";
A test could not be executed because of invalid test duration parameter.
A test could not be executed because the lower limit is greater than the upper limit parameter.
-221, "Settings conflict; cell open circuit voltage must be between over and under voltage. ";
A test did not execute because the open circuit voltage must be between the over and under voltage.
-222, "Data out of range; value clipped to upper limit";
The measured data is out of range; the returned value is clipped to the upper limit.
-222, "Data out of range; value clipped to lower limit";
The measured data is out of range; the returned value is clipped to the lower limit.
-222, "Parameter 1 out of range";
The command could not be executed because the 1st parameter is out of range.
Keysight BT2152A Operating and Service Guide95
4 Programming Reference
-222, "Parameter 2 out of range";
The command could not be executed because the 2nd parameter is out of range.
-222, "Parameter 3 out of range";
The command could not be executed because the 3rd parameter is out of range.
-222, "Parameter 4 out of range";
The command could not be executed because the 4th parameter is out of range.
-222, "Parameter 5 out of range";
The command could not be executed because the 5th parameter is out of range.
-222, "Parameter 6 out of range";
The command could not be executed because the 6th parameter is out of range.
-222, "Parameter 7 out of range";
The command could not be executed because the 7th parameter is out of range.
-222, "Parameter 8 out of range";
The command could not be executed because the 8th parameter is out of range.
-222, "Parameter 9 out of range";
The command could not be executed because the 9th parameter is out of range.
-250, "Mass storage error; internal file system could not be opened";
The command could not be executed because the internal file system could not be opened
-250, "Mass storage error; USB file system could not be opened";
The command could not be executed because the USB file system could not be opened
-253, "Corrupt media; internal file system scan failed";
The command could not be executed because the internal file system scan failed
-253, "Corrupt media; internal file system format failed";
The command could not be executed because the internal file system format failed
-253, "Corrupt media; file system corruption detected; reformat needed";
The command could not be executed because the internal file system is corrupted
-253, "Corrupt media; USB file system scan failed";
The command could not be executed because the USB file system scan failed
-350, "Error queue overflow";
The error queue is full. No additional errors can be stored until errors are removed from the queue.
96Keysight BT2152A Operating and Service Guide
Keysight BT2152A Operating and Service Guide
5
Verification and Calibration
Verification Procedure
Reference Calibration
Channel Calibration
Wire Resistance Calibration
Calibration Security Reset
Maintenance
5 Verification and Calibration
Verification Procedure
Introduction
Verification is recommended to verify that the instrument is working properly during incoming
inspection - as an acceptance test. Verification is also recommended if you notice suspicious
instrument behavior or if there is a question about the performance of the instrument. Verification
procedures can be time consuming as they verify the operation of a single channel at a time.
Performing a reference calibration and a channel calibration provides the same high
level of confidence as the manual channel-by-channel verification process.
Verification is not necessary as part of a standard maintenance cycle. It is also not necessary after
performing any of the calibration procedures, as the calibration processes verify that the reference
and channels are functioning within specification.
Verification commands set each channel to a specific output level, which can then be used to verify the
specified accuracy of the channel at that operating point. If the instrument fails any of the verification
tests, try performing the Reference and Channel calibrations again. If verification is still unsuccessful,
return the unit to a Keysight Technologies Service Center.
Verification Equipment and Considerations
l A 7½-digit DMM, Keysight 34470A (Run auto-calibration on the DMM prior to starting)
l A 442-ohm ¼ watt through-hole resistor, Keysight P/N 0698-4591 or equivalent
l The ambient temperature is stable and between 23 °C ±2 °C. Relative humidity is <80%
l The BT2152A must be warmed up for at least 1 hour prior to verification tests
External DMM Connections and Setup
The verification setup shown for channel 1 on a single RJ45 connector. Channels are verified one at a
time. Channels are in groups of four, each group connected to one RJ45 connector.
Zero-current verification
Full-scale current verification
Voltage verification
98Keysight BT2152A Operating and Service Guide
5 Verification and Calibration
Building a multi-channel breakout board assembly can simplify verification, especially when planning
to verify all the channels. This can be constructed by wiring all BT2152A channels in parallel at the
breakout board. Only one channel can be tested at a time with this arrangement (see Optional
Verification Assembly).
Zero-Scale Current Accuracy Verification
Verifying the measurement system at zero, the bottom of the range, verifies contribution due to offset
errors in the system. A significant consideration here is verifying the extremely low + 1 µA offset
specification of BT2152A’s current measurement system. Noise inherent in the BT2152’s output
typically requires a 1-minute measurement integration time be used with the DMM to average the
noise out down to a + 1 µA level. However, this can be circumvented by testing the channel at zero by
using an open circuit. For this reason, the BT2152A’s zero-scale current measurement is verified prior
to making any connection to any channel.
The zero-scale current measurement accuracy procedure is a s follows:
No channel connections are required for the zero-scale current accuracy verification.
Step 1. Start the verification. Send CAL:VER:STAR <channel>
Verification Step 1Setting
Selectthe channel to verify1
Step 2. Wait 15 seconds for the unit to settle before proceeding with measurements
Step 3. Start the zero-scale current verification. Send CAL:VER:MEAS:INIT <time>, <tint>. The front
panel TEST light flashes orange when this command is executed.
Verification Step 3Setting
Setthe time for the measurement in seconds<time> = 10
Setthe interval the measurement in seconds<tint> = 10
Step 4. Wait for the measurement time set in step 3 to complete. Either send SENS:VER:AVAI? until
the query returns a "1", or wait until the front panel TEST light turns off.
Step 5. Fetch the measurement reading from the BT2152A. Send FETC:CURR:LAT? (@channel)
Verification Step 5Setting
Return the measurement data from achannel@1
Step 6. Verify that the zero-scale current error is within the specified accuracy provided in the Quick
Reference section of this guide.
Step 7. If verifying multiple channels, repeat steps 1 through 7 for the rest of the channels.
Step 8. End the zero-scale current verification. Send CAL:VER:END
Keysight BT2152A Operating and Service Guide99
5 Verification and Calibration
Full-Scale Current Accuracy Verification
Current measurement accuracy is verified near or at the 10-mA full-range current. Gain error is
significant at the top of the range and adds to any offset error in the system.
Step 1. Connect a 7.5 digit (or better) DMM to the RJ45 connector as shown under the Full-scale
current verification figure. Place the external resistor in series with the DMM.
Step 2. Set the DMM for DC current measurement, 10 mA range, and 10 PLCs (to integrate noise).
Step 3. Start the verification. Send CAL:VER:STAR <channel>
Verification Step 3Setting
Selectthe channel to verify1
Step 4. Set an output voltage. Send CAL:VER:VOLT <voltage>
Verification Step 4Setting
Setthe top-end current measurement range. (4.5 V
provides approximately 10 mA with the 442-ohm
resistor in place.)
Specify the channel to be testedchannel 1
<voltage> = 4.5
Step 5. Wait 15 seconds for the BT2152A to settle before proceeding with measurements.
Step 6. Initiate a measurement. Send CAL:VER:MEAS:INIT <time>, <tint>. The front panel TEST light
flashes orange when this command is executed.
Verification Step 6Setting
Setthe time for the measurement in seconds<time> = 10
Setthe interval the measurement in seconds<tint> = 10
Step 7. While the BT2152A is performing its measurements, take a current reading with the DMM and
record this value.
Step 8. Wait for the measurement time set in step 6 to complete. Either send SENS:VER:AVAI? until
the query returns a "1", or wait until the front panel TEST light turns off.
Step 9. Fetch the measurement reading from the BT2152A. Send FETC:CURR:LAT? (@channel)
Verification Step 9Setting
Return the measurement data from achannel@1
Step 10. Subtract the reference reading from the DMM obtained in step 7 from the reading from the
BT2152A measurement obtained in step 9. Verify if it within the specified accuracy provided in the
Quick Reference section of this guide.
100Keysight BT2152A Operating and Service Guide
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.