Page 1 of 5
4126b and earlier issues with voltage gear lever
Posted: Sat Jul 20, 2013 5:57 pm
by ashford
i tried out the 4126b code today and it did fix a few gear hunting issues, but i am finally trying to hunt down a problem since my first install with it circa 4115 with the new gear selector logic.
whenever the gear selector changes the gpio commands gear 0 then 1 and keeps it till it is stopped or rpm checking is hit or maybe i have to get to the part of the map where it is supposed to be in first gear then cross to 2nd.it also seems to get stuck in 3rd gear sometimes on the hihgway.
a second issue but no big deal is when i flash a new code then inport my msq and before i update my thermistor tables the temp reading is showing about 80 degrees colder than what it actuall is and off the graph i have for fan control and turns it on.
i have attached 3 logs the earlist one is just some driving around. i hit the space bar 3 times when it was stuck in 3rd gear. then later tapped it twice when i physically changed to 2nd gear. the shifting was all screwd up after that point.
the later 2 logs were of it while drag racing today i used a seperate shift table for it the logs are for reference if you wish, the only problems i had were on the return road.
Re: 4126b and earlier issues with voltage gear lever
Posted: Sat Jul 20, 2013 6:15 pm
by ashford
forgot logs
Re: 4126b and earlier issues with voltage gear lever
Posted: Sun Jul 21, 2013 8:21 am
by Bernard Fife
I'll have a look when I get a chance.
Re: 4126b and earlier issues with voltage gear lever
Posted: Sun Jul 21, 2013 5:50 pm
by Bernard Fife
ashford,
when i flash a new code then inport my msq and before i update my thermistor tables the temp reading is showing about 80 degrees colder than what it actuall is
Yes, that's how it works. You have to update the thermistor table when you flash new code, because the new code overwrites the table with default values.
Your shifting screwed up because the controller didn't know which gear the manual lever was in. You can see this in the log immediately before the shifting issues where the mGear (manual Gear) drops to minus 99, which is a code for no gear pattern found matching the current input states. You need to make sure the controller *always* knows the position of the manual gear lever. The controller can be confused in one of two ways:
1) it receives signals that correctly describe the gear lever inputs, but that don't match any of the user settings (incl. the voltage thresholds), OR
2) the wiring is suspect, and intermittently results in an 'out-of-bounds' condition. Often this is caused by a loose connection.
I think #2 is more likely in most cases.
In your case, in1adc is climbing from 1.932 to 4.177 volts, over the period of confusion, which seems odd and should be addressed. In2adc is steady at 0.0 volts, while in3adc seems to vary more than I would have expected (2.83 to 3.23 Volts) which may or may not be an issue depending on your threshold voltage setting..
Lance.
Re: 4126b and earlier issues with voltage gear lever
Posted: Sun Jul 21, 2013 8:22 pm
by ashford
Lance wrote:ashford,
when i flash a new code then inport my msq and before i update my thermistor tables the temp reading is showing about 80 degrees colder than what it actuall is
Yes, that's how it works. You have to update the thermistor table when you flash new code, because the new code overwrites the table with default values.
Your shifting screwed up because the controller didn't know which gear the manual lever was in. You can see this in the log immediately before the shifting issues where the mGear (manual Gear) drops to minus 99, which is a code for no gear pattern found matching the current input states. You need to make sure the controller *always* knows the position of the manual gear lever. The controller can be confused in one of two ways:
1) it receives signals that correctly describe the gear lever inputs, but that don't match any of the user settings (incl. the voltage thresholds), OR
2) the wiring is suspect, and intermittently results in an 'out-of-bounds' condition. Often this is caused by a loose connection.
I think #2 is more likely in most cases.
the input smoothing introduced in code 4117(?) makes the voltage move very slowly compared to actual input, so of course it will be inbetween threshold for a period of time. the smoothing also makes the voltage settle about .03v from actual, if i approach drive from park it settles on about 1.93v if i approach drive from 2nd it selltes on 1.875. the problem i see is why does it default to the lowest gear(same sol state as neutral) instead of holding the last known good position. also in the log why did tgear go to -99 and hold there when mgear and cgear were solid? i tried 2204 and these problems are not present.
In your case, in1adc is climbing from 1.932 to 4.177 volts, over the period of confusion, which seems odd and should be addressed. In2adc is steady at 0.0 volts, while in3adc seems to vary more than I would have expected (2.83 to 3.23 Volts) which may or may not be an issue depending on your threshold voltage setting..
if you are talking about the last few seconds that is where i put it in park from drive that is the "smoothing" affect i was talking about. in2 is supposed to be used for 3rd gear switch i have not yet implemented it and have grounded the wire.in 3 is unused and is a floating value(no circuit built)
Lance.
Re: 4126b and earlier issues with voltage gear lever
Posted: Mon Jul 22, 2013 6:34 am
by Bernard Fife
Ashford,
There is not supposed to be any smoothing of the signals when the digital inputs are used, so I will have a look at that.
Lance.
Re: 4126b and earlier issues with voltage gear lever
Posted: Mon Jul 22, 2013 6:42 am
by Bernard Fife
Ashford,
Yup, as you pointed out, there was smoothing even when a digital signal was used. This has been removed from the following test code (and will become standard on all future codes if it works properly in testing):
- Monitor_4126c.abs.s19
- Uses standard 4.1267 INI. Untested, so use with caution.
- (71.04 KiB) Downloaded 881 times
That is the only change to this code, so it uses the standard 4.126 INI. This code is entirely untested, so use it only with great caution, and be prepared to revert to older code at any time.
Lance.
Re: 4126b and earlier issues with voltage gear lever
Posted: Mon Jul 22, 2013 8:03 am
by Bernard Fife
The following code has the fix above, plus one line of code (a flag for P/N) removed that may have been causing the gear to not remain in the last state when the gear lever position was indeterminate.:
As before, this code is entirely untested, so use it only with great caution, and be prepared to revert to older code at any time.
Lance.
Re: 4126b and earlier issues with voltage gear lever
Posted: Mon Jul 22, 2013 9:21 am
by ashford
ok i'll give it a brief try tonight, im about to pull the trans to fix a pump leak.
Re: 4126b and earlier issues with voltage gear lever
Posted: Mon Jul 22, 2013 7:07 pm
by ashford
no real change from before in behaviour, the in1adc seems to be a bit less slugishbut still goes to gear 1 when there is a change in mgear.