Home

Agilent Technologies E4375A User's Manual

image

Contents

1. Figure C 2 Agilent Powerbus Load Simplified Outline Diagram 126 D Sense and Power Connector Pinouts The figures and tables in this appendix document the sense and power pinout assignments on the front of the Agilent E4370A MCCD mainframe refer to Figure 1 2 These figures are based on a fully loaded 256 channel mainframe configured as follows Connector Number Number 1 2 3 4 5 1 1 8 9 16 17 24 25 32 33 40 41 48 49 56 57 64 65 72 73 80 81 88 89 96 97 104 105 112 113 120 121 128 2 3 129 136 137 144 145 152 153 160 161 168 169 176 177 184 185 192 4 193 200 201 208 209 216 217 224 225 232 233 240 241 248 249 256 127 D Sense and Power Connector Pinouts SENSE HELLE SENSE 9 10 11 12 13 14 15 16 SENSE 17 18 19 20 21 22 23 24 SENSE 25 26 27 28 29 30 31 32 Note Unlabeled pins are the minus connections of each pair 10 11 12 13 14 15 16 A POWER 17 18 19 20 21 22 23 24 POWER 25 26 27 28 29 30 31 32 SENSE 33 34 35 36 37 38 39 40 SENSE 41 42 43 44 45 46 47 48 SENSE 49 5051 52 53 54 55 56 ES 25 NON x y SENSE 57 58 59 60 61 62 63 64 POWER 33 34 35 36 37 38 39 40 00000000 POWER 41 42 43 44 45 46 47 48 COA POWER 49 50 51 52 53 54 55 56 POWER 57 58 59 60 61 62 63 64 DECODED Figure D 1 Card 1 Sense and Power Connector Cell Assignment
2. Agilent E4371A Powerbus Load charging 240A discharging 98A Flexible Wires Agilent E4370A 4 E4375A cards 256 channels Rigid Bars Flexible Wires STAR CONFIGURATION BUS BAR CONFIGURATION Figure 2 2 Typical Power Bus Configuration for Agilent E4375A cards The star configuration on the left is designed so that each section of the power bus carries no more current than the rating of the equipment that it is connected to This configuration lets you use longer lead lengths because the voltage drop in each lead is directly related to the amount of current flowing in the lead However this configuration requires you to run separate leads from each Agilent MCCD mainframe to the load as well as the power supply thus increasing the total amount of wiring required The bus bar configuration on the right is designed to minimize the amount of wiring between the equipment However this requires larger diameter wires or bus bars This is because the leads from the power supplies as well as the leads to the load are required to carry the full charging and discharging current for two Agilent E4370A MCCD mainframes Larger currents result in larger voltage drops in the wiring which may prove unacceptable with long lead lengths Charging Mode Guidelines Power bus wires must be capable of handing the full charging current requirements of all Agilent E4370A MCCD units connected to the pow
3. The current rating of the power source may be reduced if the charging current is reduced accordingly For example to provide a maximum output current of 1 ampere per cell in a 256 channel system a source rated at least 24 volts 72 amperes may be used Additionally a single supply of sufficient amperage may be shared among multiple mainframes that are connected to a common power bus provided that the total current can be supplied while meeting the voltage specification at the power bus terminals at the rear of the Agilent MCCD NOTE If the external dc power source has an overvoltage protection circuit it must be set higher than 30 volts to avoid the possibility of shutting itself down during the discharge cycle Multiple Agilent MCCD Configurations Figures 1 5 and 1 6 illustrate two configurations of Agilent E4370A MCCD systems with eight fully loaded mainframes The power required for such systems can be as high as 46 kilowatts when using Agilent E4375A cards A single power source of sufficient total amperage may be shared among multiple mainframes connected to the power bus provided the total current can be provided while meeting the nominal 24 volt dc input requirement at the power bus terminals on the rear of each mainframe Multiple paralleled 24 volt dc sources may be used in place of the single dc source shown in the figures To achieve improvements in energy efficiency the Agilent E4370A MCCD system can re use discharge
4. The continuity check is a low current stimulus test that should be performed prior to the power probe test or the sense probe test Its primary function is to identify misaligned or bad probes If the probes pass this initial test you can safely begin a test sequence and apply power to the cells To perform the probe continuity test use cfMeasProbeContinuity Probe resistance checks are internal procedures that use the plus and minus output terminals in conjunction with the remote sense capability of the product to check that the resistance of both the power and sense probes are within the allowable limits When enabled these checks occur continuously while a sequence is running For the power probe resistance check a user defined resistance limit must be specified The power probe resistance includes the probe fixture wiring and connection resistance If the defined resistance limit 1s ever exceeded on an individual channel that channel fails and is removed from the forming sequence To specify the resistance limit and enable power probe checking use cfSetOutputProbeTest For the sense probe resistance check an internal measurement is made and compared against the maximum allowable resistance that can be tolerated within the readback accuracy of the remote voltage sense circuits The maximum allowable resistance includes the probe fixture wiring connection resistance and an internal scanner resistance which is typically 100
5. For warranty service with the exception of warranty options this product must be returned to a service facility designated by Agilent Technologies Customer shall prepay shipping charges by and shall pay all duty and taxes for products returned to Agilent Technologies for warranty service Except for products returned to Customer from another country Agilent Technologies shall pay for return of products to Customer Warranty services outside the country of initial purchase are included in Agilent Technologies product price only if Customer pays Agilent Technologies international prices defined as destination local currency price or U S or Geneva Export price If Agilent Technologies is unable within a reasonable time to repair or replace any product to condition as warranted the Customer shall be entitled to a refund of the purchase price upon return of the product to Agilent Technologies LIMITATION OF WARRANTY The foregoing warranty shall not apply to defects resulting from improper or inadequate maintenance by the Customer Customer supplied software or interfacing unauthorized modification or misuse operation outside of the environmental specifications for the product or improper site preparation and maintenance NO OTHER WARRANTY IS EXPRESSED OR IMPLIED AGILENT TECHNOLOGIES SPECIFICALLY DISCLAIMS THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE EXCLUSIVE REMEDIES THE REMEDIES PROVIDED HEREI
6. cfSetSeqTest hServer 3 CF VOLT LE 1 0f CF TEST AFTER 0 0f CF NEXT Poll the fixture wait until it is closed while 1 cfGetDigitalPort hServer amp nDigitalPort if nDigitalPort amp DIG FIXTURE READY break Sleep for 1 second Sleep 1000 Poll digital port for START button pressed Since lines are not latched must press button 1 second while 1 109 7 C Program Examples 110 cfGetDigitalPort hServer amp nDigitalPort if nDigitalPort amp DIG START BUTTON break Sleep for 1 second Sleep 1000 Turn off the READY light and turn on the TEST light to indicate to the operator that cell forming has started cfGetDigitalPort hServer amp nDigitalPort nDigitalPort amp DIG READY LIGHT nDigitalPort DIG TEST LIGHT cfSetDigitalPort hServer nDigitalPort Initiate the sequence cfInitiate hServer Wait for sequencer to transition to initiated state This may take up to 1 minute while data logs are erased while 1 cfGetRunState hServer amp nRunState if nRunState CF_INITIATED break Sleep 1000 Trigger the sequence cfTrigger hServer printf Forming sequence started Mn The sequence is now running Display the sequencer state until it finishes while 1 Sleep 5000 cfGetRunState hServer amp nRunState printf Runstate s r RunStateToString nRunState i
7. 56 not ready 56 57 null modem cable 34 open group 83 open connection 83 Out of Memory 53 60 output configuration 56 output sensing 62 output state 62 overtemperature 57 p password 67 password protection 45 pinouts power connector 127 sense connector 127 Port B switch setting 38 power bus connections 28 example 29 wiring 28 power connector pinouts 127 wiring 27 power cord 23 power fail 32 58 input 58 signal 58 Powerbus load 12 power on 58 selftest 63 state 87 probe check continuity 65 power 65 sense 65 67 probe measurement 61 probe resistance 18 protected 57 protection ac line failure 20 clear 84 enable 84 external 20 internal 20 states 57 R read measurement log 60 84 139 Index serial port data 86 test log data 87 rear panel mainframe 12 remote sensing 27 repacking 23 reset 58 87 reset sequence 87 resistance measurement 61 restart 88 RS 232 connections 34 interface 34 run states 55 safety summary 3 safety symbols 4 save output configuration 88 saving output configuration 56 selftest 63 88 135 error messages 136 semi automated example 22 sense connector pinouts 127 wiring 27 sequence control 55 serial port configuration 64 status 64 server timeout 99 server connections 67 set current 62 89 digital configuration 90 digital port word 92 error function 92 group 93 measurement log i
8. Description Sends a trigger from the LAN trigger source The server argument can be either a handle to a group obtained by cfOpenGroup or a handle to all cells in the instrument 1f no groups are defined 102 Language Dictionary 6 cfWriteSerial Syntax int cfWriteSerial CF HANDLE server CF SERIAL PORT port char port data int count Description Writes count data words to the serial port See Also cfSerialStatus cfReadSerial cfSerialConfig 103 C Program Examples Example 1 This following C program shows you how to implement the example discussed in the beginning of chapter 5 using the API cell forming cf functions The cell forming functions are included with the driver software supplied with the Agilent E4373A documentation package include lt stdio h gt include mccd h define SECONDS PER MINUTE 60 0f void setup CF HANDLE server wee CF HANDLE server int err ret char buf MEAS LOG BUFSIZE int retcount FILE fp CF READP read pos CF RUN STATE presentState Open the server connection if cfOpen 15 14 248 100 amp server mypassword printf Cannot connect to Agilent MCCD n exit 1 Reset the server to power on defaults cfReset server Set the trigger source to LAN cfSetTrigSource server CF LAN Program the charge discharge sequence setup server Initiate sequence and check for sequence consistency if err ret
9. Infinity AI Infinity At Infinity Trigger Source LAN Programming Overview 5 Digital Port 0 Probe Test Resistance Infinity Sense Probe Test Off Shutdown Mode MANUAL Shutdown Delay 60 seconds Server Timeout 60 seconds Note that power on and cfReset clear all test settings Status The instrument has a status register that reports various instrument conditions To read the status register use cfGetInstStatus Each condition that is reported is represented by a bit in the register These conditions are described in the following table CF EXT FAULT IN STAT CF EXT INTERLOCK STAT CF SERIALB SWITCH STAT CF LOW RAIL STAT CF HIGH RAIL STAT CF OVERTEMPERATURE STAT CF CALIBRATING STAT CF POWER ON STAT CF POWER FAIL STAT CF RAIL NOT READY STAT CF RESTART STAT CF SELFTEST STAT CF SELFTEST ERROR STAT CF SHUTDOWN STAT CF CAL ERROR STAT An input that is configured as CF EXT FAULT IN was asserted An input that is configured as a CF EXT INTERLOCK is true Serial port B is set as the configuration port by a hardware switch The rail voltage was or is presently too low The rail voltage was or is presently too high The internal temperature was or is presently too high The instrument is calibrating The instrument has not finished its power on initialization An input that is configured as a CF POWER FAIL IN is true The rail has not yet been turned on A shutdown state has been save
10. Mixed Configuration Example The following example illustrates a mixed digital I O configuration In this example Pins 0 2 4 and 6 are configured for External Fault Output Isolated High True selection 11 Pins 1 3 5 and 7 the corresponding second pins of each isolated pair Pins 8 through 10 are configured as General purpose I O high true selection 7 referenced to the common connector Pins 11 and 12 are configured as External Fault inputs Low True selection 2 referenced to the common connector Pins 14 and 15 are configured as External Fault outputs High True selection 3 referenced to the common connector Digital I O Configuration H Function Polarity External Fault Output Isolated High True second pin of isolated pair External Fault Output Isolated Low True second pin of isolated pair General Purpose Output Isolated High True second pin of isolated pair General Purpose Output Isolated Low True second pin of isolated pair General Purpose I O Grounded Hig True General Purpose I O Grounded Hig True General Purpose I O Grounded Hig True Q0 0 1OYUI 4 0 No IB ON General Purpose I O Grounded Hig True External Fault Input Grounded Low True External Fault Input Grounded Low True External Fault Output Grounded High True External Fault Output Grounded High True Type a pin number and press Enter or ctrl G to return to initial screen Accessing Calibration Usi
11. Programming Overview A Cell Forming Overview The cell forming process of the Agilent E4370A MCCD consists of a series of steps or actions that are performed on a group of cells until the process is complete This cell forming process is here referred to as a sequence the essence of which consists of three steps charging the cell resting the cell and discharging the cell These steps may be repeated a number of times and in any order within the sequence depending on your process The transition from one step to the next is controlled by tests within the step that specify measurement criteria that must be satisfied You can specify at what time during the test that the measurement will be made and what action to take 1f the measurement criteria is met Two additional steps ac resistance and dc resistance are available that are used to measure the ac or dc resistance of a cell These measurements cannot be made while the cell is charging or discharging Steps define the voltage and current stimulus that is supplied to the cell and the length of time that a stimulus is applied Tests within the step measure the cell define measurement limits compare the measurement to the limits and specify an action to take based on the outcome of the comparison Refer to the cfSetSeqTest function in chapter 6 for a list of all of the tests that can be performed in a given step Note that the ac resistance and dc resistance tests can only be performed within thei
12. and tagged as having failed If a measurement test 1s false nothing happens Sequence Control The diagram below shows the various run states of the instrument or group It wakes up at power on in the CF NOT READY state and stays in this state until selftest and initialization is completed and the dc power supply on the power bus is turned on This may take a few seconds In the CF NOT READY state the outputs cannot be programmed on The instrument is also in this state during calibration Power on Calibration Selftest Powerbus not ready A CF NOT READY Calibration done Selftest passed Powerbus ready CF IDLE Initiated v CF ERASING Erase don v CF INITIATED Trigger occurred CF_FORMING Forming complete Figure 5 3 Instrument Run State 55 5 Programming Overview After selftest is completed and there is dc voltage on the power bus the instrument moves to the CF_IDLE state In this state the instrument is waiting and ready to start a cell forming sequence The instrument returns to the CF_IDLE state when a cell forming sequence completes Note that an Abort function also places the instrument in the CF_IDLE state A cell forming sequence can only be defined or recalled from non volatile memory when the Agilent MCCD is in the CF_IDLE state To begin running a sequence the initiate function must be called This causes the instrume
13. cfGetDigitalPort The reference argument sets the configuration of a bit to either CF GROUNDED or CF ISOLATED Values set by cfSetDigitalConfig are stored in non volatile memory and are not affected by the power off or by cfReset CF GROUNDED Operation In CF GROUNDED operation the bit designated by the bitnum argument is configured as an independent single ended chassis referenced bit that can be used as an input output or both input and output Each bit must be configured separately in CF GROUNDED operation The polarity of a bit is set using the polarity argument If the polarity is CF HIGH TRUE and the bit is configured as an output then a 1 sent to the bit set by cfSetDigitalPort will be output as a high level at the connector Likewise if the bit is configured as an input a high level at the connector will be returned as a 1 by cfGetDigitalPort If the polarity is set to CF LOW TRUE then the opposite polarity will be used for both output and input The following table summarizes the choices for the signal argument in GROUNDED operation CF EXT FAULT IN External Fault input CF EXT FAULT OUT External Fault output has the same logical value as External Fault input CF EXT INTERLOCK External Interlock input CF EXT TRIGGER External Trigger input CF DIG IN General purpose input CF DIG OUT General purpose output CF DIG INOUT General purpose input output CF POWER FAIL IN External Power Fail input CF POWER FAIL OUT External
14. cfInitiate server printf Initiate error code d n err ret exit err ret Wait for runstate CF INITIATED do Sleep 1000 cfGetRunState server amp presentState 7 C Program Examples while presentState CF INITIATED Start the sequence cfTrigger server Wait for the sequence to end do cfGetRunState server amp presentState sleep or do something else while presentState CF FORMING Read entire measurement log and write it to a disk file fp fopen logfile w for read pos CF READ FIRST cfReadMeasLog server amp read pos CF ALL CELLS CF ALL STEPS CF MEAS LOG BUFSIZE buf amp retcount if retcount fputs buf fp else break fclose fp Close the server connection cfClose server return 0 Program the charge discharge sequence void setup CF HANDLE server 106 Step 1 and tests cfSetSeqStep server 1 CF CHARGE 4 2 0 295 20 SECONDS PER MINUTE 0 0 cfSetSeqTest server 1 CF VOLT GE 3 8 CF TEST BEFORE 5 SECONDS PER MINUTE CF FAIL cfSetSeqTest server 1 CF CURR LE 0 02 CF TEST AFTER 5 SECONDS PER MINUTE CF NEXT Step 2 is a rest step cfSetSegStep server 2 CF REST 0 0 0 0 10 SECONDS PER MINUTE 0 0 Step 3 and tests cfSetSeqStep server 3 CF DISCHARGE 3 0 295 15 SECONDS PER MINUTE 0 0 cfSetSeqTest server 3 CF VOLT LE 3 CF T
15. energy to supplement the energy provided by an external power source when charging other cells in a multi unit system This is possible because of the bi directional power transfer capability between charging and discharging cells when connected to a common power bus To take advantage of this energy transfer requires that some mainframes in the system must be operating in discharge mode at the same time that others are operating in charging mode No special control system is required for this configuration The regulation circuits of the 24 volt dc power source the Agilent E4370A mainframe and Agilent E4371A Powerbus Load will operate properly without any special hardware control lines or additional software being required NOTE Adequate size power bus wiring is required to carry high currents Refer to Table 2 5 14 28 kW Power Source 24V 1167A Agilent E4370A 4 E4374A cards 256 channels Agilent E4370A 4 E4374A cards 256 channels Agilent E4370A 4 E4374A cards 256 channels Agilent E4370A 4 E4374A cards 256 channels POWERBUS General Information 1 Agilent E4371A Powerbus Load Agilent E4371A Powerbus Load Agilent E4371A Powerbus Load Agilent E4371A Powerbus Load Agilent E4370A 4 E4374A card
16. 2 222 22 2 2 2 2 2 2 2 2 2 2 2 Convert sequence run state to a description string 22 22 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 22 222 2 2 ke ke 2 2 2 2 k k f en RunStateToString CF RUN STATE state switch state case CF NOT READY return CF NOT READY case CF IDLE return CF IDLE ur case CF ERASING return CF ERASING s case CF INITIATED return CF INITIATED case CF FORMING return CF FORMING case CF_INTERLOCKED return INTERLOCKED case CF PROTECTED return CF PROTECTED case CF HW FAILED return CF HW FAILED return Unknown state 111 7 C Program Examples Example 3 You can control up to 16 Agilent MCCDs from one PC and still achieve good system responsiveness depending on the application program structure This following C program example uses a multi threaded program in which each thread can independently control one Agilent MCCD but can share data with a user interface thread This provides the advantage of a central system view of all of the Agilent MCCDs with the simplicity of each thread controlling only one Agilent MCCD With this type of program you must be careful to use synchronization objects to access any shared data Overall using a multi threaded program is simpler than writing a single threaded program to control multiple Agilent MCCDs include lt windows h gt include lt stdio h gt include lt time h gt incl
17. 9596 and at altitudes of up to 2000 meters Refer to the specifications tables for the ac mains voltage requirements and ambient operating temperature range BEFORE APPLYING POWER Verify that all safety precautions are taken Note the instrument s external markings described under Safety Symbols GROUND THE INSTRUMENT To minimize shock hazard the Agilent MCCD Mainframe chassis and cover must be connected to an electrical ground The mainframe must be connected to the ac power 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 personal injury The Agilent Powerbus Load does not connect to ac mains Connect the ground terminal of the load to the ground terminal of the external dc source Use a 14 AWG wire as a minimum ATTENTION Un circuit de terre continu est essentiel en vue du fonctionnement s curitaire de l appareil Ne jamais mettre l appareil en marche lorsque le conducteur de mise la terre est d branch 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 Operating personnel must not remove instrument covers Component replacement and internal adjustments must be made only by qual
18. Proper wiring design including using larger gauge wires and low resistance fixture contacts can minimize voltage losses in the wiring and maximize the available voltage for charging the cells The length of the leads from the power connector to the cells is determined by how much voltage drop your system can tolerate The voltage drop is directly determined by the wire connector and probe resistance see table 2 5 Refer to Remote Sense Connections for more information To optimize performance and minimize the possibility of output instability and output noise please observe the following guidelines 26 Installation 2 115 good engineering practice to either twist or shield the sense and power wires Twist the power wires together and keep them as short as possible Twist the sense wires together but do not twist them together with the power wires Ifpossible shield the sense wires Connect the shield to the case Keep the total cable length as short as possible Use low resistance fixture contacts Remote Sense Connections The sense connections provide remote sense capability at the fixture Sense connections on each card are through the same connectors that house the power connections Remote sensing allows the output voltages to be sensed at the cell thus compensating for any losses in the wiring On the Agilent E4374A cards the compliance voltage the voltage that the Agilent MCCD can provide in excess of the p
19. The following measurements are available Voltage Measurements The Agilent MCCD measures the voltage of each channel using a calibrated internal measurement circuit In local sensing mode the voltage measurement is made at the power connector In remote sensing mode the voltage is measured at the end of the remote sense leads The advantage of remote 16 General Information 1 sensing over local sensing is that when the remote sense leads are connected to the cell the actual voltage of the cell will be measured Any voltage drops in the load leads will not affect the measurement Refer to chapter 2 under Remote Sensing for more information NOTE If your Agilent MCCD system is configured for local sensing the measured output voltage may not reflect the actual voltage at the cell This is because any voltage drops in the wires due to wire resistance probe resistance connector resistance etc will reduce the available voltage at the cell Current Measurements The Agilent MCCD measures actual current in the output current path for each channel using a calibrated internal measurement circuit Capacity Measurements Amp hour capacity the Agilent MCCD determines amp hour cell capacity by making calculations based on continuous current measurements During charge every time the Agilent MCCD makes a measurement it calculates the actual incremental amp hours put into the cell during each measurement interval by multiplying the me
20. This method is very similar to the method used by LCR meters Since this measurement happens sequentially for each channel the other channels stay at rest during this test The Agilent MCCD measures the dc cell resistance by first disconnecting the charge discharge circuits from all cells A pulse generator in the Agilent MCCD mainframe is connected sequentially to each cell The pulse generator passes a short duration pulsed current through each cell while the measurement system digitizes the cell voltage and current using a high accuracy high speed A D converter Using proprietary algorithms to calculate the change in voltage relative to the change in pulsed current a dc or pulse resistance measurement of the cell can be made Since this measurement happens sequentially for each channel the other channels stay at rest during this test Probe Resistance Probe resistance measurements can also be performed The Agilent MCCD uses the remote sense to measure the resistance of both the power and sense probes Probe resistance measurements can be made on command when a sequence is not running The measured probe resistance is the total resistance in the signal path which includes wiring resistance probe resistance and the resistance of any connectors in the signal path For the sense probe measurement the resistance measurement includes the internal scanner resistance which is typically 1000 ohms The power and sense probe measurements return t
21. amperes of current from the power bus CAUTION When discharging its maximum rated power the Agilent E4371A Powerbus Load becomes hot to the touch Figure 1 4 Agilent E4371A Powerbus Load Front and Rear Panels 13 1 General Information External Power Source For the charging cycle each Agilent MCCD mainframe requires an external dc power source to power the cells The external power source connects to the power bus terminals on the back of the mainframe It must be rated at 24 volts and be able to source 125 of the required cell charging power For example to provide the cell charging power for a 256 channel system at 5 5 volts 2 amperes per channel or 2 8 kW the dc power source must deliver approximately 3 5 kW to each Agilent MCCD mainframe 24 V 146 A To provide the cell charging power for a 256 channel system at 6 volts 3 amperes per channel or 4 6 kW the dc power source must deliver approximately 5 76 kW to each Agilent MCCD mainframe 24 240
22. assignments of the front panel connectors If specific channels are not being used you can configure them to be inactive Inactive channels are open circuited Note that there are two ways to configure the channel outputs each having different effects when the unit is powered on Ifyou configure the channel outputs using the cfSetOutputConfig function see chapter 6 the settings are NOT saved in non volatile memory Each time you power up the unit you must reprogram the settings Ifyou configure the channel outputs using the Sequence setup page in the Agilent MCCD User interface see chapter 4 the settings ARE saved in non volatile memory The unit will wake up with those settings when it is powered up NOTE If the mainframe has empty card slots the channels that are normally reserved for those card slots will be treated as inactive channels Voltage Drops and Wire Resistance Agilent E4374A Charger Discharger Cards have a maximum of 5 5V and 2A available at the power connector of each channel Agilent E4375A Charger Discharger Cards have a maximum of 6V and 3A available at the power connector of each channel This means that at the rated output of 5V the Agilent E4374A cards will tolerate up to a 0 5 volt drop and the Agilent E4375A cards will tolerate up to a 1 0 volt drop in the load leads due to wire resistance probe resistance connector resistance etc Higher voltage drops will reduce the available voltage at the cell
23. by cfSetOutputConfig cfSelftest CAUTION Selftest causes voltage to be applied to the outputs Make sure that no cells are connected when executing cfSelftest Syntax int cfSelftest CF HANDLE server int reserved Description This command starts an instrument selftest This selftest is more thorough than the selftest that is performed automatically at power on The cell supply outputs should be disconnected from any cells or other loads before the cfSelftest function is called This function returns an integer value in the location pointed to by the reserved argument The returned value should be ignored but you must supply a pointer to an integer which will hold the return value Since a selftest can take many seconds to complete the cfSelftest function does not wait for selftest to complete but returns immediately after starting selftest During the selftest the CF SELFTEST STAT bit is true in the status word returned by cfGetInstStatus When selftest is finished the CF SELFTEST STAT bit goes false If any errors occur during selftest the CF SELFTEST ERROR STAT bit is true Details of the errors can be obtained using cfReadTestLog The test log retains this error information until another selftest or calibration command is given See Also cfReadTestLog cf GetInstStatus 88 Language Dictionary 6 cfSetAutoConnect Syntax int cfSetAutoConnect CF_HANDLE server CF_BOOLEAN on_off Description This command turns
24. cell 161 cell 130 cell 162 cell 131 cell 163 cell 132 3 cell 164 cell 133 cell 165 cell 134 cell 166 cell 135 cell 167 cell 136 cell 168 Connector 2 Connector 6 cell 137 4 cell 169 cell 138 cell 170 cell 139 cell 171 cell 140 cell 172 cell 141 cell 173 cell 142 cell 174 cell 143 cell 175 cell 144 cell 176 Connector 3 Connector 7 cell 145 4 cell 177 cell 146 cell 178 cell 147 cell 179 cell 148 cell 180 cell 149 cell 181 cell 150 cell 182 cell 151 cell 183 cell 152 cell 184 Connector 4 Connector 8 cell 153 cell 185 cell 154 cell 186 cell 155 cell 187 cell 156 cell 188 cell 157 cell 189 cell 158 cell 190 cell 159 cell 191 cell 160 cell 192 Note Connector pins 9 11 28 and 29 are not used 132 Sense Pins Note Connector pins 9 11 28 and 29 are not used Table D 4 Card 4 Sense and Power Pinout Assignments Cell Number Connector 1 cell 193 cell 194 cell 195 cell 196 cell 197 cell 198 cell 199 cell 200 Connector 2 cell 201 cell 202 cell 203 cell 204 cell 205 cell 206 cell 207 cell 208 Connector 3 cell 209 cell 210 cell 211 cell 212 cell 213 cell 214 cell 215 cell 216 Connector 4 cell 217 cell 218 cell 219 cell 220 cell 221 cell 222 cell 223 cell 224 Power Pins Sense and Power Connector Pinouts D Sense Pins Cell Number Connector 5 cell 2
25. close a connection if there is no activity on it for a period longer than this time out value The power on setting for cfSetServerTimeout is 60 seconds 99 6 Language Dictionary cfSetShutdownDelay Syntax int cfSetShutdownDelay CF_HANDLE server float delay Description Sets the delay between the assertion of a true signal ata CF POWER FAIL IN input and the start of an Agilent MCCD shutdown when the shutdown mode has been set to CF AUTO If the shutdown mode has been set to CF MANUAL the delay has no effect The power on setting for cfSetShutdownDelay is 60 seconds cfSetShutdownMode Syntax int cfSetShutdownMode HANDLE server int mode Description Sets the shutdown mode to CF AUTO or CF MANUAL When set to CF AUTO a true signal on the CF POWER FAIL IN input causes the Agilent MCCD to execute a shutdown after the shutdown delay has elapsed if a valid restart state does not already exist When set to CF MANUAL the Agilent MCCD does not execute a shutdown in response to a true CF POWER FAIL IN input however it still reports the input state in the CF POWER FAIL STAT bit of instrument status The Agilent MCCD will not automatically save a restart state if a previously saved state still exists Restart states are deleted on cflnitiate and cfRestart The existence of a restart state can be queried by testing the CF RESTART bit of the status returned from cfGetInstStatus The power on setting for cfSetShutdownMod
26. connected to common or low TRUE Pins 8 and 9 are programmed as low true general purpose outputs To use the digital outputs connect a light from the digital port to a 24V source such as the auxiliary output Pin 8 is connected to the Ready light Pin 9 is connected to the Test light When programmed to 0 FALSE the digital port is an open circuit and the light is off When programmed to 1 TRUE the digital port is connected to common and the light turns on samplel c include lt windows h gt include lt stdio h gt include lt stdlib h gt include lt string h gt include lt io h gt include mccd h Default server address and password define DEFAULT_SERVER 15 14 250 125 define DEFAULT PASSWORD mypassword Digital port bit definitions define DIG FIXTURE READY 0x0001 define DIG START BUTTON 0x0002 define DIG SMOKE DETECT 0x0004 define DIG READY LIGHT 0x0100 define DIG TEST LIGHT 0x0200 define CLIENT TIMEOUT 60 0f define MAX BARCODE 256 define LOG FILE MCCDLOG TXT define MEAS BUF SIZE 1024 Local function prototypes void APIError CF HANDLE hServer char szName int nError char RunStateToString CF RUN STATE state 107 7 C Program Examples BR KR RR RR RR RK KKK KR KR RR 22 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2222 KR 2 2 2 2 2 2 2 2 2 20 Main function DEE RR RR KK KK KKK KK 22 22 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2
27. fails the test if it reaches the 3 8 volt setting in less than 5 minutes This indicates that the cell is charging too rapidly Step 2 In Step 2 all cells rest for at least 10 minutes with no stimulus applied to their outputs The resting step can thus be used to move a cell into a resting state if you do not want the present stimulus settings to be applied to it after it has satisfied the test criteria or if you do not want it to proceed to the next step before any of the other cells have completed the present step Step 3 In step 3 all cells are set to discharge at a constant current of 0 295 amperes until the voltage falls to 3 volts This voltage is referred to as the end of discharge voltage or EODV If the voltage drops to 3 volts after five minutes has elapsed the cell goes to the resting state This is shown for cells 1 and 2 in Figure 5 2 The maximum time limit for the discharge step is 15 minutes however the step is completed sooner than that for cells 1 and 2 A cell fails the test if its voltage drops to 3 volts before 5 minutes has elapsed This is shown for cell 3 in Figure 5 2 which indicates that the cell is discharging too rapidly A cell also fails the test if the voltage does not fall below 3 volts after 15 minutes This indicates that the cell is discharging too slowly due to a possible problem with the test fixture or the wiring Step 4 Step 4 is a five minute rest step which is only included in this example as a
28. measurements can be made even when charge current and voltage is varying During discharge every time the Agilent MCCD makes a measurement it calculates the actual incremental watt hours taken from the cell during each measurement interval by multiplying the measured current times the measured voltage times the measurement interval It then adds this incremental amount to the accumulated watt hour value to determine the total watt hours taken from the cell Watt hour capacity will be negative during discharge Thus accurate watt hour capacity measurements can be made even when discharge current and voltage is varying 17 1 General Information Cell Resistance In addition to continuous voltage current and capacity measurements the Agilent MCCD can also measure ac and dc cell resistance This measurement is available on command when a sequence is not running or as its own step in the forming sequence The Agilent MCCD measures the ac cell resistance by first disconnecting the charge discharge circuits from all cells An ac waveform generator in the Agilent MCCD mainframe is connected sequentially to each cell The ac waveform generator momentarily passes a small excitation current through each cell while the measurement system measures the cell s output voltage and current By using a narrow band tuned filter and computing the magnitude and phase angle of voltage relative to current an ac resistance measurement of the cell can be made
29. minutes This way the power must be out for 4 minutes before the Agilent MCCD shuts down Since 4 minutes is less than the 5 minute UPS holdup time there is no danger that power loss will occur If the power returns as indicated by POWER FAIL IN false before the 4 minute delay expires no shutdown occurs and the system has successfully handled a short ac power loss Use the following functions to program and control a powerfail shutdown cfSetShutdownMode cfSetShutdownDelay cfSetServerTimeout cfSetAutoConnect cfShutdown The following functions also have capabilities that apply to powerfail shutdown cfSetDigitalConfig cfGetInstStatus cfSaveOutputConfig To restart the instrument by recalling a saved shutdown state use cfRestart Instrument State Storage The instrument can store several instrument states The entire state of the instrument including the defined sequence steps and tests 1s stored in non volatile memory under a user defined name Use the following functions to control instrument states cfStateSave cfStateRecall cfStateList cfStateDelete To reset the instrument to its power on state cfReset 58 The power on and cfReset instrument settings are Output State OFF Output Voltage 0 volts Output Current 0 amperes Groups None Defined Sequence Step None Defined Sequence Test None Defined Measurement Interval All steps AV
30. reference argument is set to CF ISOLATED each even numbered bit and the odd numbered bit that immediately follows it form a pair The pins on the output connector that correspond to each bit pair are the plus and minus outputs of an optical isolator The bit argument can be either the even or odd numbered bit of a pair when cfSetDigitalConfig is called However only the even numbered bit of the pair is used to set the logic level of the output with cfSetDigitalPort cfSetDigitalPort ignores the odd numbered bits of any pair that is configured as CF ISOLATED Any bit pair whose reference is set to CF ISOLATED can be used as a general purpose output by setting the signal argument to CF DIG OUT The pair can also be used as an isolated fault output by setting the signal argument to CF EXT FAULT OUT The following table summarizes the signal choices for CF ISOLATED operation CF EXT FAULT OUT External Fault output has the same logical value as External Fault input CF DIG OUT General purpose output CF POWER FAIL External Power Fail output CF DIG OUT AND NOT Combines a CF DIG OUT function with enabling logic from FAULT IN CF EXT FAULT IN The polarity of an CF ISOLATED pair is set using the polarity argument If the polarity is CF HIGH TRUE then a 1 sent to the pair s even numbered bit by cfSetDigitalPort will be output as a high level at the connector If the polarity is CF LOW TRUE then a 1 sent to the pair s even numbered bit will be
31. that are stored on the server The buffer must be large enough to hold a list ofthe names of the maximum number of states that can be saved in a Cell Forming Server The constant CF MAX STATE LIST LEN can be used to allocate space for the buffer Example char list buffer CF MAX STATE LIST LEN Read and print the list of instrument state names cfStateList server list buffer printf s n list buffer cfStateRecall Syntax int cfStateRecall CF HANDLE server char state Description Loads a named instrument state previously created with cfStateSave The server argument can be either a handle to a group obtained by cfOpenGroup or a handle to all cells in the instrument if no groups are defined All programmable functions of the instrument are set to the values stored in the state This command also aborts any forming sequence that is in progress setting the forming state to CF IDLE cfStateSave Syntax int cfStateSave CF HANDLE server char state Description Saves the current instrument settings in a non volatile state with the name given by the state parameter The server argument can be either a handle to a group obtained by cfOpenGroup or a handle to all cells in the instrument if no groups are defined If a state already exists with the given name the old state is over written State names are limited to CF MAX STATE NAME LEN characters in length cfTrigger Syntax int cfTrigger CF HANDLE server
32. the data buffer is full the oldest data in the buffer will be overwritten by new data To avoid data loss the controller must read the data from the buffer before it is overwritten Data can be read out of the data buffer at any time during the test sequence NOTE Information in the data buffer is lost when an ac power failure occurs To prevent data loss in the event of a power failure use the cfShutdown function to save the data in non volatile memory Refer to Power Fail Operation in chapter 5 for more information To allow the Agilent E4370A to ride through temporary ac power interruptions connect the mainframe to a 600 VA uninterruptible power supply UPS A measurement log utility is included in the software that is provided with the Agilent E4373A Documentation package You can use this utility to read the data log and place the information in a file on your PC See chapter 4 for information on how to use the Agilent MCCD Measurement Log Utility Protection Features The Agilent MCCD provides extensive capability to protect both the hardware and the individual cells being formed from catastrophic damage The Agilent MCCD can also communicate its protection status to other parts of the manufacturing system for more sophisticated forms of protection 19 1 General Information Internal Protection Functions There are internal relays between the power bus and the Agilent E4374A E4375A Charger Discharger cards These relays protect th
33. the stimulus is applied for this step The outputs are in a reset condition during this test The fime argument is ignored for this time test type time is in seconds relative to the beginning of the present step number action is the action taken when the meas test type and time test type are both satisfied The action choices are CF NEXT Advance as soon as possible to the next step short circuiting all remaining tests in the present step CF FAIL Mark the cell as a failure and disconnect it No further tests or steps are applied to the cell LE and CF GE can only be used with CF steps DCR LE and CF DCR GE can only be used with steps Other meas test types cannot be used with CF ACR or CF DCR steps You cannot delete a single test cfResetSeq deletes all sequence steps and tests and should be sent prior to defining a new set of sequence steps and tests If a forming sequence is in progress when cfSetSeqTest is given an error is returned Tests are volatile and disappear when the ac power is turned off Language Dictionary 6 cfSetSeqTestAnd Syntax int cfSetSeqTestAnd CF HANDLE server int step number CF SEQ TEST meas test type float limit CF TIME TEST time test type float time CF SEQ ACTION action int count Description This command is similar to cfSetSeqTest but it allows multiple tests that are combined with a logical AND during a sequence The action is not taken un
34. to 24 32766 73 to 75 103789 137 to 140191135 to 28 38227 76 to 80 109220 141 to 144 196596 to 32 43688 to 36 49149 85 to 120142 149 to 152 207518 to 40 54610 to 44 60071 93 to 96 131064 157 to 160 218440 5 to 48 65532 97 to 100 136525 161 to 164 223501 49 to 52 70993 100 to 104 141986 165 to 168 229362 52 to 56 76454 105 to 108 57 to 60 81915 109 to 112 152908 173 to 176 240284 61 64 87376 113 116 158369 177 to 180 245745 241 to 244 to 120 j163830 181 to 184 251206 P to 124 16291 185 to 188256667 249 to 252 Pd to 128 174752 89 to 192 262128 253 to 256 60 Programming Overview 5 NOTE The measurement log contents are cleared when a sequence is initiated Set and query the Measurement logging voltage and current interval criteria with cfSetMeasLogInterval cfGetMeasLogInterval To read the Measurement log use cfReadMeasLog To reset the read pointer to either the beginning of the log or immediately ahead of the write pointer use cfReset To clear the Measurement log use cfInitiate Time Stamp Function The measurement log only records the time in seconds from the start of a cell forming sequence To determine the time when the forming sequence actually starts use the cfGetSeqTime function in conjunction with the clock on your controller The cfGetSeqTime fu
35. 0 cfCalTransfer 71 cfClose 71 cfDeleteGroup 71 Index cfGetCellStatus 72 cfGetCellStatusString 72 cfGetCurrent 72 cfGetDigitalConfig 73 cfGetDigitalPort 73 cfGetGroups 73 cfGetInstIdentify 74 cfGetInstStatus 74 cfGetMeasLogInterval 75 cfGetOutputConfig 75 cfGetOutputProbeTest 75 cfGetOutputState 76 cfGetRunState 76 cfGetSense 76 cfGetSenseProbeTest 77 cfGetSeqStep 77 cfGetSeqTest 77 cfGetSeqTestMult 78 cfGetSeqTime 78 cfGetSerialConfig 78 cfGetSerialStatus 78 cfGetShutdownDelay 79 cfGetShutdownMode 79 cfGetStepNumber 79 cfGetTrig Source 79 cfGetUserldentfy 79 cfGetVoltage 80 cflnitiate 80 cfMeasACResistance 80 cfMeasCapacityAS 80 cfMeasCapacityWS 81 cfMeasCurrent 81 cfMeasDCResistance 81 cfMeasOutputProbeResistance 81 cfMeasProbeContinuity 82 cfMeasSenseProbeResistance 82 cfMeasVoltage 83 cfOpen 83 cfOpenGroup 83 cfProtect 84 cfProtectClear 84 cfReadMeasLog 84 cfReadSerial 86 cfReadTestLog 87 cfReset 87 cfResetSeq 87 cfRestart 88 cfSaveOutputConfig 88 cfSelftest 88 cfSetAutoconnect 89 cfSetCurrent 89 cfSetDigitalConfig 90 cfSetDigitalPort 92 cfSetErrorFunction 92 cfSetGroup 93 cfSetMeasLoglInterval 93 cfSetOutputConfig 93 137 Index cfSetOutputProbeTest 94 cfSetOutputState 94 cfSetSense 95 cfSetSenseProbeTest 95 cfSetSeqStep 95 cfSetSeqTest 97 cfSetSeqTestMult 99 cfSetSerialConfig 99 cfSetServerTimeout 99 cfSetShutdo
36. 0 ohms If the maximum allowable resistance is ever exceeded on an individual channel that channel fails and is removed from the forming sequence To enable sense probe checking use cfSetSenseProbeTest To measure the actual power probe resistance and sense probe resistance use the following commands cfMeasOutputProbeResistance cfMeasSenseProbeResistance 65 Language Dictionary API Usage Guidelines This Application Programming Interface lets you create an application program on a PC to control the operation of one or more Agilent MCCD units over aLAN The API consists of a dynamic link library DLL that provides a set of driver functions that are called by the application program to access Agilent MCCD features This section gives the syntax and parameters for all the API cell forming cf functions used by the Agilent MCCD Operating System and Language Support The client API library supports Windows 95 and Windows NT It requires the TCP IP services that are part of these operating systems to be installed and configured This API supports only 32 bit applications Test programs must be written in Microsoft Visual C C Blocking Functions All functions in this API are blocking they do not return until the function operation is complete Since most functions communicate over the network they may take a relatively long time to complete If the calling application has other tasks to perform while the network request is i
37. 10 pin terminal plugs that connect to the digital MSTB 2 5 10 STF connectors on the back of the unit Calibration connector 1 Phoenix 4 pin terminal plugs that connect to the Auxiliary bias connector 1 MSTB 2 5 4 ST calibration and auxiliary connectors on the back of the unit 23 2 Installation Table 2 2 Accessories continued Item Manufacturer s Part Number Documentation Package Agilent E4373A Serial cable Agilent 34398A 37 pin AMP 205210 2 D sub connector AMP 749916 2 Connector hood for 37 pin connector Crimp style contacts for AMP 66506 9 37 pin connector Crimp tool for crimp AMP 58448 2 style contacts Solder style contacts for AMP 66570 2 37 pin connector Front Panel Filler Panel Agilent p n 5002 1505 Rack mount Flange Kit Agilent p n 5062 3979 Rack mount Flange Kit Agilent p n 5062 3985 with Handles Description Contains user documentation software drivers and utility programs RS 232 null modem cable for port A or B see figure 2 4 for schematic Mating connector for front panel channel connectors Eight connectors are required for each 64 channel card Connector pins on 64 channel cards are rated at 5 A maximum Eight connector hoods are required for each 64 channel card Crimp contact for 37 pin connector 16 contacts are required for each connector Pins only accept wires sized 20 24 AWG Hand crimp tool Crimp contact for 37 pin connector 16 contac
38. 25 cell 226 cell 227 cell 228 cell 229 cell 230 cell 231 cell 232 Connector 6 cell 233 cell 234 cell 235 cell 236 cell 237 cell 238 cell 239 cell 240 Connector 7 cell 241 cell 242 cell 243 cell 244 cell 245 cell 246 cell 247 cell 248 Connector 8 cell 249 cell 250 cell 251 cell 252 cell 253 cell 254 cell 255 cell 256 Power Pins 133 In Case of Trouble Introduction The Agilent E4370A MCCD System has a built in self test capability which is performed at power on Additionally a more complete self test can be done by executing the cfSelftest function or running self test from the Agilent MCCD User Interface This selftest capability provides an effective diagnostic tools to isolate problems for rapid repair Refer to chapter 5 under Selftest for more information CAUTION Make sure that no cells are connected when running a user initiated self test to avoid potentially hazardous voltages from appearing across any cells during the testing process Fault LEDs see Figure 1 2 If any of the Fault LEDs on the front of an Agilent E4370A MCCD System are on it indicates that there is a fault associated either with the mainframe or a charge discharger card Before replacing the card or mainframe follow the procedures outlined in the following table Table E 1 Fault Indicators Agilent E4370A FAULT Indicates an external fault such as External digital fault signal External power fail shut
39. 55 cell 24 cell 56 Connector 4 Connector 8 cell 25 cell 57 cell 26 cell 58 cell 27 cell 59 cell 28 cell 60 cell 29 cell 61 cell 30 cell 62 cell 31 cell 63 cell 32 cell 64 Note Connector pins 9 11 28 and 29 are not used 130 Sense and Power Connector Pinouts D Table D 2 Card 2 Sense and Power Pinout Assignments Sense Pins Cell Number Power Pins Sense Pins Cell Number Power Pins Connector 1 Connector 5 cell 65 cell 97 cell 66 cell 98 cell 67 cell 99 cell 68 3 cell 100 cell 69 cell 101 cell 70 cell 102 cell 71 cell 103 cell 72 cell 104 Connector 2 Connector 6 cell 73 4 cell 105 cell 74 cell 106 cell 75 cell 107 cell 76 cell 108 cell 77 cell 109 cell 78 cell 110 cell 79 cell 111 cell 80 cell 112 Connector 3 Connector 7 cell 81 4 cell 113 cell 82 cell 114 cell 83 cell 115 cell 84 cell 116 cell 85 117 cell 86 cell 118 cell 87 cell 119 cell 88 cell 120 Connector 4 Connector 8 cell 89 cell 121 cell 90 cell 122 cell 91 cell 123 cell 92 cell 124 cell 93 cell 125 cell 94 cell 126 cell 95 cell 127 cell 96 cell 128 Note Connector pins 9 11 28 and 29 are not used 131 D Sense and Power Connector Pinouts Table D 3 Card 3 Sense and Power Pinout Assignments Sense Pins Cell Number Power Pins Sense Pins Cell Number Power Pins Connector 1 Connector 5 cell 129
40. 7 General Information Agilent MCCD System Capabilities The Agilent Multi Cell Charger Discharger MCCD System has been designed to address the unique requirements and needs of lithium ion cell manufacturing The Agilent MCCD System can accurately charge discharge and measure lithium ion cells It consists of an Agilent E4370A Multi Cell Charger Discharger mainframe with up to four Agilent E4374A or E4375A 64 Channel Charger Discharger cards When fully loaded each mainframe has 256 input output channels Mainframes and modules can be combined in different configurations to form a low cost high performance cell charge discharge station in a cell manufacturing process NOTE You cannot mix Agilent E4374A and E4375A 64 Channel Charger Discharger cards in the same E4370A mainframe Mainframes can only operate with identical model cards The following figure is a simplified block diagram of the Agilent MCCD System It is followed by a brief description of the system s basic as well as advanced features 10 Base T Ethernet to remote monitoring and control Powerbus Digital I O to outside world 1 Rail power Powerbus source Multi cell charger discharger g eo a Fixture Local control and barcode local Multiple cell reader start stop tr ay Local controls Figure 1 1 Block Diagram of Agilent MCCD System 1 General Information Basic Functions Charger The Agilent MCCD can delive
41. 84374 CHARGERIDISCHARGER 9t 2 s 9 C N SYSTEM T 3 Agilent_E43744 CHARGERDISCHARGER 9 of fA TER 3 Agilent 49744 CHARGERDISCHARGER A et Applies and removes ac power from the Agilent MCCD Relays inside the unit that connect the power bus are disengaged when power is off so the power bus is also disconnected from the unit by this switch SYSTEM When lit indicates that the mainframe is powered on Ready When lit indicates that the unit is ready for operation When off indicates that the external power bus voltage is either too high or too low Active When lit indicates that data communication is present on the LAN cable When flashing indicates that LAN communication is in progress FAULT Refer to Appendix E to clear any fault conditions When lit indicates an external fault such as External digital fault signal received Power fail shutdown signal received High power bus voltage after power on Low power bus voltage after power on Overtemperature When lit indicates an internal hardware fault such as Selftest failure Calibration error Hardware error 1 2 3 4 Indicates the card is powered up and ready to be used When lit indicates an internal hardware fault such as Selftest failure Calibration error H
42. D Only printable ASCII characters are allowed This could be used for the asset number department name production line or other type of identification 40 Configuration 3 Miscellaneous Configuration In the Initial Screen select 5 to configure the language used in the Agilent MCCD User Interface You can choose between English and Japanese This screen also lets you program the auxiliary bias output on the back of Agilent mainframe The bias voltage can be programmed from 5 volts to 24 volts in 0 1 volt increments Miscellaneous Configuration Web Page Language is presently ENGLISH To Change Web Page language to English To Change Web page language to Japanese AUX Bias Supply voltage is 10 0000 3 Set Aux Bias Supply voltage Type a number and press Enter or ctrl G to return to initial screen Configuring the Digital I O Configuring the Digital I O using Hyperterminal is provided as a convenience You can also configure the Digital I O using the Agilent MCCD User Interface or the API function calls over the LAN Further information about the function of the Digital I O lines is provided in chapter 6 under cfSetDigitalConfig To configure the Digital I O using the HyperTerminal program on your PC flip the Port B switch 4 on the back of the Agilent E4370A down from Normal to Configure and run the HyperTerminal program as described in the beginning of this chapter When the Agilent MCCD Configurat
43. E PROBE OPEN CF OUTPUT PROBE OPEN CF PROBES OPEN CF CANNOT TEST either the unit is set to local sensing or a cell is inactive The Agilent MCCD must be configured for remote voltage sense and the probes must be connected to a battery cell to do probe continuity testing No tests are performed if local voltage sense has been programmed cfMeasSenseProbeResistance Syntax int cfMeasSenseProbeResistance CF HANDLE server int cell float resistance Description NOTE Because this command may take several seconds to complete you may need to temporarily adjust the cfSetTimeout function to account for the increased execution time Measures and returns the resistance looking back into the sense probes for a particular cell or for all cells Data is returned ohms The cell argument can be an individual cell number from 1 to 256 or the constant ALL CELLS to request readings for all cells If CF ALL CELLS is given the resistance argument should point to an array of size CF MAX CELLS that will receive the return values To make an effective probe resistance measurement there should be a cell connected at the output The instrument cannot distinguish between resistance in the sense connections and output resistance of the cell 82 Language Dictionary 6 cfMeasVoltage Syntax int cfMeasVoltage CF HANDLE server int cell float reading Description Returns the measured cell voltage in volts for a particular cell or for a
44. EST BEFORE 5 SECONDS PER MINUTE CF FAIL cfSetSeqTest server 3 CF VOLT LE 3 CF TEST AFTER 5 SECONDS PER MINUTE CF NEXT cfSetSeqTest server 3 CF VOLT GE 3 CF TEST AT 15 SECONDS PER MINUTE CF FAIL Step 4 is a rest step cfSetSegStep server 4 CF REST 0 0 0 0 5 SECONDS PER MINUTE 0 0 C Program Examples 7 Example 2 This following C program shows you how to implement the example discussed at the end of chapter 1 using the API cell forming functions Note that this example only includes a brief cell forming sequence and does not include error checking after each function call It primarily describes how you can incorporate the various high level features of the Agilent MCCD such as the digital I O and the serial ports in a cell forming sequence Serial port A is programmed to operate in passthrough mode so that information from a barcode reader that is connected to port A is directly sent to the PC To match the example at the end of chapter 1 the digital ports are programmed as follows Pins 0 1 and 2 are programmed as low true general purpose digital inputs To use the digital inputs connect a switch from the digital port to ground Pin 0 is connected to the fixture switch Pin 1 is connected to the Start button Pin 2 is connected to a smoke detector switch With the switches open an internal 5Vpullup resistor sets these inputs high or FALSE With the switches closed the digital inputs are
45. F HANDLE server char idstring Description This command returns a description of the instrument The string begins with the model number then the product name followed by the firmware version number followed by instrument option descriptions or abbreviations The idstring is a maximum of CF MAX ID LEN characters in length and is returned as a null terminated C string cfGetinstStatus Syntax int cfGetInstStatus HANDLE server int status Description 74 Returns the instrument status Individual bits within the status word are defined to indicate various status conditions The following constants can be used to test different status conditions CF EXT FAULT IN STAT CF EXT INTERLOCK STAT CF SERIALB SWITCH STAT CF LOW RAIL STAT CF HIGH RAIL STAT CF OVERTEMPERATURE STAT CF CALIBRATING STAT CF POWER ON STAT CF POWER FAIL STAT CF RAIL NOT READY STAT CF RESTART STAT CF SELFTEST STAT CF SELFTEST ERROR STAT CF SHUTDOWN STAT CF CAL ERROR STAT An input configured to the CF EXT FAULT IN function was asserted since the last time cfProtectClear was called An input which was configured to the CF EXT INTERLOCK function is true True when serial port B is set as the configuration terminal port by a hardware switch The rail voltage got too low since the last time cfProtectClear was called The rail voltage got too high since the last time cfProtectClear was called The internal temperature got too high sinc
46. G to return to initial screen 122 Specifications A Rear panel transfer calibration switch This push button switch is accessible through a recessed hole on the rear panel When pressed it initiates a transfer calibration sequence inside the Agilent MCCD This is useful if you have replaced an Agilent E4374A E4375A Charger Discharger card inside the mainframe Note that the transfer calibration re calibrates all of the cards inside the mainframe Indicator lights next to the transfer calibration switch indicate the calibration status API Calls over the LAN The following API calls let you access the calibration functions cfCal begins a full calibration mainframe and card cfCalStandard begins a standard calibration mainframe cfCalTransfer begins a transfer calibration card Refer to chapter 6 for more information about these API function calls Web based Graphical User Interface Refer to the on line help provided with the Agilent MCCD User Interface for calibration information Calibration Error Messages The two LEDs on the rear panel indicate the status of calibration and report calibration errors More extensive text based error reporting is available through the Agilent MCCD User Interface and the API functions CALIN PROGESS When flashing it indicates that a calibration is in progress Turns off when calibration is complete CAL FAILED When lit indicates that calibration has failed Use this indicator in combinat
47. If CF ALL CELLS is given the step number argument should point to an array of 256 integers and the time argument should point to an array of 256 floats that will receive the return values The value returned in step number will be either a positive integer step number or CF NOT FORMING cfGetTrigSource Syntax int cfGetTrigSource CF HANDLE server CF TRIG SOURCE source Description Returns the selected trigger source This can be CF LAN or CF EXTERNAL The server argument can be either a handle to a group obtained by cfOpenGroup or a handle to all cells in the instrument if no groups are defined cfGetUserldentify Syntax int cfGetUserIdentify CF HANDLE server char idstring Description Returns the Name Location and Description text fields that were set using the Agilent MCCD Configuration Screens The fields are separated by newlines and terminated with an ASCII null character The idstring is a maximum of CF MAX USER ID LEN characters in length 79 6 Language Dictionary cfGetVoltage Syntax int cfGetVoltage HANDLE server float voltage Description Returns the idle state voltage setting set by cfSetVoltage The idle state voltage is the value that the cell voltage will be set to when the forming sequence is in the idle state and the output state is enabled The server argument can be either a handle to a group obtained by cfOpenGroup or a handle to all cells in the instrument if no groups are define
48. InstStatus When selftest is finished CF SELFTEST STAT goes false and a test failure 1s indicated by the status bit CF SELFTEST ERROR STAT This means that you can poll the instrument status while selftest is running to determine if selftest is complete If there are any selftest errors indicated by the CF SELFTEST ERROR STAT bit then the details of those errors can be obtained from the test log The test log is read using cfReadTestLog The test log retains the selftest error information until another selftest or a calibration command is given Calibration Calibration of the Agilent MCCD can be performed only when the Agilent MCCD is in the CF IDLE state see Figure 5 3 Complete information on calibration is provided in Appendix B Briefly calibration is a two step procedure First the internal references are calibrated using an external DMM and then the internal references are used to transfer calibration to each channel You must always perform the second step when you install a new or a repaired charger discharger card in the mainframe To calibrate the internal mainframe references you must connect a voltmeter to serial port A as described in appendix B To begin mainframe reference calibration use cfCalStandard To transfer the standard references to each channel all external connections to the cell outputs and sense terminals must be open The function to begin transfer calibration is cfCalTransfer The combinat
49. Installation 2 Table 2 6 Ampacity and Resistance of Stranded Copper Conductors Resistance in Q feet 0 00099 0 00062 0 00039 0 00025 0 000156 0 000098 0 000078 0 000062 0 000049 Resistance in Q meter 0 00327 0 00206 0 00129 0 00081 0 00051 0 00032 0 00025 0 00020 0 00016 Area Ampacity in mm 1 Wire ampacities are based on 30 C ambient temperature with conductor rated at 60 C 2 Resistance is nominal at 20 C wire temperature Power Bus Configuration Examples Figures 2 1 and 2 2 illustrate two typical power bus configurations consisting of two Agilent E4370A MCCD mainframes connected to one Agilent E4371A Powerbus Load and two external dc power supplies As shown in the figures current requirements may vary widely based on the way the equipment is connected to the power bus charging 146A Charging values based on Power channel 11W Efficiency 80 Power bus voltage 24V Discharging values based on Power channel 9W Efficiency 80 Power bus voltage 26 5V Power Source 24 V 146 A charging 146A H maximum Power Source charging 24 V 146 current 292A Power Source 24 V 146 A Agilent E4370A 4 E4374A cards 256 channels discharging 140A uuo eset Agilent E4371A Powerbus Load maximum discharging current 140A Power Source 24 V 146 charging 146A Ag
50. MCCD has a built in web server with a graphical user interface that is accessed through standard web browsers such as Netscape Navigator version 3 03 and up or Microsoft Internet Explorer version 3 02 and up This Agilent MCCD User Interface allows monitoring of individual cell state measuring cell voltages and currents while the test is running and also complete monitoring and control of test status The Agilent MCCD User Interface is the preferred method of control when evaluating the test system prototyping a process or debugging a program Example of a Cell Forming Process The Agilent E4370A MCCD is designed to be the integral part of a complete cell forming process as shown in Figure 1 7 As shown in the figure many of the previously mentioned protection and external signal capabilities of the Agilent E4370A MCCD are implemented using the digital I O connections The serial ports on the back of the Agilent MCCD are used to control local peripherals directly from the host computer The remote programming interface to the Agilent MCCD lets you seamlessly integrate all of these capabilities into the cell forming process The following cell forming example describes how an Agilent E4370A MCCD may be used to run a semi automated process where the only human actions required are entering data with a barcode scanner loading and unloading a test fixture and manually starting the cell forming process Chapters 5 and 6 describe all of the function cal
51. N ARE THE CUSTOMER S SOLE AND EXCLUSIVE REMEDIES AGILENT TECHNOLOGIES SHALL NOT BE LIABLE FOR ANY DIRECT INDIRECT SPECIAL INCIDENTAL OR CONSEQUENTIAL DAMAGES WHETHER BASED ON CONTRACT TORT OR ANY OTHER LEGAL THEORY ASSISTANCE The above statements apply only to the standard product warranty Warranty options extended support contacts product maintenance agreements and customer assistance agreements are also available Contact your nearest Agilent Technologies Sales and Service office for further information on Agilent Technologies full line of Support Programs Safety Summary 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 elsewhere in this manual violates safety standards of design manufacture and intended use of the instrument Agilent Technologies assumes no liability for the customer s failure to comply with these requirements GENERAL This product is a Safety Class 1 instrument provided with a protective earth terminal The protective features of this product may be impaired if it is used in a manner not specified in the operation instructions Any LEDs used in this product are Class 1 LEDs as per IEC 825 1 ENVIRONMENTAL CONDITIONS This instrument is intended for indoor use in an installation category II pollution degree 2 environment It is designed to operate at a maximum relative humidity of
52. Power Fail output Goes true when a power fail shutdown state is saved Goes false at power on cflnitiate or cfRestart CF DIG OUT AND NOT Combinesa DIG OUT function with enabling logic from FAULT IN CF EXT FAULT IN When an External Fault Input is true the OUTPUT AND NOT FAULT IN pin is held false 90 Language Dictionary 6 When an output signal is programmed the pin is driven by an open collector transistor Writing a word to the port using cfSetDigitalPort will turn the transistor on or off based on the word and the polarity of the bit Reading the port using cfGetDigitalPort returns the last value written to the bit When an input signal is programmed the state of the input can be read using cfGetDigitalPort Writing to the port has no affect on the bit When DIG INOUT is programmed the bit can be used as both an input and an output Writing a word that causes the output to go high turns the output transistor off and allows an external device to drive the port high or low Writing a word that causes the output to go low turns the transistor on and drives the port bit low Reading the port returns the actual state of the port not the programmed value NOTE If an even bit that was previously configured as CF ISOLATED is set to CF GROUNDED the attributes of its adjacent paired bit the odd bit default to CF GROUNDED CF DIG INOUT and CF LOW TRUE unless otherwise programmed CF ISOLATED Operation When the
53. Purpose I O Grounded General Purpose I O Grounded General Purpose I O Grounded General Purpose I O Grounded General Purpose I O Grounded General Purpose I O Grounded H B 4o 00 1 OY Ul O tj General Purpose I O Grounded General Purpose I O Grounded General Purpose I O Grounded General Purpose I O Grounded General Purpose I O Grounded m Bi gu KB Kin zen Kun un zn En zn zen a a zu Type a pin number and press Enter or ctrl G to return to initial screen To configure a pin select a pin number and press Enter The following choices appear on the screen for each pin that you select Selections made in this screen will be shown in the previous screen 42 Configuration 3 Pin 0 Digital I O Configuration 1 Change to External Fault Input Grounded 2 Change to External Fault Output Grounded 3 Change to External Interlock Grounded 4 Change to General Purpose I O Grounded 5 Change to General Purpose Input Grounded 6 Change to General Purpose Output Grounded 7 Change to External Trigger Grounded 8 Change to External Fault Output Isolated 9 Change to General Purpose Output Isolated 10 Change to Power Fail Input Grounded 11 Change to Power Fail Output Grounded 12 Change to Power Fail Output Isolated 13 Change to Output and not Fault In Grounded 14 Change to Output and not Fault In Isolated Type a number and press Enter or ctrl G to return to initial screen All p
54. T GE The cell voltage that is greater than or equal to the programmed limit The cell voltage that is less than or equal to the programmed imit The cell current that is greater than or equal to the programmed limit The cell current that is less than or equal to the programmed limit The cell ac resistance that is greater than or equal to the programmed limit The cell ac resistance that is less than or equal to the programmed limit The cell dc resistance that is greater than or equal to the programmed limit The cell dc resistance that is less than or equal to the programmed limit The absolute value of cell power in Watts cell voltage x cell current that is greater than or equal to the programmed limit The absolute value of cell power in Watts cell voltage x cell current that is less than or equal to the programmed imit The absolute value of cell capacity in Ampere hours that is greater than or equal to the programmed limit The absolute value of cell capacity in Ampere hours that is less than or equal to the programmed imit The absolute value of cell capacity in Watt hours that is greater than or equal to the programmed imit The absolute value of cell capacity in Watt hours that is less than or equal to the programmed imit The change in voltage during the standard measurement interval that is positive and greater than or equal to the programmed limit The change in voltage during the standard measurement interval that is pos
55. Test hServer CF ON C Program Examples 7 Configure resistance limit for output probe test cfSetOutputProbeTest hServer 0 1f Mark outputs 65 256 as unused by this fixture cfSetOutputConfig hServer 1 14 CF SET ACTIVE cfSetOutputConfig hServer 15 256 CF SET INACTIVE Turn on the fixture ready light to tell the operator that the system is ready for a new tray of cells eie ud amp nDigitalPort nDigitalPort DIG READY LIGHT cfSetDigitalPort hServer nDigitalPort Poll serial port A for data from the bar code reader while 1 cfReadSerial hServer CF PORTA MAX BARCODE szBarCodeMsg amp nBarCodeCount Check the data for a token that indicates end of data When token is found break out of loop not shown break Sleep for 1 second to suspend this process but allow other processes to continue to run x Sleep 1000 Process the barcode message to determine what forming sequence should be downloaded to the fixture not shown in this example Download the forming sequence cfSetSeqStep hServer 1 CF CHARGE 4 0f 1 0f 300 0f 0 0f cfSetSeqStep hServer 2 CF REST 0 0f 0 0f 60 0f 0 0f cfSetSeqStep hServer 3 CF DISCHARGE 0 5f 2 0 120 0f 0 0f cfSetSeqTest hServer 1 CF_VOLT_LE 0 5f CF_TEST_AFTER 120 0f CF_FAIL cfSetSeqTest hServer 1 CF_VOLT_GE 4 0f CF_TEST_AFTER 0 0f CF_NEXT
56. Transitions to the next state before the time period has elapsed can be affected by actions defined by the function cfSetSeqTest Other step types are used to control measurements and generate entries into the measure log For these step types the time argument is ignored and the duration of the step is only the time required to perform the action associated with the step For example ACR and DCR measurements can be made at specific steps in the sequence These can be either tagged or untagged measurements Tagged measurements can be retrieved from the measurement log using a query filter which returns only these entries Untagged measurements can also be read from the log but the these measurements cannot be queried selectively and will be returned along with all other entries when the entire log is read The Agilent MCCD also measures cell capacities in both ampere hours and watt hours These capacities are reset to zero at the beginning of each sequence step and they are reported as part of the standard measurements in each measure log entry The Agilent MCCD also has the ability to accumulate capacity over several sequence steps Special step types are provided to reset these cumulative capacities and to send them to the measure log at specific steps in the sequence These are tagged measurements which are retrieved using a query filter There is little capability to edit sequence steps If a step number is sent that is already defined the ne
57. USER S GUIDE Multi Cell Charger Discharger Agilent Model E4370A Powerbus Load Agilent Model E4371A 64 Channel Charger Discharger Agilent Models E4374A and E4375A GEB Agilent Technologies Agilent Part No 5964 8138 Microfiche No 5964 8139 September 2001 Warranty Information CERTIFICATION Agilent Technologies certifies that this product met its published specifications at time of shipment from the factory 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 WARRANTY This Agilent Technologies hardware product is warranted against defects in material and workmanship for a period of one year from date of delivery Agilent Technologies software and firmware products which are designated by Agilent Technologies for use with a hardware product and when properly installed on that hardware product are warranted not to fail to execute their programming instructions due to defects in material and workmanship for a period of 90 days from date of delivery During the warranty period Agilent Technologies will at its option either repair or replace products which prove to be defective Agilent Technologies does not warrant that the operation for the software firmware or hardware shall be uninterrupted or error free
58. XT INTERLOCK External Interlock CF EXT TRIGGER External Trigger CF DIG IN General purpose input CF DIG OUT General purpose output CF DIG IN OUT General purpose input output CF POWER FAIL IN Power fail input CF POWER FAIL OUT Power fail output CF DIG OUT AND NOT FAULT IN Digital output and not fault input See Also cfSetDigitalPort cfGetDigitalConfig cfGetDigitalPort Syntax int cfGetDigitalPort CF HANDLE server int data Description Reads a data word from the digital I O port See the function cfSetDigitalConfig for a detailed description of the digital I O port See Also cfSetDigitalPort cfGetDigitalConfig cfGetGroups Syntax int cfGetGroups HANDLE server char names CF MAX GROUPS MAX GROUP NAME LEN int start CF MAX GROUPS int size CF MAX GROUPS Description Returns information about all defined groups The arguments names start and size are arrays of size CF MAX GROUPS which hold the return information of defined group names their start cell numbers and sizes If there are less than CF MAX GROUPS defined the entry in the size array after the last valid group entry contains the value of 0 73 6 Language Dictionary Example void query_groups CF_SERVER server char names CF MAX GROUPS int starts MAX GROUPS CF MAX GROUP NAME LEN int sizes CF MAX GROUPS cfGetGroups server cfGetinstidentify Syntax names starts sizes int cfGetInstIdentify C
59. a bits 8 Parity None Stop Bits 1 Flow control None Then click OK In the File menu Select the Properties command In the Properties Select the Settings tab Under Emulation make sure that Auto detect is selected box Click the ASCII Setup button and make the following selections Send line ends with line feeds Not checked Echo Typed Characters locally Checked Line delay 0 Character delay 0 Append line feeds to incoming cone ends Not checked Force incoming data to 7 bit ASCII Not checked Wrap lines that exceed terminal width Not checked Click OK to exit ASCII Setup p Click OK to exit Properties 2 Connect the Agilent E4370A MCCD to the COM port on the PC Connect the ac line cord to the LINE connector on the rear of the unit Agilent MCCD This is a universal ac input that supports any line voltage from 87 Vac to 250 Vac 50 60 Hz Turn on the Agilent MCCD If you have not already done so connect the Agilent E4370A MCCD to the COM port on the PC Connect the RS 232 cable from Port B on the back of the Agilent E4370A MCCD to the COM port on your computer that was specified using the HyperTerminal program Flip the Port B switch 4 on the back of the Agilent E4370A down from Normal to Configure Normal Note Switches 1 through 3 must remain in Hn aln the up position Configure 12 34 NOTE The Agilent MCCD configuration program is active any time switch 4 is down If you do not see the Agilent MCCD Con
60. a for low magnetic radiation and should be kept away from CRTs The following guidelines may be helpful in deciding whether to use wires or bus bars Discrete terminated wires Are the better solution for connecting individual units to each other in small systems and to bus bars in large systems Have minimal alignment insulation or routing problems Are preferred for small cell charging systems Bus bars Are the better solution for high current carrying requirements be custom designed or purchased can use standard high current building parts Use nuts and bolts or self tapped holes for connections Require careful surface preparation and cleaning at connection points WARNING ENERGY HAZARD If high current power bus connections touch severe arcing may occur resulting in burns ignition or welding of parts Do not attempt to make any connections to the power bus when the power bus is live Power Bus Wiring Information The following table provides information about the resistance and ampacity of several standard wire sizes that may be suitable for power bus connections This information is important because the resistance of the power bus wiring will cause a voltage drop in the power bus wires If the voltage drop is large enough it may prevent the Agilent E4370A MCCD mainframe from operating correctly in charging mode or the Agilent E4371A Powerbus Load from operating correctly in discharging mode 28
61. ak to peak 100 mV bandwidth 20Hz 20MHz 117 Calibration Calibration Types There are three types of calibration available for the Agilent MCCD System Full calibration which calibrates the Agilent E4370A mainframe and all installed Agilent E4374A E4375A Charger Discharger cards Transfer calibration which calibrates only the Agilent E4374A E4375A Charger Discharger cards that are installed in the mainframe Mainframe reference calibration which calibrates only the Agilent E4370A mainframe Full calibration actually consists of mainframe reference calibration which uses an external voltmeter to calibrate the internal reference voltages in the Agilent E4370A MCCD mainframe followed by a transfer calibration which uses the calibrated internal reference in the mainframe to calibrate all of the channels on the Agilent E4374A E4375A Charger Discharger cards The entire process takes about fifteen minutes for 256 channels CAUTION Make sure that no cells are connected when performing a Full Calibration or a Transfer calibration Calibration Interval Full calibration of each Agilent MCCD System should be performed at 12 month intervals Transfer calibration must be performed whenever you install a new or a repaired charger discharger card in the mainframe Full Calibration Calibration is accomplished by connecting a DMM to the rear calibration terminals of the power mainframe A 24 V 4 A dc sourc
62. also installed on your PC in C hpmccd c samples Refer to chapter 4 for information on how to use the Agilent MCCD Measurement Log Utility Visual C Configuration To build an application using the Agilent MCCD API library you must configure the Visual C development environment as follows 1 Copy the mecd dll mccd lib and mccd h files to the working project directory This can also be done when installing the library as previously described 2 In Visual C 4 x you must add the mccd lib library To do this in the Build menu select Settings then Object Modules and then append the mccd lib file 3 Applications must include the mccd h header file at the beginning of every file that contains calls to this library To do this in your source files include mecd h 36 Configuration Configuring the LAN The connection to the LAN is through a standard 8 pin 10Base T connector on the rear panel which must first be configured according to the directions in this section Configuring the unit for LAN communications consist of three steps 1 Configure the HyperTerminal program on your PC to communicate with the Agilent E4370A MCCD The HyperTerminal program is provided on Windows 95 and Windows NT Other ASCII terminals or terminal emulation programs will also work provided that you configure the settings the same as for the HyperTerminal program 2 Connect your PC to the RS 232 Port B connector on the back of the Agil
63. ansmit Data TxD not used Common Signal ground not used Output Request to Send RTS Input Clear to Send CTS no connection 6789 DB 9 male connector Pin 1 2 3 4 5 6 7 8 9 Figure 2 5 RS 232 A and B Connectors The following diagram describes the cable connections between the Agilent MCCD RS 232 ports and any local peripherals such as a PC or barcode scanner Refer to table 2 2 for cable kit information NULL MODEM CABLE serial device DCD EEE ANNE 1 2 3 4 5 6 7 8 9 DB9 MALE DB9 FEMALE DB9 FEMALE DB9 MALE Figure 2 6 Null modem Cable Connections Auxiliary Output Connection An undedicated isolated auxiliary output is provided to power various actuators and circuits local to the test fixture It can also be used as the pull up source for any digital I O connections that require an external pull up source The auxiliary output is available through a 4 pin Phoenix Weidmuller style connector on the rear panel The connector has screw terminals for making wire connections and is detachable As explained in chapter 3 the Agilent MCCD Configuration Screens let you set this output to between 5 volts and 24 volts in 0 1 volt increments 10 Watts of total output power is available The auxiliary output is isolated by up to 42 volts with respect to chassis common earth ground 35 2 I
64. any obvious damage that may have occurred during shipment If there is damage notify the shipping carrier and the nearest Agilent Sales and Support Office immediately The list of Agilent Technologies Sales and Support Offices is at the back of this guide Warranty information is printed in the front of this guide Until you have checked out the Agilent MCCD save the shipping carton and packing materials in case the unit has to be returned If you return the Agilent MCCD for service attach a tag identifying the model number serial number and the owner Also include a brief description of the problem Parts and Accessories Table 2 1 lists items that are included with your Agilent MCCD System Table 2 2 lists accessory items that are not included with the Agilent MCCD System but must be purchased separately Except for the User s Guide all of these items are required to make connections from the Agilent MCCD to either the computer test fixture or external devices that will be controlled by the Agilent MCCD You can either order these items by ordering the appropriate kit or order them directly from the manufacturer Table 2 3 lists the addresses of the manufacturers of the connector parts Table 2 1 Supplied Items Part Number Power Cord 1 Contact your A power cord appropriate for your location Agilent Sales and Support office Table 2 2 Accessories Item Manufacturer s Description Part Number Digital connectors 2 Phoenix
65. ardware error Figure 1 2 Agilent E4370A MCCD Mainframe Front Panel Controls and Indicators 11 1 General Information and Power bus connectors RS 232 connectors ports A and B bus bar is connected to chassis ground AC line connection a universal AC input for line Calibration status LEDs voltages from 87 Vac to 250 Vac 50 60 Hz Configuration switches Auxiliary output connection Transfer Calibration switch Calibration port Digital I O connectors LAN connection Figure 1 3 Agilent E4370A MCCD Mainframe Rear Panel Connections Agilent E4374A and E4375A 64 Channel Charger Discharger Cards The Agilent E4374A and 4375A 64 Channel Charger Discharger cards contain the circuitry that independently charges and discharges each cell connected to the front of the mainframe Up to four identical model cards can be installed in each mainframe Agilent E4374A cards charge cells at at up to 5V and 2A Agilent E4375A cards charge cells at up to 5V and Each output channel has a maximum available compliance voltage of 5 5V for Agilent E4374A cards and 6 0V for Agilent E4375A cards Compliance voltage is defined as the voltage required at the cell plus any fixture wiring voltage drops Having this higher compliance voltage allows the full programmable 5 V to be applied directly to the cell with up to 0 5 volt loss in the wiring for Ag
66. asured current times the measurement interval It then adds this incremental amount to the accumulated amp hour value to determine the total amp hours delivered into the cell Amp hour capacity will be positive during charge Thus accurate amp hour capacity measurements can be made even when charge current is not constant such as during constant voltage charging During discharge every time the Agilent MCCD makes a measurement it calculates the actual incremental amp hours taken out of the cell by multiplying the measured current times the measurement interval It then adds this incremental amount to the accumulated amp hour value to determine the total amp hours removed from the cell Amp hour capacity will be negative during discharge Thus accurate amp hour capacity measurements can be made even when discharge current is not constant Watt hour capacity the Agilent MCCD determines watt hour cell capacity by making calculations based on continuous current and voltage measurements During charge every time the Agilent MCCD makes a measurement it calculates the actual incremental watt hours put into the cell during each measurement interval by multiplying the measured current times the measured voltage times the measurement interval It then adds this incremental amount to the accumulated watt hour value to determine the total watt hours delivered into the cell Watt hour capacity will be positive during charge Thus accurate watt hour capacity
67. ata log memory to a file on your client PC NOTE The data log memory will be cleared when you perform an Initiate function when you exit the Agilent MCCD User Interface or when power is removed from the unit Transfer the data to your PC if you want to keep it To run the Agilent MCCD Measurement Log Utility click on Start gt Programs Agilent MCCD Client API and Measurement Log Utility Measurement Log The following window will appear on your computer screen dr MCCD Measurement Log Utility MCCD Measurement Log Utility MCCD Name or IP Address 5 14 250 125 C Rawlog Sortedbycell Individual files per cell Measurenentloghlename C hpmecd bin log txt Status The file transfer is complete Exit Use the measurement utility as follows 1 Enter MCCD name or IP Address of the unit that you are accessing in the first field 2 Ifthe unit has been password protected enter the password in the password field 3 Select one of the following data logging formats 47 4 User Interface Raw log Transfers all of the logged data in the order that it was logged Sorted by cell Transfers all of the logged data sorted by cell Data is organized from first cell to last cell Individual Transfers all of the logged data and creates a separate data file for each cell files per cell 4 When you select Raw log or Sorted by cell you must enter a filename in which to store the data Select the Br
68. ated in Figure 2 5 Max power out 26 5 Determine the voltage drop that the maximum current will produce in the power bus leads using the resistance values in Table 2 6 Max powerbus current The sum of the voltage drops in both the and power bus leads cannot exceed 1 5V If the voltage drop exceeds 1 5 volts in discharging mode the Agilent MCCD will shut down due to an overvoltage condition at the mainframe terminals Use a larger size wire to reduce the voltage drop 31 2 Installation Digital Connections Each Agilent E4370A MCCD mainframe has a 16 bit digital I O port Digital I O configuration can be done with the Agilent MCCD Configuration Screens as described in chapter 3 or with the Agilent MCCD User Interface as described in chapter 4 All pins do not have to be configured the same Some can be used as isolated outputs while others are single ended I O The functions can also be mixed some pins can be general purpose I O while others have a specific purpose The polarity of a bit can also be configured as either high true or low true The following list documents the types of digital I O configurations General Purpose I O General purpose I O programs the digital I O as a passthrough function that allow input or output signals on the digital connector to be directly controlled with API programming commands These signals have no effect on the cell forming sequence Digital When configured as outputs each line
69. ated number of entries from each step This can be used to obtain a quick summary of a sequence For steps of type CF CHARGE CF DISCHARGE or REST it returns an entry at the beginning of the step and the last entry in the step For all other sequence step types it returns a single entry The number of characters read into the buffer is returned in retcount cfReadMeasLog will not return a partial measure log entry so the number of characters read will typically be slightly less than the buffer size When the retcount value is 0 the end of the measure log has been reached Reading the entire measurement log can be time consuming if the forming sequence is long and the logging intervals are set for frequent entries There is an optimum buffer size that should be used if maximizing the reading speed is important The macro CF MEAS LOG BUFSIZE is provided in the header file mccd h for this purpose and can be used as shown in Example 1 in chapter 7 Measurement log entries are sequences of ASCII formatted values separated by ASCII tab t characters Each log entry is terminated by a newline n character The format of a measurement log entry depends upon the step type of the corresponding sequence step All log entries are the same format in the first 4 values but the meaning of subsequent values depend on the step type 85 6 Language Dictionary For sequence steps of type CF CHARGE CF DISCHARGE or CF REST the format is cell numbe
70. ave as the sequence is running Each step in the sequence is performed on all cells simultaneously Sequence steps and actions are as follows Refer to Chapter 7 for the C programming code for this example The examples given here will work with both Agilent E4374A and E4375A cards Function Step Step Action Voltage Current Time Test Outcome Test Type SetSeqStep 1 Chargeat 42 10295 For20mi 1 in from sequence step 2 rest Set Seq Step 2 Rest For 10min O SetSeqStep 3 Dischargeat 30V 0295A Frismn Set Seq Test Voltage lt 3 0 V Before 5 min Fail cell removed from sequence Set Seq Test Voltage gt R SetSeqStp 4 Ret After 5 min Next cell goes to step 4 rest 3 0 V At 15 min Fail cell removed from sequence 2 3 3 3 3 4 50 Programming Overview 5 Step 1 In Step 1 all cells are set to charge at a constant current of 0 295 amperes until the voltage reaches 4 2 volts It continues charging at the 4 2 volt limit however the charging current now starts decreasing from its 0 295 ampere limit setting The cell continues charging until the cell current falls to 0 02 amperes When this occurs the cell goes to the next step the resting state This is shown occurring for cell 1 and cell 2 in Figure 5 2 Because the current test was never true for cell 3 it remained in the charging step for the maximum charging time of 20 minutes A cell
71. be defined for each step to verify that the cells are performing properly and to control the transition to the next step based on the cell performance criteria Each test references a step number a measurement type voltage current or ac resistance greater or less than a limit a measurement limit a time test type and limit and the action to take when the test 1s true To define a test use cfSetSeqTest To read back the tests that have been defined use cfGetSeqTest 54 Programming Overview 5 To program one test to cause a cell to fail ifthe voltage does not exceed 4 volts within 30 minutes and another test to cause a test to fail ifthe voltage reaches 4 volts in under 5 minutes use cfSetSeqTest server 1 CF VOLT LE 4 CF TEST AT 30 SECONDS PER MINUTE CF FAIL cfSetSeqTest server 1 CF VOLT GE 4 CF TEST BEFORE 5 SECONDS PER MINUTE CF FAIL The time test type and time limit determines when a measurement is performed CF TEST BEFORE specifies that the measurement is performed continuously from the start of the step until the time limit CF TEST AFTER specifies that the measurement is performed continuously from the time limit until the step 1s finished CF TEST AT specifies that the measurement is performed once at the time limit If a test is true NEXT causes the output to go to the next step bypassing any remaining tests FAIL causes that specific output to be open circuited removed from the sequence
72. buffer between the previous discharge step and any other step that may follow in the sequence Because cells can be independently paced you do not have to use rest steps in this manner NOTE Sequence steps and tests are volatile and disappear when the ac power is turned off Also cfReset resets all volatile settings to their power on state which deletes all steps and tests 51 5 Programming Overview VOLTAGE volts CURRENT amps Vy OG e N TIME 85 40 minutes Discharge VOLTAGE volts CURRENT amps TIME 30 G5 40 minutes Discharge Rest VOLTAGE volts CURRENT TIME 30 Dis 40 minutes charge 52 Figure 5 2 Simple Cell Forming Example Programming Overview 5 Function Call Overview The driver function calls that control the cell forming process of the Agilent E4370A MCCD are classified into the following broad categories Cell Grouping functions configure groups of cells for independent sequence control Step Test functions set up and control individual steps in a cell forming sequence Sequence Control functions control the run states of the instrument Protection functions set up the protection states of the instrument Data storage functions control the measurement logging that occurs during a sequence Direct Control functions program the cells when a sequence is not runni
73. ce between the voltage and the minimum voltage observed during the step that is greater than or equal to the programmed limit CF DVMIN LE The magnitude of the difference between the voltage and the minimum voltage observed during the step that is less than or equal to the programmed limit CF DIMAX GE The magnitude of the difference between the absolute value of current and the maximum absolute value of current observed during the step that is greater than or equal to the programmed limit CF DIMAX LE The magnitude of the difference between the absolute value of current and the maximum absolute value of current observed during the step that is less than or equal to the programmed limit CF DIMIN GE The magnitude of the difference between the absolute value of current and the minimum absolute value of current observed during the step that 1s greater than or equal to the programmed limit CF DIMIN LE The magnitude of the difference between the absolute value of current and the minimum absolute value of current observed during the step that is less than or equal to the programmed limit time test type is one of CF TEST BEFORE Action is taken if the measurement test is true before the time argument CF TEST AT Action is taken if the measurement test is true at the time argument CF TEST AFTER Action is taken if the measurement test is true after the fime argument CF TEST BEFORE STIMULUS Action is taken if the measurement test is true before
74. computer on a LAN other than the one to which the unit is connected 39 3 Configuration The Agilent MCCD is shipped from the factory without a password being set A network Password can be assigned to the Agilent E4370A MCCD to prevent unauthorized users from controlling the unit over the network This is the same password that must be used when programming the Agilent MCCD using the API functions Identification Configuration In the Initial Screen select 2 to configure the identification of your Agilent MCCD The information in this screen is for identification only It is especially helpful when there are multiple Agilent MCCDs on the LAN Fill in the Identification Configuration screen as follows Select 1 2 or 3 to enter the unit name location or other unit identification Identification Configuration Unit Name MyName Unit Location Third on left Other ID Identification000 000 change Unit Name change Unit Location change Other ID Type a number and press Enter or ctrl G to return to initial screen Unit Name is the network name assigned to the Agilent MCCD The name must begin with a letter and end with either a letter or a number Other characters in the name are limited to letters numbers periods or hyphens Unit Location identifies the physical location of the Agilent MCCD Only printable ASCII characters are allowed Other ID is any additional information that is required to identify this Agilent MCC
75. cription Returns the accumulated capacity in ampere seconds of a cell in its present step The capacity is reset to zero at the start of each step If the cell is not in the forming state the special value CF NOT A NUMBER is returned The cell argument can be an individual cell number from 1 to 256 or the constant CF ALL CELLS to request readings for all cells If CF ALL CELLS is given the reading argument should point to an array of 256 floats that will receive the return values 80 Language Dictionary 6 cfMeasCapacityWS Syntax int cfMeasCapacityWS CF HANDLE server int cell float reading Description Returns the accumulated capacity in watt seconds of a cell in its present step The capacity is reset to zero at the start of each step If the cell is not in the forming state the special value CF NOT A NUMBER is returned The cell argument can be an individual cell number from 1 to 256 or the constant CF ALL CELLS to request readings for all cells If CF ALL CELLS is given the reading argument should point to an array of 256 floats that will receive the return values cfMeasCurrent Syntax int cfMeasCurrent CF HANDLE server int cell float reading Description Returns the measured current for a particular cell or for all cells The cell argument can be an individual cell number from 1 to 256 or the constant CF ALL CELLS to request readings for all cells If CF ALL CELLS is given the reading argument should point to an ar
76. cs max low level output voltage 0 4 V 20 mA sink 1 300 mA sink min high level output voltage 3 5 V 0 mA source 2 6V 200 uA source max high level output current 250 uA 24 V min high level input voltage 2 1V max low level input voltage 0 5 V max high level input current 0 8 mA Vih min Isolated Digital I O Characteristics max low level output voltage 0 6 V max high level output current 100 uA Maximum Airflow cubic meters per minute 74 cubic feet per minute 250 Maximum Exhaust Air Temperature Rise 8degC for mainframe with 4 cards 22 kg Table A 3 Agilent E4371A Powerbus Load Characteristics Use this information when integrating the Agilent E4371A Powerbus Load into your system Recommended Maximum Power Dissipation S400W O Normal Input Voltage 265 27 Ve Recommended Maximum Input Current 200A Agilent MCCD and Agilent Powerbus Load Maximum Airflow cubic meters per minute 10 cubic feet per minute 350 Table A 4 Requirements for External Power Bus Source E4374A Ed375A Maximum Output Current for one Agilent MCCD mainframe 155 A 255 A with 256 channels charging 5 5V 2A channel 6V 3A channel Maximum Output Power for one Agilent MCCD mainframe 3 520 W 5 760 W with 256 channels charging 11W channel 18W channel Nominal Output Voltage 24 Vdc Output Voltage Range 22 8 25 2 Vdc Voltage Output Noise rms 30 mV measured at output pe
77. d cflnitiate Syntax int cfInitiate CF HANDLE server Description Initiates a cell forming sequence A cell forming sequence does not start until it has been initiated and then triggered The server argument can be either a handle to a group obtained by cfOpenGroup or a handle to all cells in the instrument if no groups are defined cflnitiate returns an error if the trigger state 1s not in Idle or if the sequence is invalid See Also cfTrigger cfSetTriggerSource cfAbort cfMeasACResistance Syntax int cfMeasACResistance CF HANDLE server int cell float reading Description NOTE Because this command may take several seconds to complete you may need to temporarily adjust the cfSetTimeout function to account for the increased execution time Returns the measured ac resistance for a particular cell or for all cells The cell argument can be an individual cell number from 1 to 256 or the constant CF ALL CELLS to request readings for all cells If CF ALL CELLS is given the reading argument should point to an array of 256 floats that will receive the return values If the ac resistance measurement cannot be made either because the output for a cell is in the OFF state the voltage sense is set to Local or if there is insufficient current flowing to make the measurement the special value CF NOT A NUMBER 9 91E37 is returned cfMeasCapacityAS Syntax int cfMeasCapacityAS CF HANDLE server int cell float reading Des
78. d A selftest is in progress A selftest error has occurred A power fail shutdown has occurred A calibration error has occurred To return the current state of a cell in the sequence Pass Fail or in progress use cfGetCellStatus 59 5 Programming Overview Measurement Log The Agilent E4370A MCCD logs measurement data at the beginning end and can be programmed to log measurement data throughout each sequence step Voltage and current for each output are continuously monitored and whenever either changes by a user specified threshold or a when a specified time period has elapsed a log entry is made for that output The criteria for the voltage or current change that causes a log entry is programmable and can be different for each step in a sequence The time period parameter can be set to intervals ranging from one second up to 596 hours Programming the special value of CF INFINITY effectively turns off logging for a particular parameter Refer to cfSetMeasLoglnterval in chapter 6 for more information Data saved in the Measurement log includes the output number that this entry applies to the step number that was being executed when the entry was made the time measured from the beginning of the sequence the sum of the status bits the voltage and current measurements and the accumulated watt and amp hours since the beginning of the step For ac resistance and dc resistance steps only the resistance measurement is enter
79. d as the ErrorFn argument function in which case the error callback mechanism is turned off If a library function that does not have a server handle argument returns an error the error function will be called with the server parameter value of CF NULL SERVER Example void report mccd error CF HANDLE server char name int error printf MCCD server returned error d from API function s n error name main Initialization code not shown here cfSetErrorFunction report mccd error 92 Language Dictionary 6 cfSetGroup Syntax int cfSetGroup CF HANDLE server char name int start int size Description Defines a group of cells by specifying a starting cell number and the total number of cells in the group Name is a null terminated character string that serves to identify the group Once the group has been created a handle can be obtained using cfOpenGroup for subsequent control with API functions The number of characters in name must be less than CF MAX GROUP NAME LEN If the group name is longer than MAX GROUP NAME LEN 1 characters or if the name is a null string an error is returned The size argument must be greater than 0 or an error is returned Groups are volatile and disappear when the ac power is turned off cfSetMeasLoglnterval Syntax int cfSetMeasLogInterval CF HANDLE server int step number float volt interval float curr interval float time interval Descri
80. d number of open client connections Closing a connection makes it available to other clients Closing a connection does not affect the output functions of the server and all other instrument functions continue to operate undisturbed by cfOpen and cfClose commands cfDeleteGroup Syntax int cfDeleteGroup CF HANDLE server Description Deletes a group from the Agilent MCCD Server is a handle that was previously obtained by a call to cfOpenGroup 71 6 Language Dictionary cfGetCellStatus Syntax int cfGetCellStatus CF HANDLE server int cell CF CELL STATUS status Description Returns a value in the variable pointed to by status which indicates the current status of a cell in the forming process The possible return values are CF UNTESTED The cell has not started a sequence since ac power was last turned on CF PASSED The cell completed the last forming sequence and passed all tests CF SEQUENCE FAILED The cell failed a test during the last forming sequence CF OUT PROBE FAILED The cell failed an output probe resistance test during forming CF SENSE PROBE FAILED The cell failed a sense probe resistance test during forming CF INACTIVE The cell has been set inactive by cfSetOutputConfig CF SEQUENCING The cell is in the process of forming CF ABORTED The last forming sequence was aborted The cell argument can be an individual cell number from 1 to 256 or the constant CF ALL CELLS to read the status condition of all c
81. defining a sequence of steps and tests Direct output control commands can only be used in the CF IDLE state Voltage current and output state settings are set on all outputs simultaneously Whenever the unit leaves the IDLE state settings are reset to their power on values The power on setting for cfSetVoltage is 0 volts cfShutdown Syntax int cfShutdown CF HANDLE server Description This command causes the Agilent MCCD to e Go to the CF PROTECTED state causes CF SHUTDOWN STAT to become true in the status returned by cfGetInstStatus e Save its current state in non volatile memory for later use with cfRestart e Assert a CF POWER FAIL OUT digital out signal Information in the saved state includes all sequence steps and tests If a sequence is running CF FORMING state it includes the current state of each cell in the forming sequence including its current step number time in step capacity and pass fail status The measurement log is also saved If the Agilent MCCD is in IDLE the pass fail results of the previous sequence and its measure log are saved cfStateDelete Syntax int cfStateDelete CF HANDLE server char state Description Deletes a named instrument state previously created with cfStateSave 101 6 Language Dictionary cfStateList Syntax int cfStateList CF_HANDLE server char buffer Description Returns a comma separated and null terminated list of instrument state names
82. down signal High power bus voltage after power on Low power bus voltage after power on Overtemperature To clear the light first remove the condition that caused the fault Then either cycle power to the unit send a Protect Clear API programming command or press Protect Clear on the Agilent MCCD User Interface to clear the fault register Indicates an internal hardware fault such as Selftest failure Calibration error Hardware error If the Internal LED is lit without any fault LEDs on the Agilent E4374A E4375A Charger Discharger cards being lit it indicates that the Agilent E4370A MCCD mainframe is probably defective Return the unit for service Ifa fault LED is lit on a charger discharger card refer to the following section Agilent E4374A E4375A Fault If you replace a defective card and the Internal LED is still lit on the mainframe the mainframe is probably defective Return the unit for service 135 E In Case of Trouble Agilent E4374A E4375A Fault Indicates an internal hardware fault such as Selftest failure Calibration error Hardware error To read the text based error message use the cfReadSelftestLog API function If you are using the Agilent MCCD User Interface you can read the error messages by accessing the System page selecting Calibration and Selftest and then clicking on Selftest Log Write down the error message and contact your Agilent Service Engineer If the card is defective loosen
83. dual digital I O port writes a data word to the digital I O port defines an error function defines a group of cells defines the criteria for generating a measurement log entry configures the output cells as active or inactive sets the resistance limit of the output probe sets the instrument s output state off charge or discharge sets the voltage sense to remote or local sets the automatic testing of the sense probe resistance defines an output sequence step defines the tests performed during a sequence step defines multiple tests combined with the logical AND function sets the communication parameters of a serial port sets the connection inactivity timeout period sets the shutdown delay period sets the shutdown mode to auto or manual sets the time the client waits for a response from the server sets the trigger source to LAN or external sets the output voltage causes the Agilent MCCD to go to a safe state prior to shutting down deletes a previously created instrument state returns a list of instrument state names loads a previously created instrument state saves the present instrument settings in non volatile memory sends a trigger over the LAN writes data words to the serial port 69 6 Language Dictionary API Function Definitions cfAbort Syntax int cfAbort CF HANDLE server Description cfCal Syntax Aborts a forming sequence which sets the run state to CF_IDLE In the idle state the output c
84. e Agilent MCCD from overvoltage and undervoltage conditions on the power bus They also protect the Agilent MCCD if an external fault condition is detected Output regulators include several features to protect the cell from failures in the hardware Internal circuits connected in series with each channel protect the system from reverse cell polarity cell failure and regulator failure Internal thermal sensors check for maximum heat rise to avoid failures due to excessive temperature excursions fan keeps the internal temperature at an acceptable level Finally the Agilent MCCD has an extra level of safety a built in hardware watchdog timer The hardware watchdog timer is independent of CPU software or firmware activities If due to some internal firmware or software fault the CPU in the Agilent MCCD should stop functioning for more than a few seconds the hardware watchdog timer will reset the Agilent MCCD to the power on state In this state the channels outputs are disconnected from the cells NOTE Overvoltage and overcurrent tests can be included as part of a test sequence to implement overvoltage and overcurrent protection see chapter 5 External Digital I O Protection Functions The Digital I O subsystem on the Agilent MCCD can be configured to provide protection capabilities These digital I O signals operate independently so that if there is a problem with the computer or the LAN connection the protection functions of the Agilen
85. e basic password authentication scheme that is supported by the Web browsers The Agilent MCCD User Interface is shipped without password protection You can seta password to restrict access to the Agilent MCCD using the Agilent MCCD Configuration Screens This is done during the installation as discussed in chapter 3 The password that you set in the Agilent MCCD Configuration Screens is the same password that is used by the Agilent MCCD User Interface and must also be used when programming the Agilent MCCD using the API function calls 45 4 User Interface Localization The user interface pages are provided in English and Japanese You can specify the default language during installation of the Agilent MCCD You can also change the language from the System page once the Agilent MCCD User Interface is running Access The user interface is accessed by starting a web browser on a LAN connected PC and specifying the following URL http lt address gt where address is the IP address or name of the particular Agilent MCCD unit being monitored Using the Interface The Agilent MCCD User Interface provides a basic level of system monitoring and control It allows the monitoring of individual cell states measuring cell voltage and currents while the test is running and the monitoring and control of a complete test sequence The Agilent MCCD User Interface lets you control a cell forming station independently of a computer test p
86. e is CF MANUAL cfSetTimeout Syntax int cfSetTimeout float timeout Description Sets the maximum time in seconds that the client will wait for a response from an Agilent MCCD server The default timeout value if not explicitly set is 30 seconds cfSetTrigSource Syntax int cfSetTrigSource CF HANDLE server CF TRIG SOURCE source Description Sets the sequence trigger source to CF LAN or CF EXTERNAL When set to CF LAN a forming sequence in can be triggered using cfTrigger When set to CF EXTERNAL a forming sequence is triggered by a true signal on the digital input which is mapped into External Trigger The server argument can be either a handle to a group obtained by cfOpenGroup or a handle to all cells in the instrument if no groups are defined The power on setting for cfSetTrigSource is CF LAN 100 Language Dictionary 6 cfSetVoltage CAUTION Direct output control should not be used for charging cells There is no protection against overcharging when using direct output control Use this mode only for diagnostic and debugging purposes Syntax int cfSetVoltage HANDLE server float voltage Description Sets the output voltage for diagnostic or debugging purposes The server argument can be either a handle to a group obtained by cfOpenGroup or a handle to all cells in the instrument if no groups are defined Agilent MCCD outputs can be directly controlled for diagnostic and debugging purposes without
87. e must be connected to the power bus The internal references are then calibrated using a built in program This program will directly control the system voltmeter connected to the Port A RS 232 interface and supports Agilent 3458A command sets The calibrated reference voltages are then used to calibrate all charger discharger cards through internal multiplexing circuitry using the transfer calibration process You can execute a full calibration whenever the Agilent MCCD is in CF IDLE state See table B 1 for the equipment list 119 A Specifications Transfer Calibration NOTE Transfer calibration does not require an external voltmeter It can be performed independently of the full calibration or the mainframe reference calibration However transfer calibration requires a 24 V 4 A dc source to be connected to the power bus During transfer calibration each individual channel is sequentially connected to the internal reference and gain and offset corrections are calculated and stored in non volatile memory You can execute a transfer calibration only when the Agilent MCCD is in IDLE state Press the rear panel transfer calibration switch This is useful if you have replaced a card in the mainframe after it has been serviced See table B 1 for the equipment list Mainframe Reference Calibration Mainframe reference calibration also referred to as standard calibration calibrates the internal references in the Agilent MCCD mainframe I
88. e port argument can be CF PORTA or CF PORTB A maximum of bufsize characters will be returned in buffer The number of characters in the buffer is returned in retcount If there are fewer than bufsize characters available to be read the function returns only these characters and does not wait for the buffer to fill The instrument stores characters from the serial ports in a FIFO buffer until they are read by the controller The function cfSerialStatus can be used to test for serial error conditions See Also cfGetSerialStatus 86 Language Dictionary 6 cfReadTestLog Syntax int cfReadTestLog CF HANDLE server CF READP read pos int bufsize char buffer int retcount Description Returns up to bufsize characters from the test log The test log contains entries which describe any errors that occur during calibration or selftest The number of characters read into the buffer is returned in retcount The value pointed to by the read pos argument controls which portion of the log is read If this value is the special value CF READ FIRST data is returned starting at the beginning of the log Subsequent calls to cfReadSelftestLog use the location pointed to by read pos to keep track of the read position When the retcount argument is 0 the end of the log has been reached The format of the test log is error number error message lt newline gt The test log remains readable in the instrument until either the line power is turned off
89. e rear or the side NOTE To ensure proper cooling of the Agilent MCCD mainframe there should be no open slots in the front of the mainframe If an Agilent 64 Channel Charger Discharger Card is either not installed or has been removed from a slot a blank filler panel must be installed in the opening Refer to Table 2 2 Agilent E4371A Powerbus Load CAUTION To ensure adequate airflow to cool the Agilent Powerbus Load requires you to leave 0 6 meters 2 feet of open space in front of the load and directly behind the load If you are rack mounting the load leave the rack door off When discharging its maximum rated power the Agilent E4371A Powerbus Load becomes hot to the touch The outline diagrams in Appendix C give the dimensions of your Agilent Powerbus Load The unit may be installed free standing but must be located with sufficient space at the front and back of the unit for adequate air circulation Fans cool the unit by drawing air in on front and discharging it through the back Maximum airflow is 10 cubic meters per minute 350 cubic feet per minute You can rack mount the Agilent E4371A Powerbus Load in standard 600 mm 23 8 in width system cabinets provided that you remove the rear door This provides sufficient clearance for airflow Rack mount kits are described in Table 2 2 Support rails are required when rack mounting the unit To meet safety requirements connect the ground terminal of the Agilent Powerbus load to the gr
90. e the last time cfProtectClear was called The instrument is calibrating The instrument has not finished its power on initialization True whenever the CF POWER FAIL IN signal is true There is no dc voltage on the power bus True whenever there is a saved shutdown state that can be restarted with cfRestart True when a selftest is in progress True when a selftest error has occurred True when either an automatic power fail shutdown occurred or cfShutdown was called since the last time cfProtectClear was called True when a calibration error has occurred Language Dictionary 6 cfGetMeasLoglnterval Syntax int cfGetMeasLogInterval CF HANDLE server int step number float volt interval float curr interval float time interval Description Returns voltage current and time change criteria that are used to determine when data is logged The server argument can be either a handle to a group obtained by cfOpenGroup or a handle to all cells in the instrument if no groups are defined The step number argument can be an individual step or the constant CF ALL STEPS to get the change criteria for all steps If CF ALL STEPS is given the volt interval curr interval and time interval arguments should point to arrays of floats of size CF MAX STEPS that will receive the return values cfGetOutputConfig Syntax int cfGetOutputConfig CF HANDLE server int cell CF OUTPUT CONFIG config Description Returns the confi
91. each pair Figure D 3 Card 3 Sense and Power Connector Cell Assignments SENSE POWER SENSE POWER 193 194 195 196 197 198 199 200 193 194 195196 197 198 199 200 225 226 227 228 229 230 231 232 225 226227 228 229 230 231 232 SENSE POWER SENSE POWER 201202203 204 205 206 207 208 201 202203 204 205 206 207 208 233 234 235 236 237 238 239 240 233 234235 236237 238 239 240 SENSE POWER SENSE POWER 209 210211 212 213 214 215 216 209 210211 212 213 214 215 216 241 242 243 244 245 246 247 248 241 242243 244 245 246 247 248 SENSE POWER 217 218219 220 221 222223 224 217 218219 220221 222 223 224 249 250 251 252 253 254 255 256 249 250251 252 253 254 255 256 8 Note Unlabeled pins the minus connections of each pair Figure D 4 Card 4 Sense and Power Connector Cell Assignments 129 D Sense and Power Connector Pinouts Table D 1 Card 1 Sense and Power Pinout Assignments Sense Pins Cell Number Power Pins Sense Pins Cell Number Power Pins Connector 1 Connector 5 cell 1 cell 33 cell 2 cell 34 cell 3 cell 35 cell 4 3 cell 36 cell 5 cell 37 cell 6 cell 38 cell 7 cell 39 cell 8 cell 40 Connector 2 Connector 6 cell 9 4 cell 41 cell 10 cell 42 cell 11 cell 43 cell 12 cell 44 cell 13 cell 45 cell 14 cell 46 cell 15 cell 47 cell 16 cell 48 Connector 3 Connector 7 cell 17 4 cell 49 cell 18 cell 50 cell 19 cell 51 cell 20 cell 52 cell 21 cell 53 cell 22 cell 54 cell 23 cell
92. eadThread0O INFINITE WaitForSingleObject hReadThread1 INFINITE printf Press any key to exit n getchar EEE RK KK KK KK KR RR RR 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 RR RR KK KK KK KK KK KR 2 2 2 2 2 2 2 2 2 2 20 Thread to read log from MCCD E22 2 2 2 2 RR RK KK KK KK RR 2 22 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 22 222 2 2 2 2 2 2 2 2 2 2 2 27 DWORD WINAPI ReadThread LPVOID lpvThreadParm int nThread int lpvThreadParm CF READP readPos FILE hFile char szMeasBuffer MEAS BUF SIZE char szTimeStamp LINE SIZE int nMeasBufCount CF HANDLE hServer Wait for a signal to start reading the data logs WaitForSingleObject ThreadInfo nThread hStart INFINITE Open a connection to MCCD printf Thread d trying MCCD s n nThread ThreadInfo nThread szAddr if cfOpen ThreadInfo nThreadl szAddr amp hServer PASSWORD CF OK printf Thread d could not connect to MCCD s n nThread ThreadInfo nThread szAddr return 1 printf Thread d connected to MCCD s n nThread ThreadInfo nThread szAddr Read the measurement log to a file if hFile fopen ThreadInfo nThread szLogFile w NULL GetTimeStamp szTimeStamp fwrite szTimeStamp sizeof char strlen szTimeStamp hFile readPos CF READ FIRST while 1 cfReadMeasLog hServer amp readPos CF ALL CELLS CF ALL STEPS MEAS BUF SIZE szMeasBuffe
93. easurements for these cells always return the special value CF NOT A NUMBER NOTE This command only affects outputs that are in the Idle state An error is generated and the command is ignored if any cells within the specified range are not in the Idle state 93 6 Language Dictionary cfSetOutputProbeTest NOTE The Agilent MCCD must be configured for remote voltage sensing to perform output probe testing No output probe tests are performed if local voltage sensing is configured Syntax int cfSetOutputProbeTest CF_HANDLE server float resistance Description Sets the resistance limit which is used when the output probes are tested during a forming sequence The server argument can be either a handle to a group obtained by cfOpenGroup or a handle to all cells in the instrument if no groups are defined The resistance of the output probes 1s measured periodically during forming as long as the voltage difference between the power and sense probes is greater than 50mV If the probe resistance is higher than the value set the cell is marked as a failure Automatic checking of output probe resistance 1s disabled by sending the resistance value of CF INFINITY The power on setting for cfSetOutputProbeTest is CF INFINITY cfSetOutputState CAUTION Direct output control should not be used for charging cells There is no protection against overcharging when using direct output control Use this mode only for diagnostic and debugging pur
94. ed into the log Data from tagged sequence step types is also entered into the measurement log Tagged measurements include ac resistance dc resistance open circuit voltage cumulative ampere hours and cumulative watt hours Special filters are provided for selectively reading only the tagged entries from the measurement log Refer to cfSetSequenceStep and cfReadMeasLog in chapter 6 for more information about tagged measurements The measurement log is a circular queue large enough to hold 349 504 entries Portions of the total available measurement log memory are allocated to groups based on the number of cells in each group Every group uses a minimum of 21844 memory locations which is enough memory for up to 16 cells If there are more than 16 cells in a group additional cells use up memory locations in multiples of 4 cells Each group of 4 cells use an additional 5461 memory locations If just one additional cell is appended to a group the full amount of 5461 memory locations are allocated The sum of the memory usage of all groups must be less than 349 504 otherwise an OUT OF MEMORY message will be generated Refer to the following chart for the memory requirements of some sample cell groups Refer to the Cell Grouping section at the beginning of this chapter for more information about groups EE used group en EERPEEEE used group used Up to 16 21844 65 to 68 92837 129 to 132 to 20 27305 69 to 72 98298 133 to 136 185674
95. ells If CF ALL CELLS is given the status argument should point to an array of 256 enums that will receive the return values cfGetCellStatusString Syntax int cfGetCellStatusString CF HANDLE server int cell char status Description Returns an ASCII string with details of any cell whose status is CF SEQUENCE FAILED The cell argument must be an individual cell number from 1 to 256 The constant CF MAX CELL STATUS LEN defines the maximum length of the returned status string cfGetCurrent Syntax int cfGetCurrent CF HANDLE server float current Description Returns the idle state current setting set by cfSetCurrent The idle state current is the value that the cell current limit will be set to when the forming sequence is in the idle state and the output state is enabled The server argument can be either a handle to a group obtained by cfOpenGroup or a handle to all cells in the instrument if no groups are defined 72 Language Dictionary 6 cfGetDigitalConfig Syntax int cfGetDigitalConfig CF_HANDLE server int bitnum CF_EXT_SIGNAL signal CF_POLARITY polarity CF_REFERENCE reference Description This function returns the function and logic sense mapping any of the 16 pins of the digital I O port See the function cfSetDigitalConfig for a detailed description of digital I O port configuration The following signals are defined CF EXT FAULT IN External Fault Input CF EXT FAULT OUT External Fault Output CF E
96. ent E4370A MCCD using a null modem serial cable as described in Table 2 2 and Figure 2 5 3 Fillout the screens that appear on the Agilent MCCD Configuration Screens NOTE This procedure can also be used to calibrate the Agilent MCCD configure the Digital I O if it is not enabled over the LAN and set the language options 1 Configure the HyperTerminal program Access and configure the HyperTerminal program on your PC as follows For Windows NT Press the Start button and select Programs gt Accessories Hyperterminal gt HyperTerminal For Windows 95 Press the Start button and select Programs gt Accessories gt Hyperterminal Next double click on the Hpertrm exe icon in the HyperTerminal program group If you are running HyperTerminal for the first time fill in the location information Because you are not using a modem you do not need to enter a phone number In the Connection Type in a name and select an icon if desired Descriptions box Then click OK In the Connect Go to the Connect using field and select either COM 1 or COM 2 This specifies box Windows NT a COM connector on the back of your computer You will need to connect the or Phone Number RS 232 Port B on the back of the Agilent E4370A to the Com port that box Windows 95 you select in this field Then Click OK 37 3 Configuration In the COM select the following port settings Properties box Bits persecond 9600 Dat
97. ent limit time and an argument reserved for use with future enhancements program the unused parameter to zero The server argument can be either a handle to a group obtained by cfOpenGroup or a handle to all cells in the instrument if no groups are defined The output regulation types are 95 6 Language Dictionary CF_CHARGE Constant voltage constant current charge CF_DISCHARGE Constant voltage constant current discharge CF_REST Rest output in high impedance state CF_ACR AC resistance measurement CF DCR DC resistance measurement CF TAG ACR Makes an ac resistance measurement which is identified in the measure log as a TaggedACR entry type CF TAG DCR Makes an dc resistance measurement which is identified in the measure log as a TaggedDCR entry type CF TAG OCV Makes an open circuit voltage measurement which is identified in the measure log as a TaggedOCV entry type CF TAG CUM AH Writes the cumulative ampere hours to the measure log as a TaggedCumAH entry type CF TAG CUM WH Writes the cumulative watt hours to the measure log as a TaggedCumAH entry type CF RESET CUM Resets the cumulative ampere hours measurement to zero CF RESET CUM WH Resets the cumulative watt hours measurement to zero There are two classes of step types Charge discharge and rest step types define periods of time with specific stimulus to the cells For these step types the maximum duration of the step is given by the time argument in seconds
98. entify To read the identification string that was entered through the Agilent MCCD Configuration Screens use cfUserIdentify To define an optional function to be called by any other instrument function when it returns an error use cfSetErrorFunction 62 Programming Overview 5 Selftest The Agilent E4370A MCCD has a built in selftest capability which is performed at power on This limited selftest verifies proper operation of the memory functions serial communications functions analog to digital converter functions and the voltage programming of each output regulator The selftest also checks for the presence of an external dc source on the power bus The test applies no power to the cells and is performed whether or not cells are connected to the Agilent MCCD A more complete selftest can be done by executing the following command cfSelftest In addition to performing most of the power on tests cfSelftest also tests the current measurement functions as well as the constant current charge and discharge functions of every output regulator CAUTION cfSelftest causes voltage to be applied to the outputs Make sure that no cells are connected when executing cfSelftest Since selftest can take many seconds to complete the cfSelftest function does not wait for selftest to complete It returns immediately after starting selftest During selftest the CF SELFTEST STAT bit is true in the status word returned by cfGet
99. er Change in time If the trigger is At a data log record will be written to the buffer when a user At specified time interval is exceeded If At is set to 1 second then every second a record is written to the buffer At is effectively a clock driven data log The acceptable range of values for AV AI and At are 0 to infinity Setting the value to 0 or near 0 will cause all readings to be logged in the buffer because every reading will exceed the AV AI or At value of zero This will fill up the measurement log very quickly Setting the value to a high number or to infinity will cause no readings to be logged in the buffer because no reading will exceed the AV AI or At value The comparison test to see if any of the AV Al and At values have exceeded the values of the last logged entry in the buffer is done at the end of each measurement interval Therefore the fastest rate at which records can be written into the data buffer is the measurement rate of the Agilent MCCD Any combination of events can be specified so that a data log record is written into the data buffer when any of the events occur Each record in the data buffer contains the following information status including CV CC and step number elapsed time voltage current amp hours and watt hours The total number of readings that can be stored is given in the specification table The data log is a circular queue which lets you continuously log data into the data buffer When
100. er bus In the example that follows the calculations are for worst case current requirements Calculate the input current requirement of one fully loaded Agilent E4370A MCCD as follows 30 Installation 2 Multiply the power used by one cell times the number of cells in the Agilent MCCD Divide the result by the efficiency of the unit to determine the total input power required for that mainframe The efficiency of the unit in charging mode is assumed to be 80 which is a worst case value as far as calculating the total power required by the mainframe _of cells x power_per_cell 0 8 Divide the input power requirements ofthe Agilent MCCD by the minimum voltage required at the input terminals of the Agilent MCCD 22 8 volts The result will be the maximum charging current required by the Agilent MCCD Double this current if you are simultaneously charging two Agilent MCCD mainframes as illustrated in Figures 2 1 and 2 2 Max power in Max power in Power source voltage Max powerbus current Determine the voltage drop that the maximum current will produce in the power bus leads using the resistance values in Table 2 6 Add this voltage drop to the minimum voltage required at the input terminals of the Agilent MCCD to determine the output voltage setting of the dc power supply The voltage at the input terminals of the Agilent MCCD during charging mode must be between 25 2 and 22 8 volts If the sum of the voltage d
101. erial ports The functions used to access the ports are cfReadSerial cfWriteSerial To set and query the serial port configuration use cfSetSerialConfig cfGetSerialConfig To return the serial port status use cfGetSerialStatus Serial port B is also used as a configuration port This is selected with a hardware switch on the instrument as described in chapter 3 Also during calibration serial port A reconfigured as a dedicated communications port for an external voltmeter Digital port There is a 16 bit digital I O port on the instrument It can be used as general purpose I O or bits can be configured to have specific purposes Each pin can be a chassis referenced input or output or pairs of pins can be defined as one isolated output See cfSetDigitalConfig in chapter 6 for more information In addition to using the API functions digital I O configuration can be set using the Agilent MCCD Configuration Screens or the Agilent MCCD User Interface See chapters 2 and 4 for more information To set or query the configuration use cfSetDigitalConfig cfGetDigitalConfig To read and write the lines directly use cfSetDigitalPort cfGetDigitalPort 64 Programming Overview 5 Probe check Probe check includes three separate functions a continuity check a power probe resistance check and a sense probe resistance check All probe check functions require a cell to be connected to the channel outputs
102. es The information contained in this document is subject to change without notice Copyright 1999 2000 2001 Agilent Technologies Inc Table of Contents Warranty Information Safety Summary Document Scope Table of Contents GENERAL INFORMATION Agilent MCCD System Capabilities Basic Functions Additional Features Hardware Description Agilent E4370A MCCD Mainframe Agilent E4374A and E4375A 64 Channel Charger Discharger Cards Agilent E4371A Powerbus Load External Power Source Multiple Agilent MCCD Configurations Measurement Capability Voltage Measurements Current Measurements Capacity Measurements Cell Resistance Probe Resistance Data Logging Protection Features Internal Protection Functions External Digital I O Protection Functions If AC Power Fails Remote Programming Interface Application Programming Interface APT Web Accessible Agilent MCCD User Interface Example of a Cell Forming Process INSTALLATION Inspection Parts and Accessories Location Agilent E4370A MCCD Mainframe Agilent E4371A Powerbus Load Channel Connections Voltage Drops and Wire Resistance Remote Sense Connections Power Bus Connections Power Bus Wiring Information Power Bus Configuration Examples Digital Connections General Purpose I O Special Functions Wiring Guidelines RS 232 Connections Auxiliary Output Connection Installing the API Library and Measurement Log Utility Visual C Configuration WN 3 CONFIGURATION Co
103. etSerialConfig cfGetSerialStatus cfGetShutdownDelay cfGetShutdownMode cfGetStepNumber cfGetTrigSource cfGetUserldentify cfGetVoltage cfInitiate cfMeasACResistance cfMeasCapacityAS cfMeasCapacityWS cfMeasCurrent cfMeasDCResistance cfMeasOutputProbeResistance cfMeasProbeContinuity cfMeasSenseProbeResistance cfMeasVoltage cfOpen cfOpenGroup cfProtect cfProtectClear cfReadMeasLog cfReadSerial cfReadTestLog cfReset cfResetSeq cfRestart cfSaveOutputConfig cfSelftest cfSetAutoConnect cfSetCurrent cfSetDigitalConfig cfSetDigitalPort cfSetErrorFunction cfSetGroup cfSetMeasLoglInterval cfSetOutputConfig cfSetOutputProbeTest cfSetOutputState cfSetSense cfSetSenseProbeTest cfSetSeqStep cfSetSeqTest cfSetSeqTestAnd cfSetSerialConfig cfSetServerTimeout cfSetShutdownDelay cfSetShutdownMode cfSetTimeout cfSetTrigSource cfSetVoltage cfShutdown cfStateDelete cfStateList cfStateRecall cfStateSave cfTrigger cfWriteSerial 7 C PROGRAM EXAMPLES Example 1 Example 2 Example 3 A SPECIFICATIONS B CALIBRATION Calibration Types Full Calibration Transfer Calibration Mainframe Reference Calibration Calibration Connections Accessing Calibration Calibration Error Messages C DIMENSION DRAWINGS D SENSE AND POWER CONNECTOR PINOUTS IN CASE OF TROUBLE Introduction Selftest Error Messages INDEX 105 105 107 112 115 119 119 119 120 120 120 122 123 125 127 135 135 136 13
104. f nRunState CF_IDLE break The sequence is finished Read the entire measurement log to a file if hFile fopen LOG FILE w NULL readPos CF_READ FIRST while 1 cfReadMeasLog hServer amp readPos CF ALL CELLS CF ALL STEPS MEAS BUF SIZE szMeasBuffer amp nMeasBufCount if nMeasBufCount 0 break fwrite szMeasBuffer sizeof char nMeasBufCount hFile fclose hFile C Program Examples 7 Measure the internal resistance of all cells cfMeasACResistance hServer CF ALL CELLS fCellResistance Turn off the TEST light and turn on the READY light to indicate that it the tray can be removed from the fixture cfGetDigitalPort hServer amp nDigitalPort nDigitalPort amp DIG TEST LIGHT nDigitalPort DIG READY LIGHT cfSetDigitalPort hServer nDigitalPort printf Forming sequence complete n Close the server connection cfClose hServer exit 0 S F E K RR RR RR KK KK KK KK RR RRR 2 2 2 2 RK KK KK KK KR RR 2 2 2 2 2 2 2 220 API error handler DEE 2 22 2 2222 2 22222222 22 22 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 KK KK 2 2 2 2 2 2 2 k k f void APIError CF HANDLE hServer char szName int nError printf nServer d Function s Error d n hServer szName nError cfClose hServer exit 1 BRR RR EEE RK KK KKK RR RR k 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2
105. figuration Screens on your PC press the Enter key 3 Fill Out the Agilent MCCD Configuration Screens The following Agilent MCCD Configuration Screens should appear in the HyperTerminal window 38 Configuration 3 MCCD Configuration Screens 2 Network Configuration 2 Identification Configurations 3 Digital I O Configuration 4 Perform Calibration 5 Miscellaneous Configuration Type a number and press Enter For now you will only be accessing the Network Configuration and the Identification Configuration screens Network Configuration NOTE The settings that you enter in this screen are determined by your network administrator In the Initial Screen select 1 to configure your network Select 1 2 3 or 4 to enter the IP address Subnet Mask Default gateway or password Network Configuration IP Address 000 000 000 Subnet Mask 000 000 000 Default Gateway 000 000 000 Network Password change IP Address change Subnet Mask change Default Gateway change Password Type a number and press Enter or ctrl G to return to initial screen IP Address sets the IP address of the Agilent E4370A It is in dotted decimal format The Subnet mask is the subnetwork that the Agilent E4370A MCCD is connected to If it is set to 0 it is assumed that subnetting is not performed on this network The Default Gateway is the IP address of the gateway for the Agilent E4370A MCCD This allows communication with a
106. gilent MCCD is in the charging state CF_OUTPUT_DISCHARGE The output of the Agilent MCCD is in the discharging state In the OFF state the channel outputs are open circuited and supply no current In the charge and discharge states channel outputs are controlled by cfSetVoltage and cfSetCurrent See Also cfSetOutputState cfSetVoltage cfSetCurrent cfGetRunState Syntax int cfGetRunState CF HANDLE server CF RUN STATE state Description Returns the current instrument run state CF_IDLE CF_ERASING CF_INITIATED CF FORMING CF PROTECTED CF NOT READY CF INTERLOCKED or CF HW FAILED The server argument can be either a handle to a group obtained by cfOpenGroup or a handle to all cells in the instrument if no groups are defined cfGetSense Syntax int cfGetSense CF HANDLE server CF SENSE sense Description Returns the remote or local sense settings The value returned is either CF SENSE REMOTE or CF SENSE LOCAL Remote and local sense selection is controlled by cfSetSense See Also cfSetSense 76 Language Dictionary 6 cfGetSenseProbeTest Syntax int cfGetSenseProbeTest CF_HANDLE server CF_BOOLEAN on_off Description Returns the setting of the sense probe test The setting is either ON or OFF The server argument can be either a handle to a group obtained by cfOpenGroup or a handle to all cells in the instrument if no groups are defined When this test is enabled the instrument periodically meas
107. group name is used it overwrites that group s definition with the new data To obtained a group handle use the function int cfOpenGroup CF HANDLE server char name CF HANDLE group handle To delete an existing group use the function cfDeleteGroup To query all defined groups use the function int cfGetGroups CF HANDLE server char names CF MAX GROUPS CF MAX GROUP NAME LEN int start CF MAX GROUPS int size CF MAX GROUPS NOTE Groups are volatile and disappear when the ac power is turned off Also cfReset resets all volatile settings to their power on state which deletes all groups If you get an OUT OF MEMORY message when defining your groups you have exceeded the measurement log memory capacity Refer to Measurement Log later in this chapter for more information 53 5 Programming Overview Grouping Functions The group handle returned by cfOpenGroup can be used with any of the functions in the list below These functions control or query a specific group If a function is not in this list it cannot be used with a group handle obtained from cfOpenGroup cfAbort cfGetSenseProbeTest cfSetSenseProbeTest fGetCurrent cfGetSeqTime cfSetSeqStep cfGetMeasLogInterval cfGetTrigSource cfSetSeqTest cfGetOutputProbeTest cfGetVoltage cfSetSeqTestAnd cfGetOutputState cfInitiate cfSetTrigSource cfGetSeqStep cfReadMeasLog cfSetVoltage cfGetSeqTest cfSetCurrent cfStateRecall cfGetSeqTestAnd cfSetMeasLogInterval cfStateSa
108. guration of an output An output configuration can be CF SET ACTIVE or CF SET INACTIVE The cell argument can be an individual cell number from 1 to 256 or the constant CF ALL CELLS to get the output configuration for all cells If CF ALL CELLS is given the config argument should point to an array of 256 CF OUTPUT CONFIGSs that will receive the return values A cell which is set to CF SET INACTIVE ignores most output and forming commands Measurements for these cells always return the special value CF NOT A NUMBER cfGetOutputProbeTest Syntax int cfGetOutputProbeTest CF HANDLE server float resistance Description Returns the resistance limit that is used when the output probes are tested during a forming sequence If the probe resistance is higher than the resistance limit the cell is marked as a failure The server argument can be either a handle to a group obtained by cfOpenGroup or a handle to all cells in the instrument if no groups are defined 75 6 Language Dictionary cfGetOutputState Syntax int cfGetOutputState CF HANDLE server CF OUTPUT STATE state Description Returns the output state of the Agilent MCCD when the run state is CF_IDLE The server argument can be either a handle to a group obtained by cfOpenGroup or a handle to all cells in the instrument if no groups are defined The possible return values are CF_OUTPUT_OFF The output state of the Agilent MCCD is off CF_OUTPUT_CHARGE The output of the A
109. he RS232 converter 120 Specifications A CAL PORT 24 V RAIL SUPPLY 4 A min Current dE GPIB Address 22 CONFIG Cr MODE Baudrate 9600 Data Format Odd Checking disabled 1 stop bit 8 bits char Handshake XON XOFF disabled V AOcE c Hld9 FALE A BEER HERE RE OOOO ooo Seen ooog 6686000 ce ean Figure B 1 Calibration Connections 121 A Specifications Accessing Calibration Calibration control is accessible by one of three methods the Agilent MCCD Configuration Screens APlcalls over the LAN the Web based Agilent MCCD User Interface This section describes the first method in detail Note Transfer calibration can also be run by pressing the Cal button on the rear panel Agilent MCCD Configuration Screens You can calibrate
110. he actual measured value in ohms In addition to the on command probe resistance measurements the probes are continuously checked while the sequence is running See chapter 5 under Probe Check for more information about probe check verification Data Logging During a charge discharge sequence the Agilent MCCD is constantly making voltage current and capacity measurements Instead of logging each and every measurement into a data buffer the data logging can be controlled so that only critical measurements are logged to the data buffer This is called event based data logging which means that whenever an important event occurs a data log record will be written into the data buffer Buffer memory is used most efficiently when only critical measurements are stored 18 General Information 1 The following events can be used to trigger critical measurements Change in voltage Ifthe trigger is AV a data log record will be written to the buffer when a user AV specified voltage change is exceeded If AV is set to 100 mV then each time the voltage reading changes by more than 100 mV from the last logged entry a record is written to the buffer Change in current Ifthe trigger is Al a data log record will be written to the buffer when a user specified current change is exceeded If AI is set to 100 mA then each time the current reading changes by more than 100 mA from the last logged entry a record is written to the buff
111. ified service personnel Instruments that appear damaged or defective should be made inoperative and secured against unintended operation until they can be repaired by qualified service personnel Safety Symbols SAFETY SYMBOLS A N ug NA Earth ground terminal Caution hot surface Protective earth ground terminal Caution Refer to accompanying documents Intended for connection to external protective conductor On power Indicates connection to the On equipment Identifies the on condition of ac mains part of the equipment Off power Indicates disconnection Off equipment Identifies the off condition of from the ac mains part of the equipment Document Scope This document describes and specifies the standard version of the Agilent Multi Cell Charger Discharger System It contains installation instructions connection information programming information example programs and specifications Information about the Agilent MCCD User Interface is provided online System options are described on a separate option sheet that is shipped with this manual All information is this manual is subject to change Updated editions will be identified by a new printing date Notice This document contains proprietary information protected by copyright All rights are reserved No part of this document may be photocopied reproduced or translated into another language without the prior consent of Agilent Technologi
112. igure illustrates some typical DIO hardware connections 16 5 V maximum A connect to pins 0 through 7 TTL AS CMOS HC Coil current LL s dd 0 25A maximum 1765432101 un Fran Connect common to L connect to pins 0 through 7 ZOO ooooooo E P 176543210 Connect common to L A Relay Driver Example Circuit B Digital Interface Example Circuit Figure 2 4 Typical Hardware Connections RS 232 Connections The Agilent MCCD has two RS 232 ports for connection to local peripherals Under normal operation both ports are available for general purpose communications and are configurable over the LAN For initial configuration and calibration the RS 232 ports are used as follows Initial RS 232 port B is connected to a terminal and used to access the Agilent Configuration MCCD Configuration Screens This sets up the initial configuration Calibration RS 232 port B is connected to a terminal and used to access the Agilent MCCD Configuration Screens through which the calibration process is executed RS 232 port A is used to connect a dedicated voltmeter for calibration Both ports should be configured with the same baud rate as the computer Both ports support full hardware flow and software flow control with XON and XOFF support and with RTS CTS available for hardware control 34 Installation 2 Input Output Description no connection Input Receive Data RxD Output Tr
113. ilent E4370A 4 E4374A cards 256 channels Flexible Wires Agilent E4371A Powerbus Load STAR CONFIGURATION Rigid Bars discharging 70A Agilent E4370A 4 E4374A cards 256 channels charging 146A discharging 70A gt Agilent E4370A 4 E4374A cards 256 channels Flexible Wires BUS BAR CONFIGURATION Figure 2 1 Typical Power Bus Configuration for Agilent E4374A cards 29 2 Installation charging 160A 4 Charging values based Power channel 18W Efficiency 80 Power bus voltage 24V Discharging values based on Power channel 13 5W Efficiency 75 Power bus voltage 26 5V Power Source 24 V 160 A charging 160A el I H Power Source 24 V 160 A gt 5 Power Source 24 V 160 A charging 160A charging current 480A Power Source 24 V 160 A 6 Power Source 24 V 160 A discharging 196A r Agilent E4370A 4 E4375A cards 256 channels Agilent E4371A Powerbus Load discharging current 196A Power Source 24 V Q 160 A charging 240A Agilent E4370A 4 E4375A cards 256 channels discharging 98A Agilent E4370A 4 E4375A cards 256 channels
114. ilent E4374A cards and up to 1 0 volt loss in the wiring for Agilent E4375A cards Agilent E4371A Powerbus Load For the discharging cycle an Agilent E4371A Powerbus Load is required to dissipate excess power from discharging cells The load operates in constant voltage mode only and sequentially switches internal resistors on and off to regulate the voltage on the power bus around a midpoint of 26 75 volts The number of load units required depends on the number of Agilent MCCD mainframes in your system Each Agilent E4371A Powerbus Load is capable of the dissipating the full power from eight Agilent E4374A 64 Channel Charger Discharger cards or eight Agilent E4375A 64 Channel Charger Discharger cards 12 General Information 1 The Agilent E4371A Powerbus Load has a and a power bus connector on its rear panel There is also a ground connection To meet safety requirements connect the ground terminal ofthe Agilent Powerbus Load to the ground terminal of the external dc source The load receives its operating power from the power bus If the dc voltage on the power bus drops below 22 8 volts or if there is no power available on the power bus the load will not operate Note that the load is not programmable It is set at the factory for the correct operating voltage and does not require calibration The On Off switch on the load simply connects or disconnects the load from the power bus Note that the internal fans draw approximately 1 5
115. ing a group handle it should close the handle by calling cfClose and passing the group handle value There are only a limited number of group handles available and an API program can use them all up if it does not free group handles that are no longer needed When the server handle a handle obtained by a call to cfOpen is closed all group handles associated with that server handle are automatically closed In that case it is not necessary to close the group handles explicitly 83 6 Language Dictionary Example define MY_GROUP 1 5Ahour Define group named 1 5Ahour containing 64 cells starting at cell 129 Define a sequence step for the group then free the group handle T void group example CF HANDLE server CF_HANDLE group_handle cfSetGroup server MY GROUP 129 64 cfOpenGroup server MY_GROUP amp group handle cfSetSeqStep group handle 1 CF CHARGE 5 0 1 0 100 0 0 0 cfClose amp group handle cfProtect Syntax int cfProtect CF HANDLE server Description Forces the instrument into the CF PROTECTED state The cell outputs are disabled and all activities associated with cell forming are suspended cfProtectClear Syntax int cfProtectClear CF HANDLE server Description Whenever a protection condition occurs the Agilent MCCD server goes into a CF PROTECTED state where outputs are disabled and sequences are paused cfProtectClear will return the Agilent MCCD server t
116. ins do not have to be configured in the same way Some can be used as isolated outputs while others are single ended I O Functions can also be mixed with some pins being general purpose Digital I O while others have a specific purpose Chapter 2 under Digital Connections provides further information about the purpose and application of the digital I O signals Any pin can be configured for selections 1 through 7 The common ground pin is the return for these selections Selections 10 and 11 are the power fail signals One is the input to signal that a power failure has occurred the other is the output to indicate when the shutdown state has been saved Pin 13 is a special purpose signal discussed under cfSetDigitalConfig in chapter 5 Selections 8 9 12 and 14 are the isolated output selections which require a dedicated pair Dedicated pairs are located on adjacent pins 0 1 2 3 4 5 etc up to a maximum of eight pairs For example to use the pair pin 0 1 as an isolated output configure pin 0 to be the isolated output and do not configure pin 1 Pin 1 is the minus connector of the output Writing to or reading pin 1 has no effect Isolated outputs cannot be used as inputs After you press Enter select whether the pin will be configured as either High True or Low True 0 Digital I O Configuration Change to High True Change to Low true Type a number and press Enter or ctrl G to return to initial screen 43 3 Configuration
117. ion Screens appear select 3 to configure the Digital I O port of your Agilent MCCD mainframe Select 1 or 2 to either enable or disable Digital I O configuration over the LAN If you enable Digital I O configuration you will be able to configure it in the future using the web accessible Agilent MCCD User Interface or API rather than always having to run the Agilent MCCD Configuration Screens NOTE One reason that you may want to disable Digital I O access over the LAN is to prevent accidental reprogramming of any digital I O functions if they are being used to monitor or implement safety functions in your cell forming procedure 41 3 Configuration Digital I O Configuration Digital I O Configuration over the LAN is ENABLED 1 To ENABLE Digital I O Configuration over the LAN 21 DISABLE Digital Configuration over the LAN 3 To configure Digital I O Type a number and press Enter or ctrl G to return to initial screen To continue configuring the Digital I O press 3 The pin numbers of the Digital I O connector appear on the screen Refer to Figure 2 2 for the physical locations of the pins Note that the two pins on each end ofthe connector are the Common connection for any pins that are configured as grounded outputs Digital I O Configuration Function General Purpose I O Grounded General Purpose I O Grounded General Purpose I O Grounded General Purpose I O Grounded General Purpose I O Grounded General
118. ion of cfCalStandard and cfCalTransfer can be performed with the single command cfCal CAUTION Make sure that no cells are connected when executing cfCalTransfer or cfCal 63 5 Programming Overview Since calibration can take up to 15 minutes for an Agilent MCCD with 256 channels calibration functions do not wait for calibration to complete They return immediately after starting calibration During calibration the CF CALIBRATING STAT bit is true in the status word returned by cfGetInstStatus When calibration is finished the CF CALIBRATING STAT bit goes false and a calibration error is indicated by the status bit CF CAL ERROR STAT This means that you can poll the instrument status while calibration is running to determine if calibration is complete If there are any calibration errors indicated by the CF CAL ERROR STAT bit then the details of those errors can be obtained from the test log To read the test log use cfReadTestLog The test log retains the calibration error information until another calibration or a selftest command is given Serial port The instrument has two serial ports which can be used as pass through ports from the LAN These ports can be used for local peripherals under control of the application program In pass through mode the functions that are used to read or write a string to either port have no direct effect on the instrument There is also a function to set the configuration of the s
119. ion with the text based error reporting to isolate a failure as either on a card or on the mainframe To read the text based calibration error messages use the cfReadSelftestLog API function If you are using the Agilent MCCD User Interface you can read the error messages by accessing the System page selecting Calibration and Selftest and then clicking on Calibration Log Write down the calibration error message and contact your Agilent Technologies Service Engineer 123 C Dimension Drawings Figure C 1 shows a simplified outline diagram of the Agilent E4370A MCCD mainframe Figure C 2 shows a simplified outline diagram of the Agilent E4371A Powerbus Load The dimension drawings included in the back of this documentation binder provide additional information EXHAUST AIR EXHAUST AIR TOP VIEW AIR FLOW 540 5mm AIR FLOW EXHAUST SIDE VIEW FRONT VIEW 221 5mm Figure C 1 Agilent MCCD Simplified Outline Diagram 125 C Dimension Drawings HOT EXHAUST AIR 28 0mm TOP VIEW LLL 540 5mm AIR FLOW SIDE VIEW 425 5 mm FRONT VIEW 221 5mm
120. is driven by an internal open collector Output transistor Output lines are capable of driving either TTL compatible inputs or high power loads such as solenoids indicator lights and relays These are 24 V 300mA compatible open collector outputs Digital Input When configured as inputs each line can be driven by an external source All lines are TTL compatible inputs with built in pull ups to 5 V to facilitate contact and switch closure style inputs Digital In Out When configured as in out each line can be used as both an input and an output Programming the line high allows an external device to drive the line Programming the line low drives the line low Reading the line returns the actual state of the line Isolated When outputs are configured for optically isolated mode they are open collector Output outputs capable of sinking 1 6mA at 0 4V and can be used up to 24V Adjacent pin pairs starting with pin 0 are the plus and minus output of an optical isolator This allows for up to 8 isolated outputs on adjacent pin pairs 0 1 2 3 4 5 etc Because these are dedicated pairs pins 1 and 2 cannot be combined as an isolated output Special Functions External When true this signal stops the cell forming sequence due to an external fault Fault Input condition It also sets the external fault output signal true This signal can be connected to a sensor such as a fire detector It can also be connected to the external fault output of an
121. itive and less than or equal to the programmed limit The change in voltage during the standard measurement interval that is negative and the magnitude of the change is greater than or equal to the programmed imit The change in voltage during the standard measurement interval that is negative and the magnitude of the change is less than or equal to the programmed imit The change in the magnitude of current during the standard measurement interval that is positive and greater than or equal to the programmed limit The change in the magnitude of current during the standard measurement interval that is positive and less than or equal to the programmed limit The change in the magnitude of current during the standard measurement interval that is negative and the magnitude of the change is greater than or equal to the programmed limit 97 6 Language Dictionary NOTE 98 CF NEG DIDT LE The change in the magnitude of current during the standard measurement interval that is negative and the magnitude of the change is less than or equal to the programmed imit CF DVMAX GE The magnitude of the difference between the voltage and the maximum voltage observed during the step that is greater than or equal to the programmed limit CF DVMAX LE The magnitude of the difference between the voltage and the maximum voltage observed during the step that is less than or equal to the programmed limit CF DVMIN GE The magnitude of the differen
122. its thumbscrews and remove the defective card Then return the card for service Selftest Error Messages In addition to the front panel LEDs described in Table E 1 more extensive text based error reporting is available through the Agilent MCCD User Interface and the API functions To read the text based selftest error messages use the cfReadSelftestLog API function If you are using the Agilent MCCD User Interface you can read the error messages by accessing the System page selecting Calibration and Selftest and then clicking on Selftest Log Write down the selftest error message and contact your Agilent Service Engineer 136 abort 70 airflow mainframe 25 powerbus load 25 amp hour capacity measurement 17 API 21 API functions guidelines 67 summary 68 API library installation 36 application programming interface 21 autoconnect 89 auxiliary output connections 35 ratings 35 basic functions 10 block diagram 9 blocking functions 67 C C program expanded example 107 multi threaded example 112 sequence example 105 cables 24 calibration 44 70 calibration switch 123 configuration screen 122 connections 120 equipment 120 error mesages 123 full 119 interval 119 LEDs 123 mainframe 119 standard 63 70 transfer 63 71 119 cell forming example 21 49 50 cell forming overview 49 cell grouping 54 cell resistance 18 cell status 59 86 cfAbort 70 cfCal 70 cfCal Standard 7
123. k k KK KK KK 2 2 2 2 2 2 2 2 k k f void main int argc char argv 108 char szServerAddr DEFAULT SERVER char szPassword DEFAULT PASSWORD CF HANDLE hServer int nResult int nDigitalPort char szBarCodeMsg MAX BARCODE int nBarCodeCount int nRunState CF READP readPos FILE hFile char szMeasBuffer MEAS BUF SIZE int nMeasBufCount float fCellResistance CF MAX CELLS Open a connection to an MCCD nResult cfOpen szServerAddr amp hServer szPassword if nResult CF OK printf Could not connect to MCCD s n szServerAddr APIError hServer cfOpen nResult printf Connected to MCCD s n szServerAddr Setup the client API DLL y Install a central error handler function cfSetErrorFunction APIError Set the client timeout period cfSetTimeout CLIENT TIMEOUT Setup the MCCD server Reset the server to power on defaults cfReset hServer Set voltage sense to remote cfSetSense hServer CF SENSE REMOTE Set trigger source to LAN cfSetTrigSource hServer CF LAN Set measurement log intervals for all sequence steps cfSetMeasLogInterval hServer ALL STEPS 0 1f 0 1f CF INFINITY Set serial port A configuration to use with bar code reader cfSetSerialConfig hServer CF PORTA 9600 CF PARITY NONE 8 CF FLOW NONE Enable probe tip checking cfSetSenseProbe
124. lent E4374A card can tolerate Note that the Agilent E4375A card can tolerate up to a 1 9 volt drop in the load wiring NOTE This example does not account for any additional lead path resistance that may be present such as fixture contact resistance or fixture relays If additional resistance is present lead length must be reduced yet further 27 2 Installation Power Bus Connections CAUTION Observe polarity when making the power bus connections to both the Agilent MCCD mainframe and the Agilent Powerbus Load Reversed polarity connections will result in damage to both the Agilent MCCD mainframe and the Agilent Powerbus load The negative bus bar on the Agilent MCCD mainframe is connected to chassis ground Connections to the power bus are made via and bus bars on the back of the Agilent E4370A MCCD mainframe and Agilent E4371A Powerbus Load units These bus bars let you interconnect multiple mainframes external power sources and other loads Bus bars have mounting holes that accept 7 mm diameter bolts NOTE Fasten a suitable terminal lug to each power bus cable Do not connect bare wires directly to the bus bars Stranded cables with more and smaller diameter wires are easier to work with than cables with fewer and large diameter wires When making your power connections you can use discrete terminated wires bus bars or combinations of both For proper operation all power bus configurations should have minimum loop are
125. less all measurement tests are true The server argument can be either a handle to a group obtained by cfOpenGroup or a handle to all cells in the instrument if no groups are defined The count argument defines how many tests are contained in the meas tests type and limit array arguments The maximum number of tests that can be passed in the meas tests type and limit arrays 1s defined by the macro CF MAX AND TESTS Example This example defines a test that will advance to the next step when the voltage is less than 3 1 V and the current is less than 0 5A i CF SEQ TEST meas test CF MAX AND TESTS float limit CF MAX AND TESTS meas test 0 CF VOLT LE limit 0 3 1 meas test 1 CF CURR LE limit 1 0 5 cfSetSeqTestAnd server 1 meas test limit CF TEST AFTER 0 0 CF NEXT 2 cfSetSerialConfig Syntax int cfSetSerialConfig CF HANDLE server CF SERIAL PORT port int baudrate CF SERIAL PARITY parity int wordsize CF SERIAL FLOW flow ctrl Description Sets the communication parameters of one of the serial ports port CF PORTA or PORTB baudrate 1200 2400 4800 9600 or 19200 parity CF PARITY EVEN CF PARITY ODD PARITY NONE wordsize 7 or 8 flow ctrl CF FLOW RTS CTS CF FLOW XON XOFF or CF FLOW NONE cfSetServerTimeout Syntax int cfSetServerTimeout CF HANDLE server float timeout Description This command sets the connection inactivity time out period The Agilent MCCD server will
126. ll cells Voltage is measured at the selected sense terminals for each cell The cell argument can be an individual cell number from 1 to 256 or the constant CF ALL CELLS to request readings for all cells If CF ALL CELLS is given the reading argument should point to an array of size CF MAX CELLS that will receive the return values cfOpen Syntax int cfOpen char server name CF HANDLE server char password Description Before using any of the cell forming cf functions you must establish a connection with the desired cell forming server This function creates a connection and returns a handle to be used by all other cf functions Access to cfOpen is protected by an alpha numeric password which is verified before the connection is permitted to be made The password can be changed using a serial terminal connected to Serial Port B The maximum length of the password is 32 characters The server name argument can either be an IP address or the server name Example include lt stdio h gt include mccd h main CF HANDLE server if cfOpen 15 14 248 100 amp server mypassword printf Cannot connect to MCCD server n cfOpenGroup Syntax int cfOpenGroup CF HANDLE server char name CF HANDLE group handle Description Associates a CF HANDLE with a defined group for subsequent control The group handle returned can be used to direct API commands to the specified group When an API program is finished us
127. ls that are available to implement a cell forming process 21 1 General Information Dig VO for fire smoke detector Powerbus BETEN Control PC Dig VO for fixture open close h 9 gt db Hb a Dig VO for ze 2D Do buttons and je ao indicators a z ano MCCD e Ready Test Power Sense lines Bar Code Scanner Serial communications Figure 1 7 Typical Cell Forming Station The control PC sends a signal via the LAN to the digital I O to turn on the Ready light on the test fixture This tells the operator that the system is ready for another tray of cells The control PC also begins polling for serial data on the RS 232 buffer of the Agilent MCCD The operator scans the bar code on the tray of cells sitting on the conveyor belt The operator then loads the tray into the test fixture and closes the fixture After detecting that data is available on the RS 232 buffer the control PC reads the bar code data Based on the data it downloads the correct forming sequence into the Agilent MCCD It also downloads setup information such as which channel outputs to enable probe check settings trigger Source etc The control PC then polls the digital I O lines for the Start button When the operator presses Start the control PC detects it and polls the digital I O lines to make sure the fixture is closed It sends a sig
128. n data 1s logged returns the configuration of an output returns the output probe resistance limit returns the output state of the Agilent MCCD returns the present instrument run state returns the setting of the remote or local sense returns the settings of the sense probe test returns the parameters for a sequence step number returns the parameters of one of the sequence tests returns the parameters of multiple tests combined with the AND function returns the elapsed time since the sequence was triggered returns the communication parameters of a serial port returns the status of a serial port returns a cell s present sequence step and the time since the step started returns the delay value set by cfSetShutdownDelay returns the shut down mode setting returns the selected trigger source returns the Name Location and Description information returns the voltage setting programmed by cfSetVoltage initiates a forming sequence measures the ac resistance of a cell or all cells measures accumulated ampere hour capacity of a cell in its present step measures accumulated watt hour capacity of a cell in its present step measures the current of a cell or all cells cfMeasDCResistance cfMeasOutputProbeResistance cfMeasProbeContinuity cfMeasSenseProbeResistance cfMeasVoltage cfOpen cfOpenGroup cfProtect cfProtectClear cfReadMeasLog cfReadTestLog cfReadSerial cfReset cfResetSeq cfRestart cfSaveOutputConfig cfSelftest cfSetAut
129. n progress it should create a thread to service the network connection Buffer Management When an application calls a function it must allocate any required buffers to pass data to the function When the function returns the caller is responsible for de allocating the buffers Sequential Function Calls All API functions support multithreaded operation If two threads each make a function call to different Agilent MCCDs the function calls will be processed concurrently However if two threads make a function call to the same Agilent MCCD the calls are serialized The function called by the second thread will block until the call made by the first thread completes Error Reporting All functions return CF OK if successful or a non zero code if an error occurred If desired an error handler function may be registered with the API to allow central error processing This function will be called whenever an error occurs in any API function Number of Server Connections An Agilent MCCD server lets you connect up to three clients All three clients have equal capability and all can monitor and control the Agilent MCCD using the API programming functions described in chapter 6 The Web based Agilent MCCD User Interface uses a separate connection that does not count as one of the three client connections 67 6 Language Dictionary Password Protection An application program must provide a password to open a connection to a server As
130. nal to turn off the Ready light and turn on the Test light indicating to the operator that the cell forming sequence has started The control PC then sends a trigger to the Agilent to start the forming sequence It also starts polling the instrument status for the completion of the test sequence The cell forming sequence runs The test sequence automatically applies a stimulus to the cells monitors cell parameters to determine if a cell passes or fails and stores the test results During the test sequence the Agilent MCCD monitors the dedicated digital I O lines that are connected to the fire and smoke detectors This allows rapid response in case of a problem When the instrument status in the Agilent shows that the sequence is complete the control PC sends commands to the Agilent MCCD to measure the internal resistance of all cells and then upload all measurement data Finally the control PC sends a signal to turn off the Test light and light the Ready light The operator knows that it is now safe to remove the tray from the fixture and start another batch Chapter 7 contains several programming examples written in C The purpose of these examples is to show you how to implement the various functions of the Agilent MCCD so that you can develop your own application programs Program 2 matches the example described here 22 Installation Inspection When you receive your equipment inspect it for
131. nction returns the time that has elapsed 1n seconds since a sequence was started or triggered After your program has determined that a sequence is running it can call this function and compute the sequence start time using the following algorithm StartTime CurrentTime cfGetSeqTime Output Measurements The instrument is capable of taking measurements at its output terminals on command The following measurement may be made on a single output or on all outputs For voltage measurements use cfMeasVoltage For current measurements use cfMeasCurrent The following resistance measurements may take several seconds to complete You may need to temporarily adjust the cfSetTimeout function to account for the increased execution time If the measurement could not be completed for some reason the special value CF NOT A NUMBER 9 91E37 is returned For ac resistance measurements use cfMeasACResistance For dc resistance measurements use cfMeasDCResistance For output probe resistance measurements use csMeasOutputProbeResistance For sense probe resistance measurements use csMeasSenseProbeResistance 61 5 Programming Overview The output voltage is regulated and measured at the power output terminals unless the remote sense function is used The Agilent MCCD can be configured to regulate and measure the voltage at either the power terminals or the sense terminals To set and query where the vol
132. nector wiring 27 sense connector wiring 27 function cell grouping 53 overview 53 G general purpose I O 32 get cell status 72 cell status string 72 current 72 digital configuration 73 digital port word 73 group 73 instrument identification 74 instrument status 74 measurement log interval 75 output configuration 75 output probe test limit 75 output state 76 run state 76 sense probe test setting 77 sense setting 76 sequence step parameters 77 sequence step time 78 sequence test parameters 77 78 serial port configuration 78 serial port status 78 step number 79 trigger source 79 user identification 79 voltage 80 grouping functions 54 memory requirements 60 H high rail 57 HW failed 57 HyperTerminal configuration 37 1 identification 62 idle 56 initiate 80 initiated 56 inspection 23 interlocked 57 ger LAN connection 37 62 load voltage drops 26 location mainframe 25 powerbus load 25 low rail 57 M MCCD configuration 38 MCCD measurement log 47 MCCD user interface 45 using 46 measure ac resistance 80 ampere second capacity 80 current 81 dc resistance 81 output probe resistance 81 probe continuity 82 sense probe resistance 82 voltage 83 watt second capacity 81 measurement log 47 60 data files 48 measurement log utility installation 36 multiple mainframes 14 Index N next 49 non volatile memory
133. nes 8 through 15 are on connector 2 There are two common terminals on each connector for ground or the return connection The following figure illustrates the internal circuits of the digital I O connector When used as a digital input A the external circuit connected to the digital input pin can be TTL AS CMOS HC or a simple switch that connects the digital input to the common terminal When used as a digital output B the external circuit connected to the output pin can also be TTL AS CMOS HC or a warning light provided the light has an external bias supply When used as isolated pairs C each pin pair can be connected to external circuits with the following restrictions Only adjacent pairs can be used together Only the even pin of each pair can be programmed to set the logic level as low true or high true When Low True is programmed the output is true when the pins are shorted When High True is programmed the output is true when the pins are open 5V V DIG I O d gt 4 7K Connector 47K 5 DIG I O Connector Dig In signal 07 gt Odd or Even Pin nn Even Pin A Digital Input 5V Common Isolated Dig Out signal Nw 7 X 4 7K 51125 Adjacent V C Isolated Output Odd or Even Pin Dig Out signal B Digital Output Figure 2 3 Equivalent Digital I O Circuits 33 2 Installation The following f
134. nfiguring the LAN 1 Configure the HyperTerminal program 2 Connect the Agilent E4370A MCCD to the COM port on the PC 3 Fill Out the Agilent MCCD Configuration Screens Network Configuration Identification Configuration Miscellaneous Configuration Configuring the Digital I O Mixed Configuration Example Accessing Calibration 4 AGILENT MCCD USER INTERFACE Description PC Requirements Browser Settings Security Localization Access Using the Interface Using the Agilent MCCD Measurement Log Utility 5 PROGRAMMING OVERVIEW A Cell Forming Overview Cell Forming Example Function Call Overview Cell Grouping Grouping Functions Step Test Functions Sequence Control Output Configuration Instrument Protection Power Fail Operation Instrument State Storage Status Measurement Log Time Stamp Function Output Measurements Direct output control General Server functions Selftest Calibration Serial port Digital port Probe check 6 LANGUAGE DICTIONARY API Usage Guidelines API Function Summary API Function Definitions cfAbort cfCal cfCalStandard cfCalTransfer cfClose cfDeleteGroup cfGetCellStatus cfGetCellStatusString cfGetCurrent cfGetDigitalConfig cfGetDigitalPort cfGetGroups cfGetInstIdentify cfGetInstStatus cfGetMeasLogInterval cfGetOutputConfig cfGetOutputProbeTest cfGetOutputState cfGetRunState cfGetSense cfGetSenseProbeTest cfGetSeqStep cfGetSeqTest cfGetSeqTestAnd cfGetSeqTime cfG
135. ng Server functions set and read communication parameters Digital I O functions configure and control the external digital control signals Serial Port functions configure and control the two serial I O ports The Function Definitions section in chapter 6 lists all cell forming cf functions in alphabetical order Cell Grouping The Agilent E4370A MCCD has the capability to group contiguous blocks of cells or channels Each group of defined cells can be controlled independently of any other group of defined cells This means that different cell forming sequences can be assigned to groups of cells connected to an Agilent E4370A MCCD mainframe All assigned sequences can run simultaneously Each group is defined by a starting cell number and by the total number of cells in the group A group can be as small as a single cell or as large as all the cells in the mainframe If no groups are defined commands sent to the mainframe apply to all active channels in the mainframe If one group of cells has been defined then any remaining cells in the mainframe must also be assigned into groups in order to be controlled To create a group use the command int cfSetGroup CF HANDLE server char name int start int size The name argument serves to identify the group Once the group has been created a handle must be obtained for subsequent control with API functions This function can also be used to modify an existing group When an existing
136. ng specifications apply for discharging voltages from 1 5 V to maximum and discharging currents from minimum to maximum Accuracy specifications apply over the entire range of ac line and power bus conditions line regulation and charging discharging levels load regulation Specifications are subject to change without notice Table A 1 Agilent E4370A E4374A E4375A MCCD Specifications E4374A Value E4375A Value Output Voltage Maximum Compliance Voltage charging measured at 5 5 V 6 0 V cell voltage fixture wiring MCCD connector S voltage drops Maximum Programmable charging or discharging 2A 3A FC MEME INNER Maximum Output Current charging or discharging 0A 0A Current external voltage of 5V to 5 V Maximum Power charging per channel 11 W 18 W Maximum Input Voltage discharging Voltage Programming Accuracy measured at sense connector 1mV 1mV input with remote sensing Voltage Readback Accuracy measured at sense connector 1mV 1mV input with remote sensing Current Programming of reading offset lt 1A 0 05 0 05 1 5mA Accuracy gt 1Ato lt 2A 0 10 1mA 0 10 1 5mA gt 2A N A 0 15 1 5mA Current Readback Accuracy of reading offset lt 0 05 1mA 0 05 1 5mA gt 1Ato lt 2A 0 10 1mA 0 10 1 5mA gt 2 N 0 15 1 5mA A Accuracy Accuracy There is a minimum programmable cu
137. ng the Agilent MCCD Configuration Screens to calibrate the Agilent MCCD is provided as a convenience You can also run calibration using the Agilent MCCD User Interface or the API function calls over the LAN For further information about how to use the Agilent MCCD Configuration Screens for calibration refer to Appendix B 44 Agilent MCCD User Interface Description The Agilent MCCD User Interface lets you interactively monitor and control the Agilent MCCD System This interface is accessed using a standard web browser on a PC located anywhere on the LAN No special software other than the web browser needs to be installed on the PC to use this interface PC Requirements The PC must have one ofthe following web browsers installed Netscape Navigator 3 03 or greater Microsoft Internet Explorer 3 02 or greater Browser Settings The following browser settings are recommended when using the Agilent MCCD User Interface Graphics card set to display 256 colors Video resolution of 800 X 600 pixels or better When using Netscape Navigator go to View Network Preferences Language and enable Javascript When using Microsoft Internet Explorer go to View Options Security and enable Run ActiveX scripts NOTE If you use the standard web browser buttons Back Forward or Home to navigate through the Agilent MCCD User Interface you may experience unexpected results Security The server inside the Agilent MCCD implements th
138. nstallation Installing the API Library and Measurement Log Utility Software for the Agilent MCCD consists ofthe API library and a measurement utility This software is provided with the Agilent E4373A Documentation package You need to install this software to use the supplied C language function calls to control the Agilent MCCD as part of a automated manufacturing process A setup program is provided on the disk to install the client API files and measurement utility on your PC The setup program will create a new directory and a new windows program group To install the software 1 Place Disk 1 in the A drive of your computer and run A SETUP EXE 2 Follow the directions on the screen to install the software The default installation selections will install all files in the C hpmecd directory on your computer It will also create an Agilent Client API and Measurement Log Utility program folder You can change both of these default selections Refer to the README TXT file installed in the hpmecd directory for any updates The following files are also included in the npmccd directory mccdcfg exe Lets you update the Agilent MCCD firmware from a Windows 95 or Windows NT client PC mccdlog exe Lets you transfer data from the Agilent MCCD s data log memory to a Windows 95 or Windows NT client PC mccd dll Required files to develop a C programming client application mccd lib mccd h Two example programs written in C are
139. nt to check the sequence and if it is executable it begins erasing the memory that is used for the measurement log and moves to the CF ERASING state The memory may take from 5 to 50 seconds to erase after which the instrument moves to the INITIATED state From here the instrument will start executing the sequence when a trigger is received The trigger source can be either the LAN or the digital I O port When the sequence completes the instrument returns to the CF IDLE state and the results can be read from the instrument Note because the initiate function clears the measurement log it must be read before initiating the sequence again To query which state the instrument is in use cfGetRunState To check a sequence and move to the INITIATED state use cfInitiate To start a sequence use cfTrigger orgenerate a trigger using a configured Digital I O line Set and query the trigger source use cfSetTrigSource cfGetTrigSource To query the time since the trigger occurred use cfGetSeqTime To abort a sequence and return to the IDLE state use cfAbort Output Configuration If specific outputs are not being used you can program them to be inactive Outputs that are configured as inactive will remain in an off state and will not be included in the sequencing or status functions They will not be tested during selftest and will not get calibrated during instrument calibration Measuring inactive o
140. nterval 93 output configuration 93 output probe resistance limit 94 output sense probe 95 output sequence step parameters 95 output state 62 94 output voltage sensing 95 sequence test parameters 97 99 serial port communication parameters 99 timeout 100 140 trigger source 100 voltage 62 101 set sequence step 50 54 set sequence test 50 54 shutdown 101 delay 79 100 mode 79 100 software utility installation 36 specifications 115 state delete 101 list instrument states 102 recall instrument states 102 save instrument states 102 state storage 58 status 59 step 49 system capabilities 9 test 49 test log 63 test outcome 50 time stamp 61 timeout setting 62 trigger 32 trigger sequence 102 triggering critical measurements 18 eV Visual C configuration 36 voltage measurement 16 61 W warranty 2 watt hour capacity 17 web accessible interface 21 web browser access 46 password 45 settings 45 web interface 45 using 46 wire resistance 26 27 29 example 27 wire sizing 30 31 write serial port words 103 Agilent Sales and Support Office For more information about Agilent Technologies test and measurement products applications services and for a current sales office listing visit our web site http www agilent com find tmdir You can also contact one of the following centers and ask for a test and measurement sales representative United S
141. o its previous state state prior to protection event if there are no longer any existing protect conditions If any protect conditions are still true cfProtectClear will leave the state of the Agilent MCCD server in CF PROTECTED cfProtectClear also clears all bits in the word returned by cfGetInstStatus that have false conditions Any condition bits that are true 1 remain true in the event words cfReadMeasLog Syntax int cfReadMeasLog CF HANDLE server CF READP read pos int cell int step int bufsize char buffer int retcount Description This function returns entries from the measurement log The server argument can be either a handle to a group obtained by cfOpenGroup or a handle to all cells in the instrument if no groups are defined 84 Language Dictionary 6 The measurement log contains measurements acquired during the forming sequence For the sequence step types CF CHARGE CF DISCHARGE or CF REST a log entry is made at the beginning and end of a step Additional log entries are made whenever the voltage current or time meet the criteria specified by the function cfSetMeasLogInterval For all other sequence step types only one entry is made containing a specific measurement The value pointed to by the read pos argument controls which portion of the log is read If this value is the special value CF READ FIRST data is returned starting at the beginning of the log Subsequent calls to cfReadMeasLog use the locati
142. oConnect cfSetCurrent cfSetDigitalConfig cdSetDigitalPort cfSetErrorFunction cfSetGroup cfSetMeasLogInterval cfSetOutputConfig cfSetOutputProbeTest cfSetOutputState cfSetSense cfSetSenseProbeTest cfSetSeqStep cfSetSeqTest cfSetSeqTestAnd cfSetSerialConfig cfSetServerTimeout cfSetShutdownDelay cfSetShutdownMode cfSetTimeout cfSetTrigSource cfSetVoltage cfShutdown cfStateDelete cfStateList cfStateRecall cfStateSave cfTrigger cfWriteSerial Language Dictionary 6 measures the dc resistance of a cell or all cells measures the output probe resistance of a cell or all cells checks the sense and output probe connections of a cell or all cells measures the resistance looking into the sense probes of a cell or all cells measures the voltage of a cell or all cells opens a connection to the Agilent MCCD associates a server handle with a defined group forces the Agilent MCCD into a protected state clears the protected state of the Agilent MCCD returns measurements acquired during a forming sequence returns error messages from the test log reads data from one of the serial ports sets programmable functions to their power on state aborts and clears a previously defined sequence recalls a previously saved restart state saves the output configuration in non volatile memory begins an instrument selftest turns the automatic reconnect feature of the mccd dll file on or off sets the output current sets the operation of an indivi
143. ogrammed current level with current gt 50 mA 5 for up to 5 ms Maximum Voltage Overshoo Undershoot 25mV Maximum Current Risetime Minimum Programming Current charging and discharging Measurement Interval for data logging ls for sequence tests ls for probe check channel ls Step Time maximum 596 hours minimum 7s resolution Is Maximum Readings in Data Buffer 5 2 349 504 Maximum Sequence Length BR 596 hours Maximum Number of Steps in Sequence Maximum Number of Defined Groups permamkame 8 ac Input Line Requirements input voltage range 95 Vac 250 Vac input frequency range 47 Hz 63 Hz maximum input power 300 W max current 100 120Vac 4A max current 220 240Vac 2A Maximum Sense Probe Resistance Po Auxiliary bias output power max 5 to 24V 0 42 to 2A Auxiliary bias output voltage max 0 to 0 42A min 4 0to2 A Auxiliary bias output current max 5 V output min 24 V output To measure output probe resistance accurately there must be 50 mV between the power leads and the sense leads To measure sense probe resistance accurately there must be 100 mV of cell voltage 116 Specifications A Table A 2 Agilent E4370A E4374A E4375A MCCD Characteristics continued Auxiliary bias output voltage accurac of setting at any voltage and current Auxiliary bias output noise peak to peak at any voltage and current 100 mV Non isolated Digital I O Characteristi
144. on pointed to by read to keep track of the read position If the value pointed to by read pos is the special value CF READ LAST the last entry for the specified cell is returned If this special read pos value is combined with the cell argument of CF ALL CELLS then the last 256 entries in the log are returned if bufsize is large enough to accept them If bufsize is not large enough the last entries that fit in bufsize are returned The cell and step arguments act as filters that allow limiting the returned log entries to a specific cell or specific step numbers The cell argument can be an individual cell number from 1 to 256 or the constant CF ALL CELLS to read log entries for all cells The step argument be an individual step number or the constant CF ALL STEPS to read log entries for all steps Additional step arguments return tagged measurements The following table summarizes the step arguments step number returns entries for that step number CF ALL STEPS returns entries for all steps CF STEP TRANSITIONS returns summary entries of each step CF TAGGED ACR returns tagged ac resistance entries CF TAGGED DCR returns tagged dc resistance entries CF TAGGED OCV returns tagged open circuit voltage entries CF TAGGED CUM AH returns tagged cumulative ampere hour entries CF TAGGED CUM WH returns tagged cumulative watt hour entries If the step argument is the special value CF STEP TRANSITIONS the function returns a very abbrevi
145. onditions of each cell are defined by the functions cfSetVoltage cfSetCurrent and cfSetOutputState The server argument can be either a handle to a group obtained by cfOpenGroup or a handle to all cells in the instrument ifno groups are defined CAUTION Make sure that no cells are connected when executing cfCal int cfCal CF HANDLE server Description Begins a full calibration sequence This function calibrates the Agilent MCCD s internal references and then transfers the calibration of the references to each channel Thus cfCal performs the same work as the cfCalStandard and cfCalTransfer functions Calibration requires that one of the supported voltmeters be connected to Serial Port A There cannot be any loads or cells connected to the channel outputs and the voltmeter input must be connected to the calibration output Since full calibration can take up to 15 minutes calibration functions do not wait for calibration to complete They return immediately after starting calibration To monitor the progress and results of calibration use cfGetInstStatus While calibration is in progress the CF CALIBRATING STAT bit is true If any errors occur during calibration the CF CAL ERROR STAT bit is true Details of the errors can be obtained using cfReadTestLog cfCalStandard Syntax int cfCalStandard CF HANDLE server Description 70 Begins calibration of the instrument s internal references This requires that one of the suppo
146. or another cfSelftest cfCal cfCalStandard or cfCalTransfer command is given cfReset Syntax int cfReset CF HANDLE server Description Sets most programmable functions to their power on states This command clears any previously defined sequence steps and sequence tests and aborts any sequence that may be in progress All cell outputs are set to the off state cfReset does not affect settings of the following cfGetSerialConfig cfReadSerial cfGetSerialStatus or digital configuration It does not clear any logs or data queues cfResetSeq Syntax int cfResetSeq CF HANDLE server Description Clears any previously defined sequence steps and sequence tests and aborts any sequence that may be in progress The server argument can be either a handle to a group obtained by cfOpenGroup or a handle to all cells in the instrument if no groups are defined 87 6 Language Dictionary cfRestart Syntax int cfRestart CF HANDLE server Description This command causes the Agilent MCCD to recall a previously saved restart state The Agilent MCCD must be in the CF_IDLE state to perform a restart The existence of a restart state can be queried by testing the CF RESTART bit of the status returned from cfGetInstStatus cfSaveOutputConfig Syntax int cfSaveOutputConfig CF HANDLE server Description This command causes the output configuration setting of each channel to be saved in non volatile memory These settings are set
147. other Agilent MCCD so that it can respond to a fault in another mainframe External This signal is asserted true when an external fault occurs It can be connected to Fault Output external equipment such as a fire alarm It can also be connected to the external fault input of another mainframe so that a fault in one mainframe can shut down other mainframes A cfProtectClear command clears this signal External When true this signal stops the cell forming sequence but because the stop was not Interlock due to a fault condition it does not set the external fault output signal true This level sensitive signal can be connected to an external stop or pause switch to allow an operator or mechanical device to stop a cell forming sequence When the signal is removed the sequence continues 32 Installation 2 External This external trigger input is used to start the cell forming sequence Trigger Power Fail Depending on how the system is configured when true this input signal will cause the Agilent MCCD to perform a shutdown at which time it saves its state for a later restart A power fail output signal is also available to indicate when the shutdown state has been saved Wiring Guidelines Connection for the 16 digital I O signals are through two 10 pin Phoenix Weidmuller style connectors The connectors have screw terminals for making wire connections and are detachable Digital I O lines 0 through 7 are on connector 1 digital I O li
148. ound terminal of the external dc source Channel Connections Each Agilent E4370A MCCD mainframe can control up to 256 individual charge discharge cells when four Agilent 64 Channel Charger Discharger cards are installed Each charger discharger card contains 64 channels Note that in the programming sections of this manual channels are also referred to as outputs When fully loaded the 256 charge discharge channels are configured as follows 25 2 Installation Table 2 4 Channel Configuration Number 1 2 3 4 s 6 CNET 1 8 9 16 17 24 25 32 4 48 49 56 57 64 65 72 73 80 81 88 89 96 105 112 113 120 121 128 129 136 137 144 145 152 153 160 169 176 177 184 185 192 193 200 201 208 209 216 217 224 225 232 233 240 241 248 249 256 Power connections on each Agilent 64 Channel Charger Discharger Card are through eight 37 pin D subminiature connectors These connectors allow for shielding and strain relief Corresponding sense connections are also available on the connectors Refer to Table 2 2 for information about ordering the mating connectors As indicated in the table mating connectors accept wire sizes from AWG 24 up to AWG 18 depending on the type of connector that you are using You must wire up the mating connector to make your wire connections Install the mating connector on the front ofthe charger discharger card when complete Refer to Appendix D for detailed pinout
149. output as a low level at the connector Any pair that is set to CF ISOLATED cannot be used as a digital input The data returned by cfGetDigitalPort for a CF ISOLATED pair consists of the programmed value in the even numbered bit and a 0 in the odd numbered bit See Also cfSetDigitalPort cfGetDigitalConfig 91 6 Language Dictionary cfSetDigitalPort Syntax int cfSetDigitalPort CF HANDLE server int data Description Write data to the digital I O port Data must be sent as the equivalent of a 16 bit binary word For example sending a value of 0 sets all bits low Sending a value of 65 535 sets all bits high Use the following values to set individual digital VO bits value 256 512 1024 Combine the above values to program multiple bits For example to set bits 3 7 10 and 11 send 3208 8 128 1024 2048 The power on setting for cfSetDigitalPort is 0 all bits low See Also cfGetDigitalPort cfGetDigitalConfig cfSetErrorFunction Syntax int cfSetErrorFunction void ErrorFn CF HANDLE server char name int errorcode Description Defines an error function that will be called by other instrument functions when they detect a non zero return value The argument ErrorFn is a pointer to a function returning void with 3 arguments The application program can use this mechanism to be notified whenever a error value is returned from any of the Agilent MCCD library functions A null pointer can be passe
150. owered relays inside the Agilent MCCD Thus should a power failure occur which causes the Agilent MCCD to lose ac power in order to provide for safety these internal relays would be disengaged and any further charging or discharging would stop even if the power bus were still powered and active Also should a power failure occur which does not effect the Agilent MCCD but which causes the power bus to drop in voltage this will be detected by the Agilent MCCD as a power bus undervoltage condition and the relays will open thus preventing any further charging or discharging of connected cells Remote Programming Interface The remote programming interface to the Agilent MCCD is through a LAN based TCP IP communication protocol The connection to the LAN is through a standard 8 pin 10Base T connector on the rear panel which must first be configured according to the directions in chapter 3 The LAN communication protocol is implemented in two ways Application Programming Interface API The application programming interface runs under Windows 95 or Windows NT 4 0 using supplied C language function calls These function calls are documented in chapters 5 and 6 and provide the most comprehensive method of controlling the Agilent MCCD The API interface is the preferred method of control when the Agilent MCCD is connected to a remote computer as part of an automated manufacturing process Web Accessible Agilent MCCD User Interface The Agilent
151. owse button to chose a directory in which to put the file The default directory is C hpmccd bin 5 When you select Individual files per cell the utility automatically creates up to 256 data files one for each active cell Filenames are c001 txt through c256 txt All files will be placed in the C hpmccd bin data directory 6 Click Transfer to start the data transfer The status field provides status information about the transfer 7 Click Exit to exit the utility Data files that are created by the measurement log utility contain the following information cell number 1 through 256 step number 1 through n the total number of steps in the sequence time Time in seconds since the forming sequence was triggered status A value that indicates the status of the cell Value Status 1 constant voltage mode 2 constant current charge mode 4 constant current discharge mode entry type One of the following Charge Discharge Rest ACR DCR volt reading Cell voltage in volts only for Charge Discharge and Rest steps curr reading Cell current in amperes only for Charge Discharge and Rest steps amp hours Cumulative ampere hours from the beginning of the step number only for Charge Discharge and Rest steps watt hours Cumulative watt hours from the beginning of the step number only for Charge Discharge and Rest steps resistance ac or dc resistance measurement in ohms only for ACR and DCR steps 48
152. poses Syntax int cfSetOutputState CF HANDLE server CF OUTPUT STATE state Description Set the output state for diagnostic or debugging purposes The server argument can be either a handle to a group obtained by cfOpenGroup or a handle to all cells in the instrument if no groups are defined A state value of CF OUTPUT OFF sets the output state of the cell to OFF CF OUTPUT CHARGE sets the output so that is can supply charge CF OUTPUT DISCHARGE sets the output so that it can discharge sink current In the off state the channel outputs are open circuited and supply no current In both the charge and discharge states the channel outputs are controlled by cfSetVoltage and cfSetCurrent Agilent MCCD outputs can be directly controlled for diagnostic and debugging purposes without defining a sequence of steps and tests Direct output control commands can only be used in the CF IDLE state Voltage current and output state settings are set on all outputs simultaneously Whenever the unit leaves the IDLE state settings are reset to their power on values The power on setting for cfSetOutputState is CF OUTPUT OFF See Also cfGetOutputState cfSetVoltage cfSetCurrent 94 Language Dictionary 6 cfSetSense Syntax int cfSetSense CF_HANDLE server CF_SENSE sense Description Sets voltage sense to remote or local sense The sense argument is either CF SENSE REMOTE or CF SENSE LOCAL The sense setting is stored in non vola
153. ption Sets the voltage current and time change criteria for causing a new measure log entry to be written The server argument can be either a handle to a group obtained by cfOpenGroup or a handle to all cells in the instrument if no groups are defined The step number argument can either be an individual step number or the constant ALL STEPS to set the criteria for all steps to the same values Whenever a forming sequence is running instrument state is CF FORMING a measurement log entry will be made if any of the following are true The measured cell voltage has changed by volt_interval volts since the last logged entry The measured cell current has changed by curr_interval amps since the last logged entry Time_interval seconds have elapsed since the last logged entry Setting any of these values to the special value of CF_INFINITY will effectively turn off logging based on that particular parameter The power on setting for cfSetMeasLoglnterval is CF ALL STEPS The voltage current and time interval values are set to CF_INFINITY cfSetOutputConfig Syntax int cfSetOutputConfig CF HANDLE server int first cell int last cell CF OUTPUT CONFIG config Description Set the configuration of an output to either CF SET ACTIVE or CF SET INACTIVE AII cells included in the range from first cell to last cell are set to the requested configuration A cell that is set to CF SET INACTIVE ignores all output and forming commands M
154. purposes without defining a sequence of steps and tests Direct output control commands can only be used in the CF IDLE state Voltage current and output state settings are set on all outputs simultaneously Whenever the unit leaves the IDLE state settings are reset to their power on values The power on setting for cfSetCurrent is 0 amperes See Also cfGetCurrent cfSetVoltage cfSetOutputState 89 6 Language Dictionary cfSetDigitalConfig Syntax int cfSetDigitalConfig CF_HANDLE server int bitnum CF_EXT_SIGNAL signal CF POLARITY polarity CF REFERENCE reference Description NOTE The Agilent MCCD Configuration screens see chapter 3 control the availability of cfSetDigitalConfig If this menu item is set to lock out programmable access cfSetDigitalConfig will return the error ACCESS DENIED Sets the operation of any of the 16 pins of the digital I O port Digital I O bits can be configured as independent chassis referenced bits that can be used as inputs or outputs or as isolated output pairs When configured as isolated output pairs each even numbered bit and the odd numbered bit that immediately follows it form a pair For example Bit 0 and bit 1 form a pair bit 2 and bit 3 form a pair etc up to a maximum of 8 pairs The bitnum argument specifies the bit to be programmed and is a number between 0 and 15 0 represents the least significant bit in the digital word that is set and read by cfSetDigitalPort and
155. r amp nMeasBufCount if nMeasBufCount 0 break fwrite szMeasBuffer sizeof char nMeasBufCount hFile GetTimeStamp szTimeStamp fwrite szTimeStamp sizeof char strlen szTimeStamp hFile fclose hFile return 0 113 7 C Program Examples EEE KK KK KK RR RR 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 22 2 2 Return a timestamp string okckckckckckckckck RK KK KK KK RR 222 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 22 222 2 2 2 2 2 2 2 2 2 k k f void GetTimeStamp char szTimeStamp char buf 128 _strdate szTimeStamp strcat szTimeStamp _strtime buf strcat szTimeStamp buf strcat szTimeStamp r n RR RR RK KK KK KK RRR RRR 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 KK KR 2 2 2 2 2 2 2 2 2 2 2 20 Error handler function RR 2 22 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 22 222 2 2 2 2 2 2 2 2 2 2 2 27 void ErrorHandler CF_HANDLE server char name int error printf ErrorHandler Server d Function s Error d n server name error 114 Specifications Hardware Specifications Specifications in Table A 1 are warranted Specifications apply over an ambient temperature range of 0 C to 40 C When charging specifications apply for charging voltages from 0 5 V to maximum and charge currents from minimum to maximum When dischargi
156. r accurately controlled current and voltage into a cell for proper forming Each cell is independently paced through the cell forming sequence This means that some cells can be charging and others discharging if they are at different points in the sequence Discharger The Agilent can draw accurately controlled current from a cell for both forming and capacity measurement Measurement The Agilent MCCD can monitor several parameters of the cell while charging discharging and resting Measurements include voltage current time internal resistance ampere hours and watt hours These measurements are used to adjust the cell forming sequence for safety reliability and or proper cell forming Digital I O control The Agilent MCCD can monitor and stimulate digital I O connected to it This simplifies wiring allows ease of expansion and is more reliable than a centralized control system Its high speed capability is ideal for fast fault detection and system shutdown RS 232 control The Agilent can support peripherals connected to its serial ports for adding printers bar code readers local terminals robots and other types of local additional hardware via pass through control from the host computer Equipment Protection The Agilent has extensive safety features to protect both the cells under formation and the hardware from equipment failure programming errors cell failures and other types of ex
157. r respective ac resistance and dc resistance steps Cells may be tested before or after a specified time in the step or they may be tested once at a specific time Cells may also be tested at the beginning of a step before a stimulus is applied to ensure that it is safe to charge or discharge the cell Depending on the outcome of a test a cell can either bypass the remaining tests and go to the next step in the sequence or get flagged as failed and removed from the sequence This is illustrated in figure 5 1 When a cell is removed from the sequence the output to that cell is turned off and no further tests are performed on it NOTE There are no sequence restrictions on individual cells What this means is that a cell can be at any point in a cell forming sequence independent of any other cell Cells can charge discharge or rest at the ratings specified for the specific step that they are in AC and DC resistance measurements are also performed on individual cells whenever they enter an ACR or DCR step Outputs to the cells can also be turned on or off individually 49 5 Programming Overview Start STEP Continue in step Test outcome Test action Remove cell from sequence Go to NEXT step Figure 5 1 Test Outcome Flowchart Cell Forming Example The following table documents a sequence consisting of four steps Figure 5 2 illustrates how three of the cells beh
158. r step number time status entry type volt reading curr reading amp hours watt hours lt newline gt For all other sequence step types the format is cell number step number time status entry type value lt newline gt cell number step number time status entry type volt reading curr reading amp hours watt hours value through 256 through n the number defined by cfSetSeqStep Time in seconds since the forming sequence was triggered A value that indicates the status of the cell Constant Value Description CF CV 1 constant voltage mode CF_CC_POS 2 constant current charge mode CF_CC_NEG 4 constant current discharge mode One ofthe following character strings Charge Discharge Rest ACR DCR TaggedACR TaggedDCR Tagged OCV TaggedCumAH TaggedCumWH ResetCumAH ResetCumWH Cell voltage measurement in volts Cell current measurement in amperes The cumulative ampere hours measured from the beginning of this step number The cumulative watt hours measured from the beginning of this step number The measurement or value related to the step type either Tagged ACR TaggedDCR TaggedOCV TaggedCumWH TaggedCumAH The measure log remains in the instrument s memory until a new forming sequence is started with the cflInitiate function cfReadSerial Syntax int cfReadSerial CF HANDLE server CF SERIAL PORT port int bufsize char buffer int retcount Description Reads data from one of the serial ports Th
159. ray of 256 floats that will receive the return values cfMeasDCResistance Syntax int cfMeasDCResistance CF HANDLE server int cell float reading Description NOTE Because this command may take several seconds to complete you may need to temporarily adjust the cfSetTimeout function to account for the increased execution time Returns the measured DC resistance for a particular cell or for all cells The cell argument can be an individual cell number from 1 to 256 or the constant CF ALL CELLS to request readings for all cells If CF ALL CELLS is given the reading argument should point to an array of 256 floats that will receive the return values If the DC Resistance measurement cannot be made either because the output for a cell is in the OFF state the voltage sense is set to Local or if there is insufficient current flowing to make the measurement the special value CF NOT A NUMBER 9 91E37 is returned cfMeasOutputProbeResistance Syntax int cfMeasOutputProbeResistance CF HANDLE server int cell float resistance Description NOTE Because this command may take several seconds to complete you may need to temporarily adjust the cfSetTimeout function to account for the increased execution time Measures and returns the output probe contact resistance for a particular cell or for all cells Data 1s in ohms The cell argument can be an individual cell number from 1 to 256 or the constant CF ALL CELLS to request reading
160. rogram The cell forming sequence that you program using the Agilent MCCD User Interface is identical to the sequence that you construct using the API functions in a program You can also download an existing sequence from a PC and then use the Agilent MCCD User Interface to view or modify it You can also use the Agilent MCCD User Interface as a learning tool to familiarize yourself with the various features of the Agilent MCCD Finally the Agilent MCCD User Interface contains a Diagnostics Page that lets you directly and immediately program the individual channel outputs This is only meant for debugging purposes Agilent Technologies does not recommend using direct output control to run your cell forming sequence CAUTION Direct output control should not be used for charging cells There is no protection against overcharging when using direct output control Use this mode only for diagnostic and debugging purposes More information on using the Agilent MCCD User Interface can be found in the online help that can be accessed from the interface Click on the Help button 46 User Interface 4 Using the Agilent MCCD Measurement Log Utility If you are using the Agilent MCCD User Interface to create and run a cell forming sequence you may want to transfer the data from the data log memory to your PC for analysis and storage at the completion ofthe cell forming sequence Use the Agilent MCCD Measurement Utility to transfer the data from the d
161. rogrammable rating can be up to 5 5 volts to compensate for any voltage drop caused by resistance in the wiring between the channel output and the cell connections On the Agilent E4375A cards the compliance voltage can be up to 6 0 volts The following table gives the resistance values of various wire sizes so that you can calculate the voltage drops for various wire lengths and diameters Larger and shorter wires result in lower voltage drops The table also gives an example of the maximum allowable wire lengths that can be used when taking the compliance voltage capability of the charger discharger cards into consideration The voltage drop used in the example is based on a minimum of 4 1 volts available to charge a typical lithium ion cell Table 2 5 Resistance of Stranded Copper Conductors Resistance at 20 deg C Maximum length in meters Q ft total length of and leads to limit voltage drop to As an example assume that you are using AWG 24 wire for your power connections and your charging voltage is 4 1 volts at 2 amperes Using this diameter wire and assuming a maximum current of 2 amperes the maximum distance from the power connector to the cell is limited to about 4 meters This is because with a total wire length of 8 meters for both the and power leads the maximum voltage drop in the wiring is 1 4 volts 2A X 0 70 With a charging voltage of 4 1 volts required at the cell this is the maximum voltage drop that an Agi
162. rops in both the and power bus leads causes the voltage at the mainframe power terminals to drop below 22 8 volts the Agilent E4370A MCCD will shut down due to an undervoltage condition Use a larger size wire to reduce the voltage drop Discharging Mode Guidelines Power bus wires must also capable of handing the full discharging current requirements of all Agilent E4370A MCCD units connected to the power bus In the example that follows the calculations are also for worst case current requirements Calculate the output current of one fully loaded Agilent E4370A MCCD as follows l Multiply the power generated by one cell times the number of cells in the Agilent MCCD Multply the result by the efficiency of the unit to determine the total output power produced by that mainframe The efficiency of the unit in discharging mode is approximately 80 with Agilent E4374A cards and 75 with Agilent E4375A cards This percentage represents the highest efficiency possible for calculating the total power that is generated by the mainframe in discharge mode of cells x power cell x Efficiency Max power out Divide the power generated by the Agilent MCCD by the input voltage of the Agilent Powerbus Load At an input voltage of 26 5 volts the result will be the maximum discharging current that will be absorbed by the Agilent Powerbus Load Double this current if you are simultaneously discharging two Agilent MCCD mainframes as illustr
163. rrent limit when operating in constant current CC mode In CC mode the output cannot be set to run below the minimum programmable constant current limit specified in Table A 2 In constant voltage CV mode charging or discharging the MCCD will regulate current down to 0A 115 A Specifications Tables A 2 through A 4 list the supplemental characteristics ofthe Agilent MCCD System Requirements for the external power bus source are also listed Characteristics are not warranted but are descriptions of typical performance determined either by design or by type testing Table A 2 Agilent E4370A E4374A E4375A MCCD Characteristics E4374A E4375A of reading offset lt 2 A 0 1 ImAh h 0 10 1 5mAh h gt 2 0 15 1 5mAh h of reading offset 2 A 0 1 5mWhrh 0 10 7 5mWh h gt 2 N A 0 15 7 5mWh h Z from Programmed Output Current Maximum Deviation of Measured Voltage from Programmed Output Voltage ac Resistance Measurement maximum measurable max time cell to measure time for 256 cells dc Resistance Measurement maximum measurable max time cell to measure time for 256 cells Voltage Output Noise rms at MCCD connector bandwidth 20Hz 20MHz peak to peak Current Output Noise m at MCCD connector bandwidth 20Hz 20MHz peak to peak Maximum Current Overshoot Undershoot with current lt 50 mA 15 mA for up to 500 ms from first applied pr
164. rted voltmeters be connected to Serial Port A Calibration functions do not wait for calibration to complete They return immediately after starting calibration To monitor the progress and results of calibration use cfGetInstStatus While calibration is in progress the CF CALIBRATING STAT bit is true If any errors occur during calibration the CF CAL ERROR STAT bit is true Details of the errors can be obtained using cfReadTestLog Language Dictionary 6 cfCalTransfer CAUTION Make sure that no cells are connected when executing cfCalTransfer Syntax int cfCalTransfer CF HANDLE server Description Begins a transfer calibration sequence This function uses the instrument s internal references to calibrate the measurement and output circuits of each channel There should not be any loads or cells connected to the outputs when this command is given Since transfer calibration can take up to 15 minutes calibration functions do not wait for calibration to complete They return immediately after starting calibration To monitor the progress and results of calibration use cfGetInstStatus While calibration is in progress the CF CALIBRATING STAT bit is true If any errors occur during calibration the CF CAL ERROR STAT bit is true Details of the errors can be obtained using cfReadTestLog cfClose Syntax int cfClose CF HANDLE server Description Closes a server connection An Agilent MCCD server can only accommodate a limite
165. rts port CF PORTA or CF PORTB baudrate 1200 2400 4800 9600 or 19200 parity CF PARITY EVEN CF PARITY ODD PARITY NONE wordsize 7 or 8 flow ctrl CF FLOW RTS CTS CF FLOW XOFF CF FLOW NONE cfGetSerialStatus Syntax int cfGetSerialStatus CF HANDLE server int portnum int status Description Returns the status of one of the serial ports Definitions for these bits are CF SERIAL MAV message available CF SERIAL PE parity error CF SERIAL FE framing error CF SERIAL OE UART overrun error CF SERIAL INBUF OE input buffer overrun error CF SERIAL OUTBUF OE output buffer overrun error Reading the serial status clears the error bits The MAV bit is cleared when there are no characters in the port s FIFO to be read 78 Language Dictionary 6 cfGetShutdownDelay Syntax int cfGetShutdownDelay CF_HANDLE server float delay Description Returns the delay value that is set by cfSetShutdownDelay cfGetShutdownMode Syntax int cfGetShutdownMode CF_HANDLE server int mode Description Returns the shutdown mode CF_AUTO or CF_ MANUAL cfGetStepNumber Syntax int cfGetStepNumber CF_HANDLE server int cell int step_number float time Description Returns a cell s current forming sequence step number and the time that the cell has been in the current step in seconds The cell argument can be an individual cell number from 1 to 256 or the constant CF ALL CELLS to request data for all cells
166. s SENSE 65 66 67 68 697071 72 SENSE 73 74 75 76 77 78 79 80 a SENSE 81 8283 84 85 86 87 88 SENSE 89 90 91 92 93 94 95 96 POWER 65 66 6768 69 70 71 72 POWER D 74 A 76 77 i 79 80 POWER 81 82 83 84 85 86 87 88 POWER D 90 i 92 93 94 95 96 SENSE 97 98 99 100 101102 103 104 SENSE 105 106 107 108 109 110 111 112 POWER 97 98 99 100 101 102 103 104 POWER 105 106107 108109 110 111 112 ES NN WK NS Y N y y H N Y SENSE 113 114 115 116 117 118 119 120 SENSE 121122123 124 125 126 127 128 POWER 113 114115 116117 118 119 120 POWER 121 122123 124125 126 127 128 Note Unlabeled pins are the minus connections of each pair Figure D 2 Card 2 Sense and Power Connector Cell Assignments 128 Sense and Power Connector Pinouts D SENSE POWER SENSE POWER 129 130 131 132 133 134 135 136 129 130 131 132 133 134 135 136 1 161 162 163 164 165 166 167 168 161 162163 164 165 166 167 168 SENSE POWER SENSE POWER 137 138139 140 141 142143 144 137 138139 140 141 142 143 144 169 170 171 172 173 174 175 176 169 170 171 172173 174 175 176 SENSE POWER SENSE POWER 145 146 147 148 149 150 151 152 145 146 147 148 149 150 151 152 3 177 178 179 180 181 182 183 184 177 178179 180 181 182 183 184 SENSE POWER SENSE POWER 153 154 155 156 157 158 159 160 153 154155 156 157 158 159 160 185 186 187 188 189 190 191 192 185 186187 188189 190 191 192 Note Unlabeled pins are the minus connections of
167. s 256 channels Agilent E4370A 4 E4374A cards 256 channels Agilent E4370A 4 E4374A cards 256 channels Agilent E4370A 4 E4374A cards 256 channels Figure 1 5 System Diagram Using Agilent E4374A Cards 15 1 General Information 46 kW Power Source 24V 1920A Agilent E4370A 4 E4375A cards 256 channels Agilent E4370A 4 E4375A cards 256 channels Agilent E4370A 4 E4375A cards 256 channels Agilent E4370A 4 E4375A cards 256 channels POWERBUS Agilent E4371A Powerbus Load Agilent E4371A Powerbus Load Agilent E4371A Powerbus Load Agilent E4371A Powerbus Load Agilent E4370A 4 E4375A cards 256 channels Agilent E4370A 4 E4375A cards 256 channels Agilent E4370A 4 E4375A cards 256 channels Agilent E4370A 4 E4375A cards 256 channels Figure 1 6 System Diagram Using Agilent E4375A Cards Measurement Capability The Agilent MCCD mainframe and charger discharger cards have a high speed scanning system that makes voltage and current measurements on all channels Refer to Appendix A for technical data about the measurement system
168. s for all cells If CF ALL CELLS is given the resistance argument should point to an array of size CF MAX CELLS that will receive the return values 81 6 Language Dictionary To make an effective probe resistance measurement there should be some significant current through the probe contacts to the cells The cfSetVoltage cfSetCurrent and cfSetOutputState commands can be used to set up the proper conditions for this measurement If the probe resistance measurement cannot be made either because the output for a cell is in the OFF state the voltage sense is set to Local or if there is insufficient current flowing to make the measurement the special value CF NOT A NUMBER 9 91E37 is returned cfMeasProbeContinuity Syntax int cfMeasProbeContinuity CF HANDLE server int cell CF CONTINUITY result Description NOTE Because this command may take several seconds to complete you may need to temporarily adjust the cfSetTimeout function to account for the increased execution time This command checks the sense and output probe connections for a particular cell or for all cells The cell argument can be an individual cell number from 1 to 256 or the constant CF ALL CELLS to request readings for all cells If CF ALL CELLS is given the result argument should point to an array of size CF MAX CELLS that will receive the return values The value returned in result will be one of the following constant definitions CF PROBES OK CF SENS
169. shipped from the factory the Agilent MCCD is not password protected You may set an Agilent MCCD server password during the installation procedure using the Agilent MCCD Configuration Screens API Function Summary cfAbort cfCal cfCalStandard cfCalTransfer cfClose cfDeleteGroup cfGetCellStatus cfGetCellStatusString cfGetCurrent cfGetGroups cfGetDigitalConfig cfGetDigitalPort cfGetInstIdentify cfGetInstStatus cfGetMeasLogInterval cfGetOutputConfig cfGetOutputProbeTest cfGetOutputState cfGetRunState cfGetSense cfGetSenseProbeTest cfGetSeqStep cfGetSeqTest cfGetSeqTestAnd cfGetSeqTime cfGetSerialConfig cfGetSerialStatus cfGetStepNumber cfGetShutdownDelay cfGetShutdownMode cfGetTrigSource cfGetUserldentify cfGetVoltage cfInitiate cfMeasACResistance cfMeasCapacityAS cfMeasCapacityWS cfMeasCurrent 68 aborts a forming sequence begins a full calibration mainframe and card begins a standard calibration mainframe begins a transfer calibration card closes a server connection deletes a group from the Agilent MCCD returns the status of an individual cell returns detailed information for a failed cell returns the current setting programmed by cfSetCurrent Returns information about all defined groups returns the setting of an individual digital I O port reads a data word from the digital I O port returns a description of the instrument returns the instrument status returns the criteria that determines whe
170. state cfProtectClear will send the instrument to CF IDLE regardless of its previous state 57 5 Programming Overview Power Fail Operation The Agilent E4370A MCCD can operate in one oftwo power fail shutdown modes The mode is set by the cfSetShutdownMode command When the mode is set to CF_AUTO a true signal on the CF POWER FAIL IN digital input will cause the Agilent MCCD to perform a shutdown at which time It saves its state in nonvolatile memory When the mode is set to CF MANUAL an automatic shutdown is not performed API commands such as cfShutdown must be used to do it manually The CF POWER FAIL IN digital input signal is only acted on if cfShutdownMode AUTO It takes the Agilent MCCD firmware about 20 milliseconds to recognize the state of the digital CF POWER FAIL IN signal Additionally a programmable delay set by the cfSetShutdownDelay command determines how long the CF POWER FAIL IN signal must be true before an automatic shutdown occurs If the CF POWER FAIL IN signal is true longer than the delay time set by cfShutdownDelay the Agilent will shut down If the CF POWER FAIL signal goes false before the expiration of the cfShutdownDelay time no shut down occurs The purpose of this delay 1s so that the Agilent MCCD doesn t shut down every time the power fails for more than 20 ms For example if the Agilent MCCD is connected to a UPS that can keep it running for 5 minutes set cfShutdownDelay time for 4
171. t MCCD are not compromised As explained in chapter 2 the 16 digital I O signals can be individually configured to provide one of the following protection functions External Fault Input This function can be used to stop the cell forming sequence if an external fault condition sets the input true External Fault This function can be used to signal external circuitry or another Agilent Output MCCD that either an external fault condition or an internal fault condition has occurred External Interlock This function can be used to stop the cell forming sequence for reasons other than an external fault condition External Trigger This function can be used to start a cell forming sequence In addition to protection capabilities the digital I O can also be used as general purpose I O When configured as a general purpose I O the input or output signals on the digital connector are directly controlled with API programming commands over the LAN If AC Power Fails Should the ac line fail the CPU in the Agilent MCCD will shut down Any charging and discharging activity will stop and the current sequence test data and programmed settings will be lost Note A 600 VA uninterruptible power supply UPS can be used to provide ac power to the Agilent E4370A MCCD mainframe to prevent any data loss during a power failure 20 General Information 1 When power fails the power bus is also disconnected from the Agilent MCCD because of the bias p
172. t requires an external voltmeter to be connected to Serial Port A of the Agilent MCCD Refer to Figure B 1 for equipment connections Mainframe reference calibration can be performed without having any charger discharger cards installed in the mainframe Table B 1 Calibration Equipment Required Full Calibration Mainframe Transfer Reference Calibration Calibration Agilent 34584 DMM 24 V power bus or 24 V 4 A dc source E EEG WE NENNEN National Instruments GP IB to RS 232 X X Converter GPIB and RS 232 cable Lu pc Wires to connect Agilent 3458A DMM to X X Agilent MCCD AWG 16 recommended Wires to connect 24 V dc supply to Agilent X X MCCD AWG 16 recommended A 24 Vde supply is not required if there are NO cards installed in the mainframe To order the GPIB 232CV A GP IB to RS 232 converter you need to know the part number for the country in which you will be using the device Contact your local National Instruments office or access the Web at www nationalinstruments com for the appropriate part number and ordering information Calibration Connections Figure B 1 illustrated the calibration connections Set the switches on the National Instruments GP IB RS 232 Converter box as shown in the figure Make sure the Agilent 3458A GPIB address is set to 22 If you cannot connect the Agilent MCCD to the 24 V power bus you can substitute a dc source rated at 24 V 4 A NOTE Always turn on the voltmeter before you turn on t
173. tage is sensed use cfSetSense cfGetSense Direct output control CAUTION Direct output control should not be used for charging cells There is no protection against overcharging or using probe check when using direct output control Use this mode only for diagnostic and debugging purposes The Agilent MCCD outputs can be directly controlled for diagnostic purposes without defining a sequence of steps and tests Direct output control commands can only be used while the Agilent MCCD is in the CF_IDLE state The voltage current and output state settings are set on all the outputs simultaneously Whenever the Agilent system leaves the CF IDLE state these settings are reset to their power on values For voltage control use cfSetVoltage cfGetVoltage For current control use cfSetCurrent cfGetCurrent For the output on off state use cfSetOutputState cfGetOutputState General Server functions There are several general functions related to the instrument Before an instrument can be controlled the LAN connection must be made A password is required to open this connection The password is set with in the Agilent MCCD Configuration Screens see chapter 3 To open or close a LAN connection to an instrument use cfOpen cfClose To set the maximum time to wait for the instrument to respond use cfSetTimeout To read the instrument identification string from the instrument use cflInstId
174. tates Agilent Technologies Test and Measurement Call Center P O Box 4026 Englewood CO 80155 4026 tel 1 800 452 4844 Canada Agilent Technologies Canada Inc 5150 Spectrum Way Mississauga Ontario LAW 5GI tel 1 877 894 4414 Europe Agilent Technologies Test amp Measurement European Marketing Organisation P O Box 999 1180 AZ Amstelveen The Netherlands tel 31 20 547 9999 Japan Agilent Technologies Japan Ltd Measurement Assistance Center 9 1 Takakura Cho Hachioji Shi Tokyo 192 8510 Japan tel 81 426 56 7832 fax 81 426 56 7840 Technical data is subject to change Latin America Agilent Technologies Latin American Region Headquarters 5200 Blue Lagoon Drive Suite 4950 Miami Florida 33126 U S A tel 305 267 4245 fax 305 267 4286 Australia New Zealand Agilent Technologies Australia Pty Ltd 347 Burwood Highway Forest Hill Victoria 3131 tel 1 800 629 485 Australia fax 61 3 9272 0749 tel 0 800 738 378 New Zealand fax 64 4 802 6881 Asia Pacific Agilent Technologies 24 F Cityplaza One 1111 King s Road Taikoo Shing Hong Kong tel 852 3197 7777 fax 852 2506 9284 141
175. ternal faults Additional Features LAN 10 base T control using a web server graphical user interface and an application programming interface API Comprehensive data storage capability and remote data collection Easily removable charger discharger cards for minimum downtime if repair is required Charge discharge sequences that can be modified in software allowing for simple rapid changes to the manufacturing process without changes to system hardware Define and configure groups of contiguous blocks of cells or channels This lets you simultaneously run different sequences on groups of cells Continuous calibration is performed on the programming circuits during the entire charge discharge sequence to eliminate errors due to temperature drift Bi directional power transfer and reuse of energy by using energy from discharging cells to provide energy to charging cells Hardware Description Agilent E4370A MCCD Mainframe The Agilent E4370A MCCD mainframe is a full width rack box that has 4 slots to hold either the Agilent E4374A or Agilent E4375A 64 Channel Charger Discharger cards LEDs on the front of the mainframe indicate system as well as card status see Figure 1 2 10 General Information 1 yf Agilent pee X Agilent CHARGERIDISCHARGER 1 A Je i4370A MULTICELL CHARGERIDISCHARGER 1 O rau A 3 Agllent
176. the special value CF READ FIRST to read the first test in the step After the last test 1s read subsequent calls to cfGetSeqTest will return the special value CF READ EOF in the value pointed to by read pos TT 6 Language Dictionary cfGetSeqTestAnd Syntax int cfGetSeqTestAnd CF HANDLE server CF READP read pos int step number CF SEQ TEST meas test type float limit CF TIME TEST time test type float time CF SEO ACTION action int count Description Returns the parameters of the sequence tests defined by the functions cfSetSeqTest or cfSetSeqTestAnd The server argument can be either a handle to a group obtained by cfOpenGroup or a handle to all cells in the instrument if no groups are defined Operation is similar to cfSetSeqTest The number of measurement tests and limits is returned in count The arguments meas test type and limit must point to arrays of size CF MAX AND TESTS cfGetSeqTime Syntax int cfGetSeqTime CF HANDLE server float time Description Returns the time that has elapsed in seconds since the sequence was triggered The server argument can be either a handle to a group obtained by cfOpenGroup or a handle to all cells in the instrument if no groups are defined cfGetSerialConfig Syntax int cfGetConfig CF HANDLE server int portnum int baudrate CF SERIAL PARITY parity int wordsize CF SERIAL FLOW flow ctrl Description Returns the communication parameters of one of the serial po
177. the Agilent MCCD using the Agilent MCCD Configuration Screens on your PC Chapter 2 describes how to run this program To calibrate the Agilent MCCD using the Agilent MCCD Configuration Screens flip the Port B switch 4 on the back of the Agilent E4370A down from Normal to Configure and run the HyperTerminal program When the Agilent MCCD Configuration Screens appear select 4 to calibrate the Agilent E4370A MCCD mainframe and the Agilent E4374A E4375A Charger Discharger card Select 1 to perform a full calibration Select 2 to perform a transfer calibration Select 3 to perform a mainframe calibration which calibrates only the mainframe reference voltage During full calibration and mainframe reference calibration a DMM and Powerbus power supply must be connected to the MCCD For the DMM connect to serial Port A with settings 9600 baud NO Parity 8 bits Connect the DMM s inputs as follows Input Hi to Cal Port 3 Input Lo to Cal Port 2 and Current to Cal port 1 During transfer calibration the Powerbus power supply must be connected to the MCCD Inactive outputs will not be calibrated Disconnected sense and load leads before calibrating Execute full calibration takes approx 5 seconds per active channel Execute transfer calibration Takes approx 5 seconds per active channel Execute Mainframe reference calibration takes approx 30 seconds Set DMM model HP3458 currently active Type a number and press Enter or ctrl
178. the automatic reconnect feature of the mccd dll file located on the client computer on or off The Agilent MCCD mainframe server will close a connection if there is no activity for a period longer than the time set by cfSetServerTimeout If the automatic reconnect feature is set to CF ON the client mccd dll will automatically try to reconnect to an Agilent MCCD mainframe server whose connection has been lost whenever an API function call is made If the automatic reconnect feature is set to OFF API functions will return an error if the server connection has been lost In this case client programs should make sure that they communicate with the server at intervals smaller than the time set by cfSetServerTimeout or the server will close the connection due to inactivity At the time the mccd dll is first loaded the auto connect feature is set to ON cfSetCurrent CAUTION Direct output control should not be used for charging cells There is no protection against overcharging when using direct output control Use this mode only for diagnostic and debugging purposes Syntax int cfSetCurrent CF HANDLE server float current Description Sets the output current in the IDLE state for diagnostic or debugging purposes The server argument can be either a handle to a group obtained by cfOpenGroup or a handle to all cells in the instrument if no groups are defined Agilent MCCD outputs can be directly controlled for diagnostic and debugging
179. tile memory and is retained when the ac power is off See Also cfGetSense cfSetSenseProbeTest NOTE The Agilent MCCD must be configured for remote voltage sensing to perform output probe testing No output probe tests are performed if local voltage sensing is configured Syntax int cfSetSenseProbeTest CF HANDLE server CF BOOLEAN on off Description Enables or disables the automatic testing of the remote sense probe resistance The server argument can be either a handle to a group obtained by cfOpenGroup or a handle to all cells in the instrument if no groups are defined When this test is enabled the instrument periodically measures the resistance of the sense probes during a sequence and checks for a value that is low enough to allow accurate voltage measurements If the probe resistance 1s too high and the testing 1s enabled the forming sequence will be terminated for that cell The instrument cannot distinguish between resistance in the sense probes and output resistance in the cell It will not attempt to check sense probe resistance if the output voltage and current are not adequate to make the resistance measurement The power on setting for cfSenseProbeTest is Off cfSetSeqStep Syntax int cfSetSeqStep CF HANDLE server int step number CF SEQ OUT out type float voltage float current float time float reserved Description Defines output sequence steps in terms of output regulation type voltage limit curr
180. ts are required for each connector No tooling is required Pins only accept wires sized 18 AWG One blank filler panel is required for every empty slot in Agilent MCCD mainframes Includes 2 flanges fasteners and mounting SCTEWS Includes 2 handles 2 flanges fasteners and mounting screws Table 2 3 Manufacturer s Addresses Address Phoenix Contact P O Box 4100 Harrisburg PA 17111 0100 24 Contact Phone 717 944 1300 Fax 717 944 1625 http www phoenixcontact com index html Harrisburg PA 17111 http www amp com Agilent Technologies See list at back of this manual http www agilent com Installation 2 Location Agilent E4370A MCCD Mainframe The outline diagrams in Appendix C give the dimensions of your Agilent MCCD mainframe The mainframe may be installed free standing but must be located with sufficient space at the sides and back of the unit for adequate air circulation You can rack mount the mainframe in standard 600 mm 23 8 in width system cabinets This provides sufficient clearance for airflow Support rails are also required when rack mounting the mainframe These are usually ordered along with the cabinet A fan cools the Agilent MCCD mainframe by drawing air in on the left side of the unit and discharging it through the back and side Minimum clearance is 9 cm 3 5 inches along the sides Minimum clearance behind the mainframe is 23 cm 9 inches Do not block the fan exhaust at th
181. ts cannot be programmed on but LAN communications function normally You can also put the instrument into a protected state in which all outputs go to open circuit This can be done with the program command cfProtect or by asserting a false to true edge on a digital input that was configured as CF EXT FAULT IN The instrument will also go to this state if it detects an internal overtemperature condition or if the power bus voltage gets too high or too low When the instrument goes to the CF PROTECTED state is remembers the state that it came from and it will return to its previous state when the cfProtectClear command is sent If any faults exist when the cfProtectClear function is called the instrument will remain in CF PROTECTED If the instrument is in the CF FORMING state when it is sent to CF PROTECTED the forming process system timers are suspended in a manner that allows forming to be resumed from where it was interrupted Another protected state which is similar to CF PROTECTED is CF INTERLOCKED The instrument goes to this state whenever the external CF EXT INTERLOCK input is true and it returns to its previous state when CF EXT INTERLOCK goes false To query which state the instrument is in use cfGetRunState To force the instrument into the CF PROTECTED state use cfProtect To exit the CF PROTECTED state use cfProtectClear NOTE If the cfAbort command is given while the instrument is in the CF PROTECTED
182. ude mccd h define MEAS BUF SIZE CF MEAS LOG BUFSIZE define LINE SIZE 80 define PASSWORD mufasa Structure for thread information typedef struct char szAddr char szLogFile HANDLE hStart THREAD_INFO THREAD INFO ThreadInfo 15 14 250 130 mccdlogO txt NULL 15 14 250 124 mccdlogl txt NULL Local function prototypes void GetTimeStamp char szTimeStamp void ErrorHandler CF_HANDLE server char function int errorcode DWORD WINAPI ReadThread LPVOID lpvThreadParm EEE EEE KK KK KK KR RR RR 02 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 22 Main function KK KK RR RR KK KK KR KR 2 22 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 k k k k 2 2 2 2 2 2 2 2 2 2 27 void main int argc char argv DWORD dwThreadId HANDLE hReadThread0 hReadThread1 Create events to signal threads to start reading ThreadInfo 0 hStart CreateEvent NULL FALSE FALSE NULL ThreadInfo 1 hStart CreateEvent NULL FALSE FALSE NULL Create threads to read log from MCCDs hReadThreadO CreateThread NULL 0 ReadThread LPVOID O 0 amp dwThreadId hReadThread1 CreateThread NULL 0 ReadThread LPVOID 1 0 amp dwThreadId 112 C Program Examples 7 signal threads to start reading logs SetEvent ThreadInfo 0 hStart SetEvent ThreadInfo 1 hStart Wait for threads to terminate WaitForSingleObject hR
183. ures the resistance of the sense probes and checks for a value that is low enough to allow accurate voltage measurements If the probe resistance is too high and the testing is enabled the forming sequence will be terminated for that cell See Also cfSetSenseProbeTest cfGetSeqStep Syntax int cfGetSeqStep CF HANDLE server int step number CF SEQ OUT out type float voltage float current float time float reserved Description Returns parameters for the given sequence step number The server argument can be either a handle to a group obtained by cfOpenGroup or a handle to all cells in the instrument if no groups are defined If the step number is a step that has not been defined the value returned in out_type is CF STEP UNDEFINED cfGetSeqTest Syntax int cfGetSeqTest CF HANDLE server CF READP read pos int step number CF SEQ TEST meas test type float limit CF TIME TEST time test type float time CF SEQ ACTION action Description Returns the parameters of one of the sequence tests The server argument can be either a handle to a group obtained by cfOpenGroup or a handle to all cells in the instrument if no groups are defined Sequence tests for the same step are stored within the instrument in ascending order on the time parameter This is the order in which they are returned by successive calls to cfGetSeqTest The value pointed to by the read pos argument controls which test is read Read pos points to
184. utputs will return the special value NOT NUMBER To set and query the output configuration use cfSetOutputConfig cfGetOutputConfig NOTE Active inactive outputs settings that are programmed using cfSetOutputConfig are NOT saved in non volatile memory Each time the unit is powered up you must reprogram the output settings However the output settings that are programmed using the Agilent MCCD User Interface ARE saved in non volatile memory The unit will wake up with those settings when it powered up 56 Programming Overview 5 Instrument Protection The following diagram shows the various protection states of the instrument cfProtect cfShutdown CF_POWER_FAIL_IN CF EXT FAULT IN CF_EXT_INTERLOCK Failed selftest HIGH RAIL STAT x 24 Internal hardware failure LOW RAIL STAT OVERTEMPERATURE v v v HW FAILED CF PROTECTED CF INTERLOCKED Cycle ac power cfProtectClear CF EXT INTERLOCK v v v CF NOT READY PREVIOUS STATE PREVIOUS STATE Figure 5 4 Instrument Protect States After selftest is completed and there is dc voltage on the power bus the instrument normally moves to the IDLE state However if a power on selftest failed it will instead go to the CF HW FAILED state and remain there until the ac line power is cycled or cfSelftest passes In the CF HW FAILED state the outpu
185. ve cfResetSeq cfSetOutputProbeTest cfTrigger cfGetRunState cfSetOutputState Once one or more groups have been defined with cfSetGroup the functions in the above list can only be used with a group handle obtained from cfOpenGroup An error will be returned if one of these functions is called using the handle obtained from cfOpen If there are no groups defined then the handle returned from cfOpen can be used to control all the cells Step Test Functions A charge discharge sequence is a user defined sequence of steps that the instrument or group will follow automatically Each step applies either a charge discharge or no stimulus for a specified period of time Other parameters determine what the voltage and current are set to what number the step is in the sequence and the length of time for the step Steps are also used to measure ac resistance and dc resistance To set and query the step parameters use cfSetSeqStep cfGetSeqStep To query what step is presently being executed and how long the cell has been in that step while the sequence is running use cfGetStepNumber To program step 1 to charge at 0 295 amps with a voltage limit of 4 2 volts for 30 minutes and step 2 to discharge at 0 5 amps with a voltage limit of 2 0 volts for 15 minutes use cfSetSeqStep server 1 CF CHARGE 4 2 0 295 30 0 SECONDS PER MINUTE 0 0 cfSetSeqStep server 2 CF DISCHARGE 2 0 0 5 15 0 SECONDS PER MINUTE 0 0 Tests can
186. w step number settings replace the previous settings There is no way to insert a new step between two previously defined steps or to delete a single step cfResetSeq deletes all sequence steps and tests and should be sent prior to defining a new set of sequence steps and tests If a forming sequence is in progress when cfSetSeqStep is given an error is returned Steps are volatile and disappear when the ac power is turned off See Also 96 cfReset cfSetSeqTest cfGetSeqStep cfSetSeqTest Syntax Language Dictionary 6 int cfSetSeqTest CF HANDLE server int step number CF SEQ TEST meas test type float limit CF TIME TEST time test type float time CF SEQ ACTION action Description Define tests performed during sequence steps These tests allow a cell to advance to the next step when a measured value is achieved or to fail a cell and remove it from further stimulus if a failure limit is exceeded The server argument can be either a handle to a group obtained by cfOpenGroup or a handle to all cells in the instrument if no groups are defined step number references the corresponding number from cfSetSeqStep meas test type is one of CF VOLT GE CF VOLT LE CF CURR GE CF CURR LE CF ACR GE CF ACR LE CF DCR GE CF DCR LE CF POWER GE CF POWER LE CF AMPH GE CF AMPH LE CF WATTH GE CF WATTH LE CF POS DVDT GE CF POS DVDT LE CF NEG DVDT GE CF NEG DVDT LE CF POS DIDT GE CF POS DIDT LE CF NEG DID
187. wnDelay 100 cfSetShutdownMode 100 cfSetTimeout 100 cfSetTrigSource 100 cfSetVoltage 101 cfShutdown 101 cfStateDelete 101 cfStateList 102 cfStateRecall 102 cfStateSave 102 cfTrigger 102 cfWriteSerial 103 channel inactive 26 channel connections 25 characteristics 115 external source 117 powerbus load 117 charging mode guidelines 30 close connection 71 com port connection 38 configuration screen 38 calibration 122 digital I O 41 identification 40 miscellaneous 41 network 39 configuring output 56 connections 25 remote sensing 27 connector 24 manufacturers 24 connector kits 24 connectors 23 current measurement 17 61 p damage 23 data logging 18 delete group 71 digital connections 32 electrical characteristics 33 wiring 33 digital I O configuration 42 mixed 44 polarity 43 digital operation 138 grounded 90 isolated 91 polarity 91 digital port 64 dimensions mainframe 25 125 powerbus load 25 126 direct output control 62 discharging mode guidelines 31 document scope 4 documentation 24 F energy re use 16 environmental conditions 3 erasing 56 error reporting 67 example program 105 107 112 ext fault 57 external fault input 32 external fault output 32 external interlock 32 external power source 14 external trigger 32 F fail 49 fault indicators 135 forming 56 front panel mainframe 10 power con

Download Pdf Manuals

image

Related Search

Related Contents

BEDIENUNGSANLEITUNG  製品に関する情報が記載されております。  Touchmonitor Benutzerhandbuch  Disney Interactive Studios Nintendo DS DGamer User's Manual  GE EFMR Data Sheet    User Guide for the SoundStation® IP 7000 Phone    Exigences générales  Marco Antônio Ribeiro  

Copyright © All rights reserved.
Failed to retrieve file