Page 2 of 3
Re: 4th Gear Slip under load
Posted: Mon Dec 01, 2014 10:43 pm
by thatswagenwagen
Ok, replaced TIP 120s and same exact problem persists..
Dont know what to do now so I made a clutch button to ground the pressure drop solenoid and a 4th gear switch to ground the 4th solenoid
The TCM says it is properly adjusting the ground signals but the outputs stay always grounded..
Any ideas? Heres my msq if anyone sees anything that would cause this to happen
Thanks!
Sam
Re: 4th Gear Slip under load
Posted: Tue Dec 02, 2014 7:55 am
by Bernard Fife
ttw,
If the SP1% is reporting properly, the problem is unlikely to be with the code or the settings. That's because the SP1% value is derived solely from the current state of the PWM period for SP1. So it almost certainly does reflect the actual state of the output pin, unless the processor pin has been damaged (possibly by flyback voltage when running without a recirculation diode) or the code is corrupt. As a check, dd you try the code I posted?
If this was mine, I would put a scope on the 25x2 header for SP1 (PT7/VB1) to verify the processor is producing the correct output. If you have a scope, that's the thing to try next.
If you don't have a scope, you should look over the circuit very, very carefully (including the AMP connector soldering and wiring) to look for any shorts, then you should probably re-load the code.
If that doesn't work, I would desolder the PT7-VB1 jumper wire at one end, and tape it up so it can't contact anything on the board. That should prevent the VB1 circuit from grounding. If the circuit still grounds your device, you definitely have a problem in the circuit or the wiring (or the device itself).
If none of that works, and another spare port is free, you might try using it instead.
Lance.
Re: 4th Gear Slip under load
Posted: Tue Dec 02, 2014 12:38 pm
by Bernard Fife
ttw,
I believe I may have found an issue with the spare ports. I don't think this is directly related to your issue, but it might be. I will put a fix in the code and post it here shortly.
Lance.
Re: 4th Gear Slip under load
Posted: Tue Dec 02, 2014 1:50 pm
by Bernard Fife
tww,
Okay, here is some code you might try:
This code fixes a few issues:
- the PWM% value was only being updated when the On/Off condition(s) was met, and
- when PWM'd, the off condition would sometimes hang in the 100% on state (and this might be what was causing your issue, though it only happened about 20% of the time on my bench).
BTW, I was wrong above about the PWM state being observed directly, that is only true for sp0 and sp3 at this point. sp1 and sp2 are bit-banged, so there is some calculation involved.
Lance.
Re: 4th Gear Slip under load
Posted: Tue Dec 02, 2014 6:35 pm
by thatswagenwagen
Okay thanks Lance I will try the new code. The last time I attempted this code the pressure control wouldn't reflect the instantaneous value on the table due to some type of smoothing input. The spare inputs also did not work with V5, but this was 2 weeks ago and I will try the new code posted.
And I have an Oscope so that will be next if this doesn't work... the clutch button is holding in there lol
As always, thanks for the support
Sam
Re: 4th Gear Slip under load
Posted: Wed Dec 03, 2014 7:29 am
by Bernard Fife
Sam,
I'll have a look at the pressure control delay. Obviously that's not the way it's intended to operate!
Lance.
Re: 4th Gear Slip under load
Posted: Wed Dec 03, 2014 7:50 am
by Bernard Fife
Sam,
You were exactly right about the problem with the PC duty cycle. It was being set according to the short-term load average, rather than the instantaneous load. That is fixed in the attached code (and all future codes, of course!). Thanks for spotting this and bringing it up.
(same as most recent INI for 5.095t3)
This problem, and many of the other little problems, spring out of substantially re-arranging the interrupts to accommodate the new serial format (the infrastructure is in place in the 5.09x code, but will only be implemented in the otherwise identical 6.09x codes due soon). The new serial format will be worth implementing (it will make the MShift code more compatible with TS and MS3 and B&G microsquirt code). The opportunity was taken to also make the interrupts run more efficiently. But the degree of changes meant that there was bound to be some teething issues, unfortunately. Please accept my apologies for the hassle.
Lance.
Re: 4th Gear Slip under load
Posted: Thu Dec 04, 2014 2:05 pm
by thatswagenwagen
Lance,
Awesome I will go out to the cabby and try this code now. If the Spare ports still don't work I'll have to wait until tomorrow to do the scope test.
Sam
Re: 4th Gear Slip under load
Posted: Mon Dec 08, 2014 10:15 am
by thatswagenwagen
Update:
Loaded up the code you gave me, the PC looks good, but now the spare port 1 (clutch) is acting real strange... it blips on for a split second every time I shift, but does not stay applied for the entirety of the shift.
Very odd.. I am uploading my tune and the data log now. And it took me 4 days to do this because my MegaSquirt started to misfire
Sam
Re: 4th Gear Slip under load
Posted: Mon Dec 08, 2014 11:43 am
by Bernard Fife
Sam,
Okay, I must have messed something up. I will have a look and post corrected code here shortly.
Lance.