LAPTOP-EG88H5BE\86151 2 rokov pred
rodič
commit
e64b88fc46

+ 1 - 1
inc/EmbeddedCoder_inc/BCUDisp.h

@@ -179,4 +179,4 @@ extern boolean_T pimv_flg_inval[cmnc_num_cellUNumMax];
 extern uint16_T test_cellCap[cmnc_num_cellUNumMax];
 extern uint16_T test_countEn;
 extern int16_T  test_deltU;
-extern int16_T test_data[200][3];
+

+ 0 - 201
src/EmbeddedCoder_src/BCUDisp.c

@@ -176,207 +176,6 @@ boolean_T  pimv_flg_inval[cmnc_num_cellUNumMax];
 
 uint16_T test_cellCap[cmnc_num_cellUNumMax];
 uint16_T test_countEn;
-int16_T  test_deltU;
-int16_T test_data[200][3]={{0,4141,4144},
-{0,4141,4144},
-{0,4141,4144},
-{0,4141,4144},
-{0,4141,4144},
-{-135,4077,4115},
-{-135,4077,4115},
-{-40,4125,4136},
-{-189,4070,4113},
-{-189,4070,4113},
-{-123,4095,4123},
-{-187,4094,4115},
-{-4,4136,4140},
-{-84,4108,4128},
-{-84,4108,4128},
-{-134,4092,4119},
-{-6,4134,4139},
-{-6,4134,4139},
-{-175,4078,4112},
-{-57,4114,4131},
-{-57,4114,4131},
-{-74,4110,4129},
-{-107,4102,4121},
-{-99,4106,4128},
-{-44,4115,4132},
-{-44,4115,4132},
-{-51,4100,4122},
-{-51,4100,4122},
-{-85,4109,4124},
-{-64,4106,4128},
-{-109,4093,4123},
-{-55,4125,4127},
-{-90,4082,4113},
-{-90,4082,4113},
-{-140,4083,4116},
-{0,4135,4138},
-{-239,4056,4102},
-{0,4134,4137},
-{0,4134,4137},
-{-16,4131,4136},
-{56,4155,4147},
-{56,4155,4147},
-{16,4146,4143},
-{0,4136,4139},
-{0,4136,4139},
-{0,4136,4139},
-{-2,4136,4140},
-{7,4139,4141},
-{2,4138,4140},
-{2,4138,4140},
-{-146,4092,4118},
-{-272,4045,4099},
-{-272,4045,4099},
-{-272,4045,4099},
-{-159,4070,4108},
-{-192,4065,4107},
-{-199,4064,4106},
-{-199,4064,4106},
-{-175,4091,4106},
-{62,4132,4146},
-{62,4132,4146},
-{62,4132,4146},
-{-241,4051,4098},
-{-241,4051,4098},
-{-217,4056,4101},
-{-144,4074,4113},
-{34,4158,4146},
-{-122,4091,4116},
-{-122,4091,4116},
-{-102,4103,4115},
-{-140,4088,4109},
-{-138,4096,4117},
-{0,4130,4134},
-{0,4131,4134},
-{-233,4059,4101},
-{0,4132,4134},
-{0,4132,4134},
-{-96,4092,4121},
-{-166,4076,4110},
-{-166,4076,4110},
-{-112,4086,4119},
-{-9,4127,4133},
-{-164,4074,4111},
-{-81,4103,4121},
-{-81,4103,4121},
-{-82,4099,4121},
-{-62,4127,4132},
-{-62,4127,4132},
-{72,4155,4144},
-{0,4131,4134},
-{0,4131,4134},
-{-112,4069,4123},
-{-112,4069,4123},
-{-87,4109,4120},
-{-158,4135,4111},
-{-158,4135,4111},
-{36,4144,4141},
-{-149,4080,4112},
-{46,4146,4141},
-{-170,4073,4106},
-{-170,4073,4106},
-{-167,4071,4108},
-{65,4152,4143},
-{65,4152,4143},
-{-177,4067,4107},
-{-115,4079,4115},
-{-115,4079,4115},
-{-182,4067,4108},
-{-182,4067,4108},
-{-150,4072,4112},
-{-136,4066,4109},
-{-136,4066,4109},
-{-94,4083,4117},
-{-97,4092,4118},
-{-97,4092,4118},
-{-97,4092,4118},
-{-98,4093,4116},
-{-98,4093,4116},
-{24,4111,4124},
-{24,4111,4124},
-{-40,4089,4117},
-{-64,4106,4120},
-{-64,4106,4120},
-{-6,4128,4130},
-{-6,4128,4130},
-{-6,4126,4131},
-{-150,4082,4109},
-{-150,4082,4109},
-{-120,4089,4115},
-{-96,4091,4117},
-{-96,4091,4117},
-{-96,4091,4117},
-{-52,4112,4122},
-{-49,4115,4123},
-{-55,4111,4121},
-{-55,4111,4121},
-{-49,4115,4123},
-{-36,4115,4126},
-{-36,4115,4126},
-{-36,4115,4127},
-{-6,4126,4131},
-{-6,4126,4131},
-{66,4153,4143},
-{66,4153,4143},
-{-115,4075,4111},
-{61,4151,4143},
-{61,4151,4143},
-{54,4148,4142},
-{47,4126,4119},
-{47,4126,4119},
-{-82,4117,4129},
-{-51,4108,4122},
-{-138,4094,4118},
-{-133,4091,4111},
-{-133,4091,4111},
-{-154,4077,4109},
-{-63,4094,4123},
-{-63,4094,4123},
-{-125,4085,4109},
-{-125,4085,4109},
-{-133,4089,4110},
-{-49,4114,4122},
-{-49,4114,4122},
-{-38,4114,4127},
-{-24,4115,4127},
-{-24,4115,4127},
-{0,4128,4131},
-{0,4128,4132},
-{60,4150,4141},
-{-198,4061,4102},
-{-198,4061,4102},
-{-196,4057,4103},
-{-149,4076,4108},
-{-149,4076,4108},
-{-149,4076,4108},
-{12,4093,4127},
-{12,4093,4127},
-{-202,4053,4103},
-{-126,4083,4111},
-{-32,4115,4126},
-{52,4152,4141},
-{52,4152,4141},
-{0,4127,4130},
-{56,4147,4140},
-{56,4147,4140},
-{48,4141,4139},
-{0,4127,4130},
-{0,4127,4130},
-{-31,4148,4114},
-{-31,4148,4114},
-{-133,4077,4109},
-{-47,4114,4122},
-{-47,4114,4122},
-{-37,4104,4125},
-{-67,4122,4121},
-{-46,4107,4124},
-{-46,4107,4124},
-{-46,4107,4124},
-{-46,4107,4124},
-{0,4128,4131}};
 
 
 

+ 0 - 9
src/EmbeddedCoder_src/CDM.c

@@ -46,15 +46,6 @@ void CDM(void)
 		   cdmv_flg_inval[i] = 1;
 	   }
    }
-
-   sfmd_I_curr =test_data[cdmn_num_Cnt][0];
-   sfmv_V_cellU[0] =test_data[cdmn_num_Cnt][1];
-   sfmv_V_cellU[1] =test_data[cdmn_num_Cnt][2];
-   ihd_st_workStat =1;
-
-
-
-
    //记忆区间-----------------------------------
    	if (pimd_flg_firstRun)
     {

+ 0 - 1
src/EmbeddedCoder_src/PIM.c

@@ -102,7 +102,6 @@ void PIM(void)
 		{
              pimn_flg_inval = 1;
 		}
-		test_deltU = (int16_T)(temp * 1000);
         for(i = 0;i < 4;i++)
         {
             theta[i] = theta[i] + K[i] * temp;