-
-
Notifications
You must be signed in to change notification settings - Fork 542
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ignition schedulers update #578
Commits on May 7, 2021
-
Initial change to ignition timing
Ignition timing changed to be calculated directly from ingnition end angle (previous art was endAngle -> startAngle -> endtime)
Configuration menu - View commit details
-
Copy full SHA for 6dd7cf2 - Browse repository at this point
Copy the full SHA 6dd7cf2View commit details
Commits on May 8, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 0dd1603 - Browse repository at this point
Copy the full SHA 0dd1603View commit details
Commits on May 10, 2021
-
Configuration menu - View commit details
-
Copy full SHA for cee5a85 - Browse repository at this point
Copy the full SHA cee5a85View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4591644 - Browse repository at this point
Copy the full SHA 4591644View commit details -
Also updated and refactored the ignition interrupt functions
Updated interrupt functions on all channels to be compatible with the previous changes to the interrupt schedulers. Reduced code repetition in ignition interrupt functions.
Configuration menu - View commit details
-
Copy full SHA for 99117bc - Browse repository at this point
Copy the full SHA 99117bcView commit details
Commits on May 18, 2021
-
Tweaks to the overdwell protection
Only allow the overdwell protection in the timers.ino to run when it is enabled and with the new ignition mode(to increase performance). For old ignition mode incorporate the overdwell protection to the schedulers. Plus some comments tweaked in scheduler.ino
Configuration menu - View commit details
-
Copy full SHA for 7f54fc1 - Browse repository at this point
Copy the full SHA 7f54fc1View commit details -
Performance tweaks to the scheduler
Rearranged the angleToTime in the setIgnitionShedule() only calculated when it is really needed. Now it is not calculated when corresponding schedule is already running, this saves some time and may help on atmega platvorm since those calculations include division.
Configuration menu - View commit details
-
Copy full SHA for 013abba - Browse repository at this point
Copy the full SHA 013abbaView commit details
Commits on May 20, 2021
-
Time window between staging and impulse starting interrupts was too small for the Atmega to keep up. Just add a little extra time. Plus make setIgnitionxCompare functions use COMPARE_TYPE, for possible future multi platvorm differences.
Configuration menu - View commit details
-
Copy full SHA for 7f7f4f7 - Browse repository at this point
Copy the full SHA 7f7f4f7View commit details
Commits on May 23, 2021
-
Configuration menu - View commit details
-
Copy full SHA for e427971 - Browse repository at this point
Copy the full SHA e427971View commit details
Commits on Jun 7, 2021
-
Adds extra parentheses around the macro argument.
Configuration menu - View commit details
-
Copy full SHA for 7dc6723 - Browse repository at this point
Copy the full SHA 7dc6723View commit details
Commits on Jun 17, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 146a78b - Browse repository at this point
Copy the full SHA 146a78bView commit details
Commits on Jun 25, 2021
-
Configuration menu - View commit details
-
Copy full SHA for c8d82dc - Browse repository at this point
Copy the full SHA c8d82dcView commit details
Commits on Jul 2, 2021
-
Revert changes to platvormio.ini (default envs)
Put default envs back to the megaatmega2560. Should not have been changed in the first place, would be cleaner PR.
Configuration menu - View commit details
-
Copy full SHA for 3f30e2b - Browse repository at this point
Copy the full SHA 3f30e2bView commit details
Commits on Aug 25, 2021
-
Configuration menu - View commit details
-
Copy full SHA for a8dddf2 - Browse repository at this point
Copy the full SHA a8dddf2View commit details
Commits on Sep 1, 2021
-
Small change: COMPARE_TYPE some variables
Change some more variables type to COMPARE_TYPE. Currently all timer comparators are used with 16bit. So the COMPARE_TYPE is currently uint16_t. Anyway when possibly changing the COMPARE_TYPE in the future, great care must be taken to evaluate all effects. This just adds a little bit closer to make smooth changing of COMPARE_TYPE possible.
Configuration menu - View commit details
-
Copy full SHA for 7961e38 - Browse repository at this point
Copy the full SHA 7961e38View commit details -
Organize variables to use COMPARE_TYPE definition in some more places. With intention to make schedulers compatible with different width timers comparators.
Configuration menu - View commit details
-
Copy full SHA for 45878b4 - Browse repository at this point
Copy the full SHA 45878b4View commit details -
Inline small register modification functions
The inline specifier is only a compiler hint, and the compiler is free to completely ignore it. Compilers that we are using today actually are supposed to do the inlining automatically without this specifier too, but for good measure still add it.
1Configuration menu - View commit details
-
Copy full SHA for 76155fb - Browse repository at this point
Copy the full SHA 76155fbView commit details -
Merge branch 'Testimiseks' of https://github.com/TBAMax/speeduino int…
…o Testimiseks
Configuration menu - View commit details
-
Copy full SHA for 63c3947 - Browse repository at this point
Copy the full SHA 63c3947View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4e3670a - Browse repository at this point
Copy the full SHA 4e3670aView commit details -
Move channelIgnDegrees to inside ignitionSchedulex struct
For cleaner and shorter code, remove the multiple global variables and place the same functionality inside the existing struct. The ignitionSchedule struct now has new member. Basically done with intention to reduce arguments count of setIgnitionSchedule function after that.
Configuration menu - View commit details
-
Copy full SHA for 5fd94e2 - Browse repository at this point
Copy the full SHA 5fd94e2View commit details -
Cleaner code, reduce function arguments
reduce setIgnitionSchedule function arguments count by 1. channelIgnDegrees are now taken directly from corresponding ignitionSchedule struct
Configuration menu - View commit details
-
Copy full SHA for e2196ba - Browse repository at this point
Copy the full SHA e2196baView commit details -
Convert small "getIgnCoutenter()" functions also to the COMPARE_TYPE.
Configuration menu - View commit details
-
Copy full SHA for d368a25 - Browse repository at this point
Copy the full SHA d368a25View commit details
Commits on Oct 11, 2021
-
Fix Fixed Cranking Override for all decoders. Previously there was excessice dwell and spark produced at trigger edge. Changed that so that now coil charging is started at trigger edge and normal dwell is used. This retards the timing slightly for starting-- should be a good thing. (For most decoders that use fixed timing for starting the trigger edge should be at 5degrees BTDC). Prevent per tooth ignition from running with fixed cranking ignition override Add decoderHasFixedCrankingTiming = true; on some decoders that had that missing.
Configuration menu - View commit details
-
Copy full SHA for fa76e37 - Browse repository at this point
Copy the full SHA fa76e37View commit details
Commits on Oct 17, 2021
-
Do not allow per tooth ignition mode to run during the fixedcrankingtiming on all triggers that support both. Add decoderHasFixedCrankingTiming = true; on some decoders that had that missing.
Configuration menu - View commit details
-
Copy full SHA for 67a8111 - Browse repository at this point
Copy the full SHA 67a8111View commit details -
Remove unused ignitionStartAngle variables
Remove unused variables: int ignition1StartAngle int ignition2StartAngle int ignition3StartAngle int ignition4StartAngle int ignition5StartAngle int ignition6StartAngle int ignition7StartAngle int ignition8StartAngle All those angles are not used any more. All things are based on ignitionEndAngles(actual spark angle). affected files: speeduino.ino; globals.h
Configuration menu - View commit details
-
Copy full SHA for 82138ad - Browse repository at this point
Copy the full SHA 82138adView commit details -
Clean dwell angle function arguments
Cleaner code. Remove dwell angle from calculateIgnitionAngle() function arguments, since this is actually unused. Dwell is based directy on dwell time.
Configuration menu - View commit details
-
Copy full SHA for 5425da6 - Browse repository at this point
Copy the full SHA 5425da6View commit details -
Remove fixedCrankingOverride variable
Remove "fixedCrankingOverride" variable because it it not used any more. It was previously used to regulate dwell during fixed cranking timing, but now the dwell is regulated in the schedulers.
Configuration menu - View commit details
-
Copy full SHA for 6ac0e9e - Browse repository at this point
Copy the full SHA 6ac0e9eView commit details -
update calculateIgnitionAngle function declarations
Those function declarations were still not updated. Functions themselves were already updated earlier.
Configuration menu - View commit details
-
Copy full SHA for cbb3b1c - Browse repository at this point
Copy the full SHA cbb3b1cView commit details
Commits on Oct 23, 2021
-
Important change to the per tooth ignition
Use functions to set the ignition compare values with the perToothTiming. This fixes the some kind of type conversion issue that caused occassional very early spark events previously.
Configuration menu - View commit details
-
Copy full SHA for 1a2e874 - Browse repository at this point
Copy the full SHA 1a2e874View commit details
Commits on Nov 11, 2021
-
Add cast to COMPARE_TYPE also for idle. Similar issue of that cast missing was causing issues with the ignition timing. This is needed when 32bit timer is used in the 16bit overflow mode. So apply it here too.
Configuration menu - View commit details
-
Copy full SHA for 2754615 - Browse repository at this point
Copy the full SHA 2754615View commit details
Commits on Nov 24, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 8a7ec0d - Browse repository at this point
Copy the full SHA 8a7ec0dView commit details
Commits on Nov 27, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 67a2c00 - Browse repository at this point
Copy the full SHA 67a2c00View commit details -
ignitionStart and End callbacks to ignitionSchedule struct
Move IgnitionStartFunction and IgnitionEndFunction to be with the ignition schedule struct. Reduced code repetition. 0.1% RAM saving, 0.1% Flash saving observed on black_F407VE
Configuration menu - View commit details
-
Copy full SHA for f4e9728 - Browse repository at this point
Copy the full SHA f4e9728View commit details