Page 1 of 8

Trigger hysteresis using avload instead of load?

Posted: Sun Mar 15, 2015 5:01 am
by Addicted
Have you tried this Lance? currently shifts are controlled by avload, but the hysteresis by instantaneous load, how do you think it would behave if both were controlled by avload?

Re: Trigger hysteresis using avload instead of load?

Posted: Mon Mar 16, 2015 10:21 am
by Bernard Fife
Addicted,

This should be easy to do, I will have a look.

Lance.

Re: Trigger hysteresis using avload instead of load?

Posted: Mon Mar 16, 2015 6:42 pm
by Bernard Fife
Addicted,

Attached is 5.099z code that allows you to select to use either the instant load or the average load for shift hysteresis:
Monitor_5099z.abs.s19
(83 KiB) Downloaded 691 times
GPIO_MShift_5099.ini
(278.02 KiB) Downloaded 682 times
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?

Posted: Tue Mar 17, 2015 12:18 am
by Addicted
Thanks Lance, I'll give it a try. Like you say, it may not work very well at all, but I wanted to be able to try something before you release 5.1 :)

Re: Trigger hysteresis using avload instead of load?

Posted: Tue Mar 17, 2015 10:06 am
by Addicted
Is avload the same as sload?

Re: Trigger hysteresis using avload instead of load?

Posted: Tue Mar 17, 2015 10:28 am
by Addicted
Hmmmm. Hysteresis is still being turned off sooner than I expect. What other factors will turn off hysteresis?

Re: Trigger hysteresis using avload instead of load?

Posted: Wed Mar 18, 2015 8:47 am
by Bernard Fife
For shifting, the hysteresis is based on load and speed: http://www.msgpio.com/manuals/mshift/V5tune.html#gs

Re: Trigger hysteresis using avload instead of load?

Posted: Thu Mar 19, 2015 12:37 am
by Addicted
There must be other factors that turn of hysteresis as mine always turns off almost as soon as the shift is completed and the speed and load figure deltas are within the the hysteresis limits. I've even tried doubling the limits but it still turns off.

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?)

Re: Trigger hysteresis using avload instead of load?

Posted: Thu Mar 19, 2015 9:24 am
by Bernard Fife
Addicted,

Do you happen to have a log with the latest code?

Lance.

Re: Trigger hysteresis using avload instead of load?

Posted: Fri Mar 20, 2015 4:20 am
by Addicted
Lance wrote:Addicted,

Do you happen to have a log with the latest code?

Lance.
5.099z? no.. it was while loading it that the megasquirt ecu died.. (coincidence!)

Until I can drive again with the new code and the new CANbus wiring all bets are off.... ;)