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.

CCS/PGA900: how to generate parameter(h0,h1,h2;g0,h1,g2;n0,n1,n2) in PGA900

Part Number: PGA900
Other Parts Discussed in Thread: PGA305, PGA300

Tool/software: Code Composer Studio

How to obtain parameter(h0,h1,h2;g0,h1,g2;n0,n1,n2)of the second-order TC compensation on the file pga900_app.c;
Such parameter is present in EEPROM_Default_Tcoeff just as an example routine,
In the sample compensation algorithm in practical application,I need calculate those parameter by curve fitting ;
How to curve fitting In the table as following?

 Pressure/temperature
0(MPA) 10(MPA) 20(MPA) 30(MPA) 40(MPA) 50(MPA)
3478 18.08.30        27.5℃ 0.440mv(output) 6.675mv 12.903 19.122 25.333  
0.430 6.656 12.870 19.072 25.269 31.457
0.429 6.652 12.865 19.072 25.268  
0.418 6.620 12.812 18.994 25.168 31.289
0.419 6.629 12.829 19.019 25.203  
0.417 6.611 12.794 18.968 25.133 31.289
18.08.30        100℃ 0.417 6.608 12.791 18.965 25.132  
0.414 6.589 12.755 18.910 25.057 31.196
0.416 6.599 12.773 18.938 25.095 31.196
18.08.30        110℃ 0.414 6.585 12.752 18.910 25.053  
0.413 6.569 12.714 18.849 24.975 31.092
           
18.08.30        120℃ 0.410 6.565 12.710 18.846 24.973  
0.410 6.567 12.713 18.847 24.973 31.091
0.410 6.566 12.712 18.847 24.973 31.091
18.08.30        130℃ 0.411 6.563 12.707 18.845 24.972  
0.412 6.566 12.708 18.847 24.972 31.09
0.412 6.565 12.708 18.846 24.972 31.09
18.08.30        140℃ 0.411 6.562 12.707 18.843 24.970  
0.403 6.538 12.662 18.774 24.880 30.974
0.407 6.550 12.685 18.809 24.925 30.974
18.08.30        150℃ 0.398 6.530 12.654 18.771 24.876  
0.373 6.484 12.586 18.679 24.759 30.830
0.367 6.473 12.576 18.669 24.753  
0.370 6.479 12.581 18.674 24.756 30.83
           
  • Hello,

    Moving forward, support for firmware and compensation algorithm development requests for the PGA900 will be limited to the available collateral on www.ti.com. You can currently find software development guides on the PGA900 product page under the technical documents tab here: www.ti.com/.../technicaldocuments.

    Full support will continue to be available for the fixed function devices from the product family such as the PGA300 and PGA305. Please check to see if these devices may fit your application’s needs.

    Regards,
  • I sorry to say that I dont find the support on the PGA300.
    Can you give me the link of the accurate documents.


    My point is that as following:
    1: get different coefficient (input:ADC of pressure output : actual pressure ) on different temperature;(A1,B1,C1; A1,C1,C1; .......... An,B1,C1; )
    2:get different coefficient (input:ADC of temperature output : A) ; get (h0,h1,h2)
    3:get different coefficient (input:ADC of temperature output : B) ; get (g0,g1,g2)
    4: get different coefficient (input:ADC of temperature output : C) ; get (n0,n1,n2)


    NOTE: A1....An : constant coefficient
    B1....Bn :First power Coefficients
    C1....Cn :Quadratic Coefficients

    Is that ture?
  • All of the available information for the PGA300 is on the PGA300 product page.

    The software development guides linked above on the PGA900 technical documents page have information regarding compensation algorithms. For example: www.ti.com/.../sldu013

    Regards,