I've got a 99 LC with 300k+ miles. Runs great. I've been foolin around with electronics lately including building amps, designing my own power supplies, buffer circuits, vu meter circuits, etc. I was driving around the other day thinking about torque converter lockup, and driving up and down the canyons of Utah. I thought it would be fun to build a circuit that would allow a more aggressive lockup profile than that of the stock ECUs. I have come up with a circuit that would let you flip a switch to engage an arduino driven lockup controller.
With switch disengaged, system would operate factory. With switch engaged, a programmable arduino would control lockup. for a 99 with the 4 speed a343f it would affect 3rd and 4th gears It would let me define via code the speed at which the lockup ocurrs in 3rd and 4th gear. Furthermore, failsafes are designed into the circuit so that if it fails, blows a transistor, or some component in the unit fails, it defaults to factory control.
The goal here is to have a transmission that behaves like factory with earlier and more consistent lockup in 3rd and 4th above a set speed. Want to avoid lugging, avoid stalling, but feel more connected to the wheels driving around. I don't tow very often either, so for those with heavy trucks or who do tow regularly, I would be interested in your thoughts on the behavior profile below. Nice thing is that with an arduino, we can make lots of changes to the code to control the behavior, and in theory, we can add another switch to change profiles, if we like a profile for towing, and another for just cruisin around.
Id be interested in any feedback before I ship the file out to have PCBs made. I will likely use this project as a good learn to use the new 3d printer that arrives here for xmas.
Here is a rough breakdown of how I have been thinking to set it up.
The sketch works out the gear from the two shift-solenoid wires (S1 and S2). It works out speed from the speed-sensor pulses.
With switch disengaged, system would operate factory. With switch engaged, a programmable arduino would control lockup. for a 99 with the 4 speed a343f it would affect 3rd and 4th gears It would let me define via code the speed at which the lockup ocurrs in 3rd and 4th gear. Furthermore, failsafes are designed into the circuit so that if it fails, blows a transistor, or some component in the unit fails, it defaults to factory control.
The goal here is to have a transmission that behaves like factory with earlier and more consistent lockup in 3rd and 4th above a set speed. Want to avoid lugging, avoid stalling, but feel more connected to the wheels driving around. I don't tow very often either, so for those with heavy trucks or who do tow regularly, I would be interested in your thoughts on the behavior profile below. Nice thing is that with an arduino, we can make lots of changes to the code to control the behavior, and in theory, we can add another switch to change profiles, if we like a profile for towing, and another for just cruisin around.
Id be interested in any feedback before I ship the file out to have PCBs made. I will likely use this project as a good learn to use the new 3d printer that arrives here for xmas.
Here is a rough breakdown of how I have been thinking to set it up.
The basic idea
The controller sits in the SL wire, the lock-up solenoid line between the ECM and the transmission, using one relay (K1) with two switches inside.- Relay off: the ECM's SL signal passes straight through to the transmission. The truck is completely stock, including the factory's own lock-up whenever the ECM asks for it.
- Relay on: the solenoid is fed directly from the fused 12 V, so the converter is locked whatever the ECM wants. Meanwhile the ECM's SL output is connected to the 15 Ω dummy load, so it sees a normal solenoid and doesn't set a fault.
When it locks
The relay turns on only after all of these have been true for 1 second, and it turns off the instant any one fails:| Condition | Setting |
|---|---|
| Dash switch on | (on the new board it also physically cuts power to the relay coil) |
| Not in 4-Low | |
| Gear is 3rd or 4th | 2nd is off by default |
| Speed high enough | 3rd: 30 mph or more. 4th: 40 mph or more. Once locked, it holds down to 3 mph below that. |
| Brake released | for 0.5 s; the brake also cuts the relay directly in hardware |
| No gear change | for 0.75 s |
| ECM hasn't just released its own lock-up | for 0.75 s |
| Startup | 2 s after power-up |
How the truck behaves in different conditions
These assume the speed reading has been calibrated, which is covered below.| Situation | What happens |
|---|---|
| Starting, around town under 30 mph | Stock. The relay stays off and the ECM controls lock-up as normal. |
| Accelerating up through the gears | 1st and 2nd never lock. Every gear change drops lock-up as soon as the shift-solenoid signals change. It re-locks about 1.8 s later if the conditions still hold. |
| Highway cruise in 4th, 40+ mph | Locks after 1 s and the LED goes solid. RPM drops a little and the transmission fluid runs cooler. It stays locked down to 37 mph (27 mph in 3rd). |
| Braking | Unlocks immediately: the brake circuit cuts the relay even if the Arduino has frozen. It re-locks 1.5 s after you let off, if you're still above the speed limit. A tap to cancel cruise control gives a short unlock. |
| Part-throttle kickdown, 4th to 3rd | The ECM usually releases its own lock-up just before it downshifts. The controller follows that, unlocks, waits through the shift, then re-locks in 3rd if you're at 30 mph or more. |
| Kickdown when the ECM wasn't asking for lock-up | The controller only sees the downshift once the shift solenoids switch. The relay drops in about 10 ms, but the shift starts with the converter still letting go, so this kickdown may feel firmer. |
| Heavy throttle, a grade or towing in 4th | |
| Lifting off the throttle in 4th | If the ECM drops lock-up when you close the throttle, you'll feel a short unlock and RPM rise for about 1.75 s, then it re-locks. That gives a bit more engine braking on long downhills. Setting FOLLOW_ECM_DROP = false removes the blip. Why would we want to drop lock up when we let off the throttle if we are going... 60mph? Not sure we do.... |
| Overdrive switched off | The truck tops out in 3rd, and it will lock in 3rd at 30 mph or more. That's useful for towing. |
| Lever in 2 or L | Only 1st and 2nd are possible, so it never locks. |
| 4-Low | Never locks, and the LED blinks fast. |
| Cold engine | It doesn't know the coolant temperature, so it will lock while the engine is still cold, where the factory ECM would wait. That's a driveability issue, not a safety one. |
| Speed sensor fails | Speed reads as 0, so it never locks. That's the safe direction. |
| Arduino freezes or loses power | A watchdog resets the Arduino within 0.5 s. A resistor holds the relay driver off while it restarts, so the truck goes back to stock. |
| Brake wire broken | Both the hardware and software brake cuts are lost. It still unlocks once speed drops below the limit or the ECM downshifts, so it won't stall the engine, but it won't unlock when you press the brake. |
| Shift-solenoid tap broken | Gear reads higher than it really is. For example, 2nd can read as 3rd and lock at 30 mph or more. Bench-test this and check the gear readout on the first drive. |