[cali] new BOARD_EISM004/EISM005 calibration data.

This commit is contained in:
Roy_01
2023-11-17 10:15:16 +08:00
parent dd7711dbcd
commit 1df00344cb
@@ -1,8 +1,13 @@
#ifndef EIS_CALI_TABLE
#define EIS_CALI_TABLE
/*
* write CALI_VERSION = 65535, cali DAC
* cali DAC done, write CALI_VERSION = 0, cali ADC
* cali ADC done, update CALI_VERSION += 1
*/
//CALI_VERSION = 0~65535, if add/update cali value, please update this number!
#define CALI_VERSION 9
#define CALI_VERSION 10
#define BOARD_CALI_BOARD
@@ -480,6 +485,422 @@ struct _CaliTable {
};
#elif defined(BOARD_EIS004) // updated on 2023/11/17
{
.DeviceName = "BOARD_e7cd",
.ac_dcbais.up_a = -2822,
.ac_dcbais.up_b = -148181573078,
.ac_dcbais.up_c = 5797199359137047,
.ac_dcbais.down_a = 5084,
.ac_dcbais.down_b = -148584740804,
.ac_dcbais.down_c = 5800605138606901,
.ac_amp.amp_m = 10148527,
.ac_amp.amp_w = 397126,
.phase[0][0].coeff = 141499,
.phase[0][0].offset = -88896922,
.phase[0][1].coeff = 335004,
.phase[0][1].offset = -89911194,
.phase[0][2].coeff = 20413720,
.phase[0][2].offset = -90001281,
.phase[0][3].coeff = 100161620,
.phase[0][3].offset = -90028459,
.phase[1][0].coeff = 135848,
.phase[1][0].offset = -88802178,
.phase[1][1].coeff = 329583,
.phase[1][1].offset = -89910737,
.phase[1][2].coeff = 20411277,
.phase[1][2].offset = -90003243,
.phase[1][3].coeff = 100159251,
.phase[1][3].offset = -90026603,
.phase[2][0].coeff = 144454,
.phase[2][0].offset = -88446644,
.phase[2][1].coeff = 339649,
.phase[2][1].offset = -89910286,
.phase[2][2].coeff = 20436315,
.phase[2][2].offset = -90011904,
.phase[2][3].coeff = 100167098,
.phase[2][3].offset = -90026211,
.phase[3][0].coeff = 139798,
.phase[3][0].offset = -88424533,
.phase[3][1].coeff = 335158,
.phase[3][1].offset = -89915046,
.phase[3][2].coeff = 20433354,
.phase[3][2].offset = -90007681,
.phase[3][3].coeff = 100255793,
.phase[3][3].offset = -90037141,
.phase[4][0].coeff = 136888,
.phase[4][0].offset = -88508743,
.phase[4][1].coeff = 331810,
.phase[4][1].offset = -89908217,
.phase[4][2].coeff = 20408920,
.phase[4][2].offset = -89998985,
.phase[4][3].coeff = 100381776,
.phase[4][3].offset = -90043611,
.phase[5][0].coeff = 135773,
.phase[5][0].offset = -88535825,
.phase[5][1].coeff = 330646,
.phase[5][1].offset = -89908234,
.phase[5][2].coeff = 20407669,
.phase[5][2].offset = -90000808,
.phase[5][3].coeff = 100486664,
.phase[5][3].offset = -90047642,
.phase[6][0].coeff = 133969,
.phase[6][0].offset = -88550827,
.phase[6][1].coeff = 328789,
.phase[6][1].offset = -89907785,
.phase[6][2].coeff = 20409811,
.phase[6][2].offset = -90001258,
.phase[6][3].coeff = 100852544,
.phase[6][3].offset = -90074620,
.phase[7][0].coeff = 134442,
.phase[7][0].offset = -88552911,
.phase[7][1].coeff = 329336,
.phase[7][1].offset = -89915001,
.phase[7][2].coeff = 20380405,
.phase[7][2].offset = -89986196,
.phase[7][3].coeff = 104068268,
.phase[7][3].offset = -90290043,
.hstia_current[0][0].hstia_a = 0,
.hstia_current[0][0].hstia_b = 5720339,
.hstia_current[0][0].rolloff = 459889,
.hstia_current[0][1].hstia_a = 0,
.hstia_current[0][1].hstia_b = 0,
.hstia_current[0][1].rolloff = 270000,
.hstia_current[0][2].hstia_a = 0,
.hstia_current[0][2].hstia_b = 0,
.hstia_current[0][2].rolloff = 270000,
.hstia_current[0][3].hstia_a = 0,
.hstia_current[0][3].hstia_b = 0,
.hstia_current[0][3].rolloff = 270000,
.hstia_current[1][0].hstia_a = 0,
.hstia_current[1][0].hstia_b = 11371550,
.hstia_current[1][0].rolloff = 470279,
.hstia_current[1][1].hstia_a = 0,
.hstia_current[1][1].hstia_b = 0,
.hstia_current[1][1].rolloff = 270000,
.hstia_current[1][2].hstia_a = 0,
.hstia_current[1][2].hstia_b = 0,
.hstia_current[1][2].rolloff = 270000,
.hstia_current[1][3].hstia_a = 0,
.hstia_current[1][3].hstia_b = 0,
.hstia_current[1][3].rolloff = 270000,
.hstia_current[2][0].hstia_a = 0,
.hstia_current[2][0].hstia_b = 22529764,
.hstia_current[2][0].rolloff = 380129,
.hstia_current[2][1].hstia_a = 0,
.hstia_current[2][1].hstia_b = 0,
.hstia_current[2][1].rolloff = 270000,
.hstia_current[2][2].hstia_a = 0,
.hstia_current[2][2].hstia_b = 0,
.hstia_current[2][2].rolloff = 270000,
.hstia_current[2][3].hstia_a = 0,
.hstia_current[2][3].hstia_b = 0,
.hstia_current[2][3].rolloff = 270000,
.hstia_current[3][0].hstia_a = 0,
.hstia_current[3][0].hstia_b = 44465672,
.hstia_current[3][0].rolloff = 422813,
.hstia_current[3][1].hstia_a = 0,
.hstia_current[3][1].hstia_b = 0,
.hstia_current[3][1].rolloff = 270000,
.hstia_current[3][2].hstia_a = 0,
.hstia_current[3][2].hstia_b = 0,
.hstia_current[3][2].rolloff = 270000,
.hstia_current[3][3].hstia_a = 0,
.hstia_current[3][3].hstia_b = 0,
.hstia_current[3][3].rolloff = 270000,
.hstia_current[4][0].hstia_a = 0,
.hstia_current[4][0].hstia_b = 88150738,
.hstia_current[4][0].rolloff = 410970,
.hstia_current[4][1].hstia_a = 0,
.hstia_current[4][1].hstia_b = 0,
.hstia_current[4][1].rolloff = 270000,
.hstia_current[4][2].hstia_a = 0,
.hstia_current[4][2].hstia_b = 0,
.hstia_current[4][2].rolloff = 270000,
.hstia_current[4][3].hstia_a = 0,
.hstia_current[4][3].hstia_b = 0,
.hstia_current[4][3].rolloff = 270000,
.hstia_current[5][0].hstia_a = 0,
.hstia_current[5][0].hstia_b = 178691739,
.hstia_current[5][0].rolloff = 409160,
.hstia_current[5][1].hstia_a = 0,
.hstia_current[5][1].hstia_b = 0,
.hstia_current[5][1].rolloff = 270000,
.hstia_current[5][2].hstia_a = 0,
.hstia_current[5][2].hstia_b = 0,
.hstia_current[5][2].rolloff = 270000,
.hstia_current[5][3].hstia_a = 0,
.hstia_current[5][3].hstia_b = 0,
.hstia_current[5][3].rolloff = 270000,
.hstia_current[6][0].hstia_a = -5,
.hstia_current[6][0].hstia_b = 903414771,
.hstia_current[6][0].rolloff = 405960,
.hstia_current[6][1].hstia_a = 0,
.hstia_current[6][1].hstia_b = 0,
.hstia_current[6][1].rolloff = 270000,
.hstia_current[6][2].hstia_a = 0,
.hstia_current[6][2].hstia_b = 0,
.hstia_current[6][2].rolloff = 270000,
.hstia_current[6][3].hstia_a = 0,
.hstia_current[6][3].hstia_b = 0,
.hstia_current[6][3].rolloff = 270000,
.hstia_current[7][0].hstia_a = -460,
.hstia_current[7][0].hstia_b = 4462634306,
.hstia_current[7][0].rolloff = 406763,
.hstia_current[7][1].hstia_a = 0,
.hstia_current[7][1].hstia_b = 0,
.hstia_current[7][1].rolloff = 270000,
.hstia_current[7][2].hstia_a = 0,
.hstia_current[7][2].hstia_b = 0,
.hstia_current[7][2].rolloff = 270000,
.hstia_current[7][3].hstia_a = 0,
.hstia_current[7][3].hstia_b = 0,
.hstia_current[7][3].rolloff = 270000,
.lptia_current[0].lptia_a = 24,
.lptia_current[0].lptia_b = 52578586,
.lptia_current[0].lptia_c = -175005169,
.lptia_current[1].lptia_a = -6,
.lptia_current[1].lptia_b = 437200409,
.lptia_current[1].lptia_c = -1431645227,
.lptia_current[2].lptia_a = 20,
.lptia_current[2].lptia_b = 3471329687,
.lptia_current[2].lptia_c = -11374861363,
.lptia_current[3].lptia_a = -3644,
.lptia_current[3].lptia_b = 31120820473,
.lptia_current[3].lptia_c = -101565391421,
};
#elif defined(BOARD_EIS005) // updated on 2023/11/17
{
.DeviceName = "BOARD_e7f9",
.ac_dcbais.up_a = -5098,
.ac_dcbais.up_b = -148580646112,
.ac_dcbais.up_c = 5827316297997572,
.ac_dcbais.down_a = -5225,
.ac_dcbais.down_b = -148424966376,
.ac_dcbais.down_c = 5821440470464392,
.ac_amp.amp_m = 10145408,
.ac_amp.amp_w = 396609,
.phase[0][0].coeff = 141506,
.phase[0][0].offset = -88864243,
.phase[0][1].coeff = 335146,
.phase[0][1].offset = -89913030,
.phase[0][2].coeff = 20413338,
.phase[0][2].offset = -90000763,
.phase[0][3].coeff = 100268222,
.phase[0][3].offset = -90031525,
.phase[1][0].coeff = 136426,
.phase[1][0].offset = -88773473,
.phase[1][1].coeff = 330279,
.phase[1][1].offset = -89910985,
.phase[1][2].coeff = 20411382,
.phase[1][2].offset = -90002238,
.phase[1][3].coeff = 100183039,
.phase[1][3].offset = -90028044,
.phase[2][0].coeff = 144815,
.phase[2][0].offset = -88474527,
.phase[2][1].coeff = 339900,
.phase[2][1].offset = -89906327,
.phase[2][2].coeff = 20430879,
.phase[2][2].offset = -90005219,
.phase[2][3].coeff = 100534854,
.phase[2][3].offset = -90049243,
.phase[3][0].coeff = 140614,
.phase[3][0].offset = -88401879,
.phase[3][1].coeff = 335969,
.phase[3][1].offset = -89908435,
.phase[3][2].coeff = 20390644,
.phase[3][2].offset = -89996150,
.phase[3][3].coeff = 100406590,
.phase[3][3].offset = -90042133,
.phase[4][0].coeff = 136781,
.phase[4][0].offset = -88486444,
.phase[4][1].coeff = 331827,
.phase[4][1].offset = -89906950,
.phase[4][2].coeff = 20406951,
.phase[4][2].offset = -89999298,
.phase[4][3].coeff = 100637340,
.phase[4][3].offset = -90056105,
.phase[5][0].coeff = 135651,
.phase[5][0].offset = -88510085,
.phase[5][1].coeff = 330651,
.phase[5][1].offset = -89908884,
.phase[5][2].coeff = 20407981,
.phase[5][2].offset = -89999615,
.phase[5][3].coeff = 100510628,
.phase[5][3].offset = -90051895,
.phase[6][0].coeff = 134496,
.phase[6][0].offset = -88523123,
.phase[6][1].coeff = 329412,
.phase[6][1].offset = -89908306,
.phase[6][2].coeff = 20407517,
.phase[6][2].offset = -89999107,
.phase[6][3].coeff = 101027957,
.phase[6][3].offset = -90084760,
.phase[7][0].coeff = 134527,
.phase[7][0].offset = -88524284,
.phase[7][1].coeff = 329461,
.phase[7][1].offset = -89910003,
.phase[7][2].coeff = 20363743,
.phase[7][2].offset = -89972564,
.phase[7][3].coeff = 104846569,
.phase[7][3].offset = -90337161,
.hstia_current[0][0].hstia_a = 0,
.hstia_current[0][0].hstia_b = 5663763,
.hstia_current[0][0].rolloff = 448748,
.hstia_current[0][1].hstia_a = 0,
.hstia_current[0][1].hstia_b = 0,
.hstia_current[0][1].rolloff = 270000,
.hstia_current[0][2].hstia_a = 0,
.hstia_current[0][2].hstia_b = 0,
.hstia_current[0][2].rolloff = 270000,
.hstia_current[0][3].hstia_a = 0,
.hstia_current[0][3].hstia_b = 0,
.hstia_current[0][3].rolloff = 270000,
.hstia_current[1][0].hstia_a = 0,
.hstia_current[1][0].hstia_b = 11263646,
.hstia_current[1][0].rolloff = 462394,
.hstia_current[1][1].hstia_a = 0,
.hstia_current[1][1].hstia_b = 0,
.hstia_current[1][1].rolloff = 270000,
.hstia_current[1][2].hstia_a = 0,
.hstia_current[1][2].hstia_b = 0,
.hstia_current[1][2].rolloff = 270000,
.hstia_current[1][3].hstia_a = 0,
.hstia_current[1][3].hstia_b = 0,
.hstia_current[1][3].rolloff = 270000,
.hstia_current[2][0].hstia_a = 0,
.hstia_current[2][0].hstia_b = 22302473,
.hstia_current[2][0].rolloff = 371722,
.hstia_current[2][1].hstia_a = 0,
.hstia_current[2][1].hstia_b = 0,
.hstia_current[2][1].rolloff = 270000,
.hstia_current[2][2].hstia_a = 0,
.hstia_current[2][2].hstia_b = 0,
.hstia_current[2][2].rolloff = 270000,
.hstia_current[2][3].hstia_a = 0,
.hstia_current[2][3].hstia_b = 0,
.hstia_current[2][3].rolloff = 270000,
.hstia_current[3][0].hstia_a = 0,
.hstia_current[3][0].hstia_b = 44026508,
.hstia_current[3][0].rolloff = 416517,
.hstia_current[3][1].hstia_a = 0,
.hstia_current[3][1].hstia_b = 0,
.hstia_current[3][1].rolloff = 270000,
.hstia_current[3][2].hstia_a = 0,
.hstia_current[3][2].hstia_b = 0,
.hstia_current[3][2].rolloff = 270000,
.hstia_current[3][3].hstia_a = 0,
.hstia_current[3][3].hstia_b = 0,
.hstia_current[3][3].rolloff = 270000,
.hstia_current[4][0].hstia_a = 0,
.hstia_current[4][0].hstia_b = 87346969,
.hstia_current[4][0].rolloff = 405975,
.hstia_current[4][1].hstia_a = 0,
.hstia_current[4][1].hstia_b = 0,
.hstia_current[4][1].rolloff = 270000,
.hstia_current[4][2].hstia_a = 0,
.hstia_current[4][2].hstia_b = 0,
.hstia_current[4][2].rolloff = 270000,
.hstia_current[4][3].hstia_a = 0,
.hstia_current[4][3].hstia_b = 0,
.hstia_current[4][3].rolloff = 270000,
.hstia_current[5][0].hstia_a = 0,
.hstia_current[5][0].hstia_b = 176607237,
.hstia_current[5][0].rolloff = 404554,
.hstia_current[5][1].hstia_a = 0,
.hstia_current[5][1].hstia_b = 0,
.hstia_current[5][1].rolloff = 270000,
.hstia_current[5][2].hstia_a = 0,
.hstia_current[5][2].hstia_b = 0,
.hstia_current[5][2].rolloff = 270000,
.hstia_current[5][3].hstia_a = 0,
.hstia_current[5][3].hstia_b = 0,
.hstia_current[5][3].rolloff = 270000,
.hstia_current[6][0].hstia_a = 18,
.hstia_current[6][0].hstia_b = 898309178,
.hstia_current[6][0].rolloff = 401731,
.hstia_current[6][1].hstia_a = 0,
.hstia_current[6][1].hstia_b = 0,
.hstia_current[6][1].rolloff = 270000,
.hstia_current[6][2].hstia_a = 0,
.hstia_current[6][2].hstia_b = 0,
.hstia_current[6][2].rolloff = 270000,
.hstia_current[6][3].hstia_a = 0,
.hstia_current[6][3].hstia_b = 0,
.hstia_current[6][3].rolloff = 270000,
.hstia_current[7][0].hstia_a = 55,
.hstia_current[7][0].hstia_b = 4422929742,
.hstia_current[7][0].rolloff = 402723,
.hstia_current[7][1].hstia_a = 0,
.hstia_current[7][1].hstia_b = 0,
.hstia_current[7][1].rolloff = 270000,
.hstia_current[7][2].hstia_a = 0,
.hstia_current[7][2].hstia_b = 0,
.hstia_current[7][2].rolloff = 270000,
.hstia_current[7][3].hstia_a = 0,
.hstia_current[7][3].hstia_b = 0,
.hstia_current[7][3].rolloff = 270000,
.lptia_current[0].lptia_a = 18,
.lptia_current[0].lptia_b = 52807017,
.lptia_current[0].lptia_c = -175054528,
.lptia_current[1].lptia_a = 0,
.lptia_current[1].lptia_b = 436068961,
.lptia_current[1].lptia_c = -1429498283,
.lptia_current[2].lptia_a = 3,
.lptia_current[2].lptia_b = 3466602662,
.lptia_current[2].lptia_c = -11362197222,
.lptia_current[3].lptia_a = -2057,
.lptia_current[3].lptia_b = 30913495149,
.lptia_current[3].lptia_c = -101116034278,
};
#elif defined(BOARD_EIS006) // updated on 2023/10/02
{
.DeviceName = "BOARD_e85c",