Commit Graph

79 Commits

Author SHA1 Message Date
kifir 4c349de3d1 Now we use `Coolant Temperature Boost Adder` and `Intake Air Temperature Boost Adder` in close loop target calculation #6424 2024-08-02 13:47:59 -04:00
rusefi 82db3bfa6d Usability: turn on boost controller without ECU power cycle fix #6761
shame on me for lack of TDD
2024-08-01 18:30:05 -04:00
kifir 02359f54ef Now we use `Coolant Temperature Boost Multiplier` and `Intake Air Temperature Boost Multiplier` in open loop duty calculation #6424 2024-07-30 20:36:26 -04:00
kifir f4b3b00d4d interpret value from openLoopMap according to boostOpenLoopYAxis constant (fixes #4778) 2024-05-15 12:58:27 -04:00
Matthew Kennedy c39e9146fb behave yourselves with null previousConfig 2024-05-04 09:00:21 -04:00
Matthew Kennedy 8cb03dc264 only: encapsulation 2024-05-04 08:59:47 -04:00
rusefi a3a492d46f Map3D should not be silently return 0 if not initialized #6461
preparation: giving tables names
2024-05-03 22:31:53 -04:00
rusefillc 649059c6fa Lua: setBoostDutyAdd can target values under 0 fix #6339 2024-04-06 09:04:42 -04:00
rusefillc 9c5e4273d1 only:doc 2024-04-06 09:02:03 -04:00
rusefillc f40cd512c9 Base map values for Open Loop Boost Duty should be 0% fix #6188 2024-03-09 15:44:17 -05:00
Andrey 3096db5c72 confusing Map3D API fix #6139 2024-03-04 17:58:24 -05:00
rusefillc 1abd93fa21 usability issue: Boost blend logic does not happen while not controlling boost #5864 2024-01-04 20:16:00 -05:00
rusefillc 0800335320 reducing code duplication 2023-11-13 18:30:30 -05:00
Andrey 3d3671e6d4 better EFI_ENGINE_CONTROL 2023-11-05 12:07:24 -05:00
Matthew Kennedy 2c049d206a dead pid auto tune 2023-11-01 17:01:07 -04:00
Andrey f2453ce251 open loop boost does not really require Map sensor
only:small-can-board
2023-10-19 21:22:59 -04:00
Andrey 300e08d4c4 only:making boost constraints more obvious, also running boost in simulator 2023-10-19 21:06:09 -04:00
rusefillc ff40d113ab same gear count for everyone, also honda
only:small-can-board
2023-10-19 12:54:30 -04:00
rusefillc e19204dd2e
Boost (#5586)
* boost is engine module

* only:idle leaves outputs

---------

Co-authored-by: Matthew Kennedy <matthewkennedy@outlook.com>
2023-09-26 13:39:43 -04:00
Matthew Kennedy ee513cf452 boost control runs in fast callback 2023-09-10 23:31:45 -04:00
andreika-git b7a73219cb Boost control by gear first step: open loop MVP 1x8 table #5276 2023-05-20 21:05:01 -04:00
andreika-git ddffc51c99 Boost control by gear first step: open loop MVP 1x8 table #5276 2023-05-20 21:05:01 -04:00
Matthew Kennedy b047d942f0 boost control gets blend tables (#73)
* boost control gets blend tables

* most of boost blend UI

* boost blends use ECU-calculated axis value

* oop

* disable UI when no boost control (or open only)

* changelog

(cherry picked from commit b5761532970b2035857f283a4a82995833f086f9)
2023-05-03 16:00:24 -04:00
Matthew Kennedy 61e5b4b1ad change ObdCode to enum class builds firmware 2023-04-29 00:44:00 -04:00
rusefi 096be69c20 DC is not ETB 2023-02-18 22:39:45 -05:00
rusefillc 92a4895b13 refactoring: inside the boost controller instead of depending on the engine god object 2023-01-22 07:40:42 -05:00
rusefillc 3738e8b3b9 h-bridge wastegate not alive on bench #4965
more live data
2023-01-16 21:13:54 -05:00
rusefillc 3e81c82ff5 h-bridge wastegate not alive on bench #4965
more live data
2023-01-16 20:50:45 -05:00
rusefillc 69cfd619d0 docs 2023-01-16 16:14:01 -05:00
rusefillc d649a8100f global variable bad 2023-01-16 16:01:48 -05:00
rusefillc 74e8291327 Add setBoostDutyAdd function to control only boost duty #4900 2022-12-19 12:05:06 -05:00
rusefillc 1bfc6adac3 refactoring: renaming method 2022-09-27 22:21:18 -04:00
Matthew Kennedy 6b83ec8c08
boost control thresholds (#4392) 2022-07-28 09:45:16 +03:00
rusefillc 39df02fe35 Detail on how to set up iDrive or equivalent CAN button control #226
boost lua
2022-07-14 13:03:08 -04:00
Andrey 5cf0265968 logging of live data structs was: data points #3614 2022-06-29 03:27:51 -04:00
rusefillc 8acbf9d8df logging of live data structs was: data points #3614 2022-06-29 03:13:35 -04:00
Matthew Kennedy e4a0979dc2
Brain pin is enum class (#4108)
* change most usages to Gpio::

* board configs

* engine configs etc

* isBrainPinValid, smart gpio

* generator

* generator

* generator

* connector yamls

* kinetis enums

* cypress txt

* kinetis config

* frankenso

* config generator

* actually do it for the others

* disable skips for pr ci

* fix tle8888

* misc

* weird cast from int

* needs this operator too

* this can be an unsigned subtract

* happy tests

* s

* kinetis isConfigurationChanged weirdness

* missed J/K

* cypress efifeatures

* build script mistake (!)

* mistake in smart gpio

* debounce

* eg33

* kinetis, so needy

* it's pretty green, we can skip these again
2022-04-28 17:32:39 -04:00
Matthew Kennedy f1742c44ff
output channel tweaks (#4023)
* shuffle around output channels

* postState should take a ref

* s

* s

* patch input file

* limits

* accel bad bounds check

* units

* units

* Revert "accel bad bounds check"

This reverts commit b2bb493be331d5d2cf40b9ed01363a53182c883e.

* missed an autoscale
2022-03-24 08:58:55 -04:00
Andrey 8361b6d1f6 migrating to SensorType::Rpm API 2022-01-20 22:22:52 -05:00
Matthew Kennedy 3e56bacef9
don't start boost pwm unnecessarily (#3767)
* don't start boost pwm unnecessarily

* test
2022-01-11 20:47:50 -05:00
rusefillc 2016ecbe98 live data progress 2022-01-02 01:17:22 -05:00
Matthew Kennedy a4871c703c
Autoscale all the things! (#3713)
* Map3D accepts any scaled_channel type

* consistency

* reinstate test

* fix ratio

* throttle, boost, gppwm

* scale ignition and VE

* tests
2021-12-22 08:09:41 -05:00
Andrey 940b04ab24 Let's always have TS structure so that unit tests can check values in outputChannels, kind of making outputChannels a god dump for state but whatever since Live View is coming 2021-12-07 20:18:47 -05:00
rusefillc 3ac46c98f2 live data for wastegate #3588 2021-11-24 13:18:07 -05:00
rusefillc 3077f795c4 live data for wastegate #3588 2021-11-24 12:59:57 -05:00
rusefillc c75291f415 live data for wastegate #3588
i want to persist state so no 'const' sorry
2021-11-23 15:52:43 -05:00
Scott Smith 823d9a07e0
Programmatically replace ENGINE() and CONFIG() with engine-> etc (#3565)
git grep -l -w ENGINE | xargs sed -i -r "s/ENGINE\(([]a-zA-Z_0-9.[]+)\)/engine->\1/g"

git grep -l -w CONFIG | xargs sed -i -r "s/([^a-zA-Z_])CONFIG\(([]a-zA-Z_0-9.[]+)\)/\1engineConfiguration->\2/g"
2021-11-17 03:54:21 -05:00
Matthew Kennedy 8cdac4cac0
remove engine pointer passing (#3556)
* some

* more

* more

* the last?!
2021-11-16 04:15:29 -05:00
Matthew Kennedy 884532cb6f
boost debug fields (#3228) 2021-09-07 14:07:47 -04:00
Matthew Kennedy 6407e74ae2
disable closed loop boost below MAP threshold (#3206)
* boost minimum map

* changelog
2021-08-27 17:54:08 -04:00