only:3+0 crank trigger #5788

This commit is contained in:
rusefillc 2023-12-25 20:28:55 -05:00
parent f2bed03ede
commit acd9b8bffd
6 changed files with 40 additions and 28 deletions

View File

@ -11,16 +11,16 @@ Release template (copy/paste this for new release):
## Month 202x Release - "Release Name"
### Breaking Changes
-
-
### Added
-
### Fixed
-
-
### Removed
-
-
-->
@ -34,11 +34,12 @@ Release template (copy/paste this for new release):
### Added
- DAC with Lua #5601
- TunerStudio cacerts fix script #5536
- TunerStudio cacerts fix script #5536
- Idle Timing Control - Soft Entry mechanism, in case of aggressive PID tuning this can help when engine enters close loop idle
- Idle Timing Control - I factor configurable now #5635
- Make TPS/PPS split threshold configurable #5620
- Mitsubishi 6G72 CAM Trigger Pattern #5593
- 3/0 trigger #5788
### Fixed
- Changing idle stepper settings causes kernel panic
@ -80,7 +81,7 @@ Release template (copy/paste this for new release):
- Configurable ignition timing limits, adding safety particularly for engines running wasted spark with a large cam FOME#211
### Fixed
- fuel_pump_control is accessible as getOutput("isFuelPumpOn") in Lua #5239
- fuel_pump_control is accessible as getOutput("isFuelPumpOn") in Lua #5239
- start button logic does not crank started for first X seconds since ECU boot #5324
- launch control: Speed threshold should not depend on launch mode, also zero speed limit handling #5419
- hard fault due to misaligned big buffer on F7 firmware #5354
@ -282,7 +283,7 @@ All notable user-facing or behavior-altering changes will be documented in this
- Mitsubishi 36-2-1-1 trigger wheel
- Mitsubishi 3A92 VVT trigger
- Toyota 4-1 VVT trigger
- use extra RAM for lua if your microRusEFI unit has stm32f42x microcontroller
- use extra RAM for lua if your microRusEFI unit has stm32f42x microcontroller
- VVT activation delay #3443
- Allow setting injection phase by start or center of injection #4068
- New 'View' menu in TunerStudio showing a lot of live data points #3614
@ -292,10 +293,10 @@ All notable user-facing or behavior-altering changes will be documented in this
### Added
- Use board-specific output and digital input pin names in error messages #3886
- Support LPS22 in addition to LPS25 baro sensors #3900
- Proteus F7 flashing work-around
- Proteus F7 flashing work-around
### Fixed
- SD card logging with SDIO hardware #3873
- SD card logging with SDIO hardware #3873
- rusEFI console stability improvement #3912
- console updater does not work if folder name contains spaces #3927
- SD card logs PPS as TPS #3943
@ -332,7 +333,7 @@ All notable user-facing or behavior-altering changes will be documented in this
## November 2021 Release - "Loosen Up Lighten Up Day"
### Added
- Higher Data Rate with TS 3.1.06.14 Beta or newer
- Higher Data Rate with TS 3.1.06.14 Beta or newer
- turbo speed sensor #2935
- A TON of Lua progress
- Overall performance
@ -381,17 +382,17 @@ All notable user-facing or behavior-altering changes will be documented in this
## July 2021 Release "Ice Cream Day"
### Breaking Changes
- vvtOffset field migrated to four vvtOffsets fields. Anyone using VVT would need to manually adjust their configuration.
- vvtOffset field migrated to four vvtOffsets fields. Anyone using VVT would need to manually adjust their configuration.
### Added
- Injector nonlinearity (small pulse) correction - so far just polynomial, but table modes coming soon.
- 1-4-3-6-2-5 firing order for VAG v6
- vq30de trigger wheel decoder #2974
- new hardware testing console commands #2978
### Fixed
- rusEFI console start-up speed #2964
- wrong handling of symmetrical crank wheels NB2 VQ35 Renix #2980
- wrong handling of symmetrical crank wheels NB2 VQ35 Renix #2980
## June 2021 Release "National Logistics Day"
@ -399,7 +400,7 @@ All notable user-facing or behavior-altering changes will be documented in this
- Improved cranking defaults
- Simplified/clarified idle and cranking TunerStudio pages
- Minor change of Miata NA trigger shape #2855
- Improved trigger sync for 60/2 36/1 36/22 triggers as part of VW warnings on cranking part #1 #2861
- Improved trigger sync for 60/2 36/1 36/22 triggers as part of VW warnings on cranking part #1 #2861
### Added
- Idle improvements! Open loop corrections are now applied in closed loop mode.
@ -415,14 +416,14 @@ All notable user-facing or behavior-altering changes will be documented in this
### Added
- Per-bank closed loop fuel correction (each cylinder corrected by the sensor that sees its exhaust)
## April 2021 Release - "Malbec"
## April 2021 Release - "Malbec"
### Added
- mount SD card and drive containing TunerStudio ini at the same time
- VAG MQB tachometer CAN integration
### Fixed
- fix error/warning buffer overflow #2456
- engine sniffer "show only interesting" fix #2528
- SD card logs bugfix #2556
- SD card logs bugfix #2556
- Too many small logs are zero size #2553
- Launcher splash screen is freezy #2560
- NB2 trigger decoder #2533
@ -437,7 +438,7 @@ All notable user-facing or behavior-altering changes will be documented in this
### Added
- VAG MQB tachometer CAN integration
### Fixed
- fix error/warning buffer overflow #2456
@ -499,7 +500,7 @@ All notable user-facing or behavior-altering changes will be documented in this
### Fixed
- minor bugfix - engine sniffer missing pin names #1995
## November 2020 Release - "Black Friday"
### Breaking Changes
@ -509,7 +510,7 @@ All notable user-facing or behavior-altering changes will be documented in this
### Added
- High & low pressure fuel sensor channels
- Electronic throttle-style wastegate control found on some VW turbos (and VGTs)
- Improved TLE8888 driver on microRusEFI
- Improved TLE8888 driver on microRusEFI
- Improved setting ECU presets/defaults from TunerStudio
### Fixed
@ -533,7 +534,7 @@ All notable user-facing or behavior-altering changes will be documented in this
| Release date | Revision | Details |
| ------------ | --------- | ------- |
| 07/26/2020 | r24635 | improvement #1637: DC motor idle air valve for late 90s German vehicles |
| 07/21/2020 | | bugfix #1592 injectors could stay open on transition from cranking to running under certain conditions |
| 07/21/2020 | | bugfix #1592 injectors could stay open on transition from cranking to running under certain conditions |
| 06/17/2020 | r23656 | bugfix #1491 major performance/scheduling improvement |
| 05/21/2020 | r22961 | rusEFI console start-up time improvements |
| 04/18/2020 | r22231 | Renix 44-2-2 trigger support added |
@ -575,9 +576,9 @@ All notable user-facing or behavior-altering changes will be documented in this
| 03/09/2017 | r13146 | bugfix #370: duty cycle vs error code 6050 |
| 03/06/2017 | r13123 | bugfix #363: 2/1 skipped wheel is a corner-case |
| 03/05/2017 | r13108 | bugfix #363: trigger front only processing |
| 02/22/2017 | r12980 | bugfix: false error message in case of single coil or simultaneous injection |
| 02/22/2017 | r12980 | bugfix: false error message in case of single coil or simultaneous injection |
| 02/22/2017 | r12973 | unused property 'custom Use Rise Edge' removed |
| 02/22/2017 | r12972 | protocol signature changed to 'v0.02' (this would happen from time to time to ensure version match between console and TS project |
| 02/22/2017 | r12972 | protocol signature changed to 'v0.02' (this would happen from time to time to ensure version match between console and TS project |
| 02/20/2017 | r12939 | https://github.com/rusefi/rusefi is now the official primary repository |
| 02/18/2017 | r11565 | improvement: level1 default brown out https://sourceforge.net/p/rusefi/tickets/354/ |
| 02/18/2017 | r11554 | bugfix: rusEfi console program/erase buttons fixed with ST-LINK 2.1 |
@ -587,7 +588,7 @@ All notable user-facing or behavior-altering changes will be documented in this
| 07/06/2015 | r8554 | more CAN, better console, bugfixes, performance
| 04/26/2015 | r7938 | vehicle speed sensor, stepper idle valve, lots of improvements
| 11/13/2014 | r5327 | ChibiOS/RT 2.6.6, better cold start logic, bugfixes, bugfixes, bugfixes...
| 06/12/2014 | r3477 | Precise event scheduling, protocol selection
| 06/12/2014 | r3477 | Precise event scheduling, protocol selection
| 03/26/2014 | r2413 | C++, refactoring & improvements
| 02/23/2013 | r1777 | trigger is now configurable via TunerStudio
| 01/30/2014 | r1309 | true trigger angles, VBatt signal

View File

@ -409,7 +409,7 @@ enum class trigger_type_e : uint32_t {
TT_36_2_1 = 70,
// Mitsubishi 3 cyl and 6 cyl
TT_36_2_1_1 = 71,
UNUSED72 = 72,
TT_3_TOOTH_CRANK = 72,
TT_VVT_TOYOTA_4_1 = 73,
// GM 24x with 3/12 degree gaps
TT_GM_24x_2 = 74,

View File

@ -503,7 +503,6 @@ void TriggerWaveform::initializeTriggerWaveform(operation_mode_e triggerOperatio
setTriggerSynchronizationGap3(/*gapIndex*/1, /*from*/0.75, 1.25);
break;
case trigger_type_e::UNUSED72:
case trigger_type_e::TT_NISSAN_QR25:
initializeNissanQR25crank(this);
break;
@ -650,9 +649,9 @@ void TriggerWaveform::initializeTriggerWaveform(operation_mode_e triggerOperatio
break;
case trigger_type_e::TT_60DEG_TOOTH:
/** @note
* Have a something like TT_ONE_PHASED trigger with
* externally setuped blind width will be a good
* approach to utilize ::Rise(and::Both in future)
* Have a something like TT_ONE_PHASED trigger with
* externally setuped blind width will be a good
* approach to utilize ::Rise(and::Both in future)
* with both edges phase-sync, but to stay simple I suggest
* just to use another enum for each trigger type. */
configure60degSingleTooth(this);
@ -706,6 +705,10 @@ void TriggerWaveform::initializeTriggerWaveform(operation_mode_e triggerOperatio
initialize2jzGE3_34_simulation_shape(this);
break;
case trigger_type_e::TT_3_TOOTH_CRANK:
configure3ToothCrank(this);
break;
case trigger_type_e::TT_12_TOOTH_CRANK:
configure12ToothCrank(this);
break;

View File

@ -176,3 +176,8 @@ void configure12ToothCrank(TriggerWaveform* s) {
// 2JZ would be global trigger offset 65 but same wheel could be Honda, not hard coding for now
commonSymmetrical(s, 12);
}
void configure3ToothCrank(TriggerWaveform* s) {
s->initialize(FOUR_STROKE_THREE_TIMES_CRANK_SENSOR, SyncEdge::RiseOnly);
commonSymmetrical(s, 3);
}

View File

@ -30,5 +30,8 @@ void configureQuickStartSenderWheel(TriggerWaveform *s);
// TT_KAWA_KX450F
void configureKawaKX450F(TriggerWaveform *s);
// TT_3_TOOTH_CRANK
void configure3ToothCrank(TriggerWaveform*);
// TT_12_TOOTH_CRANK
void configure12ToothCrank(TriggerWaveform*);

View File

@ -564,7 +564,7 @@ adc_channel_e fuelLevelSensor;This is the processor pin that your fuel level sen
struct trigger_config_s
! 'INVALID' for TT_VVT_* wheels
#define trigger_type_e_enum "custom toothed wheel", "Ford Aspire", "Dodge Neon 1995", "Miata NA", "INVALID", "GM_7X", "Cooper R50", "Mazda SOHC 4", "60/2", "36/1", "Mercedes Two Segment", "Single Tooth", "EZ30", "INVALID", "Dodge Neon 2003", "Mazda DOHC 1+4", "1+1", "INVALID", "Half Moon", "Dodge Ram 1+16", "60/2 VW", "Benelli Tre", "Dodge Stratus", "36_2_2_2", "Nissan Primera", "dev 2JZ 3/34 simulator", "Rover K", "GM 24x 5 degree", "Honda CBR 600", "Mitsubishi 4G92/93/94 Cam 29", "Honda CBR 600 custom", "3/1 skipped", "Dodge Neon 2003 crank", "Miata NB", "Mitsubishi 4G63 Cam 34", "INVALID", "Subaru 7+6", "Jeep 18-2-2-2", "12 tooth crank", "Dodge Neon 1995 crank only", "Jeep XJ 4 cyl", "FiatIAQ_P8", "Mazda Z5", "INVALID", "Renix 44-2-2", "Renix 66-2-2-2", "Honda K 12+1", "INVALID", "36/2", "Subaru SVX", "1+16", "Subaru 7 without 6", "INVALID", "TriTach", "GM 60/2/2/2", "Skoda Favorit", "Barra 3+1 Cam", "Kawa KX450F", "Nissan VQ35", "INVALID", "Nissan VQ30", "Nissan QR25", "INVALID", "Subaru SVX Crank 1", "Subaru SVX Cam VVT", "Ford PIP", "Suzuki G13B", "Honda K 4+1", "Nissan MR18 Crank", "32/2", "36-2-1", "36-2-1-1", "INVALID", "INVALID", "GM 24x 3 degree", "60-2-2 F3R", "Mitsu 4G63 Crank", "x2 30 Deg camshaft BTDC", "INVALID", "Mitsu 6G72 Cam", "trg80", "trg81"
#define trigger_type_e_enum "custom toothed wheel", "Ford Aspire", "Dodge Neon 1995", "Miata NA", "INVALID", "GM_7X", "Cooper R50", "Mazda SOHC 4", "60/2", "36/1", "Mercedes Two Segment", "Single Tooth", "EZ30", "INVALID", "Dodge Neon 2003", "Mazda DOHC 1+4", "1+1", "INVALID", "Half Moon", "Dodge Ram 1+16", "60/2 VW", "Benelli Tre", "Dodge Stratus", "36_2_2_2", "Nissan Primera", "dev 2JZ 3/34 simulator", "Rover K", "GM 24x 5 degree", "Honda CBR 600", "Mitsubishi 4G92/93/94 Cam 29", "Honda CBR 600 custom", "3/1 skipped", "Dodge Neon 2003 crank", "Miata NB", "Mitsubishi 4G63 Cam 34", "INVALID", "Subaru 7+6", "Jeep 18-2-2-2", "12 tooth crank", "Dodge Neon 1995 crank only", "Jeep XJ 4 cyl", "FiatIAQ_P8", "Mazda Z5", "INVALID", "Renix 44-2-2", "Renix 66-2-2-2", "Honda K 12+1", "INVALID", "36/2", "Subaru SVX", "1+16", "Subaru 7 without 6", "INVALID", "TriTach", "GM 60/2/2/2", "Skoda Favorit", "Barra 3+1 Cam", "Kawa KX450F", "Nissan VQ35", "INVALID", "Nissan VQ30", "Nissan QR25", "INVALID", "Subaru SVX Crank 1", "Subaru SVX Cam VVT", "Ford PIP", "Suzuki G13B", "Honda K 4+1", "Nissan MR18 Crank", "32/2", "36-2-1", "36-2-1-1", "3/0", "INVALID", "GM 24x 3 degree", "60-2-2 F3R", "Mitsu 4G63 Crank", "x2 30 Deg camshaft BTDC", "INVALID", "Mitsu 6G72 Cam", "trg80", "trg81"
custom trigger_type_e 4 bits, U32, @OFFSET@, [0:6], @@trigger_type_e_enum@@
trigger_type_e type;https://github.com/rusefi/rusefi/wiki/All-Supported-Triggers\nset trigger_type X