CALIBRATION PROCEDURE NI 5421/5441 100 MS/s Arbitrary Waveform Generator This document contains the verification and adjustment procedures for the NI 5421/5441 arbitrary waveform generator. This calibration procedure is intended for metrology labs. Refer to for more information about calibration solutions.
Software Calibrating the NI 5421 requires you to install NI-FGEN version 2.0 or later on the calibration system. Calibrating the NI 5441 requires you to install NI-FGEN version 2.3 or later on the calibration system. You can download NI-FGEN from the National Instruments website at .
Documentation»NI Signal Generators Help. Self-Calibration Procedures The NI 5421/5441 can perform self-calibration, which adjusts the gain and offset of the main and direct analog paths. Self-calibration uses only an onboard analog-to-digital converter (ADC) to measure the output voltage. You can implement self-calibration on the NI 5421/5441 by...
A pointer to a ViSession. The variable passed by reference through this parameter receives the value that identifies the session created by this function. This value acts as the session handle and is passed as the first parameter to all subsequent NI-FGEN functions.
Page 7
Table 2. Equipment Required for Calibrating the NI 5421/5441 Instrument Recommended Instrument Applicable Specification Minimum Specifications ≤ Digital multimeter (DMM) NI PXI-4070 AC accuracy, DC gain and DCV accuracy: 0.05% offset, and frequency accuracy ≥ Ω Agilent/HP 34401A DC input impedance: ≤...
Test Conditions Follow these guidelines to optimize the connections and the environment during calibration: • Keep connections to the NI 5421/5441 short. Long cables and wires act as antennas, picking up extra noise that can affect measurements. • Keep relative humidity below 80%.
Page 9
Refer to Table 2 for information about which instrument to use for verifying each specification. Refer to Figure 1 for the names and locations of the NI PXI-5421/5441 and the NI PCI-5421 front panel connectors. The NI PXI-5421/5441 is pictured on the left. The NI PCI-5421 is pictured on the right.
Verifying the Oscillator Frequency Accuracy This test verifies the frequency accuracy of the oscillator on the NI 5421/5441. Verification involves generating a 10 MHz sine wave with the NI 5421/5441 and measuring the sine wave frequency with one of the instruments from Table 2.
Page 11
"0" • attributeID: NIFGEN_ATTR_DIGITAL_FILTER_ENABLED • value: VI_TRUE Call to set the digital filter interpolation factor niFgen_SetAttributeViReal64 (NI-FGEN Digital Filter Interpolation Factor property) using the following parameters: • vi: The session handle returned from niFgen_init • channelName: "0" • attributeID: NIFGEN_ATTR_DIGITAL_FILTER_INTERPOLATION_FACTOR •...
Verifying the DC Gain and Offset Accuracy This test verifies the DC gain and offset accuracy of the NI 5421/5441 into a high-impedance load by generating a number of DC voltages and offsets, measuring the voltage with a DMM, and comparing the NI 5421/5441 to the error limits.
Page 13
The session handle returned from niFgen_init • channelName: "0" • attributeID: NIFGEN_ATTR_LOAD_IMPEDANCE • value: 10000000000 Call to set the analog path (NI-FGEN Analog Path niFgen_SetAttributeViInt32 property) using the following parameters: • vi: The session handle returned from niFgen_init • channelName: "0" • attributeID: NIFGEN_ATTR_ANALOG_PATH •...
Page 16
• vi: The session handle returned from niFgen_init 18. Measure the DC voltage from the NI 5421/5441. This value is the Measured Positive Full-Scale Value. 19. Determine the error for positive full scale using the following formula: Error Positive Full-Scale = (Measured Positive Full-Scale Value) - (Ideal Positive Full-Scale Value) Compare this error to the calibration limits listed in Table 4.
Page 17
26. If any of the errors are greater than the As-Found Limits, perform an external adjustment. Verifying the Main Analog Path Offset To verify the offset of the NI 5421/5441 main analog path, complete the following steps: Create an array of waveform samples for the mid-scale DC waveform (0 VDC). This array...
Page 19
• vi: The session handle returned from niFgen_init 13. Measure the negative DC voltage from the NI 5421/5441. This value is the Measured Negative Offset Value. 14. Determine the error for negative offset using the following formula: Error Negative Offset = (Measured Negative Offset Value) - (Ideal Negative Offset Value) 18 | ni.com | NI 5421/5441 Calibration Procedure...
Page 20
16. If any of the errors are greater than the calibration limits, perform an external adjustment. Verifying the Direct Analog Path Gain Complete the following steps to verify the NI 5421/5441 direct analog path gain. Note The offset is not adjustable for the direct analog path.
Page 21
• vi: The session handle returned from niFgen_init Measure the positive DC voltage from the NI 5421/5441. This value is the Measured Positive Full-Scale Value. Call (niFgen Abort Generation VI) to abort the waveform...
• vi: The session handle returned from niFgen_init 10. Measure the negative DC voltage from the NI 5421/5441. This value is the Measured Negative Full-Scale Value. 11. Call (niFgen Abort Generation VI) to abort the waveform...
Page 23
22 | ni.com | NI 5421/5441 Calibration Procedure...
Page 25
Average readings: 4 • Digits: 6.5 These values assume you are using an NI 4070 DMM. For other DMMs, use Note the range closest to the values listed in step 9. The input impedance should be equal to or greater than the values indicated in Table 2,...
Verifying Frequency Response (Flatness) This test verifies the frequency response (flatness) of the NI 5421/5441 using a power meter. The flatness verification has two subprocedures that verify the following: • Main analog path flatness: low-gain amplifier and high-gain amplifier •...
Page 27
Repeat steps 11 through 20 for each iteration in Table 8, changing the Number of Samples Number of Cycles for each iteration. Table 8. NI 5421/5441 Setup for Main Analog Path Flatness Verification Published Specification Number of Number of Low-Gain...
Page 28
Table 8. NI 5421/5441 Setup for Main Analog Path Flatness Verification (Continued) Published Specification Number of Number of Low-Gain High-Gain Iteration Frequency Samples Cycles Amplifier Amplifier 20 MHz 1,000 -1.0 dB to -1.2 dB to +0.5 dB +0.5 dB 43 MHz 1,000 -3.0 dB to...
Page 29
Verifying the Direct Analog Path Flatness Complete the following steps to verify the direct analog path flatness of the NI 5421/5441, complete the following steps: Connect the NI 5421/5441 CH 0 front panel connector to the power meter using the required adapter.
Page 30
A pointer to a ViSession. The variable passed by reference through this parameter receives the value that identifies the session created by this function. This value acts as the session handle and is passed as the first parameter to all subsequent NI-FGEN functions.
Page 31
Repeat steps 11 through 20 for each iteration in Table 9, changing the Number of Samples Number of Cycles for each iteration. Table 9. NI 5421/5441 Setup for Direct Analog Path Flatness Verification Number of Iteration Frequency Number of Samples...
If the NI 5421/5441 is not within the calibration test limits for each verification procedure, perform the adjustment procedure to improve the accuracy of the NI 5421/5441.
Along with the standard NI-FGEN attributes, the external calibration session uses a set of calibration constants that are determined during the calibration procedure and stored in the device onboard memory when the session is closed. NI-FGEN uses these calibration constants during a standard NI-FGEN session to ensure that the device operates within its specifications.
Page 35
In each of these subprocedures, you put the device in several configurations and take several output measurements. You then pass these measurements to NI-FGEN, which determines the calibration constants for the device. Initializing Analog Output Calibration Call (niFgen Initialize Analog...
Page 37
PATH_FILTER_ON_9DB VI_TRUE NIFGEN_VAL_CAL_CONFIG_MAIN_ PATH_FILTER_ON_12DB Call to set the analog filter state (NI-FGEN niFgen_SetAttributeViBoolean Analog Filter Enabled property) using the following parameters: • vi: The session handle returned from niFgen_InitExtCal • channelName: "0" 36 | ni.com | NI 5421/5441 Calibration Procedure...
Page 38
NIFGEN_ATTR_PRE_AMPLIFIER_ATTENUATION • value: The Preamplifier Attenuation value for the current iteration from Table 10. Complete the following steps to take the voltage measurements at the NI 5421/5441 CH 0 front panel connector into a high-impedance load: Call to set the gain DAC value (NI-FGEN Gain...
Page 39
1 measurement 2 order that you measured them. Adjusting the Main Analog Path Preamplifier Gain Call to set the analog path value (NI-FGEN Analog niFgen_SetAttributeViInt32 Path property) using the following parameters: • vi: The session handle returned from niFgen_InitExtCal •...
Page 41
NIFGEN_ATTR_PRE_AMPLIFIER_ATTENUATION • value: The Preamplifier Attenuation value for the current iteration from Table 11 Complete the following steps to take the voltage measurements at the NI 5421/5441 CH 0 front panel connector into a high-impedance load: Call to set the gain DAC value (NI-FGEN Gain...
Call to set the gain DAC value (NI-FGEN Gain DAC niFgen_SetAttributeViInt32 Value property) using the following parameters: • vi: The session handle returned from niFgen_InitExtCal • channelName: "0" • attributeID: NIFGEN_ATTR_GAIN_DAC_VALUE • value: 2000 Repeat steps 5 through 8 for each of the eight iterations listed in Table 12, changing the Analog Path, Postamplifier Attenuation, and Current Configuration values for each iteration.
NIFGEN_ATTR_POST_AMPLIFIER_ATTENUATION • value: The Postamplifier Attenuation value for the current iteration from Table 12 Complete the following steps to take the voltage measurements at the NI 5421/5441 CH 0 front panel connector into a high-impedance load: Call to set the offset DAC value (NI-FGEN...
Page 45
The session handle returned from niFgen_InitExtCal • channelName: "0" • value: Call to set the gain DAC value (NI-FGEN Gain DAC niFgen_SetAttributeViInt32 Value property) using the following parameters: • vi: The session handle returned from niFgen_InitExtCal • channelName: "0"...
Page 46
• vi: The session handle returned from niFgen_InitExtCal 11. Complete the following steps to take the voltage measurements at the NI 5421/5441 CH 0 front panel connector into a high-impedance load: Call (niFgen Write Binary 16...
Page 47
Use the DMM to measure the voltage generated by the device. This measurement is , which is used in step 12. measurement 0 Call to set the gain DAC value (NI-FGEN Gain niFgen_SetAttributeViInt32 DAC Value property) using the following parameters: •...
Adjusting the oscillator frequency involves generating a sine wave at a desired frequency and then iteratively measuring the frequency, passing the measured value to NI-FGEN so that the oscillator can be adjusted, and then remeasuring the resulting frequency. Repeat this process until the difference between the desired and measured frequency falls within the desired tolerance, which is 4.5 ppm.
Page 49
"0" • attributeID: NIFGEN_ATTR_DIGITAL_FILTER_ENABLED • value: VI_TRUE Call to set the digital filter interpolation factor niFgen_SetAttributeViReal64 (NI-FGEN Digital Filter Interpolation Factor property) using the following parameters: • vi: The session handle returned from niFgen_InitExtCal • channelName: "0" • attributeID: NIFGEN_ATTR_DIGITAL_FILTER_INTERPOLATION_FACTOR •...
Adjusting the Calibration ADC The NI 5421/5441 has an onboard calibration ADC used during self-calibration. To adjust the calibration ADC, characterize the gain and offset associated with this ADC so that a self-calibration results in an accurately calibrated device.
Page 53
12. Wait 500 ms for the output to settle. 13. Call to set the calibration ADC input (NI-FGEN Cal niFgen_SetAttributeViInt32 ADC Input property) using the following parameters: • vi: The session handle returned from niFgen_InitExtCal • channelName: (empty string) ""...
Page 54
21. Wait 500 ms for the output to settle. 22. Use the DMM to measure the NI 5421/5441 voltage output directly into the DMM into a high-impedance load. This measurement is , which is used external measurement 0 in step 32.
• channelName: "0" • attributeID: NIFGEN_ATTR_OUTPUT_ENABLED • value: VI_FALSE 34. Call to set the calibration ADC input (NI-FGEN Cal niFgen_SetAttributeViInt32 ADC Input property) using the following parameters: • vi: The session handle returned from niFgen_InitExtCal • (empty string) channelName: ""...
You should see information about the last dates for both external and self-calibration. NI-FGEN NI-FGEN provides a full complement of calibration utility functions and VIs. Refer to the NI Signal Generators Help for the complete function reference, including the following utility functions: •...
National Instruments Patents Notice at ni.com/patents. You can find information about end-user license agreements (EULAs) and third-party legal notices in the readme file for your NI product. Refer to the Export Compliance Information at ni.com/legal/export-compliance for the NI global trade compliance policy and how to obtain relevant HTS codes, ECCNs, and...
Need help?
Do you have a question about the PXI-5421 and is the answer not in the manual?
Questions and answers