This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Multi-Cal EEPROM data saving problem

Other Parts Discussed in Thread: PGA309

Hello, Kay. I'm Daekeon.

I wrote that 3-points(-10, 25, 80 degrees) calibration data didn't save EEPROM properly.

I attach the Cal-Result file and saved calibration data file to EEPROM. The whole calibrations are sucessful so Cal-Result is proper.

As you know when seeing the EEPROM data file, It didn't save properly.  Why was this problem happened?

Also, i wonder if my calibration Model file and Pre-Cal file are right. Please check them.(refer to attached files)

Finally, I want to know my DMM Scripts files contained Iout file and Vout file are proper. 

In DMM Scripts, Are the pause and num of stopbits values very important? When i changed them, Calibration couldn't work it.

Can you recommend the DMM Scripts setting to calibrate ??

Again, Thank you very much for your cooperation^^

TPS30_Vout_MN_0_SN_1057to1072_DT_5115.xls   

[EEPROM Data]
Addr0 = 21577
Addr2 = 0
Addr4 = 0
Addr6 = 1408
Addr8 = 1050
Addr10 = 0
Addr12 = 5172
Addr14 = 36328
Addr16 = 0
Addr18 = 33788
Addr20 = 34188
Addr22 = 32767
Addr24 = 0
Addr26 = 30328
Addr28 = 65535
Addr30 = 65535
Addr32 = 65535
Addr34 = 65535
Addr36 = 65535
Addr38 = 65535
Addr40 = 65535
Addr42 = 65535
Addr44 = 65535
Addr46 = 65535
Addr48 = 65535
Addr50 = 65535
Addr52 = 65535
Addr54 = 65535
Addr56 = 65535
Addr58 = 65535
Addr60 = 65535
Addr62 = 65535
Addr64 = 65535
Addr66 = 65535
Addr68 = 65535
Addr70 = 65535
Addr72 = 65535
Addr74 = 65535
Addr76 = 65535
Addr78 = 65535
Addr80 = 65535
Addr82 = 65535
Addr84 = 65535
Addr86 = 65535
Addr88 = 65535
Addr90 = 65535
Addr92 = 65535
Addr94 = 65535
Addr96 = 65535
Addr98 = 65535
Addr100 = 65535
Addr102 = 65535
Addr104 = 65535
Addr106 = 65535
Addr108 = 65535
Addr110 = 65535
Addr112 = 65535
Addr114 = 65535
Addr116 = 65535
Addr118 = 65535
Addr120 = 65535
Addr122 = 65535
     
[Filenames]
Pre-Cal Filename = "TPS30_Iout_-10,25,80_Vref.txt"
DMM Script Filename = "Current_34401_rs232.txt"

[Misc]
Comments = ""
Serial No = 1176    
Model No = 0    
Model ID = "TPS30_Iout"
Mux Size = 16    
Error Tolerance = 0.300000    
Samples to Average = 2.000000    
   
[Filenames]
Pre-Cal Filename = "TPS30_Vout_-10,25,80_Vref.txt"
DMM Script Filename = "Voltage_34401_rs232.txt"

[Misc]
Comments = ""
Serial No = 1193    
Model No = 1    
Model ID = "TPS30_Vout"
Mux Size = 16    
Error Tolerance = 0.300000    
Samples to Average = 2.000000    
 
[PGA309_Settings]
Numb Reg = 3    
Poly Order = 1    
Output Mode = 2    
Vout_High_Target = 3.949440    
Vout_Module_High_Target = 5.000000    
Vout_Module_Low_Target = 1.000000    
Iout_High_Target = 0.020000    
Iout_Low_Target = 0.004000    
Vout_Low_Target = 0.429440    
Vs = 5.000000    
Vref = 4.096000    
Calibrate Nonlin = TRUE    
Calibrate Coarse Offset = TRUE    
Reg0 = 0    
Reg1 = 0    
Reg2 = 0    
Reg3 = 1280    
Reg4 = 0    
Reg5 = 0    
Reg6 = 5172    
Reg7 = 0    
Reg8 = 0    
Temp0 = -10.000000    
Temp1 = 25.000000    
Temp2 = 80.000000    
XTR_R1 = 11000.000000    
XTR_R2 = 11000.000000    
XTR_R_ref = 200000.000000    
XTR_Vref = 4.096000    
Secondary Output Stage = FALSE    
Second Stage Gain = 1.000000    
Second Stage Offset = 0.000000    
   
[PGA309_Settings]
Numb Reg = 3
Poly Order = 1
Output Mode = 0
Vout_High_Target = 5.000000
Vout_Module_High_Target = 5.000000
Vout_Module_Low_Target = 1.000000
Iout_High_Target = 0.000000
Iout_Low_Target = 0.000000
Vout_Low_Target = 1.000000
Vs = 5.000000
Vref = 4.096000
Calibrate Nonlin = TRUE
Calibrate Coarse Offset = TRUE
Reg0 = 0
Reg1 = 0
Reg2 = 0
Reg3 = 1280
Reg4 = 0
Reg5 = 0
Reg6 = 5172
Reg7 = 0
Reg8 = 0
Temp0 = -10.000000
Temp1 = 25.000000
Temp2 = 80.000000
Secondary Output Stage = FALSE
Second Stage Gain = 1.000000
Second Stage Offset = 0.000000

  • I let you know files kinds. '.xls' file is Cal-Result and 'TPS30 Iout(Vout) -10,25,80 Vref 16' file is Model file.
    Also, the last two files are Pre-Cal file.
    The picture is is DMM Scripts.
  • Daekeon,

    Thank you for your detailed problem description.  Below is a step-by-step debug recommendation.  Please look through this and let me know if it helps.

     Debug Process:

    1. First and most important, you need to make sure that you are communicating with the DMM.
      1. Your configuration file for current and voltage appear to be correct.
      2. When you run a calibration, do you can watch the DMM make readings, and the number should be displayed in the software also.  If you see the same numbers on the DMM as in the software, than the communications is working.
      3. See attached PDF to see where on the software you should see the DMM values show up.
      4. Another way to know if you are communicating is the DMM mode.  Put the DMM in ohms mode before a calibration.  It should automatically switch to voltage or current mode according to your calibration.
      5. The calibration cannot function until this communications is properly established.
      6. Based on your data log Excel file it looks like you are communicating with the DMM.  You have some passing calibrations.
      7.  I believe that you have a problem in your pre-cal file.  The output high target cannot be 5.0V  The power supply on the PGA309 is 5.0V, so the output cannot swing all the way to 5.0V.  I suggest that you use 4.5V as a maximum output voltage.  According to the data sheet on page 4, the “Output Voltage Range” can be 0.1V to 4.9V with a 5V supply.  This could potentially be the source of the problem.  See attached.
    2. I have set up a multi-cal system in my lab.  I would like to replicate your conditions to help you debug.  Let’s try to simplify the problem.
      1. Let’s start with the voltage module.  After we get this working we can move to the current module.
      2. Send me the schematic of your module if possible.  I want to make sure that there is nothing unusual in the hardware.
      3. Make sure you change the targets to the linear output range: 0.5V to 4.5V is a typical choice.  The specification limits are 0.1V to 4.9V on a 5.0V supply.  Please just use 0.5V to 4.5V for the experiments.  We can change this later.
      4. Let’s just an 8 channel system (master only).  We can expand later.
      5. Watch each calibration temperature.  At the end of each temperature the passing module outputs should be at 0.5V minimum and 4.5V maximum.
      6. At the end of the calibration, you can use the “Test and Debug” tab in the software to look at any channel.  Look at the sensor output for passing modules. See attached.
      7. Let me know your sensor outputs over temperature.  I can emulate your sensor outputs and do the calibration in my lab.  See attached example.
      8. How do the failing modules act?  Does the output voltage stay at zero volts?  Does it change but not meet your accuracy specification?

     Multi-cal-issues-1-9-2016.pdf