This firmware contains initial EGS52 calibration data. You will need to select the correct settings for your car in the configuration app under
TCU Program settings -> CAL
You can see here for an explination on calibration settings
- Added in shift torque data from original EGS
- Split shifting algorithm into 2 modes (Release and Crossover)
- Added support for the TCC Zener mod addon PCB (For 1.3 PCB)
- Rewrote current driver algorithm for MPC/SPC solenoids
- Added support for the Jeep 5 wire shifter (Profile switching is disabled in this mode)
- See basic configuration for Jeep toggle setting
- Rewrote sensor API to include smoothing all sensor inputs to the TCU
- Rewrote torque API of EGS so that Each CAN layer is better handled how it sends/receives torque figures
- Improve the stability of the TCU when in emergency mode (No configuration)
- Adaptation is disabled at this time due to the massive rework, it will be re-enabled in a future release.
- Update ESP-IDF to 5.1.1
- Fix for keyless GO systems starting
- Add support for EGS52 calibration data
- Uses OEM EGS hydraulic configuration data
- Uses OEM EGS clutch calibration data
- Friction coefficient table
- Spring pressure table
- Uses OEM EGS torque converter calibration data
- Torque multiplication map
- Pump torque map
- Add reverse-engineered EGS52 pressure control algorithm!
- Computes working and solenoid inlet pressure
- Corrects output MPC and SPC pressure accordingly
- Computes clutch friction coeffients for optimal MPC working pressure (This means MPC working map no longer exists)
- Add in prefill for off clutch when changing gears (NO MORE 3-4 FLARE!)
- Clean process on first boot after update
- Add option for TCU_ADV_SETTINGS to disable torque requests for each gear change
- Sensor API rework
- Poll all sensors on a 20ms timer tick
- Average out VBATT and TFT signals in order to get a more steady reading
- Speed sensors are averaged over 8 reading polls (160ms) for a much cleaner reading
- Brand new Solenoid API
- On/Off solenoid - On for specific period of time, then activate holding phase
- Inrush solenoid - On, Hold, Off for specific period (Torque converter solenoid)
- CC Solenoid - Constant current driver solenoid (Corrected every 2ms)
- New torque converter (v3) algorithm
- Adaptation maps are now present for slip and locking
- Take into account energy through the turbine (Joules)
- Only adapt when slip and user pedal input are stable
- New shifter input logic
- Split the 3 style shifters into their own classes (EWM, TRRS, SLR)
- SLR - Implement the C/M/S knob for profile selection
- TRRS - Better handling of range restriction input
- Make output shaft sensor appear in config app if present
- DIAG
FN_SALVE_MODE
emulation (Originally on EGS52) - Allows for controlling IO of the TCU on a test bench via CAN - DIAG
FN_CANLOGGER_MODE
- Allows for sniffing CANBUS on a vehicle (TCU does not send frames in this mode) - EGS51 CAN Layer - Changes
- Read
VB
(Fuel flow) signal (Recorded in config app for parity with EGS52/53) - Read
KUEB_S_A
andKUEB_O_A
(Engine torque converter state request) bits, and pass them to torque converter control code - Send
K_O_B
,K_G_B
andK_S_B
signals (Torque converter clutch state) - Send
NEUTRAL
bit when in P/N. - Send
GARAGE_SHIFT
bit when shifting from P->R or N->D (Gearbox protection under garage shifting)
- Read
- EGS52 CAN Layer - Changes
- Set the
HSM
(Manual mode) bit when using a profile that shifts manually (Used by ESP and Engine ECU) - Send
FMRAD
(Input -> Output torque multiplier) signal (For Cruise control and ESP) - Send
M_VERL
- Torque converter loss - Send
K_O_B
,K_G_B
andK_S_B
signals (Torque converter clutch state) - Read
KUEB_S_A
andKUEB_O_A
(Engine torque converter state request) bits, and pass them to torque converter control code
- Set the
- Torque requests - Add
BackToDriverDemand
torque request bit (EGS52/53). This allows the engine to know that torque will be increasing and it can roll back the ignition retarding (Results in a much smoother up ramp) - Rework IO Expander and program selector API (Credit: @chrissivo)
- Add support for the SLR McLaren shifter!
- Add in CUSTOM_CAN CAN layer. This is to support 3rd party engine ECUs See here for more information
- Shift logic rewrite (This is why adaptation is disabled)
- Overlap is now split into 2 phases (Release phase, Apply and hold phase)
- Filling of the clutches is now performed in 3 stages (High, Ramp, Low)
- Add in engine Inertia compensation when shifting to pull the engine to the correct RPM
- EGS51 - Repair wonky torque requests
- Shift reporter - Remove warning about invalid report on flash - Since shift reporter is not being used - we can ignore it.
- EGS53 - Add support for shift paddles
- EEPROM Module settings interface
- Allows for hot-modifying variables in the TCUs code base!
- Wiki integration in the configuration app
- Clutch speed and velocity algorithm - based on the calculations done for the gearbox model on the wiki here
- Calculate the speed of the engaging and releasing clutch during the gear changes
- Allow the TCU to dynamically set the SPC ramp based on clutch progress to target speed
- Add RLIs so you can monitor this in the config app
- New pressure manager - Allows for programming characteristics of the valve body into the TCU so the TCU knows the max and min pressures depending on which valves are open or closed
- TRRS Range-restrict mode!
- HFM CAN (WIP)
- Remove the MPC filler adder map
- Make MPC prefill pressure += SPC prefill pressure for better prefill quality
- TCC opens up during shifting, like stock EGS to dampen the gear change for a smoother change - This will be configurable in a later update.
- Finally, smoother N-D gear engagement, however Shifting into N-R is STILL rough
- EGS53 - Fixed display showing 1st when in 5th gear
- Modified Input speed calculation algorithm to not use a fixed multiplier when in 1st or 5th
- Add settings to configure push button on shifter / TRRS
- Disable TCC in 1st gear by default
- Update to PIO ESP Framework 6.3.2
- Improve gear shifting smoothness
- EGS53 - Correctly calculate driver demand torque
- EGS52 - Support TRRS shifter (For Jeep)
- Better functionality of the W/S switch (On TRRS and EWM)
- TCC learning can now reduce pressure if it detects too much biting at low load
- Input torque calculation model (Reports torque loss to ESP/ART ECU over CAN)
- Added Gearbox speed protection when garage shifting (Engine will slow down to < 1000 RPM when garage shifting
- ADDED BACK WORKING TORQUE REQUESTS!
* Split shifter code away from CAN layers (Each shifter can now be independently selected regardless of CAN layer)
* Add draft support for fuel and air table to calculate input torque without any torque readings on CAN (For W124 HFM)
* Add basic petrol engine model (W124 HFM)
- Restructure a lot of the code base to be more MISRA-C compliant
- BREAKING - Update IDF version from 4.4 to 5.0!
- Smooth TCC bite and apply algorithm for smoother applying
- Fixed bump after shifting caused by TCC re-applying
- Improved PCNT based RPM reading
- Modify the default downshift 2-1 map for C/W mode to disable 2-1 downshift at idle
- Update entire CAN Layer implementation for all EGS. Now uses bitfields instead of getter/setter functions for interacting with CAN Data
- EGS52 - Don't send shifter position when in middle positions
- Fixed downshift maps not being used correctly by the TCU
- SHIFT - Realtime SPC and MPC modulation during shifts based on input shaft torque (SUPER SMOOTH SHIFTS)
- SHIFT - Cooldown after same solenoid activation to avoid failed shifts
- TCC - locking learning adaptation (Manually adjustable in config app too)
- SHIFT - MPC cushion map for increasing MPC pressure in fill phase (Fix for 3-4 flare)
- SENSORS - Added Output shaft PCNT code for Output shaft RPM sensor via GPIO
- SENSORS - Input shaft sensor debouncing for more accurate input RPM readings
- EGS52 (Chrysler) - Add support for W/S button on EWM shifters
- GEARBOX - Added AC compressor torque loss when calcualting input shaft torque
- DIAG - Updated FW upload/download API - More inline with KWP2000 (New 'updater' page in config app required)
- EGS5x - Optimized CAN message Rx
- EGS52 - Correct FMRAD wheel torque parity (Prevents P20D6 'EGS Momentenanforderung Parityfehler' on ME SFI 2.8 ECU)
- EGS52 - Removed torque requests - Too aggressive on CDI ECUs
- SHIFT - Increase Shift solenoid current inrush time to 1 second for sticky old solenoids
- EGS51 - Fix Start Enable pin on with board V1.3
- EGS51 - Update torque getter functions
- 2-1 shift map values don't work at low input RPM