• R/O
  • SSH
  • HTTPS

Commit

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

PJSC(Pump Jet Solenoid Controller)はArduinoを使用したバイク用燃料噴射コントローラです。このプロジェクトは、オープンソースECUプロジェクト『Speeduino』をベースにしています。


Commit MetaInfo

Revision46 (tree)
Time2019-02-22 10:32:00
Authormaharu

Log Message

Prepare to extend Barometric correction.

Change Summary

Incremental Difference

--- branches/Ver1.00_base/reference/PJSC.ini (revision 45)
+++ branches/Ver1.00_base/reference/PJSC.ini (revision 46)
@@ -270,7 +270,8 @@
270270 engineType = bits, U08, 38, [0:0], "Even fire", "Odd fire"
271271 flexEnabled = bits, U08, 38, [1:1], "Off", "On"
272272 unused2_38c = bits, U08, 38, [2:2], "Speed Density", "Alpha-N"
273- baroCorr = bits, U08, 38, [3:3], "Off", "On"
273+;[PJSC v1.10] baroCorr = bits, U08, 38, [3:3], "Off", "On"
274+ unused2_32d = bits, U08, 38, [3:3], "Off", "On"
274275 injLayout = bits, U08, 38, [4:5], "Paired", "Semi-Sequential", "INVALID", "Sequential"
275276 perToothIgn = bits, U08, 38, [6:6], "No", "Yes"
276277 dfcoEnabled = bits, U08, 38, [7:7], "Off", "On"
@@ -354,9 +355,12 @@
354355 testinjcnt = scalar, U16, 98, "", 1, 0, 0, 65535, 0, noLocalUpdate
355356 muxout1selection = bits, U08, 100, [0:3], "Disable", "IDLE control", "Thermo Fan control", "Launch control", "Fuel pump control", "Boost control", "VVT control", "Tach output", "INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID"
356357 muxout2selection = bits, U08, 100, [4:7], "Disable", "IDLE control", "Thermo Fan control", "Launch control", "Fuel pump control", "Boost control", "VVT control", "Tach output", "INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID","INVALID"
357- table3Usage = bits, U08, 101, [0:0], "Ignition", "Fuel" ;[PJSC v1.10]
358- unused2-101 = bits, U08, 101, [1:7] ;[PJSC v1.10]
359- unused2-102 = array, U08, 102, [26], "%", 1.0, 0.0, 0.0, 255, 0 ;[PJSC v1.10]
358+ baroDenBins = array, U08, 101, [9], "kPa", 1.0, 0.0, 0.0, 255.0, 0 ;[PJSC v1.10] Bins for the Barometric density correction curve
359+ baroDenRates = array, U08, 110, [9], "%", 1.0, 0.0, 0.0, 255.0, 0 ;[PJSC v1.10] Values for the \Barometric density correction curve
360+ baroCorr = bits, U08, 119, [0:1], "Off", "Multiply MAP raio", "Use Baro correction table", "INVALID" ;[PJSC v1.10]
361+ table3Usage = bits, U08, 119, [2:2], "Ignition", "Fuel" ;[PJSC v1.10]
362+ unused2_119 = bits, U08, 119, [3:7] ;[PJSC v1.10]
363+ unused2_120 = array, U08, 120, [8], "%", 1.0, 0.0, 0.0, 255, 0 ;[PJSC v1.10]
360364
361365
362366 ;Page 2 is the fuel map and axis bins only
@@ -1338,6 +1342,7 @@
13381342 subMenu = triggerSettings, "Trigger Setup"
13391343 ;subMenu = OLED, "OLED Setup"
13401344 subMenu = airdensity_curve, "IAT Density"
1345+ subMenu = barodensity_curve, "Baro Density", { baroCorr == 2 } ;[PJSC v1.10]
13411346 subMenu = reset_control, "Reset Control"
13421347
13431348
@@ -3224,6 +3229,15 @@
32243229 yBins = knock_window_dur
32253230 size = 400, 200
32263231
3232+; Correction curve for air Density vs Barometric pressure
3233+ curve = barodensity_curve, "Barometric density correction"
3234+ columnLabel = "Barometric pressure", "Fuel Amount"
3235+ xAxis = 0, 110, 9
3236+ yAxis = 0, 255, 9
3237+ xBins = baroDenBins, baro
3238+ yBins = baroDenRates
3239+
3240+
32273241 [TableEditor]
32283242 ; table_id, map3d_id, "title", page
32293243 table = veTable1Tbl, veTable1Map, "VE Table", 1
--- branches/Ver1.00_base/speeduino/globals.h (revision 45)
+++ branches/Ver1.00_base/speeduino/globals.h (revision 46)
@@ -574,7 +574,8 @@
574574 byte engineType : 1;
575575 byte flexEnabled : 1;
576576 byte unused2_38c : 1; //"Speed Density", "Alpha-N"
577- byte baroCorr : 1;
577+//[PJSC v1.10] byte baroCorr : 1;
578+ byte unused2_38d : 1; //[PJSC v1.10]
578579 byte injLayout : 2;
579580 byte perToothIgn : 1;
580581 byte dfcoEnabled : 1; //Whether or not DFCO is turned on
@@ -648,9 +649,12 @@
648649 uint16_t testinjcnt; // |
649650 byte muxout1Selection: 4; // | MUX output1 selection
650651 byte muxout2Selection: 4; // | MUX output2 selection
652+ byte baroDenBins[9]; // | For Barometric extend correnction
653+ byte baroDenRates[9]; // | For Barometric extend correnction
654+ byte baroCorr : 2; // | For Barometric extend correnction
651655 byte table3Usage: 1; // | For switching usage of 3rd table Ignition/Fuel
652- byte unused1_101: 7; // V
653- byte unused1_102[26]; //[PJSC v1.10] For test mode
656+ byte unused2_119: 5; // V
657+ byte unused2_120[8]; //[PJSC v1.10] For test mode
654658
655659 #if defined(CORE_AVR)
656660 };