嵌入式设计应用
How to Calibrate the MAX9979 Pin Electronics
Abstract: The MAX9979 Pin Electronics device integrates 28 DACs, that can be calibrated to adjust for gain and offset errors. Calibration is done with the MAX9979's calibration registers. This calibration will result in a very linear and precise driver/PMU/comparator/active-load that will meet the most stringent demands of the tester industry.
The MAX9979 is a highly linear, dual, 1.1Gbps pin electronics with integrated PMU and level-setting digital-to-analog converters (DACs). The device integrates a total of twenty-eight 16-bit DACs (14 per channel). Each of these DACs feeds levels can be independently adjusted for gain and offset errors by using the device's calibration registers. These registers allow the MAX9979 levels to be calibrated to better than 5mV over the entire -1.5V to +6.5V operating range. This application note will explain how this calibration can be accomplished.
There are a number of unity-gain buffers inside the MAX9979. Each of these buffers, if not corrected, will exhibit offset and gain errors. Figure 1 shows how one of these buffers looks like in the MAX9979.
Figure 1. MAX9979 level-setting architecture.
The internal 16-bit DAC output drives the input of the offset and gain correction cell, which corrects the offset and gain errors of the unity-gain buffer. It is this architecture that creates high precision, linear, low-offset levels over the MAX9979's entire operating range.
The MAX9979 data sheet explains the offset and gain calibration registers, as well as how to address and program these registers with the internal serial interface. The following section illustrates how this calibration is accomplished using the MAX9979 EV (evaluation) kit. The MAX9979 EV kit provides both visual and actual results (Figure 2).
Figure 2. The MAX9979 EV kit.
The EV kit, as shown above, is controlled by a graphics user interface (GUI) that can be downloaded from the Maxim website:
With the above setup, we are ready to begin the calibration. At startup the GUI interface should look like Figure 3.
Figure 3. MAX9979 GUI at startup.
Click on the DriveHi CH1/CH0 quickstart. Observe and verify that you are measuring 3V with the DVM attached to the DUT0 pin.
After setting VDH0 = +1.5V, VDL0 = -2V, and after calibrating the offset and the gain, the GUI interface appears as in Figure 4. The VDH0 offset and gain settings may differ from that shown, since they depend on the particular device being tested.
Figure 4. Setting for VDH0 offset and gain registers after calibration.
Note from Figure 5:
The error at -1.5V is related to VDH0 approaching VDL0. The calibration points for the gain could have been chosen to be closer to -1.5V and closer to +6.5V. If that was done, there would be less error at -1.5V and slightly more error along the swept curve up to +6.5V.
This procedure is repeated for every level, for both channels. To calibrate the comparator offsets you will need to monitor the comparator outputs and look for the switching points, or place the comparators in a servo loop with external components.
Figure 5. Measured DVH (typ) error at the DUT0 pin before and after calibration.
After calibrating all the registers, the GUI interface may look similar to Figure 6, where all the offset and gain registers are set to their calibrated values. The DAC values for the levels other than VDH0, which was calibrated, are assumed; these numbers will be updated depending on the calibration of your device.
Note that we are just looking at the CH0 page, but that there are three other pages in the GUI setup for the CH0 PMU settings and the CH1 driver and PMU settings. When a full calibration is done, then all the offset and gain DAC settings will be shown on all the GUI pages.
These settings only remain while the MAX9979 is powered up. If the MAX9979 is powered down and then powered up again, all of these calibrated register settings will be lost. The startup default values will reappear.
These registers were updated, in this case, by programming the serial interface. The end user will also need to program these calibration constants into the MAX9979 after a power-up sequence by using the serial interface. Therefore, it is important to store these constants in a table and read this table back into the MAX9979 registers at each power-up.
The EV kit can store these constants in a saved file. The user simply clicks on the "File" pulldown menu, clicks on "Save," names a file, and then defines the location where to store this file. Now the user can click on the "File" pulldown menu after power-up, and click on the "Load" option. Browse to the location to load the saved calibration file and the MAX9979 will be fully calibrated, ready for use.
The "Save" and "Load" options in the "File" pulldown menu can also be used to store any setup, which can include the calibration constants. With this capability you can upload one setup after another, simplifying the characterization of your MAX9979.
Figure 6. Typical offset and gain settings after calibration.
You can calibrate the MAX9979 levels, supplied by its internal 16-bit DACs, by adjusting the offset and gain bits per each DAC. This calibration will result in a very linear and precise driver/PMU/comparator/active-load that will meet the most stringent demands of the tester industry. All of this capability has been integrated in the MAX9979 pin electronics device.
By using the methodology discussed here and by reviewing the MAX9979 data sheet, you will be able to test, characterize, and utilize all the capabilities of the device.
全部0条评论
快来发表一下你的评论吧 !