USER’S GUIDE Agilent Model 66111A Fast Transient DC Source Agilent Model 66311B Mobile Communications DC Source For instruments with Serial Numbers: Agilent 66111A: US38460101 through US38460250 Agilent 66311B: US38440101 through US38442274 Agilent Part No. 5964-8106 Microfiche No.
Warranty Information CERTIFICATION Agilent Technologies certifies that this product met its published specifications at time of shipment from the factory. Agilent Technologies further certifies that its calibration measurements are traceable to the United States National Bureau of Standards, to the extent allowed by the Bureau's calibration facility, and to the calibration facilities of other International Standards Organization members.
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).
SAFETY SYMBOLS Direct current Alternating current Both direct and alternating current Three-phase alternating current Earth (ground) terminal Protective earth (ground) terminal Frame or chassis terminal Terminal is at earth potential. Used for measurement and control circuits designed to be operated with one terminal at earth potential.
Declaration Page DECLARATION OF CONFORMITY according to ISO/IEC Guide 22 and EN 45014 Manufacturer's Name: Agilent Technologies Manufacturer's Address: 150 Green Pond Road Rockaway, New Jersey 07866 U.S.A.
Acoustic Noise Information Herstellerbescheinigung Diese Information steht im Zusammenhang mit den Anforderungen der Maschinenläminformationsverordnung vom 18 Januar 1991. * Schalldruckpegel Lp <70 dB(A) * Am Arbeitsplatz * Normaler Betrieb * Nach EN 27779 (Typprüfung). Manufacturer's Declaration This statement is provided to comply with the requirements of the German Sound Emission Directive, from 18 January 1991.
Table of Contents Warranty Information Safety Summary Declaration Page Acoustic Noise Information Printing History Table of Contents 1 - QUICK REFERENCE The Front Panel - At a Glance The Rear Panel - At a Glance Instrument Configuration Front Panel Number Entry Front Panel Annunciators Immediate Action Keys Front Panel Menus - At a Glance SCPI Programming Commands - At a Glance 2 - GENERAL INFORMATION Document Orientation Safety Considerations Options and Accessories Description Capabilities Front Panel C
Controller Connections GPIB Interface RS-232 Interface 4 - TURN-ON CHECKOUT Checkout Procedure In Case of Trouble Selftest Error Messages Runtime Error Messages Line Fuse 5 - FRONT PANEL OPERATION Introduction Front Panel Description System Keys Function Keys Immediate Action Keys Scrolling Keys Metering Keys Output Control Keys Entry Keys Examples of Front Panel Programming 1 - Setting the Output Voltage, Current, and Compensation 2 - Querying and Clearing Output Protection and Errors 3 – Making Front Pa
Suffixes and Multipliers Response Data Types SCPI Command Completion Using Device Clear RS-232 Troubleshooting SCPI Conformance Information SCPI Confirmed Commands Non-SCPI Commands 7 - PROGRAMMING THE DC SOURCE Introduction Programming the Output Power-on Initialization Enabling the Output Output Voltage Output Current Triggering Output Changes SCPI Triggering Nomenclature Output Trigger System Model Setting the Voltage or Current Trigger Levels Initiating the Output Trigger System Generating Triggers Mak
Programming Parameters Calibration Commands CALibrate:CURRent CALibrate:CURRent:MEASure:LOWRange CALibrate:CURRent:MEASure:AC CALibrate:DATA CALibrate:LEVel CALibrate:PASSword CALibrate:SAVE CALibrate:STATe CALibrate:VOLTage CALibrate:VOLTage:PROTection Display Commands DISPlay DISPlay:MODE DISPlay:TEXT Format Commands FORMat FORMat:BORDer Measurement Commands MEASure:ARRay:CURRent? FETCh:ARRay:CURRent? MEASure:ARRay:VOLTage? FETCh:ARRay:VOLTage? MEASure:CURRent? FETCh:CURRent? MEASure:CURRent:ACDC? FETCh:C
[SOURce:]DIGital:FUNCtion [SOURce:]VOLTage [SOURce:]VOLTage:PROTection [SOURce:]VOLTage:PROTection:STATe [SOURce:]VOLTage:TRIGger Status Commands STATus:PRESet STATus:OPERation? STATus:OPERation:CONDition? STATus:OPERation:ENABle STATus:OPERation:NTR STATus:OPERation:PTR STATus:QUEStionable? STATus:QUEStionable:CONDition? STATus:QUEStionable:ENABle STATus:QUEStionable:NTR STATus:QUEStionable:PTR System Commands SYSTem:ERRor? SYSTem:LANGuage SYSTem:VERSion? SYSTem:LOCal SYSTem:REMote SYSTem:RWLock Trigger Co
Additional Commands INSTrument:STATe OUTPut:PROTection:TRIPped? CURRent:LIMit:HIGH? CURRent:LIMit:LOW? CURRent:PROTection:TRIPped? VOLTage:LIMit:HIGH? VOLTage:LIMit:LOW? VOLTage:PROTection:TRIPped? A - SPECIFICATIONS Specifications Supplemental Characteristics B - VERIFICATION AND CALIBRATION Introduction Equipment Required Test Setup Performing the Verification Tests Turn-On Checkout Check the Language Setting Voltage Programming and Measurement Accuracy Current Programming and Measurement Accuracy Resto
1 Quick Reference The Front Panel - At a Glance 1 A 14-character display shows output measurements and programmed values. 1 2 Annunciators indicate operating modes and status conditions. 3 Rotary control sets voltage, current, and menu parameters. Use á and â to set the resolution; then adjust the value with the knob. 2 3 66311B 0-15V/0-3A Mobile Communications DC Source CV Unr CC Dis OCP Prot SYSTEM Channel 1 Voltage 4 3 Save 6 Addr Err SRQ ENTRY OV Meter Address 5 Prot Cir 7 .
1 - Quick Reference The Rear Panel - At a Glance 1 AC calibration switch (see appendix B). 2 GPIB (IEEE-488) interface connector. 4 INH/FLT (remote connector. INHibit / internal FauLT) connector. Connector plug is removable. 2 1 WARNING: 3 RS-232 interface 3 NO OPERATOR SERVICEABLE PARTS INSIDE, 4 REFER SERVICING TO SERVICE TRAINED PERSONNEL.
Quick Reference - 1 Front Panel Number Entry Enter numbers from the front panel using one the following methods: Use the arrow keys and knob to change voltage or current settings NOTE: The output must be ON to see the displayed values change in Meter mode. With the output enabled, this method changes the output voltage or current immediately.
1 - Quick Reference Front Panel Annunciators CV The output is operating in constant voltage mode. CC The output is operating in constant current mode. Unr The output is unregulated. Dis The output is OFF. Press the Output On/Off key to turn the output on. OCP The over-current protection state is ON. Press the OCP key to turn over-current protection off. Prot Indicates that the output has been disabled by one of the protection features. Press the Prot Clear key to clear the protection condition.
Quick Reference - 1 Front Panel Menus - At a Glance Address Recall Shift Save Shift Error Meter Voltage Current Protect Output Shift OV Shift Input Shift Cal ä ADDRESS 7 INTF GPIB BAUDRATE 300 PARITY NONE FLOW NONE LANG SCPI REMOTE FP OFF *RCL 0 *SAV 0 ERROR 0 12.000V 0.204A 12.500V MAX 1.000V MIN 12.330V HIGH 0.080V LOW 12.000V RMS 0.350A MAX 0.050A MIN 0.400A HIGH 0.012A LOW 0.210A RMS VOLT 20.000 CURR 2.
1 - Quick Reference SCPI Programming Commands - At a Glance NOTE: Some [optional] commands have been included for clarity. Refer to chapter 8 for a complete description of all programming commands.
2 General Information Document Orientation This manual describes the operation of the Agilent Model 66111A Fast Transient and the Agilent Model 66311B Mobile Communications DC Source. Unless otherwise noted, these models will be referred to by the description "dc source" throughout this manual. The following Getting Started Map will help you find the information you need to complete the specific task that you want to accomplish.
2 - General Information Safety Considerations This dc source is a Safety Class 1 instrument, which means it has a protective earth terminal. That terminal must be connected to earth ground through a power source equipped with a ground receptacle. Refer to the Safety Summary page at the beginning of this guide for general safety information. Before installation or operation, check the dc source and review this guide for safety warnings and instructions.
General Information - 2 Description The Agilent 66111A is a high performance dc power source that provides peak current sourcing and rapid, basic measurements in a compact, half-rack box. It is designed to simplify the testing of digital wireless communications products. Excellent voltage transient response characteristics prevent test interruptions due to triggering of low voltage phone shutdown. Fast command processing and voltage change response times maximize throughput.
2 - General Information Front Panel Controls The front panel has both rotary (RPG) and keypad controls for setting the output voltage and current. The panel display provides digital readouts of a number of output measurements. Annunciators display the operating status of the dc source. System keys let you perform system functions such as setting the GPIB address and recalling operating states. Front panel Function keys access the dc source function menus.
General Information - 2 Output Voltage ISET 15V -1.2A 1 CV resi stiv e load line VSET CC -2.8A 0 2 iv ist s e r d oa el e lin Peak Current capability for up to 7 ms shown by dotted lines + 3A 5A Output Current Figure 2-1. Dc Source Output Characteristic The operating point of the unit is determined by the voltage setting, current setting, and the load resistance.
3 Installation Installation and Operation Checklist Check the Output Compensation ¨ Check that the output compensation of the dc source is appropriate for your application. Refer to “Output Compensation” in this chapter. High mode provides the best transient response and can be used with phones having input capacitances from 5 to 12000µF. Note that if the last two digits on the front panel display are fluctuating when the phone is in standby, you may want to set the output compensation to Low mode.
3 - Installation Inspection Damage When you receive your dc source, inspect it for 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 Sales and Support Offices is at the back of this guide. Warranty information is printed in the front of this guide.
Installation - 3 Location The outline diagram in figure 3-1 gives the dimensions of your dc source. The dc source must be installed in a location that allows sufficient space at the sides and back of the unit for adequate air circulation (see Bench Operation). Bench Operation Do not block the fan exhaust at the rear of the unit. A fan cools the dc source by drawing air in through the sides and exhausting it out the back. Minimum clearances for bench operation are 1 inch (25 mm) along the sides.
3 - Installation Input Connections Connect the Power Cord 1. Unscrew the line fuse cap from the rear panel and verify that the fuse rating matches what is specified on the FUSES label on the rear panel. Reinstall the fuse. (See table 3-1 for fuse part numbers.) 2. Connect the power cord to the IEC 320 connector on the rear of the unit.
Installation - 3 The load wires must also be of a diameter large enough to avoid excessive voltage drops due to the impedance of the wires. In general, if the wires are heavy enough to carry the maximum short circuit current without overheating, excessive voltage drops will not be a problem. The maximum allowable value of load lead resistance is 4 ohms total (2 ohms per side).
3 - Installation HP 66311A OUTPUT CONNECTOR -S - + +S SENSE Local Remote SENSE SWITCH OUT TWIST LEADS TWIST PAIR + LOAD _ WIRE RESISTANCE Figure 3-2. Remote Sense Connections Remote Sense Leads Testing has verified stable performance with the sense leads connected up to 20 inches from the phone. However, for optimum performance, connect the sense leads as close as possible to the phone under test. To minimize inductance, connect the sense leads as a separate twisted pair.
Installation - 3 HP 66311A OUTPUT CONNECTOR -S - + +S SENSE Local Remote SENSE SWITCH OUT TWIST LEADS TWIST PAIR + LOAD _ WIRE RESISTANCE DISCONNECT RELAYS Figure 3-3. Remote Sense Connections with External Relays Figure 3-4 shows how to connect remote sense leads when using a removable test fixture. Note that in this configuration, the wires in the part of the test fixture where the phone is located must be less than 20 inches in length.
3 - Installation The overvoltage protection circuit senses voltage near the output terminals, not at the load. Therefore the signal sensed by the OVP circuit can be significantly higher than the actual voltage at the load. When using remote sensing, you must program the OVP trip voltage high enough to compensate for the voltage drop between the output terminals and the load.
Installation - 3 The default setting for the open sense lead protection circuit is disabled or OFF. This is because applications that apply an external voltage to the output or that use external disconnect relays may interfere with the operation of the open sense detect circuit. If you are using external voltages or relays, you can enable the open sense detect at the beginning of the test procedure. Make sure that the external voltage is disabled and that any relays are in the closed position.
3 - Installation Output Compensation (High Mode/Low Mode) High bandwidth performance and stability are achieved by using a software-switchable output compensation circuit. This compensation circuit sets the remote sensing response of the dc source for the capacitance of the cellular phones. The compensation function is set using either the front panel TYPE:CAP command located in the Output menu (see chapter 5), or the OUTput:TYPE[:CAPacitance] SCPI command as explained in chapter 8.
Installation - 3 HP 66311A OUTPUT CONNECTOR -S - + +S SENSE Local Remote SENSE SWITCH IN TWIST LEADS + EACH LEAD MUST BE LESS THAN 20 INCHES IN LENGTH LOAD _ WIRE RESISTANCE Figure 3-6. Local Sensing OVP Considerations CAUTION: Disabling the OVP protection circuit may cause excessive output voltages, such as can occur if remote sense leads are shorted, to damage the equipment under test. The dc source is shipped from the factory with its overvoltage protection circuit enabled.
3 - Installation External Protection Connections This rear panel connector, has a fault output port and an inhibit input port. The fault (FLT) output, also referred to as the DFI (discrete fault indicator) signal in the front panel and SCPI commands, is an open collector circuit that pulls the positive output low with respect to the negative (chassis-referenced) common.
Installation - 3 In example B, the FLT output of one unit is connected to the INH input of another unit. A fault condition in one of the units will disable all of them without intervention either by the controller or external circuitry. The controller can be made aware of the fault via a service request (SRQ) generated by the Questionable Status summary bit. Note that the FLT output can also be used to drive an external relay circuit or signal other devices whenever a user-definable fault occurs.
3 - Installation Controller Connections The dc source can be controlled either through an GPIB or an RS-232 interface. GPIB Interface Each dc source has its own GPIB bus address, which can be set using the front panel Address key as described in chapter 5. GPIB address data is stored in non-volatile memory. The dc source is shipped with its GPIB address set to 5.
4 Turn-On Checkout Checkout Procedure Successful tests in this chapter provide a high degree of confidence that the unit is operating properly. For verification tests, see appendix B. Complete performance tests are given in the Service Guide. NOTE: To perform the checkout procedure, you will need a wire for shorting the output terminals together. The following procedure assumes that the unit turns on in the factory-default state.
4 - Turn-On Checkout Procedure 6. Press Enter Number, 8, Enter Display VOLT:PROT 8 0.449V 0.145A Explanation Programs the OVP to 8 volts, which is less than the previously set output voltage. Because the OVP voltage entered was less than the output voltage, the OVP circuit tripped. The output dropped to zero, CV turned off, and Prot turned on. 7. Press Shift, OV, Enter Number, <22>, Enter 8. Press Shift, Prot Clear 9. Press Output on/off Turn the output off. 10.
Turn-On Checkout - 4 In Case of Trouble Dc source failure may occur during power-on selftest or during operation. In either case, the display may show an error message that indicates the reason for the failure. Selftest Error Messages Pressing the Shift, Error keys will show the error number. Selftest error messages appear as: ERROR where "n" is a number listed in the following table. If this occurs, turn the power off and then back on to see if the error persists.
4 - Turn-On Checkout Line Fuse If the dc source appears "dead" with a blank display and the fan not running, check your power source to be certain line voltage is being supplied to the dc source. If the power source is normal, the fuse may be defective. 1. 2. 3. 4. Turn off the front panel power switch and unplug the power cord. Remove the fuse from the rear panel. If the fuse is defective, replace it with a fuse of the same type (see Input Connections in chapter 3).
5 Front panel Operation Introduction Here is what you will find in this chapter: ♦ ♦ a complete description of the front panel controls front panel programming examples NOTE: The dc source must be in set to Local mode to use the front panel controls. Press the Local key on the front panel to put the unit in local mode. Front Panel Description 1 3 2 66311A 0-15V/0Mobile Communications DC CV Unr CC Dis OCP Prot SYSTEM Local 1 Voltage 4 5 Prot Cir Err SRQ ENTRY 7 Cir Entry .
5 – Front Panel Operation j Display 14-character vacuum fluorescent display for showing output measurements and programmed values. k Annunciators Annunciators light to indicate operating modes and status conditions: CV The dc source output is in constant-voltage mode. CC The dc source output is in constant-current mode. Unr The dc source output is in an unregulated state. Dis The dc source output is disabled (off). OCP The overcurrent protection state is enabled.
Front Panel Operation - 5 System Keys Refer to the examples later in this chapter for more details on the use of these keys. SYSTEM Error Local Address Save Recall Figure 5-2. System Keys This is the blue, unlabeled key, which is also shown as Shift in this guide. Pressing this key accesses the alternate or shifted function of a key (such as ERROR ). Release the key after you press it. The Shift annunciator is lit, indicating that the shifted keys are active.
5 – Front Panel Operation Function Keys Refer to the examples later in this chapter for more details on the use of these keys. FUNCTION Input OV Meter Voltage Output Prot Cir OCP Cal Protect Current Output On/Off Figure 5-3. Function Keys Immediate Action Keys Immediate action keys immediately execute their corresponding function when pressed. Other function keys have commands underneath them that are accessed when the key is pressed.
Front Panel Operation - 5 Metering Keys Metering keys control the metering functions of the dc source. As set from the factory, all front panel measurements are calculated from a total of 2048 readings taken at a 46.8 microsecond sampling rate. Therefore, the factory default acquisition time for a single front panel measurement is about 100 milliseconds. Refer to “Making Front Panel Measurements” for more information about changing the front panel sampling rate and the number of measurement points.
5 – Front Panel Operation Output Control Keys Output control keys control the output functions of the dc source. Voltage Press this key to access the voltage menu. Display Command Function VOLT Current Press this key to access the current menu.
Front Panel Operation - 5 Entry Keys Refer to the examples later in this chapter for more details on the use of these keys. ENTRY Cir Entry 1 2 3 4 5 . 6 7 8 9 0 - Enter Number Enter Backspace Figure 5-4. Entry Keys ã ä These keys let you scroll through choices in a parameter list that apply to a specific command. Parameter lists are circular; you can return to the starting position by continuously pressing either key.
5 – Front Panel Operation Examples of Front Panel Programming You will find these examples on the following pages: 1 Setting the output voltage, current, and compensation 2 Querying and clearing output protection 3 Making front panel measurements 4 Programming the digital port 5 Setting the GPIB address or RS-232 parameters 6 Saving and recalling operating states 1 - Setting the Output Voltage, Current, and Compensation This example shows you how to set the output voltage and current.
Front Panel Operation - 5 Set the output compensation 1. Action Display On the Function keypad, press Output. Then press q until you obtain the TYPE:CAP command. Use the ä key and select either LOW or HIGH. Then press Enter. Use HIGH compensation for phones with input capacitances greater than 5 µF. Use LOW compensation for phones with input capacitances under 5 µF. TYPE:CAP HIGH Enable the output 1. Action Display On the Function keypad, press Output On/Off to enable the output.
5 – Front Panel Operation 3 – Making Front Panel Measurements As shipped from the factory, front panel measurements are calculated from a total of 2048 readings taken at a 46.8 microsecond sampling rate. The unit alternates between voltage and current measurements. Therefore, the data acquisition time for a single front panel voltage or current measurement is about 100 milliseconds.
Front Panel Operation - 5 Use the Meter menu for making front panel measurements: 1.
5 – Front Panel Operation 4 - Programming External Protection and the Digital Port Functions Your dc source is shipped with the output port function set to RIDFI mode. In this mode the port functions as a remote inhibit input with a discrete fault indicator output signal. You can also configure the port to act as a Digital Input/Output device. To configure the RIDFI mode of the port, proceed as follows: Action Display 1. On the Function keypad, press Output. *RST 2.
Front Panel Operation - 5 Action Display 1. On the System keypad, press Address. ADDRESS 5 2. Scroll through the Address menu by pressing q. The interface command lets you select the RS-232 interface. The baudrate command lets you select the baudrate. The parity command lets you select the parity. The flow command selects the flow control options. INTF RS232 BAUDRATE 9600 PARITY EVEN FLOW XON-XOFF 3. The ã and ä keys let you select the command parameters. Press Enter when done.
6 Introduction to Programming GPIB Capabilities of the DC Source All dc source functions except for setting the GPIB address are programmable over the GPIB . The IEEE 488.2 capabilities of the dc source are listed in the Specifications Table in Appendix A. GPIB Address The dc source operates from an GPIB address that is set from the front panel. To set the GPIB address, press the Address key on the front panel and enter the address using the Entry keys. The address can be set from 0 to 30.
6 - Introduction to Programming RS-232 Flow Control The RS-232 interface supports several flow control options that are selected using the front panel Address key. For each case, the dc source will send a maximum of five characters after holdoff is asserted by the controller. The dc source is capable of receiving as many as fifteen additional characters after it asserts holdoff.
Introduction to Programming - 6 The following are two formal documents concerning the GPIB interface: ♦ ANSI/IEEE Std. 488.1-1987 IEEE Standard Digital Interface for Programmable Instrumentation. Defines the technical details of the GPIB interface. While much of the information is beyond the need of most programmers, it can serve to clarify terms used in this guide and in related documents. ♦ ANSI/IEEE Std. 488.2-1987 IEEE Standard Codes, Formats, Protocols, and Common Commands.
6 - Introduction to Programming ROOT :OUTPut [:STATe] :DFI [:STATe] :SOURce :PON :PROTection :STATe :CLEar :DELay :STATus :OPERation [:EVEN] ? :CONDition? Figure 6-1. Partial Command Tree Multiple Commands in a Message Multiple SCPI commands can be combined and sent as a single message with one message terminator. There are two important considerations when sending several commands within a single message: ♦ Use a semicolon to separate commands within a message.
Introduction to Programming - 6 The following message shows how to combine commands from different subsystems as well as within the same subsystem: VOLTage:LEVel 20;PROTection 28;:CURRent:LEVel 3;PROTection:STATe ON Note the use of the optional header LEVel to maintain the correct path within the voltage and current subsystems, and the use of the root specifier to move between subsystems. Including Common Commands You can combine common commands with system commands in the same message.
6 - Introduction to Programming The Message Unit The simplest SCPI command is a single message unit consisting of a command header (or keyword) followed by a message terminator. The message unit may include a parameter after the header. The parameter can be numeric or a string. ABORt VOLTage 20 Headers Headers, also referred to as keywords, are instructions recognized by the dc source. Headers may be either in the long form or the short form.
Introduction to Programming - 6 SCPI Data Formats All data programmed to or returned from the dc source is ASCII. The data may be numerical or character string. Numerical Data Formats Symbol Data Form Talking Formats Digits with an implied decimal point assumed at the right of the least-significant digit. Examples: 273 Digits with an explicit decimal point. Example: .0273 Digits with an explicit decimal point and an exponent. Example: 2.
6 - Introduction to Programming SCPI Command Completion SCPI commands sent to the dc source are processed either sequentially or in parallel. Sequential commands finish execution before a subsequent command begins. Parallel commands allow other commands to begin executing while the parallel command is still executing. Commands that affect trigger actions are among the parallel commands.
Introduction to Programming - 6 RS-232 Troubleshooting If you are having trouble communicating over the RS-232 interface, check the following: ♦ The computer and the dc source must be configured for the same baud rate, parity, number of data bits, and flow control options. Note that the dc source is configured for 1 start bit and 1 stop bit (these values are fixed). ♦ The correct interface cables or adapters must be used, as described under RS-232 Connector.
7 Programming the DC Source Introduction This chapter contains examples on how to program your dc source. Simple examples show you how to program: K output functions such as voltage and current K internal and external triggers K measurement functions K the status and protection functions NOTE: These examples in this chapter show which commands are used to perform a particular function, but do not show the commands being used in any particular programming environment.
7 - Programming the DC Source Output Voltage The output voltage is controlled with the VOLTage command. For example, to set the output voltage to 15 volts, use: VOLTage 15 Maximum Voltage The maximum rms output voltage that can be programmed can be queried with: VOLTage? MAX Overvoltage Protection The dc source can be programmed to turn off its output if the output voltage exceeds a preset peak voltage limit.
Programming the DC Source - 7 Triggering Output Changes The dc source has two independent trigger systems. One is used for generating output changes, and the other is used for triggering measurements. This section describes the output trigger system. The measurement trigger system is described under "Triggering Measurements". SCPI Triggering Nomenclature In SCPI terms, trigger systems are called sequences.
7 - Programming the DC Source Initiating the Output Trigger System When the dc source is turned on, the trigger subsystem is in the idle state. In this state, the trigger subsystem ignores all triggers. Sending the following commands at any time returns the trigger system to the idle state: ABORt *RST *RCL The INITiate commands move the trigger system from the idle state to the initiated state. This enables the dc source to receive triggers.
Programming the DC Source - 7 Making Measurements The Agilent 66111A and the Agilent 66311B both have excellent output voltage and current measurement capability. The Agilent 66311B Mobile Communications Dc Source also has the ability to make several types of voltage or current measurements. These expanded measurement capabilities are particularly useful for loads that draw current in pulses. NOTE: Because there is only one measurement buffer, you cannot measure output voltage and current simultaneously.
7 - Programming the DC Source When the instrument is turned on and at *RST, the output voltage or current sampling rate is 15.6 microseconds, and the sweep size is set to 2048 data points. This means that it takes about 32 milliseconds to fill up 2048 data points in the data buffer. Adding a command processing overhead of about 20 milliseconds results in a total measurement time of about 50 milliseconds per measurement.
Programming the DC Source - 7 interval and the number of data points so that an integral number of waveform cycles will end up in the measurement buffer. Voltage and Current Measurements The Agilent 66311B has a number of waveform measurement capabilities. The SCPI language MEASure and FETCh queries are used to return the various measurement parameters of voltage and current waveforms.
7 - Programming the DC Source FETC:CURR:MAX? FETC:VOLT:MAX? FETC:CURR:HIGH? FETC:VOLT:HIGH? FETC:CURR:LOW? FETC:VOLT:LOW? DATA POINTS FETC:CURR:MIN? FETC:VOLT:MIN? Figure 7-3.
Programming the DC Source - 7 Internally Triggered Measurements You can use the data acquisition trigger system to synchronize the timing of the voltage and current data acquisition with a BUS or internal trigger source. Then use the FETCh commands to return different calculations from the data acquired by the measurement trigger.
7 - Programming the DC Source The INITiate commands move the trigger system from the idle state to the initiated state. This enables the dc source to receive triggers. To initiate for a measurement trigger, use: INITiate:SEQuence2 or INITiate:NAME ACQuire After a trigger is received and the data acquisition completes, the trigger system will return to the idle state (unless multiple measurements are desired). Thus it will be necessary to initiate the system each time a triggered acquisition is desired.
Programming the DC Source - 7 Trigger occurs on rising edge Trigger occurs on falling edge when signal crosses positive when signal crosses negative hysteresis band limit hysteresis band limit TRIG:ACQ:HYST:CURR TRIG:ACQ:HYST:VOLT TRIG:ACQ:LEV:CURR TRIG:ACQ:LEV:VOLT TRIG:ACQ:SLOP:CURR POS TRIG:ACQ:SLOP:VOLT NEG TRIG:ACQ:SLOP:CURR NEG TRIG:ACQ:SLOP:VOLT NEG Measurement time = time interval X number of points Figure 7-5.
7 - Programming the DC Source Multiple Triggers As shown in Figure 7-6, the dc source also has the ability to set up several measurements in succession. trigger 1 trigger 2 trigger 3 trigger level Measurement Measurement Measurement (Measurement = time interval X # of points) TRIG:ACQ:COUN:VOLT 3 or TRIG:ACQ:COUN:CURR 3 Figure 7-6.
Programming the DC Source - 7 OFFSET = -4096 4096 DATA POINTS OFFSET = -2048 4096 DATA POINTS OFFSET = 0 4096 DATA POINTS OFFSET = 0 to 2 TIME 9 4096 DATA POINTS ACQUISITION TRIGGER Figure 7-7. Pre-event and Post-event Triggering To offset the beginning of the acquisition buffer relative to the acquisition trigger, use: SENSe:SWEep:OFFSet:POINts The range for the offset is -4096 to 2,000,000,000 points.
7 - Programming the DC Source QUESTIONABLE STATUS CONDITION OV OCP N.U. FP OT OS N.U. RI Unreg N.U. MeasOvld N.U. 0 1 2 3 4 5 6-8 9 10 PTR/NTR 1 1 2 2 EVENT 1 2 ENABLE 1 2 8 8 8 8 16 16 16 16 32 32 32 32 512 512 512 512 1024 1024 1024 1024 16384 16384 16384 16384 LOGICAL OR OFF OUTPut:DFI :SOURce 11-13 14 15 SERVICE STANDARD EVENT STATUS STATUS BYTE OUTPUT QUEUE N.U. EVENT OPC N.U. QYE DDE EXE CME N.U.
Programming the DC Source - 7 Table 7-1.
7 - Programming the DC Source Questionable Status Group The Questionable Status registers record signals that indicate abnormal operation of the dc source. As shown in figure 7-7, the group consists of the same type of registers as the Status Operation group. The outputs of the Questionable Status group are logically-ORed into the QUEStionable summary bit (3) of the Status Byte register.
Programming the DC Source - 7 The MSS Bit This is a real-time (unlatched) summary of all Status Byte register bits that are enabled by the Service Request Enable register. MSS is set whenever the dc source has one or more reasons for requesting service. *STB? reads the MSS in bit position 6 of the response but does not clear any of the bits in the Status Byte register. The RQS Bit The RQS bit is a latched version of the MSS bit.
7 - Programming the DC Source Step 1 Program the Operation Status PTR register to allow a positive transition at bit 10 to be latched into the Operation Status Event register, and allow the latched event to be summed into the Operation summary bit.
Programming the DC Source - 7 Discrete Fault Indicator (DFI) The discrete fault indicator is an open-collector logic signal connected to the rear panel FLT connection that can be used to signal external devices when a fault condition is detected.
8 Language Dictionary Introduction This section gives the syntax and parameters for all the IEEE 488.2 SCPI commands and the Common commands used by the dc source. It is assumed that you are familiar with the material in chapter 6, which explains the terms, symbols, and syntactical structures used here and gives an introduction to programming. You should also be familiar with chapter 5, in order to understand how the dc source functions. The programming examples are simple applications of SCPI commands.
8 – Language Dictionary Table 8-1.
Language Dictionary - 8 Table 8-1.
8 – Language Dictionary Table 8-1.
Language Dictionary - 8 Common Commands Common commands begin with an * and consist of three letters (command) or three letters and a ? (query). They are defined by the IEEE 488.2 standard to perform common interface functions. Common commands and queries are categorized under System, Status, or Trigger functions and are listed at the end of the chapter. The dc source responds to the following common commands: Table 8-2.
8 – Language Dictionary Calibration Commands Calibration commands let you: K Enable and disable the calibration mode K Change the calibration password K Calibrate the current and voltage programming and measurement, and store new calibration constants in nonvolatile memory. NOTE: If calibration mode has not been enabled with CALibrate:STATe, programming the calibration commands will generate an error.
Language Dictionary - 8 CALibrate:DATA This command enters a calibration value that you obtain by reading an external meter. You must first select a calibration level (with CALibrate:LEVel) for the value being entered. Command Syntax Parameters Unit Examples Related Commands CALibrate:DATA A (amperes) CAL:DATA 3222.3 MA CAL:STAT CAL:LEV CAL:DATA 5.000 CALibrate:LEVel This command selects the next point in the calibration sequence.
8 – Language Dictionary CALibrate:STATe This command enables and disables calibration mode. The calibration mode must be enabled before the dc source will accept any other calibration commands. The first parameter specifies the enabled or disabled state. The second parameter is the password. It is required if the calibration mode is being enabled and the existing password is not 0. If the password is not entered or is incorrect, an error is generated and the calibration mode remains disabled.
Language Dictionary - 8 Display Commands Display commands control the front panel display of the dc source. DISPlay This command turns the front panel display on or off. When off, the front panel display is blank. The display annunciators are not affected by this command.
8 – Language Dictionary Format Commands FORMat This command selects the data type and the type length for all array queries. Supported types are ASCII and REAL. When ASCII is selected, the response format for these queries is NR3 Numeric Response Data. This format is selected at *RST. The only valid argument for is 0, which means that the dc source selects the number of significant digits to be returned.
Language Dictionary - 8 Measurement Commands Measurement commands consist of measure and sense commands. Measure commands measure the output voltage or current. Measurements are performed by digitizing the instantaneous output voltage or current for a specified number of samples, storing the results in a buffer, and calculating the measured result. Two types of measurement commands are available: MEASure and FETCh.
8 – Language Dictionary MEASure:CURRent? FETCh:CURRent? These queries return the dc output current. Query Syntax MEASure[:SCALar]:CURRent[:DC]? FETCh[:SCALar]:CURRent[:DC]? Parameters None Examples MEAS:CURR? MEAS:CURR:DC? Returned Parameters Related Commands MEAS:VOLT? MEASure:CURRent:ACDC? FETCh:CURRent:ACDC? Agilent 66311B Only These queries return the ac+dc rms output current.
Language Dictionary - 8 MEASure:CURRent:LOW? FETCh:CURRent:LOW? Agilent 66311B Only These queries return the Low level current of a current pulse waveform. The instrument first measures the minimum and maximum data points of the pulse waveform. It then generates a histogram of the pulse waveform using 1024 bins between the maximum and minimum data points. The bin containing the most data points below the 50% point is the low bin.
8 – Language Dictionary MEASure:VOLTage? FETCh:VOLTage? These queries return the dc output voltage. Query Syntax MEASure[:SCALar]:VOLTage[:DC]? MEASure[:SCALar]:VOLTage[:DC]? Parameters None FETC:VOLT:DC? Examples MEAS:VOLT? Returned Parameters Related Commands MEAS:CURR? MEASure:VOLTage:ACDC? FETCh:VOLTage:ACDC? Agilent 66311B Only These queries return the ac+dc rms output voltage.
Language Dictionary - 8 MEASure:VOLTage:LOW? FETCh:VOLTage:LOW? Agilent 66311B Only These queries return the Low level voltage of a voltage pulse waveform. The instrument first measures the minimum and maximum data points of the pulse waveform. It then generates a histogram of the pulse waveform using 1024 bins between the maximum and minimum data points. The bin containing the most data points below the 50% point is the low bin.
8 – Language Dictionary SENSe:CURRent:DETector Agilent 66311B Only This command lets you select the type of detector used for output current measurements. Two choices for detecting current measurements are available: ACDC This is the preferred choice for all dynamic current measurements. When ACDC is selected, the measured output current includes the current that flows in the instrument's output capacitor.
Language Dictionary - 8 SENSe:FUNCtion This command configures the measurement sensor to measure either voltage or current when an acquire trigger is used. The query returns the function setting, either VOLT or CURR. Command Syntax Parameters Examples Query Syntax Returned Parameters SENSe:FUNCtion "VOLTage" | "CURRent" SENS:FUNC "VOLT" SENSe:FUNCtion? SENSe:PROTection:STATe This command enables or disables the open sense lead detection.
8 – Language Dictionary SENSe:SWEep:TINTerval This command defines the time period between samples Command Syntax Parameters *RST Value Examples Query Syntax Returned Parameters Related Commands SENSe:SWEep:TINTerval 15.6 microseconds through 31200 seconds 15.6 microseconds SENS:SWE:TINT 31.2E-6 SENSe:SWEep:TINTerval? SENS:SWE:POIN SENS:SWE:OFFS MEAS:ARR SENSe:WINDow This command sets the window function that is used in output measurement calculations.
Language Dictionary - 8 Output Commands Output commands consist of output and source commands. Output commands control the output and digital port functions. Source commands program the actual voltage, current, and digital port output. OUTPut This command enables or disables the dc source output. The state of a disabled output is a condition of zero output voltage and a model-dependent minimum source current (see *RST).
8 – Language Dictionary OUTPut:PON:STATe This command selects the power-on state of the dc source. This information is saved in non-volatile memory. The following states can be selected: Sets the power-on state to *RST. Refer to the *RST command as described in this chapter for more information. Sets the power-on state to *RCL 0. Refer to the *RCL command as described in this chapter for more information.
Language Dictionary - 8 OUTPut:RI:MODE This command selects the mode of operation of the Remote Inhibit protection. The RI mode is stored in non-volatile memory. The following modes can be selected: LATChing LIVE OFF causes a TTL low signal on the INH input to disable the output. The only way to clear the latch is by sending OUTPut:PROTection:CLEAR while the INH input is false. allows the INH input to disable the output in a non-latching manner.
8 – Language Dictionary [SOURce:]CURRent This command sets the immediate current level of the dc source. The immediate level is the current programmed for the output terminals.
Language Dictionary - 8 [SOURce:]DIGital:DATA This command programs the digital control port when the port is configured for Digital I/O operation. The port has three signal pins and a digital ground pin. Pins 1 and 2 are output pins controlled by bits 0 and 1. Pin 3 is controlled by bit 2, and can be programmed to serve either as an input or an output. It normally serves as an output. Bit 2 must be programmed high to use pin 3 as an input. Pin 4 is the digital ground.
8 – Language Dictionary [SOURce:]VOLTage:PROTection This command sets the overvoltage protection (OVP) level of the dc source. If the output voltage exceeds the OVP level, then the dc source output is disabled and the Questionable Condition status register OV bit is set (see chapter 7 about programming the status registers). An overvoltage condition can be cleared with the OUTP:PROT:CLE command after the condition that caused the OVP trip is removed.
Language Dictionary - 8 Status Commands Status commands program the dc source status registers. The dc source has three groups of status registers; Operation, Questionable, and Standard Event. The Standard Event group is programmed with Common commands as described later in this section. The Operation and Questionable status groups each consist of the Condition, Enable, and Event registers and the NTR and PTR filters.
8 – Language Dictionary STATus:OPERation:ENABle This command and its query set and read the value of the Operational Enable register. This register is a mask for enabling specific bits from the Operation Event register to set the operation summary bit (OPER) of the Status Byte register. This bit (bit 7) is the logical OR of all the Operatonal Event register bits that are enabled by the Status Operation Enable register.
Language Dictionary - 8 Table 8-5.
8 – Language Dictionary STATus:QUEStionable:NTR STATus:QUEStionable:PTR These commands allow you to set or read the value of the Questionable NTR (Negative-Transition) and PTR (Positive-Transistion) registers.
Language Dictionary - 8 System Commands System commands control system functions that are not directly related to output control or measurement functions. SYSTem:ERRor? This query returns the next error number followed by its corresponding error message string from the remote programming error queue. The queue is a FIFO (first-in, first-out) buffer that stores errors as they occur. As it is read, each error is removed from the queue. When all errors have been read, the query returns 0,NO ERROR.
8 – Language Dictionary SYSTem:LOCal For RS-232 Operation Only This command places the dc source in local mode during RS-232 operation. The front panel keys are functional. Command Syntax Parameters Example Related Commands SYSTem:LOCal None SYST:LOC SYST:REM SYST:RWL SYSTem:REMote For RS-232 Operation Only This command places the dc source in remote mode during RS-232 operation. This disables all front panel keys except the Local key.
Language Dictionary - 8 Trigger Commands Trigger commands consist of trigger and initiate commands. Initiate commands initialize the trigger system. Trigger commands control the remote triggering of the dc source. Trigger commands (and Initate commands) are referenced either by name or by number.
8 – Language Dictionary TRIGger When the transient trigger subsystem is initiated, this command generates a trigger signal. The trigger will then: 1. Initiate a pending level change as specified by CURRent:TRIGger or VOLTage;TRIGger. 2. Clear the WTG bit in the Status Operation Condition register after both transient and acquire trigger sequences have completed. (WTG is the logical-or of both transient and acquire sequences.) 3.
Language Dictionary - 8 TRIGger:SEQuence2:COUNt:CURRent TRIGger:ACQuire:COUNt:CURRent This command sets up a successive number of triggers for measuring current data. With this command, the trigger system needs to be initialized only once at the start of the acquisition period. After each completed measurement, the instrument waits for the next valid trigger condition to start another measurement. This continues until the count has completed.
8 – Language Dictionary TRIGger:SEQuence2:HYSTeresis:CURRent TRIGger:ACQuire:HYSTeresis:CURRent This command defines a band around the trigger level through which the signal must pass before an internal measurement can occur. The band limit above and below the trigger level is one half of the hysteresis value added to or subtracted from the trigger level.
Language Dictionary - 8 TRIGger:SEQuence2:LEVel:CURRent TRIGger:ACQuire:LEVel:CURRent This command sets the trigger level for internally triggered current measurements. A positive current trigger occurs when the current level changes from a value less than the lower hysteresis band limit to a value greater than the upper hysteresis band limit.
8 – Language Dictionary TRIGger:SEQuence2:SLOPe:CURRent TRIGger:ACQuire:SLOPe:CURRent This command sets the slope of an internally triggered current measurement. POSitive triggering occurs on the rising edge. NEGative triggering occurs on the falling edge. EITHer triggering occurs on either edge.
Language Dictionary - 8 TRIGger:SEQuence2:SOURce TRIGger:ACQuire:SOURce These commands select the trigger source for measurement triggers as follows: BUS GPIB device, *TRG, or (Group Execute Trigger) INTernal trigger is generated internally when the measured waveform crosses the trigger level with the selected slope.
8 – Language Dictionary Common Commands *CLS This command causes the following actions (see chapter 7 for the descriptions of all registers): K Clears the following registers: Standard Event Status Operation Status Event Questionable Status Event Status Byte K Clears the Error Queue K If *CLS immediately follows a program message terminator (), then the output queue and the MAV bit are also cleared.
Language Dictionary - 8 *ESR? This query reads the Standard Event Status Event register. Reading the register clears it. The bit configuration is the same as the Standard Event Status Enable register (see *ESE). Query Syntax Parameters Returned Parameters Related Commands *ESR? None (Register binary value) *CLS *ESE *ESE? *OPC *IDN? This query requests the dc source to identify itself. It returns a string composed of four fields separated by commas.
8 – Language Dictionary *OPT? This query requests the dc source to identify any options that are installed. Options are identified by number. A 0 indicates no options are installed. Query Syntax *OPT? Returned Parameters *PSC This command controls the automatic clearing at power-on of the Service Request Enable and the Standard Event Status Enable registers. The query returns the current state of *PSC. *PSC ON | 1 *PSC OFF | 0 causes these registers to be cleared at power-on.
Language Dictionary - 8 *RST This command resets the dc source to a factory-defined state as defined in the following table. *RST also forces an ABORt command. Table 8-8. *RST Settings CAL:STAT OFF DIG:DATA 0 DISP:STAT ON DISP:MODE NORM DISP:TEXT “ “ INIT:CONT OFF OUTP OFF OUTP:DFI OFF OUTP:DFI:SOUR OFF OUTP:PROT:DEL .08 OUTP:PROT:STAT ON OUTP:TYPE LOW SENS:CURR:RANG MAX SENS:CURR:DET ACDC SENS:FUNC VOLT SENS:SWE:OFFS:POIN 0 SENS:SWE:POIN 2048 SENS:SWE:TINT 15.
8 – Language Dictionary *SRE This command sets the condition of the Service Request Enable Register. This register determines which bits from the Status Byte Register (see *STB for its bit configuration) are allowed to set the Master Status Summary (MSS) bit and the Request for Service (RQS) summary bit.
Language Dictionary - 8 *TRG This common command generates a trigger when the trigger subsystem has BUS selected as its source. The command has the same affect as the Group Execute Trigger () command. In RS-232 mode, this command emulates some of the functionality of the IEEE-488 Group Execute Trigger command. Command Syntax *TRG Parameters None Related Commands ABOR INIT TRIG[:IMM] *TST? This query causes the dc source to do a self-test and report any errors.
8 – Language Dictionary Additional Commands The following commands are added to the language dictionary to provide compatibility for the Fluke PM2811 Power Supply. These comands will only work when the SYSTem LANGuage is set to SCPI. INSTrument:STATe This command enables or disables the dc source output. The state of a disabled output is a condition of zero output voltage and a model-dependent minimum source current (see *RST).
Language Dictionary - 8 CURRent:PROTection:TRIPped? This query reports if the OCP (overcurrent protection) status bit is set. 0 = bit is not set; 1 = bit is set. Query Syntax Returned Parameters Examples Equivalent SCPI Command [SOURce:]CURRent:PROTection:TRIPped? 0 or 1 CURR:PROT:TRIP? STATus:QUEStionable:CONDition? VOLTage:LIMit:HIGH? This query returns the maximum rated voltage of the instrument.
A Specifications Specifications Table A-1 lists the specifications of the dc source. Unless otherwise noted, specifications are warranted over the ambient temperature range of 0 to 55 °C. Specifications apply with typical cellular phone capacitive loads from 0µF to 12,000µF. Sensing is at the rear terminals of the power supply after a 30minute warm-up period. Sense terminals are externally jumpered to their respective output terminals. Table A-1.
A - Specifications Supplemental Characteristics Table A-2 lists the supplemental characteristics, which are not warranted but are descriptions of typical performance determined either by design or type testing. Table A-2. Supplemental Characteristics Parameter Average Current Measurement Resolution Readback Accuracy Temperature Coefficient (change/C°) Agilent 66111A Agilent 66311B Hight Range: Low Range: 3.5 mA NA 213 µA 0.6 µA Voltage: 0.01% + Current (dc): 0.02% + Current (acdc): 0.
Specifications - A Table A-2. Supplemental Characteristics (continued) Parameter Measurement Time (includes 30 ms1 data acquisition time and 20 ms data processing overhead) Agilent 66111A voltage or current Up to 4 V (add 2 mV to the voltage load regulation specification for each 1 V change in the + output lead due to load current change.
A - Specifications Table A-2. Supplemental Characteristics (continued) Parameter Input Ratings: (at full load from 47–63 Hz) Agilent 66111A/66311B 100 Vac mains (87-106 Vac): 115 Vac mains (104-127 Vac): 220 Vac mains (191-233 Vac): 230 Vac mains (207-253 Vac): 1.6 A, 100 W 1.4 A, 100 W 0.8 A, 100 W 0.
B Verification and Calibration Introduction This appendix includes verification and calibration procedures for the Agilent 66111A Fast Transient DC Source and the Agilent 66311B Mobile Communications DC Source. Instructions are given for performing the procedures either from the front panel or from a controller over the GPIB . The verification procedures do not check all the operating parameters, but verify that the dc source is performing properly.
B - Verification and Calibration -S - + SENSE +S -S Local Remote NOTE: Connector is removable + - - + SENSE +S Local Remote NOTE: Connector is removable + - 50VDC MAX TO 50VDC MAX TO Set to Remote Set to Remote DC - DC Current Voltmeter + Load Resistor + B. A. -S - + SENSE +S Local Verification Load Resistor 400 ohms Remote NOTE: Connector is removable Calibration Load Resistor 800 ohms + - DC - Ammeter monitor 50VDC MAX TO Set to Remote - Current Shunt 15 A, 0.
Verification and Calibration - B Check the Language Setting The verification procedures can only be performed with the dc source set to the SCPI programming language. Action Normal Result 1. Turn on the dc source, access the Address menu and scroll to the LANG: command. LANG: SCPI or LANG:COMP 2. If the language is set to COMPatibility, change it to SCPI and press Enter. If the language is already set to SCPI, just continue with the verification procedure.
B - Verification and Calibration Low Range Current Measurement (Agilent Model 66311B Only) Action Normal Result 7. Turn off and connect the dc source as shown in Figure B-1B using the 400 ohm load resistor. Set the DMM to operate in current mode. 8. Turn on the dc source, access the Input menu, and set the current range to LOW. CURR:RANG LOW 9. Set the output voltage to 0 V and the current 3 A. Press Output On/Off to enable the output. Output current near 0 A. 10.
Verification and Calibration - B Table B-2. Verification Test Record for Agilent Model 66111A Model Agilent 66111A Report No.____________ Date_____________ Test Description Minimum Specification Recorded Results Maximum Specification Voltage Programming and Measurement Low Voltage Vout −10 mV _____mV +10 mV Front Panel measurement Vout −5 mV _____mV Vout +5 mV High Voltage Vout 14.982 V _______V 15.018 V Vout −9.5 mV _______V Vout +9.
B - Verification and Calibration Performing the Calibration Procedure NOTE: The calibration procedure can only be performed from the front panel or using the SCPI language commands. Table B-1 lists the equipment required for calibration. Figure B-1 shows the test setup. You do not have to do a complete calibration each time. If appropriate, you may calibrate only the voltage or current and proceed to "Saving the Calibration Constants".
Verification and Calibration - B Front Panel Calibration Procedure These procedures assume you understand how to operate front panel keys (see chapter 5). Make sure the sense switch is set to Remote and the sense terminals are directly jumpered to the output terminals. Calibration procedures can only be performed with the dc source set to the SCPI programming language. Check the Language Setting Action Normal Result 1. Turn on the dc source, access the Address menu and scroll to the LANG: command.
B - Verification and Calibration Overvoltage Protection Calibration Action 13. Press Shift Cal, scroll to CAL VOLT PROT, and press Enter. 14. Wait for the dc source to compute the OVP calibration constant. The display returns to Meter mode when the calculation is complete. Display CAL:VOLT:PROT Current Programming and High-Range Measurement Calibration Action Display 15. Connect the appropriate current monitor as shown in figure B-1A. Connect the DMM (in voltage mode) across the current shunt. 16.
Verification and Calibration - B AC Current Measurement Calibration (Agilent Model 66311B Only) Action Display 26. Disconnect all loads from the dc source but leave the sense jumpers in place. 27. Hold the calibration switch on the back of the unit in the “ON” position until after the ac calibration completes (in step 29). 28. Press Shift Cal and scroll to CAL CURR MEAS AC, and press Enter. 29. Wait for the dc source to compute the ac current calibration constant.
B - Verification and Calibration Calibration Error Messages Errors that can occur during calibration are shown in the following table. Table B-3. GPIB Calibration Error Messages Error Meaning 401 CAL switch prevents calibration (This is a hardware disable, see the Service Manual.
C Error Messages Error Number List This appendix gives the error numbers and descriptions that are returned by the dc source. Error numbers are returned in two ways: ♦ Error numbers are displayed on the front panel ♦ Error numbers and messages are read back with the SYSTem:ERRor? query. SYSTem:ERRor? returns the error number into a variable and returns two parameters: an NR1 and a string. The following table lists the errors that are associated with SCPI syntax errors and interface problems.
C – Error Messages Table C-1. Error Numbers (continued –131 Invalid suffix [unrecognized units, or units not appropriate] –138 Suffix not allowed –141 Invalid character data [bad character, or unrecognized] –144 Character data too long –148 Character data not allowed –150 String data error –151 Invalid string data [e.g., END received before close quote] –158 String data not allowed –160 Block data error –161 Invalid block data [e.g.
Error Messages - C Table C-1.
D Example Programs Introduction The example programs in this section are intended to show how some of the same dc source functions can be programmed to each of the following GPIB interfaces: 1. National Instruments GPIB-PCII Interface/Handler 2. BASIC Language System Assigning the GPIB Address in Programs The dc source address cannot be set remotely. It must be set using the front panel Address key. Once the address is set, you can assign it inside programs.
D – Example Programs Error Handling If there is no error-handling code in your program, undetected errors can cause unpredictable results. This includes "hanging up" the controller and forcing you to reset the system. National Instruments drivers have routines for detecting program execution errors. Error detection should be used after every call to a subroutine. Example 1.
Example Programs - D 1225 ' 1230 'Clear status circuit 1235 CODES$="*CLS" :GOSUB 2000 1240 FOR I=1 TO 50 :NEXT I 'Wait for supply to clear 1245 ' 1250 'Disable output and save present state to location 2 1255 CODES$ = "OUTPUT OFF;*SAV 2" :GOSUB 2000 1260 END 1265 ' 2000 'Send command to dc source 2005 CALL IBWRT(PS%,CODES$) 2010 IF IBSTAT% 2015 RETURN 1250 'Disable output and save present state to location 2 1255 CODES$ = "OUTPUT OFF;*SAV 2" :GOSUB 2000 1260 END 1265 ' 2000 'Send command to dc source 2005 C
D – Example Programs BASIC The BASIC for controllers and BASIC for Windows both provide access to GPIB functions at the operating system level. This makes it unnecessary to have the header files required in front of DOS applications programs. Also, you do not have to be concerned about controller "hangups" as long as your program includes a timeout statement. Because the dc source can be programmed to generate SRQ on errors, your program can use an SRQ service routine for decoding detected errors.
Example Programs - D Pulse Measurements The following programs illustrate how to make a pulse measurement over the GPIB . The measurement function is set to ACDC, which gives the best results for current waveforms that have ac content. The measurement incorporates 100 readings taken at time intervals of 20 microseconds, for a total measurement time of 2 milliseconds. The trigger point for the pulse measurement occurs at 0.1 amperes on the positive slope of the current pulse.
D – Example Programs 330 ! 340 ENTER @Ps;Curr_array(*) 350 PRINT Curr_array(*) 360 ! 370 OUTPUT @Ps;"FETCH:CURR:MAX?" measurement.
Example Programs - D /* initialize the VISA session */ err = viOpenDefaultRM(&defRM); if (err) { printf("viOpenDefaultRM error, check your hardware connections\n"); exit (-1); } /* Open the instrument at address 5 for Communication */ err = viOpen(defRM, "GPIB0::5::INSTR", VI_NULL, 5000, &instrumentHandle); if (err) { viClose(defRM); printf("viOpen error, check the device at address 5\n"); exit (-1); } /* Reset the instrument */ viPrintf(instrumentHandle, "*RST\n"); /* turn on the output */ viPrintf(instrum
D – Example Programs /* trigger the acquisition by changing the output voltage level to 5V */ printf ("Trigger acquisition...\n"); viPrintf(instrumentHandle, "VOLT %.5lg\n", 5.
Example Programs - D When this program runs, it returns the DC, RMS, MIN, MAX, HIGH, and LOW data in 10 measurement data points in the following format: Output Voltage = 1.999860; Output Current = -0.000043 Arm acquisition system... Pre-trigger delay... Trigger acquisition... Dynamic voltage measurements: dc = 5.002660 V rms = 5.002660 V max = 5.080140 V min = 1.996970 V high= 5.002310 V low = 3.538550 V Array Data[0] = 2.000360 V Array Data[1] = 1.999680 V Array Data[2] = 1.998320 V Array Data[3] = 1.
E Line Voltage Conversion WARNING: Shock Hazard. Operating personnel must not remove instrument covers. Component replacement and internal adjustments must be made only by qualified service personnel. Open the Unit ♦ Turn off ac power and disconnect the power cord from the unit. ♦ Loosen the two screws on the rear bezel and remove the bezel (use a #15 Torx drive). ♦ Remove the two screws on the bottom of the unit (use a #15 Torx drive). ♦ Pull the cover back to remove it from the unit.
E – Line Voltage Conversion grey white/red/grey orange (spare) orange orange white/yellow white/violet white/yellow white/violet orange grey white/red/grey grey grey orange (spare) orange orange white/yellow white/violet orange white/red/grey white/yellow white/violet white/red/grey white/red white/black white/brown white/red red white/black black white/brown Figure E-1, Power Transformer AC Input Connections Install the Correct Line Fuse ♦ Unscrew the line fuse cap from the rear panel and
F Compatibility Language Introduction The Agilent 66311B dc source covered by this manual is programmatically compatible with the HP/Agilent 6632A, 6633A, and 6634A dc power supplies. This means that by using COMPatibility language mode you can program the Agilent 66311B over the GPIB using COMPatibility commands. To switch from SCPI commands to COMPatibility commands (and vice versa), use the SYST:LANG command, as documented in chapter 8. The language setting is saved in non-volatile memory.
F – Compatibility Language Table F-2. COMPatibility Commands Compatibility Command ASTS? CLR DC 0 | 1 DLY DSP 0 | 1 ERR? FAULT? ID? IOUT? ISET OCP 0 | 1 OUT 0 | 1 164 Description This command reads the contents of the accumulated status register, which stores any bit condition entered in the status register since the accumulated status register was last read, regardless of whether the condition still exists.
Compatibility Language - F Table F-2. COMPatibility Commands (continued) Compatibility Command OVSET POL 0 | 1 PON 0 | 1 RELAY 0 | 1 RLYPON 0 | 1 ROM? RST SENS:CURR :RANG SENS:PROT :STAT 0 | 1 SENS:SWE :POIN SENS:SWE :TINT SRQ 0 | 1 STS? SYST:LANG Description This command programs the overvoltage protection. See Table 8-3 for the programming range of this command. Initial condition: MAX Only applies to units with Option 760.
F – Compatibility Language Table F-2. COMPatibility Commands (continued) Compatibility Command TEST? UNMASK xxx VOUT? VSET Description This command causes the dc source to run selftest and report any detected failures.
Compatibility Language - F STATUS REGISTER CV 1 +CC 2 UNR OV 4 OT 16 OS OC 32 ERR 128 INH -CC FAST NORM 8 FAULT 64 REGISTER 256 1 512 2 1024 4 2048 SERIAL POLL 8 16 ACCUMULATED STATUS REGISTER 1 2 4 8 16 MASK REGISTER CV +CC UNR OV OT 2 not used not used 4 2 512 4 1024 RDY 16 8 2048 ERR 32 RQS not used 128 16 32 ERR 128 256 INH -CC FAST NORM 256 2048 1 PON 256 64 1024 REGISTER 1 128 512 FAU 64 128 OS OC 32 32 8 64 64 512 1024 2048 Figure F-1
Index —— -- -- -- -- --, 47, 52 - sense open, 32 —+— + sense open, 32 +/- sense open, 32 +/- terminals, 28 +S/-S terminals, 28 —0— 0 ...
Index *TST, 129 *WAI, 129 compatibility commands, 164 errors, 166 Fluke PM2811, 130 language, 163 power-on settings, 163 status model, 167 controller connections, 38 conventions used in this guide, 59 conversion, ac line, 161 CRD, 63 crowbar circuit, 35 current, 68 maximum, 68 measurement range, 72 measurements, 73 current measurement detector, 102 current measurement range, 52, 102 current range, 47, 53 current sinking, 23 CV mode, 23, 50 —D— damage, 26 DC, 102 DC current detector, 53 determining cause of
Index —H— Hanning, 72, 104 header, 62 long form, 62 short form, 62 High measurements, 74 history, 6 BASIC controller example, 154 GPIB , 54 address, 54, 57 address in programs, 151 capabilities of the dc source, 57 command library for MS DOS, 58 connections, 38 controller programming, 58 IEEE Std for standard codes, 59 IEEE Std for standard digital interface, 59 interface, 38 references, 58 triggers, 76 GPIB address, 22 —I— impedance, 29 INH, 54, 84 INH input, 36 initialization, 67 initiate commands, 117
Index characteristic, 23 compensation, 51 connections, 28 connector, 26 control keys, 48 current setting, 50 enable, 51 rating, 23 voltage setting, 50 output commands, 105 INST STAT, 130 OUTP, 105 OUTP COMP, 107 OUTP DFI, 105 OUTP DFI SOUR, 105 OUTP PON STAT, 106 OUTP PROT CLE, 106 OUTP PROT DEL, 106 OUTP PROT TRIP?, 130 OUTP RI MODE, 107 output compensation, 34, 48 output queue, 83 output trigger system model, 69 OV, 51 OVERCURRENT, 41 overcurrent protection, 68 OVERTEMPERATURE, 41 OVERVOLTAGE, 41 OVLD, 41
Index non-conformance, 65 program message, 61 references, 58 response message, 61 subsystem commands, 59, 87 triggering nomenclature, 69, 75 SCPI commands at a glance, 18 selecting measurement trigger source, 76 selftest errors, 41 sense commands, 97 SENS CURR DET, 102 SENS CURR RANG, 102 SENS FUNC, 103 SENS PROT STAT, 103 SENS SWE OFFS POIN, 103 SENS SWE POIN, 103 SENS SWE TINT, 104 SENS WIND, 104 sense open, 32 servicing operation status, 83 servicing questionable status events, 83 setting output trigger
Index —V— verification current measurement accuracy, 139 current programming, 139 equipment, 137 setup, 137 test record, 142 voltage measurement accuracy, 139, 140, 143, 145 voltage programming, 139, 140, 143, 145 voltage, 68 maximum, 68 measurements, 73 174 voltage deviation with open sense, 33 VXIplug&play, 19 —W— waiting for measurement results, 77 warranty, 2 wire current ratings, 28 —X— XON-XOFF, 58
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 States: Agilent Technologies Test and Measurement Call Center P.O.
Manual Updates The following updates have been made to this manual since the print revision indicated on the title page. 3/4/99 The note on page 33 has been replaced with two new paragraphs. Figure 3-5 has also been updated. 1/2/01 The serial number information on the title page has been updated. Also, the definition of the Transient Response specification on page 133 has been updated. All references to HP have been changed to Agilent. All references to HP-IB have been changed to GPIB.