PJSC(Pump Jet Solenoid Controller)はArduinoを使用したバイク用燃料噴射コントローラです。このプロジェクトは、オープンソースECUプロジェクト『Speeduino』をベースにしています。
Prepare Barometric correnction.
| @@ -270,8 +270,7 @@ | ||
| 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 | -;[PJSC v1.10] baroCorr = bits, U08, 38, [3:3], "Off", "On" | |
| 274 | - unused2_32d = bits, U08, 38, [3:3], "Off", "On" | |
| 273 | + baroCorr = bits, U08, 38, [3:3], "Off", "On" | |
| 275 | 274 | injLayout = bits, U08, 38, [4:5], "Paired", "Semi-Sequential", "INVALID", "Sequential" |
| 276 | 275 | perToothIgn = bits, U08, 38, [6:6], "No", "Yes" |
| 277 | 276 | dfcoEnabled = bits, U08, 38, [7:7], "Off", "On" |
| @@ -357,9 +356,8 @@ | ||
| 357 | 356 | 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" |
| 358 | 357 | 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 | 358 | 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] | |
| 359 | + table3Usage = bits, U08, 119, [0:0], "Ignition", "Fuel" ;[PJSC v1.10] | |
| 360 | + unused2_119 = bits, U08, 119, [1:7] ;[PJSC v1.10] | |
| 363 | 361 | unused2_120 = array, U08, 120, [8], "%", 1.0, 0.0, 0.0, 255, 0 ;[PJSC v1.10] |
| 364 | 362 | |
| 365 | 363 |
| @@ -1342,7 +1340,7 @@ | ||
| 1342 | 1340 | subMenu = triggerSettings, "Trigger Setup" |
| 1343 | 1341 | ;subMenu = OLED, "OLED Setup" |
| 1344 | 1342 | subMenu = airdensity_curve, "IAT Density" |
| 1345 | - subMenu = barodensity_curve, "Baro Density", { baroCorr == 2 } ;[PJSC v1.10] | |
| 1343 | + subMenu = barodensity_curve, "Baro Density", { baroCorr } ;[PJSC v1.10] | |
| 1346 | 1344 | subMenu = reset_control, "Reset Control" |
| 1347 | 1345 | |
| 1348 | 1346 |
| @@ -1919,6 +1917,7 @@ | ||
| 1919 | 1917 | dialog = veTable1Dialog_south, "" ;[PJSC] |
| 1920 | 1918 | field = "Multiply VE value by MAP:Baro ratio", multiplyMAP |
| 1921 | 1919 | field = "Multiply by ratio of AFR to Target AFR", includeAFR, { egoType == 2 } |
| 1920 | + field = "Barometric correction", baroCorr, { useExtBaro } ;[PJSC v1.10] For Barometric correnction | |
| 1922 | 1921 | |
| 1923 | 1922 | ;[PJSC] dialog = veTableDialog, "VE Table" |
| 1924 | 1923 | ;[PJSC] panel = veTableDialog_north, North |
| @@ -1933,6 +1932,7 @@ | ||
| 1933 | 1932 | dialog = veTable2Dialog_south, "" ; | |
| 1934 | 1933 | field = "Multiply VE value by MAP:Baro ratio", multiplyMAP ; | |
| 1935 | 1934 | field = "Multiply by ratio of AFR to Target AFR", includeAFR, { egoType == 2 } ; | |
| 1935 | + field = "Barometric correction", baroCorr, { useExtBaro } ; |[PJSC v1.10] For Barometric correnction | |
| 1936 | 1936 | ; | |
| 1937 | 1937 | dialog = veTable2Dialog, "VE Table 2" ; | |
| 1938 | 1938 | panel = veTable2Dialog_north, North ; V |
| @@ -1944,6 +1944,7 @@ | ||
| 1944 | 1944 | dialog = veTable3Dialog_south, "" ; | |
| 1945 | 1945 | field = "Multiply VE value by MAP:Baro ratio", multiplyMAP ; | |
| 1946 | 1946 | field = "Multiply by ratio of AFR to Target AFR", includeAFR, { egoType == 2 } ; | |
| 1947 | + field = "Barometric correction", baroCorr, { useExtBaro } ; |For Barometric correnction | |
| 1947 | 1948 | ; | |
| 1948 | 1949 | dialog = veTable3Dialog, "VE Table 3" ; | |
| 1949 | 1950 | panel = veTable3Dialog_north, North ; V |
| @@ -574,8 +574,7 @@ | ||
| 574 | 574 | byte engineType : 1; |
| 575 | 575 | byte flexEnabled : 1; |
| 576 | 576 | byte unused2_38c : 1; //"Speed Density", "Alpha-N" |
| 577 | -//[PJSC v1.10] byte baroCorr : 1; | |
| 578 | - byte unused2_38d : 1; //[PJSC v1.10] | |
| 577 | + byte baroCorr : 1; | |
| 579 | 578 | byte injLayout : 2; |
| 580 | 579 | byte perToothIgn : 1; |
| 581 | 580 | byte dfcoEnabled : 1; //Whether or not DFCO is turned on |
| @@ -651,9 +650,8 @@ | ||
| 651 | 650 | byte muxout2Selection: 4; // | MUX output2 selection |
| 652 | 651 | byte baroDenBins[9]; // | For Barometric extend correnction |
| 653 | 652 | byte baroDenRates[9]; // | For Barometric extend correnction |
| 654 | - byte baroCorr : 2; // | For Barometric extend correnction | |
| 655 | 653 | byte table3Usage: 1; // | For switching usage of 3rd table Ignition/Fuel |
| 656 | - byte unused2_119: 5; // V | |
| 654 | + byte unused2_119: 7; // V | |
| 657 | 655 | byte unused2_120[8]; //[PJSC v1.10] For test mode |
| 658 | 656 | |
| 659 | 657 | #if defined(CORE_AVR) |
| @@ -139,8 +139,8 @@ | ||
| 139 | 139 | #define EEPROM_CONFIG8_MAP4 1653 |
| 140 | 140 | #define EEPROM_CONFIG8_XBINS4 1689 |
| 141 | 141 | #define EEPROM_CONFIG8_YBINS4 1695 |
| 142 | -#define EEPROM_CONFIG9_START 1710 | |
| 143 | -#define EEPROM_CONFIG9_END 1902 | |
| 142 | +#define EEPROM_CONFIG9_START 1710 | |
| 143 | +#define EEPROM_CONFIG9_END 1902 | |
| 144 | 144 | #define EEPROM_CONFIG10_START 1902 |
| 145 | 145 | #define EEPROM_CONFIG10_END 2094 |
| 146 | 146 | #define EEPROM_CONFIG12_XSIZE 2094 //[PJSC] |