KIT Solar Car Project / BLDCmotorDriver2021_ver1

Files at this revision

API Documentation at this revision

Comitter:
gn_mikasera_008
Date:
Sat Sep 10 03:35:34 2022 +0000
Parent:
10:8bb64d5e0b29
Commit message:
test

Changed in this revision

BLDCmotorDriver.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/BLDCmotorDriver.cpp	Mon May 30 08:02:01 2022 +0000
+++ b/BLDCmotorDriver.cpp	Sat Sep 10 03:35:34 2022 +0000
@@ -62,8 +62,8 @@
     speed = rpm * 0.10518;                  //3750とか0.010518は、excelで計算している。ファイル名「」
     //加速の制限
     //dc_limit1 = (0.0063*speed*speed + 0.8107*speed + 20.241) / 100;      //加速側制限.elsxの式(黄色) //制御確認用モータ用の加速調整(電源電圧13Vにする)  //そのまま車載モータにも使えるかも実際に確認する必要あり。
-    //dc_limit1 = (0.0078*speed*speed + 0.8563*speed + 20.488) / 100;       //加速側制限.elsxの式(オレンジ色) これよりも強くする
-    dc_limit1 = (0.0069*speed*speed + 1.1881*speed + 19.388) / 100;       //加速側制限.elsxの式(灰色) 
+    dc_limit1 = (0.0071*speed*speed + 1.3383*speed + 20.124) / 100;       //加速側制限.elsxの式(オレンジ色) これよりも強くする
+    //dc_limit1 = (0.0069*speed*speed + 1.1881*speed + 19.388) / 100;       //加速側制限.elsxの式(灰色) 
 
                                                                                                                               //70km/hでduty制限なくなる(dc_limit>=100)
     if( tempDutyCycle > dc_limit1 ){ tempDutyCycle = dc_limit1; }       //加速制限の式で求めた制限値を超えている場合、その値を代入する