Feature request - Variable TCC lock up speed.

A forum for discussing applications and implementations of the MegaShift transmission controller code for the GPIO from B&G. This can control up to 8-speeds and 6 shift solenoids (plus a 16x9 table for controlling a PWM line pressure valve). It has manual and fully automatic modes (16x9 load x speed table), with under and over rev-limit protection, and full data logging of all inputs and outputs (among many other abilities). A TransStim to test your completed board is also available.
Bernard Fife
Posts: 1696
Joined: Fri Apr 04, 2008 1:28 pm

Re: Feature request - Variable TCC lock up speed.

Post by Bernard Fife »

Thanks for trying this, I will have a look at the MSQ and log and get back to you when I have this sorted out. Lance.
"Never wrestle with pigs. You both get dirty and the pig likes it." - George Bernard Shaw
Bernard Fife
Posts: 1696
Joined: Fri Apr 04, 2008 1:28 pm

Re: Feature request - Variable TCC lock up speed.

Post by Bernard Fife »

Doddy,

The sp0 in the log shows zero whenever the TCC is off, so that's good. When the TCC is enabled (speed above 50, gear above 3, load under 90, etc.). Then sp0 tries to go on, but instead it 'flickers' as you say. That should be an easy fix - I have some ideas about this. I will dig in the code and post here when I have a solution.

Lance.
"Never wrestle with pigs. You both get dirty and the pig likes it." - George Bernard Shaw
Bernard Fife
Posts: 1696
Joined: Fri Apr 04, 2008 1:28 pm

Re: Feature request - Variable TCC lock up speed.

Post by Bernard Fife »

Doddy,

My apologies! I made an simple cut 'n paste error when putting the spare port updates in (which meant sp0 was shut off whenever sp1 or sp2 should have been shut down). That is fixed in the attached 4.146c test code/INI. Hopefully it will fix the issue. If it doesn't attached another log and I'll keep looking.

Lance.
Attachments
GPIO_MShift_4146.ini
(221.43 KiB) Downloaded 444 times
Monitor_4146c.abs.s19
(73.45 KiB) Downloaded 451 times
"Never wrestle with pigs. You both get dirty and the pig likes it." - George Bernard Shaw
Doddy Fidelis
Posts: 13
Joined: Mon Dec 05, 2011 7:47 am

Re: Feature request - Variable TCC lock up speed.

Post by Doddy Fidelis »

Hi Lance,

Sp0 seems to be ok on bench. Will look forward to test it on the car tomorrow. Just need a little bit of help here. Hehe. Sp1 and Sp2 not seems to be working as commanded.

Regards,
Doddy
Attachments
sp1 sp2 test 2014-09-04_00.56.32.msq
(45.78 KiB) Downloaded 629 times
sp1 sp2 test 2014-09-04_00.56.08.msl
(167.98 KiB) Downloaded 443 times
Doddy Fidelis
Posts: 13
Joined: Mon Dec 05, 2011 7:47 am

Re: Feature request - Variable TCC lock up speed.

Post by Doddy Fidelis »

One more thing, can you lowered the minimum tcc lockup speed to 30kph? Thanks.

Regards,
Doddy
Bernard Fife
Posts: 1696
Joined: Fri Apr 04, 2008 1:28 pm

Re: Feature request - Variable TCC lock up speed.

Post by Bernard Fife »

Doddy,

As much as possible, the limits are in the INI, not the code. So you can adjust the limits with a text editor (notepad.exe, etc.) in any MShift INI file. Open the INI using the test editor and find some lines near line number 255 like:

Code: Select all

#if SI_LENGTHS
  minTCCspeed      = scalar,  U16,   437,                    "kph",     0.16093,    0.00000,     50,    450,        1    ; minimum TCC lock-up speed (metric)
#else
  minTCCspeed      = scalar,  U16,   437,                    "mph",     0.10000,    0.00000,     30,    300,        1    ; minimum TCC lock-up speed (imperial)
#endif
The 50 value is the lower limit for metric use (i.e. 50 kph), 30 for imperial (30 mph). You can edit these to your preferred value(s), save the file, load the INI, and you will be good to go:

Code: Select all

#if SI_LENGTHS
  minTCCspeed      = scalar,  U16,   437,                    "kph",     0.16093,    0.00000,     30,    450,        1    ; minimum TCC lock-up speed (metric)
#else
  minTCCspeed      = scalar,  U16,   437,                    "mph",     0.10000,    0.00000,     20,    300,        1    ; minimum TCC lock-up speed (imperial)
#endif
I have done this in the attached INI for 4.146:
GPIO_MShift_4146.ini
(221.43 KiB) Downloaded 496 times
This will be carried forward for all future INIs.

Lance.
"Never wrestle with pigs. You both get dirty and the pig likes it." - George Bernard Shaw
Post Reply