PJSC(Pump Jet Solenoid Controller)はArduinoを使用したバイク用燃料噴射コントローラです。このプロジェクトは、オープンソースECUプロジェクト『Speeduino』をベースにしています。
Prepare to extend Barometric correction.
| @@ -270,7 +270,8 @@ | ||
| 270 | 270 | engineType = bits, U08, 38, [0:0], "Even fire", "Odd fire" |
| 271 | 271 | flexEnabled = bits, U08, 38, [1:1], "Off", "On" |
| 272 | 272 | 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" | |
| 274 | 275 | injLayout = bits, U08, 38, [4:5], "Paired", "Semi-Sequential", "INVALID", "Sequential" |
| 275 | 276 | perToothIgn = bits, U08, 38, [6:6], "No", "Yes" |
| 276 | 277 | dfcoEnabled = bits, U08, 38, [7:7], "Off", "On" |
| @@ -354,9 +355,12 @@ | ||
| 354 | 355 | testinjcnt = scalar, U16, 98, "", 1, 0, 0, 65535, 0, noLocalUpdate |
| 355 | 356 | 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" |
| 356 | 357 | 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] | |
| 360 | 364 | |
| 361 | 365 | |
| 362 | 366 | ;Page 2 is the fuel map and axis bins only |
| @@ -1338,6 +1342,7 @@ | ||
| 1338 | 1342 | subMenu = triggerSettings, "Trigger Setup" |
| 1339 | 1343 | ;subMenu = OLED, "OLED Setup" |
| 1340 | 1344 | subMenu = airdensity_curve, "IAT Density" |
| 1345 | + subMenu = barodensity_curve, "Baro Density", { baroCorr == 2 } ;[PJSC v1.10] | |
| 1341 | 1346 | subMenu = reset_control, "Reset Control" |
| 1342 | 1347 | |
| 1343 | 1348 |
| @@ -3224,6 +3229,15 @@ | ||
| 3224 | 3229 | yBins = knock_window_dur |
| 3225 | 3230 | size = 400, 200 |
| 3226 | 3231 | |
| 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 | + | |
| 3227 | 3241 | [TableEditor] |
| 3228 | 3242 | ; table_id, map3d_id, "title", page |
| 3229 | 3243 | table = veTable1Tbl, veTable1Map, "VE Table", 1 |
| @@ -574,7 +574,8 @@ | ||
| 574 | 574 | byte engineType : 1; |
| 575 | 575 | byte flexEnabled : 1; |
| 576 | 576 | 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] | |
| 578 | 579 | byte injLayout : 2; |
| 579 | 580 | byte perToothIgn : 1; |
| 580 | 581 | byte dfcoEnabled : 1; //Whether or not DFCO is turned on |
| @@ -648,9 +649,12 @@ | ||
| 648 | 649 | uint16_t testinjcnt; // | |
| 649 | 650 | byte muxout1Selection: 4; // | MUX output1 selection |
| 650 | 651 | 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 | |
| 651 | 655 | 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 | |
| 654 | 658 | |
| 655 | 659 | #if defined(CORE_AVR) |
| 656 | 660 | }; |