Trigger hysteresis using avload instead of load?
Trigger hysteresis using avload instead of load?
-
- Posts: 1696
- Joined: Fri Apr 04, 2008 1:28 pm
Re: Trigger hysteresis using avload instead of load?
This should be easy to do, I will have a look.
Lance.
-
- Posts: 1696
- Joined: Fri Apr 04, 2008 1:28 pm
Re: Trigger hysteresis using avload instead of load?
Attached is 5.099z code that allows you to select to use either the instant load or the average load for shift hysteresis:
The setting is under 'General Settings -> Shift Factors -> Load value for Hysteresis' where the options are to:
- Use instant Load
- Use the short-term Load average
There is some interaction between the average load and the decel settings, so this might not work the way you want it to. You might want to try disabling the decel mode by setting the 'General Settings -> Throttle and Load Factors - > Max. sLoad in Decel Mode' to zero (0).
The code attached is also virtually untested (except briefly on my bench). If you want to give it a try, let me know how it works for you.
Lance.
Re: Trigger hysteresis using avload instead of load?

Re: Trigger hysteresis using avload instead of load?
Re: Trigger hysteresis using avload instead of load?
-
- Posts: 1696
- Joined: Fri Apr 04, 2008 1:28 pm
Re: Trigger hysteresis using avload instead of load?
Re: Trigger hysteresis using avload instead of load?
Annoyingly something has stopped working in the megasquirt unit so at the moment I cannot start the car so trans testing is on hold so I cannot test the new CAN wiring ( beldin shielded twisted pair) as I'm hoping its CAN issues turning hysteresis off (decel spikes?)
-
- Posts: 1696
- Joined: Fri Apr 04, 2008 1:28 pm
Re: Trigger hysteresis using avload instead of load?
Do you happen to have a log with the latest code?
Lance.
Re: Trigger hysteresis using avload instead of load?
5.099z? no.. it was while loading it that the megasquirt ecu died.. (coincidence!)Lance wrote:Addicted,
Do you happen to have a log with the latest code?
Lance.
Until I can drive again with the new code and the new CANbus wiring all bets are off....
