trans control - megasquirt.co.ukmegasquirt.co.uk/doc/pdf/trans_control-0022-2014-10-27.pdf · trans...

47
Trans Control "Microsquirt trans firmware" Dated: 2014-10-27 Microsquirt GPIO MS2 This version of the documentation applies to: MicroSquirt V3 MS2 on a V3 or V357 mainboard GPIO board running AND Running firmware "Trans controller 0.022" or later (not Mshift) Does not apply to other Megasquirt products or other firmware versions. Please report any errors or omissions to [email protected] (c) 2014 James Murray

Upload: lehuong

Post on 08-Apr-2018

220 views

Category:

Documents


3 download

TRANSCRIPT

Page 1: Trans Control - megasquirt.co.ukmegasquirt.co.uk/doc/pdf/Trans_Control-0022-2014-10-27.pdf · Trans Control "Microsquirt trans firmware" Dated: ... 3.2 Grounding (Earthing ... The

Trans Control

"Microsquirt trans firmware"

Dated: 2014-10-27

Microsquirt GPIO MS2

This version of the documentation applies to:

• MicroSquirt V3

• MS2 on a V3 or V357 mainboard

• GPIO board running

AND

• Running firmware "Trans controller 0.022" or later (not Mshift)

Does not apply to other Megasquirt products or other firmware versions.

Please report any errors or omissions to [email protected]

(c) 2014 James Murray

Page 2: Trans Control - megasquirt.co.ukmegasquirt.co.uk/doc/pdf/Trans_Control-0022-2014-10-27.pdf · Trans Control "Microsquirt trans firmware" Dated: ... 3.2 Grounding (Earthing ... The

Trans control setting up and hardware

Table of Chapters1 Introduction..............................................................................................................................52 Transmission System Hardware.............................................................................................73 Wiring and Sensors.................................................................................................................94 TCU Wiring Tables.................................................................................................................195 Transmission Specific Wiring................................................................................................266 Software................................................................................................................................297 Revision history.....................................................................................................................46

(c) 2014 James Murray 2014-10-27 Page 2/47

Page 3: Trans Control - megasquirt.co.ukmegasquirt.co.uk/doc/pdf/Trans_Control-0022-2014-10-27.pdf · Trans Control "Microsquirt trans firmware" Dated: ... 3.2 Grounding (Earthing ... The

Trans control setting up and hardware

Contents1 Introduction..............................................................................................................................5

1.1 Emissions and disclaimer................................................................................................51.2 Required tools..................................................................................................................51.3 How to use this manual....................................................................................................5

2 Transmission System Hardware.............................................................................................72.1 Overview..........................................................................................................................72.2 Trans controller (TCU) installation...................................................................................72.3 Wiring Harness and fuses................................................................................................72.4 Sensor Inputs...................................................................................................................82.5 Speed Sensor Input.........................................................................................................82.6 Outputs.............................................................................................................................82.7 Tuning interface................................................................................................................8

3 Wiring and Sensors.................................................................................................................93.1 Best Practices..................................................................................................................9

3.1.1 Wire and connector choice.......................................................................................93.1.2 Soldering or crimping................................................................................................93.1.3 Re-pinning AMPSEAL...............................................................................................93.1.4 Fusing.......................................................................................................................93.1.5 Making the harness..................................................................................................93.1.6 4-pin relay pin-out note.............................................................................................93.1.7 Relay and accessory power routing.......................................................................10

3.2 Grounding (Earthing) Schemes.....................................................................................103.3 Inputs..............................................................................................................................12

3.3.1 Speed sensor inputs...............................................................................................123.3.2 MAP (Manifold Absolute Pressure) sensor.............................................................123.3.3 Transmission temperature sensor..........................................................................133.3.4 Engine Temperature (CLT) sensor..........................................................................153.3.5 TPS (Throttle Position Sensor)...............................................................................163.3.6 Brake Switch input..................................................................................................163.3.7 CAN comms............................................................................................................17

3.4 Outputs...........................................................................................................................174 TCU Wiring Tables.................................................................................................................19

4.1 Microsquirt V1 and V2 wiring scheme...........................................................................194.2 Microsquirt V3 trans wiring.............................................................................................204.3 MS2/V3.0 trans wiring....................................................................................................214.4 GPIO trans wiring...........................................................................................................24

5 Transmission Specific Wiring................................................................................................265.1.1 GM 4L80E...............................................................................................................265.1.2 GM 4L60E...............................................................................................................275.1.3 Other applications...................................................................................................28

6 Software................................................................................................................................296.1 Firmware........................................................................................................................29

6.1.1 Installing firmware...................................................................................................296.2 Get your tuning computer to talk to the ECU.................................................................32

(c) 2014 James Murray 2014-10-27 Page 3/47

Page 4: Trans Control - megasquirt.co.ukmegasquirt.co.uk/doc/pdf/Trans_Control-0022-2014-10-27.pdf · Trans Control "Microsquirt trans firmware" Dated: ... 3.2 Grounding (Earthing ... The

Trans control setting up and hardware

6.2.1 TunerStudio Tooltips...............................................................................................366.3 Tuning menus.................................................................................................................36

6.3.1 Tools menu..............................................................................................................366.3.2 Trans Controller Setup............................................................................................396.3.3 Shift Curves............................................................................................................436.3.4 Line Pressure..........................................................................................................446.3.5 Test Mode...............................................................................................................44

7 Revision history.....................................................................................................................46

(c) 2014 James Murray 2014-10-27 Page 4/47

Page 5: Trans Control - megasquirt.co.ukmegasquirt.co.uk/doc/pdf/Trans_Control-0022-2014-10-27.pdf · Trans Control "Microsquirt trans firmware" Dated: ... 3.2 Grounding (Earthing ... The

Trans control setting up and hardware

1 IntroductionThe Transmission control system is primarily targetted at the Microsquirt hardware, but may also be implemented on GPIO or MS2. This manual applies to all versions.

1.1 Emissions and disclaimerAll parts are sold for OFF ROAD RACE-ONLY ground-vehicle use only, or vehicles that pre-date any federal and state emissions control requirements. Aftermarket EFI/EMS systems are not for sale or use on pollution controlled vehicles. Alteration of emission related components constitutes tampering under the US EPAguidelines and can lead to substantial fines and penalties. Your country/state/district may also have specific rules restricting your tampering with your vehicle’s emissions system.

Race parts are inherently dangerous and may cause injury or damage if improperly modified or altered before use. The publishers of this manual will not be held liable for and will not pay you for any injuries or damage caused by misuse, modification, redesign, or alternation of any of our products. The publishers of this manual will not be held in any way responsible for any incidental or consequential damages including direct or indirect labor, towing, lodging, garage, repair, medical, or legal expense in any way attributable to the use of any item in our catalog or to the delay or inconvenience caused by the necessity of replacing or repairing any such item.

1.2 Required toolsTuning laptop

Stroboscopic timing light

Multi-meter (volts, ohms)

Screwdrivers

Wire cutters

Terminal crimpers

Soldering iron and solder

Heat-shrink tubing

Fire extinguisher

Although not essential, the following are highly recommended:

Oscilloscope or scope-meter or soundcard scope

Test light

Power probe

1.3 How to use this manualCustomers new to EFI are advised to read all of sections 1-5 as these cover some fundamental concepts and give an overview of how to connect up the various EFI components.

More experienced customers can likely skim through sections 1-5.

Section 3.3 is the external wiring diagram, you should print that out.

This guide includes a number of notes which are indicated as follows:

(c) 2014 James Murray 2014-10-27 Page 5/47

Page 6: Trans Control - megasquirt.co.ukmegasquirt.co.uk/doc/pdf/Trans_Control-0022-2014-10-27.pdf · Trans Control "Microsquirt trans firmware" Dated: ... 3.2 Grounding (Earthing ... The

Trans control setting up and hardware

This symbol indicates an “Information” note.

This symbol indicates a “Caution” note.

This symbol indicates a “Warning” note.

Installing or tuning your Microsquirt incorrectly can potentially cause damage to your engine, the Microsquirt or external hardware. Warning notes indicate specific areas where you need to exercise extreme care.

Do not rely on these warnings as your only criteria for taking care !

For additional help and support, visit the website www.msextra.com

(c) 2014 James Murray 2014-10-27 Page 6/47

Page 7: Trans Control - megasquirt.co.ukmegasquirt.co.uk/doc/pdf/Trans_Control-0022-2014-10-27.pdf · Trans Control "Microsquirt trans firmware" Dated: ... 3.2 Grounding (Earthing ... The

Trans control setting up and hardware

2 Transmission System Hardware

2.1 Overview The transmission controller receives signals from the various input sensors and then controls the solenoid outputs to operate the automatic transmission.

Most of the connections will be to the transmission itself. A few additional connections to the engine or main ECU are also required.

For engines running Megasquirt, a simple 2-wire CAN connection allows the sensor data to be shared.

For engines that have different fuel injection installed, you will likely be able to tap into the existing sensors.

For engines that do not have existing fuel injection, review the available options in this manual and select the most suitable components to complete your install.

2.2 Trans controller (TCU) installationThe Megasquirt products uses automotive grade electronic components internally, however, they are not designed to be installed in the engine compartment. Typically they will be installed under the dash in a car or under the seat on a bike - but away from direct engine temperatures. The temperature must not exceed 185°F (85°C.)

For reference, the dimensions of the Microsquirt mounting hole pattern are 4.20" by 2.14" (107 x 54mm). The hole diameters are 0.20" (5mm.) If full water resistance is desired, the case can be dismantled and sealed with a silicone sealant. The wiring plug (AMPSEAL) is an automotive grade sealed connector.

2.3 Wiring Harness and fusesAt this point in time, the transmission controllers are available with "pigtail" wiring harness for you to splice into

(c) 2014 James Murray 2014-10-27 Page 7/47

Page 8: Trans Control - megasquirt.co.ukmegasquirt.co.uk/doc/pdf/Trans_Control-0022-2014-10-27.pdf · Trans Control "Microsquirt trans firmware" Dated: ... 3.2 Grounding (Earthing ... The

Trans control setting up and hardware

the existing wiring on your transmission.

In the future "drop-on" wiring may be available.

2.4 Sensor InputsThe sensor inputs provide the TCU with information about current engine operating conditions and are used to calculate the solenoid outputs.

The primary inputs are engine speed sensor, speed sensor, gear selector position and TPS/MAP sensor.

2.5 Speed Sensor InputThe TCU needs a connection to read vehicle speed. On most transmissions this is integral with the output shaft,but some installs may have a connection on a transfer case, differential or on the wheel hub.

2.6 OutputsThe primary outputs are the shift, line pressure and convertor lock-up solenoids.

2.7 Tuning interfaceThe Megasquirt products use an RS232 interface for tuning. Your computer will likely require a USB-serial adapter also. Adapter cables based on the FTDI chipset are recommended - some customers have reported unreliability with Prolific based cables.

(c) 2014 James Murray 2014-10-27 Page 8/47

Page 9: Trans Control - megasquirt.co.ukmegasquirt.co.uk/doc/pdf/Trans_Control-0022-2014-10-27.pdf · Trans Control "Microsquirt trans firmware" Dated: ... 3.2 Grounding (Earthing ... The

Trans control setting up and hardware

3 Wiring and SensorsA main step in your TCU installation is connecting up the wiring. Be sure to follow the guidance here to avoid common mistakes that will often lead to problems.

3.1 Best Practices

3.1.1 Wire and connector choiceFor many first-time users, it may be tempting to re-use old connectors and wiring. While this may sometimes be cost-effective, beware of false economy. Using fresh connectors and suitable automotive grade wiring can save many a headache. Be particularly aware of using wire or components that are not temperature rated high enough, engines get HOT and the insulation on sub-standard wires can melt or degrade leading to erratic connections or short circuits. All components must be rated for 105°C / 220°F as a minimum.

There are many suppliers dedicated to supplying the required items to construct wiring harnesses.

3.1.2 Soldering or crimpingThis is mainly down to personal choice, some installers prefer a soldered joint, others swear that crimped connections are superior. The key task is to make a reliable connection.

In your wiring harness you will need to ensure that all joints are effective both electrically and mechanically. Always test by tugging on the wires to ensure that they are not loose. Use heat-shrink tubing over connections to insulate them and prevent shorts.

With the correct crimpers, uninsulated crimp terminals with a slide on cover will usually give a more professionaland reliable connection than pre-insulated type crimp connectors.

Don't even think about using scotch blocks - they are bad enough for installing a radio or trailer plug!

3.1.3 Re-pinning AMPSEALOptionally, to create the smallest wiring harness possible, the AMPSEAL connector may be carefully dismantled and unused spare wires removed. Generally it is advised to leave spare wires in place with the ends taped up.

Removing wires from the AMPSEAL connector will make it non-sealed, so this should not be done when the sealing is required.

3.1.4 FusingIt is required that the system be fused - as shown in the general wiring diagram. Remember that an automotive battery is capable of supplying hundreds of amps into a short circuit which can easily melt wires or start a fire. Appropriate fuses can help reduce this risk and save component damage.

If there is a risk of the connections becoming damp then it can be worth applying petroleum jelly (e.g. Vaseline) to the connections to slow the corrosion.

3.1.5 Making the harnessWhen building the wiring harness, it is strongly advised to run all cables first before attaching ends. Neaten up the cable runs and wrap or otherwise attach in place. Only once all the lengths are known and everything is in place should ends be crimped. It also helps to make the wiring in one direction. i.e. work inwards towards the ECU or outwards towards the accessories - not both.

3.1.6 4-pin relay pin-out noteBe aware that there are two incompatible "standards" for four-pin automotive relays. Mixing them up will usually cause a short-circuit in your wiring harness. The type where pin 85 is opposite 86 is preferred as this is the

(c) 2014 James Murray 2014-10-27 Page 9/47

Page 10: Trans Control - megasquirt.co.ukmegasquirt.co.uk/doc/pdf/Trans_Control-0022-2014-10-27.pdf · Trans Control "Microsquirt trans firmware" Dated: ... 3.2 Grounding (Earthing ... The

Trans control setting up and hardware

same as 5-pin relays.

It is highly recommended to use relay-bases, these are easier to mount, look tidier and there is no problem of mixing up the wires if a relay is unplugged.

3.1.7 Relay and accessory power routingAny relays, solenoids or lamps operated by the TCU must only be powered when the TCU is on. Typically it is easiest to take their power from the "fuel pump relay" of the main ECU so they are only powered when the engine is running. Miswiring accessories can cause power to backfeed into the TCU causing unexpected behaviour.

3.2 Grounding (Earthing) Schemes

Implementing a correct grounding scheme is critical to a successful TCU install.

Connecting sensors to the wrong ground, using corroded ground points or dubious original wiring are sure-fire ways to give you a headache.

There are two key rules:

1. All sensors must ground at the TCU

2. Ground the TCU at the engine block/head using all available power ground wires.

Reasoning:

When a current flows through a wire there is always a voltage drop, the bigger the current, the bigger the drop (this is ohm's law.) During cranking there is a very large current flowing through the ground strap from battery to engine and perhaps a few volts may be dropped across it. Even during running, a number of amps will flow through the TCU grounds to the engine.

The sensors (coolant, air temp, throttle position, wideband, tach input) all use low current, low voltage signals. The TCU measures the voltage from the sensor and converts it into a temperature, position etc. reading. If that sensor is grounded to anything other than the ECU itself, then that input voltage will be altered by any external voltage drops. For a sensitive measurement this can be a real problem.

Speed input sensors are also sensitive and may show a false speed in the case of poor grounding.

The following two diagrams illustrate good and bad wiring schemes showing where the troublesome voltage drops are created and how that would cause sensor readings to be garbage.

(c) 2014 James Murray 2014-10-27 Page 10/47

Page 11: Trans Control - megasquirt.co.ukmegasquirt.co.uk/doc/pdf/Trans_Control-0022-2014-10-27.pdf · Trans Control "Microsquirt trans firmware" Dated: ... 3.2 Grounding (Earthing ... The

Trans control setting up and hardware

If re-using or splicing into OEM wiring, do not assume that their wiring is OK. Always follow the above principles.

As a check, with the TCU connector unplugged, ensure that the sensor grounds have no continuity to

(c) 2014 James Murray 2014-10-27 Page 11/47

Page 12: Trans Control - megasquirt.co.ukmegasquirt.co.uk/doc/pdf/Trans_Control-0022-2014-10-27.pdf · Trans Control "Microsquirt trans firmware" Dated: ... 3.2 Grounding (Earthing ... The

Trans control setting up and hardware

engine/body ground. Your sensor readings will be junk if they do have continuity - the sensors must ground at the TCU only.

3.3 Inputs

3.3.1 Speed sensor inputsMost transmissions use an inductive (VR) type speed sensor that takes a single from an internal reluctor wheel ("tone ring"). This input is essential.

3.3.2 MAP (Manifold Absolute Pressure) sensor

This sensor measures air pressure on absolute scale where zero is a complete vacuum and sea-level ambient pressure is around 101kPa.

This sensor is optionally used as a load input. (The TCU requires either TPS or MAP for load.)

When using a Megasquirt to operate the engine, use the CAN interface instead of directly wiring the MAP sensor.

The sensor has three wires, 5V supply (TPSVREF), Ground (sensor ground return) and signal. It sends a 0-5V signal back to the TCU.

The pressure barb is connected to a full-vacuum source at the intake manifold. When tapping into any existing vacuum ports on a throttle body be sure to select one that gives full vacuum when the throttle is closed. (i.e. not a "ported vacuum" source that would connect to a distributor.)

The GM sensors are designed to be installed on the engine, Northstar and LS1 style sensors clip directly into the top of the plastic intake.

(c) 2014 James Murray 2014-10-27 Page 12/47

Page 13: Trans Control - megasquirt.co.ukmegasquirt.co.uk/doc/pdf/Trans_Control-0022-2014-10-27.pdf · Trans Control "Microsquirt trans firmware" Dated: ... 3.2 Grounding (Earthing ... The

Trans control setting up and hardware

0 50 100 150 200 250 3000

1

2

3

4

5

MAP sensor response

Absolute pressure kPa

Vo

ltag

e

3.3.3 Transmission temperature sensor

This sensor measures the temperature of the fluid in the transmission and can be used to alter lockup and shift behaviour.

The temperature sensor is a variable resistor (a thermistor). Higher temperatures give a lower resistance, the response is non-linear.

The connections to the temperature sensor will be in the transmission multi-plug.

-40 10 60 110 160 210 260 3100

20000

40000

60000

80000

100000

120000

Temperature sensor resistance

Temperature (degF)

Re

sist

an

ce (

oh

ms)

The red dots are the three standard calibration points for GM sensors.

(c) 2014 James Murray 2014-10-27 Page 13/47

Page 14: Trans Control - megasquirt.co.ukmegasquirt.co.uk/doc/pdf/Trans_Control-0022-2014-10-27.pdf · Trans Control "Microsquirt trans firmware" Dated: ... 3.2 Grounding (Earthing ... The

Trans control setting up and hardware

The TCU uses a circuit to convert the resistance into a voltage that it measures.

-40 10 60 110 160 210 260 3100

0.5

1

1.5

2

2.5

3

3.5

4

4.5

5

Temperature sensor signal at ECU

Temperature (degF)

Vo

ltag

e (

V)

Sensor calibration

TunerStudio includes many predefined calibration curves to select from, but for other "unknown" sensors the three calibration points can be determined.

The manual calibration process requires the use of a multimeter set to measure resistance and ideally a thermometer. Without a thermometer your calibration will be fairly close but not perfect.

(c) 2014 James Murray 2014-10-27 Page 14/47

Page 15: Trans Control - megasquirt.co.ukmegasquirt.co.uk/doc/pdf/Trans_Control-0022-2014-10-27.pdf · Trans Control "Microsquirt trans firmware" Dated: ... 3.2 Grounding (Earthing ... The

Trans control setting up and hardware

1. Set the meter to ohms and connect the meter to the two terminals on the MAT or CLT sensor.

2. Allow the sensor to reach room temperature.

3. Take the resistance reading.

4. Measure room temperature using a thermometer (typically 20°C / 68°F)

5. Place the end of the sensor in a mixture of ice melting in water and allow it to stabilise.

6. Take the resistance reading.

7. Measure the ice/water temperature using a thermometer (typically 0°C / 32°F)

8. Place the end of the sensor in a pan of boiling water and allow it to stabilise.

9. Take the resistance reading.

10. Measure the boiling water temperature using a thermometer (typically 100°C / 212°F)

You now have the three calibration points for TunerStudio.

For a GM sensors these should be close to:

Where °C °F Ohms

Ice/water 0 32 9441

Room temp. 20 68 3518

Boiling water 100 212 172

Note that the default calibration data in TunerStudio goes down to -40° but that's rather difficult to measure in the normal workshop.

3.3.4 Engine Temperature (CLT) sensor

This external sensor measures the temperature of the engine coolant (or cylinder head for air-cooled engines.) Itis not currently used by the TCU software.

The coolant temperature is a thermistor and works in the same way as the air temperature sensor.

When using a Megasquirt to operate the engine, use the CAN interface instead of directly wiring the engine CLTsensor.

(c) 2014 James Murray 2014-10-27 Page 15/47

Page 16: Trans Control - megasquirt.co.ukmegasquirt.co.uk/doc/pdf/Trans_Control-0022-2014-10-27.pdf · Trans Control "Microsquirt trans firmware" Dated: ... 3.2 Grounding (Earthing ... The

Trans control setting up and hardware

A good sensor will have two wires, one wire connects to sensor ground, the other to the CLT input on the ECU.

One-wire sensors are not recommended.

3.3.5 TPS (Throttle Position Sensor)

This external sensor measures the position of the throttle plate. It is a variable resistor (potentiometer) and sends a 0-5V signal back to the TCU. The sensor has three wires, 5V supply (TPSVREF), Ground (sensor ground return) and signal. The TCU converts the signal to a 0-100% scale using your calibration numbers. 0% corresponds to fully closed, 100% to fully open.

This sensor is optionally used as a load input. (The TCU requires either TPS or MAP for load.)

When using a Megasquirt to operate the engine, use the CAN interface instead of directly wiring the TPS.

3.3.6 Brake Switch input The optional brake-switch input is used to unlock the convertor during braking for smoother operation. On the Microsquirt the "FLEX" input is used.

(c) 2014 James Murray 2014-10-27 Page 16/47

Page 17: Trans Control - megasquirt.co.ukmegasquirt.co.uk/doc/pdf/Trans_Control-0022-2014-10-27.pdf · Trans Control "Microsquirt trans firmware" Dated: ... 3.2 Grounding (Earthing ... The

Trans control setting up and hardware

3.3.7 CAN comms The CANH/L wires are used to connect the TCU to a master Megasquirt ECU to share data and reduce redundant wiring.

The following diagram illustrates the basic CAN wiring principles. The 120R terminating resistor is included inside the Megasquirt and Microsquirt. If just two devices are connected together, no additional resistors are required.

3.4 OutputsThe main outputs from the TCU are low-side drivers for the transmission solenoids. Refer to the wiring tables forexact connections.

(c) 2014 James Murray 2014-10-27 Page 17/47

Page 18: Trans Control - megasquirt.co.ukmegasquirt.co.uk/doc/pdf/Trans_Control-0022-2014-10-27.pdf · Trans Control "Microsquirt trans firmware" Dated: ... 3.2 Grounding (Earthing ... The

Trans control setting up and hardware

(c) 2014 James Murray 2014-10-27 Page 18/47

TCU

12V

Solenoidvalve

Low-sideoutput

Page 19: Trans Control - megasquirt.co.ukmegasquirt.co.uk/doc/pdf/Trans_Control-0022-2014-10-27.pdf · Trans Control "Microsquirt trans firmware" Dated: ... 3.2 Grounding (Earthing ... The

Trans control setting up and hardware

4 TCU Wiring TablesEach hardware variant has its own wiring table, be sure to refer to the correct one! Transmission wiring is covered in the next section.

4.1 Microsquirt V1 and V2 wiring schemeThe V1 and V2 Microsquirts used an extruded metal case. They are now superceded by the plastic cased V3 version. The information is provided here for customers wishing to use the older product.

To use the Microsquirt V1 or V2 as a transmission controller, no internal modifications or customisation is required, but some external resistors are required in the wiring.

Pin# Name Color In/Out Function Maxcurrent

1 +12V In Red In Main power feed < 1A

2 CANH Blue/Yellow Comms CAN communications -

3 CANL Blue/Red Comms CAN communications -

4 VR2+ VR2 In Engine speed signal. Connect to tacho or crank sensor.

-

5 SPAREADC2 (MAF) Pink/Black In Spare analogue input -

6 FLEX Purple/White In Brake switch GND signal. Do not apply 12V to this pin.

-

7 FIDLE Green Out Solenoid B 3A

8 FP (pump) Purple Out Solenoid A 3A

9 INJ 1 Thick Green Out TCC (LU) Solenoid 5A

10 INJ 2 Thick Blue Out EPC solenoid 5A

11 SPK B (IGN2) *1 Thick White/Red Out 3-2 Solenoid 0.02A

12 SPK A (IGN 1) Thick White Out Not used 0.02A

13 RX - Comms RS232 communications -

14 TX - Comms RS232 communications -

15 BOOT LOAD Purple/Black In Bootloader GND enable input -

16 ALED Yellow/Black Out Not used 3A

17 WLED Yellow/White Out Not used 3A

18 Sensor Ground - GND Not installed -

19 Serial Ground - GND Serial Ground -

20 Sensor Ground White/Black GND Sensor GND (temp,TPS) -

21 Sensor Ground - GND - -

22 POWER GROUND Thick Black GND POWER GROUND -

23 POWER GROUND Thick Black GND POWER GROUND -

24 MAP Green/Red In Trans temp sensor -

25 CLT Yellow In Selector pos B -

26 MAT Orange In Selector pos A -

(c) 2014 James Murray 2014-10-27 Page 19/47

Page 20: Trans Control - megasquirt.co.ukmegasquirt.co.uk/doc/pdf/Trans_Control-0022-2014-10-27.pdf · Trans Control "Microsquirt trans firmware" Dated: ... 3.2 Grounding (Earthing ... The

Trans control setting up and hardware

Pin# Name Color In/Out Function Maxcurrent

27 TPS Blue In TP Sensor input -

28 TPS VREF (5V) *2 Gray Out 5V supply for TPS 0.1A

29 SPAREADC Orange/Green In Engine Temp Sensor -

30 OPTO+ Grey/Red In Do not connect -

31 OPTO- Grey/Black In Do not connect -

32 VR1+ VR1 In VSS (rear/side of trans or transfer case)

-

33 VR1- VR1 In VSS (rear/side of trans or transfer case)

-

34 O2 Pink In Selector pos C -

35 TACHO Green/Yellow Out Not used 0.3A

Note *1

Microsquirt V1 has high current output as standard

Microsquirt V2 needs to be jumpered for high current output

Note *2

TPSVREF is used to power pullups on sensor inputs

• Connect 2.49k resistor to pin 34

• Connect 2.49k (or 1k) resistor to pin 34

• Connect 2.49k resistor to pin 29 or omit if sharing sensor

• Connect to TPS if using it standalone. Do not connect if sharing TPS.

4.2 Microsquirt V3 trans wiringTo use the Microsquirt V3 as a transmission controller, no internal modifications or customisation is required.

Pin# Name Color In/Out Function Maxcurrent

1 +12V In Red In Main power feed < 1A

2 CANH Blue/Yellow Comms CAN communications -

3 CANL Blue/Red Comms CAN communications -

4 VR2+ VR2 In Engine speed signal. Connect to tacho or crank sensor.

-

5 SPAREADC2 (MAF) Pink/Black In Spare analogue input -

6 FLEX Purple/White In Brake switch GND signal. Do not apply 12V to this pin.

-

7 FIDLE Green Out Solenoid B 3A

8 FP (pump) Purple Out Solenoid A 3A

9 INJ 1 Thick Green Out TCC (LU) Solenoid 5A

(c) 2014 James Murray 2014-10-27 Page 20/47

Page 21: Trans Control - megasquirt.co.ukmegasquirt.co.uk/doc/pdf/Trans_Control-0022-2014-10-27.pdf · Trans Control "Microsquirt trans firmware" Dated: ... 3.2 Grounding (Earthing ... The

Trans control setting up and hardware

Pin# Name Color In/Out Function Maxcurrent

10 INJ 2 Thick Blue Out EPC solenoid 5A

11 SPK B (IGN2) Thick White/Red In Selector pos B -

12 SPK A (IGN 1) Thick White In Selector pos A -

13 RX - Comms RS232 communications -

14 TX - Comms RS232 communications -

15 BOOT LOAD Purple/Black In Bootloader GND enable input -

16 ALED Yellow/Black Out Not used currently 3A

17 WLED Yellow/White Out 3-2 Solenoid (4L60E) only 3A

18 Sensor Ground - GND Not installed -

19 Serial Ground - GND Serial Ground -

20 Sensor Ground White/Black GND Sensor GND (temp,TPS) -

21 VR2- VR2 In Engine Speed signal. -

22 POWER GROUND Thick Black GND POWER GROUND -

23 POWER GROUND Thick Black GND POWER GROUND -

24 MAP Green/Red In Not used -

25 CLT Yellow In Engine Temp Sensor (if used) -

26 MAT Orange In Trans temp sensor -

27 TPS Blue In TP Sensor input -

28 TPS VREF (5V) *1 Gray Out 5V supply for TPS 0.1A

29 SPAREADC Orange/Green In Selector pos C or Analogue gear pos -

30 OPTO+ Grey/Red In Do not connect -

31 OPTO- Grey/Black In Do not connect -

32 VR1+ VR1 In VSS (rear/side of trans or transfer case)

-

33 VR1- VR1 In VSS (rear/side of trans or transfer case)

-

34 O2 Pink In Not used -

35 TACHO Green/Yellow Out Not used 0.3A

Note *1

TPSVREF is used to power TPS

• Connect to TPS if using it standalone. Do not connect if sharing TPS with another ECU.

4.3 MS2/V3.0 trans wiring(DIYAutoTune.com colors)

To use the MS2/V3.0 as a transmission controller, internal modifications are required.

(c) 2014 James Murray 2014-10-27 Page 21/47

Page 22: Trans Control - megasquirt.co.ukmegasquirt.co.uk/doc/pdf/Trans_Control-0022-2014-10-27.pdf · Trans Control "Microsquirt trans firmware" Dated: ... 3.2 Grounding (Earthing ... The

Trans control setting up and hardware

Pin# Name Color In/Out Function Maxcurrent

2 VR1- In shielded wire In VSS (rear/side of trans or transfer case)

-

3 CANH Tan Comms CAN communications -

4 CANL Tan/Red Comms CAN communications -

5 SPR3 In Selector pos B -

6 SPR4 In Selector pos C -

7 Sensor Ground Black/white GND Sensor GND (temp,TPS) -

16,17 POWER GROUND Black GND POWER GROUND -

18,19 POWER GROUND Black GND POWER GROUND -

20 MAT Orange In Trans temp sensor -

21 CLT Yellow In Engine Temp Sensor (if used) -

23 O2 Pink In Selector pos A -

24 VR1+ In shielded wire In VSS (rear/side of trans or transfer case)

-

25 IAC1A Blue/White In Engine speed signal. Connect to tacho or crank sensor.

-

26 TPS VREF (5V) *1 Gray Out 5V supply for TPS 0.1A

27 IAC1B Blue/Red In Brake switch GND signal. Do not apply 12V to this pin.

-

27 TPS Blue/Red In TP Sensor input -

28 +12V In Red In Main power feed < 1A

30 FIDLE Light Green Out Solenoid B 3A

32 INJ 1 Blue Out TCC (LU) Solenoid 5A

34 INJ 2 Green Out EPC solenoid 5A

36 IGN Brown Out 3-2 Solenoid (4L60E) only 3A

37 FP (pump) Violet Out Solenoid A 3A

Note *1

TPSVREF is used to power TPS

• Connect to TPS if using it standalone. Do not connect if sharing TPS with another ECU.

The following internal modifications are required.

(c) 2014 James Murray 2014-10-27 Page 22/47

Page 23: Trans Control - megasquirt.co.ukmegasquirt.co.uk/doc/pdf/Trans_Control-0022-2014-10-27.pdf · Trans Control "Microsquirt trans firmware" Dated: ... 3.2 Grounding (Earthing ... The

Trans control setting up and hardware

The following internal wiring modifications are required.

1. The trans control application does not require the active flyback circuits or FP, IDL limiting circuits, so the following components can be omitted.

2. Omit transistors: Q9, Q10, Q12, Q13, Q14, Q15, Q19, Q20

3. Omit resistors: R30, R31, R32, R34, R35, R36, R37, R38

4. If omitted, R37 and R38 should be replaced with jumpers.

5. The LEDs are not used by the code, so R24,R25, R26, R27, R28, R29 ; Q6, Q7, Q8 ; D14, D15, D16 can be omitted.

6. Advanced, optionally could omit D5, Q3, R18, D6, D7, Q11, R33, D20 and use 1N4001 to 12V on each output.

7. The FP and IDL output transistors are borderline on the current capacity for the solA and solB solenoids in the transmission, you can jumper R39 and R40 and hope. OR, the safer option is to replace these twotransistors with TIP121 mounted on the heatsink bar with a mica insulation kit as shown.

8. Remove R10 and replace with diode 1N4001 (or equivalent) with band to the right.

9. Remove R11, leave the space open.

10.Install three diodes 1N4001 on the proto area.

(c) 2014 James Murray 2014-10-27 Page 23/47

Page 24: Trans Control - megasquirt.co.ukmegasquirt.co.uk/doc/pdf/Trans_Control-0022-2014-10-27.pdf · Trans Control "Microsquirt trans firmware" Dated: ... 3.2 Grounding (Earthing ... The

Trans control setting up and hardware

11.Connect the non-band sides of the diodes to JS5, JS4, JS11 as shown.

12.Connect the band sides of the diodes to SPR3, SPR4, IAC1B as shown.

13.Connect VRIN to TACHSELECT

14.Connect VROUT to TSEL

15.Connect OPTOIN to IAC1A

16.Connect OPTOOUT to JS10

17.4L60E. Install a 330R resistor in the proto area.

18.4L60E. Connect one end of the resistor to 'top' of R26 as shown.

19.4L60E. Connect the other end of the resistor to IGBT IN as shown.

20.4L60E. Install VB921 / BIP373 / TIP121 into Q16.

21.4L60E. Jumper IGBTOUT to IGN

22.4L60E. Install R43 or jumper.

23.If sharing engine temp sensor with ECU then remove R7.

24.If using CAN to fetch TPS/RPM/Engine temp from MS2 ECU, then run jumpers from CANH/L at CPU to CANH/L at DB37

25.If using CAN for those inputs, the following components may be omitted : C6, C7, C8, C9, C11, C12, C30; R8, R9, R12, R13; D1, D2

26.The MAP sensor is optional. If not used, the following components can be omitted : C2, C3; U2; R2

4.4 GPIO trans wiringThe table below lists the processor names for each connection. A recommended output pin number is shown if known.

To use the GPIO as a transmission controller, internal customisation is required to add the needed circuits.

41TE uses slightly different pins - not shown.

Pin# Name / CPU pin Color In/Out Function Maxcurrent

1 +12V In In Main power feed < 1A

2 PT0 In VSS (rear/side of trans or transfer case)

-

3 PAD07 In Brake switch GND signal. Do not apply 12V to this pin.

-

5 PAD00 In Selector pos A / Analogue gear pos -

6 PAD01 In Selector pos B -

7 PM3 Out 3-2 Solenoid (4L60E) only 3A

10 PM2 Out Solenoid B 3A

13 CANH Comms CAN communications -

14 PT5 In Engine speed signal. Connect to tacho or crank sensor.

-

16 CANL Comms CAN communications -

18 POWER GROUND GND POWER GROUND -

(c) 2014 James Murray 2014-10-27 Page 24/47

Page 25: Trans Control - megasquirt.co.ukmegasquirt.co.uk/doc/pdf/Trans_Control-0022-2014-10-27.pdf · Trans Control "Microsquirt trans firmware" Dated: ... 3.2 Grounding (Earthing ... The

Trans control setting up and hardware

Pin# Name / CPU pin Color In/Out Function Maxcurrent

19,20 POWER GROUND GND POWER GROUND -

23 PE4 Out Solenoid A 3A

24 PAD05 In TP Sensor input -

25 PAD03 In Selector pos C -

28 TPS VREF (5V) *1 Out 5V supply for TPS 0.1A

30 PAD02 In Trans temp sensor -

32 PT3 Out TCC (LU) Solenoid 5A

33 PT2 Out EPC solenoid 5A

17 Sensor Ground GND Sensor GND (temp,TPS) -

- No input assigned. In Engine Temp Sensor (if used) -

Note *1

TPSVREF is used to power TPS

• Connect to TPS if using it standalone. Do not connect if sharing TPS with another ECU.

The required internal customisation is beyond the scope of this document.

(c) 2014 James Murray 2014-10-27 Page 25/47

Page 26: Trans Control - megasquirt.co.ukmegasquirt.co.uk/doc/pdf/Trans_Control-0022-2014-10-27.pdf · Trans Control "Microsquirt trans firmware" Dated: ... 3.2 Grounding (Earthing ... The

Trans control setting up and hardware

5 Transmission Specific WiringEach transmission has its own wiring. These tables cross reference the input and output names used in the previous section.

5.1.1 GM 4L80E

Early connector (prone to leakage)

Later connector (1993+)

(c) 2014 James Murray 2014-10-27 Page 26/47

Page 27: Trans Control - megasquirt.co.ukmegasquirt.co.uk/doc/pdf/Trans_Control-0022-2014-10-27.pdf · Trans Control "Microsquirt trans firmware" Dated: ... 3.2 Grounding (Earthing ... The

Trans control setting up and hardware

Function / TCU connection Early 4L80E Late 4L80E

Solenoid A A A (Light Green)

Solenoid B B B ( Yellow/Black)

+12 Power C & K E (Pink/Black)

Selector pos A D N (Pink)

Selector pos B E R (Blue)

Selector pos C F P (Red)

Temp Sensor GND H M (Purple)

Temp Sensor G L (Black/Yellow)

LU Sol Switched Gnd J S (Brown/Black)

EPC +12V L C (Red/Black)

EPC Switched Gnd M D (Grey/White)

The transmission requires a fused 12V supply. A 10A fuse to supply both +12V and EPC is recommended.

5.1.2 GM 4L60E

(c) 2014 James Murray 2014-10-27 Page 27/47

Page 28: Trans Control - megasquirt.co.ukmegasquirt.co.uk/doc/pdf/Trans_Control-0022-2014-10-27.pdf · Trans Control "Microsquirt trans firmware" Dated: ... 3.2 Grounding (Earthing ... The

Trans control setting up and hardware

Function 4L60E

Solenoid A A

Solenoid B B

+12 Power E

Selector pos A N

Selector pos B R

Selector pos C P

Temp Sensor GND M

Temp Sensor L

LU Sol Switched Gnd T

EPC +12V C

EPC Switched Gnd D

3-2 solenoid switched Gnd S

Lock up feel solenoid switched Gnd (Cadillac only?)

(Not used)U

The transmission requires a fused 12V supply. A 15A fuse to supply both +12V and EPC is recommended.

5.1.3 Other applicationsTo follow.

(c) 2014 James Murray 2014-10-27 Page 28/47

Page 29: Trans Control - megasquirt.co.ukmegasquirt.co.uk/doc/pdf/Trans_Control-0022-2014-10-27.pdf · Trans Control "Microsquirt trans firmware" Dated: ... 3.2 Grounding (Earthing ... The

Trans control setting up and hardware

6 SoftwareThis section covers loading the firmware to your TCU and basic configuration settings.

6.1 Firmware

6.1.1 Installing firmwareSkip this step if your TCU was supplied with the firmware pre-loaded.

The latest versions can be downloaded from www.msextra.com/downloads

i. Create a folder/directory for tcu. e.g. C:\TCU

(Use "My Computer" or "Windows Explorer", open Local Disk C: and Create New Folder, name it MS2 ).

ii. Download the firmware zip file from the downloads page. Right click and Save Target As into the C:\TCU folder.

iii. Use My Computer / Windows Explorer and browse to this folder (e.g. C:\TCU)

iv. Right click on the file you saved and choose Extract All

v. The defaults are OK, and just click next. (Note that Windows adds a second level of directory.)

vi. You should now find the files have been extracted. Open up the folders until you see this:

(c) 2014 James Murray 2014-10-27 Page 29/47

Page 30: Trans Control - megasquirt.co.ukmegasquirt.co.uk/doc/pdf/Trans_Control-0022-2014-10-27.pdf · Trans Control "Microsquirt trans firmware" Dated: ... 3.2 Grounding (Earthing ... The

Trans control setting up and hardware

vii. Users loading firmware for the first time can skip to viii.

Upgrade users should ensure that you have used Save Tune As to save your existing tune settings.

viii. Exit your tuning software and ensure nothing is using the serial port.

ix. Double click on ms2loader_win32.exe (If you get a security warning, click Run)

The loader is text based. Answer all of the questions by pressing the required key on your keyboard.

Example:

MegaSquirt-2 Firmware Loader 3.34 2014-01-21---------------------------------------------------------------------------This firmware loader is only licensed for loading Megasquirt firmware ontoofficial Megasquirt hardware.

Using Megasquirt firmware on un-approved devices is in breach of copyright.Visit http://www.msextra.com to check the validity of your hardware.----------------------------------------------------------------------------- Remove the fuse powering your ignition coils. (Spark outputs may be undefined until you re-load your settings.) Press enter to continue... . Ensure that your Megasquirt/Microsquirt/ECU is -connected to your computer -has fused 12V power connected. Press enter to continue... . Ensure that no tuning software is running. Be sure to Quit the software, not just minimise it.. Press enter to continue... . Debug message Level: 1: Normal 2: More detail

(c) 2014 James Murray 2014-10-27 Page 30/47

Page 31: Trans Control - megasquirt.co.ukmegasquirt.co.uk/doc/pdf/Trans_Control-0022-2014-10-27.pdf · Trans Control "Microsquirt trans firmware" Dated: ... 3.2 Grounding (Earthing ... The

Trans control setting up and hardware

3: + serial comms 4: + the s19 file as parsed Selection (default: 1): . Do you want to scan your serial ports automatically? (y/n default y) . COM1 MS2/Microsquirt-type ECU detected . Do you want to use COM1 (y/n default = y) . . The following s19 files were found, type in the filename you require.

trans.s19. . File to upload (1, 2, filename, default= trans.s19): Fetching formatChecking serial formatNew serial format >= 001 detected. Preserve sensor calibrations (only for MS2/Extra) (y/n, default: n)? . ======================================================== Settings selected: Serial port: COM1 S19 File: trans.s19 Debug level: 1 Jumperless reflash enabled Not preserving sensors calibrations ======================================================== Press enter to continue... Sending jumperless flash command Attempting Wakeup... Fetching : sensor calibrations Erasing main flash! Erased. Sending firmware to controller... [========================================================>]100.0% Sending : sensor calibrations Wrote 30127 bytes *** Settings not preserved. Please re-load your MSQ / tuning settings *** Press enter to continue... .

If this takes long than a minute then you likely need to adjust the port settings of your USB-serial adapter to reduce the latency setting.

The first time you install firmware it might be necessary to use the boot jumper (MS2) or ground the BOOTLOADwire (Microsquirt).

(c) 2014 James Murray 2014-10-27 Page 31/47

Page 32: Trans Control - megasquirt.co.ukmegasquirt.co.uk/doc/pdf/Trans_Control-0022-2014-10-27.pdf · Trans Control "Microsquirt trans firmware" Dated: ... 3.2 Grounding (Earthing ... The

Trans control setting up and hardware

MS2 in normal condition without boot jumper.

Installing the boot jumper.

MS2 with boot jumper in place.

6.2 Get your tuning computer to talk to the ECUi. Start TunerStudio

ii. Create a new project.

From the Start Screen select File > New Project

or from the Main Screen select File > Project > New Project.

(c) 2014 James Murray 2014-10-27 Page 32/47

Page 33: Trans Control - megasquirt.co.ukmegasquirt.co.uk/doc/pdf/Trans_Control-0022-2014-10-27.pdf · Trans Control "Microsquirt trans firmware" Dated: ... 3.2 Grounding (Earthing ... The

Trans control setting up and hardware

In the Project Name box you can give the project a meaningful name if wish.

Double check that your TCU is powered up and connected to your computer by serial.

iii. Click on Detect

When you click the “Detect” button a “Detect Device” screen will appear and TunerStudio will attempt to find your TCU and its firmware version. If successful it will list your TCU, firmware version and Baud rate. Check to see that these appear to match your TCU and then click “Accept” to continue. If the “Detect Device” screen reports “No controller found” check the connection between your computer and your TCU and ensure that your TCU has power and try again. If this still does not resolve the problem move on to the “Other / Browse” method described below to set the firmware up manually.

If your TCU is identified correctly, clicking “Accept” should load the necessary firmware version. Click Next and you can now move on to step v.

If your TCU is identified correctly but clicking “Accept” displays a message that reports “TunerStudio does not have a configuration to support the found hardware” then it is likely either that you are running an older version

(c) 2014 James Murray 2014-10-27 Page 33/47

Page 34: Trans Control - megasquirt.co.ukmegasquirt.co.uk/doc/pdf/Trans_Control-0022-2014-10-27.pdf · Trans Control "Microsquirt trans firmware" Dated: ... 3.2 Grounding (Earthing ... The

Trans control setting up and hardware

of TunerStudio, or you are running a beta version of the firmware. If you are running an older version of TunerStudio you are strongly advised to update to the latest version. If you are using a beta version of the firmware you will need to use the “Other / Browse” method described below to set up your firmware manually.

iv. Other / Browse

This method is recommended only if TunerStudio is not able to detect your TCU, or if you are using a beta version of the firmware.

The firmware on your TCU may have been provided on a disk or downloaded as a .zip file from the www.msextra.com website. If you have downloaded your firmware and haven't done so already extract the contents of the zip file to a directory of your choice.

Clicking in the box next to “Other / Browse” opens a screen which lets you browse to your firmware folder. From here you should be able to select the .ini file that you want to use. It is essential that you use the .ini file that is appropriate to your TCU.

The .ini file you are looking for is called trans.ini

(Your computer may hide the .ini part from you - if this is the case, go to Folder Options and ensure there is no tick beside "Hide known file extensions". Unticking this can help protect against accidentally running viruses too.)

Select the file and then click Next.

v. Project Settings

The settings available on this list may vary based on your firmware. Verify that what they are configured to match your set up. If you are unsure, the default values are likely to work well. These settings can be changed after your project has been created.

vi. Comms parameters

(c) 2014 James Murray 2014-10-27 Page 34/47

Page 35: Trans Control - megasquirt.co.ukmegasquirt.co.uk/doc/pdf/Trans_Control-0022-2014-10-27.pdf · Trans Control "Microsquirt trans firmware" Dated: ... 3.2 Grounding (Earthing ... The

Trans control setting up and hardware

Generally these can be left alone. Click Next.

vii. Dash

Click Finish.

The standard dash should display.

(c) 2014 James Murray 2014-10-27 Page 35/47

Page 36: Trans Control - megasquirt.co.ukmegasquirt.co.uk/doc/pdf/Trans_Control-0022-2014-10-27.pdf · Trans Control "Microsquirt trans firmware" Dated: ... 3.2 Grounding (Earthing ... The

Trans control setting up and hardware

6.2.1 TunerStudio TooltipsThroughout the software you will find Tooltips - clicking on the [?] will bring up explanatory text.

6.2.2 Combined ECU/TCU projectIt is possible within TunerStudio to create a "Project" that allows you to tune and datalog your main Megasquirt ECU and the TCU at the same time. This is a more complicated setup than covered in section 6.2 and is only recommended for more experienced users.

i. Connect your tuning computer to your main ECU, open TunerStudio and create a project for your main ECU as described in the relevant "Setting Up" manual. (If you already have a working Project, go ahead and use it.)

ii. Go to File-> Project -> Project Properties -> CAN Devices

iii. Click on the + beside the 'CAN devices' pane.

iv. Set the 'Device CAN id' to 7.

v. Click on the [...] button beside 'Device configuration file' and then browse to 'trans.ini' supplied with the trans firmware. (Note that there is no 'Detect' feature in TunerStudio at this time.)

vi. Check the configuration settings (temperature units) match your requirements.

(c) 2014 James Murray 2014-10-27 Page 36/47

Page 37: Trans Control - megasquirt.co.ukmegasquirt.co.uk/doc/pdf/Trans_Control-0022-2014-10-27.pdf · Trans Control "Microsquirt trans firmware" Dated: ... 3.2 Grounding (Earthing ... The

Trans control setting up and hardware

vii. Click on OK and the project will reload.

viii. You now have access to the tuning menus for your main ECU and the TCU.

Use the drop down to switch between the two sets of menus.

There should be two dashboards in TunerStudio that you can switch between:

Note! TunerStudio does not support using a combined project to calibrate the temperature (thermistor) tables onthe TCU at this time. The menu items show up on the Tools Menu, but they do not work correctly. You MUST use a project created for just the TCU for the calibration.

6.3 Tuning menusThe following sections show some of the tuning screens. These may be subject to change due to on-going software enhancements.

6.3.1 Tools menu

Calibrate TPS

This only applies if you are using a directly connected TPS. It is not required if you are using TPS data from the master ECU over CAN.

(c) 2014 James Murray 2014-10-27 Page 37/47

Page 38: Trans Control - megasquirt.co.ukmegasquirt.co.uk/doc/pdf/Trans_Control-0022-2014-10-27.pdf · Trans Control "Microsquirt trans firmware" Dated: ... 3.2 Grounding (Earthing ... The

Trans control setting up and hardware

To calibrate the throttle position sensor do the following:

1. Ensure that your TCU is connected and the engine is not running (i.e., KOEO).

2. Ensure that the throttle is closed;

3. Click the “Get Current” button to the right of “Closed throttle ADC count”;

4. Fully open the throttle;

5. Click the “Get Current” button to the right of “Full throttle ADC count”;

6. Click Accept and your throttle sensor will be calibrated.

Calibrate MAP sensor

This only applies if you are using a directly connected MAP sensor. It is not required if you are using MAP data from the master ECU over CAN.

The Common MAP Sensors gives a list of the commonly used MAP Sensors. If you are using one of these sensors select if from the drop down list, otherwise select “Custom” and enter the required numbers.

(MS2 kits are usually supplied with a MPX4250AP sensor.)

Un/Lock Calibrations

The calibration settings for Thermistor Tables can be locked or unlocked to prevent them from being changed accidentally.

(c) 2014 James Murray 2014-10-27 Page 38/47

Page 39: Trans Control - megasquirt.co.ukmegasquirt.co.uk/doc/pdf/Trans_Control-0022-2014-10-27.pdf · Trans Control "Microsquirt trans firmware" Dated: ... 3.2 Grounding (Earthing ... The

Trans control setting up and hardware

Select Unlocked and then Close.

Calibrate Thermistor Tables

Megasquirt ECUs are supplied loaded with the correct calibrations for GM temperature sensors. You only need to go through this calibration process if you are using different sensors.

A process for determining the calibration numbers is shown in the inputs section of this manual.

Sensor Table

Select whether you are using a “Local Engine Temperature Sensor” or an “Trans Temperature Sensor”.

Table Input Solution

This value will normally be set to “3 Point Therm Generator”.

Common Sensor Values

From this option you can select your sensor type. You can select from a predefined list of common sensors fromthe drop down list, or leave this option unselected if you are using custom settings specific to an unlisted sensor.

(c) 2014 James Murray 2014-10-27 Page 39/47

Page 40: Trans Control - megasquirt.co.ukmegasquirt.co.uk/doc/pdf/Trans_Control-0022-2014-10-27.pdf · Trans Control "Microsquirt trans firmware" Dated: ... 3.2 Grounding (Earthing ... The

Trans control setting up and hardware

Bias Resistor Value (Ohms)

This is 2490 ohms unless you or your vendor have changed the resistors inside the TCU.

Temperature Settings (°C or °F)

Again, if you have selected one of the common sensors these values should be set for you. If you are using a custom sensor enter the three measured temperature and resistance value pairs.

Write to Controller

Once you have completed the settings in this screen click the “Write to controller” button to burn these settings to your TCU.

Repeat for the both sensors if required.

6.3.2 Trans Controller Setup

Base Settings

No. Cylinders / rpm divider: Set this to give the correct engine RPM. Typically this is the number of cylinders. Only used when not fetching engine RPM via CAN.

Minimum shift time: Minimum time for a gear-change to take place. i.e. delay before trying another shift.

Hardware in use: The specific hardware and wiring scheme you are using.

Transmission type: The automatic transmission/gearbox type in use.

Load input: Whether to use TPS or MAP as the load index in the line pressure and shift curves.

(c) 2014 James Murray 2014-10-27 Page 40/47

Page 41: Trans Control - megasquirt.co.ukmegasquirt.co.uk/doc/pdf/Trans_Control-0022-2014-10-27.pdf · Trans Control "Microsquirt trans firmware" Dated: ... 3.2 Grounding (Earthing ... The

Trans control setting up and hardware

Line pressure curves: Whether to use a common line pressure curve (recommended) or individual curves per gear.

EPC frequency: Later 4L80E use 595Hz (most common), early used 297Hz

Use CAN for TPS/RPM/CLT: Whether TPS and engine RPM are connected directly to the trans controller or if they are fetched over CAN from a Megsquirt ECU.

Remote CAN ID: The CANid of a Megasquirt ECU to fetch TPS and engine RPM from. Typically 0.

My CAN ID: Set to 7 for normal operation.

Preferred Speed Units: Chooses the speed units - either Mile-per-hour or Kilometres-per-hour. Close the page and re-open after changing.

Preferred Length Units: Chooses the size units - either metres or inches. Close the page and re-open after changing.

Wheel diameter: The rolling diameter for wheel and tire/tyre.

Final drive ratio: Differential ratio or any gear reduction between transmission output shaft speed sensor and wheel speed.

Trans speed sensor # teeth: Effective number of teeth on VSS.

Input speed sensor # teeth: Effective number of teeth on input shaft speed sensor.

1st gear ratio: The ratio of each gear in the transmission.

VSS Output: Enables a VSS output (for dash speedo) and selects the raw output pin to use.

On Microsquirt hardware "PM3" is recommended and puts out a 0-12V signal on the "Tacho" wire.

VSS out units: Selects between PPM, PPK and raw divider.

VSS out scaling: The PPM, PPK or raw divider number.

RPM Limits

For each gear you can set a maximum RPM, this will force an upshift even if the shift curve doesn't require it.

Lockup Settings

These settings control the behaviour of the lockup torque convertor. Locking the convertor reduces slip, power loss and heat generation. Typically the convertor will be locked in high gears at during cruise.

(c) 2014 James Murray 2014-10-27 Page 41/47

Page 42: Trans Control - megasquirt.co.ukmegasquirt.co.uk/doc/pdf/Trans_Control-0022-2014-10-27.pdf · Trans Control "Microsquirt trans firmware" Dated: ... 3.2 Grounding (Earthing ... The

Trans control setting up and hardware

Lockup settings

Lockup speed: Wheel speed to lockup convertor.

Hysteresis: Hysteresis (deadband) in wheel speed for lockup.

Lockup min TPS: Minimum TPS to lockup convertor.

Lockup max TPS: Maximum TPS to lockup convertor.

Lackup wait time: Delay before starting lockup cycle. A few seconds is typical.

Lockup start duty: TCC solenoid duty at start of lockup cycle.

Lockup rise time: Time to ramp up TCC duty.

Lockup full duty: TCC solenoid duty when locked.

Lockup end duty: TCC solenoid duty after unlock.

Lockup decay time: Time to ramp down TCC duty.

Lockup per gear

Enable: For each gear, selects whether to use torque convertor lockup in this gear. Most OEM applications only lock in high gears.

Min RPM: For each gear, sets a minimum RPM for lockup.

Min VSS: For each gear, sets a minimum vehicle speed for lockup.

RPM and VSS conditions must both be met.

(c) 2014 James Murray 2014-10-27 Page 42/47

Page 43: Trans Control - megasquirt.co.ukmegasquirt.co.uk/doc/pdf/Trans_Control-0022-2014-10-27.pdf · Trans Control "Microsquirt trans firmware" Dated: ... 3.2 Grounding (Earthing ... The

Trans control setting up and hardware

Race Mode

Race mode: Enables race-only lockup settings.

Min TPS for race mode: Minimum TPS to lockup convertor when in race mode.

Enable lockup in: Selects which gears to allow lockup in.

Locked during shifts: Whether to stay locked during shifts.

Re-lock delay after shift: Delay before re-locking after a shift

41TE Specific

The 41TE needs very specific delays on each shift as it handles the hydraulics directly

.

Solenoid peak time: Peak time for peak+hold solenoids.

Solenoid refresh period: How often to re-apply full duty.

Solenoid hold duty: Duty cycle in hold period on solenoids.

Shift delays: Delays between shifts for each solenoid. Very specific to each transmission.

(c) 2014 James Murray 2014-10-27 Page 43/47

Page 44: Trans Control - megasquirt.co.ukmegasquirt.co.uk/doc/pdf/Trans_Control-0022-2014-10-27.pdf · Trans Control "Microsquirt trans firmware" Dated: ... 3.2 Grounding (Earthing ... The

Trans control setting up and hardware

Gear Position

For each gear, specify the analogue voltage at the processor.

Paddle Shifter

Enable input: Enables paddle-shifting and selects the 'enable' input switch.

Active high/low: Selects polarity of paddle enable switch.

Output: Selects paddle output, typically this is for the horn.

Paddle input: Selects analogue input for paddle shifter.

Voltage for UP: Voltage on paddle input to indicate an up-shift.

Voltage for DOWN: Voltage on paddle input to indicate an down-shift.

Voltage for OUT: Voltage on paddle input to indicate that the output (horn) should be operated.

6.3.3 Shift CurvesThe shift curves are the main settings for controlling how the transmission behaves and when gear shifts occur. There is a curve for each gear except top. The curve can be adjusted by dragging the dots or by clicking on the [...] in the top right, the data table open up as shown.

(c) 2014 James Murray 2014-10-27 Page 44/47

Page 45: Trans Control - megasquirt.co.ukmegasquirt.co.uk/doc/pdf/Trans_Control-0022-2014-10-27.pdf · Trans Control "Microsquirt trans firmware" Dated: ... 3.2 Grounding (Earthing ... The

Trans control setting up and hardware

In the above screenshot at 64% load, the transmission will upshift (change from 2nd to 3rd) if the speed exceeds 20MPH or downshift (change from 3rd to 2nd) if it drops below 17MPH.

6.3.4 Line PressureThe Line Pressure curves control the pressure solenoid in the transmission which influences shift speed, holdingpower and shift harshness.

Depending on the option selected in the base settings, you can use either a single line pressure curve (recommended) or an individual curve for each gear.

0% is least line pressure, 100% is max line pressure. (Conversion to solenoid duty for transmission is handled internally.)

Line Pressure (Common)

6.3.5 Test ModeThis menu gives access to test facilities.

(c) 2014 James Murray 2014-10-27 Page 45/47

Page 46: Trans Control - megasquirt.co.ukmegasquirt.co.uk/doc/pdf/Trans_Control-0022-2014-10-27.pdf · Trans Control "Microsquirt trans firmware" Dated: ... 3.2 Grounding (Earthing ... The

Trans control setting up and hardware

Test Mode

This allows direct control over the gear selected and solenoid output duties. It should only be used with the car on stands for transmission testing purpose.

Do not use on a moving vehicle - risk of injury!

Test Mode Controls

The "Enable Test Mode" and "Disable Test Mode" buttons are a master enable/diable for testing.

Gear Selection

Clicking on a gear number will force selection of that gear. (The output solenoids will be set to the pre-programmed pattern.)

Line Pressure

This allows you to override the line pressure curve and test out different pressure solenoid duties. The entry here matches the pressure curves where 0% is minimum pressure and 100% is maximum pressure.

(For GM transmissions the output duty is actually the opposite, this conversion is handled internally.)

Lockup

This allows you to override the lockup output and test out different solenoid duties.

3-2 solenoid

Some of the supported transmissions PWM the 3-2 solenoid. This allows that to be tested.

(c) 2014 James Murray 2014-10-27 Page 46/47

Page 47: Trans Control - megasquirt.co.ukmegasquirt.co.uk/doc/pdf/Trans_Control-0022-2014-10-27.pdf · Trans Control "Microsquirt trans firmware" Dated: ... 3.2 Grounding (Earthing ... The

Trans control setting up and hardware

7 Revision history2014-09-05 Started.

2014-10-23 Re-do wiring tables, add GPIO, MS2. Add most content.

2014-10-27 Update base and lockup for 0022 version. Add section about combined TS project.

(c) 2014 James Murray 2014-10-27 Page 47/47