Honda (?) 1+16 trigger is not right fix #6418

This commit is contained in:
rusEFI LLC 2024-04-26 11:07:14 -04:00
parent f0356ec225
commit 635b0e6ffa
5 changed files with 3 additions and 25 deletions

View File

@ -29,7 +29,7 @@ Release template (copy/paste this for new release):
### Breaking Changes
- "60/2 VW" trigger wheel renamed to "60-2 Wrong Polarity" #988
- exhaust VVTs now use it's onw Edge Select setting
- removing weird 1+16 trigger wheel #6418
## Unreleased

View File

@ -367,7 +367,7 @@ enum class trigger_type_e : uint32_t {
TT_VVT_BOSCH_QUICK_START = 47,
TT_TOOTHED_WHEEL_36_2 = 48,
TT_SUBARU_SVX = 49,
TT_1_16 = 50,
TT_UNUSED_50 = 50,
// todo: remove this trigger once we have https://github.com/rusefi/rusefi/issues/2073
TT_SUBARU_7_WITHOUT_6 = 51,
TT_NISSAN_MR18_CAM_VVT = 52,

View File

@ -26,24 +26,6 @@ void configureHondaCbr600(TriggerWaveform *s) {
s->addEvent720(720.0f, TriggerValue::RISE);
}
// todo: what is this 1+16 trigger about? should it have been defined as skipped + cam or else?
void configureOnePlus16(TriggerWaveform *s) {
s->initialize(FOUR_STROKE_CAM_SENSOR, SyncEdge::RiseOnly);
int count = 16;
float tooth = s->getCycleDuration() / 2 / count;
float width = tooth / 2; // for VR we only handle rises so width does not matter much
s->addEventAngle(1, TriggerValue::RISE, TriggerWheel::T_PRIMARY);
s->addEventAngle(5, TriggerValue::FALL, TriggerWheel::T_PRIMARY);
for (int i = 1; i <= count; i++) {
s->addToothRiseFall(tooth * i, width, TriggerWheel::T_SECONDARY);
}
s->isSynchronizationNeeded = false;
}
// TT_HONDA_K_CRANK_12_1
void configureHondaK_12_1(TriggerWaveform *s) {
s->initialize(FOUR_STROKE_CRANK_SENSOR, SyncEdge::RiseOnly);

View File

@ -9,8 +9,6 @@
class TriggerWaveform;
void configureOnePlus16(TriggerWaveform *s);
void configureHondaCbr600(TriggerWaveform *s);
void configureHondaK_12_1(TriggerWaveform *s);

View File

@ -680,10 +680,8 @@ void TriggerWaveform::initializeTriggerWaveform(operation_mode_e triggerOperatio
case trigger_type_e::TT_MITSU_4G9x_CAM:
initializeMitsubishi4g9xCam(this);
break;
case trigger_type_e::TT_1_16:
configureOnePlus16(this);
break;
case trigger_type_e::TT_UNUSED_50:
case trigger_type_e::TT_HONDA_CBR_600:
configureHondaCbr600(this);
break;