Step-by-Step Procedure for Per

Step-by-Step Procedure for Per,第1张

Abstract: The MAX1452 and MAX1455 are high performance, low-cost signal condiTIoners that can provide high-order temperature error compensaTIon. This procedure describes how to set up the MAX1452EVKIT and MAX1455EVKIT evaluaTIon kits two perform temperature compensaTIon using two set points.

This procedure describes how to use the MAX1452EVKIT and MAX1455EVKIT to set up and perform two-point temperature compensation. It uses the Comp52.exe compensation program supplied as part of the EVKit package. Major Steps
  1. Perform room temperature compensation (follow steps in Appendix-A).
  2. Setup the desired conditions for two-temperature points compensation.
  3. Start temperature compensation.
    • Set first temperature point.
      • Set full-scale pressure, Pfs. Measure output voltage, Vfs1.
      • Set minimum pressure, Po. Measure output voltage, Vo1.
      • Computer will calculate ideal bridge voltage, Ideal_Vb1, for the desired span.
      • Set Ideal_Vb1.
      • Set desired offset.
      • Computer will record values of OFF DAC, FSO DAC, and Temp-Index as OFFDAC1, FSODAC1, Temp-Index1.
    • Set second temperature point.
      • Set full-scale pressure, Pfs. Measure output voltage, Vfs2.
      • Set minimum pressure, Po. Measure output voltage, Vo2.
      • Computer will calculate ideal bridge voltage, Ideal_Vb2, for the desired span.
      • Set Ideal_Vb2.
      • Set desired offset.
      • Computer will record values of OFF DAC, FSO DAC, and Temp-Index as OFFDAC2, FSODAC2, Temp-Index2.
  4. Computer will calculate the compensation coefficients based on the values of OFFDAC1, FSODAC1, Temp-Index1, OFFDAC2, FSODAC2, and Temp-Index2.
  5. Computer will write the calculated compensation coefficients into the EEPROM.
  6. Computer will write the calculated compensation coefficients into a file.
  7. Switch to analog mode and verify compensation.
Detail Description Perform Room Temperature CompensationRoom temperature compensation is recommended before temperature compensation is performed. It's a simple and quick way to choose proper starting values such as PGA, IRO, Offset-TC DAC and FSOTC DAC. Improper start values could result in calculated values that exceed internal variable limits and halt the program. Refer to Appendix-A for step-by-step instruction.

Setup the desired conditions for temperature compensation
  1. 1 Configure the EVKIT for digital mode of operation:
    • Remove power from the EVKIT.
    • Connect the 10-pin ribbon cable to the EVKIT.
    • Remove jumper, J4.
    • Install jumper, J2.
    • Apply 5V supply to the EVKIT.
  2. Run Comp52.exe program.
  3. On the Comp52.exe front panel, set the parameters that are required for temperature compensation.
    • Set '# of Temp points' to 2.
    • Set 'Absolute error' to 0.001 (1 mV).
    • Set 'Target Span' to the desired span value in Volts.
    • Set 'Target Offset' to the desired offset value in Volts.
    • Switch 'Output Mode' to 'Manual'
    • Set 'Display Duration' to '4.5' seconds or any other setting that provides enough time to read the DMM. DO NOT CHOOSE '9.1' seconds.
Start Temperature CompensationStart temperature compensation by pressing 'Begin COMPENSATION' button and respond as appropriate to the dialog boxes that pop-up as the program steps through the Compensation process.

Important Notes
  1. When entering a number, in response to a prompt, the old number in the window must be completely deleted before the new value is entered.
  2. In any dialog box that requires a value to be entered, you may press the 'Retry' button as many times as necessary to make sure that you have read the DMM correctly.
  3. No data entry error will be tolerated. It is essential that all values be entered correctly since 'undo' is not possible. Any wrong entry will result in bad compensation and could result in calculated values that exceed internal variable limits and halt the program.
First Temperature
  1. Dialog box to set first temperature point.
    • Set the oven to the first temperature point.
    • Wait until the device has reached temperature stability. [You may use 'Current Index' or voltage, Vb, on the BDR pin to verify temperature stability]
    • Press 'CONTINUE' when ready.
  2. Dialog box to set maximum pressure.
    • Apply full-scale pressure on the device and wait until pressure is stabilized.
    • Enter full-scale pressure value in the 'User Pmax' window.
    • Press 'PROCEED' when ready.
  3. Dialog box to enter output voltage.
    • Read output voltage, Vfs, from the DMM. Use 'Retry' button as needed.
    • Enter the value in the 'Enter Measured Voltage' window.
    • Press 'PROCEED' when ready.
  4. Dialog box to set minimum pressure.
    • Apply minimum pressure on the device and wait until pressure is stabilized.
    • Enter minimum pressure value in the 'User Pmin' window.
    • Press 'PROCEED' when ready.
  5. Dialog box to enter output voltage.
    • Read output voltage, Vo, from the DMM. Use 'Retry' button as needed.
    • Enter the value in the 'Enter Measured Voltage' window.
    • Press 'PROCEED' when ready.
  6. Dialog box.
    • 'Next, you will enter various voltages for Vbridge that will allow the system to set Vbridge to desire value'
    • Press 'OK'.
  7. The next three dialog prompts are to calculate a function for Vb versus FSO DAC code.
    • Dialog box to enter Vb for first FSO DAC setting
      • Read the DMM and enter the value.
      • Press 'PROCEED' when ready.
    • Dialog box to enter Vb for second FSO DAC setting
      • Read the DMM and enter the value.
      • Press 'PROCEED' when ready.
    • Dialog box to enter Vb for third FSO DAC setting
      • Read the DMM and enter the value.
      • Press 'PROCEED' when ready.
  8. The computer will now calculate the ideal bridge voltage, Ideal_Vb1, for the desired span.
  9. The procedure will enter a loop to set Vb = Ideal_Vb1 as the 'Target voltage'. This step will repeat until the value entered is within the allowed error from the 'Target voltage'.
    • Dialog box to enter bridge voltage.
      • Read DMM and enter in the value.
      • Press 'PROCEED' when ready.
  10. Dialog box.
    • 'Next, you will enter various voltages for Vout that will allow the system to set offset to xxxV'. Where, xxx is the desired offset voltage.
    • Press 'OK'.
  11. The next three dialog prompts are to calculate a function for Vout versus OFF DAC code.
    • Dialog box to enter Vout for first OFF DAC setting
      • Read DMM and enter the value.
      • Press 'PROCEED' when ready.
    • Dialog box to enter Vout for second OFF DAC setting
      • Read DMM and enter the value.
      • Press 'PROCEED' when ready.
    • Dialog box to enter Vout for third OFF DAC setting
      • Read DMM and enter the value.
      • Press 'PROCEED' when ready.
  12. The procedure will enter a loop to set the desired offset as the 'Target voltage'. This step will repeat until the value entered is within the allowed error from the 'Target voltage'.
    • Dialog box to enter output voltage.
      • Read DMM and enter in the value.
      • Press 'PROCEED' when ready.
  13. Computer will record values of OFF DAC, FSO DAC, and Temp-Index (read internally) as OFFDAC1, FSODAC1, Temp-Index1.

    Second Temperature
  14. Dialog box to set first temperature point.
    • Set the oven to the second temperature point.
    • Wait until the device has reached temperature stability.
    • Press 'CONTINUE' when ready.
  15. Dialog box to apply maximum pressure.
    • Apply full-scale pressure on the device and wait until pressure is stabilized.
    • Enter full-scale pressure value in the 'User Pmax' window.
    • Press 'PROCEED' when ready.
  16. Dialog box to enter output voltage.
    • Read output voltage, Vfs, and enter value.
    • Press 'PROCEED' when ready.
  17. Dialog box to set minimum pressure.
    • Apply minimum pressure on the device and wait until pressure is stabilized.
    • Enter minimum pressure value in the 'User Pmin' window.
    • Press 'PROCEED' when ready.
  18. Dialog box to enter output voltage.
    • Read output voltage, Vo, and enter value.
    • Press 'PROCEED' when ready.
  19. Dialog box.
    • 'Next, you will enter various voltages for Vbridge that will allow the system to set Vbridge to desire value'
    • Press 'OK'.
  20. The next three dialog prompts are to calculate a function for Vb versus FSO DAC code.
    • Dialog box to enter Vb for first FSO DAC setting
      • Read the DMM and enter the value.
      • Press 'PROCEED' when ready.
    • Dialog box to enter Vb for second FSO DAC setting
      • Read the DMM and enter the value.
      • Press 'PROCEED' when ready.
    • Dialog box to enter Vb for third FSO DAC setting
      • Read the DMM and enter the value.
      • Press 'PROCEED' when ready.
  21. The computer will now calculate the ideal bridge voltage, Ideal_Vb2, for the desired span.
  22. The procedure will enter a loop to set Vb = Ideal_Vb2 as the 'Target voltage'. This step will repeat until the value entered is within the allowed error from the 'Target voltage'.
    • Dialog box to enter bridge voltage.
      • Read DMM and enter in the value.
      • Press 'PROCEED' when ready.
  23. Dialog box.
    • 'Next, you will enter various voltages for Vout that will allow the system to set offset to xxxV'. Where, xxx is the desired offset voltage.
    • Press 'OK'.
  24. The next three dialog prompts are to calculate a function for Vout versus OFF DAC code.
    • Dialog box to enter Vout for first OFF DAC setting
      • Read DMM and enter the value.
      • Press 'PROCEED' when ready.
    • Dialog box to enter Vout for second OFF DAC setting
      • Read DMM and enter the value.
      • Press 'PROCEED' when ready.
    • Dialog box to enter Vout for third OFF DAC setting
      • Read DMM and enter the value.
      • Press 'PROCEED' when ready.
  25. The procedure will enter a loop to set the desired offset as the 'Target voltage'. This step will repeat until the value entered is within the allowed error from the 'Target voltage'.
    • Dialog box to enter output voltage.
      • Read DMM and enter in the value.
      • Press 'PROCEED' when ready.
  26. Computer will record values of OFF DAC, FSO DAC, and Temp-Index (read internally) as OFFDAC2, FSODAC2, Temp-Index2.
  27. Computer will calculate the compensation coefficients based on values of OFFDAC1, FSODAC1, Temp-Index1, OFFDAC2, FSODAC2, and Temp-Index2.

    Writing Flash and File
  28. Dialog box asking for permission to write compensation coefficients to EEPROM.
    • 'You are about to program the flash. Proceed?'
    • Press 'OK'.
  29. Dialog box asking for permission to write compensation coefficients to a file.
    • 'Write Flash to File?'
    • Press 'OK'.
  30. Dialog box asking for a filename for the compensation coefficients.
    • Select a directory and specify a filename.
    • Press 'Save'
  31. Comp52 will terminate.
  32. Verify compensation. See Appendix-B.
Appendix A- Room Temperature Compensation Initial Setup
  1. Configure the EVKIT for digital mode of operation:
    • Remove power from the EVKIT.
    • Connect the 10-pin ribbon cable to the EVKIT.
    • Remove jumper, J4.
    • Install jumper, J2.
    • Apply 5V supply to the EVKIT.
  2. Run the MAX1452.exe program.
  3. Set 'Output Duration' to 'infinite (J3 must be off).
  4. Set 'Output Mux Selector' to 'Bridge Voltage, Vb'.
  5. Press 'Enable OUT' button and wait until it turns off.
  6. Verify that the EVKIT is functional.
    • Change FSO DAC Up and Down by 1000hex counts and observe that the voltage changes accordingly.
  7. Set OTC DAC = FSOTC DAC = 0000hex
  8. Set OFF DAC = 4000hex.
  9. Set FSO DAC = 8000hex.
  10. Set PGA_index = 1.
Procedure
  1. Apply zero pressure, Po
  2. Set 'Output Mux Selector' to 'Bridge Voltage, Vb' and press 'Enable OUT'.
  3. Change FSO DAC until Vb is approximately 2.5V
  4. Read DMM and record as initial_Vb.
  5. Set 'Output Mux Selector' to 'PGA output' and press 'Enable OUT'.
  6. Change IRO DAC until 0.2V< 1.0 V
  7. Set output to approximately 0.5V by changing OFF DAC.
  8. Read DMM and record as uncalibrated Offset, Vo.
  9. Apply full-scale pressure, Pfs.
  10. Read DMM and record as uncalibrated FullScale, Vfs.
  11. Apply zero pressure, Po.
  12. Calculate ideal bridge voltage: Ideal_Vb = initial_Vb × [desired_FSO / (Vfs - Vo)]
  13. If Ideal_Vb > 3.5 V, increase PGA_index and repeat from step-1.
  14. If Ideal_Vb < 1.5 V, decrease PGA_index and repeat from step-1.
  15. Set 'Output Mux Selector' to 'Bridge Voltage, Vb' and press 'Enable OUT'.
  16. Change FSO DAC until Vb = Ideal_Vb.
  17. Set 'Output Mux Selector' to 'PGA output' and press 'Enable OUT'.
  18. Change OFF DAC until Vout = desired_offset.
  19. Write coefficients to EEPROM by pressing on 'Write Flash' button.
  20. You have just completed ambient temperature compensation of your EVKIT.
  21. Verify compensation. See Appendix-B.
NoteDue to incompatibility of data-files (of EEPROM contents) between the MAX1452.exe and Comp52.exe, record values of OFF DAC; OTC DAC; FSO DAC; FSOTC DAC; IRO DAC; and PGA. These values must be entered for two-temperature points compensation in the Comp52.exe program. In the event that you did not record the values at the end of 'room temperature compensation', run the MAX1452.exe and execute 'Update Registers from Flash' and then record the registers values and enter in the Comp52.exe program. Appendix B- Performance Verification Set Device Configuration for Analog Mode of Operation
  1. Remove power from the EVKIT.
  2. Remove 10-pin ribbon cable from the EVKIT.
  3. Remove jumper, J2.
  4. Install jumper, J4.
  5. Apply 5V supply to the EVKIT.
Check Compensated Offset
  1. Apply minimum pressure. Wait until stabilized.
  2. Read the DMM. This is compensated offset voltage, Vo.
Check Full-Scale Output
  1. Apply full-scale pressure. Wait until stabilized.
  2. Read DMM, this is output voltage, Vfs, at full-scale pressure (offset + span).
  3. Subtract Vo from Vfs. The result is compensated span.
References
  • MAX1452 data sheet
  • MAX1452EVKIT software.
  • MAX1452 User Manual (includes MAX1452EVKIT manual).
  • MAX1455 User Manual (includes MAX1455EVKIT manual).

欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/dianzi/2516899.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-08-05
下一篇 2022-08-05

发表评论

登录后才能评论

评论列表(0条)

保存