Hi Ti,
We have successfully executed and understood the PGA306 EVM GUI calibration process.
The calculated values function as expected.
However, there is an issue with the TI-provided "PGAcoeffgen24.dll" as it does not yield the anticipated results.
The calculated values, derived from the same input, differ, and the plot does not display the expected behavior.
This matter is a follow-up to the discussion in this thread:
https://e2e.ti.com/support/sensors-group/sensors/f/sensors-forum/837458/pga305-calculating-coefficients-without-evm-gui
PGA305 GUI - Guided calibration:
We employ the 3-pressure-points and 1-temperature-point method.
Additionally, we simulate the bridge voltage using an external DC power supply.
Reading Padc values and converting them to float:
Bar |
DC voltage on |
Read Padc |
Integer |
/2^22 |
0 |
0.01v |
0x24A57 |
150103 |
0.03578734397 |
50 |
0.06v |
0xEEA45 |
977477 |
0.23304867744 |
100 |
0.11v |
0x1BE0C8 |
1827016 |
0.43559455871 |
Measured/calculated DAC values:
Dac |
Hex |
Integer |
/2^14 |
4 mA |
0x7B2 |
1970 |
0.12023925781 |
12 mA |
0x1714 |
5908 |
0.36059570312 |
20 mA |
0x267B |
9851 |
0.60125732421 |
Calculated coefficients from the wizard:
Parameter |
Hex |
Integer |
/2^22 |
h0 |
0x174817 |
1525783 |
0.36377501487 |
g0 |
0x4D0000 |
5046272 |
1.203125 |
n0 |
0xFB26FA |
-317702 |
-0.07574605941 |
Padc gain |
1 |
||
Padc offset |
0xF0EA71 |
-988559 |
-0.23569083213 |
Validating the coefficients:
D(Padc) = h0 + g0*(Padc + Poffset) + n0*(Padc + Poffset)^2
D(0.03578734397) = 0.1202392117522 ~ 0.12023925781: Good
D(0.23304867744) = 0.3605956437268 ~ 0.36059570312: Good
D(0.43559455871) = 0.601257259766 ~ 0.60125732421: Good
Concluding that the calculated coefficients from the guided calibration are good
PGAcoeffgen24.dll:
LabView 2023 Block Diagram and Front Panel:
Validating the coefficients:
D(Padc) = h0 + g0*(Padc + Poffset) + n0*(Padc + Poffset)^2
D(150103) = -2046.756952413414 != 1970, Wrong
D(977477) = 2954.0007042884827 != 5908, Wrong
D(1827016) = 8088.726546431059 != 9851, Wrong
Concluding that the calculated coefficients are not correct, or i am missing something
Tried many different combinations, but no success:
Any help would be appreciated.
I can also jump on a call if that is easier.