4126b and earlier issues with voltage gear lever
4126b and earlier issues with voltage gear lever
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
- Attachments
-
- capri.zip
- (732.47 KiB) Downloaded 873 times
-
- Posts: 1696
- Joined: Fri Apr 04, 2008 1:28 pm
Re: 4126b and earlier issues with voltage gear lever
-
- Posts: 1696
- Joined: Fri Apr 04, 2008 1:28 pm
Re: 4126b and earlier issues with voltage gear lever
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.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
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
Lance wrote:ashford,
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.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
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.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.
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)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.
- Attachments
-
- 2204logs.zip
- (92.54 KiB) Downloaded 870 times
-
- Posts: 1696
- Joined: Fri Apr 04, 2008 1:28 pm
Re: 4126b and earlier issues with voltage gear lever
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.
-
- Posts: 1696
- Joined: Fri Apr 04, 2008 1:28 pm
Re: 4126b and earlier issues with voltage gear lever
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):
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.
-
- Posts: 1696
- Joined: Fri Apr 04, 2008 1:28 pm
Re: 4126b and earlier issues with voltage gear lever
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
Re: 4126b and earlier issues with voltage gear lever
- Attachments
-
- 2013-07-23_00.25.38.msl
- (743.75 KiB) Downloaded 897 times