Link ECU Fault Codes Overview
Link ECU Fault Codes Overview
»No topics above this level« G4X and G5 ECU Tuning Functions
G4X and G5 ECU Tuning Functions
This section is dedicated to explanation of Link ECU tuning functions. This manual can be read
directly or each topic automatically displayed by right clicking on the function you require help
with in PCLink and selecting What's This?.
Link ECUs based on the G4X and G5 platform have similar functionality. However, not all functions available in high end G4X ECUs or available in G5 ECUs will be
available in other G4X ECUs.
Tuning functions for G4X and G5 ECUs are divided into the following groups:
· ECU Fault Codes
· Engine Configuration
· Fuel
· Ignition
· Engine Protection
· Auxiliary Outputs
· Digital Inputs
· Analog Inputs
· Triggers
· Math Blocks
· Motorsport
· Idle Speed Control
· Electronic Throttle Control
· Boost Control
· Knock Control
· VVT Control
· Chassis and Body
· CAN
· PID Setup
· Torque Management
· Table Allocation
· ECU Statistics
· Runtime Values and States
When the ECU generates a fault code the fault code can be determined the following ways:
· Fault codes are displayed in PCLink in the ECU Status runtime values.
· They may also be displayed on a Check Engine Light or a digital dashboard display.
· Link G4X Wire-in ECUs have an LED in the front of the ECU. The fault code will be flashed using the 'Long Tens' method. One of the two LEDs on the Plugin ECUs
operates in the same manner.
· Link G5 Wire-in ECUs have several LEDs on the top of the case, one of these is used to dsipaly fault codes using the 'Long Tens' method. More information on how
these LEDs operate can be found here.
Specific fault codes can also be masked so that they still show up in PCLink but don't show up on the dash CE Light, refer here for more information.
This list will be updated as new fault conditions are added. Also check all PCLink runtime values for real time information on ECU parameters.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 2 of 235
56 MAP Above Fault Code Value The MAP value has gone above the user Increase the MAP Fault Code Value if it has been set
configurable pressure value that it is set to too low. Check the MAP sensor to ensure it is still
throw a fault at. The engine is over-boosting working properly and the wiring is not damaged.
or the sensor is damaged. Inspect your Boost Control/Wastegate plumbing.
57 MAP Signal Error The MAP Sensor Voltage input has gone Sensor or wiring may be faulty or disconnected. Refer
out of range. This fault will be accompanied to the matching An Volt Error for more information.
by either an Error Low or Error High code
form the Analog Voltage input that the MAP
Sensor is wired too.
58 Fuel Pressure Signal Error The Fuel Pressure Sensor Voltage input Sensor or wiring may be faulty or disconnected. Refer
has gone out of range. This fault will be to the matching An Volt Error for more information.
accompanied by either an Error Low or
Error High code form the Analog Voltage
input that the Fuel Pressure Sensor is wired
to.
59 Oil Pressure Signal Error The Oil Pressure Sensor Voltage input has Sensor or wiring may be faulty or disconnected. Refer
gone out of range. This fault will be to the matching An Volt Error for more information.
accompanied by either an Error Low or
Error High code form the Analog Voltage
input that the Oil Pressure Sensor is wired
to.
60 Lambda 1 Signal Error If Lambda 1 is connected via an Analog Sensor or wiring may be faulty or disconnected. If
Voltage input the voltage has gone out of Lambda 1 is connected via an An Volt input refer to the
range and there should be an matching An Volt Error for more information, if it is
accompanying Error Low or Error High code connected via CAN refer to the Lambda 1 Error status.
form the Analog Voltage input.
If Lambda 1 is connected via CAN the the
CAN device has reported an error.
61 Lambda 2 Signal Error If Lambda 2 is connected via an Analog Sensor or wiring may be faulty or disconnected. If
Voltage input the voltage has gone out of Lambda 2 is connected via an An Volt input refer to the
range and there should be an matching An Volt Error for more information, if it is
accompanying Error Low or Error High code connected via CAN refer to the Lambda 2 Error status.
form the Analog Voltage input.
If Lambda 2 is connected via CAN the the
CAN device has reported an error.
62 ECT Above Fault Code Value The ECT value has gone above the user Increase the ECT Fault Code Value if it has been set
configurable pressure value that it is set to too low. Check the ECT sensor to ensure it is still
throw a fault at. The engine is overheating working properly and the wiring is not damaged.
or the sensor is damaged. Inspect your cooling system.
63 ECT Signal Error The ECT Sensor input has gone out of Sensor or wiring may be faulty or disconnected. Refer
range. This fault will be accompanied by to the matching An Volt/Temp Error for more
either an Error Low or Error High code form information.
the Analog Voltage/Temperature input that
the ECT Sensor is wired to.
64 IAT Signal Error The IAT Sensor input has gone out of Sensor or wiring may be faulty or disconnected. Refer
range. This fault will be accompanied by to the matching An Volt/Temp Error for more
either an Error Low or Error High code form information.
the Analog Voltage/Temperature input that
the IAT Sensor is wired to.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 3 of 235
65 Fuel Temperature Signal Error The Fuel Temperature Sensor input has Sensor or wiring may be faulty or disconnected. Refer
gone out of range. This fault will be to the matching An Volt/Temp Error for more
accompanied by either an Error Low or information.
Error High code form the Analog
Voltage/Temperature input that the Fuel
Temperature Sensor is wired too.
66 Oil Temperature Signal Error The Oil Temperature Sensor input has gone Sensor or wiring may be faulty or disconnected. Refer
out of range. This fault will be accompanied to the matching An Volt/Temp Error for more
by either an Error Low or Error High code information.
form the Analog Voltage/Temperature input
that the Oil Temperature Sensor is wired to.
67 TPS Signal Error The TPS (Main) Sensor Voltage input has Sensor or wiring may be faulty or disconnected. Refer
gone out of range. This fault will be to the matching An Volt/Temp Error for more
accompanied by either an Error Low or information.
Error High code form the Analog Voltage This Fault Code differs from Fault code 78 in that 78
input that the TPS (Main) is wired to. only activates when an E-Throttle is being used.
69 E-Throttle 1 Max %DC Limit E-Throttle duty cycle has been greater than In this situation the E-Throttle system is shut down and
or equal to the Max Clamp DC value for cannot be restarted until the ECU power has been
more than the Fault Delay Time (Time cycled. There may be something restricting throttle
increments when in fault and decrements plate movement or the wiring to the throttle motor has
when not in fault). been disconnected meaning the ECU has tried to move
the throttle plate but has needed to apply to much
power for too long.
70 E-Throttle 1 Min %DC Limit E-Throttle duty cycle has been less than or In this situation the E-Throttle system is shut down and
equal to the Min Clamp DC value for more cannot be restarted until the ECU power has been
than the Fault Delay Time (Time increments cycled. There may be something restricting throttle
when in fault and decrements when not in plate movement or the wiring to the throttle motor has
fault). been disconnected meaning the ECU has tried to move
the throttle plate but has needed to apply to much
power for too long.
71 Aux 9/10 Supply Error - E- The (Aux 9/10) Supply voltage has been In this situation the E-Throttle system is shut down and
Throttle 7.0V or less for more than the Fault Delay cannot be restarted until the ECU power has been
Time (Time increments when in fault and cycled.
decrements when not in fault). Measure the supply voltage. Check for blown fuses.
72 Analog 5V Supply Error - E- The external 5V supply has been 4.9V or In this situation the E-Throttle system is shut down and
Throttle (E-Throttle Sensor less for more than the Fault Delay Time cannot be restarted until the ECU power has been
Supply Voltage) (Time increments when in fault and cycled.
decrements when not in fault).
74 Analog 5V Supply Error The ECUs 5V Out voltage is not as There may be a wiring fault on the 5V Out pin causing
expected. too much current draw.
Check Analog Output Supply runtime value (found
under ECU Status runtime values). It should read
between about 4.9 and 5.1 volts.
75 E-Throttle 1 TPS /Target Error The TPS/Target Error Accumulator value In this situation the E-Throttle system is shut down and
has reached 100%, this value increases cannot be restarted until the ECU power has been
when the difference between the current cycled.
and target throttle position has been greater The throttle plate cannot achieve or maintain achieve
than 6% (6% of total throttle range not 6% the desired target position.
of current throttle target) and decreases Redo TPS calibration procedure.
when it is less than or equal to 6%. The time Check Electronic Throttle Control tuning.
taken to reach 100% is determined by the Check mechanical operation of throttle actuator.
Fault Delay Time.
76 TPS(main) /TPS(sub) tracking The TPS Error Accumulator value has In this situation the E-Throttle system is shut down and
Error reached 100%, this value increases when cannot be restarted until the ECU power has been
the difference between the TPS (Main) and cycled.
TPS (Sub) positions has been greater than The two throttle position sensors aren't matching each
6% (6% of total throttle range not 6% of other.
current throttle position) and decreases Sensor Fault, test sensor.
when it is less than or equal to 6%. The time Sensor Calibration Fault, recalibrate sensors.
taken to reach 100% is determined by the Check that your TPS(sub) 100% setting is correct.
Fault Delay Time. This is after taking into
account the TPS (Sub) 100% setting.
77 APS(main) /APS(sub) tracking The APS Error Accumulator value has In this situation the E-Throttle system is shut down and
Error reached 100%, this value increases when cannot be restarted until the ECU power has been
the difference between the APS (Main) and cycled.
APS (Sub) positions has been greater than The two accelerator position sensors aren't matching
6% (6% of total pedal range not 6% of each other.
current pedal position) and decreases when Sensor Fault, test sensor.
it is less than or equal to 6%. The time Sensor Calibration Fault, recalibrate sensors.
taken to reach 100% is determined by the Check that your APS(sub) 100% setting is correct.
Fault Delay Time. This is after taking into
account the APS (Sub) 100% setting.
78 TPS(Main) Fault - E-Throttle. The TPS(Main) input is or has been in a In this situation the E-Throttle system is shut down and
fault state. cannot be restarted until the ECU power has been
cycled.
Wiring fault, the Analog input being used for TPS
(Main) has dropped below its error low or risen above
its error high voltage.
79 TPS(Sub) Fault - E-Throttle The TPS (Sub) input is or has been in a In this situation the E-Throttle system is shut down and
fault state. cannot be restarted until the ECU power has been
cycled.
Wiring fault, the Analog input being used for TPS (Sub)
has dropped below its error low or risen above its error
high voltage.
84
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 4 of 235
Aux9/10 E-Throttle IC Over Over-Current/Over-Temperature warning This is most likely caused by excessive current draw on
Temperature / Under Voltage from the electronic Throttle Control the Aux 9/10 channels. This fault code can occur when
hardware contained inside the ECU. the ECU voltage drops too low for 1s or more.
85 APS(Main) Fault - E-Throttle. The APS (Main) input is or has been in a Wiring fault, the Analog input being used for APS
fault state. (Main) has dropped below its error low or risen above
its error high voltage. If using a CAN Analog then a
period of 2s or more has passed without receiving a
value.
86 APS(Sub) Fault - E-Throttle The APS (Sub) input is or has been in a Wiring fault, the Analog input being used for APS (Sub)
fault state. has dropped below its error low or risen above its error
high voltage. If using a CAN Analog then a period of 2s
or more has passed without receiving a value.
87 Aux11/12 E-Throttle IC Over Over-Current/Over-Temperature warning This is most likely caused by excessive current draw on
Temperature / Under Voltage from the electronic Throttle Control the Aux 1/12 channels. This fault code can occur when
hardware contained inside the ECU. the ECU voltage drops too low for 1s or more.
93 E-Throttle 2 Max %DC Limit E-Throttle duty cycle has been greater than In this situation the E-Throttle system is shut down and
or equal to the Max Clamp DC value for cannot be restarted until the ECU power has been
more than the Fault Delay Time (Time cycled. There may be something restricting throttle
increments when in fault and decrements plate movement or the wiring to the throttle motor has
when not in fault). been disconnected meaning the ECU has tried to move
the throttle plate but has needed to apply to much
power for too long.
94 E-Throttle 2 Min %DC Limit E-Throttle duty cycle has been less than or In this situation the E-Throttle system is shut down and
equal to the Min Clamp DC value for more cannot be restarted until the ECU power has been
than the Fault Delay Time (Time increments cycled. There may be something restricting throttle
when in fault and decrements when not in plate movement or the wiring to the throttle motor has
fault). been disconnected meaning the ECU has tried to move
the throttle plate but has needed to apply to much
power for too long.
95 E-Throttle 2 TPS 2 /Target Error The TPS/Target Error Accumulator value In this situation the E-Throttle system is shut down and
has reached 100%, this value increases cannot be restarted until the ECU power has been
when the difference between the current cycled.
and target throttle position has been greater The throttle plate cannot achieve or maintain achieve
than 6% (6% of total throttle range not 6% the desired target position.
of current throttle target) and decreases Redo TPS calibration procedure.
when it is less than or equal to 6%. The time Check Electronic Throttle Control tuning.
taken to reach 100% is determined by the Check mechanical operation of throttle actuator.
Fault Delay Time.
96 TPS 2 (Main) Fault - E-Throttle 2 The TPS 2 (Main) input is or has been in a In this situation the E-Throttle system is shut down and
fault state. cannot be restarted until the ECU power has been
cycled.
Wiring fault, the Analog input being used for TPS 2
(Main) has dropped below its error low or risen above
its error high voltage.
97 TPS 2 (Sub) Fault - E-Throttle 2 The TPS 2 (Sub) input is or has been in a In this situation the E-Throttle system is shut down and
fault state. cannot be restarted until the ECU power has been
cycled.
Wiring fault, the Analog input being used for TPS 2
(Sub) has dropped below its error low or risen above its
error high voltage.
98 TPS 2 (Main) / TPS 2 (Sub) The TPS 2 Error Accumulator value has In this situation the E-Throttle system is shut down and
tracking Error reached 100%, this value increases when cannot be restarted until the ECU power has been
the difference between the TPS 2(Main) and cycled.
TPS 2(Sub) positions has been greater than The two throttle position sensors aren't matching each
6% (6% of total throttle range not 6% of other.
current throttle position) and decreases Sensor Fault, test sensor.
when it is less than or equal to 6%. The time Sensor Calibration Fault, recalibrate sensors.
taken to reach 100% is determined by the Check that your TPS 2(sub) 100% setting is correct.
Fault Delay Time. This is after taking into
account the TPS 2(Sub) 100% setting.
116 Analog 5V Supply Error - E- The external 5V supply has been 4.9V or In this situation the E-Throttle system is shut down and
Throttle 2(E-Throttle 2 Sensor less for more than the Fault Delay Time cannot be restarted until the ECU power has been
Supply Voltage) (Time increments when in fault and cycled.
decrements when not in fault).
118 DI Fuel Pump Control Low DI Fuel Pressure has been below the DI For some reason, DI Fuel Pump Control is unable to
Pressure Fault Fuel Rail Pressure Target by more than the raise the DI Fuel Pressure above the Low Pressure
Low Pressure Margin value for the Fault Margin value. Refer to the DI Fuel Pump Control help
Blanking Time. for information on setting up and tuning DI Fuel Pump
Control.
119 DI Fuel Pump Control High DI Fuel Pressure has been above the DI For some reason, DI Fuel Pump Control is unable to
Pressure Fault Fuel Rail Pressure Target by more than the reduce the DI Fuel Pressure below the High Pressure
High Pressure Margin value for the Fault Margin value. Refer to the DI Fuel Pump Control help
Blanking Time. for information on setting up and tuning DI Fuel Pump
Control.
120 Ethrottle Control Error The E-Throttle control loop is running slower Check to see how many features are turned on, this
than expected. can occur if the ECU processor is being maxed out.
Contact tech support.
121 Ethrottle No Relay Selected The E-Throttle Relay output setting hasn't Set the appropriate E-Throttle Relay setting to the
been setup. correct output.
122 Maximum Injector Duty Cycle 100% Injector Duty Cycle has been Increase fuel pressure or increase injector size, this
Reached reached. fault can occur if accel fuel is tuned badly resulting in
excessive enrichment.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 5 of 235
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 6 of 235
Engine Type
This specifies the engine type, options include:
· 2 Stroke
· 4 Stroke
· Rotary
The table below summarises the ignition and staged injection systems supported.
Cylinders Engine Type Ignition Systems Supported Staged Injection Systems Supported
1 4 Stroke Direct Spark Sequential/Group/Sequential Multi-Point
2 Stroke Direct Spark Sequential/Group/Sequential Multi-Point
2 4 Stroke Distributor/Wasted Spark/Direct Spark Sequential/Group/Sequential Multi-Point
Rotary Leading Wasted/Leading Direct Sequential/Group/Sequential Multi-Point
2 Stroke Distributor/Wasted Spark/Direct Spark Sequential/Group/Sequential Multi-Point
3 4 Stroke Distributor/Twin Distributor/Direct Spark Sequential/Group/Sequential Multi-Point
Rotary Leading Direct Sequential/Group/Sequential Multi-Point
2 Stroke Distributor/Twin Distributor/Direct Spark Sequential/Group/Sequential Multi-Point
4 4 Stroke Distributor/Twin Distributor/Wasted Spark/Direct Spark Sequential/Group/Sequential Multi-Point
Rotary Leading Wasted/Leading Direct Sequential/Group/Sequential Multi-Point
2 Stroke Distributor/Twin Distributor/Wasted Spark/Direct Spark Sequential/Group/Sequential Multi-Point
5 4 Stroke Distributor/Twin Distributor/Direct Spark Group/Sequential Multi-Point
6 4 Stroke Distributor/Twin Distributor/Wasted Spark/Direct Spark Group/Sequential Multi-Point
7 4 Stroke Distributor/Twin Distributor/Direct Spark Group
8 4 Stroke Distributor/Twin Distributor/Wasted Spark/Direct Spark Group
9 4 Stroke Distributor/Twin Distributor Group
10 4 Stroke Distributor/Twin Distributor/Wasted Spark Group
12 4 Stroke Distributor/Wasted Spark Group
Custom TDC
Note: When running an engine that has regularly spaced TDC points, the Custom TDC Points adjustment should be set to OFF. The majority of engines have regularly
spaced TDC points.
Custom TDC points are used when an engine does not fire at regular intervals such as an odd fire engine. Setting the Custom TDC Points option to On will display the
TDC Points Table. The numbers entered in the TDC Points Table correspond to the engine positions of consecutive TDC occurrences. On a four stroke engine these
will range from 0 to 720 degrees, whereas a two stroke engine will range from 0 to 360 degrees.
Note: The entries in this table are in the order of the firing order. So, the first entry is the first cylinder in the firing order, the second entry is the second in the firing order
etc...
Custom TDC Points for an odd fire six cylinder may look like this:
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 7 of 235
Description
A 20 character text box allowing the user to input a short description of the basemap or engine.
More detailed notes can be entered into the Memo Text found under the 'File' tab or by pressing ctrl + M.
Memo Text
This is a field where notes about the base map setup can be entered. The information entered is stored in the ECU.
Examples of use:
· Vehicle owners name
· Engine code
· Vehicle make and model
· Maximum boost level
· Date tuned
· Fuel Setup
· Multi Fuel
· Cold Start
· Fuel Corrections
· Acceleration Enrichment
· Overrun Fuel Cut
· Closed Loop Lambda (CLL)
· Individual Cylinder Fuel Correction
· Staged Injection
· Injector Timing
· AFR/Lambda Target Table
· Fuel Table
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 8 of 235
G4X and G5 ECU Tuning Functions > Fuel Setup > Fuel Setup
Fuel Setup
The following settings relate to Fuel Setup. Typically these will be set once during the initial setup procedure and left unaltered after that. Depending on the Fuel
Equation Mode and Injection Mode selected, the following options may be available:
G4X and G5 ECU Tuning Functions > Fuel Setup > Fuel Setup > Injection Mode
Injection Mode
The Injection Mode setting is used to configure the ECU to the fuel injection system arrangement being used.
The following Injection Modes are available:
Off
This turns the fuel injectors off so that the engine can be cranked without fuel entering the engine. This is useful for testing ignition or clearing a flooded engine.
Sequential Injection
This mode should be used if each cylinder has it’s own injector mounted in the intake runner or cylinder port and the following criteria are met:
1. There must be one Injector Drive for each cylinder.
2. There must be sufficient triggering for the ECU to calculate the current engine position in the 720 degree engine cycle. This often means that a second trigger
sensor is required for synchronisation and for 4 stroke engines there must be an appropriate trigger wheel driven off of the camshaft (or driven at half the
crankshaft’s angular speed).
In this mode each injector must be correctly wired to its own injector drive so that the injector can be fired. The timing at which the injectors fire is adjusted with the
Injector Timing settings.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 9 of 235
The firing order of the engine is NOT important at the wiring stage as each cylinder is wired to its corresponding injector drive number (wire cylinder 1 injector to injector
drive 1, 2 to 2, 3 to 3 etc...) and the firing order will be entered into the ECU's Firing Order Table.
Group/Staged Injection
This mode should be used when staged injection (more than one injector per cylinder) is desired but there aren't enough injector drives or isn't sufficient triggering for
Sequential/Staged Injection.
This mode separates out the odd numbered injector channels as Primary Injector and the Even numbered as Secondary injectors. The primary injectors are typically
defined as the ones that are closest to the cylinder/rotor and are also typically the same size or smaller than the secondary injectors.
The number of injector drives being used is specified by the Active Drives setting.
The number of injection events per engine cycle is specified by the Injection Rate per Engine Cycle setting and this is typically set to half the number of cylinders for a 4
stroke engine so that the injector/s are fired once per TDC. Note the
Wire the primary injectors to odd numbered Injector Drives (Inj1, Inj3, Inj5, Inj7 etc) and wire the secondary injectors to even numbered Injector Drives (Inj2, Inj4, Inj6,
Inj8 etc). In this mode all primary and secondary injector drives have the same injector timing but have different amounts of fuel flowing through them as determined by
the Injector Timing settings (e.g. if using End of Injection the two groups will start injecting at slightly different times but end at the same time or for Start of Injection
they will both start injecting at the same time but each group will finish at the correct time for the amount of fuel required from each group).
For example on a V8 engine with a primary and secondary injector per cylinder the following table shows how the injectors should be wired:
Be sure to follow the injector wiring guidelines to that the maximum injector drive current is not exceeded.
Wire injectors as shown in the preceding table. On engines with 5 or 6 cylinders Sequential/Multi-Point Staged must be used. Engines with 8 or more cylinders must
use Group Staged Injection.
Set the 'Injection Mode' to 'Sequential/Staged' when using this configuration.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 10 of 235
Cylinders/
Rotors
2 Inj 1 = Pri Cyl 1 Inj 3 = Sec group 1 None Spare (G4X Atom and Monsoon)
Inj 2 = Pri Cyl 2 Inj 4 = Sec group 2 Inj 5-8 Spare (G4X Storm, Xtreme and Fury)
Inj 5-16 Spare (G5 Voodoo Pro)
3 Inj 1 = Pri Cyl 1 Inj 4 = Sec group 1 Impossible combination for G4X Atom and Monsoon
Inj 2 = Pri Cyl 2 Inj 5 = Sec group 2 Inj 6-8 Spare (G4X Storm, Xtreme and Fury)
Inj 3 = Pri Cyl 3 Inj 6-16 Spare (G5 Voodoo Pro)
4 Inj 1 = Pri Cyl 1 Inj 5 = Sec group 1 Impossible combination for G4X Atom and Monsoon
Inj 2 = Pri Cyl 2 Inj 6 = Sec group 2 Inj 7-8 Spare (G4X Storm, Xtreme and Fury)
Inj 3 = Pri Cyl 3 Inj 7-16 Spare (G5 Voodoo Pro)
Inj 4 = Pri Cyl 4
5 Inj 1 = Pri Cyl 1 Inj 6 = Sec Group 1 Impossible combination for G4X Atom and Monsoon
Inj 2 = Pri Cyl 2 Inj 7 = Sec Group 2 Inj 8 Spare (G4X Storm, Xtreme and Fury)
Inj 3 = Pri Cyl 3 Inj 8-16 Spare (G5 Voodoo Pro)
Inj 4 = Pri Cyl 4
Inj 5 = Pri Cal 5
6 Inj 1 = Pri Cyl 1 Inj 7 = Sec Group 1 Impossible combination for G4X Atom and Monsoon
Inj 2 = Pri Cyl 2 Inj 8 = Sec Group 2 None Spare (G4X Storm, Xtreme and Fury)
Inj 3 = Pri Cyl 3 Inj 9-16 Spare (G5 Voodoo Pro)
Inj 4 = Pri Cyl 4
Inj 5 = Pri Cyl 5
Inj 6 = Pri Cyl 6
8 Inj 1 = Pri Cyl 1 Inj 9 = Sec Group 1 Impossible combination for G4X Atom, Monsoon, Storm, Xtreme and
Inj 2 = Pri Cyl 2 Inj 10 = Sec Group 2 Fury
Inj 3 = Pri Cyl 3 Inj 11-16 Spare (G5 Voodoo Pro)
Inj 4 = Pri Cyl 4
Inj 5 = Pri Cyl 5
Inj 6 = Pri Cyl 6
Inj 7 = Pri Cyl 7
Inj 8 = Pri Cyl 8
10 Inj 1 = Pri Cyl 1 Inj 11 = Sec Group 1 Impossible combination for G4X Atom, Monsoon, Storm, Xtreme and
Inj 2 = Pri Cyl 2 Inj 12 = Sec Group 2 Fury
Inj 3 = Pri Cyl 3 Inj 13-16 Spare (G5 Voodoo Pro)
Inj 4 = Pri Cyl 4
Inj 5 = Pri Cyl 5
Inj 6 = Pri Cyl 6
Inj 7 = Pri Cyl 7
Inj 8 = Pri Cyl 8
Inj 9 = Pri Cyl 9
Inj 10 = Pri Cyl 10
12 Inj 1 = Pri Cyl 1 Inj 13 = Sec Group 1 Impossible combination for G4X Atom, Monsoon, Storm, Xtreme and
Inj 2 = Pri Cyl 2 Inj 14 = Sec Group 2 Fury
Inj 3 = Pri Cyl 3 Inj 15-16 Spare (G5 Voodoo Pro)
Inj 4 = Pri Cyl 4
Inj 5 = Pri Cyl 5
Inj 6 = Pri Cyl 6
Inj 7 = Pri Cyl 7
Inj 8 = Pri Cyl 8
Inj 9 = Pri Cyl 9
Inj 10 = Pri Cyl 10
Inj 11 = Pri Cyl 11
Inj 12 = Pri Cyl 12
Semi-Sequential Injection
Semi Sequential sits midway between Multi-Point Group and Sequential Injection in that it is more specific around when it injects fuel for specific cylinders but only
requires half as many injectors as there are cylinders/rotors.
Semi-sequential fires injectors in groups of two, it allows injection timing control and minimises the time available for fuel to condense on the port walls. This mode
requires sufficient triggering to determine engine position in the 720 degree engine cycle. In this mode, ideally injectors are wired in pairs according to the firing order
with the pairs wired to the injector driver that corresponds to the lowest numbered cylinder in the pair. However, with some firing orders this is not possible. In cases
where that rule is not possible the idea is to group injectors in such a way that the time for fuel to sit in the port is minimised. Select Semi-Sequential Injection Mode
when using this wiring configuration.
To clarify how this mode works, this mode works the same as sequential injection but only allocates the first half of the injectors.
Examples:
· 6 Cylinder, firing order 1 5 3 6 2 4. Works nicely as per rule. Fuel sits in port for 120 degrees longer on the higher numbered cylinder in the pair than the other.
· Injector drive 1 is wired to injectors for cylinders 1 and 5.
· Injector drive 2 is wired to injectors for cylinders 2 and 4.
· Injector drive 3 is wired to injectors for cylinders 3 and 6.
· 8 Cylinder, firing order 1 8 4 3 6 5 7 2. Does not follow rule due to firing order. Pairs as per OEM Toyota 1UZFE wiring.
· Injector drive 1 is wired to injectors for cylinders 1 and 7.
· Injector drive 2 is wired to injectors for cylinders 2 and 8.
· Injector drive 3 is wired to injectors for cylinders 3 and 5.
· Injector drive 4 is wired to injectors for cylinders 4 and 6.
· 10 Cylinder firing order 1 10 9 4 3 6 5 8 7 2. Follows rule but note that the order of the high and low cylinder in each pair changes. eg in the 1-10 pair, cylinder 10
gets its fuel 72 degrees before ideal. In the 9-4 pair, cylinder 9 gets its fuel 72 degrees after ideal.
· Injector drive 1 is wired to injectors for cylinders 1 and 10.
· Injector drive 2 is wired to injectors for cylinders 2 and 7.
· Injector drive 3 is wired to injectors for cylinders 3 and 6.
· Injector drive 4 is wired to injectors for cylinders 4 and 9.
· Injector drive 5 is wired to injectors for cylinders 5 and 8.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 11 of 235
Direct Injection
This mode operates the same as Sequential except that it uses the DI Fuel Rail Pressure value for fuel pressure correction instead of the standard (low pressure) Fuel
Pressure value.
Direct/Port Injection
This mode operates the same as Sequential/Staged except that the Primary Injectors are intended as Direct Injectors. This means the primary injectors use the DI Fuel
Rail Pressure value for fuel pressure correction and the Secondary injectors use the normal (low pressure) Fuel Pressure value for pressure correction. When using
this mode the primary and Secondary Injector Timing can also be adjusted independently of each other and it is recommended to use the 'Specified Flow Rate' Staging
Mode.
G4X and G5 ECU Tuning Functions > Fuel Setup > Fuel Setup > Injection Mode > Active Drives
Active Drives
Note: This function is only available when using Single-Point Group, Multi-Point Group and Group/Staged Injection Modes.
This setting determines the number of injection drives that will be used when running group fire injection. This allows unused injection channels to be use as auxiliary
outputs. The following options are available:
· INJ1-2 - Drives 1 and 2 are used for injection, the rest are available as auxiliary outputs.
· INJ1-4 - Drives 1 to 4 are used for injection, the rest (if any) are available as auxiliary outputs.
· INJ1-6 - Drives 1 to 6 are used for injection, the rest (if any) are available as auxiliary outputs.
· INJ1-8 - Drives 1 to 8 are used for injection, the rest (if any) are available as auxiliary outputs.
· INJ1-10 - Drives 1 to 8 are used for injection, the rest (if any) are available as auxiliary outputs. (G5 Voodoo Pro only)
· INJ1-12 - Drives 1 to 8 are used for injection, the rest (if any) are available as auxiliary outputs. (G5 Voodoo Pro only)
· INJ1-16 - Drives 1 to 8 are used for injection. (G5 Voodoo Pro only)
G4X and G5 ECU Tuning Functions > Fuel Setup > Fuel Setup > Injection Mode > Injection Rate
Injection Rate Per Engine Cycle
Note: This function is only available when using Single-Point Group, Multi-Point Group, Group/Staged or Sequential/Multi-Point Group Staged Injection Mode.
This setting determines how often the injectors are fired in relation to engine cycle.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 12 of 235
Single-Point Group has more options (1,2,3,4,5,6,7,8,9,10,11,12) than Multi-Point Group, Group/Staged and Sequential/Multi-Point Group Staged (1, 2, 4).
G4X and G5 ECU Tuning Functions > Fuel Setup > Fuel Setup > Fuel Equation Mode
Fuel Equation Mode
Link ECUs have a large number of settings for calculating the required fuel delivery, these allow the tuner the flexibility to configure the fuel calculation to suit the
particular application and the information they have available. The available settings depend on the selected Fuel Equation Mode. The chart on the Fuel Setup page
provides information on the settings that are used in each Fuel Equation Mode.
· Traditional - Link ECUs have always used a fuel equation modelled around the major factors required to accurately control fuelling. This is a simplified equation
who's primary fuel adjustment is a master fuel number to set overall fueling.
This simplified diagram illustrates how Link ECUs fuel calculation has traditionally worked.
· Modelled - This fuel equation takes into consideration all of the essential physical engine and fuel properties required to calculate the engines air charge and
fuel volume.
The Traditional fuel calculation rolled together a lot of the constants like engine capacity, and injector flow into the Master Fuel setting. This was (and still is in a lot
of cases) perfectly adequate for achieving an excellent tuning result. However with advancements in information available to tuners and the increasing use of
alternative fuels, a more technically correct fuel equation improves the tuners ability to achieve an accurate tune. It also allows easier future changes.
The Modelled fuel calculation mode provides metric settings for all inputs to the fuel equation as well as improved injector flow characterisation. The following
simplified diagram shows how the Modelled fuel calculation works.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 13 of 235
· Modelled - Multi Fuel - This extends the Modelled Fuel Equation to allow for the use of two different fuels. It is common now to run alternate fuels, particularly
alcohol based fuels. Often it is a requirement to run two different fuels in the same vehicle (eg for road and race). With the availability of ethanol content
sensors it is also common to use a variable blend of fuels.
The Modelled - Multi Fuel fuel calculation mode allows for tuning of the same engine on two fuels, then have a configurable means of blending between these
fuels. The system can work from simple applications such as switching between fuels (eg 91 to 98 octane or gasoline to ethanol) right through to a full Flex Fuel
application using a continuous measurement of ethanol content. There is more information on Multi Fuel here.
The following simplified diagram outlines the Modelled - Multi Fuel calculation.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 14 of 235
While the Multi Fuel diagram appears complicated, the Multi Fuel system has been designed in such a way that simplifies setup and tuning. The tuner can simply start
in Modelled fuel calculation mode, completely tune on one fuel, then when ready turn Multi Fuel on.
Selecting a Fuel Equation Mode is an important step in fuel tuning. Use of the more complex equation modes requires entering of exactly correct engine, injector and
fuel information. There are also some correct tuning order steps that must be performed. However, a correctly setup modelled fuel equation provides good flexibility to
future changes and better adaption to varying engine conditions.
Information required for accurate prediction of engine air charge and fuel delivery is:
· Injector Information - Accurate injector characteristics are probably the most critical factor in correct operation of the fuel equation. Often exact injector
characteristic data is not available. Things you should know about the injectors:
· Injector flow varies significantly with differential fuel pressure. The differential fuel pressure across the injectors must be known in order to know how much
fuel they will flow. Also if the differential pressure changes during injector operation then this must also be known.
· Injector flow changes with fuel composition. An injector will have different flow on different fuels. The density and viscosity of the fuel affect injector flow.
Accurate information of the fuel used is essential. While most gasoline fuels have similar properties, the change of injector characteristics between
gasoline and alcohol fuels can be significant.
· Injectors are not linear. An injector does not deliver twice as much fuel if you double the pulse width applied! The most significant factor in this non linearity
is the dead time. Dead time varies with differential fuel pressure, applied voltage, and injector drive type (peak and hold or saturated). For a particular
voltage and fuel pressure dead time is considered to be constant. However, at low pulse widths, dead time can vary significantly leading to very non linear
injector behavior. Some injector suppliers can provide all the information on an injectors characteristics even over the non linear area. Knowing an injectors
non linear behavior is essential when using large injectors at low pulse widths. Assuming an injectors dead times, or just using some default values will
lead to poor fuel calculation.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 15 of 235
· Modelled fuel calculation mode calculates the fuel on a per cylinder basis so the injector pulse width calculation assumes one injector (or two for staged
injection) injector per cylinder.
· Fuel Information - In order for the ECU to determine the required mass of fuel to inject it must know the properties of the fuel being injected. Significant
properties of the fuel are its stoichiometric ratio, density, how its density changes with temperature, fuel temperature and how much energy the fuel absorbs
when it evaporates.
· Engine Air Dynamics - The static cylinder capacity of the engine and the dynamic volumetric efficiency are essential for calculating the mass of air inducted
into the cylinder. Fortunately the volumetric efficiency can be found by tuning. Charge temperature estimation is also a very important factor in estimating air
charge.
· All fuel equation modes allow injector dead time and non linear characterisation information to be used.
· If you are trying to tune on two fuels like a Gasoline/Ethanol blending situation or a switched fuel setup then use the Modelled - Multi Fuel Fuel Equation Mode.
You WILL need accurate injector and fuel information for both fuel types. There is more information on Multi Fuel here.
· If you have accurate and NOT GUESSED or ASSUMED information about the injectors, fuel and engine then use the Modelled Fuel Equation Mode.
· If you want to use an existing tune or base map without re-tuning then use Traditional Fuel Equation Mode.
· Traditional Fuel Equation Mode is the fastest and easiest to setup and tune and can still achieve extremely good fuel control.
Master Fuel
Master Fuel scales the overall fuel injection scheduling and is effective throughout the entire operating range from idle to full power. Master Fuel is required as an
overall trim to account for the size/capacity of the engine and the flow rate of the injectors.
Note: Master Fuel should be adjusted before adjusting the cells in the Fuel Table.
The value of Master Fuel is the injector pulse width (in milliseconds) that results if the active cell of the of the Fuel Table is set to a value of 100 and the manifold
absolute pressure is 100kPa. This does not include any other enrichments or corrections. Increasing the Master Fuel value increases the injector pulse width and
hence the amount of fuel injected into the engine. However, changing Master Fuel DOES NOT change any value in the Fuel Table or any other fuel adjustments. It is
therefore possible to achieve the same tune with a smaller Master Fuel and larger Fuel Table numbers as when using a larger Master Fuel and smaller Fuel Table
numbers.
Note: It is recommended to use a Master Fuel value which results in the rows in the middle of the Fuel Table having cell number values around 50 with the desired
air/fuel ratios.
Example:
Master Fuel Pulse Width = 9ms,
Master Fuel Trim Percentage = 4%
Effective Master Fuel = Master Fuel + (Master Fuel * (Master Fuel Trim / 100))
= 9 + (9 * (4/100))
= 9 + 0.36
= 9.36
G4X and G5 ECU Tuning Functions > Fuel Setup > Fuel Setup > Fuel Equation Mode > Modeled Modes > Engine Capacity
Engine Capacity
Enter the Engine Capacity in cubic centimeters (cc).
This number is used by the fuel calculation to determine cylinder air charge. It is also used to determine the Load(Abs) parameter.
Note: This setting is only used when the Fuel Equation Mode is set to Modelled or Modelled - Multi Fuel.
G4X and G5 ECU Tuning Functions > Fuel Setup > Fuel Setup > Fuel Equation Mode > Modeled Modes > Fuel System Type
Fuel System Type
Note: The Fuel System Type settings apply to the low pressure fuel system, not Direct Injection High Pressure fuel systems.
The Fuel System Type setting selects how the ECU determines the differential pressure across the injector. Select the Fuel System Type that matches the engines
setup.
Knowing the injectors differential pressure allows the ECU to calculate the change in fuel flow.
NOTE: This setting is only used when the Fuel Equation Mode is set to Modelled or Modelled - Multi Fuel.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 16 of 235
G4X and G5 ECU Tuning Functions > Fuel Setup > Fuel Setup > Fuel Equation Mode > Modeled Modes > Base Fuel Pressure
Base Fuel Pressure
The Base Fuel Pressure is the fuel pressure in the fuel rail when the fuel pump is on, but the engine is not running (for both MAP referenced and returnless systems).
Note: This setting is only used when the Fuel Equation Mode is set to Modelled or Modelled - Multi Fuel AND Fuel System Type is set to MAP Referenced or
Returnless.
G4X and G5 ECU Tuning Functions > Fuel Setup > Fuel Setup > Fuel Equation Mode > Modeled Modes > Fuel Density
Fuel Density
The Fuel Density setting is used to specify the density of the fuel being used. The fuel density is required as part of the ECUs fuel equation.
Fuel density can vary depending on fuel type, manufacturer, and season. The following values are given as guidelines only.
Note: This setting is only used when the Fuel Equation Mode is set to Modelled or Modelled - Multi Fuel.
G4X and G5 ECU Tuning Functions > Fuel Setup > Fuel Setup > Fuel Equation Mode > Modeled Modes > Fuel Density Temperature Coefficient
Fuel Density Temperature Coefficient
The Fuel Density Temperature Coefficient setting is used to specify how the density of the fuel used changes with temperature. The fuel density temperature coefficient
is required as part of the ECUs fuel equation.
Note: This must be correctly set irrespective of if a fuel temperature sensor is used. Fuel temperature density correction will not be applied unless a fuel temperature
sensor is fitted and correctly configured.
Note: This setting is only used when the Fuel Equation Mode is set to Modelled or Modelled - Multi Fuel.
G4X and G5 ECU Tuning Functions > Fuel Setup > Fuel Setup > Fuel Equation Mode > Modeled Modes > Fuel Charge Cooling Coefficient
Fuel Charge Cooling Coefficient
The Fuel Charge Cooling Coefficient number is used to determine the cooling effect the evaporation of the fuel has on the temperature of the air charge. The amount of
charge cooling is determined by the latent heat of evaporation of the fuel, the manifold air temperature, the injector location and spray pattern and various other
complex factors. Determining this number mathematically is complex and it is more simple to determine it during tuning.
This is an important correction and greatly improves the fuel calculations ability to deliver the expected target Lambda value. Tuning of this setting also relies highly on
accurate injector information (particularly dead times) being entered first.
WARNING: Changing the Fuel Charge Cooling Coefficient after the Fuel (VE) Table is tuned will alter the engines tune. This number must be set before final tuning
and not changed.
If you do not want to use the fuel charge temp cooling correction, set this setting to 0.
Note: This setting is only used when the Fuel Equation Mode is set to Modelled or Modelled - Multi Fuel.
G4X and G5 ECU Tuning Functions > Fuel Setup > Fuel Setup > Fuel Tuning Procedure
Fuel Tuning Procedure
This guide is intended to roughly define the steps to setup and tune engine fueling. Tuners will have their own preferred methods and techniques but should read this
guide to at least have an understanding of the order in which fuel setting must be adjusted.
The way in which fuel is setup and tuned varies depending on how the ECU is setup, this is mostly governed by the Fuel Equation Mode used.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 17 of 235
2. The aim is to run the engine at mid RPM/load and get fuel table numbers of around 50. If the numbers are too low, then reduce Master Fuel, likewise if the
Fuel Table numbers are too high, increase Master Fuel.
3. Tune the Fuel Table at idle and make sure the numbers have useable resolution. If the numbers are too small, then a lower Master Fuel is required. A
typical idle number is around 20-30.
4. If possible check at full power that the Fuel Table numbers do not get too high. A typical full power number is around 75-85.
3. Tune the Fuel Table cells as normal.
1. Modelled Fuel Equation Mode depends critically on all fuel and injector characteristic information being correct. Some parts of the modelled fuel calculation will
not deliver the desired result if these numbers are wrong. Do not guess at these numbers, contact your Link dealer for further advice if required.
2. Prior to tuning, ensure the Charge Temperature Approximation Table is configured correctly, changing this table later will require retuning of the Fuel (VE)
Table.
3. Ensure Fuel Pressure and Fuel Temperature is stable. Confirm that the Base Fuel Pressure setting is correct and that the fuel system maintains this pressure
over the entire operating range (MAP referenced system), if this setting does not match the fuel pressure on the engine then the ECU will not correctly calculate
the actual injector flow.
4. Before final tuning can be completed, the Fuel Charge Cooling Coefficient must be set correctly. This can not be adjusted once tuning is complete as it will
require retuning of the Fuel (VE) Table.
5. Tune the Fuel (VE) Table cells as normal.
G4X and G5 ECU Tuning Functions > Fuel Setup > Fuel Setup > Equation Load Source
Equation Load Source
This option determines how the load input to the fuel equation is derived. The load signal is an estimation of the pressure forcing air into the cylinder.
· Load=MAP - Manifold Absolute Pressure (MAP) is used as the load input for the fuel equation. This means that when the manifold pressure doubles, there will
be twice the cylinder charge. This is the preferred mode and should be used on all applications unless the MAP signal is not a reliable reference to manifold
pressure.
· Load=BAP - Barometric Absolute Pressure (BAP) is used as the load input for the fuel equation. This allows for correction of the estimated air charge based on
barometric pressure. This can only be used on naturally aspirated engines with no useable MAP signal.
· Load=BAP/MAP XOver - BAP is used as the load input for the fuel equation while the MAP value is less than the BAP value (ie manifold vacuum). When MAP is
greater than BAP (ie under boost), MAP is used as the load input to the fuel equation. This mode is rarely used but can have application on forced induction
engines with a very weak or erratic MAP signal when in vacuum.
· Load=MAP - This is the most common mode used. In this mode Manifold Absolute Pressure (MAP) is used in the main fuel equation. This means that a doubling in
the MAP reading will result in twice as much air charge and hence twice the fuel being delivered to the engine (assuming the main fuel table number stays constant).
In order to get Barometric Pressure Correction into the fuel calculation in this mode, the Fuel Table Load Axis should be set to MGP.
For engines with low manifold pressure, or one throttle butterfly per intake port and turbocharged, set the Fuel Table Load Axis to TP(Main).
· Load=BAP - This mode is used on more aggressive engines where the MAP reading is too low or inconsistent to provide stable tuning.
In this mode the Fuel Table Load Axis will typically be set to TP(Main).
This mode then effectively provides barometric pressure correction for engines 'mapped off TPS'.
· Load=BAP/MAP XOver - This mode is a combination of the Load=MAP and Load=BAP modes. Under vacuum, the fuel equation uses Barometric Absolute
Pressure (BAP) but changes over to use Manifold Absolute Pressure (MAP) under boost. This results in a calculated fuel addition once under boost.
The best way to use this mode is to span the main Fuel Table Load Axis with TP(Main). Enable the 4D fuel table and span its Load axis using MGP. Set the Load
Axis to start at 0 kPa and ensure that all numbers in the first row are 0. This gives BAP correction over the entire operating range and allows fuel tuning under boost.
Setup Examples
· Turbo/Super charged engine with unstable manifold pressures below atmospheric pressure.
· Equation Load Source - Load=BAP/MAP XOver
· Fuel Table 1 Load Axis -TP(Main)
· 4D Fuel Table Load Axis - MGP
G4X and G5 ECU Tuning Functions > Fuel Setup > Fuel Setup > Lambda Target Table Overlay
Lambda Target Table Overlay
The Lambda Target Table Overlay function allows for a fourth dimension of tuning on the AFR/Lambda Target Table. This can be used for a variety of tuning purposes.
Examples include altering the AFR/Lambda at lower temperatures, safety functions to richen the engine or for altered AFR/Lambda based on altitude.
Lambda Target Table Overlay numbers are added to the numbers in the AFR/Lambda Target Table. For example a number of 1 AFR in the table will alter the AFR
Target by plus one (ie 14.7 will become 15.7). If the table has a number of -0.5 then the final AFR will be 0.5 less.
Note: The Lambda Target Table Overlay value will only be applied while the selected input is active.
Note: As the AFR/Lambda Target is used for Closed Loop Lambda (CLL), the Open Loop AFR/Lambda Overlay function will also affect the CLL target.
The current AFR/Lambda Target can be viewed in the Fuel tab of the Runtime Values window.
G4X and G5 ECU Tuning Functions > Fuel Setup > Fuel Setup > Stoichiometric Ratio
Stoichiometric Ratio
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 18 of 235
The Stoichiometric Ratio of the fuel being used is required to calculate the correct amount of fuel to be delivered for a given air mass. The stoichiometric ratio is also
used to calculate the AFR Average runtime value and by PCLink to do automatic Lambda to AFR conversion (U key).
G4X and G5 ECU Tuning Functions > Fuel Setup > Fuel Setup > Min Effective Pulse Width
Min Effective Pulse Width
The Min Effective Pulse Width is the shortest Effective Pulse-width the ECU will allow regardless of all fuel trims. The correct value for this setting should come from
your injector specifications data-sheet.
The Injection Effective PW can be less than this value but the Injection Effective PW plus the Injector Short Pulse Width Adder will always be greater than or equal to
this value (same as Injection Actual PW minus the Injection Deadtime).
Note: The Min Effective Pulse Width setting only applies to primary injectors. Secondary injectors can have a minimum pulse-width set with the Sec PW Lockout
setting.
G4X and G5 ECU Tuning Functions > Fuel Setup > Fuel Setup > Charge Temp Correction
Charge Temp Correction
Charge Temperature refers to the temperature of the air entering the engines intake port. This value can be estimated from the Engine Coolant Temperature (ECT) and
Intake Air Temperature (IAT) parameters at various load points.
The influence of IAT and ECT upon the current Charge Temperature value is affected by the current value from the Charge Temp Correction Table.
A table value of 100% means the Charge Temperature parameter will read the same as the ECT parameter.
A table value of 0% means the Charge Temperature parameter will read the same as the IAT parameter.
In Traditional Fuel Equation Mode, Charge Temperature Correction must be turned on if it is to be used. In Modelled and Modelled - Multi Fuel modes Charge
Temperature Correction is always used and there is no On/Off setting available.
WARNING: Manifold temperature sensor location has a large influence on accurate charge temperature estimation. Placing a sensor before the throttle body may not
provide an accurate indication of the temperature of the air drawn into the cylinder. A sensor placed in the manifold may be more accurate. A heat soaked manifold will
increase the temperature of the intake air charge significantly. It is important that the sensor type used is fast responding and has an element that is out in the air flow.
Setup Notes
· Generally speaking, the more airflow the engine has, the more influence IAT should have. This should lead to a table that has lower values as the MGP and
Engine Speed increase.
· Charge Temperature Correction uses the IAT and ECT sensor data, but does not require use of the separate IAT and Warm-up (ECT) enrichment functions.
· When using the Charge Temp Correction, start with IAT Fuel Correction set to Off (or all zero) and set the Warm-up Enrichment table so all values are zero. Now
setup the Charge Temperature Correction table. If you are unable to achieve enough correction or want additional correction use the IAT Fuel Correction and
Warm-up Enrichment table also.
· IAT sensor location and type can cause substantial differences in the table. This is due primarily to heat-soak.
· If only charge temperature estimation from the intake manifold temperature sensor is required, set the table value to all 0.
The following examples are to help understand how Charge Temperature Correction works. In the examples the Warm-up Enrichment table cells are all set to zero and
IAT Fuel Correction is turned OFF.
· When the active cell from the Charge Temp Approximation Table is set to 0.0
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 19 of 235
As can be seen in the image above, the Charge Temperature value tracks the IAT value. You can also see that as the Charge Temperature decreases, the
injection effective pulse-width increases. This is because as the Charge Temperature decreases the density of the air increases and more fuel is required.
· When the active cell from the Charge Temp Approximation Table is set to 100.0
As can be seen in the image above, the Charge Temperature value tracks the ECT [Link] can also see that as the Charge Temperature decreases, the
injection effective pulse-width increases. This is because as the Charge Temperature decreases the density of the air increases and more fuel is required.
· When the active cell from the Charge Temp Approximation Table is set to 50.0
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 20 of 235
As can be seen in the image above, at the start of the log ECT = 100°C, IAT = 50°C, and Charge Temperature = 75°C (half way between ECT and IAT). Initially the
ECT decreases and the Charge Temperature also decreases because of this, later the ECT stays stable and the IAT decreases and the Charge Temperature also
decreases because of this. Because the Charge Temperature has decreased, the density of the air has increased and the ECU adds more fuel, which can be seen
by the increased effective pulse-width.
Generally speaking when less air flows through the engine the heat of the engine (ECT) will have more of a heating effect on the incoming air. And when more air flows
through the engine the heat of the engine (ECT) will have less of a heating effect on the incoming air.
Normally the higher the engine speed the lower the value needed in the charge temp table. Also the higher the engine load (MGP or TPS) the lower the value needed
in the charge temp table.
Logging engine data and then analysing it will help determine if the charge temp table value for a certain engine speed and load needs to be increased or decreased.
Imagine you recorded a log and upon reviewing it you found the following:
In this situation the engine requires less fuel, which means the Charge Temperature needs to be increased. To achieve this ECT needs to have more influence (as
ECT is at a higher temperature than IAT), so the Charge Table value is increased from 50 to 75. Record another log and look at the result. Now adjust again as
required.
Imagine you recorded a log and upon reviewing it you found the following:
In this situation the engine requires less fuel, which means the Charge Temperature needs to be decreased. To achieve this IAT needs to have more influence (as
IAT is at a lower temp than ECT), so we the Charge Table value is decreased from 50 to 25. Record another log and look at the result. Now adjust again as
required.
When reviewing a log file all the cells of the Charge Table that the log has data points for (Engine Speed and Load) can be adjusted. Another log file can then be
recorded and examined to see which cells of the Charge Table still needs adjusting. Each time this process is repeated each cell of the Charge Table will be getting
closer to where it needs be. For cold start tuning this process may take some days, as getting the engine back down to a low ECT can take a while.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 21 of 235
G4X and G5 ECU Tuning Functions > Fuel Setup > Fuel Setup > Asynchronous Injection
Asynchronous Injection
Asynchronous Injection adds extra fuel injection pulses after the main injection pulse is completed. This is done when the fuel calculation output increases the required
amount of fuel after the initial amount of fuel has already been injected.
This function gives a faster response than using just Acceleration Enrichment which used on its own has to wait for the next injection event and so is one engine cycle
behind.
The Minimum Asynchronous Injection setting is the minimum amount of calculated extra fuel required before an asynchronous injection event will occur, this prevents a
large number of small injection events occurring.
G4X and G5 ECU Tuning Functions > Fuel Setup > Fuel Setup > Wall Wetting Compensation
Wall Wetting Compensation
When the new volume of fuel being injected is larger than the previous volume this percentage value of extra fuel is also added to help compensate for changes in the
intake wall fuel film in transient conditions. This function is operating all the time including on exit of fuel cuts.
Appropriate setting of this value should reduce the need for Accel Enrichment.
G4X and G5 ECU Tuning Functions > Fuel Setup > Fuel Setup > Injector Drive Reallocation
Injector Drive Reallocation
This feature allows the user to rearrange how physical Injector Drives are linked to the different injector channels in the ECU.
· Off - Injector channels are allocated as specified in the Fuel Setup help, e.g. for sequential injection injector drive 1 is wired to cylinder 1, injection drive 2 is
wired to cylinder 2 and so on.
· On - Injector channels are re-allocated as specified in the Injector Drive Reallocation table. The X axis is the injector channels coming out of the fuel equation
and the user-settable values in the table are what physical injector drive that fuel channel is to be sent to.
For example if you have a 4 cylinder engine with both Direct Injectors and Port Injectors you would have the Injection Mode set to 'Direct/Port Injection' and there will be
eight injector drives allocated. These eight drives are by default allocated with the first four being the Direct Injectors and the 2nd lot of four being the Port Injectors as
shown below:
· DI injector cylinder 1 - Injector Drive 1
· DI injector cylinder 2 - Injector Drive 2
· DI injector cylinder 3 - Injector Drive 3
· DI injector cylinder 4 - Injector Drive 4
· Port injector cylinder 1 - Injector Drive 5
· Port injector cylinder 2 - Injector Drive 6
· Port injector cylinder 3 - Injector Drive 7
· Port injector cylinder 4 - Injector Drive 8
If you were to then turn on Injector Drive Reallocation and setup the table as shown below you would have:
Note: The requested Duty Cycle must be above the set value for a continuous period of 200ms before the fault is thrown.
Note: The fault can be triggered by the Primary or the Secondary Injector requested Duty Cycle.
G4X and G5 ECU Tuning Functions > Fuel Setup > Fuel Setup > Injector Setup
Injector Setup
Note: Some Injector Calibrations can be found here.
The following controls relate to fuel injector and ECU injection driver setup. Typically these will be set once during the initial setup procedure and left unaltered after
that.
· Fuel Injector Wiring and Setup Technical Notes - Information to help with the injector configuration.
· Injector Deadtime - Dead time table for the primary injectors.
· inje - Information on how to compensate for the non-linear flow of injectors at short pulse widths.
· Injector Flow @ Rated Pressure - How much fuel flows through the injector at the rated pressure. Only used when Fuel Equation Mode is set to Modelled or
Modelled - Multi Fuel.
· Injector Rated Fuel Pressure - This is the differential fuel pressure that the injectors were flow rated at. Only used when Fuel Equation Mode is set to
Modelled or Modelled - Multi Fuel.
Other options relating to the fuel delivery method and fuel calculation are found in the Fuel Setup menu.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 22 of 235
· Standard - The injector drive output is active low (pulls to ground to turn the injector on) and the internal pull-up (G5 Voodoo Pro ECUs only) is off.
· Inversed with pull-up - The injector drive output is active high (pin drive floating to turn injector on) and the internal pull-up (G5 Voodoo Pro ECUs only) is on.
In applications with a linear 1:1 fuel pressure regulator (ie not a rising rate regulator), the differential fuel pressure (difference between manifold pressure and fuel
pressure) will be constant. Therefore the only variable that is changing will be the battery voltage (this changes with electrical load and sometimes engine speed).
Without correction, the changes in dead time will cause the engine to run lean when the voltage drops. If the Injector Voltage Correction is properly setup then changes
in the battery voltage will not affect the air/fuel ratio.
The injector dead-time table allows the dead-time for different battery voltages to be entered. The values represent the dead-time in milliseconds. These should
increase with falling system voltage.
Below 4.0 ms fuel injectors often have non-linear flow, to correct for this area of non-linear flow Link G4X and G5 ECUs have primary and secondary Injector Short
Pulse Width Adder Tables. The secondary table is used only on engine setups that use staged injection.
Most injector data sheets provide the required information for the Injector Short Pulse Width Adder table, often this information will be named 'GM Small Pulse Adder'
data. The table below is an example of this data for the Injector Dynamics ID1000 injector.
Effective Pulse Width 0.000 0.125 0.250 0.375 0.500 0.625 0.750 0.875 1.000 1.125 1.250 1.375 1.500 1.625 1.750 1.875
Short Pulse Width Adder 0.000 0.173 0.134 0.101 0.077 0.059 0.047 0.038 0.031 0.027 0.023 0.021 0.019 0.017 0.015 0.013
Effective Pulse Width 2.000 2.125 2.250 2.375 2.500 2.625 2.750 2.875 3.000 3.125 3.250 3.375 3.500 3.625 3.750 3.875
Short Pulse Width Adder 0.011 0.010 0.009 0.008 0.006 0.005 0.003 0.001 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000
Injector Dynamics ID1000 Short Pulse Width Adder Table (units in msec).
Warning
The correct numbers for the Short Pulse Width Adder Table will vary significantly with injector model. If accurate data is not available set the whole table to zero.
Note: This setting is only used when the Fuel Equation Mode is set to Modeled or Modeled - Multi Fuel.
Note: This value must always be set to the flow rate per cylinder, if there is one injector per cylinder then it is the flow rate of a single injector, if it is a V8 with 4
injectors wired up it is half the flow rate of an individual injector. When using Staged injection this value is the flow rate per cylinder of the primary injectors.
This setting is also used to determine the Instantaneous Fuel Consumption parameter.
Note: This setting is only used when the Fuel Equation Mode is set to Modeled or Modeled - Multi Fuel.
Note: The Fuel Flow Table is intended to provide an approximation of the actual fuel usage and the fuel usage accuracy depends on the accuracy of the Deadtime
Table values, SPWA Table values and the Fuel Flow Table values.
Note: This setting and associated table is only used when the Fuel Equation Mode is set to Traditional (Modeled fuel modes use the Injector Flow @ Rated Pressure
and Injector Rated Fuel Pressure values).
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 23 of 235
G4X and G5 ECU Tuning Functions > Fuel Setup > Fuel Setup > Injector Test
Injector Test
This function allows injector wiring to be tested and can also be used to help with injector flow testing. This function will only operate when Engine Speed is 0 RPM.
Test Injection Counts - The number of times injector drive 1 will pulse for in total. Only used when Injector Test is set to Adv Test Inj 1.
Test Injection Frequency - How many times per second injector drive 1 will pulse. Only used when Injector Test is set to Adv Test Inj 1.
Test Injection PW - How long each pulse will turn on for. Only used when Injector Test is set to Adv Test Inj 1.
Note: The fuel pump (if controlled by the ECU) will be disabled during this test procedure as RPM is 0. If testing injector fuel flow using Adv Test Inj 1 the fuel pump will
need to be on. Select the Auxiliary Output channel the fuel pump is allocated to and change its function to Test (On), this will cause the fuel pump to turn on.
Remember to set the Auxiliary Output channel back to Fuel Pump when injector testing is finished.
Example:
Injector Test: Adv Test Inj 1
Test Injection Counts: 30
Test Injection Frequency: 5 Hz
Test Injection PW: 5.0000 ms
When setup like above the Injector Test function will pulse injector drive 1 five times per seconds (every 200ms), for a pulse-width of 5.0000ms. In total there will be
30 pulses, and the entire test cycle will take 6.0 seconds. At the end of the test cycle injector drive 1 will stay off and Injector Test will change to OFF.
Note: When Injection Reallocation is turned on the selected 'injector' in the test function is the channel not the actual drive so the reallocation table applies to the
injector test selection too.
G4X and G5 ECU Tuning Functions > Fuel Setup > Multi Fuel
Multi Fuel
Multi Fuel is a fuel calculation extension specifically designed for running the same engine on two different fuel types. While Multi Fuel can be used to tune the same
engine to run on similar fuels such as a high and low octane gasoline, it is more designed for use with fuels that significantly differ such as gasoline and alcohol
(ethanol / methanol).
Note: For a guide to configuring and tuning a Multi Fuel Setup, refer HERE.
· Gasoline/ethanol blending (Flex Fuel). Multi Fuel allows the use of an ethanol sensor to determine the required fuel and injector properties to be used in the fuel
calculation for a particular ethanol blend.
· Tuning for two similar fuels (eg low and high octane) can often be achieved without Multi Fuel by simply having a different ignition table for each fuel that is
switched by the driver. However, Multi Fuel adds the flexibility to continuously vary between the tunes for each fuel using a dial or knob.
· Tuning a docile and aggressive tune on the same fuel and using a dial or knob to vary between the tunes. This could allow different Lambda target, ignition and
boost between the two tunes.
The following additional settings appear in the Multi Fuel settings menu when Multi Fuel Fuel Equation Mode is enabled:
· Injector Flow @ Rated Pressure - The 100% duty cycle flow of the injectors on the second fuel in cc per minute at the particular Injector Rated Fuel Pressure.
· NOTE: Injectors DO flow different volumes on different fuels (however they can be similar between different gasoline's).
· There is only one Injector Rated Fuel Pressure setting for the first fuel. The injector flows for the two fuels must be rated at the same pressure.
· Fuel Density @ 20 deg C - The density of the second fuel.
· Fuel Density Temp. Coeff. - The thermal temperature expansion coefficient of the second fuel.
· Stoich Ratio - The Stoich Ratio of the second fuel.
· Fuel Charge Cooling Coeff. - Used to determine the cooling effect the evaporation of the second type fuel has on the temperature of the air charge
· AFR/Lambda Target Table 2 - Sets the desired AFR/Lambda target for the second fuel.
· Multi Fuel Blend Ratio Table - Controls how the ECU chooses its real time values from the settings entered for the first and second fuel types. Described further
below.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 24 of 235
· Stoich Ratio
· Injector Flow
· Fuel Density, Fuel Density Temp. Coeff., Fuel Charge Cooling Coeff.
· AFR/Lambda Target
The Multi Fuel Blend Ratio Table does not directly control other tuning real times values such as the Fuel (VE) Table, Ignition Table, Warm Up Enrichment or Boost
Control. However each of these functions can be configured to be controlled by the Multi Fuel Blend Ratio if desired.
The X Axis of the Multi Fuel Blend Ratio Table should be configured to suit the way in which the currently used fuel type is selected. The most common parameters to
use on the X Axis are Ethanol % (output from an ethanol content sensor), Analog Input (0-5V from pot on dash), or Digital Input (fuel selection switch on dash).
The values in the Multi Fuel Blend Ratio Table are interpreted as:
The output of the Multi Fuel Blend Ratio Table is available as the Multi Fuel Blend parameter and can be used as a table axis, switching condition, for display and
logging.
1. Set the X axis to the parameter that controls fuel blending selection. Use Ethanol % if using an ethanol sensor. Otherwise an Analog Input or Digital Input will
most likely be used.
2. Set the X axis numbers as appropriate. There is an important point to understand here. The table should give an output of 0% when the first fuel is used and
100% when the second fuel is used. Here are some examples:
NOTE: The most important point from this table is that it must output 0% when tuning on the first fuel and 100% when tuning on the second fuel. Make sure the table is
not at its upper limit either. For example if 100% ethanol is used on example B above.
NOTE: Ethanol blends do not often measure as stated on the pump. This can depend on summer and winter blends and various other factors. Do not assume that
because you bought E85 it is 85% ethanol. While a variation in ethanol content is corrected for during engine running (the point of using a Multi fuel tune), at the time of
tuning the exact ethanol content must be known. It may be necessary to correct the fuels ethanol content.
NOTE: For a guide to configuring and tuning a Multi Fuel Setup, refer HERE.
G4X and G5 ECU Tuning Functions > Fuel Setup > Multi Fuel > Multi Fuel Setup and Tuning Guide
Multi Fuel Setup and Tuning Guide
Before reading this setup guide ensure you have read and fully understand all of the following topics (and the topics referenced by them). The guide assumes the
reader understands all of the setting and ideas presented!
The first fuel can be either of the fuel types used, but for clarity it is often better to be the primary fuel the engine will run on. Typically in a gasoline/ethanol setup this
will be the gasoline.
The first step is to tune the engine as though it was only going to run on the first fuel.
1. Fill the fuel tank with pure unblended first fuel. Go to some effort here to make sure there is no residual mix of fuel.
2. Set the Fuel Equation Mode to Modelled (not Multi-Fuel).
3. Setup all fuel, injector and engine properties for the first fuel.
4. Setup Cold Start adjustments. If using significantly different fuels or petrol/alcohol blends then these steps will be required. These settings are found under
Fuel->Cold Start.
1. Set Pre-Crank Prime to use a 3D table. Set the table axis to be ECT and Multi Fuel Blend (or Ethanol % if more appropriate).
2. Set Crank Enrichment to use a 3D table. Set the table axis to be ECT and Multi Fuel Blend (or Ethanol % if more appropriate).
3. Set Post Start Enrichment to use a 3D table. Set the table axis to be ECT and Multi Fuel Blend (or Ethanol % if more appropriate).
4. Set Warm Up Enrichment Table mode to Multi-Fuel. Set the Axis to TP(Main) (or MAP) and Engine Speed.
5. Tune the engine as per the Modelled fuel tuning guide. This includes cold starts and all other normal tuning procedures.
Tuning for the second fuel is basically the same procedure as tuning for the first fuel, except using the second fuel and all the settings for the second fuel.
1. Fill the fuel tank with pure unblended second fuel. Go to some effort here to make sure there is no residual mix of fuel.
2. Set the Fuel Equation Mode to Modelled - Multi Fuel.
3. Ensure that all the new settings that become available are configured correctly for the second fuel type. Refer Multi Fuel Settings. Particularly the Injector
flow and Stoich Ratio numbers.
4. Set up the Multi Fuel Blend Ratio Table. It is a good idea to start with the numbers in the Multi Fuel Blend Ratio Table linearly interpolated between 0 and 100%.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 25 of 235
5. Copy the AFR/Lambda Target table numbers from Table to Table 2. This can be done by right clicking on the AFR/Lambda Target Table and selecting
Import/Export > Export to Clipboard. Then right click AFR/Lambda Target Table 2 and select Import/Export > Import from Clipboard. Modify the numbers in
the AFR/Lambda Target Table 2 to suit the second fuel.
6. Some fuel changes will not require a second Fuel (VE) Table. Radical fuel changes (eg Gasoline/ethanol) may require a second VE table. A second table can
be enabled now or left until it is found that it is required. To enable a second VE Table:
1. In Fuel > Fuel Corrections > Dual Fuel Table, set the Table 2 Mode to Interpolate Between.
2. The Fuel Table Ratio Table will appear under Fuel > Fuel Corrections > Dual Fuel Table.
3. Set the X axis of this Table to Multi Fuel Blend and set the axis numbers to 0 and 100. You can choose to blend the VE tables from another parameter if
desired.
4. Set the numbers in the Fuel Table Ratio Table to match the axis numbers to get a VE table blend that matches the other Multi Fuel blended settings.
7. The same process can be used for two Ignition tables if it is expected that ignition numbers will vary significantly between fuels. The setup is found under
Ignition > Ignition Corrections > Dual Ign Table. Note: It may be desirable to set the X axis of this table to something other than Multi Fuel Blend if the ignition
timing should not exactly track the fuel blend. Eg Ethanol %.
8. If using a Multi Fuel blended Warm Up Enrichment Table then copy the numbers from Table 1 to Table 2 also.
9. Ensure before tuning that the Multi Fuel Blend parameter reads 100%.
10. Tune the engine as per the Modelled fuel tuning guide on the second fuel. Make sure to apply tuning changes to the settings for the second fuel (eg
AFR/Lambda Target Table 2, Fuel (VE) Table 2, Fuel Charge Cooling Coeff). This includes cold starts and all other normal tuning procedures.
After the engine is satisfactorily tuned on both fuels, if it is desired to operate the engine at any point in between the two fuels then the fuel must be mixed in controlled
amounts and a basic tuning process followed.
G4X and G5 ECU Tuning Functions > Fuel Setup > Cold Start
Cold Start
The following controls relate to fuel injection cold start setup.
· Pre-Crank Prime
· Crank Enrichment
· Post-Start Enrichment
· Warm-up Enrichment Table
G4X and G5 ECU Tuning Functions > Fuel Setup > Cold Start > Pre-Crank Prime
Pre-Crank Prime
When trying to start a cold engine, fuel condenses on the walls of the intake tract, taking longer to reach the cylinder. Pre-Crank Prime delivers fuel to the engine
BEFORE it is cranked. This supplies additional fuel to wet the intake tract helping to ensure good starting at low engine temperatures. Do not confuse this with the First
Crank setting which adds to the Crank Enrichment for the FIRST engine revolution delivering an additional enrichment just for the first revolution.
Prime Mode
Sets the type of Pre-Crank Prime used:
· OFF - No Pre-Crank Prime
· Key On - The injectors will be opened for the time specified in the Pre-Crank Prime Time table each time the ECU is powered up.
· Ign Start Position - The injectors will be opened for the time specified in the Pre-Crank Prime Time table the first time the key is turned to the start position. This
ensures that the prime fuel is not injected too early when the key is turned on, then turned to start some time later. This mode requires a Digital Input to be configured
as Start Position and wired to the start terminal on the ignition switch.
Note: There are four engine coolant temperature dependant functions which provide enrichment. These are Pre-Crank Prime, Crank Enrichment, Post-Start
Enrichment and Warm-Up Enrichment. As a general rule, the correct warm-up enrichment value will be lower than either the crank enrichment or post-start enrichment.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 26 of 235
G4X and G5 ECU Tuning Functions > Fuel Setup > Cold Start > Crank Enrichment
Crank Enrichment
Cold engines require significantly more fuel (enrichment) than warm engines. This is primarily due to the fact that the injected fuel condenses on the walls of the inlet
tract and therefore does not make it to the cylinders.
The Crank Enrichment function provides enrichment while the engine is being cranked on the starter motor (while the engine speed is below 400rpm). As soon as the
engine speed exceeds 400 RPM, Crank Enrichment is turned off and enrichment is provided by the Post-Start function.
The amount of crank enrichment that is required for starting depends on engine coolant temperature, to cater for this, an 18 cell table is used to allow the crank
enrichment values to be edited in 10ºC increments. The value entered into each cell represents the percentage enrichment at that particular temperature. Linear
Interpolation is used between each cell to calculate the crank enrichment when the current engine coolant temperature is between the cell centres, the green cell
indicates the currently active cell.
The current amount of Crank Enrichment is displayed on the Fuel tab of the Runtime Values Window (F12 key).
3D Crank Enrich
Set this to ON for a Crank Enrichment Table that has x and y axis. Set to OFF for a Crank Enrichment Table with only an x axis.
Note: There are four engine coolant temperature dependant functions which provide enrichment. These are Pre-Crank Prime, Crank Enrichment, Post-Start
Enrichment and Warm-Up Enrichment. As a general rule, the correct crank enrichment value will be higher than either the post-start or warm-up enrichment values.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 27 of 235
G4X and G5 ECU Tuning Functions > Fuel Setup > Cold Start > Post-Start Enrichment
Post-Start Enrichment
Cold engines require significantly more fuel (enrichment) than warm engines, this is primarily due to the fact that the injected fuel condenses on the walls of the inlet
tract and therefore does not make it to the cylinders.
As soon as the engine speed exceeds 400 RPM, the crank enrichment enters it's hold time state and once the crank enrichment hold time has passed enrichment is
provided by the Post-Start Enrichment function. The Post-Start enrichment value will be fixed for a set length of time (set by the Hold Time). After the Hold Time has
elapsed, the post-start enrichment will decrease linearly until it reaches the value set by the Warm-Up Enrichment. The length of time that this decrease takes is set by
the Decay Time. At the end of this decay the Post-Start Enrichment will turn off and the Warm-Up Enrichment will be the only engine coolant temperature enrichment
remaining active.
The Post Start Enrichment Table can be set to either 2D or 3D. When set to 2D the x (horizontal) axis is set to ECT and the table increments every 10ºC. When set to
3D both the x and y table axis are configurable, this is useful for more complex setups particularly when needing to support multiple fuel types. Linear Interpolation is
used between each cell to calculate the correct amount of enrichment when the axis values are between the cell centres. The green cell indicates the currently active
cell.
The current post-start enrichment value is displayed on the Fuel tab of the Runtime Values Window (F12 key).
Note: There are four engine coolant temperature dependant functions which provide enrichment. These are Pre-Start Prime, Crank Enrichment, Post-Start Enrichment
and Warm-Up Enrichment. As a general rule, the correct Post-Start Enrichment value will be lower than the Crank Enrichment but higher than the Warm-up
Enrichment.
If the current Post-Start Enrichment value (based on engine coolant temperature) is the same value as that of Warm-up Enrichment the Post-Start Enrichment will be
skipped as it is not necessary.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 28 of 235
G4X and G5 ECU Tuning Functions > Fuel Setup > Cold Start > Warm-up Enrichment Table
Warm-up Enrichment Table
Cold engines require significantly more fuel (enrichment) than warm engines. This is primarily due to the fact that the injected fuel condenses on the walls of the inlet
tract and therefore does not make it to the cylinders.
After the Post-Start Enrichment has decayed away, Post-Start Enrichment will turn off and Warm-Up Enrichment will become active. Warm-Up Enrichment will remain
active for the rest of the time that the engine is running. As the engine warm-ups up to full operating temperature the required warm-up enrichment will decrease.
To complicate matters the required enrichment changes dramatically with airflow. For example with ECT of 20ºC the amount of enrichment required at idle is
considerably more than the amount required if operating at half throttle. To allow compensation for this, a 3D Table is used to allow the warm-up enrichment to be set
as a function of both engine coolant temperature AND load. It is recommended that one table axis is set to TP(Main), the other must be set to a value that represents
engine coolant temperature (usually ECT).
The Warm Up Enrichment Table can be set to either Single or Multi Fuel modes:
· Single mode - In this mode there is only one Warm Up Enrichment Table and the enrichment from this table will be applied once Post-Start Enrichment is
finished.
· Multi fuel Mode - In this mode there are two Warm Up Enrichment Tables. This mode is only for use when the Fuel Equation Mode is set to Modelled - Multi Fuel.
Warm Up Enrichment Table 1 should be tuned to suit the primary fuel, while Warm Up Enrichment Table 2 should be tuned to suit the second fuel. The Multi Fuel
Blend parameter will then interpolate between the two Warm Up Enrichment Tables to provide the correct amount of enrichment once Post-Start Enrichment is
finished. The Multi Fuel Blend parameter is controlled by the Multi Fuel Blend Ratio Table.
Values in the Warm Up Enrichment Table represent the percentage of the base pulse width that will be added to the fuel value. A value of 0 in this table will result in no
warm up enrichment. Areas of this table around normal running temperature should be set to zero.
The current Warm-Up Enrichment value is displayed on the Fuel tab of the Runtime Values Window (F12 key).
Note: At normal operating temperature the warm-up enrichment should be set to zero.
Note: There are four engine coolant temperature dependant functions which provide enrichment. These are Pre-Start Prime, Crank Enrichment, Post-Start Enrichment
and Warm-Up Enrichment. As a general rule, the correct warm-up enrichment value will be lower than either the crank enrichment or post-start enrichment.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 29 of 235
G4X and G5 ECU Tuning Functions > Fuel Setup > Fuel Corrections
Fuel Corrections
The following controls relate to fuel corrections.
Drive Trim
Drive Trim is amount of time in milliseconds added to the injector pulse width when the transmission is in a driving gear and Idle Speed Control is Active, if Idle Speed
Control is turned off then the engine speed must be below 2000rpm for this trim to be active. Any Gear other than 0, -, N and P are considered to be driving gears and
the clutch and Neutral Park switch affect the In Driving Gear Status.
The IAT Mode can be set to ON or turned OFF completely, if no IAT sensor is installed, this setting should be set to OFF.
Note: It is recommended that all applications use intake temperature correction, IAT Correction requires that an intake temperature sensor be installed and and the IAT
Analog Input to be configured correctly.
Note: Ideally, the correction at 20C should be set to zero, at air temperatures below this the correction should be positive to provide enrichment and at air temperatures
above this the correction should be negative to reduce the fuel delivery.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 30 of 235
The IAT Fuel Trim Table allows the enrichment at different intake temperatures to be dependent on engine load. The IAT Fuel Trim Table should be set up with one
axis representing intake air temperature (usually IAT) and the other representing engine load.
G4X and G5 ECU Tuning Functions > Fuel Setup > Fuel Corrections > 4D/5D Fuel Table
4D/5D Fuel Table
Under normal circumstances a 3D Fuel Table is sufficient, usually with engine speed on one axis, load (typically represented by TP(Main) or MAP) on the other axis
and the fuel value as the third axis. This 3D mapping will be very familiar to the average tuner and a 3D surface representing the ignition timing can be easily visualized
or physically displayed using a Surface Graph.
An example of a possible application would be to correct VE as a function of barometric pressure (eg to correct for turbo charger efficiency changes).
The 4D and 5D Tables allow a way to achieve higher dimensional (4D, 5D, 6D) mapping to cater for the most complex tuning situations. This concept is difficult to
visualize and tuning in this mode will consume more time and as a result of this tuning using the 4D and 5D tables is recommended for advanced tuners only.
To view the current amount of trim being applied by the 4D or 5D Fuel Trim open the Fuel tab of the Runtime Values window (F12 key).
When configured as Overlay Table, the Dual Fuel Table effectively adds a 6th user defined fuel tuning dimension (6D). As the Dual Table is larger than the 4D and 5D
tables it is the preferred table for fuel overlay tuning (if switchable fuel maps are not required).
Table Activation
Allows the 4D or 5D Fuel Table to become active only under certain conditions, this is useful if an external switch or switching output is required to activate the table (eg
switching in the 4D Fuel Table when the NOS solenoid becomes active). If the table is required to be always active set this adjustment to Always ON.
This setting is only available when 4D/5D Fuel Mode is set to ON.
Example:
A reduction in the Main Fuel Table from 50 to 45 is a 10% change. The same effect can be achieved by leaving 50 in the Main Fuel Table and putting -10% in the 4D
Fuel table. 50 minus 10% of 50 equals 45 or 50 - (50 * 10%) =45
G4X and G5 ECU Tuning Functions > Fuel Setup > Fuel Corrections > Dual Fuel Table
Dual Fuel Table
Dual Fuel Tables allow the ECU to be tuned for two completely different tuning strategies which may require switched or interpolated tables. If switching Fuel tables is
not required, Fuel Table 2 can be configured as another overlay table, this allows up to 6 dimensions (6D) of user defined fuel tuning (refer to 4D/5D tables). A common
use of Dual Fuel Tables is when running two different octane fuels or two different engine setups. Dual Fuel tables may be used in conjunction with dual Ignition and
boost tables to completely cater for the different requirements of the two setups.
Table Activation
Used to configure which input or output is used to activate Fuel Table 2. This setting is only available when Dual Table Mode is set to Dual Table or Overlay Table.
Fuel Table 2
The alternative main fuel table that will be used when the Table Activation condition is met.
The Accel Enrichment value is Accel Sens. x (TPS or MAP) Delta x Accel Cold Correction Table and has units of 'ms' in 'Pulse Width' mode or 'mg/cyl x100' in 'Mass of
Fuel' mode.
Accel Mode
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 31 of 235
Accel Mode is used to select whether the Acceleration Enrichment is activated by either a change in MAP or Throttle Position (TP(Main)). Selecting Accel Mode as
OFF disables acceleration enrichment.
Note: Throttle position is the preferred method and should be used in all cases except when a suitable TPS is not available.
Note: Throttle position is the preferred method and should be used in all cases except when a suitable TPS is not available.
Accel DeadBand
There will always be some noise (unwanted electrical disturbance) in the MAP and TPS signal. To remove the possibility of this noise resulting in Acceleration
Enrichment, the Accel Deadband can be used to specify the amount of rate of change required before enrichment is applied.
Example: If the Accel Mode is TPS and the Accel Deadband is 1 TPS %/100ms, then the throttle position must change by more than 1% per 100ms for any
Acceleration Enrichment to be activated.
Accel Decay
This function controls the rate at which the Acceleration Enrichment fuel decays away to zero. The number represents a percentage of the current Acceleration
Enrichment which is removed from the Acceleration Enrichment at each injection event until Acceleration Enrichment equals zero.
Acceleration enrichment decay begins as soon as the new calculated accel enrichment value is less than the previous value. The number of injection events required to
decay acceleration enrichment completely depends on the Accel Decay number and the Injection Rate. The Injection Rate depends on the Injection Mode and number
of engine cylinders.
Example
If the original Acceleration Enrichment fuel was 4ms and the Accel Decay is 50% then the Acceleration Enrichment will decay as 4ms, 2ms, 1ms, 0.5ms, 0.25ms..... per
injection event.
This means larger enrichments decay faster than smaller numbers.
The overrun fuel cut activates if both the throttle (or accelerator) position is less than the TP/AP Threshold AND the engine speed is greater than the current value in
the Overrun Deactivation Table.
Setup Notes
· The overrun condition is recognised when the throttle is closed and the engine speed is above the set value, as a result this function can only be used if a throttle
position sensor (TPS) is fitted and correctly setup.
· If Electronic Throttle Control is used, Overrun Fuel Cut will use the Accelerator Position Sensor (APS) value (instead of the TPS) value, i.e. overrun fuel cut will
become active below the APS value specified in the TPS/APS Threshold value. If Cruise Control is used the Overrun Fuel Cut will use a combination of APS and
TPS.
· When using Electronic Throttle Control it is important that a very low angle of throttle is present when the fuel re-activates to stop a surge forward as the fuel
comes back in.
The image below shows the different stages of the Overrun Fuel Cut function working:
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 32 of 235
G4X and G5 ECU Tuning Functions > Fuel Setup > Overrun Fuel Cut > Overrun Fuel Cut Settings
Overrun Fuel Cut Settings
Note: Refer HERE for an explanation of Overrun Fuel Cut and a Setup Example.
The following settings allow the overrun fuel cut to be tailored to the application.
TP/AP Threshold
The level the throttle position (TP(Main)) must be below before the overrun fuel cut is applied (if other activation conditions are met). If an Ethrottle is used the
accelerator position (AP(Main)) value will be used instead of the throttle position (TP(Main)) value. If Cruise Control is used a combination of accelerator position (AP
(Main)) and throttle position (TP(Main)) will be used.
The level is generally set slightly above the closed throttle (or accelerator) point to allow for some noise which is inherent in the signal from TPS or APS, a typical value
is 1%.
Activation Delay
This will delay the Overrun Fuel Cut from activating for a short length of time after the required conditions are met, the time units are in seconds. This feature can be
used to prevent an overrun fuel cut occurring during gear shifts.
Ignition Retard
To help smooth the transition as the fuel cut turns on and off, the ECU will progressively retard the ignition timing prior to cutting fuel and progressively advanced back
to normal after the fuel has been restored. Changing the Ignition Retard adjusts the full amount of ignition retard the ECU will use, the amount of time taken to introduce
and remove the ignition retard is controlled by the Torque Reduction/Introduction Time setting.
The De-Activation RPM must be set above the engines idle speed so that fuel is not cut when the engine is sitting at idle with the throttle closed, in practise the value
should be set around 500 RPM above idle so that as the engine speed falls during overrun the fuel is turned back on early enough to stop the engine from stalling. A
typical value for a fully warm engine (80-100 degrees C) is 1500 RPM.
When the engine is cold the idle speed control system will typically be setup to raise the idle speed,because of this it is necessary to raise the De-Activation RPM at
lower engine coolant temperatures. Even if the idle speed is not increased during cold running it is still advisable to use larger numbers at lower engine coolant
temperatures, this is because cold engines generally do not tolerate the use of a fuel cut especially at low engine speed.
G4X and G5 ECU Tuning Functions > Fuel Setup > Closed Loop Lambda (CLL)
Closed Loop Lambda (CLL)
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 33 of 235
Note: Refer HERE for a detailed explanation of Closed Loop Lambda settings.
Closed Loop Lambda (CLL) is designed to provide automatic trimming of fuel mixtures, this is useful for reducing emissions and can be necessary for proper catalytic
converter operation. Link G4X and G5 ECUs allow the use of Wide Band or Narrow Band exhaust oxygen sensors and can do trim all cylinders equally or can trim two
groups (usually different banks) independently.
To use CLL at least one narrow band oxygen sensor or wideband oxygen sensor controller must be correctly wired to an Analog Voltage Input or connected via CAN.
Narrowband Sensors must be set up in the Closed Loop Lambda window with the Lambda Mode set to 'Stoich Mode (Narrow Band)', Wideband Sensors must be setup
using the Lambda 1 and Lambda 2 settings in the Analog Inputs section of the settings menu. More wideband sensors can be connected via CAN but will only affect
CLL if the Number of Banks is set to 1. If a heated narrow band oxygen sensor is used, its heater can be controlled by the ECU using a General Purpose Output or
General Purpose PWM Output in the Auxiliary Output section of the settings menu.
Warning: CLL is designed to be used to apply a minor trim while the vehicle is being driven, it is not intended as a tuning aid. Assisted fuel tuning can be done
using the Quick Tune function.
Dual Channel Mode uses the same set of lockouts for both channels but completely independent control of mixture measurement and correction.
Note: When using Dual Bank Control the fuel is added on a per injector basis, this means that if using sequential injection then the cylinder number matches the
injector number but if using a non sequential mode such as multi point group then the 'Cylinder X' setting actually refers to the injector drive with the same number.
Refer to Closed Loop Lambda Settings for information on what each setting does.
Refer to Closed Loop Lambda Runtimes for more information on the Closed Loop Lambda Runtime Values and Statuses
G4X and G5 ECU Tuning Functions > Fuel Setup > Closed Loop Lambda (CLL) > Closed Loop Lambda Settings
Closed Loop Lambda Settings
Note: Refer HERE for an explanation of Closed Loop Lambda Control.
Lambda Mode
The following options are available:
· Stoich Mode (Narrow Band) - Given a target oxygen sensor voltage (Dither Voltage) the ECU will progressively increase the CLL Fuel Correction when the
oxygen sensor reads lean and progressively decrease the CLL Fuel Correction when the oxygen sensor reads rich. This results in the AFR continuously
oscillating around the target Dither Voltage, this is known as dithering and is often required for correct catalytic converter operation. In this mode CLL is typically
set up to operate only under cruise and light load conditions. This is the only mode that supports use of narrow band oxygen sensors.
· Stoich Mode (Wide Band) - Given an AFR/Lambda Target (from the AFR/Lambda Target Table), the ECU will progressively increase the CLL Fuel Correction
when the oxygen sensor reads lean and progressively decrease the CLL Fuel Correction when the oxygen sensor reads rich. This results in the AFR/Lambda
continuously oscillating around the target point, this is known as dithering and is often required for correct catalytic converter operation. In this mode CLL is
typically set up to operate only under cruise and light load conditions.
· Auto Mode (Wide Band) - Given an AFR/Lambda Target (from the AFR/Lambda Target Table), the ECU will use a closed loop control algorithm to calculate the
immediate CLL Fuel Correction required. This method provides a fast and stable correction especially when the difference between the target and actual AFR is
large. This mode is recommended when suing Wideband Sensors as it can react faster and more accurately than Stoich Mode (Wide Band).
Number of Banks
Allows the number of banks. If set to 1 then all cylinders are trimmed the same amount, if set to 2 banks then two oxygen sensors are used so that each bank can be
trimmed independently.
2 Bank mode can be used on engines with only one bank if the exhaust system is setup such that each oxygen sensor only receives exhaust gas from its own distinct
group of cylinders. For example the RB26DETT could use one sensor in each downpipe to control each half of the engine's cll trim independently.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 34 of 235
These settings prevent CLL from operating outside a particular range of MAP values. This allows CLL to be disabled when the engine is under higher loads or under
high levels of vacuum.
Gain Control
Sets the rate at which fuel trim is increased/decreased. Too large of a gain value will result in large swings around the target and too small of a gain will result in very
slow corrections. A typical gain value is 2.
This setting is only available when Lambda Mode is set to Stoich Mode (Narrow Band) or Stoich Mode (Wide Band).
Dither Voltage
The Dither Voltage is the voltage output by the narrow band oxygen sensor at the stoichiometric point (AFR 14.7:1 for pump fuel). This value is typically set to 0.45
Volt.
This setting is only available when Lambda Mode is set to Stoich Mode (Narrow Band).
Injector X (1-8)
Used to allocate cylinders to either Bank 1 or Bank 2. The trim is applied per injector driver so when in sequential or sequential staged mode it is per cylinder but when
in group mode a single table or cell can affect multiple cylinders depending on the injector locations.
Reactivation Delay
This setting controls how long CLL waits after lockout conditions before turning back on. The value specified is the number of samples and so depends on the Update
Rate.
For example at wide open throttle if you have the update rate at 10Hz, and the reactivation delay at 2 samples, the CLL would reactivate after 0.2sec. If at idle the
update rate was 1Hz and the reactivation delay was 2 samples, the reactivation delay would be 2.0sec.
Note: This table can optionally be made 3D with configurable axes by setting Trim Limit Tables to 3D.
G4X and G5 ECU Tuning Functions > Fuel Setup > Closed Loop Lambda (CLL) > Long Term Trims
Long Term Trims
Closed Loop Lambda Long Term Trims is a function that looks at the Closed Loop Lambda trims and states to increment or decrement values in either 1 (for single
bank) or 2 Trim tables which over time should reduce the need for Closed Loop Lambda trims and indicate possible improvements to the Fuel tuning.
A quick summary of how it works is if the calculated CLL fuel correction is larger than a particular threshold the cell in the LTT Table that is the closest to the current
engine conditions is incremented (or decremented if less fuel is required) by a set amount. This acts as a slow integral of the CLL Trim required on a cell by cell basis.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 35 of 235
Note: The CLL Long Term Trim Corrections are applied in addition to the CL Lambda Fuel Correction values.
Mode
The LTT Mode setting can be set to OFF, ON or Disabled. When set to ON and CLL is active the CLL Long Term Trim Table (and CLL Long Term Trim Table 2 if using
2 bank CLL) values are incremented and decremented where required.
When set to Disabled the tables remain but no modifications are made to the tables.
Disable Input
This setting is used to select an input that disables CLL Long Term Trim operation when the input is active. When the selected input is active both updating of the CLL
Long Term Trim Table/s and the values in the table/s from being applied will be disabled (CL Lambda LT corr. & CL Lambda LT corr. 2 will be set to 0.0% when the
input is active).
CLL Long Term Trim Table & CLL Long Term Trim Table 2
These are the tables that store the long term trims, it is recommended to have the axes setup the same as or similar to the Fuel Table so trims are easily transferable.
If using 2 Banks one method of applying the calculated trims to the Fuelling would be to use the Fuel Table for Bank 1 and use a single Individual Cylinder Trim Table
on all Bank 2 Injectors applying the difference between the two CLL LTT Tables to this ind cyl trim table.
Note: These tables are stored in non volatile memory and so any trims added by the ECU remain over ECU power cycles. To clear these tables select the entire table
and set to 0 (or set the Mode to Disabled to temporarily stop using and altering the values).
G4X and G5 ECU Tuning Functions > Fuel Setup > Individual Cylinder Fuel Correction
Individual Cylinder Fuel Correction
Individual Cylinder Fuel Correction allows the fueling of each individual cylinder to be adjusted independently. This can be used to compensate for slight differences in
injector flows, slight differences in fuel pressure at each injector, differences in cylinder temperature due to coolant system design, etc...
The trim is applied per injector driver so when in sequential or sequential staged mode it is per cylinder but when in group mode a single table or cell can affect multiple
cylinders depending on the injector locations.
Cyl X Allocation
Specify which Fuel Trim Table each cylinder/injector drive will use. Only available when Indiv Cylinder Fuel Mode is set to Table.
· Option 1 - Each cylinder has its own adjustment table. Set up as follows:
· Cyl 1 Allocation = Cyl1 FTrim Table
· Cyl 2 Allocation = Cyl2 FTrim Table
· Cyl 3 Allocation = Cyl3 FTrim Table
· Cyl 4 Allocation = Cyl4 FTrim Table
· Option 2 - The inner cylinders (2 and 3) and outer cylinders (1 and 4) share adjustment tables. Setup as follows:
· Cyl 1 Allocation = Cyl1 FTrim Table
· Cyl 2 Allocation = Cyl2 FTrim Table
· Cyl 3 Allocation = Cyl2 FTrim Table
· Cyl 4 Allocation = Cyl1 FTrim Table
G4X and G5 ECU Tuning Functions > Fuel Setup > Staged Injection
Staged Injection
Staged injection uses primary injectors operating all the time and secondary injectors which operate only at higher load/rpm. Both sets of injectors are controlled by the
main fuel table (Fuel Table 1 and/or Fuel Table 2), however the percentage of the total fuel delivered by each injector set is controlled by the Secondary Injection
Staging Table.
The secondary injectors may be brought on at any stage after the lockout conditions are met by entering non-zero numbers into the Secondary Injection table.
Setup Notes
· Staged Injection is visible only when the Injection Mode is set to Group/Staged, Sequential/Staged, Direct/Port Injection or Sequential/Multi-Point Group Staged.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 36 of 235
· It is very important that BOTH the primary and secondary injector duty cycles are closely watched to ensure that neither set of injectors are being operated at an
excessive duty cycle.
Staging Mode
Determines how the fuel flow is split between the primary and secondary injectors. Options are:
It is recommended to use Sec/Pri Flow Ratio, especially if using modeled fuel (modeled won't work correctly with secondary extra as it is adding fuel on top of the
calculated required amount).
· Sec/Pri Flow Ratio - The Sec/Pri Ratio setting determines the injection pulse widths of the primary and secondary injectors. Refer to the Sec/Pri Ratio setting for
a detailed description.
· Secondary Extra - In this mode, primary injection pulse widths remain untouched, while secondary fuel is added as an addition. In this mode: Secondary Effective
PW = Secondary Injection Table% x Primary Effective PW + Primary Effective PW. Note: this mode is being removed, please contact tech support if you need
this mode.
· Specified Flow Rate - The secondary injector flow is characterised in the same way the primary injector is in modelled Fuel Equation Modes using a flow rate and
specified pressure for that flow rate.
Note: This mode can only be used when the Fuel Equation Mode is set to 'Modelled' or 'Modelled - Multi Fuel'.
In Sec/Pri Flow Ratio mode each injector is fired for some percentage of the Injection Effective PW.
With an Injection Effective PW of 10ms:
If the Secondary Injection Staging Table reads 25% - Primary injectors will have an effective PW of 7.5ms and secondary injectors will have an effective PW of
2.5ms.
If the Secondary Injection Staging Table reads 50% - Primary injectors will have an effective PW of 5ms and secondary injectors will have an effective PW of
5ms.
If the Secondary Injection Staging Table reads 75% - Primary injectors will have an effective PW of 2.5ms and secondary injectors will have an effective PW of
7.5ms.
In Secondary Extra mode, the primary injector will always fire for the Injection Effective PW time and the secondary injector time, some multiple of the Injection
Effective PW.
With an Injection Effective PW of 10ms:
If the Secondary Injection Staging Table reads 25% - Primary injectors will have an effective PW of 10ms and secondary injectors will have an effective PW of
12.5ms.
If the Secondary Injection Staging Table reads 50% - Primary injectors will have an effective PW of 10ms and secondary injectors will have an effective PW of
15ms.
If the Secondary Injection Staging Table reads 75% - Primary injectors will have an effective PW of 10ms and secondary injectors will have an effective PW of
17.5ms.
In Specified Flow Rate mode, each injector will be allocated a portion of the Fuel mass to be delivered, the Injector PW of the primary and Secondary Injector will be
dependent on the Fuel Mass to be delivered by each and the fuel pressure (When using 'Direct/Port Injection' Injection Mode the primary injectors will use DI Fuel Rail
Pressure and the secondaries will use the normal Fuel Pressure value) among other things.
With Fuel per Cylinder of 40mg:
If the Secondary Injection Staging Table reads 25% - Fuel per Cylinder (Primary) will be 30mg and Fuel per Cylinder (Secondary) will be 10mg.
If the Secondary Injection Staging Table reads 50% - Fuel per Cylinder (Primary) will be 20mg and Fuel per Cylinder (Secondary) will be 20mg.
If the Secondary Injection Staging Table reads 75% - Fuel per Cylinder (Primary) will be 10mg and Fuel per Cylinder (Secondary) will be 30mg.
Sec/Pri Ratio
This setting is only available when Staging Mode is set to Pri/Sec Flow Ratio.
The Sec/Pri Ratio is ratio of the total secondary injector flow to that of the primary injectors. This number must be entered before tuning. If primary and secondary
injector flow rate is unknown it will be necessary to determine these either from injector specifications or on an injector flow bench. To calculate the correct number to
enter as the Sec/Pri Ratio, divide the total secondary injector flow rate by the total primary injector flow rate. Total flow rate means the sum of all primary injector flows
and sum of all secondary injector flows.
If the Sec/Pri Ratio is set too high then the engine will run leaner as the secondary injectors are activated. If the Sec/Pri Ratio is set too low then the engine will run
richer as the secondary injectors are activated.
Example:
If an engine has four 240 cc/min primary injectors and two 650 cc/min secondary injectors then the Sec/Pri Ratio is calculated as follows:
Sec PW Lockout
The Sec PW Lockout is the minimum pulse width that the ECU will use for the secondary injectors (including the short pulse width adder but not including the
deadtime). If the ECU calculates a required secondary pulse width that is below this then the secondary injectors will stay off and all fuel will be delivered by the primary
injectors (including the fuel that was calculated for the secondary injectors). Once the ECU calculates a pulse width greater than the Sec PW Lockout value, fuel will be
delivered through the primary and secondary injectors.
Accel Fuel
In some applications the primary and secondary injectors are physically mounted in different locations. Often the primary injectors will be mounted closer to the
engine’s intake port with the secondary injectors further up the intake runner. If there is a large distance between the two injectors then the engine will run lean
momentarily as the secondary injectors are activated. This occurs because the fuel delivered by the primary injectors has been reduced, but there is a delay in the
secondary injector’s fuel reaching the engine.
Accel Fuel is the number of injection events (for each primary injector) after the secondary injectors become active that the primary injectors will inject the primary fuel
volume + the same volume of fuel the secondary injectors are flowing (i.e. total fuel = primary + 2 * secondary). This is done to account for the time delay of the fuel
coming from the secondary injectors reaching the inlet port. Values after the decimal point represent partial enrichments, for example a value of 2.5 when using
sequential staged would result in the 3rd primary injection event being primary fuel volume + 0.5 * secondary fuel volume.
RPM Lockout
Staged Injection will not operate below this engine speed.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 37 of 235
· A value of 0% represents complete fuel delivery through the primary injectors. The secondary injectors will be off. Typically a value of 0% will be used at low
load.
· A value of 50% results in half of the fuel being delivered by the secondary injectors.
· A value of 100% represents complete fuel delivery through the secondary injectors. The primary injectors will be off.
In typical applications the engine will run on the primary injectors at low load (0%). Often as load increases the Secondary Injection Table values will increase until the
secondary and primary injectors operate at the same pulse width. Note that the Secondary Injection Table value required to give matched pulse widths depends on the
size of the injectors in relation to each other.
The Secondary Injection Table value required to give equal pulse widths can be found by the following equation:
· Secondary Injection Table value for matched Pulse Width = (100 * Sec/Pri Ratio) / (1 + Sec/Pri Ratio)
Example:
The following example calculates the required Secondary Injection Table value to give equal primary and secondary injector pulse widths. Assuming the following
information:
Therefore the Secondary Injection Table required for matched pulse widths:
i.e. when the pulse widths are the same 25.6% of the fuel is delivered by the primary injectors, while 74.4% of the fuel is delivered by the secondary injectors.
G4X and G5 ECU Tuning Functions > Fuel Setup > Injector Timing
Injector Timing
Note: Refer HERE for a detailed explanation of Injector Timing settings.
Injector Timing
The Injector Timing function allows the user to control the position in the engine cycle that the fuel is injected at. Typically with port injection the idea is to finish injecting
the fuel just before the inlet valve OPENS (approximately 360 degrees before TDC (firing) on a 4 Stroke engine).
Setup Notes
· On 4 Stroke engines Injection Timing Position can be Start, Center, or End of Injection and Injector Timing can be adjusted from 0 to 720 degrees.
· On 2 Stroke engines Injection Timing Position can be Start, Center, or End of Injection and Injector Timing can be adjusted from 0 to 360 degrees.
· On Rotary engines Injection Timing Position can be adjusted from 0 to 360 degrees.
· On Rotary engines and engines using Staged Injection the Injection Timing Position should be set to Start of Injection to allow Fuel Cuts to work correctly.
· When using group injection modes the injector timing is based on cylinder 1 TDC and if more than 1 injection per engine cycle then the extra injections are
spaced evenly. This means a v8 with 8 injections per cycle and evenly separated TDCs will inject at the same angle before each cylinders TDC.
The following diagram gives an example of a typical injection timing setup for a 4-Stroke engine.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 38 of 235
G4X and G5 ECU Tuning Functions > Fuel Setup > Injector Timing > Injector Timing Settings
Injector Timing Settings
Note: Refer HERE for an explanation of Injector Timing.
The following settings allow the Injector Timing to be tailored to the application.
On Rotary engines and engines using Staged Injection the Start of Injection Setting is recommended so that Fuel cuts can operate correctly.
Injector Timing
This setting is only available when INJ Timing Mode is set to Single Zone. Injector Timing specifies the injector timing to be used throughout the entire operating range,
the units are degrees before top dead centre (BTDC) with reference to top dead centre between the compression and power stroke. This means 360 represents TDC
between the exhaust and inlet stroke.
G4X and G5 ECU Tuning Functions > Fuel Setup > AFR/Lambda Target Table(s)
AFR/Lambda Target Table(s)
The AFR/Lambda Target Table is used to determine the mass of fuel to be injected for a given mass of air. It is recommended that the AFR/Lambda Target Table is
correctly filled out and used in all applications.
The engine should always be tuned to match the number entered in the AFR/Lambda Target Table. This allows future changes to AFR/Lambda target without the need
to re-tune the Fuel (VE) table (Requires Open Loop Lambda Correction to be turned on in Traditional mode).
The AFR/Lambda Target table is also used as the target source for some Closed Loop Lambda modes.
Note: Use of the AFR/Lambda Target Table is optional when the Fuel Equation Mode is set to Traditional but is recommended that it is always used. It is always used
when Fuel Equation Mode is set to Modelled or Modelled - Multi Fuel.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 39 of 235
Note: When the Fuel Equation Mode is set to Modelled - Multi Fuel there will be two AFR/Lambda Target Tables. AFR/Lambda Target Table 1 contains the target
AFR/Lambda values for the primary fuel, while AFR/Lambda Target Table 2 contains the target AFR/Lambda values for the second fuel. The Multi Fuel Blend
parameter will then interpolate between the two AFR/Lambda Target Tables to provide the correct target for the current fuel blend and engine conditions. The Multi
Fuel Blend parameter is controlled by the Multi Fuel Blend Ratio Table.
In all cases, INCREASING the Fuel Table numbers INCREASES the amount of fuel which is delivered while decreasing them has the opposite effect.
· Turbo/Super charged engine with unstable manifold pressures below atmospheric pressure.
· Equation Load Source - Load=BAP/MAP Xover
· Fuel Table 1 Load Axis -TP(Main)
· 4D Fuel Table Load Axis - MGP
Note: MAP is not recommended as a fuel table load (y) axis option for any of the above setup examples.
G4X and G5 ECU Tuning Functions > Ignition
Ignition
The following functions are available to control ignition.
· Ignition Setup
· ECT Ign Trim
· IAT Ign Trim
· 4D/5D Ign Table
· Dual Ign Tables
· Individual Cylinder Ign Trim
· Transient Ign Retard
· Idle Ignition Control, is found in the ISC section.
· Ignition Table
· Trailing Split Table
absolute ignition values are affected by individual cylinder trim and knock trim.
G4X and G5 ECU Tuning Functions > Ignition > Ignition Setup
Ignition Setup
The following controls relate to the ignition setup. Typically these will be set once during the initial setup procedure and left unaltered after that.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 40 of 235
Ignition Mode
The correct Ignition Mode must be selected which corresponds to the type of ignition system being used.
· Off
Ignition is disabled (use for fuel only applications or diagnostics), no Ignition Drives are used.
· Distributor
A single coil is used with a distributor, wire Ignition Drive 1 to the coil.
· Twin Distributor
This uses two ignition coils and two distributors e.g. some Toyota/Lexus V8 engines. The ECU alternates between firing Ignition Drive 1 and Ignition Drive 2, wire
Ignition 1 to the coil connected to the Distributor connected to cylinder 1 and Ignition 2 to the other.
Example: Toyota 1UZFE Non VVT, firing order of 1-8-4-3-6-5-7-2 with one distributor connected to cylinders 1,4,6&7 and the other connected to cylinders
8,3,5&2.
When taking into account the order of the leads coming out of the distributors and the positions of the rotor caps this setup will result in:
Ignition Drive 1 firing while connected to cylinder 1
Ignition Drive 2 firing while connected to cylinder 8
Ignition Drive 1 firing while connected to cylinder 4
Ignition Drive 2 firing while connected to cylinder 3
Ignition Drive 1 firing while connected to cylinder 6
Ignition Drive 2 firing while connected to cylinder 5
Ignition Drive 1 firing while connected to cylinder 7
Ignition Drive 2 firing while connected to cylinder 2
· Wasted-spark
This ignition type uses dual-post coils with each coil firing the spark plugs of two cylinders. This mode will use half as many Ignition Drives as there are cylinders,
pair cylinders that half an engine cycle apart with each other. Each Ignition Drive can either be wired up to a two post coil with leads running from that coil to the
pair of cylinders or to two separate coils connected to the pair of cylinders. Note if using 2 coils per Ignition Drive and external igniters you will need to wire the
Ignition Drive into two igniter channels with the corresponding igniter outputs going to one of the coils each (never wire one igniter output to two coils).
Example: Toyota 1UZFE Non VVT, firing order of 1-8-4-3-6-5-7-2, this engine using Wasted-Spark would require 4 Ignition Drives (as it is an 8cyl engine) and
they would be wired as shown below:
Ignition Drive 1 connected to cylinders 1 and 6
Ignition Drive 2 connected to cylinders 8 and 5
Ignition Drive 3 connected to cylinders 4 and 7
Ignition Drive 4 connected to cylinders 3 and 2
· Direct Spark
Each cylinder has its own ignition coil. This mode uses the same number of Ignition Drives as cylinders, wire each Ignition Drive to the cylinder of the same
number (Ignition Drive 1 to cylinder 1, Ignition Drive 2 to cylinder 2 etc).
OR
· Use a trigger offset of 180.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 41 of 235
Spark Edge
Spark Edge sets the edge of the ignition signal that causes the coil to fire a spark. The following options are available:
· Falling - The coil charging will start when the ignition signal goes high and fire the spark when the signal goes back low (FALLS from high to low) . On an
oscilloscope this signal would be normally low with a high pulse equal to the length of the current dwell time.
· Rising - The coil charging will start when the ignition signal goes low and fire the spark when the signal goes back high (RISES from low to high). On an
oscilloscope this signal would be normally high with a low pulse equal to the length of the current dwell time.
Do not confuse the Spark Edge setting with the trigger falling/rising edge settings. The Trigger Edge settings have NO effect on the ignition output signals polarity.
Note: For almost all applications, this setting will be Falling. Rising is used for some Honda, Ford and MSD ignitions.
Ignition Delay
The complete electronic circuit used for ignition timing includes many delays. Signals must go through edge detection, filtering, microprocessor, ignition output circuitry,
igniter circuitry and finally the coil. Each element introduces a small but significant delay (20 to 200 microseconds). In fact even the timing light used to view ignition
angle has a built in delay. These delays are inherent in ALL engine managements systems and components.
At low engine speeds the time between ignition firing events is large and the effects of delays are minimal. As engine speed increases the effects of delays becomes
more of a problem ultimately resulting in a slight timing retard (usually only a few degrees). This retard can be easily seen by locking the ignition timing to a constant
value and increasing RPM. This effect is often referred to as reluctor retard.
The Ignition Delay setting provides compensation to offset circuit delays eliminating timing retard.
The Ignition Delay setting is not designed to correct for other problems that may effect timing stability such as mechanical shifting of trigger sensor pickup wheels (due
to cam belt stretch etc...).
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 42 of 235
1. Using a good quality timing light, increase the engine speed and watch the timing mark to see if it retards as the engine speed increases .
2. Increase the Ignition Delay and then increase the engine speed and recheck the timing mark. Repeat the process until the retard is eliminated across the entire
engine speed range.
Most ignition systems require an Ignition Delay value of 40 to 80 microseconds.
Maximum Advance
Maximum Advance specifies the maximum Ignition Angle advance that will ever be applied to the engine. This avoids the case where various ignition trim values and
the Ignition Table value accumulate to a dangerously high advanced Ignition Angle, it also helps prevent damage occurring if an excessively high advance value is
inadvertently entered in the Ignition Table.
Note: Maximum Advance does not invoke any physical engine cuts, it simply limits maximum Ignition Angle advance to the preset value.
Ignition Test
This function allows ignition wiring to be tested. Each ignition channel can be tested individually. This function will only operate when engine speed is 0 RPM. When a
particular ignition channel's Ignition Test function is turned ON, the ignition channel will be pulsed at 10 Hz with a pulse width (dwell time) of 5 ms.
Note: When Ignition Reallocation is turned on the selected 'ignition' in the test function is the channel not the actual drive so the reallocation table applies to the ignition
test selection too.
For example if you have an EVOLink (I-III) Plug-in ECU with wasted spark from factory 4 and want to convert it to Direct spark you will find that Ignition Drive 4 is being
used for ECU hold Power and so cannot be used as an ignition drive. Ignition drives 5 through 8 however are available on the expansion connector and so if you want
to use ignition drives 1-3 and ignition drive 5 you would setup the ignition drive reallocation table as shown below:
· ECT Correction
· IAT Correction
· 4D/5D Ignition Table
· Dual Ignition Table
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 43 of 235
G4X and G5 ECU Tuning Functions > Ignition > Ignition Corrections > ECT Ign Trim
ECT Ign Trim
This allows the ignition timing to be adjusted with respect to the engine coolant temperature, it is common to reduce ignition advance at high engine temperatures to
avoid detonation. To do this, enter negative values in the higher temperature cells (eg above 100ºC).
The ECT ignition trim function does not necessarily have to be used for ignition adjustment based on engine temperature. If Setup is set to 3D the table can be set to
trim ignition depending on what is selected as the tables X and Y axis parameters.
The amount of ignition trim applied at runtime is displayed by the ECT Ignition Trim parameter found under the Ignition tab of the Runtime Values window (F12 key).
G4X and G5 ECU Tuning Functions > Ignition > Ignition Corrections > IAT Ign Trim
IAT Ign Trim
This allows the ignition timing to be adjusted with respect to the engine intake air temperature. It is common to reduce ignition advance at high intake temperatures to
avoid detonation. To do this, enter negative values in the higher temperature cells (eg above 100ºC).
The IAT ignition trim function does not necessarily have to be used for ignition adjustment based on intake temperature. If Setup is set to 3D the table can be setup to
trim ignition depending on what is selected as the tables X and Y axis parameters.
The amount of ignition trim applied at runtime is displayed by the IAT Ignition Trim parameter found under the Ignition tab of the Runtime Values window (F12 key).
In special cases 3D mapping may not be adequately flexible to cope with all operating parameters, Multi-throttle turbo charged engines are typically an example of this.
With the throttle wide-open at a MAP value of 200kPa and an engine speed of 5000rpm the engine will have considerably different timing requirements than with the
throttle half open and the same MAP and engine speed. In this case the 4D ignition table may be used. This second table may be spanned using throttle position (TP
(Main)) on the load axis.
The 4D and 5D Tables allow a way to achieve higher dimensional (4D, 5D, 6D) mapping to cater for the most complex tuning situations. This concept is difficult to
visualize and tuning in this mode will consume more time and as a result of this tuning using the 4D and 5D tables is recommended for advanced tuners only.
To view the current amount of trim being applied by the 4D or 5D Ign Trim open the Ignition tab of the Runtime Values window (F12 key).
When configured as Overlay Table, the Dual Ignition Table effectively adds a 6th user defined ignition tuning dimension (6D). As the Dual Table is larger than the 4D
and 5D tables it is the preferred table for ignition overlay tuning (if switchable ignition maps are not required).
Table Activation
Allows the 4D or 5D Ignition Table to become active only under certain conditions, this is useful if an external switch or switching output is required to activate the table
(eg switching in the 4D Ignition Table when the NOS solenoid becomes active). If the table is required to be always active set this adjustment to Always ON.
This setting is only available when 4D/5D Ign Mode is set to ON.
Example:
A value of 25 degrees btdc in the Main Ignition table and a value of -5 in the 4D Ignition table would result in a combined value of 20 degrees btdc.
G4X and G5 ECU Tuning Functions > Ignition > Ignition Corrections > Dual Ign Table
Dual Ign Table
Dual Ignition Tables allow the ECU to be tuned for two completely different tuning strategies which may require switched or interpolated tables. If switching Ignition
tables is not required, Ignition Table 2 can be configured as another overlay table, this allows up to 6 dimensions (6D) of user defined Ignition tuning (refer to 4D/5D
tables). A common use of Dual Ign Tables is when running two different octane fuels or two different engine setups. Dual Ignition tables may be used in conjunction
with dual fuel and boost tables to completely cater for the different requirements of the two setups.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 44 of 235
Controls how the Dual Ign Table function is used, the following options are available:
· OFF - The table is not used.
· Dual Table - Allows the main Ignition table to be switched based on the state of an input. The Table Activation setting selects the switching source for the Dual
Ignition Table. The table currently being used by the ECU can be determined by viewing the Ignition Table 1 and Ignition Table 2 statuses on the Ignition tab of
the runtime values window (F12 key).
· Overlay Table - The table behaves as an overlay table the same as the 4D and 5D Ignition Tables. As Ignition Table 2 is larger than the 4D and 5D tables it is the
preferred table for ignition overlay tuning (if switchable Ignition maps are not required).
· Interpolate Between - When using this option the Ignition Table Ratio Table appears. The Ignition Table Ratio Table is used to control the interpolation between
Ignition Table 1 and Ignition Table 2. The x (horizontal) axis of the Ignition Table Ratio Table is configurable, commonly used parameters include % Ethanol,
Multi Fuel Blend Ratio, or an An Volt channel.
Table Activation
Used to configure which input or output is used to activate Ignition Table 2. This setting is only available when Dual Table Mode is set to Dual Table or Overlay Table.
Ignition Table 2
The alternative main ignition table that will be used when the Table Activation condition is met.
G4X and G5 ECU Tuning Functions > Ignition > Individual Cyl Ign Trim
Individual Cyl Ign Trim
Allows the ignition timing of each individual cylinder to be adjusted independently. This feature can be used to help balance individual cylinder temperatures or correct
individual timing irregularities caused by inaccurate trigger setups.
The individual cylinder ignition trim runtime values show the current table trim value and can be views on the Ignition tab of the runtime value window (F12 key).
Cyl X Allocation
Only available when Indiv Ignition Mode is set to Table.
Used to specify which Ignition Trim Table each cylinder will use.
Link G4X and G5 ECUs have the ability to provide each cylinder with it's own specific ignition trim regardless of ignition trim regardless of number of cylinders or
ignition mode (provided the trigger pattern provides full sync). Waste Spark, Distributer, direct spark etc can all trim each cylinder individually.
Cylinder Allocations can be grouped to suit the application (one table per bank or other variations) or each cylinder can be allocated it's own table. Cylinders not
allocated a table will not have a trim applied to them.
G4X and G5 ECU Tuning Functions > Ignition > Transient Ign Retard
Transient Ign Retard
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 45 of 235
The Transient Ignition Retard function is designed to introduce ignition retard during transient conditions. Transient conditions are identified by a fast change in Throttle
Position (TP(Main)) or Manifold Absolute Pressure (MAP). Ignition is retarded depending on the rate of change of TP(Main) or MAP, then held retarded for a particular
number of engine cycles.
Transient ignition retard can be used to eliminate 'snap detonation' by retarding the ignition angle when engine load suddenly changes.
The Transient Ign Trim and TP Delta Max parameters can be used to setup and diagnose the Transient Ignition Retard function:
Mode
The following options are available:
Decay Rate
This is the number of degrees of ignition timing that will be restored per engine cycle after the Hold Time.
Hold Time
This is the number of engine cycles the ignition will be held retarded for before normal ignition timing is progressively restored.
The table should have one of its axis set to either TPS Delta or MAP Delta. To adjust the rows or columns press the X key or right click on the fuel table and select Axis
Setup .
1. A value of -12 in the Transient Ign Retard Table at a particular rate of change of throttle movement and engine speed.
2. Hold Time = 5
3. Decay Rate = 1
When the throttle is opened suddenly the ignition timing will be retarded immediately by 12 degrees from its normal value. Timing will be held 12 degrees retarded for 5
engine cycles. After this timing will be advanced back towards its normal value at 1 degrees per engine cycle. It will take a total of 17 engine cycles to restore normal
timing.
G4X and G5 ECU Tuning Functions > Ignition > Ignition Table
Ignition Table
The Ignition Table comprises of a grid of cells. The x-axis (horizontal) is engine speed. The y-axis (vertical) is engine load. Therefore, each cell represents a unique
load/RPM point. Adjusting a cell in the Ignition Table changes the ignition advance/retard that occurs at a particular load/engine speed. Increasing the cell number
increases the amount of advance (degrees BTDC) while decreasing it has the opposite effect. Negative numbers indicate retard.
The Trailing Split function provides a means by which the spark timing of leading and wasted spark plugs can be individually adjusted.
The Trailing Split Table adjusts the timing offset in eccentric shaft degrees of the trailing spark relative to the leading spark. Positive numbers cause the trailing spark to
happen before (advanced) the leading spark. Negative numbers cause the trailing spark to happen after (retarded) the leading spark. It is more common to use
negative numbers in this table.
The main Ignition Table sets the firing point of the leading spark in actual eccentric shaft degrees.
The current Trailing Split angle can be viewed in the runtime values area of PCLink under the Ignition tab.
If the main ignition table has an entry of 17 at a particular RPM/Load point, the leading spark will occur at 17 degrees Before TDC. If at the same RPM/Load point the
Trailing Split Table has an entry of 4, the trailing spark will occur at 21 degrees Before TDC (ie 4 degrees before the leading spark).
G4X and G5 ECU Tuning Functions > Engine Protection
Engine Protection
Engine Protection features are offered to reduce the risk of engine damage due to unexpected circumstances. The following conditions will invoke limits:
· RPM Limit - Prevents engine RPM increasing beyond a specified value.
· MAP Limit - Prevents manifold pressure from exceeding a specified value.
· GP RPM Limit - Use configurable 3D tables for engine RPM limiting.
· Speed Limit - Prevents vehicle speed from exceeding a specified value.
· System Voltage Limit - Shuts down the ECU if system voltage exceeds a specified value.
A general description of the Limiting System used in Link G4X and G5 ECUs is given HERE.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 46 of 235
RPM Limit
This function limits the engine speed (RPM) to a safe level, the limiting is performed by interrupting fuel injection and ignition events. Note that it is still possible to
exceed the rpm limit during down shifts or deceleration.
The RPM Limit uses the settings described in the Limiting System page and has additional Dual Table settings which are described below.
· Dual Tables - turns dual tables on or off, when using dual tables two rpm limit tables are allocated and the user can switch between them with a DI or virtual Aux.
· Dual Limit Activation - Allows the user to select the DI or virtual Aux that when active will cause the second table to become Active and the 1st table to become
inactive.
· RPM Limit Table - The table of Values that the RPM is to be limited to.
· RPM Limit Table 2 - The table of Values that the RPM is to be limited to when dual tables is on and the dual limit activation is active.
MAP Limit
This function limits the Manifold Absolute Pressure (MAP) to a defined level, this is used to prevent the boost pressure exceeding a safe level on turbo
charged/supercharged engines. Under normal conditions with a correctly operating boost control system the MAP Limit should never be reached. Note that the MAP
Limit does not directly control manifold pressure but uses Fuel and/or Ignition cuts are used to reduce it.
The MAP Limit uses the settings described in the Limiting System page and has additional Dual Table settings which are described below.
· Dual Tables - turns dual tables on or off, when using dual tables two map limit tables are allocated and the user can switch between them with a DI or virtual Aux.
· Dual Limit Activation - Allows the user to select the DI or virtual Aux that when active will cause the second table to become Active and the 1st table to become
inactive.
· MAP Limit Table - The table of Values that the MAP is to be limited to.
· MAP Limit Table 2 - The table of Values that the MAP is to be limited to when dual tables is on and the dual limit activation is active.
· Startup Lockout - The time in seconds that the GP RPM Limit conditions will not be checked operating after the engine is started, this allows the user to have a limit
that isn't applied until after the engine has completed startup.
· Activation Delay - The time in seconds that the limit conditions are active for before the limit will be applied, the time starts from when engine speed exceeds the
value specified in the GP RPM Limit table.
· GP RPM 1&2 Limit Table - The table of Values that the RPM is to be limited to.
1. Wire an oil pressure sensor to an analog channel, set the Oil Pressure Source as that analog channel and correctly specify the sensor calibration.
2. Turn on the GP RPM Limit by setting the mode to the desired cut method.
3. Set the Startup Lockout setting to a suitable value e.g. 10 seconds, this means that the engine will be allowed to run for 10 seconds after startup for stable oil
pressure to be achieved.
4. Set the Activation Delay to a suitable value e.g. 3 seconds. This means the engine could have an oil pressure fluctuation lasting for up to three seconds before
the limit will be invoked. This is useful for near stall situations where low engine speed causes the oil pressure to momentarily dip.
5. Set one axis of the GP RPM Limit Table to the Oil Pressure Runtime and set the other axis to a suitable parameter such as engine speed.
6. Fill in the table values, an example table is shown below.
An alternative would be to use throttle position on the X axis and not let the engine run with open throttle if oil pressure is low. Note that it may be desirable to have 0
RPM in the 0 PSI row to cause the engine to be stalled if oil pressure fails.
Speed Limit
This limit is designed to limit the maximum vehicle speed. If the vehicle speed limit is reached the ECU will invoke fuel and/or ignition cuts to reduce power. A vehicle
speed sensor must be installed and correctly configured for this function to work. See Speed Sources for details.
The following adjustments are available to specifically configure the Speed Limit:
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 47 of 235
· Speed Limit - The actual vehicle speed at which the limit will be invoked when the Speed Limit Switch is active.
· Speed Limit Switch 2 - Selects a control to turn the second Speed Limit on and off, this can be used to implement a second speed limit that can be turned on and
off.
· Speed Limit 2 - The actual vehicle speed at which the limit will be invoked when the Speed Limit Switch 2 is active.
Note: If both speed limits are active the vehicle speed will be limited to the lower of the two speeds specified.
G4X and G5 ECU Tuning Functions > Engine Protection > Limiting System
Limiting System
Link G4X and G5 ECUs use a progressive limiting system. The limiting systems progressively cuts fuel and/or ignition over a specified limiting control range. Throttle
position is also taken into consideration to provide more aggressive limiting at high throttle positions.
Limit Mode
The limit mode is used to turn the system on and off. When turning the system on, there are four available limit methods.
· OFF - Limiting is turned off.
· Ignition %Cut - An ignition only progressive cut.
· Fuel %Cut - A fuel only progressive cut.
· Disabled - This mode disables the limiting but leaves the Limit Table allocated so the limit can be turned off without losing the information stored in the table.
Note: In a setup using Group Injection it is recommended for smooth limiting that ignition cutting is used. A hard fuel cut can be applied if required.
The diagram below demonstrates limiting operation. The vertical axis shows the percentage cut where 0% (bottom) is no limiting and 100% (top) is full limiting.
The bottom right axis is the value being limited. The bottom left axis is throttle position. When the value being limited is within the limit control range (denoted by
the sloped red area) the amount of cut will depend on throttle position. If the value being limited exceeds the end of the limit control range, then a hard limit can be
applied (green area).
It is highly recommended to print this diagram and write your settings on it to better gain an understanding of the limiting system while trying to configure it.
Image shown is of an RPM Limit, MAP or Speed Limits operate the same only with MAP (kPa) or
Speed (kph) instead of RPM.
Warning: Advanced mode limiting settings should only be adjusted by experienced tuners. Make sure you understand EXACTLY what a setting does before
altering it.
Advanced Mode
Enables custom control over the cut percentages and effects. With advanced mode turned to OFF the ECU will force these custom settings to generic numbers.
Hard Limit
This setting selects whether a hard cut will be implemented at the point specified by the Hard Limit Activation. The following options are available:
· OFF - hard cutting is turned off.
· Ign 100% Cut - the hard cut is ignition only.
· Fuel 100% Cut - the hard cut is fuel only.
· Fuel & Ign 100% Cut - the hard cut is both fuel and ignition.
Cut Effect
The cut effect specifies the type of cutting sequence.
· Adaptive - The cutting sequence is randomized to avoid the same cylinder being cut too many times consecutively (Typical Setting)
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 48 of 235
TPS Low
Specifies the throttle position below which the Start Cut (TP Low) cut value applies. Above this throttle position the cut level is determined by a linear gradient
between the Start Cut (TP Low) value and the Start Cut (TP 100) value. A typical value would be 15%.
End Cut
Specifies the percentage cut at the end of the Limit Control Range. A typical value would be 90%.
Note: If Start Cut (TPS Low) is set above Start Cut (TPS 100) the higher cut value will be used.
Application Notes:
When setting up a limit, ideally you want it to be as smooth and as stable as possible. You will be able to tell when a limit is smooth as the percentage cut will stabilize.
Here are tips for setting up a smooth limit:
· For a smooth limit you want the limit to settle within the limit control range.
· An engine will settle into a position within the control range easier with a softer cut gradient.
· Increase the Limit Control Range for given % cut parameters to decrease the control range gradient.
· Bring the start and end cuts together to decrease the control range gradient.
· If you find when you hit the limit at full throttle, the limit is overshot then settled into, increase the Start Cut (TP 100).
G4X and G5 ECU Tuning Functions > Auxiliary Outputs
Auxiliary Outputs
G4X andG5 ECUs have up to sixteen general purpose auxiliary outputs. Unused ignition and injection channels can also be used as auxiliary outputs. Auxiliary outputs
are general-purpose outputs that may be used to perform a wide range of functions.
The following limitations apply:
· A Three Terminal ISC Solenoid must be wired to Aux 1&2 or Aux 3&4.
· An ISC Stepper Motor must be wired to Aux 5, Aux 6, Aux 7 and Aux 8.
· Aux 4-8 can be used to high side drive (supply 12V to) solenoids in Storm, Xtreme, Fury, Voodoo Pro and some Plug-in ECUs. Aux 9&10 can be used to high side
drive (supply 12V) when used in H-Bridge applications (e.g. E-Throttles).
· G4X Xtreme and Fury ECUs have one internal H-Bridge on Aux 9/10 which can be used to control an electronic throttle motor.
· G5 Voodoo Pro ECUs have two internal H-Bridge on Aux 9/10 and Aux 11/12 which can be used to control electronic throttle motors.
· G4X Monsoon, Storm, Xtreme, Fury and G5 Voodoo Pro ECUs can control an external H-Bridge controller using Aux 1/2 and Aux 3/4.
Auxiliary outputs supply an earth to switch loads such as a solenoid, relay, bulb or LED. Loads may be connected directly to the auxiliary output without using a relay
provided they do not draw more than 2A of current, essentially this means that a directly connected load should have a resistance exceeding 7Ω. Refer to the section
on wiring auxiliary outputs.
Some of the functions that may be performed by auxiliary outputs include:
· Check Engine Light
· Chassis Relay Output
· Closed Loop Stepper Control/Rotary Oil Pump Control
· ECU Hold Power
· Engine Coolant Fan Relay Switching
· Fuel Pump Control
· General Purpose Switched Outputs - any function requiring an output activated by temperature, manifold pressure (MAP), RPM, gear position, digital input state etc.
· General Purpose PWM Outputs - like a Gp Output but with Duty Cycle and Frequency Control.
· Inter-cooler Water Spray
· Purge Control
· Shift Light
· Speed Output (to a gauge)
· Tacho Output
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 49 of 235
Refer here for information on CAN Auxiliary Outputs and on using Virtual Auxiliary Outputs over CAN.
See also:
· Output Wiring
· Auxiliary Output Wiring
G4X and G5 ECU Tuning Functions > Auxiliary Outputs > Pin Settings
Pin Settings
These settings belong to their respective output and are moved to the location the output is being used to make setting up faster and easier.
To find the Test settings when the output is not assigned to a function go to Auxiliary Outputs -> Output Pins -> the desired Aux. If the Function setting (found under
Auxiliary Outputs -> Output Pins and always has a lock symbol) is double clicked on it will take you to the function it is assigned to (if it is assigned).
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 50 of 235
Aux X Test
This function can be used for testing the wiring of the output, it allows the user to switch the output on and off and even allows the user to output a specific frequency
on the respective aux pin. When set to ON the switched test state is active and the Active State can be used to switch the pin between High and Low. When set to ON
(PWM) the pin will switch between High and Low at the frequency specified by Test Frequency with a Duty Cycle of 50%.
A common example of a vehicle that would use this function to control the vehicles alternator is NB MX5s.
Note: This function is not intended to be used on vehicles which have two separate voltage levels but still have a regulator inside the alternator like the S2000.
Note: When the engine is off the Output is turned off and the error runtime value is reported as 0.
Settings:
Output
This setting is used to select the PWM capable output that has been wired to the alternator control pin. If this setting is set to None the rest of the settings will be
hidden.
Frequency
This setting is used to set the frequency of the selected output pin's signal. The value used here would typically be the same as is used by the OEM system, an
oscilloscope can be used to find this value.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 51 of 235
This table contains the target voltage values, typically both axes would be left as None and a single value would be used in the one cell but having a table does allow
the targeting of different voltages under different situations like a lower voltage at cruise to reduce fuel usage or a higher voltage in overrun to increase engine braking
slightly.
NOTE: A list of all possible ECU Fault Codes and how to clear them can be found HERE.
The following settings exist for the Check Engine Light function:
Output
Used to select which Auxiliary output will be used by this function
Engine running
Determines what will happen when a fault code is present and the engine is running
· On When Fault Codes - The Check Engine light will be constantly illuminated.
· Flash Fault Codes - The fault code(s) present will be flashed by the Check Engine light.
Flash Mode
Two Check Engine light modes exist. These are known as Long Tens and Short Tens.
· Long Tens
Fault codes are displayed as a succession of long and short flashes. Long flashes indicates tens where short flashes indicate ones. A large pause between flashes
separates fault codes. Fault codes will be displayed in a repeating list.
Example
Note: If the ECU has a fault code present and the RPM is greater than zero the CE light will stay on and not flash the codes.
· Short Tens
Fault codes are displayed as a succession of short flashes and gaps. First the tens flash and then after a gap the ones flash. A large pause between flashes
separates fault codes. Fault codes will be displayed in a repeating list.
Example
Mask
This table allows the user to stop specific fault codes from being shown as part of the CE Light output function. This is particularly useful if there are less important fault
codes that you don't want to see show up on the dash possibly hiding the presence of more important faults. All fault codes will still be shown when connected to the
ECU with PCLink. To hide a specific fault code enter a value of 1 in the cell below the corresponding fault number. For example to hide the "An Volt 1 above Error High
Value" fault you would need to enter a value of 1 in cell 10. To show a hidden fault code give it a value of 0 in the appropriate cell.
Note: Some Link wire-in ECUs contain an LED in the front. With the exception of the Flash Mode and the Mask settings, other settings above do not affect this LEDs
function.
G4X and G5 ECU Tuning Functions > Auxiliary Outputs > Chassis Power Relay
Chassis Power Relay
The Chassis Power Relay is intended to be used to control relays that supply power to the various solenoids etc.
The Chassis Power Relay Function operates in the same way as a GP Output with conditions that have to be met to turn on or off the selected Auxiliary Output. For
more information on how the function operates refer to the GP Outputs page here.
G4X and G5 ECU Tuning Functions > Auxiliary Outputs > Closed Loop Stepper/Rotary Oil Pump Control
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 52 of 235
Closed Loop Stepper Control can be used for a variety of applications from throttle plate positioning to tilt control on aerodynamic wings. If using this function to control
Rotary Oil Metering then set CL Stepper Control to Rotary Oil Pump instead of ON. Do not use this function to control an idle speed stepper motor as they have no
position feedback, instead use the Stepper Actuator option In the idle speed control function.
1. Wire the (metering oil pump) stepper motor to Auxiliary channels 5, 6, 7 and 8. Wire one winding to Aux 5 and Aux 6. Wire the other winding to Aux 7 and
Aux 8. On a six terminal motor, wire the centre tap of both windings to the engine management power supply. Refer to the Four and Six Terminal Stepper
(rotary oil pumps are six terminal) wiring diagrams found in the ECUs wiring and installation manual for more information.
2. Wire the position feedback to an Analog Input. Note that the position sensor must also be wired to the ECUs sensor ground and +5V output.
3. Turn CL Stepper Control On (or set to Rotary Oil Pump if using a Rotary oil pump)
4. Set the Stepper Motor Type, Direction and Hold Duty Cycle.
5. Set CL Stepper Feedback to the Analog Channel being used.
6. Calibrate the Analog Channel to read 0-100% over the motors travel. This can be done quickly and easily using the Stepper Calibration setting or manually
by setting the Fully Closed and Fully Open Settings.
7. Set Up the Position Table. The Rotary Oiler/CL Stepper table must be setup to deliver the position over the operating range. Use the Axis setup menu (press
X or Y) to configure the X and Y axis of the table.
8. Observe the Closed Loop Stepper Control is working. Watch the analog Cl Stepper Position Runtime Value to ensure that it tracks the numbers entered in
the table. Alter the number in the tables active cell and ensure the closed loop control alters the motors position to match the table.
Rotary info:
The position signal must have a lower voltage (about 0.8V) when the pump provides minimum oil flow. The position signal must have a higher voltage (about 4V) when
the pump provides maximum oil flow.
rotary - The Rotary Oiler/CL Stepper table must be setup to deliver the correct oil volume over the operating range. A number of 0% means no oil is delivered. A
number of 100% means maximum oil delivery. The actual numbers required must be setup by the tuner and are dependent on the engine build and oil used. Use the
Axis setup menu (press X or Y) to configure the X and Y axis of the table.
Warning: When a fault is detected (with the metering oil pump control system) and the CL Stepper Ctrl setting is set to 'Rotary Oil Pump' engine speed is limited to
2000 RPM.
ECU Hold Power provides a means by which the ECU can control its own power supply relay. This allows the ECU to remain powered after the ignition switch has
been turned off and then shut itself down when ready. This is useful for functions such as returning an ISC stepper motor to its home position before the next startup.
The following is required in order to use the ECU Hold Power function:
· The Ignition Switch functionality must be wired in and set up, this is required to allow the ECU to detect when the driver has turned the key off and shut the
engine down.
· The ECU must be wired to allow it to control its own power. Refer to the Wiring and Installation manual's ECU Hold Power section for further details.
· An Auxiliary Output must be wired to control the main relay and configured as ECU Hold Power. This Auxiliary Output must be selected in the ECU Hold
Power Output setting
Operation
ECU Hold Power will keep the ECU powered while the following conditions exist:
· An Auxiliary Output is configured as ECU Hold Power AND
· The Ignition Switch Digital Input is On OR
· The Ignition Switch Digital Input is Off AND
· The engine is still rotating OR
· The ISC stepper motor is resetting (if used and configured to reset at key off) OR
· A special function that is performed at key off is completing OR
· Keep Alive Time has not been reached yet.
Settings:
Output - Sets which Auxiliary will be used to control the ECU power relay.
Keep Alive Time - Sets the amount of time the ECU will remain powered after the engine has stopped. Setting this to zero will stop the ECU from using any timed
delay at shut down.
Kill Until Stalled - When the Ignition Switch is turned off, fuel and ignition are disabled. If this setting is set to No, fuel and ignition will be re-enabled if the key is turned
back on while the engine is slowing to stop. If this setting is set to Yes, fuel and ignition will not be re-enabled until the engine has completely stopped (RPM equals
zero). This setting should typically be set to No to allow the engine to restart if the key is turned back on, particularly if there might be a situation where the driver may
turn the key off then back on while the vehicle is moving and overrun will prevent the engine from stopping. If a momentary switch is used for the Ignition Switch digital
input, then this setting should be set to Yes otherwise the driver would need to hold the button until the engine has completely stopped.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 53 of 235
Runtime Status
Status Values:
· OFF - ECU Hold Power is not used.
· Inactive - ECU Hold Power is used and ECU is being powered normally (Ignition Switch is on and ECU is driving power relay on).
· Active - ECU Hold Power is keeping the power relay on but the Ignition Switch is tuned off and the shut down sequence is happening.
G4X and G5 ECU Tuning Functions > Auxiliary Outputs > Engine Fan
Engine Fan
The Engine Fan function has two purposes:
· Radiator fan control - an ECT sensor must be setup and working.
· Air conditioning (AC) condenser fan control - AC Clutch Control must be setup and working.
Warning
If the vehicle speed is at or above the Non Driven Speed Lockout and the Engine Fan Temperature is exceeded, the engine fan will NOT turn on. Incorrect Engine Fan
setup could lead to engine damage.
If the engine coolant temperature is above the 'Engine Fan X Temperature' but the engine has not been run since the ECU turned on, the engine fans will not turn on.
Note that Engine Fan 3 is not used in the example. Below are some of the possible states of Engine Fan 1 (Aux 1) and Engine Fan 2 (Aux 2) at different operating
conditions:
Notes ECT AC Clutch Engine Speed Driven Speed Engine Fan 1 Engine Fan 2
Before engine running 15 °C Off 0 RPM 0 kph Off Off
Engine warming up, engine 92 °C Off >500 RPM 60 kph Off Off
running, vehicle speed increase
AC clutch on 92 °C On >500 RPM 60 kph On Off
Vehicle speed increase 92 °C On >500 RPM 80 kph Off Off
ECT increase, vehicle speed 94 °C Off >500 RPM 60 kph Off Off
decrease, AC clutch off
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 54 of 235
Note that Engine Fan 3 is not used in the example. Below are some of the possible states of Engine Fan 1 (CAN) and Engine Fan 2 (CAN) at different operating
conditions:
Notes ECT AC Clutch Engine Speed Driven Speed Engine Fan 1 Engine Fan 2
Before engine running 15 °C Off 0 RPM 0 kph Off Off
Engine warming up, engine 92 °C Off >500 RPM 60 kph Off Off
running, vehicle speed increase
AC clutch on 92 °C On >500 RPM 60 kph On Off
Vehicle speed increase 92 °C On >500 RPM 80 kph Off Off
94 °C Off >500 RPM 60 kph Off Off
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 55 of 235
The following fuel pump and fuel pump speed control configurations are supported:
· Standard
· Two Speed Relay Control
· Three Speed Relay Control
· Three Speed PWM Module
· Open Loop PWM Control
· Closed Loop Pressure Control
Prime Time
In all fuel pump speed control modes, the Prime Time setting is available and sets how long the fuel pump will run for when the key is first turned on. A typical value is
3 seconds. As soon as engine speed is detected the fuel pump will run continuously until the engine stops. Prime will be applied at max fuel pump speed in modes that
don't contain a Prime Duty Cycle setting.
Modes:
OFF
No Fuel pump Control is performed by the ECU.
Standard
This mode requires a Fuel Pump Relay Output to be selected, this output will be turned on for the Prime Time at ECU Power up and then run continuously while the
engine is detected to be turning over (running or cranking). This Auxiliary output should be wired to a relay which powers the fuel pump, no other configuration is
required.
When Inj Duty Cycle is greater than Inj DC X Over OR Engine Speed is greater than Eng Speed X Over high speed pump mode is activated. Note that there is a 2%
hysteresis on Inj Duty Cycle and a 50RPM hysteresis on engine speed to prevent erratic switching.
When Engine Speed is greater than Low -> Med RPM OR Inj Duty Cycle is greater than Low -> Med Duty Cycle the output will switch to Medium Speed Mode.
Similarly if Medium to High Rpm OR Duty Cycle criteria are met, the output mode will switch to High Speed. Note that there is a 2% hysteresis on Inj Duty Cycle and a
50RPM hysteresis on engine speed to prevent erratic switching.
The board below summarises which output is Active in each specific state:
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 56 of 235
The control will apply either 33% 66% or 100% duty cycle to the speed control module depending on fuel flow. The following settings are available in this mode:
· PWM Frequency - Output Frequency of the Auxiliary
· Low -> Med RPM - Sets the Engine Speed at which the fuel pump speed changes from low to medium speed.
· Low -> Med Duty Cycle - Sets the fuel flow that the fuel pump changes from low to medium speed.
· Med -> High RPM - Sets the Engine Speed at which the fuel pump speed changes from medium to high speed.
· Med -> High Duty Cycle - Sets the fuel flow that the fuel pump changes from medium to high speed.
When Engine Speed is greater than Low -> Med RPM OR Inj Duty Cycle is greater than Low -> Med Duty Cycle the output will switch to Medium Speed Mode.
Similarly if Medium to High Rpm OR Duty Cycle criteria are met, the output mode will to High [Link] that there is a 2% hysteresis on Inj Duty Cycle and a 50RPM
hysteresis on engine speed to prevent erratic switching.
Actual duty cycle applied to the fuel pump speed controller can be viewed with the 'FP Speed (%DC)' Runtime parameter (found under Auxiliary Outputs Tab).
This type of control is normally used on a system with a fuel pressure regulator. The idea is to maintain a constant flow in the fuel return line for all injector flows.
Keeping a constant flow through the regulator prevents fuel pressure creep. Reducing fuel pump speed when fuel demand is low also reduces fuel pump current, noise
and fuel heating.
The following settings are available for configuring Open Loop Pressure Control:
· Prime Duty Cycle - Sets the duty cycle used during Prime Time.
· PWM Frequency - Output Frequency of the Auxiliary
· Multiplier: Scales the duty cycle to the fuel pump speed control module. For example if 80% FP Speed (%DC) is desired and the pump controller needs 40%
duty cycle to run the pump at 80% speed then set Multiplier to 0.5 %/%. If the fuel pump speed control module outputs the same duty cycle as its input then set
this number to 1 %/%.
· Offset - Corrects the duty cycle sent to the fuel pump speed control module. This will normally be zero. For example, if the fuel pump speed control module
requires a 40% duty cycle input to achieve 50% speed then Offset will be -10%.
· Pump Off DC - The duty cycle that will be applied to the fuel pump speed control module when the engine is not running.
· Min DC Clamp - The minimum duty cycle that will be applied to the fuel pump speed control module. Most pumps will not turn below approx 20% duty cycle. Set
this to a value well above the pumps stalling duty cycle.
· Max DC Clamp - The maximum duty cycle that will be applied to the fuel pump speed control module. Note, some modules will go into an error state if a too high
duty cycle (eg above 95%) is applied. This setting can also be used to limit max pump speed where an oversized fuel pump is used.
· Fuel Pump Duty Cycle Table - Sets the desired fuel pump speed depending on Inj Duty Cycle. 0% will be pump stopped,100% will be full speed, 50% will be
half speed etc. Note, the number in this table is not necessarily the duty cycle applied to the fuel pump speed controller, it is the desired fuel pump speed at a
particular Inj Duty Cycle. The actual duty cycle applied to the fuel pump speed controller will depend on the following settings (refer to the equation shown
below). The X Axis numbers (injector duty cycle) can be adjusted as required by pressing the X key while on this table.
The duty cycle applied to the fuel pump speed controller is calculated as:
FP Speed (%DC) = FP Speed Table x Multiplier + Offset, clamped between Max DC Clamp and Min DC Clamp
Note the Prime and Pump Off Duty Cycles aren't clamped and don't have the multi or offset applied to them.
Note that a special fuel pump speed control module is required for this type of control. A solid state relay will not be able to switch fast enough for variable speed fuel
pump control.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 57 of 235
Most OEM vehicles that require this type of control have the correct mechanical system to suit it. This type of control does not use a fuel pressure regulator. Only a
small bleed is used to keep some fuel circulating in the system. Fuel tank heating is greatly reduced due to reduced fuel circulation and reduced fuel pump current.
To use this mode set Speed Control Method to Closed Loop. The following settings will be available:
· Prime Duty Cycle - Sets the duty cycle used during Prime Time.
· PWM Frequency - Output Frequency of the Auxiliary
· Startup Override Pressure - This pressure is used instead of the Fuel Pressure Target Table during engine starting. It allows removal of air from the system,
and is required for correct operation of some high pressure DI Fuel pumps. This pressure target is used when the engine speed is greater than 0 but less than
400rpm.
· Proportional Gain - The proportional gain component in the PID controller.
· Integral Gain - The integral gain component in the PID controller.
· Derivative Gain - The derivative gain component in the PID controller.
· Pump Off DC - The duty cycle that will be applied to the fuel pump speed control module when the engine is not running.
· Min DC Clamp - The minimum duty cycle that will be applied to the fuel pump speed control module while running.
· Max DC Clamp - The maximum duty cycle that will be applied to the fuel pump speed control module while running.
· Fuel Pump Duty Cycle Table - Used as a feed forward value for the PID controller, the value in the table will be used as the base value which the PID adds to
or subtracts from. Set this table up so that it controls the fuel pressure as well as possible with no PID Gains and then add the gains to account for changes that
this table can't account for.
· Fuel Pressure Target Table - Sets the target fuel pressure for given conditions (typically load and engine speed). Fuel Pressure Target is the interpolated value
from this table.
Actual duty cycle applied to the fuel pump speed controller can be viewed by looking at the FP Speed (%DC) runtime value.
Note the Prime and Pump Off Duty Cycles aren't clamped.
G4X and G5 ECU Tuning Functions > Auxiliary Outputs > Fuel Pump Control > Nissan Skyline GTR FP Speed Control
Nissan Skyline GTR FP Speed Control
The Nissan Skyline GTR Fuel pump speed controller requires two Auxiliary Outputs from the ECU to control fuel pump speed.
Enter the following settings into PCLink in the Fuel Pump Control section.
Speed Control Method = Three Speed Relay Control
Fuel Pump Relay Output = Aux 6
Fuel Pump Speed Relay 1 Output = Aux 2
Aux 2 Active State = High
Fuel Pump Speed Relay 2 Output = Aux 1
Aux 1 Active State = High
Prime Time = 3.0 s
Low -> Med RPM = 1500 RPM
Low -> Med Duty Cycle = 10 %FF
Med -> High RPM = 2500 RPM
Med -> High Duty Cycle = 22 %FF
Using the above settings would control the fuel pump speed as follows:
Note: The both Aux 1 & 2 will be High during prime meaning full pump speed.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 58 of 235
To confirm fuel pump speed is working correctly measure the voltage at the fuel pump.
G4X and G5 ECU Tuning Functions > Auxiliary Outputs > DI Fuel Pump Control
DI Fuel Pump Control
Note: This topic only applies to Direct Injection capable ECUs such as the Link G5 Voodoo Pro.
Direct Injection (DI) Fuel Pump Control is used to regulate fuel rail pressure on DI engines. These engines use a cam shaft driven high pressure fuel pump to supply
fuel injectors that inject directly into the combustion chamber.
DI fuel injection systems differ in two major ways from traditional fuel injection systems:
· High Voltage/Current fuel injectors. These injectors require special driver circuitry to supply high voltage to open quickly against a high fuel rail pressure. The G5
Voodoo Pro requires an external driver box to control DI injectors.
· High Pressure DI Fuel Pump. These pumps contain a pumping volume control valve (called a spill valve on some pump types) to regulate fuel rail pressure that
requires a special control algorithm and a peak and hold driver circuit. The G5 Voodoo Pro requires an external driver box to control the spill valve.
Note: DI Pump Control requires Modelled or Modelled - Multi Fuel Fuel Equation Mode to be used.
WARNING: To prevent wasted time and potential fuel system damage, do not guess or just use the default values for any DI Fuel Pump Control settings. It is critical
they are configured correctly for the exact pump type.
G4X and G5 ECU Tuning Functions > Auxiliary Outputs > DI Fuel Pump Control > DI Fuel Pump Control Settings
DI Fuel Pump Control Settings
The following settings cover the basic setup of the DI Fuel Pump Control operation and how the settings are used to configure your setup correctly.
Once you have read and understand how the following settings work you can find example settings for specific vehicles here and in the Engine Specific Information
area.
Pump Type
This setting is used to specify how the high pressure DI Fuel Pump is controlled to deliver or bleed off the correct amount of fuel in order to get to the DI Fuel Pressure
to the DI Fuel Pressure Target. Each option controls the selected pump differently and so it is important to select the correct Pump Type.
Dual Pumps
This setting is used to turn On or Off Dual DI Fuel Pump Control. Dual Pump control assumes both pumps are physically identical and are feeding into a single shared
high pressure fuel system.
· Pump Cam Lobes, Pump Calibration Table, Spill Valve on Duration, Minimum Pump Angle & Spill Valve Deadtime are shared for Normally Open Pump Type.
· Pump Cam Lobes & Pump Calibration Table are shared for Normally Closed Pump Type.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 59 of 235
· Frequency and DC when 0RPM are shared for PWM Pump Type.
· Currently only one DI Fuel Pressure input is allowed and so dual pumps doesn't support separate independent High pressure fuel systems each being fed by their
own high pressure DI Fuel pump.
A value of 20% with Proportional & Integral Gain values of 0 would mean that the pump would be commanded to pump 20% or 1/5th of the amount fuel that it can
physically flow.
A value of 100% with Proportional & Integral Gain values of 0 would mean that the pump would be commanded to pump as much fuel as it can physically flow into the
high pressure DI fuel rail.
A value of 20% in the Base Pump Control Effort Table and a value of 30% in the Pump Control Effort Trim Table would result in a 50% feed forward value (20 + 30 =
50).
To determine the correct numbers for this table from a cam shaft profile, the actual cam lift numbers need to be converted from their measurement (mm or inches) to a
percentage of the pumps maximum volume per stroke. If the pump can pressurise for the full stroke it will pump 100% of its maximum volume. The following table gives
an example of how to convert cam profile measurements into numbers for the Pump Calibration Table.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 60 of 235
A Pump Calibration Table generated from these measurements would look like the one shown below. Note that more measurement points are included to get an
accurate calibration, especially around min and max lift.
From this calibration the ECU can determine that if it wants 45.9 % of maximum flow it needs to start pressurising at 100.0 crank degrees before the pump cams lobe
center.
Note: The table axis (Max Flow %) numbers can be adjusted by pressing X while editing the table.
PWM
Output
The PWM output being used to control the DI Fuel Pump solenoid. Set the output's Active State to the setting that gives 100% fuel supply to the Fuel rail at 100% DI
Fuel Pump Flow Percentage.
Frequency
Controls the Frequency of the PWM signal being used to control the DI Fuel Pump.
When Dual Pumps is on this setting applies to both pumps.
DC when 0RPM
This value is typically set so that the DI Fuel Pump Solenoid is not being powered when the engine is off (0% or 100% depending on the Output's Active State and the
Amplifier being used (if one is being used)).
When Dual Pumps is on this setting applies to both pumps.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 61 of 235
G4X and G5 ECU Tuning Functions > Auxiliary Outputs > DI Fuel Pump Control > DI Fuel Pump Control Tuning
DI Fuel Pump Control Tuning
WARNING: The procedure for setting up DI Fuel Pump Control requires a complete understanding of the physical system. It is recommended that only advanced
tuners attempt to configure and tune Direct Injected engines. There are many areas that can go wrong and a lot of information must be obtained from the OEM system.
WARNING: DO NOT just use the default numbers provided, each setting must be correct for the application. If you do not understand what a setting does or where to
obtain the correct value from contact your Link distributor or Link technical support for further assistance. Assuming a number could result in damage to the injectors,
pump or engine but most likely a lot of lost time in trying to get the system to operate correctly.
WARNING: Trying to drive the injectors over 50% Duty Cycle will result in engine misfire! and a warning fault code being set.
Before setting up DI fuel pump control or tuning a DI engine the following information should be obtained from the OEM vehicle. Some of this can be obtained using a
scan tool, other information will need to be found by on vehicle measurement. Some of this information will be available for selected vehicles in Link base maps.
· Low fuel pressure system type and configuration, including fuel pump controller operation.
· Low fuel pressure under various operating conditions including start-up.
· Injector driver voltage and current values and control type.
· Injector flow and characteristics.
· DI Fuel Pump type.
· DI Fuel Pump Solenoid control currents and control type.
· DI Fuel Pump Solenoid dead time.
· Number of DI Fuel Pump cam lobes.
· DI Fuel Pump cam shaft profile.
· DI Fuel Pump lobe centreline relative to crank shaft.
· DI Fuel pressure under various operating conditions.
· Injector timing under various operating conditions.
· Other tuning information also useful is VVT control angles, Lambda and Ignition Angle.
The following steps are required before attempting to run the engine:
1. A suitable low pressure fuel pump control must be achieved. It is common on DI engines to use a returnless or fixed bleed fuel system. These systems
sometimes require a special closed loop fuel pressure control to correctly regulate fuel pressure. The low pressure fuel system should be correctly configured
and tuned before attempting to operate the high pressure fuel system. Measurements should be taken from the OEM system to determine correct pressures
under various operating conditions. For improved starting, it is also common for the low pressure system to use a very high pressure at startup.
2. If using a non OE DI box then configure the DI box to suit the injectors. These must be correct to both avoid injector damage and ensure they are correctly
driven. Note: the G5 Voodoo Pro ECU requires an external driver box to control DI injectors and DI high pressure fuel pumps.
3. Set up the Injector Characteristics to match the injectors. These must be correct as they are used by the DI Fuel Pump Control algorithm.
4. Set up Injector Timing correctly. Timing is typically based around start of injection timing, starting approximately when the intake valve opens and can progress
part way into the compression stroke. Warning; injector duty cycle is limited to 50% by hardware and incorrect injection timing can allow fuel to be injected
during the power or exhaust strokes!!!
5. If using a non OE DI box then configure the DI box to suit the High Pressure DI Fuel Pump solenoid/Spill Valve Peak and Hold currents as per specifications or
OEM operation.
6. Set up the DI Fuel Pump Calibration. This may require taking measurements from the engine and must be set up exactly.
7. Set the DI Fuel Pump Error Value settings to suitable values. If these values are interfering with correct setup of the pump then these values can be turned off
for the purposes of pump calibration and setup but must be turned back on for regular use.
8. Set up the DI Fuel Pump Target Pressure Table and related settings.
9. Tune the closed loop fuel rail pressure control system as described below.
DI Fuel Pressure Control uses a modelled system using all the physical information about the injectors, pump cam profile and pump solenoid to attempt to arrive at the
correct fuel rail pressure. On top of this is a closed loop controller that continuously corrects for variations and inaccuracies in the system. This controller relies entirely
on all DI settings being correct and will perform poorly or most likely not at all without the correct information.
Once set up correctly and the engine is ready to run, start and tune the fuel table to get the fuel mixtures into a safe state. Then run the engine at mid rev's, 3000 to
4000rpm, and change the target fuel pressure to see if the actual fuel pressure tracks the target fuel pressure. If not, tune the fuel pump control PIs and if necessary
recheck the pump settings.
Run the engine on a dyno and tune Ignition and fuel maps. If the fuel rail pressure fails to track the target pressure, particularly on rapid throttle changes, then the DI
fuel pump compensation table should be tuned. Tune the table to achieve a constant DI fuel pump control % output over the engine's operating range, the value is not
important. This reduces the amount of work PI control must do and can result in lower gains being acceptable. With stable rail fuel pressure you can now final tune the
fuel table.
G4X and G5 ECU Tuning Functions > Auxiliary Outputs > DI Fuel Pump Control > DI Fuel Pump Control Examples
DI Fuel Pump Control Examples
Below are some examples of setups that we have had working, if you want any of the information below corrected or want to add more examples please contact Tech
Support.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 62 of 235
The Toyota 2GR-FSE also has it's own OE DI controller box with 6 injector outputs and one pump output.
Set Injection Mode to 'Direct/Port Injection' and set DI Injector drive mode to 'Inversed with pull-up'. Injector flow rate was determined to be 315cc/min @ 2000kPa for
the DI injectors (Primary) and 195cc/min @ 300kPa for the Port injectors (Secondary).
Set DI Fuel Pump Control Pump Type to 'Spill Valve - normally Open'. Set the selected output's active state to High.
Pressure calibration as determined experimentally is 0kPa at 0.48V and 25000kPa at 4.5V.
Lobe Centerline as determined experimentally is 52deg with 3 cam lobes and a Spill Valve On Duration of 20deg.
Spill Valve Deadtime and Pump Calibration Table are shown in the image below:
Set Injection Mode to 'Direct/Port Injection' and set DI Injector drive mode to 'Inversed with pull-up'. Injector flow rate was determined to be 820cc/min @ 10,000kPa for
the DI injectors (Primary) and 328cc/min @ 300kPa for the Port injectors (Secondary).
Set DI Fuel Pump Control Pump Type to 'Spill Valve - normally Open' with Dual Pumps on. Set the selected outputs active states to High.
Pressure calibration as determined experimentally is 0kPa at 0.47V and 27000kPa at 4.5V.
Lobe Centerlines as determined experimentally are 280deg and 270deg with 2 cam lobes and a Spill Valve On Duration of 40deg.
Spill Valve Deadtime and Pump Calibration Table are shown in the image below:
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 63 of 235
Up to three conditions can be used to define when a General Purpose Output switches on/off. If more than one condition is being used the conditions can be combined
using AND or OR combinations.
Example:
Switch Logic = Cond 1 ONLY
Off Delay = 0.1s
SW Parameter 1 = Engine Speed
SW Cond 1 = ">"
Engine Speed = 4500 RPM
This will result in the selected Output becoming active when the rpm goes over 4500rpm and becoming inactive (with a delay of 0.1s) when the engine speed drops to
4500rpm or lower. This kind of setup would commonly be used for a VTEC style system.
Terminology used:
· AND - ALL conditions must be true before switching will occur
· OR - Switching will occur if ANY of the conditions becomes true
· > - Greater than
· < - Less than
· >= - Greater than or equal to
· <= - Less than or equal to
· = - Equal to
· /= - Not equal to
· Function Active - When the corresponding function is active, this becomes true regardless of the associated value.
Output
This setting allows the user to select the output that will be controlled by this function.
On/Off Delay
The On Delay and Off Delay settings add delays in the switching off of the output, this effect is similar to adding hysteresis as it helps eliminate rapid on-off-on
switching. The On Delay is how long the activation requirements must be continuously be met before the output turns on and the Off Delay is the same but for turning
the output off.
Switch Logic
Sets how the conditions will be combined to make the final on/off state. Note that conditions in brackets are always evaluated first Options are:
· Cond 1 ONLY - Only the first switching condition is used.
· Cond 1 AND 2 - The first two switching conditions are used. They must both be true to turn on the output.
· Cond 1 AND 2 AND 3 - All three conditions are used. They must all be true to turn on the output.
· Cond 1 OR 2 - The first two switching conditions are used. The output will turn on if either of them is true.
· Cond 1 OR 2 OR 3 - All three conditions are used. The output will turn on if any of them are true.
· Cond (1 AND 2) OR 3 - All three conditions are used. The output will turn on if both (Condition 1 AND Condition 2 are true) OR Condition 3 is true.
· Cond (1 OR 2) AND 3 - All three conditions are used. The output will turn on if (Condition 1 OR Condition 2 are true) AND Condition 3 is true.
SW Parameter 1,2,3
Selects the parameter used in the switching condition, the available options include the majority of the runtime values and statuses.
SW Cond 1,2,3
Selects the Condition used in the switching condition, available options are <, >, =, <=, >=, /= (not equal to).
SW Value 1,2,3
Selects the Value being compared against in the switching condition, this is a selectable status box when the parameter is a status.
This setting doesn't show up as 'Value' but instead shows up as the parameter name.
Suppose in this case the solenoid should be switched on at 4500 RPM. To do this only a single condition is required, that being "RPM greater than 4500". To
implement this the following setup may be used:
To run a Honda VTEC solenoid directly from the ECU (without an additional relay), wire it to aux 5, 6, 7 or 8 and set the Drive Type to High Side.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 64 of 235
It is quite common to want to turn an output on at a value (eg 4000 RPM) but not want it to switch off until a lower value (eg 2000 RPM). This is often used by factory
vehicles for intake runner control (eg Toyota TVIS) or switched cam control. The following numbers show how to turn the auxiliary output 2 on when engine speed goes
above 4000 RPM and keep it on until engine speed falls below 2000 RPM.
This may seem a little confusing but can be explained by breaking the switch logic down. The logic is:
On when (Engine Speed > 2000 AND Aux 2 is Active) OR (Engine Speed > 4000)
The point to note here is that the auxiliary output uses its own on/off state to select what RPM it turns on/off at. When it is not on, it turns on at 4000 RPM, but when it is
on, it turns off at 2000 RPM.
This example is for demonstrative purposes only and is not a recommended method of NOS control.
Suppose you wanted to disable NOS in first and second gears to reduce wheel spin. To do this only a single condition is required, that being "Gear is greater than 2".
To implement this, the following setup may be used:
To further this example, suppose you also only wanted NOS to be active when boost is being produced. To do this you want the auxiliary output to switch on when
"Gear is greater than 2" AND "MAP is greater than 100 kPa". To implement this the following setup may be used:
To further extend this example, suppose you also wanted an override switch that could make the NOS active all the time. You have wired a switch to Digital Input 5 and
set it up as a General Purpose input. To do this you would want the auxiliary output to switch on when ("Gear is greater than 2" AND "MAP is greater than 100 kPa")
OR ("Digital Input 5 is On). To implement this the following setup may be used:
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 65 of 235
Suppose in this case the solenoid should be on above 4000 RPM but turn off again at 6500 RPM. To do this "RPM must be greater than 4000" AND "RPM must be
less than 6500".
Suppose in this case the user wants to switch a water injection solenoid constantly on (without using PWM), but only if the engine is making over 1Bar of boost (MAP
above 200kPa) AND the inlet air temperature is above 70degC. The user also wants an override switch (using DI-4 which is setup as a general purpose switch) which
forces the solenoid to turn on. So the output should switch when; ( "MAP is greater than 200 kPa" AND "Inlet Temp is less than 70 degC" ) OR "Digital input 4 is on".
Suppose that you have a weak third gear and want to disable NOS only in that gear. You also have a NOS switch connected to Digital Input 5 (and Digital Input 5 is
correctly configured as GP Input). In this case you want the Auxiliary Output to turn on when (Digital Input 5 is ON AND Gear Position is not Three).
This function Pulse Width Modulates an auxiliary output at a constant or variable frequency with a variable duty cycle. This function is used for generic control of
solenoids and interfacing to other electronic devices, typical applications include nitrous injection, water injection, non linear frequency output to old speedometers and
many more.
GP PWM outputs will pulse width modulate (PWM) an auxiliary output pin at a given frequency. The frequency can either be constant or come from a 3D table. The
output duty cycle will be taken from a 3D table when all the on conditions specified are met. The output will continue to be applied for the given time period (SwOff
Timer value) after conditions cease to be met. When conditions are not met, the output will be off (0% duty cycle) in the same way a GP Output is off (taking into
account the polarity setting).
This function allows for control of a solenoid or pump to spray water onto an air/air Inter Cooler (IC) for more efficient cooling of the intake air. Once the conditions are
met to enable the IC Spray function, the pump control relay is pulse width modulated at a low frequency and low duty cycle. The purpose of this is to repeatedly spray a
mist of water onto the Inter Cooler then allow it to evaporate.
For IC Spray to activate both the selected Input must be active and the switching function Runtime ON/Off Value requirements must be met.
Settings
Output - Sets which Auxiliary will be used to control the IC Spray pump/solenoid.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 66 of 235
Input - Sets which input will be used to activate the IC Spray control.
Switching Function - Determines which Runtime will be used in conjunction with the ON Value and OFF Value settings to activate the IC Spray control.
ON Value and OFF Value - Determines the actual value at which to switch on/off the IC Spray function. These settings act as a form of hysteresis, the selected
Runtime's (selected in Switching Function) value has to go above the ON Value to activate IC Spray and drop below the OFF Value to deactivate it.
Water Spray Mode - This has an effect on water consumption over a long period of time. When the switching conditions are no longer met the IC Spray drive will turn
off. There is a high chance that the system will be part way though a cycle when it switches off. The Resume option means that when the switch conditions are met, the
system will continue from the same position in the cycle. This means that the pump may actually be off or about to turn off even though the function has been activated.
In contrast, the Reset option will automatically start spraying from the beginning of the cycle as soon as the function has been activated.
Spray Period - The time taken for one complete on/off cycle, 5 to 10 seconds is typical.
Spray Duty Cycle - Controls how much water is delivered once the IC Spray function is activated. 100% means the pump will run continuously, 50% means that the
pump will cycle with equal on and off times, 25 to 50% is typical.
RPM Lockout - IC Spray Control will be disabled below this RPM. This can be set to zero to allow testing of the IC spray function without the engine running, a typical
value is 400 RPM.
G4X and G5 ECU Tuning Functions > Auxiliary Outputs > Purge
Purge Auxiliary Output
Many factory cars have a charcoal canister which stores the fuel vapour coming from the fuel tank. A purge solenoid allows the charcoal canister contents to be vented
into the engine during light load.
There are no settings to adjust as other than selecting the output controlling the solenoid.
The purge function will turn on the purge solenoid when the following three conditions are met:
1. Engine Coolant Temp is greater than 50 degrees C.
2. MAP is less than 90kPa.
3. Engine Speed is greater than 1800 RPM .
Therefore the engine must be warmed up and operating in vacuum, but not at idle.
G4X and G5 ECU Tuning Functions > Auxiliary Outputs > Shift Light (PWM)
Shift Light (PWM)
Link G4X and G5 ECUs are capable of directly driving a shift light. The shift light point can be individually specified for each gear. For the Shift Light (PWM) function to
work Gear Detection must be setup and working.
Setup Example
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 67 of 235
5. The driver changes to 5th gear, the engine speed drops and the shift light stops flashing. The engine speed increases to 6100 RPM, the shift light starts flashing
at 10% duty cycle. As the engine speed increases to 6500 RPM the shift light duty cycle increases to 90%.
6. The driver changes to 6th gear, the engine speed drops and the shift light stops flashing. The engine speed increases to 6200 RPM, the shift light starts flashing
at 10% duty cycle. As the engine speed increases to 6500 RPM the shift light duty cycle increases to 90%.
Setup Notes
· The Shift Control Range and the Shift RPM is going to vary for each gear and each engine setup. The best numbers to use can be determined by speaking with
the engine builder and the driver of the vehicle.
· If using an RPM Limit set the limit to be higher than the engine speed specified in the Shift RPM Table.
· If the vehicle is in a neutral (no gear) the Shift Light function will use the settings for Gear 0.
G4X and G5 ECU Tuning Functions > Auxiliary Outputs > Speedo Out
Speedo Out Auxiliary Output
The speedometer output generates an output frequency based upon the selected speed variable. The output frequency generated is suitable for calibration of digital
speedometers. A sweep function can also be used at key on to run the needle over the entire range of the speedo.
The output frequency in Hz is the current speed in kph * multi + offset.
Settings:
Output
The Auxiliary Output being used to control the speedometer gauge.
Source
The speed source to use for Speedo Out.
Max Speed
The maximum Speed (Assuming correctly set Multi and Offset) applied to Speedo Out during normal operation. This can be used to prevent damage to the speedo due
to running it past the end or to prevent an OEM ECU seeing the actual vehicle speed above a certain point.
Multi
The ratio of output frequency to input speed. If set to 1.0 the output frequency will be the same as the input speed. If set to 2.0 the output frequency will be twice that of
the input speed. If set to 0.5 the output frequency will be half that of the input speed.
Offset
Added to the input speed over the entire range, is used to correct for when there is an offset or zero error in the gauge. Note the Multi must be set correctly before this
offset value is representative of the speed units being used.
Key On Sweep
Activates the key on speedo sweep feature. This feature causes the speedo to sweep round to the Sweep Speed at key on then back to 0.
Sweep Speed
The maximum frequency applied to the speedo at key on if Key On Sweep is enabled. Adjust this using trial and error to make the speedo sweep to the desired speed.
Sweep Time
The time taken to reach the Sweep Speed. Once the correct Sweep Speed is setup, this is the time it will take the gauge needle to reach its peak position.
Example Setup 1
In this example we will assume that a vehicle is equipped with a digital speedometer and hall effect speed transducer. For some reason (maybe a trans change or
wheel size change) the speedo calibration is no longer correct. The speedometer reads 80 kph when the vehicle is travelling at 100 kph. To correct this situation the
following must be performed:
1. Break the wire from the transducer to the speedo. Connect the transducer to a Digital Input (eg DI 3).
2. Configure DI3 as a speed input including correctly calibrating it (e.g. Set GP Speed 1 Source to DI 3 and adjust the Calibration value until it is correct).
3. Wire an auxiliary output to the speedo (eg Aux 3).
4. Set the Speedo Out 'Output' setting to Aux 3.
5. Set the Source to the speed source that has been setup in step 2.
6. Adjust the Multi until the speedometer value increases at the same rate as the ECU.
7. If the speedometer has a constant offset, say always reads 3 kph low then the Offset setting can be used to correct this, an offset value of 3 in this example.
Example Setup 2
In this example we will assume that a vehicle is equipped with wheel speed sensors connected to a CAN wheel speed module, and this data is sent to the ECU over a
CAN bus. We wish to send the speed of the driven wheels out from the ECU to the factory dash.
1. Setup the CAN to receive the wheel speed from the CAN wheel speed module.
2. Setup the speeds sources that are receiving from CAN (e.g. Set LF Wheel Speed set to CAN DI 1 Frequency and so on)
3. Setup the driving and driven wheel speed sources.
4. Wire an Auxiliary Output to the dash.
5. Set the Speedo Out 'Output' to the Auxiliary that is wired to the speedometer.
6. Set the Source to Driven Wheel Speed.
7. Adjust the Multi and offset until the speedometer value matches the ECU value.
G4X and G5 ECU Tuning Functions > Auxiliary Outputs > Subaru Tumbler (TGV) Control
Subaru Tumbler (TGV) Control
This auxiliary output function is used to control the factory Tumbler Generator Valves (TGVs) found on some Subaru engines. This function provides PWM push-pull
motor control and monitored position of both valves.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 68 of 235
TGV Control
The following points should be noted about TGV Control
· A TPS or APS signal is required.
· The TGV valves will be closed when the engine is started at temperatures below 65 degrees C.
· The TGV valves will be opened when the throttle is moved (greater than 2%) or engine temperature is above 65 degrees C.
· The TGV valves will always be open above 4000 RPM.
· It may be necessary to use one of the fuel overlay tables to remove fuel when the TGV valves are closed as the engine will become very rich. To do this, set the Y
axis of the table to the analog volt channel used for TGV position and set fuel trim numbers appropriately, the Subaru WRX V10 sample map has an example of this.
G4X and G5 ECU Tuning Functions > Auxiliary Outputs > Tacho
Tacho
This function provides a 0-12V pulsed output to drive a low-level tachometer from an auxiliary output pin. There will be one output pulse for each spark plug firing,
therefore the frequency of the pulses is determined by the engine speed. The tacho duty cycle is adjustable to cater for the requirements of different tachometers.
Note: The tacho drive will NOT trigger high-level tachometers which are designed to be run directly from a coil's negative terminal.
The tacho output can provide calibration correction and a key on sweep feature.
· Label - Allows the user to add a label to the timer to indicate what it is used for
· Activation - This selects the input that can be used to reset the timer.
· Max Time - The timer will not count above this value, the timer will stop at this value when it is reached.
· Polarity - Determines when the timer is reset; when the activating condition is off (held at zero while inactive), when the activating condition is on (held at zero
while active), or when the activating condition changes state (not held at zero).
Example:
The following example shows how to configure a timer for doing a fixed two second NOS purge when the driver presses a steering wheel button:
1. Activating Condition - Assume a steering wheel mounted button has been wired to Digital Input 3. It is correctly set up so that Digital Input 3 status shows ON
when the button is pressed.
2. Timer Setup - Configure the timer as follows. This will result in the timer starting counting when the button is pressed and resetting to zero when the button is
released.
· Activation = Digital Input 3
· Max Time = 5.000 s (this setting does not really matter for this situation as long as it is above 2.000 s)
· Polarity = Reset when off. The timer will be reset and held at zero when the driver is not pressing the button.
3. Use the Timer - Assume an Auxiliary Output is wired to the NOS purge solenoid. The output is set to turn on when the timer is "greater than 0 AND less than or
equal to 2.000 s". The output settings will be:
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 69 of 235
Note that this example could be expanded further by making the ECU automatically trigger the NOS purge for example when the NOS temperature is high and the
vehicle is stationary. To do this the timer would be activated from a source such as a Virtual Auxiliary Output.
Example:
The following example shows how to configure a timer to add additional fuel after the engine has been on boost for ten seconds solid. This is to reduce power and
heating after the engine has been running on full power for quite some time.
1. Activating Condition - Virtual Auxiliary Output 3 is configured to turn on when MAP is greater than 120 kPa (ie on when on boost). The Virtual Auxiliary Output
status will show ON when the engine is on boost.
2. Timer Setup - Configure the timer as follows. This will result in the timer counting up while the engine is on boost.
· Activation = Virtual Auxiliary Output 3
· Max Time = 15.000 s. Note that this setting will control how far across the fuel trim table the timer will be allowed to go.
· Polarity = Reset when off. The timer will be reset and held at zero when the engine is not on boost.
3. Use the Timer - Any of the fuel overlay tables can be used. 4D fuel table is used here. The table could be set up as shown below. The fuel trim will be applied
as:
· 0% when the timer is between 0 and 10 seconds (ie off boost and for the first ten seconds of boost).
· Between 10 and 15 seconds fuel is progressively increased (2 - 10 %).
· As the timer has a max of 15 seconds, it will stop at 10 % enrichment and stay there until the engine comes off boost.
This example could be extended by also altering the ignition timing or more simply reducing the boost pressure after a time period.
Any Digital Input can be used for frequency/Duty cycle signals, the maximum readable frequency is more than 10kHz (Can read higher frequencies depending on
signal amplitude).
The digital input Switch On Voltage is 1.8V, Switch Off Voltage is 1V.
MAF and Throttle Safety inputs can be either analog or digital (frequency) inputs depending on the vehicle, the help for the MAF input is here and the help for the
Throttle Safety input is here.
Refer here for more information on CAN DI and CAN DI Frequency inputs.
If one function has a Source ID assigned, then the pin settings will be found with the function.
If two or more functions have the same Source ID assigned, the pin settings will be found under Digital Inputs -> Input Pins -> the desired DI.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 70 of 235
DI x Pull-up resistor
This setting only available when Source is set to a digital input pin.
Turn this on to enable a pull-up resistor on the selected digital input. Note: Pull-up will be to 12V.
DI x Active Edge
This setting only available when function is speed based.
Selects whether the digital input is triggered on a rising or falling edge.
DI x Active State
This setting only available when function is switch based.
Selects whether the input is active when the digital input is high or low.
See Digital Input Wiring for how to set this.
DI x Input Latch
This setting only available when function is switch based.
Selects whether the input acts like a switch or a push button, when Input Latch is turned on the DI status will change state (active to inactive or inactive to active) each
time the input is activated.
for example if a momentary push button is wired up to an input with Input Latch turned on and the current DI state is inactive:
1. When the button is pushed the state will change from inactive to active.
2. When the button is released the state will remain active.
3. When the button is pushed again the state will change from active to inactive.
4. When the button is released the state will remain inactive.
If input Latch is turned off the button will be active when pushed and inactive when released.
G4X and G5 ECU Tuning Functions > Digital Inputs > Switch Functions
Switch Functions
The following Digital Input Functions rely on a switched input (On or Off) and so Virtual Auxiliary's are available as inputs as well as the Digital Input pins. Spare Analog
pins can also be used as switched digital inputs.
for launch, gearshift or antilag go to motorsport, for anti theft, cruise, ac clutch or starter control go to chassis and body, for IC Spray or timers go to aux outputs, for
table switching go to the tables section, for idle switch go to idle
for wiring information go to Digital Input Wiring
Brake NC
This input controls the Brake NC Runtime Status. Set this source setting to the input that is wired up to a brake switch which is a closed circuit when not braking. This
input affects Cruise Control.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 71 of 235
Brake NO
This input controls the Brake NO Runtime Status. Set this source setting to the input that is wired up to a brake switch which is an open circuit when not braking. This
input affects Cruise Control.
Clutch Switch
This input controls the Clutch Switch Runtime Status. Set this source setting to the input that is wired up to a clutch switch. This input affects the In Driving Gear Status,
Cruise Control and the same input could be used for gearshift control and disabling of knock control during gearshift.
GP Input 1-8
These inputs control the GP Input 1-8 Runtime Statuses. These inputs have a configurable label and can be used for inputs that aren't specifically listed such as bonnet
open and other less commonly used inputs.
GP Delay 1-4
These inputs allow the user to delay an input or output for a configurable amount of time.
The input has to be continuously active for the On Delay time before the output is set to active.
The input has to be continuously in the same non active state (Inactive, Off, Fault) for the Off Delay time before the output is set to that state.
Ignition Switch
This input controls the Ignition Switch Runtime Status. Ignition Status is used by ECU Hold Power. Set this source setting to the input that is wired up to the ignition
switch (not one of the accessory switches).
Note: If Ignition Switch is not Active an Engine Kill (100% Fuel and Ignition Cut) is applied, this means that if no input is going to be wired for this function it needs to be
set to 'Always On'.
Log Marker
This input controls the Log Marker Runtime Status. Each time this input becomes active a flag is placed in any log file currently being recorded, this enables the user to
find specific parts of the log easier. This can also be done when logging in PCLink by pressing the B Key.
Neutral/Park
This input controls the Neutral/Park Runtime Status. This input affects the In Driving Gear Status, Gear/Drive Idle Offset and Gear/Drive Idle Up. This input can also
affect the Drive Idle Fuel Trim if it is not set to OFF and can affect the Starter Control function.
Start Position
This input controls the Start Position Runtime Status. This input is required to be setup if Starter Control is to be used and can be used by the Pre-Crank Prime. Set this
source setting to the input that is wired up to the start switch.
Stop Switch
This input controls the Stop Switch Runtime Status. An Engine Kill (100% Fuel and Ignition Cut) is applied while this input is active. Set this source setting to the input
that is wired up to an engine kill/stop switch switch.
Timer 1-4
Timers that are reset by an input, refer here for more information.
G4X and G5 ECU Tuning Functions > Digital Inputs > Ethanol Sensor
Ethanol Sensor
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 72 of 235
A digital input can be used to collect data from an ethanol content sensor. Both GM Siemens and Continental ethanol content sensors are supported and use the same
calibration.
Ethanol Sensors also output a Fuel Temperature value which is shown as Ethanol Temperature but if no Fuel Temperature Analog Input has been setup then the same
temperature also is also written to the Fuel temperature runtime which is used for modelled fuel calculations.
Ethanol Settings
The following settings exist for configuring an ethanol sensor:
· Ethanol Sensor Fault Value - The value used by the ECU if a fault is detected in the ethanol content sensor output. Specify a value which will lead to the safest
level of tune being selected by the ECU.
· Ethanol Sensor Lockout Time - The amount of time the ECU will wait before reading ethanol content from the sensor. For the ethanol sensor to accurately
provide the level of ethanol content fuel needs to be flowing through the sensor. During this lockout time the ECU will use the last ethanol content value read
from the sensor before the ECU shutdown. This allows the ECU to provide cold start enrichment without having to wait for the ethanol content sensor to provide
a reading.
· Injector DC Clamp - The Injector Duty Cycle (primary injectors) at which the ethanol sensor reading will stop being updated. This is used to prevent incorrect
readings at high fuel usage when there is very little fuel in the return line running through the ethanol sensor.
Calibration
The calibration number sets the relationship between displayed speed and turbo shaft speed. It is common for turbo speed transducer modules to divide down the
pulses coming from the transducer to reduce signal frequency.
The equation to determine the calibration number is as follows:
Where:
· Number of Teeth is the number of teeth on the turbo compressor wheel.
· Divider is how much the transducer reduces the frequency of the signal. Eg if the transducer puts out one pulse for every 16 compressor teeth then the Divider
number will be 16. If there is no divider, then divider will be 1.
The full relationships are as follows. This is included mainly for reference.
G4X and G5 ECU Tuning Functions > Digital Inputs > GP Speed/RPM Input/GP Frequency
GP Speed/RPM Input/GP Frequency
GP Speed, GP RPM and GP Frequency allow the user to setup frequency inputs to the ECU that don't fit nicely into the built in specific functions.
Label
Give your speed input a name to make it easier to find when searching through parameters for your speed input.
Source
The location your speed source is coming from, Digital Input, CAN Bus or Math Block.
When using a CAN Analog with the exact value being fed in use Calibration None.
for wiring information go to Analog Input Wiring
BAP
This is the Barometric Pressure input and controls the BAP runtime value. Most Link ECUs have an on-board sensor which is selected with the 'Internal' Option.
ECT
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 73 of 235
This is the Engine Coolant Temperature input and controls the ECT runtime value. The ECT runtime value is used for a large variety of functions in the ECU including
Fuel warmup enrichment and Engine Speed limiting making it a very useful input to have connected to the ECU.
Exhaust Pressure
This is the Exhaust Pressure input and controls the Exhaust Pressure runtime value. The Exhaust Pressure can be useful for logging turbo efficiency and is used by
Link CAN Lambda and Built in Lambda controllers to correct the Lambda reading. The runtime has to display gauge pressure for the Lambda correction to work
correctly and so a Sensor Type setting is provided where you can select whether the sensor and calibration being used outputs an absolute pressure or a gauge
pressure (gauge pressure being 0 is atmospheric).
Fuel Pressure
This is the Fuel Pressure input and controls the Fuel Pressure runtime value. The Fuel Pressure runtime value is used in Closed Loop Fuel pump control and can be
used in Modelled Fuel, Closed Loop Fuel Pump Control and a variety of other functions.
Fuel Temperature
This is the Fuel Temperature input and controls the Fuel Temperature runtime value. The Fuel Temperature runtime value can be used in Modelled Fuel to adjust for
changes to the fuel density as it is heated or cooled.
If an Ethanol Sensor has been setup and this input has not then the Fuel Temperature runtime will be set to the same value as the Ethanol Temperature.
GP Analog 1-4
GP Analog inputs can be used to feed analog measurements into the ECU that don't explicitly exist in the list of input functions such as suspension travel or Fuel level.
GP Pressure 1-4
GP Pressure inputs can be used to feed pressure measurements into the ECU that don't explicitly exist in the list of input functions such as pre-intercooler boost or
exhaust backpressure.
GP Temp 1-4
GP Temperature inputs can be used to feed temperature measurements into the ECU that don't explicitly exist in the list of input functions such as differential or
gearbox oil temperature.
IAT
This is the Intake Air Temperature input and controls the IAT runtime value. The IAT runtime value can be used in Fuel, Ignition and Boost Control to account for
differences in air density as it's temperature changes and to help reduce the chance of knock by reducing boost pressure, increasing the fuel volume and retarding the
ignition timing as IAT increases.
Lambda 1
This is the Wideband Air Fuel Sensor input and controls the Lambda 1 runtime value. Link Fury ECUs have an on-board sensor which is selected with the 'Internal'
Option. To use the value from a CAN Lambda Sensor select 'Link CAN', to use the CAN output of a different aftermarket sensor controller select an appropriate CAN
Analog input and configure the user CAN to suit. More information on Lambda inputs and using CAN as a Lambda input can be found here.
Lambda 2
This is the Wideband Air Fuel Sensor input and controls the Lambda 2 runtime value. To use the value from a CAN Lambda Sensor select 'Link CAN', to use the CAN
output of a different aftermarket sensor controller select an appropriate CAN Analog input and configure the user CAN to suit. More information on Lambda inputs and
using CAN as a Lambda input can be found here.
Maf Meter
Link ECUs can take MAF (Mass Air Flow) signals from both digital and analog MAF sensors. The Mass Air Flow runtime value can be used as an alternative load
source to MAP but is less commonly used in aftermarket applications due to the restriction they can impose on air flowing into the engine and slow response time.
MAP
This is the Manifold Absolute Pressure input and controls the MAP runtime value. Link Monsoon ECUs have an on-board sensor which is selected with the 'Internal'
Option. The MAP runtime value is used in the Boost Control, MAP Limit, Idle Speed Control and Evap Purge. The MAP runtime value can also be used as a load
measurement in Fuel and ignition control as well as AC Clutch control making it an important input for boosted engines and single throttle body engines not using a
MAF sensor.
After connecting a MAP sensor to the ECU, selecting the input and calibration a MAP Sensor Calibration needs to be performed. A calibration should be performed
whenever a new sensor is used.
The MAP input also has a configurable filter for smoothing the input signal on engines with excessive noise, it is recommended to use the lowest filtering setting unless
there are found to be issues with noise on the MAP signal. Higher filter levels will result in longer delays between the MAP changing and the ECU reacting which
means more accel fuel will be required and the engine might be more sluggish.
Note: The internal MAP Sensor in Monsoon ECUs from Serial number 106244 onwards and in new Plugin ECUs is a 7Bar sensor, it was previously a 4Bar sensor.
Oil Pressure
This is the Oil Pressure Sensor input and controls the Oil Pressure Runtime Value (Not to be confused with the Oil Pressure Switch input and Runtime which is purely
an On/Off input). The Oil Pressure input is often used in conjunction with a GP RPM Limit to stop the engine if oil pressure drops to dangerous levels.
Oil Temperature
This is the Oil Temperature Sensor input and controls the Oil Temperature Runtime Value. The Oil Temperature runtime value is useful for logging purposes especially
in track vehicles where oil temperature can become dangerously high compromising the ability of the oil to minimise engine wear. Oil Temperature is also useful when
looking at Oil Pressure data as it is another variable which can affect the Oil Pressure.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 74 of 235
If using the Digital Throttle Safety Switch mode the engine kill function becomes active if the throttle position is 8% or higher and the switch is not active.
If using the Analog Throttle Safety Switch mode the functionality is as described below:
Resistors are arranged around this switch to detect if the circuit has failed.
Throttle State Voltage at Input Throttle Position Engine Status
Circuit Fault 0 - 0.99V Don't Care Engine Killed
Throttle Released - Idle 1 - 2V 0% to 3% Engine Running
Throttle Released - Throttle Stuck 1 - 2V 4% to 100% Engine Killed
Circuit Fault 2.01V - 2.49V Don't Care Engine Killed
Pressing Throttle - OK 2.5V to 3.5V Don't Care Engine Running
Circuit Fault 3.51V to 5V Don't Care Engine Killed
The following circuit can be replicated in other applications to achieve the same effect:
G4X and G5 ECU Tuning Functions > Analog Inputs > Calibration Tables
Calibration Tables
Some sensor types do not have predefined calibrations or have calibrations that aren't in the Link software. When a sensor without a built in calibration is used a
calibration table or linear calibration can be setup to provide the correct calibration to the input signal.
Note: Temperature, Pressure and Lambda sensor calibration numbers can be found HERE. Check these against your sensor first before creating a custom cal.
Linear Calibrations are used for sensors with a linear relationship between the input and output value such as most MAP sensors.
Calibration Tables are used for sensors with a non linear relationship between the input value and output value such as temperature sensors.
Linear Calibration
Three linear calibrations are available, to use a particular linear calibration for an input it will first need to be setup. Each linear calibration has six settings and these are
described below. The calibration can be selected in the calibration list of the input.
· Label - Used to add a short description to your calibration.
· Output Units - Used to select the output units of your calibration, this determines the number of decimal points and range of values your output settings can have
as well as allowing the entered output values to change as the unit being used is changed. For example if the the Output units is set to pressure and the current
pressure units being used are psi then Output Value A and B can be entered in psi and if the units being used are changed to kPa then the values shown in Output
Value A and B are changed to match. Pressing U changes units as described here.
· Input Value A - This is the sensor VOLTAGE at the first calibration point.
· Output Value A - This is the sensor MEASUREMENT at the first calibration point.
· Input Value B - This is the sensor VOLTAGE at the second calibration point.
· Output Value B - This is the sensor MEASUREMENT at the second calibration point.
Example
The air fuel ratio corresponding to 0V is 9.0:1 while the air fuel ratio corresponding to 5V is 19.0:1. This information should be entered in the following way.
· Output Units - Set to Lambda and change the Lambda units to AFR (description of how to change units here).
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 75 of 235
· Input Value A - 0.00 V This is the sensor voltage at the first point.
· Output Value A - 9.00 AFR This is the AFR at 0.00 V
· Input Value B - 5.00 V This is the sensor voltage at the second point.
· Output Value B - 19.00 AFR This is the AFR at 5.00 V
The units can be changed back to Lambda after the two output values have been set, the output values will change to show the Lambda values (0.612 for A and 1.293
for B with a stoichiometric value of 14.7AFR) when this is done.
An image of the setup with Imperial units and another image of Metric units is shown below, 'U' was used to switch between the two.
Note: Linear calibrations will extrapolate values outside of the voltage set points.
Calibration Tables
Ten calibration tables are available, to use a particular calibration for an input it will first need to be setup. Each calibration table has three settings and a table to fill out,
these are described below. The calibration can be selected in the calibration list of the input.
The calibration table has the input units on the X axis and the output values are entered into the table, the axis can be adjusted to suit in the same manner as other
tables.
Example
Non-linear temperature sensor data is entered into Cal Table 1. The information should be entered in the following way.
· Input Units - Set to Ohms as this is what the temperature sensor outputs
· Output Units - Set to °C as this is the unit type we want the temperature in.
The values in the table will change when the PCLink units are changed, for example if the above table was made with the units set to degrees C the table will look like
the below image when 'U' is pressed to change to imperial units.
Note: Calibration Tables will not extrapolate values off either end of the table, they will be capped at the values at either end of the table. A linear interpolation will be
applied between the table cells however.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 76 of 235
G4X and G5 ECU Tuning Functions > Analog Inputs > Pin Settings
Pin Settings
These settings belong to their respective output and are moved to the location the output is being used to make setting up faster and easier. When multiple functions
are using the same Analog (only possible when using as a DI) these settings are found under Analog Inputs -> Input Pins -> the desired Analog.
To find the function/s using an Analog (when it is showing "multiple', only possible when using as a DI) go to Analog Inputs -> Input Pins -> the desired Analog and
double click on connection list. If the Function setting (found under Anaalog Inputs -> Input Pins and always has a lock symbol) is double clicked on it will take you to
the first function it is assigned to (if it is assigned).
Error Value
This setting doesn't actually belong to the analog pin, it belongs to the function using it. Most functions have a configurable error value which is the value that is used
when the input is in fault (above error high or below error low). This fault value is in the units of the function.
G4X and G5 ECU Tuning Functions > Analog Inputs > Wideband Lambda Sensors
Wideband Lambda Sensors
Internal Lambda Control
Some Link G4X and G5 ECUs contain internal wideband Lambda sensor controllers. A Bosch LSU 4.9 lambda sensor can be wired directly to the ECU without the
need for an external controller.
· The Link G4X Fury has one internal Lambda sensor controller.
· The Link G5 Voodoo Pro has two internal Lambda sensor controllers.
The lambda sensor is used to measure exhaust oxygen content and hence estimate air fuel ratio.
Note: Refer HERE for information on wiring a lambda sensor to the Internal Lambda Controller.
Note: When this setting is set to Yes it forces CAN Lambda units to heat up the sensor and start reading the A/F ratio by sending a minimum engine speed of 500rpm
within the built in CAN stream.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 77 of 235
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 78 of 235
Settings
Zero Accelerometer
Instructs the ECU to apply a correction to the accelerometer measurements to correct for the mounting orientation of the ECU. This test must be performed with the car
sitting on level ground. The purpose of this test is to tell the accelerometer exactly what position is level.
· Run - Use current measurements.
· Zero Accelerometer - Correct for ECU orientation. This mode automatically sets itself back to Run once it has performed the calibration
Orientation Correction
After using the Zero Accelerometer function to tell the accelerometer where level is, it also must be told which direction is the front of the car relative to the ECUs
installed orientation (this number is degrees in the horizontal plane, for example a value of 90 will result in a value that was previously Longitudinal now being Lateral).
The simplest way to determine this setting is:
1. With the vehicle on level ground and the suspension at normal ride height, set Zero Accelerometer to Zero Accelerometer, wait for it to set itself back to Run.
The accelerometer will now know where level is but does not know which direction forwards driving will be. Vertical Acceleration should show 1g.
2. Drive the vehicle while logging Lateral Acceleration and Longitudinal Acceleration. On a dead straight piece of track, perform a firm controlled deceleration (eg
from 80 to 20 kph). Pay particular attention to keeping the vehicle traveling straight during the deceleration.
3. Ideally during the deceleration only negative Longitudinal Acceleration should be measured. If significant Lateral Acceleration is measured then adjust
Orientation Correction and repeat until deceleration only shows a negative Longitudinal Acceleration reading.
4. Once completely calibrated and orientated both Longitudinal Acceleration and Lateral Acceleration should read zero when traveling at a constant speed. When
braking and accelerating (straight) should not significantly affect Lateral Acceleration. Constant speed left or right cornering should not affect Longitudinal
Acceleration.
Filter
Adjusts the amount of filtering applied to the accelerometer measurements. Increase the filtering to reduce the influence of vibration in the accelerometer signals. A
larger number will be required in vehicles that experience high vibration (eg rally cars). A smaller number can be used in smooth riding vehicles (eg road cars).
Runtime Values
G4X and G5 ECU Tuning Functions > Analog Inputs > Gp Rotary Switch
Gp Rotary Switch
GP Rotary switches are designed to take the voltage from a rotary switch and convert it into an integer that can be used on a table axis. Converting to an integer and
using that instead of just using the raw voltage means that any noise on the signal is ignored and so doesn't result in interpolation between columns on the table.
This function assumes that the Rotary switch has evenly spaced voltage values across its range.
Note: Because these parameters are so important to the operation of the fuel injection and ignition system, correctly setting up and calibrating the triggering is one of
the most important steps in the entire installation and tuning process. Contact your nearest Link Dealer for assistance with these settings if you are al all unsure.
First the Triggering Setup parameters must be set and then the Trigger Calibration process must be performed.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 79 of 235
Trigger Mode
There are a large number of triggering variants used by different engine manufacturers. The important differences are the type of sensors used, the number of pulses
sent from the sensor during the engine cycle and the timing of the pulses.
The Trigger Mode tells the ECU the number of pulses and the timing of these pulses in relation to each other (the trigger pattern that the engine uses).
Link ECUs use digital trigger decoding so that the actual trigger pattern may be selected (via the Triggering Mode) and processed by the Link ECU.
Important Note: Check all other trigger settings after changing Trigger Mode as changing the Trigger Mode will change other trigger setup information. All trigger
parameters are re-initialised to pre-selected values each time Trigger Mode is changed. After selecting the desired Trigger Mode, other triggering parameters can then
be adjusted as required. Most importantly, check the Trigger Offset value as this will change the base timing.
Contact your nearest Link Dealer if you are at all unsure of what to select for Trigger Mode.
Note: When the Trigger Mode is set to Multi-tooth it is recommend to have the Trigger 2 tooth edge a reasonable distance from any of the trigger 1 teeth, this is to help
prevent the trig 2 tooth crossing over a trigger 1 tooth which can occur on engines with trigger wheels located in separate locations. If the trigger 2 tooth does cross
over a trig 1 tooth the ECU will lose sync which can cause the engine to misfire or stop. It does not matter which trigger 1 teeth edges the trigger 2 tooth edge falls
between.
Note: When the Trigger Mode is set to Multi-tooth / Missing it is recommended to have the trigger 2 tooth edge a reasonable from the Trigger 1 'Sync Tooth' as the
trigger 2 tooth crossing over the sync tooth can cause it to sync incorrectly when starting. When using a VVT cam signal for Trigger 2 ensure that none of the teeth on
any of the VVT cams can cross over the Trigger 1 sync tooth.
RPM Filtering
The RPM Filtering setting helps stabilise the Engine Speed parameter. It does this by averaging the number of Top Dead Centre (TDC) readings. On some engines
(usually 1 or 2 cylinder engines) the engine speed rapidly accelerates and de-accelerates, causing the Engine Speed parameter to fluctuate rapidly, this can make it
very hard to tune the engine. By averaging the TDC points the Engine Speed parameter reads much more consistently, making it easier to tune the engine.
· 1 - Default - This is the default setting and should be used for nearly all engines, the exception is one and two cylinder engines where the engine speed is fluctuating
rapidly.
· 2 - The Engine Speed parameter will be averaged over two TDC points.
· 3 - The Engine Speed parameter will be averaged over three TDC points.
· 4 - The Engine Speed parameter will be averaged over four TDC points.
Trigger Type
Select the correct type of trigger sensor connected to this trigger input. Options are:
· Reluctor - For variable reluctance type sensors. Characterised by the use of spiked trigger wheels and usually only two wires.
· Opto/Hall - For Optical or Hall Effect type sensors. Characterised by the use of slotted discs or rotors and typically three wires.
Trigger Filtering sets the amount of hardware filtering applied to trigger input signals.
Some trigger signals contain a large amount of high frequency interference and electrical noise. This interference can cause false trigger events to occur. Filtering is
used to eliminate this interference. Ideally the least amount of filtering required should be used.
Trigger Pull-up
Note: This option is only available when using Optical/Hall Trigger Type.
Trigger Pull-up enables the pull-up resistor on a trigger input. Pull-up resistors are often required for open collector (switch to ground) optical and hall effect sensors.
Most optical and hall effect sensors will require the pull-up resistor to be ON.
If 'Piggy-backing' a factory ECU, make sure pull-ups are turned off, as the factory ECU will be providing the pull-up.
Trigger Edge
Note: This option is only available when using Optical/Hall Trigger Type.
Select the edge of the trigger signal that indicates the trigger event:
· Rising - The trigger event occurs when the signal goes from a low voltage (eg 0V) to a high voltage (eg 5,8 or 12V).
· Falling - The trigger event occurs when the signal goes from a high voltage (eg 5,8 or 12V) to a low voltage (eg 0V).
· All - The trigger event occurs when the signal goes from a high voltage to a low voltage and also occurs when the signal goes from a low voltage to a high voltage.
Tooth Count
This value specifies the total number of symmetrical teeth or slots in the multi-tooth trigger wheel.
Warning - A valid tooth count must divide evenly into 360. Typically most trigger wheels will be fine with the exception of 32. (360 / 32 = 11.25). This situation will cause
uneven timing between cylinders.
Note: Where a trigger wheel has teeth missing, this value must be set to the number of teeth that would of been counted if the teeth were not missing.
Note: The maximum number of teeth selectable in PCLink when using Multi-tooth or Multi-tooth / Missing is 200.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 80 of 235
Example:
If a trigger wheel has 24 symmetrically spaced teeth, set this value to 24.
Example:
When using a trigger wheel with 58 teeth and a gap where two teeth are missing (i.e. there would be sixty teeth if it was not missing), set the Tooth Count value to 60
and Missing Teeth value to 2. Note that this is generally known as a "60 minus 2" trigger wheel.
Missing Teeth
Note: This option is only available when using Multi Tooth/Missing Trigger Mode.
This value specifies the number of teeth or slots that are missing from the trigger wheel.
Example:
When using a trigger wheel with 58 teeth and a gap where two teeth are missing (ie there would be sixty teeth if they were not missing), set the Tooth Count value to 60
and Missing Teeth value to 2. This is generally known as a "60 minus 2" trigger wheel.
Number Of Gaps
This value specifies the number of locations in which there are missing teeth, these locations have to be evenly spaced and all have the same number of missing teeth.
The number of teeth missing per gap is set by the Missing Teeth Setting above.
Sync Tooth
This setting specify's the tooth on the crank trigger that is used for synchronising the cams. The value is the number of teeth after the sync point to the Sync Tooth. For
Multi-Tooth mode the sync point is trigger 2 tooth, for MultiTooth/Missing the sync point is the gap. For example a value of 3 when using MultiTooth/Missing means the
3rd tooth after the gap is the tooth being used for synchronising the cams.
The only restriction on the tooth used is that none of the cam teeth can cross this tooth during their vvt swing, each cam tooth must always be on one side or the other
of the sync tooth for the full cam movement. For example if using a Multi-Tooth pattern with a trigger sync on one cam and a vvt signal on the other this setting needs to
be set to a trigger 1 tooth that none of the vvt teeth cross over the full cam swing.
Refer to CAM Pulse Window below for a better explanation and diagram.
Warning: This is an advanced feature and should only be configured by a trained tuner.
The Trigger Arming Threshold Table sets the voltage required to 'Arm' the trigger generation circuitry before waiting for a falling edge.
The purpose of the trigger arming circuitry is to improve the trigger inputs ability to reject interference and electrical noise, thus helping to eliminate spurious trigger
signals. At low engine speeds (particularly when cranking), reluctor sensors produce a very low voltage signal. Therefore at low RPM a lower arming voltage is
required. As engine speed increases so does the amplitude of the reluctor sensors signal. This allows higher arming thresholds to be used. Different arming voltages
can be entered for each 1000 RPM.
Sync Mode
Specifies the way in which the trigger system will synchronize. This setting can be found under ECU Settings > Triggers > Trigger 2. This setting is only visible in
certain trigger modes.
The following options are available:
· None
The engine will not sync to the 720 degree engine cycle. This sync mode will NOT work with multi-tooth Trigger Mode, but WILL work with multi-tooth / missing
Trigger Mode.
Trigger 1 - Multi-
tooth / Missing
Supported engine Rotary, 2 Stroke, 4 Stroke (with group fuel modes and distributed or wasted spark ignition modes)
configurations
Notes With this trigger setup the ECU knows the engine position within a 360 degree engine cycle.
· Crank Pulse 1x
The sync will be an edge off a crank sensor. The engine will sync to 360 degrees within an engine cycle and would be used for a 2 stroke or rotary engine.
Trigger 1 - Multi-tooth
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 81 of 235
Supported engine Rotary, 2 Stroke, 4 Stroke (with group fuel modes and distributed or wasted spark ignition modes)
configurations
Notes With this trigger setup the ECU knows the engine position within a 360 degree engine cycle.
Trigger 1 - Multi-tooth /
Missing
Supported engine Rotary, 2 Stroke, 4 Stroke (with group fuel modes and distributed or wasted spark ignition modes)
configurations
Notes With this trigger setup the ECU knows the engine position within a 360 degree engine cycle. Using the Crank Pulse 1x sync mode with multi-
tooth / missing trigger mode provides no benefit over having the sync mode set to None.
· Cam Pulse 1x
The sync will be an edge off a cam sensor. The engine will sync to the 720 degree engine cycle. The cam trigger wheel has one tooth that the ECU uses in
conjunction with the crank trigger to determine engine position.
Trigger 1 - Multi-tooth
Supported engine 4 Stroke (with sequential or group fuel modes and distributed, wasted spark, or direct spark ignition modes)
configurations
Notes With this trigger setup the ECU knows the engine position within a 720 degree engine cycle. The trigger 2 tooth has to remain between the
same two Trigger 1 teeth.
Trigger 1 - Multi-tooth /
Missing
Supported engine 4 Stroke (with sequential or group fuel modes and distributed, wasted spark, or direct spark ignition modes)
configurations
Notes With this trigger setup the ECU knows the engine position within a 720 degree engine cycle. The trigger 2 tooth can move across Trigger 1
teeth but cannot at any point be located in the Trigger 1 gap.
· Cam Level
The sync will be a level on the cam. The engine will sync to the 720 degree engine cycle. Because the crank trigger rotates at twice the rate of the cam trigger, the
ECU will know engine position by monitoring if the cam signal is high or low. This sync mode will NOT work with multi-tooth Trigger Mode, but WILL work with multi-
tooth / missing Trigger Mode.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 82 of 235
Trigger 1 - Multi-tooth
Supported engine 4 Stroke (with sequential or group fuel modes and distributed, wasted spark, or direct spark ignition modes)
configurations
Notes With this trigger setup the ECU knows the engine position within a 720 degree engine cycle.
In the example below Trigger 1's Sync Tooth setting would be set to 5 (tooth shown highlighted in red) and Window Length could be set to 30 degrees. If this was an
intake cam with a 50deg cam swing (shown in blue) a Window Length of 80 degrees would cover the full swing while still syncing properly, the start point of an 80deg
window has been indicated in green on the diagram with the end point being the Sync Tooth in red.
Trigger 1 - Multi-tooth /
Missing
Supported engine 4 Stroke (with sequential or group fuel modes and distributed, wasted spark, or direct spark ignition modes)
configurations
Notes With this trigger setup the ECU knows the engine position within a 720 degree engine cycle. The trigger 2 tooth being used for syncing cannot
at any point be located in the Trigger 1 gap.
· MAP Level
Ignores the Trigger 2 Type and instead uses the MAP runtime to detect the intake stroke.
This mode requires a MAP signal that is affected in one half of the engine cycle but not the other and so is suitable for 1 cylinder engines, 3 cylinder engines and
engine with the MAP sensor attached to the runner of one cylinder (typically engines with ITBs). This sync mode will only work in 'Multi-Tooth / Missing' trigger mode.
It is recommended that MAP is connected to An Volt 1 when using this mode so that it is included in the trigger scope.
The MAP Offset value is the threshold for how far the MAP value has to drop below the BAP value during an intake stroke while cranking to be recognised as the
intake stroke half of the engine cycle. If the MAP value drops less than half of the MAP Offset value during that half engine cycle then it is considered to be the power
stroke half of the engine cycle. If the MAP value dips to between half the MAP Offset value and the whole MAP Offset value below BAP during cranking it is
considered an undefined half cycle and so the ECU will try to sync again on the next crank revolution.
G4X and G5 ECU Tuning Functions > Triggers > Trigger Setup > Specific Trigger Modes
Specific Trigger Modes
The follow help is specific to particular Trigger Modes:
· Nissan 360 Opto Setup Procedure
· Nissan 360 Opto Distributor Setup Procedure
· Nissan 360 Opto Widest Slot Setup Procedure
Note: The Nissan 360 Opto sensor is known to be susceptible to trigger issues at particularly high RPM and in engines with aftermarket camshafts and/or valve springs
due to the design and location of the factory trigger sensor. These trigger issues can present as misfires or as what feels like a lower-than-expected rpm limit.
· The most common way to prevent trigger issues as a result of the factory sensor is to change to an aftermarket trigger disk within the factory sensor or an
aftermarket trigger sensor setup on the cam.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 83 of 235
· The best solution to trigger issues on vehicles that use the 360opto style sensor is to go to a crank trigger setup with a cam sync but this is often a reasonably
expensive and more technically difficult process.
· If you wish to retain the factory sensor you can minimise the chance of trigger issues by removing as much play as possible between the crank, cam and sensor. A
new O-ring on the sensor shaft, ensuring there is minimal play in the sensor to cam spline, making sure cambelt tension has been set correctly (maybe a new
tensioner), ensuring the cambelt is OEM or a very high quality replacement and not excessively worn or stretched all help to reduce the chance of trigger issues
occurring. A brand new CAS normally rectifies the problem but this can be expensive and possibly a difficult item to acquire.
Of the 4, 6 or 8 slots, one will be wider than the others. The sizes of the slots are calculated by the ECU using the number of cylinders. This mode works with the coil
on plug motors, a different mode (Nissan 360 Opto with Distributor) is provided for the motors that came factory with a distributor.
Of the 4, 6 or 8 slots, one will be wider than the others and the rest will be the same size. The sizes of the slots are calculated by the ECU using the number of
cylinders. This mode works with motors that came with a distributor such as motors such as the RB20E or RB30ET.
The Nissan 360 Opto Widest Slot Trigger Mode is designed for use with Nissan optical Crank Angle Sensors (CAS) that have 360 evenly spaced slots and 4,6 or 8
different width slots. Digital trigger decoding uses all of the 360 slots to achieve precise engine position calculation.
Of the 4, 6 or 8 slots, one will be wider than the others. This Widest Slot is used by the ECU to determine the engines position in the firing order. As the width of this
slot varies depending on the exact CAS used, an automated setup procedure has been provided.
Setup Procedure:
Setup ECCS Trigger Decoding as follows (Read the entire process and ensure you understand before starting):
1. Ensure the 360 slot signal is wired to the ECUs Trig 1 input.
2. Ensure the 4,6 or 8 slot signal is wired to the ECUs Trig 2 input.
3. Switch the key on, do not start the engine.
4. Connect to the ECU using PCLink.
5. Ensure all Configuration options are correct.
6. Under the Fuel heading, select Fuel Setup. Set Injection Mode to OFF. This will prevent the engine from starting.
7. Under the Triggers heading, select Trigger Setup.
8. Select Nissan 360 Opto Widest Slot as the Trigger Mode. Note that this will initialise all trigger inputs to default values. The default values are as follows:
Trigger 1:
· Trigger 1 Type = Optical/Hall
· Trigger 1 Pull-up = ON
· Trigger 1 Edge = Rising
Trigger 2:
· Trigger 2 Type = Optical/Hall
· Trigger 2 Pull-up = ON
· Trigger 2 Edge = All
9. Crank the engine and capture a Trigger Scope.
10. Count the number of trigger 1 teeth that occur during the widest trigger 2 gap and enter it into the ECCS Widest Slot setting, typically this is a multiple of 4.
11. Crank again while watching Trig1 signal, Trig2 Signal and Engine Speed (can all be found under the Trigggers/Limits Tab in the Runtime Values Window). If both
Trigger Signals and change to Yes and the Engine speed shows a consistent and reasonable value then the setting is most likely correct. If not, repeat steps 9 and
10.
12. Set Injection Mode back to the desired option.
13. If all is OK, perform a store to permanently save all settings to the ECU.
14. Set the base timing before attempting to start the engine (DO NOT JUST TRY STARTING THE ENGINE!).
To Calibrate Triggers
1. In the Triggers >Calibrate menu, click the Set Base Timing button . This will open the Set Base Timing window.
2. While the Set Base Timing window is open, ignition timing is locked to a constant value (The value entered in the "Lock Ignition Timing to" field).
3. Enter the ignition timing value that you want to see with the timing light in the "Lock Ignition Timing To" value. This value will depend on the location of available
timing marks. 0 (TDC) and 10 deg BTDC are the most common values. Remembering to press enter after changing the value and the cell will turn blue to indicate
the value has changed from what it was previously set to.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 84 of 235
Adjust the Trigger Offset number (middle field) until the timing seen on the timing light matches the "Lock Ignition Timing to" number.
5. Click Done to keep the new Trigger Calibration settings. Otherwise click Cancel to restore the previous values.
6. Perform a STORE to permanently store the new trigger calibration setting to the ECU.
Trigger Offset
Trigger Offset is used to calibrate crank angle sensor position so that the ECU can calculate the correct engine position at any time.
Although the trigger offset affects both fuel and ignition, it is easiest to calibrate the trigger offset by getting the ECU to try and deliver the ignition timing at a fixed angle
(e.g 10deg BTDC) and checking that the ignition is actually occurring at this point using a timing light. This procedure is described under Trigger Calibration.
Adjustment:
· Increasing this number will advance ignition and injection timing.
· Decreasing this number will retard ignition and injection timing.
Note: Refer to Trigger Calibration for information on calibrating trigger signals (setting the base timing).
In Multi Tooth / Missing trigger mode the required trigger offset can be determined by measuring the angle between the tooth after the gap and sensor when the engine
is at TDC number 1.
· If the gap passes the sensor before TDC1 in normal engine rotation direction then the offset number will be negative.
· If the gap passes the sensor after TDC 1 in normal rotation direction then the offset number will be positive.
· Example: If the tooth after the gap has gone past the sensor by 40 degrees when at TDC 1, then the offset number would be -40.
· Example: If the tooth after the gap is 60 degrees before the sensor when at TDC 1 then the offset number would be 60.
· NOTE: This trigger offset number could still be out by 360 degrees depending on the location of the sync pulse. If the number obtained results in the spark being fired
when the valves are open, add or subtract 360. Eg -40 becomes 320. Eg 60 becomes -300.
· ALWAYS check the trigger offset with a timing light as described in Trigger Calibration.
Note: Most Rotary engines have a timing mark on their front pulley at 20 degrees ATDC. It is the tuners responsibility to confirm that the engine has a mark at 20
degrees. If the mark is at some other position, that position should be substituted in the following procedure. Late 13B engines only have a 20 degrees ATDC mark.
Early 13B engines have a 5 and 20 degrees ATDC mark. 12A Engines have a 0 and 20 degrees ATDC marks.
Note: G4+ and G4X/G5 allocate the leading and trailing ignition drives slightly differently to each other and so you always need to check both the leading and trailing
positions to determine the correct offset. You will also need to recheck the trigger offset when changing from leading waste to leading direct.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 85 of 235
2. Enter a value of -20 degrees in the Trailing Split Table in all the cells around the area where the engine will run during trigger calibration. It may be necessary to
set the entire table to the same value.
3. In the Triggers->Calibrate menu, click Set Base Timing. The Set Base Timing window will open.
4. Enter 0 as the Lock Ignition Timing To value to be used (remember to push enter after changing the number).
5. Attach a timing light to fire off the TRAILING spark of the front rotor.
6. Crank the engine while watching for consistent ignition operation at a fixed crank position. Adjust the Offset until the ignition is firing exactly on the 20 degrees
ATDC timing mark.
7. Select Done to close the Set Base Timing window.
8. Enable the fuel injectors by selecting the relevant Injection Mode.
9. Perform a STORE so that the Trigger Offset value is permanently retained. Remember that the Trailing Split table has been modified so be careful not to Store
changes to that by accident.
10. Repeat the above procedure once the engine is running (ideally at about 2000 RPM) as it is hard to get accurate timing readings during cranking. To do this,
repeat the above procedure without setting Injection Mode to OFF.
G4X and G5 ECU Tuning Functions > Triggers > Solving Triggering Issues
Solving Triggering Issues
Triggering issues are one of the most common problems encountered when installing any aftermarket ECU. Triggering questions make up the majority of technical
service requests. It can not be emphasized enough how critical engine position decoding is. Incorrectly configured, wired or designed engine position sensor
arrangements can lead to instant and catastrophic engine failure. In the best circumstances they may go unnoticed by the tuner or driver and may not cause a loss of
engine position at a critical time however, this is not usually the case.
· A good oscilloscope is ESSENTIAL to resolving trigger issues. Preferably an electronics type scope should be used as often automotive scopes have a low sample
rate and poor resolution screens. If support is required solving triggering issues, often the first thing Link technicians will ask for is a picture of the trigger signals.
· Wiring is critical. Follow the correct wiring and grounding conventions. Crank angle sensors are a high impedance sensor often with a low level signal. Correct
shielding and grounding is critical.
· Setting up triggering adjustments such as arming threshold and filtering is not something that should be done trial and error. There are technical ways to correctly
adjust these settings.
G4X and G5 ECU Tuning Functions > Triggers > Solving Triggering Issues > Incorrect Trigger Wheel Design
Incorrect Trigger Wheel Design
Design of the toothed wheels used for crank and cam angle measurement is [Link] is not uncommon for installers to machine or modify wheels.
One or more missing teeth are often used to indicate a reference position. One of the most common problems encounter on after-market wheels and in fact on some
OEM (eg BMW) wheels is incorrect design of the teeth and gap. Some important points regarding the issue shown below:
Incorrect design of the teeth around the gap can lead to a distortion of the sensors signal. There are a variety of contributing factors to this problem (electronic,
magnetic), most of which can not be adjusted. The following pictures show a correctly designed wheel and the signal from that wheel at approx 7200 RPM.
And the signal from the same wheel. Point A shows the arming voltage on the rising edge of the tooth after the gap. Point B shows the zero crossing. Point B is where
the ECU sees the signal and uses it for engine position tracking. Note how the signal after point B goes well below zero volts.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 86 of 235
However, it is more common in after market wheels and even some OEM wheels to have an incorrectly designed gap. This causes a problem at very high RPM . The
following pictures show an incorrectly designed wheel and the signal from that wheel at approx 7200 RPM.
The signal from this incorrectly designed gap show a problem with the tooth after the gap. This signal was taken at approximately 7200 RPM.
Note the excessive amplitude of the signal as the sensor enters and exits the gap. But, more importantly notice what is happening at point B. As RPM increases the
negative voltage of the tooth after the gap is reducing. In the picture the signal is just OK as it still passes through zero volts. However, at around 7500 RPM this signals
negative amplitude at point B was above zero volts and the tooth was missed all together. This causes the next tooth to be the one seen after the gap resulting in a
loss of tracking of engine position. In this case resulting in a six degrees advance in timing to all cylinders!
G4X and G5 ECU Tuning Functions > Triggers > Solving Triggering Issues > Correctly Setting Trigger Arming Voltages
Correctly Setting Trigger Arming Voltages
When using a reluctor type trigger sensor it is necessary to correctly fill in a Trigger Arming Threshold Table.
The Trigger Arming Threshold table sets the voltage required to 'Arm' the trigger generation circuitry before waiting for a falling edge on the trigger signal. The purpose
of the trigger arming circuitry is to improve the trigger inputs ability to reject interference and electrical noise, thus helping to eliminate false trigger signals. At low
engine speeds (particularly when cranking), reluctor sensors produce a very low voltage signal. Therefore at low RPM a lower arming voltage is required. As engine
speed increases so does the amplitude of the reluctor sensors signal. This allows higher arming thresholds to be used. Different arming voltages can be entered for
each 1000 RPM.
To correctly setup the Trigger Arming Threshold Table it is necessary to be able to read the half wave amplitude (the height of the waveform above the zero point) of
the trigger signal, there are two methods for doing this:
· Oscilloscope - Use an oscilloscope to measure the trigger signal amplitude. This is the preferred method.
· Trigger Scope - Most Link G4X and G5 ECUs have a feature called Trigger Scope which measures the voltage on the ECUs triggers and presents the data in a
visual form similar to an oscilloscope.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 87 of 235
An oscilloscope will be used in this explanation of setting up the Trigger Arming Threshold table, however using Trigger Scope is a very similar process. Before
commencing make sure that the engine speed is reading correctly, that the ECU is connected to PCLink, and that the engine speed is visible.
The Trigger Arming Threshold Table has an axis that increments in steps of 1000 RPM. For each step of 1000 RPM the following process needs to be followed:
1. Increase the engine speed until it matches the RPM of the trigger arming voltage table cell to be set.
2. Adjust the voltage/division and time/division setting until the teeth of the trigger wheel are clearly visible.
3. Press the 'Pause' button on the oscilloscope. Allow the engine to return to idle.
4. Go to the Trigger Arming Threshold Table (for the relevant trigger), select the correct cell (same RPM as oscilloscope capture) and enter a value that is half the
voltage of the tooth with the lowest amplitude. For the oscilloscope image above this would be 2.5 volts, as the change in voltage between the two red lines is 5.0
volts and the value entered needs to be half of this.
5. Repeat steps one to four until the remaining cells in the Trigger Arming Threshold Table have been correctly filled in.
When determining the correct value for the zero RPM cell in the Trigger Arming Threshold Table you can disable the engines fuel and ignition systems and then
perform the steps above at the engines cranking speed. Enter the value obtained in the zero RPM cell.
G4X and G5 ECU Tuning Functions > Triggers > Solving Triggering Issues > Understanding the Trigger 1 Error Counter
Understanding the Trigger 1 Error Counter
The Trigger 1 Error Counter will increment by one every time the ECU counts an incorrect number of teeth on the Trigger 1 signal. The teeth are counted over 720
degrees of crankshaft rotation.
There are many reasons why the ECU could incorrectly count the number of teeth on Trigger 1 or Trigger 2. These include:
Because some trigger setups rely on Trigger 1 and Trigger 2 for the ECU to know the degrees of crankshaft rotation it is possible that a problem with Trigger 2 could
cause the Trigger 1 Error Counter to increment. The following examples will help demonstrate how the Trigger 1 Error Counter could increment.
Under normal conditions on Trigger 1 the ECU would expect to see a gap of 2 teeth, then 34 teeth. The pattern would then be expected to repeat, and once the ECU
had seen the trigger pattern twice it would know the crankshaft had rotated 720 degrees and know where in the engine cycle the engine is. The image below is a visual
representation of what the ECU would normally expect to see.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 88 of 235
If however the ECU had seen one tooth more, or one tooth less than expected then it would increment the Trigger 1 Error Counter. The images below represent what
the ECU would see when these faults occur.
Under normal conditions the ECU would expect to see one tooth on Trigger 2 and then 24 teeth on Trigger 1. Once the ECU had seen this trigger pattern it would know
the crankshaft had rotated 720 degrees and know where in the engine cycle the engine is. The image below is a visual representation of what the ECU would normally
expect to see.
If however the ECU had seen one tooth more, or one tooth less than expected on either Trigger 1 or Trigger 2 then it would increment the Trigger 1 Error Counter. The
images below represent what the ECU would see when these faults occur.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 89 of 235
The Math Block feature allows a user configurable maths channel which can be used for a variety of purposes. The features has provision for up to 4 variables,
supports most standard operators and supports equations up to 20 characters long. The various settings and a description of their operation are listed below.
Up to 8 Math Blocks are currently supported.
Label
This setting allows the user to enter a label or short description which will be displayed next to the Runtime Value name of the specific Math Block being used making it
easier to identify which Math Block is doing which operation.
Parameter a-d
These four settings allow the user to select which Runtime Values or Statuses will be used in the Equation as variables.
Decimal Places
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 90 of 235
This setting allows the user to select how many decimal places they want shown on the Runtime Value of the Math Block being setup.
Equation
This text box allows the user to enter the equation they want calculated, the variables must be entered in their lower case forms (a,b,c&d).
Numeric functions
Math Function Syntax Example Description
Absolute value abs(param) abs(-25.6) = 25.6 abs(a) results in a positive number no matter if a is positive or negative.
abs(25.6) = 25.6
ceiling ceil(param) ceil(-25.6) = -25 ceil(a) results in the smallest integer that is greater than or equal to a (i.e : rounds up to
ceil(25.6) = 26 the nearest integer).
floor floor(param) floor(-25.6) = -26 floor(a) results in the smallest integer that is smaller than or equal to a (i.e : rounds down
floor(25.6) = 25 to the nearest integer).
exponential exp(param) exp(6) = 403.428 exp(a) results in the value of e (Euler's number), to the power of a.
logarithm, ln(param) ln(2) = 0.693 ln(a) results in the natural log of a.
natural
logarithm, base log(param) log(2) = 0.301 log(a) results in the log base 10 of a.
10
power pow(param1, param2) pow(6, 2) = 36 pow(a, 2) results in a to the power of 2.
square root sqrt(param) sqrt(25) = 5 sqrt(a) results in the square root of a.
cosine cos(param) cos(pi) = -1 cos(a) results in the trigonometric cosine of a.
sine sin(param) sin(pi) = 0 sin(a) results in the trigonometric sine of a.
tangent tan(param) tan(pi) = 0 tan(a) results in the trigonometric tangent of a.
constant, e e e = 2.71828 Euler's number, a special constant
constant, pi pi pi = 3.14159 Pi, a special constant.
Logic functions
Math Function Syntax Example Description
not !param !1 = 0 !a results in 0 if a is not zero, and 1 if a is zero.
!100.1 = 0
!0 = 1
and param1¶m2 5&9 = 1 a&b results in 0 if either a or b is zero, otherwise 1.
5&0 = 0
or param1|param2 5|9 = 1 a|b results in 1 if either a or b is 1, otherwise 0.
5|0 = 1
graeter than param1>param1 5>9 = 0 a>b results in 1 if a is greater than b, otherwise 0.
5>0 = 1
less than param1<param2 5<9 = 1 a<b results in 1 if a is less than b, otherwise 0.
5>0 = 0
Math functions
Math Function Syntax Example Description
multliply param1*param2 5*9 = 45 a*b results in the multiplication of parameters a and b.
divide param1/param2 5/9 = 0.556 a/b results in parameter a divided by parameter b.
modulus param1%param2 4%5 = 4 a%b results in the modulus of parameters a and b. modulus computes the remainder of
5%5 = 0 a divided by b.
6%5 = 1
power param1^param2 5^9 = 1953125 a^b results in parameter a to the power of parameter b.
Special functions
Math Function Syntax Example Description
peak pk(param, timeout) pk(a, 1.0) holds the peak value of parameter a. if the value of parameter a.
does not change within the timeout (in seconds) the peak is set to the current value of a.
if timeout is 0, the peak is held indefinitely.
Only one 'pk' function may be used per equation.
delta dt(param, time) dt(a, 1.0) holds the delta value of parameter a, taken over the time specified (in seconds).
Only one 'dt' function may be used per Math Channel.
average av(param, time) av(a, 1.0) holds the average value of parameter a, taken for 20 evenly spaced samples over the
time specified (in seconds).
Only one 'av' function may be used per Math Channel.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 91 of 235
Examples
When Units are set to degrees C but you want one digital gauge that shows ECT in Fahrenheit.
· set math block label to "ECT (Fahrenheit)"
· set math block parameter a to ECT
· set math block equation to (a*9/5)+32
When Units are set to kPa but you want one digital gauge that shows MAP in PSI.
· set math block label to "MAP (PSI)"
· set math block parameter a to MAP
· set math block equation to a/6.895
G4X and G5 ECU Tuning Functions > Motorsport
Motor sport
The following optional features can be selected for motor sport use:
· Anti-lag
· Launch Control
· Gear Shift Control
· Nitrous Control
· Race Timer
· Power Management
· Traction Control
G4X and G5 ECU Tuning Functions > Motorsport > Anti-Lag
Anti-Lag
Anti-lag is a feature which is designed to eliminate the lag period (or spool up time) which is experienced with a typical turbocharger. Anti-lag may be used to generate
a small amount of boost under conditions where the engine would normally be operating in vacuum (such as in overrun which occurs when lifting off the throttle). By
doing this, the turbocharger will already be spooled when the throttle is re-applied and lag will have been reduced.
Anti-lag is achieved by bypassing air into the engine (via the throttle plate or a solenoid) and retarding the ignition timing to the point where the engine is making very
little power. An ignition cut may also be employed under overrun conditions although this is not essential.
WARNING
Anti-lag will result in very high exhaust gas temperatures. These may be reduced by adding extra fuel via the Anti-Lag fuel table although it should still be noted that
Anti-Lag will significantly reduce the life of the turbocharger and manifolds.
Cyclic idle describes the method used by the ECU to control engine speed when extra air is being bypassed into the engine and Anti-Lag isn't active. Link ECU's apply
a Fuel Cut sequence to achieve this and when set up correctly the engine has a “cyclic” sound to it. Cyclic Idle is ONLY required when Anti-Lag is OFF and extra air is
still being bleed into the engine requiring the engine speed to be controlled. Cyclic Idle is only required where motor sport rules do not allow ECU an controlled air bleed
(or EThrottle), in these situations the engine has to permanently have the throttle cracked wide enough for antilag which would otherwise cause excessively high idle
speed.
The Anti-Lag and Cyclic Idle are two separate functions and are mutually exclusive (i.e they are never on at the same time).
This extra exhaust heat and pressure can damage an exhaust system. Do not use Anti-Lag for extended periods of time.
Anti-Lag Mode
This is the master setting to turn Anti-Lag ON or OFF.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 92 of 235
Anti-Lag Solenoid
This function allows the ECU to activate a solenoid when the Anti-Lag system is active with Cyclic Idle or Anti-Lag ON. Its purpose is to bleed extra air into the engine
and is typically used to adjust/replace the throttle plate stop.
ISC Override
This setting enables the Anti-Lag system to take control of the Idle Speed Controller so that extra air can be bled into the engine through it. When ON and in Anti-Lag or
Cyclic Idle the Idle Speed Position is controlled by the Anti-Lag or Cyclic Idle Override Tables.
AL Enable RPM
This engine speed (RPM) needs to be exceeded before Anti-Lag becomes active (AL Enable TP must be exceeded and the system must also be armed). Anti-Lag will
stay active as long as the engine speed (RPM) is above this value. For Anti-Lag to become inactive both the engine speed (RPM) needs to fall below this value and the
TP(Main) position must fall below the AL Enable TP value and both values remain below their enable values for the duration of the AL Deactivation Timeout.
Disarming the system (turning off the arming DI) will immediately cause Anti-Lag to become inactive.
AL Enable TPS
This level of throttle position (TP(Main)) needs to be exceeded before Anti-Lag becomes active (AL Enable RPM must be exceeded and the system must also be
armed). Anti-Lag will stay active as long as TP(Main) is above this value. For Anti-Lag to become inactive both the engine speed (RPM) needs to fall below this value
and the TP(Main) position must fall below the AL Enable TP value and both values remain below their enable values for the duration of the AL Deactivation Timeout.
Disarming the system (turning off the arming DI) will immediately cause Anti-Lag to become inactive.
The TPS Hysteresis setting below adds extra control to this setting allowing hysteresis to be added to the system.
TPS Hysteresis
This setting controls the amount of hysteresis on the AL Enable TPS value. The TPS Hysteresis value is added to AL Enable TPS value when entering AntiLag and
subtracted when leaving.
e.g.
AL Enable TPS = 70%
TPS Hysteresis = 10%
To enter AntiLag the TPS value must be over the AL Enable RPM and over 70% + 10% = 80% TPS
To exit AntiLag the TPS value must be under the AL Enable RPM and under 70% - 10% = 60% TPS
AL Deactivation Timeout
This function specifies the time after the engine speed (RPM) falls below the AL Enable RPM AND the throttle position (TP(Main)) falls below the AL Enable TP that
Anti-Lag remains active for. This is the time that the turbo will remain spooled for once stepping off the throttle. Disarming the system (turning off the arming DI) will
immediately cause Anti-Lag to become inactive without waiting for the Deactivation Timeout.
Note: The ISC Override function will only be visible if ISC Override if set to ON AND Idle Speed Control Mode is not Off.
See Also:
· Anti-Lag Runtimes - A list of the Antilag Runtime Values/Statuses and what they mean
G4X and G5 ECU Tuning Functions > Motorsport > Anti-Lag > Anti-Lag Cyclic Idle Settings
Anti-Lag Cyclic Idle Settings
Cyclic Idle is used to limit the engine speed when the throttle is released, Anti-Lag is inactive and excessive air is still being bled into the engine. Cyclic idle is
necessary in a situation where motor sport rules do not allow the fitting of an ECU controlled extra air bleed solenoid to the vehicle which results in a permanent excess
of air which would otherwise cause excessively high idle speed. Cyclic Idle cuts fuel to the engine to maintain a steady, usable idle speed.
To monitor the status of the Anti-Lag System see the MotorSport tab of the Runtime Values window (F12 Key). For detailed information on how the limiting and cutting
system works see Limiting System.
Safety Note
When in Cyclic Idle Mode a 100% fuel cut will be applied if the engine speed exceeds the Cyclic Idle RPM Limit by more than 500RPM. This is not adjustable but is a
safety feature in the event that the Cyclic Idle system is setup incorrectly.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 93 of 235
· The difference between Cyclic Idle High and Cyclic Idle Low is normally 3 to 5%.
· The Cyclic Idle Low and Cyclic Idle High numbers MUST be bigger than the position the throttle is at when cyclic idle is running. For example, if you have the throttle
open 20% at idle, then these must be bigger (e.g 22% and 26%).
· The RPM limit for the engine is dependent on the throttle position and the Cyclic Idle High and Cyclic Idle Low settings:
· When throttle position is less than the Cyclic Idle Low setting, the RPM limit is the cyclic idle limit.
· When throttle position is greater than the Cyclic Idle High setting, the RPM limit is the current engine RPM limit.
· When throttle position is between the Cyclic Idle Low and Cyclic Idle High settings, the RPM limit is interpolated between the cyclic idle limit and normal RPM
limit. For example, when throttle position is half way between the low and high settings, the current RPM limit is half way between the cyclic and normal RPM
limits. This allows the engine to transition gently into normal running after being on cyclic idle.
· Cyclic idle is active only when the Anti-Lag System Arming control option is active. This means that if you want a setup with cyclic idle, but without Anti-lag you need
to make the Anti-lag system in-active. This can be done by putting zero in the tables and setting the arming values to very high numbers.
Note: Cyclic idle Limiting will not operate correctly if the standard RPM Limit has not been set up.
This is the master control of cyclic idle. The following modes are available:
· OFF - Cyclic idle never operates
· Always ON - Cyclic idle is always ON, regardless of whether anti-lag is Armed or OFF(from DI control).
· Cool Down - Cyclic idle only operates for a set time after anti-lag transitions from active to armed.
· ON = System Armed - Cyclic idle is active only when anti-lag is armed.
Idle speed will be controlled at the Cyclic Idle Limit RPM while the throttle position (TP(Main)) is BELOW this value. At throttle positions between this value and the
Cyclic Idle High value, cyclic idle will be progressively decreased to allow for a smooth transition to normal running. This value should be set to about 2% above the
closed throttle position (with the throttle stop screw holding the throttle plate opened).
When throttle position (TP(Main)) is above this value, the cyclic idle limit will be disabled. This value should be set to approximately 5-10% higher than the Cyclic Low
value.
The following image shows a graphical representation of how Cyclic Idle Low, Cyclic Idle High and Cyclic Idle Limit interact. These settings aim to provide a smooth
reentry into driving from cyclic idle.
This is the actual idle speed that the cyclic idle limit will operate at when throttle position (TP(Main)) is BELOW the Cyclic Idle Low value. A typical value for this would
be 1800RPM. A value of 0RPM means no limit will be applied.
This table overrides the current position of the idle speed (solenoid, stepper motor or ethrottle). This override is used to bleed extra air into the engine while Cyclic Idle
is active. A standard Idle valve does generally not flow enough air for proper Cyclic Idle operation, an after market upgrade is often necessary. This override is only
available when Idle Speed Control is setup and will override ISC's Min and Max Clamps. Note: A separate ISC Override Table is provided for Anti-Lag.
Note: The ISC Override function will only be visible if ISC Override if set to ON AND Idle Speed Control Mode is not Off.
Controls the length of time the cyclic idle will remain ON for, when the Anti-Lag switches from ON to OFF. This setting only applies when the Cyclic Idle Mode is set to
Cool Down mode.
Advanced Mode
Advanced mode allows more control over the cyclic idle RPM limiting cut method. When set to OFF, the ECU will use default cut settings. If the advanced mode is set
to ON, the following settings will become available:
· Limit range
· Cut effect
· Start cut
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 94 of 235
· End cut
Limit Range
The engine speed (RPM) range which the limiting control will operate over. The range is in addition to the Cyclic Idle Limit. A typical value for this would be 200RPM.
(Hint - to create a more aggressive sounding cyclic idle, decrease this number).
Cut Effect
The Cut Effect controls the method that the ECU uses to perform the cyclic fuel cut. The following options are available:
· Adaptive - the ECU will apply an adaptive cut pattern based on the current engine speed.
· Constant - the ECU will apply a constant cut pattern based on the current engine speed.
Start Cut
The start cut determines the percentage ignition cut applied at the start of the Limit Range. A typical value would be 30%. The Start Cut RPM is the Cyclic Idle Limit.
End Cut
The end cut determines the percentage ignition cut applied at the end of the Limit Range. A typical value would be 90%. The End Cut RPM is found by adding the Limit
Range to the Cyclic Idle Limit.
See Also:
· Anti-Lag Runtimes - A list of the Antilag Runtime Values/Statuses and what they mean
G4X and G5 ECU Tuning Functions > Motorsport > Anti-Lag > Anti-Lag Dual Tables
Anti-Lag Dual Tables
Anti-Lag supports dual tables for each ignition retard, fuel enrichment and ignition cut. Each table can individually be switched either by a Digital Input or a Virtual
Auxiliary channel:
When the chosen activation channel (digital input or virtual auxiliary) becomes active, the corresponding Table 2 will become active.
Application Example
You want to setup anti-lag for both wet and dry conditions. In dry conditions you want anti-lag to be more aggressive and generate more boost (due to more traction).
Set up:
· Ign Retard Table 1 for wet conditions, and
· Ign Retard Table 2 for dry conditions.
The Ign Retard Table 2 will contain numbers giving more ignition retard to generate more boost pressure for dry conditions.
You can use a second fuel enrichment and ignition cut table if further control is required.
G4X and G5 ECU Tuning Functions > Motorsport > Anti-Lag > Anti-Lag Ign Retard Table
Anti-Lag Ign Retard Table
This table allows the ignition timing to be retarded as a function of the current engine speed and throttle position (TP(Main)) while Anti-Lag is active. The operation of
this table depends on the AL Ign Retard Mode setting found in the Anti-Lag setup options.
Note: Ignition retard should only be used in areas where Anti-Lag is required (e.g overrun). At high loads (for example from half to full throttle) all values should be zero
so that no retard is used.
AL Ign Retard Mode settings effect the numbers used in the Anti-Lag Ign Retard Table as follows:
· Degrees - Anti-Lag Retard Table numbers represent the number of degrees advance that will be added to the current ignition timing. Negative numbers
represent retard. A table number of -40 will result in ignition timing being 40 degrees more retarded than normal.
· Degrees Absolute - Anti-Lag Retard Table numbers represent the actual ignition timing used when Anti-Lag is active. If a number of -20 is entered, the actual
timing while Anti-Lag is active will be 20 degrees retarded. Note that in this mode a value of zero in the Anti-Lag Ign Retard Table will result in the normal
ignition timing being used.
Typically the Anti-Lag Ign Retard Table will contain values between about -25 and -50 degrees in the areas where Anti-Lag should operate (typically between 1500 and
7000 RPM and less than about 30% throttle. An example Anti-Lag Ign Retard Table is shown below:
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 95 of 235
So while Anti-Lag is active, at a throttle position of 20% and 5500 RPM, 50 degrees of timing will be removed from the normal ignition timing. So if the normal ignition
timing was 25 degrees, the actual timing while Anti-Lag is active would be 35 degrees after top dead centre.
G4X and G5 ECU Tuning Functions > Motorsport > Anti-Lag > Anti-Lag Fuel Trim Table
Anti-Lag Fuel Trim Table
This table allows fuel to be added (or removed) during Anti Lag operation. Typically this is done as a function of the current engine speed and throttle position (TPS
(Main)). The units are in percentage of extra fuel, meaning that 0 represents no change.
Note: Extra fuel should only be added in areas where Anti-Lag ignition retard is being used. At high loads (for example from half to full throttle) all values should be
zero so that no extra fuel is added.
Typically this table will contain values between about 0 and 10 % in the areas where Anti-Lag should operate (typically between 1500 and 7000 RPM and less than
about 30% throttle. An example Anti-Lag Fuel Table is shown below:
G4X and G5 ECU Tuning Functions > Motorsport > Anti-Lag > Anti-Lag Ignition Cut Table
Anti-Lag Ignition Cut Table
The Anti-lag Ignition Cut Table can be turned on or off using the AL Ignition Cut Table setting in the Anti-Lag setup menu.
This table specifies the percentage cut applied to the ignition. A value of 0% represents no cut at all, and a value of 100% represents a full cut on all cylinders. Typical
values for this are around 50%.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 96 of 235
G4X and G5 ECU Tuning Functions > Motorsport > Anti-Lag > Anti-Lag Fuel Cut Table
Anti-Lag Fuel Cut Table
The Anti-lag Fuel Cut Table can be turned on or off using the AL Fuel Cut Table setting in the Anti-Lag setup menu.
This table specifies the percentage cut applied to the Fuel. A value of 0% represents no cut at all, and a value of 100% represents a full cut on all cylinders. Typical
values for this are around 50%.
G4X and G5 ECU Tuning Functions > Motorsport > Anti-Lag > Anti-Lag Setup Examples
Anti-Lag Setup Examples
Group N Anti-Lag with Cyclic Idle (Throttle permanently bleeding extra air)
Group N regulations prohibit the use of air bleed valves or other devices providing the same effect, therefore the throttle must be permanently cracked open (typically
between 15% and 25%). When setting up for this mode, the Anti-Lag must always be armed and cyclic idle must always be on.
Operation:
Turn the key on, the engine will be running with cyclic idle and anti-lag armed but not active. Drive to the start of the rally stage, give the throttle a stab to exceed
3000RPM and 60% throttle, anti-lag will become active. Anti-lag will remain active generating turbo speed until the engine speed (RPM) and throttle position (TP(Main))
have been below their enable values for the time specified by the AL Deactivation Timeout. Drive the stage. On completion of the stage the engine will be idling with
cyclic idle.
Operation:
Turn the key on, the engine will be running with a normal idle. Flick the switch connected to the appropriate DI to its ON position, anti-lag will become armed. Drive to
the start of the rally stage, give the throttle a stab to exceed 3000RPM and 60% throttle, anti-lag will become active. Anti-lag will remain active generating turbo speed
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 97 of 235
until the engine speed (RPM) and throttle position (TP(Main)) have been below their enable values for the time specified by the AL Deactivation Timeout. You can turn
the anti-lag off at any time by flicking the switch to its OFF position. Drive the stage. On completion of the stage the engine will be idling normally.
Operation:
Turn the key on, the engine will be running with a normal idle. Drive to the start of the rally stage. Flick the switch connected to the appropriate DI to its ON position,
anti-lag will become active. Anti-lag will begin generating turbo speed. You can turn the anti-lag off at any time by flicking the switch to its OFF position. Drive the stage.
On completion of the stage anti-lag will still be active until the switch is set to the off position.
Warning:
This mode requires careful control over the activation switch at the start and end of the stage due to the possibility of excessive anti-lag periods.
Anti-Lag RPM/TP Activated with Cool Down (ECU controlled air bleed)
One method is to only use Cyclic idle in “Cool Down” mode meaning it only becomes active when Anti-Lag switches from ON to OFF.
The user arms the Anti-Lag system via a switch. At this point the solenoid is OFF (no extra air) and the cyclic is Idle is OFF. The Anti-Lag then switches ON (from
RPM/TP activation) and the solenoid activates bleeding air into engine. At some point Anti-Lag switches OFF (from RPM/TP timeout). The solenoid remains ON and
cyclic idle is required to limit engine speed. The system is now running in cool down mode for the time specified allowing exhaust temperatures to reduce.
Operation:
Turn the key on, the engine will be running with a normal idle. Flick the switch connected to the appropriate DI to its ON position, anti-lag will become armed. Drive to
the start of the rally stage, give the throttle a stab to exceed 3000RPM and 60% throttle, anti-lag will become active. Anti-lag will remain active generating turbo speed
until the engine speed (RPM) and throttle position (TP(Main)) have been below their enable values for the time specified by the AL Deactivation Timeout. After this
deactivation timeout has been exceeded the ECU will continue to bleed extra air into the engine and apply cyclic idle to hold the engine speed. The extra air and cyclic
idle will turn off after the Cool Down Timeout has elapsed. This allows extra air to be pumped through the exhaust cooling the system down. You can turn the anti-lag
off at any time by flicking the switch to its OFF position. Drive the stage. On completion of the stage the engine will running with cyclic idle for the period specified by
the Cool Down Timeout, following this the engine will return to a normal idle.
G4X and G5 ECU Tuning Functions > Motorsport > Anti-Lag > Anti-Lag with Electronic Throttle
Anti-Lag with Electronic Throttle
Anti-lag can be used in combination with electronic throttle to provide the extra air when anti-lag is active.
Before continuing make sure you understand the Anti-lag Setup Examples.
Note: When Anti-Lag or cyclic idle is active and ISC Override is ON the throttle position is controlled purely by the appropriate Override Table.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 98 of 235
Note: There is no need for Cyclic idle with an Ethrottle as the air bleed can be removed at will which would result in a normal idle.
G4X and G5 ECU Tuning Functions > Motorsport > Launch Control
Launch Control
The following Launch Control modes are available:
Activation Control - This is the input to enable/disable the Launch Control function.
Disarming Speed [kph] - Launch Control will be disabled when the driven wheel speed is above this value.
TPS Activation [%] - Launch Control will be disabled when the TPS (Main) position is below this value.
Arming Time [s] - This is the time that the Activation Control has to be active for before Launch Control becomes Enabled. This is to prevent an undesired limit
during gear changes.
Launch RPM [rpm] - The engine speed that the engine will be limited to for the launch.
· Degrees - Ignition timing is altered from its normal value by the number of degrees specified in the Launch Ign Trim setting. E.g. If the normal ignition
timing is 12 degrees BTDC, -30 degrees Launch Ign Trim will make the ignition timing 18 degrees ATDC while launch control ignition trim is active.
· Degrees Absolute - Ignition timing is altered to the value specified in the Launch Ign Trim setting. E.g. -35 degrees will make the ignition timing 35 degrees
ATDC while launch control ignition trim is active. When using this ignition mode no decay is applied on leaving launch.
Activation Control
This specifies the control channel to arm launch control.
Ign Trim Activation (TP) - Ignition Trim is applied when the throttle is opened past this value AND the engine speed is greater than the Ignition Trim
Activation (RPM). This setting is only visible when using Single Zone mode.
Ign Trim Activation (RPM) - Ignition Trim is applied when the engine speed (RPM) is greater than this value AND the throttle is open further than the Ignition
Trim Activation (TP). This setting is only visible when using Single Zone mode.
Ign Trim Decay Time - The time it takes for the Ignition Trim to decay to nothing once the activation conditions are no longer met. This setting is only visible
when using Single Zone mode. If using degrees absolute no decay is applied on exit of Launch.
Further more, there are adjustments relating to the limiting system used by launch control.
Link G4X and G5 ECUs use a progressive limiting system. The limiting systems progressively cuts fuel and/or ignition over a specified limiting control range. Throttle
position is also taken into consideration to provide more aggressive limiting at high throttle positions.
Limit Mode
The limit mode is used to turn the system on and off. When turning the system on, there are four available limit methods.
· OFF - Limiting is turned off.
· Ignition %Cut - An ignition only progressive cut.
· Fuel %Cut - A fuel only progressive cut.
· Disabled - This mode disables the limiting but leaves the Limit Table allocated so the limit can be turned off without losing the information stored in the table.
Note: In a setup using Group Injection it is recommended for smooth limiting that ignition cutting is used. A hard fuel cut can be applied if required.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 99 of 235
The diagram below demonstrates limiting operation. The vertical axis shows the percentage cut where 0% (bottom) is no limiting and 100% (top) is full limiting.
The bottom right axis is the value being limited. The bottom left axis is throttle position. When the value being limited is within the limit control range (denoted by
the sloped red area) the amount of cut will depend on throttle position. If the value being limited exceeds the end of the limit control range, then a hard limit can be
applied (green area).
It is highly recommended to print this diagram and write your settings on it to better gain an understanding of the limiting system while trying to configure it.
Image shown is of an RPM Limit, MAP or Speed Limits operate the same only with MAP (kPa) or
Speed (kph) instead of RPM.
Warning: Advanced mode limiting settings should only be adjusted by experienced tuners. Make sure you understand EXACTLY what a setting does before
altering it.
Advanced Mode
Enables custom control over the cut percentages and effects. With advanced mode turned to OFF the ECU will force these custom settings to generic numbers.
Hard Limit
This setting selects whether a hard cut will be implemented at the point specified by the Hard Limit Activation. The following options are available:
· OFF - hard cutting is turned off.
· Ign 100% Cut - the hard cut is ignition only.
· Fuel 100% Cut - the hard cut is fuel only.
· Fuel & Ign 100% Cut - the hard cut is both fuel and ignition.
Cut Effect
The cut effect specifies the type of cutting sequence.
· Adaptive - The cutting sequence is randomized to avoid the same cylinder being cut too many times consecutively (Typical Setting)
· Constant - The cutting sequence is fixed for a particular percentage cut.
TPS Low
Specifies the throttle position below which the Start Cut (TP Low) cut value applies. Above this throttle position the cut level is determined by a linear gradient
between the Start Cut (TP Low) value and the Start Cut (TP 100) value. A typical value would be 15%.
End Cut
Specifies the percentage cut at the end of the Limit Control Range. A typical value would be 90%.
Note: If Start Cut (TPS Low) is set above Start Cut (TPS 100) the higher cut value will be used.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 100 of 235
Application Notes:
When setting up a limit, ideally you want it to be as smooth and as stable as possible. You will be able to tell when a limit is smooth as the percentage cut will stabilize.
Here are tips for setting up a smooth limit:
· For a smooth limit you want the limit to settle within the limit control range.
· An engine will settle into a position within the control range easier with a softer cut gradient.
· Increase the Limit Control Range for given % cut parameters to decrease the control range gradient.
· Bring the start and end cuts together to decrease the control range gradient.
· If you find when you hit the limit at full throttle, the limit is overshot then settled into, increase the Start Cut (TP 100).
Note: The more retard that is added, the more boost that will be generated (to an extent) but the more heat that will be generated. Setting this value incorrectly could
result in engine damage and should only be adjusted by experienced tuners.
Note: A typical value for Launch Ignition Trim is one that gives about 20 degrees ATDC.
Note: The following points should be observed when setting up Launch Control:
· Obviously it is better to start with the RPM limit too low for a given vehicle speed and raise it.
· The Launch Ign Trim should be set to 0 for all non-turbo applications or where retard is not required.
Note: The state of the Launch Control system can be verified under the Motorsport tab of the Runtime Values window (F12 key).
G4X and G5 ECU Tuning Functions > Motorsport > Launch Control > 3D Launch RPM Table mode
3D Launch RPM Table mode
Launch Control is designed to allow for more consistent stationary launches. This mode of Launch Control controls the rate at which engine speed (RPM) increases to
minimise wheel spin. To do this, the ECU needs vehicle speed information.
This mode of Launch Control employs a 3D table to select Launch RPM Limit. The required RPM limit at each vehicle speed will only be found by testing.
Activation Control - This is the input used to enable/disable the Launch Control function.
Disarming Speed [kph] - Launch Control will be disabled when the driven wheel speed is above this value.
TPS Activation [%] - Launch Control will be disabled when the TPS (Main) position is below this value.
Arming Time [s] - This is the time that the Activation Control has to be active for before Launch Control becomes Enabled. This is to prevent an undesired limit
during gear changes.
Launch RPM Table [rpm] - This table specifies the RPM limit value used at a given vehicle speed. Refer to the Limit Mode adjustment for information on how
the RPM limit is applied.
· Degrees - Ignition timing is altered from its normal value by the number of degrees specified in the Launch Ign Trim setting. E.g. If the normal ignition
timing is 12 degrees BTDC, -30 degrees Launch Ign Trim will make the ignition timing 18 degrees ATDC while launch control ignition trim is active.
· Degrees Absolute - Ignition timing is altered to the value specified in the Launch Ign Trim setting. E.g. -35 degrees will make the ignition timing 35 degrees
ATDC while launch control ignition trim is active. When using this ignition mode no decay is applied on leaving launch.
Activation Control
This specifies the control channel to arm launch control.
Ign Trim Activation (TP) - Ignition Trim is applied when the throttle is opened past this value AND the engine speed is greater than the Ignition Trim
Activation (RPM). This setting is only visible when using Single Zone mode.
Ign Trim Activation (RPM) - Ignition Trim is applied when the engine speed (RPM) is greater than this value AND the throttle is open further than the Ignition
Trim Activation (TP). This setting is only visible when using Single Zone mode.
Ign Trim Decay Time - The time it takes for the Ignition Trim to decay to nothing once the activation conditions are no longer met. This setting is only visible
when using Single Zone mode. If using degrees absolute no decay is applied on exit of Launch.
Further more, there are adjustments relating to the limiting system used by launch control.
Link G4X and G5 ECUs use a progressive limiting system. The limiting systems progressively cuts fuel and/or ignition over a specified limiting control range. Throttle
position is also taken into consideration to provide more aggressive limiting at high throttle positions.
Limit Mode
The limit mode is used to turn the system on and off. When turning the system on, there are four available limit methods.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 101 of 235
Note: In a setup using Group Injection it is recommended for smooth limiting that ignition cutting is used. A hard fuel cut can be applied if required.
The diagram below demonstrates limiting operation. The vertical axis shows the percentage cut where 0% (bottom) is no limiting and 100% (top) is full limiting.
The bottom right axis is the value being limited. The bottom left axis is throttle position. When the value being limited is within the limit control range (denoted by
the sloped red area) the amount of cut will depend on throttle position. If the value being limited exceeds the end of the limit control range, then a hard limit can be
applied (green area).
It is highly recommended to print this diagram and write your settings on it to better gain an understanding of the limiting system while trying to configure it.
Image shown is of an RPM Limit, MAP or Speed Limits operate the same only with MAP (kPa) or
Speed (kph) instead of RPM.
Warning: Advanced mode limiting settings should only be adjusted by experienced tuners. Make sure you understand EXACTLY what a setting does before
altering it.
Advanced Mode
Enables custom control over the cut percentages and effects. With advanced mode turned to OFF the ECU will force these custom settings to generic numbers.
Hard Limit
This setting selects whether a hard cut will be implemented at the point specified by the Hard Limit Activation. The following options are available:
· OFF - hard cutting is turned off.
· Ign 100% Cut - the hard cut is ignition only.
· Fuel 100% Cut - the hard cut is fuel only.
· Fuel & Ign 100% Cut - the hard cut is both fuel and ignition.
Cut Effect
The cut effect specifies the type of cutting sequence.
· Adaptive - The cutting sequence is randomized to avoid the same cylinder being cut too many times consecutively (Typical Setting)
· Constant - The cutting sequence is fixed for a particular percentage cut.
TPS Low
Specifies the throttle position below which the Start Cut (TP Low) cut value applies. Above this throttle position the cut level is determined by a linear gradient
between the Start Cut (TP Low) value and the Start Cut (TP 100) value. A typical value would be 15%.
End Cut
Specifies the percentage cut at the end of the Limit Control Range. A typical value would be 90%.
Note: If Start Cut (TPS Low) is set above Start Cut (TPS 100) the higher cut value will be used.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 102 of 235
Application Notes:
When setting up a limit, ideally you want it to be as smooth and as stable as possible. You will be able to tell when a limit is smooth as the percentage cut will stabilize.
Here are tips for setting up a smooth limit:
· For a smooth limit you want the limit to settle within the limit control range.
· An engine will settle into a position within the control range easier with a softer cut gradient.
· Increase the Limit Control Range for given % cut parameters to decrease the control range gradient.
· Bring the start and end cuts together to decrease the control range gradient.
· If you find when you hit the limit at full throttle, the limit is overshot then settled into, increase the Start Cut (TP 100).
Note: The more retard that is added, the more boost that will be generated (to an extent) but the more heat that will be generated. Setting this value incorrectly could
result in engine damage and should only be adjusted by experienced tuners.
Note: A typical value for Launch Ignition Trim is one that gives about 20 degrees ATDC.
Note: The following points should be observed when setting up Launch Control:
· Obviously it is better to start with the RPM limit too low for a given vehicle speed and raise it.
· The Launch Ign Trim should be set to 0 for all non-turbo applications or where retard is not required.
Note: The state of the Launch Control system can be verified under the Motorsport tab of the Runtime Values window (F12 key).
Setup Hint:
The engine speed (RPM) values in the Launch RPM tables can be found reasonably easily by experimentation, but for those who want to control the exact amount of
slip that occurs, the numbers can be found by calculation as follows:
· Speed is in km/h,
· Cal is the appropriate Digital Input's speed calibration number,
· Ratio is the un-normalised Gear Ratio
So as an example, to find the RPM value for 0% slip at 25 kph, assuming the digital input has a calibration number of 260, and the un-normalised gear ratio is 169.3:
In most cases it is desirable to have some slip, so to add 12% slip to the above example:
Alternatively all numbers can be entered in the Launch RPM table as 0% Slip, then PCLink's modify selection by percentage function can be used to add the slip %. To
do this, select the RPM values to be changed (hold shift to select more than one value), then press Ctrl and + keys, then type the change followed by the % sign and
press enter. Eg type Ctrl and +, then type 12% enter...
When the driver is at the desired rolling start speed (RPM) they press and hold a switch. The ECU will then limit the engine speed to the RPM at which the switch was
pressed (after the Arming time has passed). This causes the vehicle to maintain the current speed despite increased throttle position (TP(Main)). When the driver is
ready they release the button and launch control disables, allowing the vehicle to accelerate. Optionally when launch control is active (button pressed) the ECU can
apply fuel enrichment and an ignition retard.
· The RPM Limit by default has a Limit Range of 200 RPM. This means that the ECU will apply a cut until the engine speed has reduced by 200 RPM from the set
point (when button pressed). For Latched Launch RPM mode this is not suitable, the recommended Limit Range is 0 RPM. To change the Limit Range setting
Advanced Mode needs to be set to ON.
· The Always ON option for Activation Control is not appropriate for the Latched Launch RPM mode.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 103 of 235
Activation Control - This is the input that controls the Launch Control function. In Latched Launch RPM Mode this would normally be a spring loaded button
switch connected to a Digital Input channel.
Disarming Speed [kph] - Launch Control will be disabled when the driven wheel speed is above this value.
TPS Activation [%] - Launch Control will be disabled when the TPS (Main) position is below this value.
Arming Time [s] - This is the time that the Activation Control has to be active for before Launch Control becomes Enabled. This is to prevent an undesired limit
during gear changes.
· Degrees - Ignition timing is altered from its normal value by the number of degrees specified in the Launch Ign Trim setting. E.g. If the normal ignition
timing is 12 degrees BTDC, -30 degrees Launch Ign Trim will make the ignition timing 18 degrees ATDC while launch control ignition trim is active.
· Degrees Absolute - Ignition timing is altered to the value specified in the Launch Ign Trim setting. E.g. -35 degrees will make the ignition timing 35 degrees
ATDC while launch control ignition trim is active. When using this ignition mode no decay is applied on leaving launch.
Activation Control
This specifies the control channel to arm launch control.
Ign Trim Activation (TP) - Ignition Trim is applied when the throttle is opened past this value AND the engine speed is greater than the Ignition Trim
Activation (RPM). This setting is only visible when using Single Zone mode.
Ign Trim Activation (RPM) - Ignition Trim is applied when the engine speed (RPM) is greater than this value AND the throttle is open further than the Ignition
Trim Activation (TP). This setting is only visible when using Single Zone mode.
Ign Trim Decay Time - The time it takes for the Ignition Trim to decay to nothing once the activation conditions are no longer met. This setting is only visible
when using Single Zone mode. If using degrees absolute no decay is applied on exit of Launch.
Further more, there are adjustments relating to the limiting system used by launch control.
Link G4X and G5 ECUs use a progressive limiting system. The limiting systems progressively cuts fuel and/or ignition over a specified limiting control range. Throttle
position is also taken into consideration to provide more aggressive limiting at high throttle positions.
Limit Mode
The limit mode is used to turn the system on and off. When turning the system on, there are four available limit methods.
· OFF - Limiting is turned off.
· Ignition %Cut - An ignition only progressive cut.
· Fuel %Cut - A fuel only progressive cut.
· Disabled - This mode disables the limiting but leaves the Limit Table allocated so the limit can be turned off without losing the information stored in the table.
Note: In a setup using Group Injection it is recommended for smooth limiting that ignition cutting is used. A hard fuel cut can be applied if required.
The diagram below demonstrates limiting operation. The vertical axis shows the percentage cut where 0% (bottom) is no limiting and 100% (top) is full limiting.
The bottom right axis is the value being limited. The bottom left axis is throttle position. When the value being limited is within the limit control range (denoted by
the sloped red area) the amount of cut will depend on throttle position. If the value being limited exceeds the end of the limit control range, then a hard limit can be
applied (green area).
It is highly recommended to print this diagram and write your settings on it to better gain an understanding of the limiting system while trying to configure it.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 104 of 235
Image shown is of an RPM Limit, MAP or Speed Limits operate the same only with MAP (kPa) or
Speed (kph) instead of RPM.
Warning: Advanced mode limiting settings should only be adjusted by experienced tuners. Make sure you understand EXACTLY what a setting does before
altering it.
Advanced Mode
Enables custom control over the cut percentages and effects. With advanced mode turned to OFF the ECU will force these custom settings to generic numbers.
Hard Limit
This setting selects whether a hard cut will be implemented at the point specified by the Hard Limit Activation. The following options are available:
· OFF - hard cutting is turned off.
· Ign 100% Cut - the hard cut is ignition only.
· Fuel 100% Cut - the hard cut is fuel only.
· Fuel & Ign 100% Cut - the hard cut is both fuel and ignition.
Cut Effect
The cut effect specifies the type of cutting sequence.
· Adaptive - The cutting sequence is randomized to avoid the same cylinder being cut too many times consecutively (Typical Setting)
· Constant - The cutting sequence is fixed for a particular percentage cut.
TPS Low
Specifies the throttle position below which the Start Cut (TP Low) cut value applies. Above this throttle position the cut level is determined by a linear gradient
between the Start Cut (TP Low) value and the Start Cut (TP 100) value. A typical value would be 15%.
End Cut
Specifies the percentage cut at the end of the Limit Control Range. A typical value would be 90%.
Note: If Start Cut (TPS Low) is set above Start Cut (TPS 100) the higher cut value will be used.
Application Notes:
When setting up a limit, ideally you want it to be as smooth and as stable as possible. You will be able to tell when a limit is smooth as the percentage cut will stabilize.
Here are tips for setting up a smooth limit:
· For a smooth limit you want the limit to settle within the limit control range.
· An engine will settle into a position within the control range easier with a softer cut gradient.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 105 of 235
· Increase the Limit Control Range for given % cut parameters to decrease the control range gradient.
· Bring the start and end cuts together to decrease the control range gradient.
· If you find when you hit the limit at full throttle, the limit is overshot then settled into, increase the Start Cut (TP 100).
Note: The more retard that is added, the more boost that will be generated (to an extent) but the more heat that will be generated. Setting this value incorrectly could
result in engine damage and should only be adjusted by experienced tuners.
Note: A typical value for Launch Ignition Trim is one that gives about 20 degrees ATDC.
Note: The following points should be observed when setting up Launch Control:
· Obviously it is better to start with the RPM limit too low for a given vehicle speed and raise it.
· The Launch Ign Trim should be set to 0 for all non-turbo applications or where retard is not required.
Note: The state of the Launch Control system can be verified under the Motorsport tab of the Runtime Values window (F12 key).
G4X and G5 ECU Tuning Functions > Motorsport > Launch Control > Launch Fuel Enrich and Ignition Retard Table
Launch Fuel Enrich and Ignition Retard Table
Launch Fuel Table
This table is provided to inject extra fuel during launch control based on two engine parameters.
A typical axis setup for this would be Engine Speed (RPM) vs. Throttle Position (TP(Main)).
Once the car is staged, you may want to wait on the launch limiter and begin spooling the turbo with a small amount of retard. As the tree begins to fall, you will apply
full throttle at which point the ignition retard increases spooling the turbo even further.
The following example table is given for a rev limit set to 7000RPM.
G4X and G5 ECU Tuning Functions > Motorsport > Launch Control > Common Launch Control Adjustments
Common Launch Control Adjustments
The following adjustments apply to all Launch Control modes:
· Degrees - Ignition timing is altered from its normal value by the number of degrees specified in the Launch Ign Trim setting. E.g. If the normal ignition
timing is 12 degrees BTDC, -30 degrees Launch Ign Trim will make the ignition timing 18 degrees ATDC while launch control ignition trim is active.
· Degrees Absolute - Ignition timing is altered to the value specified in the Launch Ign Trim setting. E.g. -35 degrees will make the ignition timing 35 degrees
ATDC while launch control ignition trim is active. When using this ignition mode no decay is applied on leaving launch.
Activation Control
This specifies the control channel to arm launch control.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 106 of 235
Ign Trim Activation (TP) - Ignition Trim is applied when the throttle is opened past this value AND the engine speed is greater than the Ignition Trim
Activation (RPM). This setting is only visible when using Single Zone mode.
Ign Trim Activation (RPM) - Ignition Trim is applied when the engine speed (RPM) is greater than this value AND the throttle is open further than the Ignition
Trim Activation (TP). This setting is only visible when using Single Zone mode.
Ign Trim Decay Time - The time it takes for the Ignition Trim to decay to nothing once the activation conditions are no longer met. This setting is only visible
when using Single Zone mode. If using degrees absolute no decay is applied on exit of Launch.
Further more, there are adjustments relating to the limiting system used by launch control.
Link G4X and G5 ECUs use a progressive limiting system. The limiting systems progressively cuts fuel and/or ignition over a specified limiting control range. Throttle
position is also taken into consideration to provide more aggressive limiting at high throttle positions.
Limit Mode
The limit mode is used to turn the system on and off. When turning the system on, there are four available limit methods.
· OFF - Limiting is turned off.
· Ignition %Cut - An ignition only progressive cut.
· Fuel %Cut - A fuel only progressive cut.
· Disabled - This mode disables the limiting but leaves the Limit Table allocated so the limit can be turned off without losing the information stored in the table.
Note: In a setup using Group Injection it is recommended for smooth limiting that ignition cutting is used. A hard fuel cut can be applied if required.
The diagram below demonstrates limiting operation. The vertical axis shows the percentage cut where 0% (bottom) is no limiting and 100% (top) is full limiting.
The bottom right axis is the value being limited. The bottom left axis is throttle position. When the value being limited is within the limit control range (denoted by
the sloped red area) the amount of cut will depend on throttle position. If the value being limited exceeds the end of the limit control range, then a hard limit can be
applied (green area).
It is highly recommended to print this diagram and write your settings on it to better gain an understanding of the limiting system while trying to configure it.
Image shown is of an RPM Limit, MAP or Speed Limits operate the same only with MAP (kPa) or
Speed (kph) instead of RPM.
Warning: Advanced mode limiting settings should only be adjusted by experienced tuners. Make sure you understand EXACTLY what a setting does before
altering it.
Advanced Mode
Enables custom control over the cut percentages and effects. With advanced mode turned to OFF the ECU will force these custom settings to generic numbers.
Hard Limit
This setting selects whether a hard cut will be implemented at the point specified by the Hard Limit Activation. The following options are available:
· OFF - hard cutting is turned off.
· Ign 100% Cut - the hard cut is ignition only.
· Fuel 100% Cut - the hard cut is fuel only.
· Fuel & Ign 100% Cut - the hard cut is both fuel and ignition.
Cut Effect
The cut effect specifies the type of cutting sequence.
· Adaptive - The cutting sequence is randomized to avoid the same cylinder being cut too many times consecutively (Typical Setting)
· Constant - The cutting sequence is fixed for a particular percentage cut.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 107 of 235
TPS Low
Specifies the throttle position below which the Start Cut (TP Low) cut value applies. Above this throttle position the cut level is determined by a linear gradient
between the Start Cut (TP Low) value and the Start Cut (TP 100) value. A typical value would be 15%.
End Cut
Specifies the percentage cut at the end of the Limit Control Range. A typical value would be 90%.
Note: If Start Cut (TPS Low) is set above Start Cut (TPS 100) the higher cut value will be used.
Application Notes:
When setting up a limit, ideally you want it to be as smooth and as stable as possible. You will be able to tell when a limit is smooth as the percentage cut will stabilize.
Here are tips for setting up a smooth limit:
· For a smooth limit you want the limit to settle within the limit control range.
· An engine will settle into a position within the control range easier with a softer cut gradient.
· Increase the Limit Control Range for given % cut parameters to decrease the control range gradient.
· Bring the start and end cuts together to decrease the control range gradient.
· If you find when you hit the limit at full throttle, the limit is overshot then settled into, increase the Start Cut (TP 100).
Note: The more retard that is added, the more boost that will be generated (to an extent) but the more heat that will be generated. Setting this value incorrectly could
result in engine damage and should only be adjusted by experienced tuners.
Note: A typical value for Launch Ignition Trim is one that gives about 20 degrees ATDC.
Note: The following points should be observed when setting up Launch Control:
· Obviously it is better to start with the RPM limit too low for a given vehicle speed and raise it.
· The Launch Ign Trim should be set to 0 for all non-turbo applications or where retard is not required.
Note: The state of the Launch Control system can be verified under the Motorsport tab of the Runtime Values window (F12 key).
G4X and G5 ECU Tuning Functions > Motorsport > Gear Shift Control
Gear Shift Control
Note: Refer HERE for a detailed explanation of Gear Shift Control settings (or click on a setting listed below).
Note: Examples of using Gear Shift Control are given HERE.
Gear Shift Control provides engine output torque control to assist with gear shifting. Gear Shift Controls primary function is to disengage the current gear using a rapid
cut, blip or both and then either increase or reduce engine torque to assist in rev matching the engine to the gearbox for the new gear.
Gear Shift Control offers full configurability allowing it to be used in applications from a simple clutch switch based up shift cut right through to full closed loop control for
clutch-less shifting of sequential dog gear boxes.
Gear Shift Control also offers a complete and comprehensive Paddle Shift Control function with built in Actuator Control, miss-shift detection, shift retries and stacked
downshifts.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 108 of 235
Gear Shift Control can be used with or without gear detection. To use closed loop gear shift control or to have per gear settings for shifts then gear detection must be
set up. This is done under Chassis and Body -> Gear Detection. If no gear detection is used then the 0 cell is used in all tables. To fully benefit from Gear Shift Control
it is recommended that gear position and gear ratios are correctly configured.
Operation
The basic operation (and settings) of Gear Shift Control apply to the various stages of the shift process as shown in the following sections.
1 - Shift Request
The conditions that determine if a shift is being requested.
· Start Shift Mode:
· Digital Input - A shift request is started when either the Up Shift Digital Input or Down Shift Digital Input becomes active.
· Gear Lever Force (Seq) - A shift request is started when the Gear Lever Force is above the Upshift Force value or below the Downshift Force value.
· Gear Lever Force (H) - A shift request is started when the absolute of the Gear Lever Force is above the Shift Force value.
· Gear Barrel Position - A shift request is started when the Gear Detection analog voltage input moves further than the Start Shift Voltage Threshold from the
current Gear's specified voltage.
· Digital Paddle Shift - A shift request is started when either the Up Shift Digital Input or Down Shift Digital Input becomes active.
· Start Shift Validation Time - The shift request conditions above must be present for this long before it is considered a shift request and goes on to the next step.
2 - Shift Lockouts
The lockouts are used to prevent requested shifts from happening when conditions are unsuitable
· First Gear Clutch Lockout - If shifting up from Neutral and the First Gear Use Clutch Lockout setting is Enabled then the clutch input must be active for gear
shift control to operate.
· First Gear Paddle Hold Time - If shifting up from Neutral then the Up Shift Digital Input must be active for this long on top of the Start Shift Validation Time for
gear shift control to operate.
· Neutral Clutch Lockout - If shifting up from Reverse and the Neutral Use Clutch Lockout setting is Enabled then the clutch input must be active for gear shift
control to operate.
· Neutral Speed Lockout - If shifting up from Reverse and the Neutral Use Speed Lockout setting is On then the Driving Wheel Speed must be less than or
equal to the Neutral Speed lockout setting value for gear shift control to operate.
· Neutral Paddle Hold Time - If shifting up from Reverse then the Up Shift Digital Input must be active for this long on top of the Start Shift Validation Time for
gear shift control to operate.
· Neutral User Defined Lockout - If shifting up from Reverse and a Neutral User Defined Lockout input has been set then that input must be active for gear
shift control to operate.
· RPM Low Lockout - If not shifting up from Reverse or Neutral the Engine Speed needs to be above this value for gear shift control to operate.
· UpShift TPS/APS Low Lockout - If not shifting up from Reverse or Neutral the APS/TPS (source is user selectable) needs to greater than or equal to this
value for gear shift control to operate.
· Down Shifts:
· End of Gears - Gear shift control down shifts will not operate while in reverse gear.
· Reverse Clutch Lockout - If shifting down from Neutral and the Reverse Use Clutch Lockout setting is Enabled then the clutch input must be active for gear
shift control to operate.
· Reverse Speed Lockout - If shifting down from Neutral and the Reverse Use Speed Lockout setting is On then the Driving Wheel Speed must be 0kph for
gear shift control to operate.
· Reverse Paddle Hold Time - If shifting down from Neutral then the Down Shift Digital must be active for this long on top of the Start Shift Validation Time for
gear shift control to operate.
· Reverse User Defined Lockout - If shifting down from Neutral and a Reverse User Defined Lockout input has been set then that input must be active for gear
shift control to operate.
· Neutral Clutch Lockout - If shifting down from First and the Neutral Use Clutch Lockout setting is Enabled then the clutch input must be active for gear shift
control to operate.
· Neutral Speed Lockout - If shifting down from First and the Neutral Use Speed Lockout setting is On then the Driving Wheel Speed must be less than or
equal to the Neutral Speed lockout setting value for gear shift control to operate.
· Neutral Paddle Hold Time - If shifting down from First then the Down Shift Digital must be active for this long on top of the Start Shift Validation Time for gear
shift control to operate.
· Neutral User Defined Lockout - If shifting down from First and a Neutral User Defined Lockout input has been set then that input must be active for gear shift
control to operate.
· RPM High Lockout - If not shifting down from First or Neutral the Engine Speed needs to be less than or equal to the Maximum Down Shift RPM Lockout
value for the current gear for gear shift control to operate.
· DownShift TPS/APS High Lockout - If not shifting down from First or Neutral the APS/TPS (source is user selectable) needs to less than or equal to this
value for gear shift control to operate.
3 - Shift Type
If none of the lockout conditions are met then the shift type is determined.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 109 of 235
If the Start Shift Mode is Digital Input with only an Up Shift Digital Input set (no Down Shift Digital set) or is Gear Lever Force (H) then it differentiates between an Up
shifts and Down shifts using the Drive/Overrun settings and assumes that driven shifts are up shifts and overrun shifts are down shifts.
· Standard Shifts:
· Driven Up Shift - Shift Request was Up (or not specified) and APS/TPS (source is user selectable) is greater than or equal to the Drive/Overrun TPS/APS
value.
· Driven Down Shift - Shift Request was Down and APS/TPS (source is user selectable) is greater than or equal to the Drive/Overrun TPS/APS value.
· Overrun Up Shift - Shift Request was Up and APS/TPS (source is user selectable) is less than the Drive/Overrun TPS/APS value.
· Overrun Down Shift - Shift Request was Down (or not specified) and APS/TPS (source is user selectable) is less than the Drive/Overrun TPS/APS value.
· Paddle Shifts:
· Neutral Up Shift - Shift Request was Up and current gear is Neutral.
· Reverse Up Shift - Shift Request was Up and current gear is Reverse.
· Paddle Up Shift - Shift Request was Up and current gear is not Reverse or Neutral.
· Neutral Down Shift - Shift Request was Down and current gear is Neutral.
· First Down Shift - Shift Request was Down and current gear is First.
· Paddle Down Shift - Shift Request was Down and current gear is not First or Neutral.
4 - Shift Steps
The conditions present during the shift.
Standard Shifts:
· Driven Up Shift:
· Dog Unload - Lasts for the time specified in the Dog Unload Duration table (using current gear cell). Applies cuts, ignition trim and fuel trim. The cut type is
specified by Cut Mode, cut severity is specified by the Dog Unload Cut Severity table (using current gear cell). Ignition trim value is specified by the Dog
Unload Ignition Trim table (using current gear cell) and Fuel trim value is specified by the Dog Unload Fuel Trim table (using current gear cell).
· Main Shift - If the Shaft Speed Matching Limiter is ON then cuts are applied as per the RPM Match Limit table, otherwise cuts are applied using the Main
Shift Cut table (using current gear cell). The cut type is specified by the Cut Mode setting. Ignition and Fuel trim values are applied as specified in the Main
Shift Ignition Trim and Main Shift Fuel Trim tables (using current gear cell). The end of this stage step depends on the End Shift Mode setting, if it is set to
'Time' this step runs for the time specified in the Main Shift Duration table (using current gear cell), if it is set to Digital then this stage ends when the shift
request input that started the shift becomes inactive and if it is set to Gear Barrel Position then this step lasts at least as long as the value in the Main Shift
Min Duration table (using current gear cell) and lasts no longer than the value in the Main Shift Max Duration table (using current gear cell) and within those
two time constraints it will end when the Gear Barrel input voltage is within the next gear's voltage +/- the value in the Next Gear Reached Voltage Margin
table (using the next gear's cell).
· Torque Reintroduction - The Torque Reintroduction step linearly removes the cuts, fuel trims and ignition trims over the time specified in the Torque
Reintroduction Duration table (using current gear cell).
· Driven Down Shift:
· Blip and Unload - Initially operates the same as the Dog Unload stage as specified in Driven Up Shift with the addition of performing a blip at the same time
(see Overrun Up Shift Blip step for an explanation of blip operation). The blip continues after the Dog Unload Duration has passed with the Fuel and Ignition
trims being removed and the cut either removed or if Shaft Speed Matching Limiter is ON it applies the cut specified in the RPM Match Limit table. This post
Dog Unload Blip operates and Ends the same way as the Overrun Down Shift Blip step.
· Limiter Hold - This step is only entered if the Shaft Speed Matching Limiter is ON, otherwise it goes straight to the next step (Torque Reintroduction). This
step applies the Shaft Speed Matching Limiter cuts as per the RPM Match Limit table and the Cut Mode for the Limiter Hold Duration.
· Torque Reintroduction - Operates the same as specified in the Driven Up Shift Torque Reintroduction section above.
· Overrun Up Shift:
· Blip - The blip is active for up to the time set in the Blip Duration table (the blip will be ended when the duration time has passed regardless of End Shift
Mode but different modes can end it earlier). If Blip Output is E-Throttle it uses the Blip E-Throttle Target table, if set to Idle Controller it uses the Blip Idle
Target table or if it is set to Solenoid then it is just set to active. If End Shift Mode is set to Time the blip ends based on the Blip Duration table, if set to Digital
Input it ends when the shift request input that started the shift becomes inactive and if set to Gear Barrel Position it ends when the Gear Barrel input voltage
is within the next gear's voltage +/- the value in the Next Gear Reached Voltage Margin table (using the next gear cell).
· Main Shift - Operates the same as specified in the Driven Up Shift Main Shift section above.
· Torque Reintroduction - Operates the same as specified in the Driven Up Shift Torque Reintroduction section above.
· Overrun Down Shift:
· Blip - The blip is active for up to the time set in the Blip Duration table (the blip will be ended when the duration time has passed regardless of End Shift
Mode but different modes can end it earlier). Unlike Overrun Up Shift Blip if the Shaft Speed Matching Limiter is ON RPM Target Limit cuts are applied over
the duration of this step. If Blip Output is E-Throttle it uses the Blip E-Throttle Target, if set to Idle Controller it uses the Blip Idle Target or if it is set to
Solenoid then it is just set to active. If End Shift Mode is set to Time the blip ends based on the Blip Duration table, if set to Digital Input it ends when the shift
request input that started the shift becomes inactive and if set to Gear Barrel Position it ends when the Gear Barrel input voltage is within the next gear's
voltage +/- the value in the Next Gear Reached Voltage Margin table (using the next gear cell).
· Limiter Hold - This step is only entered if the Shaft Speed Matching Limiter is ON, otherwise it goes straight to the next step (Torque Reintroduction). This
step applies the Shaft Speed Matching Limiter cuts as per the RPM Match Limit table and the Cut Mode for the Limiter Hold Duration.
· Torque Reintroduction - Operates the same as specified in the Driven Up Shift Torque Reintroduction section above.
Paddle Shifts:
· Neutral Up Shift & Reverse Up Shift:
· Main Shift - The appropriate Shift Actuator is turned on, if half shifting is turned on then the Actuator Duty Cycle is increased each loop at the specified rate.
When the next gear is reached based on the Gear Barrel Position sensor or the Up Shift miss-shift timeout time has passed the Actuator Hold Step is
started. If the Main Shift ends because of the miss-shift timeout the MisShift Up Counter is incremented.
· Actuator Hold - If not half shifting the Actuator is held on for the Actuator Hold Time before being turned off and finishing the shift, if half shift is on the
actuator is turned off immediately and the shift is finished.
· Paddle Up Shift:
The Up Shift Actuator Output is turned on after the Actuator Delay has finished, this is done in parallel with the various shift stages.
· Dog Unload Delay - This is a fixed delay of the length of time specified in the Dog Unload Cut Delay, no trims or cuts applied for this time after the shift starts.
· Dog Unload - Lasts for the time specified in the Dog Unload Duration table (using current gear cell). Applies cuts, ignition trim and fuel trim. The cut type is
specified by Cut Mode, cut severity is specified by the Dog Unload Cut Severity table (using current gear cell). Ignition trim value is specified by the Dog
Unload Ignition Trim table (using current gear cell) and Fuel trim value is specified by the Dog Unload Fuel Trim table (using current gear cell).
· Open Loop Main - This stage is used if the Gear Barrel input is in fault. Applies cuts of the amount specified in the Main Shift Cut table (using current gear
cell) and of the cut type specified by the Cut Mode setting. Ignition and Fuel trim values are applied as specified in the Main Shift Ignition Trim and Main Shift
Fuel Trim tables (using current gear cell). This stage ends when the time specified in the Main Shift Duration table (using current gear cell) has passed.
· Closed Loop Main - This stage is used if the Gear Barrel input is not in fault. This stage has Ignition and Fuel trim values applied as specified in the Main
Shift Ignition Trim and Main Shift Fuel Trim tables (using current gear cell) and cuts applied as per the Main Shift Cut table (using current gear cell) if Shaft
Speed Matching Limiter is Off or applied as per the RPM Match Limit table if Shaft Speed Matching Limiter is On. This stage ends when either the next gear
is reached (when the Gear Barrel input voltage is within the next gear's voltage +/- the value in the Next Gear Reached Voltage Margin table (using the next
gear's cell)) or when the miss-shift timeout is reached. In the event this stage is ended by the miss-shift timeout if there are shift retries left it will go to Retry
Wait stage for another attempt or if there are no retries left it will go to Torque Reintroduction and in both cases the MisShift Up Counter is incremented. If
this stage is ended by the next gear being reached the next stage is Torque Reintroduction.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 110 of 235
· Torque Reintroduction - The Torque Reintroduction step linearly removes the cuts, fuel trims and ignition trims over the time specified in the Torque
Reintroduction Duration table (using current gear cell).
· Retry Wait - Turns off all trims and cuts and waits the specified Mis-Shift wait time before starting the shift again at the Dog Unload Delay stage.
· Neutral Down Shift & First Down Shift:
· Main Shift - The appropriate Shift Actuator is turned on, if half shifting is turned on then the Actuator Duty Cycle is increased each loop at the specified rate.
When the next gear is reached based on the Gear Barrel Position sensor or the Down Shift miss-shift timeout time has passed the Actuator Hold Step is
started. If the Main Shift ends because of the mis-shift timeout the MisShift Down Counter is incremented.
· Actuator Hold - The Actuator is held on for the Actuator Hold Time before being turned off and finishing the shift (If half shifting is turned on the Duty Cycle
applied is the same as it was when the Main Shift step ended).
· Paddle Down Shift:
If it is a Driven Down Shift a Dog Unload is performed in parallel with the Blip and uses fixed cut and trims like all other Dog Unload stages.
· Blip - Applies a Blip as per the Blip E-Throttle Target or Blip Idle Target for up to the time specified by the Blip Max Duration table and can end earlier than
the this max duration depending on the Blip End Mode.
· Limiter Hold - This stage is only used in Overrun shifts (based on Drive/Overrun TPS/APS & Drive/Overrun Source) and when the Shaft Speed Matching
Limiter is On. This stage consists of applying cuts as per the RPM Match Limit table for the time specified by the Limiter Hold Duration table.
· Torque Reintroduction - The Torque Reintroduction step linearly removes the cuts, fuel trims and ignition trims over the time specified in the Torque
Reintroduction Duration table (using current gear cell).
· Retry Wait - If the Blip stage ends due to the miss-shift timeout and there are shift retries left it moves to this state where it stays for the Mis-Shift wait time
before starting another shift attempt at the Blip stage.
5 - Post Shift
After the shift has finished (At the end of the Torque Reintroduction stage) the Re-activation Timeout is started. Gear Shift Control will start accepting new shift requests
once this timeout has finished and whatever input that started the shift is no longer indicating a shift request. This is done so that there is no chance of accidentally
triggering multiple shifts from the same request and so that the engine has a chance to settle before the next shift.
Stacked Paddle Down shifts are the one exception to this as they can be requested during Paddle Down Shifts and during the Re-activation Timeout but the timeout
will still wait for the downshift request to finish before exiting timeout. If Start Shift Mode is set to Digital Paddle Shift and there are Stacked Down Shifts present after
the Re-activation Timeout it will automatically start checking lockouts and if no lockouts are hit it will start another down shift. Stacked shifts are cleared immediately on
hitting certain lockouts or after a set amount of time if sitting on other lockouts to prevent unexpected or undesired downshifts.
This setting works in combination with End Shift Mode to determine the conditions that start and end a shift sequence.
This setting works in combination with Start Shift Mode to determine the conditions that start and end a shift sequence.
Cut Mode
Engine torque is reduced during driven shifts by one of the following methods (and/or torque can also be reduced using the dog unload and main shift ignition trims).
· Ignition %Cut - Ignition events will be cut to limit engine torque.
· Fuel %Cut - Fuel events will be cut to limit engine torque.
Generally Ignition cuts will give a faster gear shift and torque recovery but some engines may not like regular heavy ignition cuts. Ignition cuts may also cause
backfires which effect exhaust noise level.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 111 of 235
· Strain Lever - Gear Lever Force must be above Gear Lever Force Upshift Force or below Gear Lever Force Downshift Force for the validation time before a shift
sequence will begin.
· Gear Position Sensor - The gear position sensor voltage must be above the normal voltage for the current gear plus the Start Shift Voltage Threshold for the
validation time to start an up shift OR gear position sensor voltage must be below the normal voltage for the current gear minus the Start Shift Voltage Threshold
for the validation time to start a down shift.
If too short you may trigger an unintentional gear shift request due to a bumpy track or the driver bumping a paddle, if too long there will be a noticeable pause between
requesting the shift and the expected action.
Typical value 5-20 ms.
Upshift TPS/APS Low Lockout & Upshift TPS/APS Low Lockout Source
Gear Shift Control will not begin an UpShift sequence unless TPS/APS (which one it looks at is defined by the Upshift TPS/APS Low Lockout Source setting) is above
this value. The Upshift TPS/APS Low Lockout setting has no effect if the value is set to 0%. Gear Shift Status will display TPS Low Lockout when this lockout is active.
This is typically used to prevent a cut during non-racing conditions where the torque reversal effect will be low.
Typical settings:
TPS/APS low lockout: ~20%.
TPS/APS source: TPS for either cable or electronic throttles.
DownShift TPS/APS High Lockout & DownShift TPS/APS High Lockout Source
This setting is only available when Start Shift Mode is set to Digital Paddle Shift.
Gear Shift Control will not begin a DownShift sequence unless TPS/APS (which one it looks at is defined by the DownShift TPS/APS High Lockout Source setting) is
below this value. The Downshift TPS/APS High Lockout setting has no effect if the value is set to 0%. Gear Shift Status will display TPS High Lockout when this lockout
is active.
Typical settings:
TPS/APS high lockout: ~20%
TPS/APS source: TPS in most cases, APS if antilag is in use.
If Start Shift Mode is set to Gear Lever Force (Seq), Gear Barrel Position or Digital Input with both the Up Shift and Down Shift Digital Inputs setup:
Possible shift types are:
· Driven Up Shift - Changing up gears under power.
· Overrun Up Shift - Changing up gears during overrun.
· Driven Down Shift - Changing down gears under power.
· Overrun Down Shift - Changing down gears during overrun.
If Start Shift Mode is set to Gear Lever Force (H) or Digital Input with only the Up Shift Digital Input setup:
Possible shift types are:
· Driven Up Shift - Shift requested and shift is Driven.
· Overrun Down Shift - Shift requested and is Overrun.
Speed Lockout
This setting is only available when Start Shift Mode is set to Digital Input, Gear Lever Force (Seq), Gear Lever Force (H) or Gear Barrel Position (Not Digital Paddle
Shift).
Gear Shift Control will not begin a shift sequence unless Driven Wheel Speed is above this value. This setting can be set to 0 to disable speed lockout. Gear Shift
Status will display Speed Lockout when this lockout is active.
Can be used to prevent shift cuts and blips when driving such as in the pits.
The number of the highest gear is set in the Chassis and Body -> Gear Detection -> Number of Gears setting.
Gear Shift Status will display End Of Gears when this lockout is active.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 112 of 235
Suggested setting: If vehicle has a driving wheel speed sensor use Gear Ratio and Speed mode, if there is no speed sensor fitted then use Gear Ratio Only.
When RPM Target Calculation is not Off RPM Target Adjust tables are provided for each normal shift type (Driven Up Shift, Overrun Up Shift, Driven Down Shift and
Overrun Down Shift) and for Paddle Up and Down Shifts as a means to slightly alter the GearShift RPM Target value.
The value applied is from the current gear cell of (the gear being shifted out of) and is applied as a percentage multiplier.
The maths used is as follows:
RPM Target = Shift Start RPM + ((Calculated target RPM - Shift Start RPM) * RPM Target Adjust Multiplier)
Where the Calculated target RPM is what the target is before the multiplier (purely based on gear ratio or gear ratio and speed).
This means that with a shift start RPM of 4000 and a calculated target RPM of 3000RPM:
· An RPM Target Adjust value of 50% will result in an RPM Target of 3500.
4000 + ((3000 - 4000) * 50%) = 3500RPM
· Or an RPM Target Adjust value of 150% will result in an RPM Target of 2500.
4000 + ((3000 - 4000) * 150%) = 2500RPM
Note: This setting affects the visibility of some tables in most shift types and the operation of those shift types.
Suggested Setting: In most cases ON will give a better shift with less tuning required
Blip Output
Used to select what kind of output is used for providing a blip during a shift.
· None - No blip is applied by the ECU.
· E-Throttle - The blip is done by setting the E-Throttle target position, a Blip E-Throttle Target table is supplied for each shift type that uses a blip.
· Solenoid - The blip is done by a dedicated solenoid that is simply turned on when a blip is required and off when it isn't required. The Blip Solenoid setting is
used to select which output the blip solenoid is wired to.
· Idle Controller - The blip is done by setting the Idle Controller position, a Blip Idle Target table is supplied for each shift type that uses a blip.
If Start Shift Mode is set to Digital Input, Gear Lever Force (Seq), Gear Lever Force (H), Gear Barrel Position (Not set to Digital Paddle Shift):
Blip End Mode:
· Normal - Blip turned off when stage ends (next gear reached or duration timed out).
· RPM Target - Blip turned off when Engine Speed greater than target rpm, stage ends when next gear reached or duration timed out. RPM Target Calculation
must not be Off.
· Predictive - Blip turned off when Engine Speed greater than (RPM Target - (Engine Speed ROC * Blip Response Time(current gear) * 0.01)), stage ends when
next gear reached or duration timed out. RPM Target Calculation must not be Off.
If RPM Target Calculation is Off the Normal End Mode is used.
Suggested setting: RPM Target for manual shift, Gear Barrel Position for paddle shift.
Re-activation Timeout
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 113 of 235
The delay before the next shift can be started. This delay begins from the end of the torque introduction. This prevents accidental repeated shifts or can be used to
ensure there is a minimum amount of time between shifts.
If a shift request input is active when this Re-activation time has finished this shift state remains on until the shift request stops, this prevents starting a new shift
immediately after the previous when the request hasn't been released.
Gear Shift Status will display Re-Activation Timeout while this timer is active.
Gear Shift Status will display RPM High Lockout while a down shift is being prevented.
In this example if the Engine RPM was 200RPM above the Gear shift RPM target, a 60% cut would be applied.
Note this differs from the Volt Tolerance (+/-) setting used in the Gear Detection folder as that setting used to determine what the Gear runtime should be and typically
has a higher tolerance whereas the Next Gear reached Voltage Margin value determines when particular shift stages end such as the Main Shift stage in a Driven Up
Shift or the Blip stage in a Paddle Down Shift.
Source
This setting is only available when Start Shift Mode is set to Gear Lever Force (Seq) or Gear Lever Force (H).
Selects which Analog Input is being used for the Gear Lever Force measurement.
Offset
This setting is only available when Start Shift Mode is set to Gear Lever Force (Seq) or Gear Lever Force (H).
Sets the voltage offset for when the strain gauge gear lever is in its unloaded state. Most signal conditioned strain gauge gear levers have an unloaded output of
approx 2.5 V.
Gradient
This setting is only available when Start Shift Mode is set to Gear Lever Force (Seq) or Gear Lever Force (H).
Sets the scaling from Volts to Newtons force for the strain sensor. Use the Gear Lever Force runtime value to see the real time scaled force applied to the lever.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 114 of 235
The Upshift and Downshift Force settings only available when Start Shift Mode is set to Gear Lever Force (Seq) and the Shift Force setting is only available when Start
Shift Mode is set to Gear Lever Force (H).
These value determines the amount of force required to indicate that the driver is requesting a shift.
Driven Up Shift
A Driven Up Shift consists of a Dog Unload stage, a Main Shift stage and a Torque Reintroduction stage.
The aim of the Dog Unload stage is to perform a heavy cut to allow the dogs to unload and separate as quickly as possible. The aim of the main shift stage is to only
reduce the engine speed enough to get it close to the output shaft speed to allow the next gear to engage without a hard crash. Once the physical shift has completed
the Torque Reintroduction Stage ramps the torque back in smoothly. After the shift has finished the Re-activation Timeout is started.
Gear Shift Status will display Driven Up Shift during the Dog Unload stage and Main Shift stage and will display Torque Introduction during the Torque Reintroduction
stage.
Overrun Up Shift
An Overrun Up Shift consists of a Blip stage, a Main Shift stage and a Torque Reintroduction stage.
The Blip stage separates the dogs and then the main shift stage keeps torque reduced over the rest of the shift. Once the physical shift has completed the Torque
Reintroduction Stage ramps the torque back in smoothly. After the shift has finished the Re-activation Timeout is started.
Gear Shift Status will display Overrun Up Shift during the Blip stage and Main Shift stage and will display Torque Introduction during the Torque Reintroduction stage.
Note: Due to the high rate of change in engine RPM required to achieve this type of shift it often doesn’t work well and can be very harsh on the gear dogs. It would be
preferable to use the clutch when this type of shift is required.
If RPM Target Calculation is not Off all Shift Types include an RPM Target Adjust Table which can be used to alter the RPM Target to improve shifting smoothness
where needed.
Stages:
Dog Unload (Driven Up Shift. Driven Down Shift is similar but more involved)
Applies a fixed cut, fuel trim and ignition trim for a fixed period to disengage the dog gears that are being pushed against each other by engine power.
· Dog Unload Duration - This table is used to specify how long the Dog Unload stage operates for, the cell used is the current gear (the one being shifted out of).
Typically 10-20ms.
· Dog Unload Cut Severity - This table is used to specify how much cut is applied during the Dog Unload stage. Cut Type is specified by the Cut Mode setting.
The cell used is the current gear (the one being shifted out of). Typically quite a heavy cut around 90%.
· Dog Unload Ignition Trim - This table is used to specify how much Ignition trim is applied during the Dog Unload stage. The trim amount is an offset, e.g. a
value of -5 will retard the ignition timing by 5 degrees. The cell used is the current gear (the one being shifted out of).
· Dog Unload Fuel Trim - This table is used to specify how much Fuel trim is applied during the Dog Unload stage. The trim amount is a percentage, e.g. a value
of 5% will increase the fuel being injected by 5%. The cell used is the current gear (the one being shifted out of).
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 115 of 235
Blip (Overrun Up Shift & Overrun Down Shift, Driven Down Shift is similar but more involved)
Applies a blip via E-Throttle, Blip Solenoid or Idle Controller to disengage the dog gears that are being pushed together by engine braking so that it can be pulled out of
gear. For down shifts the blip is also used to get the input/output shaft speeds close enough to each other so that the dogs can engage into the next gear without
banging into each other harshly.
The type of Blip Output is set by the Blip Output setting and if it is set to E-Throttle or Idle Controller a table is provided to control how much blip is added.
· Blip E-Throttle Target/Blip Idle Target - Used to specify the E-Throttle or Idle Position target value while the blip is active the cell used is the current gear (the
one being shifted out of).
Stage Time:
How long this stage is active for depends on the End Shift Mode.
If End Shift Mode is set to Time:
· Blip Duration - This shift stage lasts for the time specified in this table, the cell used is the current gear (the one being shifted out of).
Dog Unload Duration, Dog Unload Cut Severity, Dog Unload Ignition Trim & Dog Unload Fuel Trim all operate the same as in the Dog Unload stage. Once the Dog
Unload Duration has finished if the Shaft Speed Matching Limiter is On the limiter is applied with the Dog Unload Ignition & Fuel Trims for the rest of this stage. If Shaft
Speed Matching Limiter is Off then the Cut, Fuel trim and Ignition trim are all removed at the end of the Dog Unload Duration and left off for the rest of this stage.
The Blip is applied from the start of the shift in the same way as in the Blip stage and this stage ends in the same way the Blip stage ends with the exception of the total
stage time being Dog Unload Duration plus Blip Duration.
Main Shift
Applies fixed Ignition and Fuel Trims and either a fixed cut or a shaft speed targeting cut for up a time that is dependent on the End Shift Mode.
The aim of this stage is to try to slow the engine down just enough to get the input/output shaft speeds close enough to each other so that the dogs can engage into the
next gear without banging into each other harshly.
Stage Time:
How long this stage is active for depends on the End Shift Mode.
If End Shift Mode is set to Time:
· Main Shift Duration - This shift stage lasts for the time specified in this table, the cell used is the current gear (the one being shifted out of).
Limiter Hold
This stage is only used when Shaft Speed Matching Limiter is On, if it is Off then this stage is skipped and it goes straight to Torque Reintroduction.
This stage is simply the Shaft Speed Matching Limiter being applied for the duration specified (after the next gear is reached) to counteract the push on effect of the
blip.
· Limiter Hold Duration - This shift stage lasts for the time specified in this table, the cell used is the current gear (the one being shifted out of).
Torque Reintroduction
This stage removes any remaining trims and cuts linearly over a specified time to exit the shift and reintroduce engine torque smoothly.
· Torque Reintroduction Duration - This shift stage lasts for the time specified in this table, the cell used is the current gear (the one being shifted out of).
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 116 of 235
· Disabled - Neutral is it's own complete gear slot in between Reverse and First.
· N between 1st & 2nd - Neutral is halfway between First and Second gear (typically motorbike gearboxes with no reverse). Neutral is reached by using a Down
Shift Request while in 1st and an Up Shift request from Neutral will result in a shift into First gear.
· N between R & 1st - Neutral is halfway between Reverse and First and a standard shift will skip past it.
When Half Shift is not set to Disabled a shift into Neutral will be performed using PWM (Frequency set by the Half Shift PWM Frequency setting). Since the force
required to achieve a half shift varies greatly with gearbox temperature this function starts with a small PWM duty cycle and slowly increases the DC until the ECU sees
the gear position sensor move. The PWM duty cycle starts at the Half Shift starting DC value and increases by Half Shift DC adder rate (up to a maximum of the Half
Shift max DC value) each loop of the Gear Shift control code (1kHz) until Neutral is reached (based on the Gear Barrel input voltage and the Next Gear reached
Voltage Margin table) or the Mis-Shift timer times out. If Neutral is successfully reached or the Mis-Shift timer times out the Actuator is then held on at that same Duty
Cycle for the Actuator Hold time before the shift ends.
When Half Shift is set to Disabled the actuator is set fully on (100% Duty Cycle equivalent).
Actuator Hold
Used to control how long the Actuator is held on after the next gear is reached or the mis-shift timeout has been reached (how long the Actuator Hold Stage lasts).
Warning – for experienced drivers only – can result in a shift occurring when it may not be expected. Suggest set to zero initially until the driver is well familiar with the
car and shift control.
Typical setting: 40ms. Can be tuned by viewing a log to determine how long after the actuator output is activated that a small movement is seen on the gear position
sensor.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 117 of 235
Gear Lockouts
When shifting into or out of Neutral and Reverse it is sometimes desirable to have lockout conditions to prevent things like shifting into reverse while rolling or shifting
out of Neutral without the clutch in, the following settings allow easy control over when these kinds of shifts can and can't occur.
Note: The Settings in PCLink are Grouped into First Gear, Neutral and Reverse folders, the settings in each folder are lockouts for shifting into that gear (not out of)
and for the First Gear folder it is only for shifting up from Neutral into First not for shifting Second down to First.
· Use Clutch Lockout - If this setting is on it prevents the shift (Neutral Up, Reverse Up, Neutral Down or First Down) from happening if the Clutch Switch status
isn't Active. Gear Shift Status will display Clutch Lockout when this lockout is active.
· Paddle Hold Time - This setting controls how long the paddle has to be held over and above the normal Start Shift Validation Time to request a (Neutral Up,
Reverse Up, Neutral Down or First Down) shift. This can be useful for preventing accidental shifts. Gear Shift Status will display Paddle Hold Time when this
lockout is active.
· Use Speed Lockout - If this setting in the Reverse folder is on then it will prevent Neutral Down shifts into Reverse from happening when the Driving Wheel
Speed is greater than 0. If it is on in the Neutral folder it will prevent Reverse Up shifts or First Down shifts into Neutral from happening when the Driving Wheel
Speed is greater than the Speed Lockout value. Gear Shift Status will display Speed Lockout when this lockout is active.
· Speed Lockout - This setting is only visible when the Use Speed Lockout setting in the Neutral folder is set to on. It controls the maximum Driving Wheel Speed
that shifts into Neutral (Reverse Up or First Down) can occur at.
· User Defined Lockout - If an input is selected shifts into this gear are prevented while that input is active. This is useful for adding further lockout functionality
that isn't catered for in the other built in lockouts. Gear Shift Status will display Neutral User Lockout or Reverse User Lockout when this lockout is active.
Gearshift pattern – Regardless of how the gears are mechanically arranged in the gearbox, the ECU will always present them to the driver in the same way using a
pattern like so; RN123456. So Reverse is always the lowest gear. First will always be an upshift from N (up paddle), Reverse will always require a downshift to engage
from N.
If RPM Target Calculation is not Off Paddle Up Shifts and Paddle Down Shifts include an RPM Target Adjust Table which can be used to alter the RPM Target to
improve shifting smoothness where needed.
Neutral Up Shift
A Neutral Up Shift occurs when an Up Shift is requested while in Neutral. The actuator used depends on the Half Shift for Neutral setting, if set to N between 1st & 2nd
then the Down Shift Actuator is used, otherwise the Up Shift Actuator is used.
Gear Shift Status will display Neutral Up Shift.
The appropriate Shift Actuator is turned on with 100% Duty Cycle (fully on). Once First gear is reached (based on the Gear Barrel input voltage and the Next Gear
reached Voltage Margin table Cell 1) or the Up Shift mis-shift timeout time is reached the actuator is then held on for the Actuator Hold time and is then turned off and
the shift is complete.
If the Up Shift mis-shift timeout was reached before the gear barrel voltage was within the Next Gear Reached Voltage Margin of the First gear voltage the MisShift Up
Counter is incremented. Neutral Up Shift does not retry 'failed' shifts.
After the shift has finished the Re-activation Timeout is started.
Reverse Up Shift
A Reverse Up Shift occurs when an Up Shift is requested while in Reverse.
Gear Shift Status will display Reverse Up Shift.
If the Up Shift mis-shift timeout was reached before the gear barrel voltage was within the Next Gear Reached Voltage Margin (Cell 0) of the Neutral gear voltage the
MisShift Up Counter is incremented. Reverse Up Shift does not retry 'failed' shifts.
After the shift has finished the Re-activation Timeout is started.
The Down Shift Actuator output is turned on with 100% Duty Cycle (fully on). Once Reverse is reached (based on the Gear Barrel input voltage and the Next Gear
reached Voltage Margin table Cell 0) or the Down Shift mis-shift timeout time is reached the actuator is then held on for the Actuator Hold time and is then turned off
and the shift is complete.
If the Down Shift mis-shift timeout was reached before the gear barrel voltage was within the Next Gear Reached Voltage Margin (Cell 0) of the Reverse gear voltage
the MisShift Down Counter is incremented. Neutral Down Shift does not retry 'failed' shifts.
After the shift has finished the Re-activation Timeout is started.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 118 of 235
If the Down Shift mis-shift timeout was reached before the gear barrel voltage was within the Next Gear Reached Voltage Margin (Cell 0) of the Neutral voltage the
MisShift Down Counter is incremented. First Down Shift does not retry 'failed' shifts.
After the shift has finished the Re-activation Timeout is started.
The Up Shift Actuator Output is turned on after the Actuator Delay has finished and is turned off at the start of the Torque Reintroduction stage.
· Auto Up Shift Enable - Used to select an input to Enable or Disable Auto Up Shifting. When this setting is not Off the Auto Up Shift RPM and Auto Up Shift TPS
tables become visible. If the selected input is active an up shift will be triggered when the Engine Speed is greater than or equal to the current gear's value in the
Auto Up Shift RPM table and TPS (Main) is greater than or equal to the current gear's value in the Auto Up Shift TPS table.
· Actuator Delay - Controls how long after the start of the shift the Up Shift Actuator Output is turned on, this is done independently of the shift stages. This delay
is also restarted at the end of the Retry Wait stage. Typically 0 delay for pneumatic actuators, delay may be required for very fast DC solenoid type actuators.
· mis-shift timeout - Used to define how long the shift has to before it is considered to have failed. This time is from the entry to the shift and is only checked in
Closed Loop Main stage, if this time is reached in Closed Loop Main before the next gear is reached the shift is considered to have failed and depending on how
many shift retries (Defined by the Retry Limit setting) are left it will either exit the shift via Torque Reintroduction or restart the shift via Retry Wait.
· Retry Limit - Defines how many retries are to performed before giving up on a shift.
· Auto Up Shift RPM - Used to specify the minimum Engine Speed at which an auto up shift can occur for each gear. This table is only visible when Auto Up Shift
Enable is not Off.
· Auto Up Shift TPS - Used to specify the minimum TPS (Main) at which an auto up shift can occur for each gear. This table is only visible when Auto Up Shift
Enable is not Off.
Stages:
Dog Unload Delay:
This stage lasts for the time specified by the Dog Unload Cut Delay setting in the Paddle Shift Settings folder. No trims or cuts are applied, it is simply a delay before
the Dog Unload stage starts.
Dog Unload:
Applies a fixed cut, fuel trim and ignition trim for a fixed period to disengage the dog gears that are being pushed against each other by engine power.
· Dog Unload Duration - This table is used to specify how long the Dog Unload stage operates for, the cell used is the current gear (the one being shifted out of).
Typically 10-20ms.
· Dog Unload Cut Severity - This table is used to specify how much cut is applied during the Dog Unload stage. Cut Type is specified by the Cut Mode setting.
The cell used is the current gear (the one being shifted out of). Typically quite a heavy cut around 90%.
· Dog Unload Ignition Trim - This table is used to specify how much Ignition trim is applied during the Dog Unload stage. The trim amount is an offset, e.g. a
value of -5 will retard the ignition timing by 5 degrees. The cell used is the current gear (the one being shifted out of).
· Dog Unload Fuel Trim - This table is used to specify how much Fuel trim is applied during the Dog Unload stage. The trim amount is a percentage, e.g. a value
of 5% will increase the fuel being injected by 5%. The cell used is the current gear (the one being shifted out of).
Once the Dog Unload stage the next stage is either Open Loop Main Shift or Closed Loop Main Shift, if the gear barrel analog input is in fault Open Loop Main Shift is
used otherwise Closed Loop Main Shift is used. The reason for this check is that it is still important to be able to shift gears even if the the gear barrel input fails and so
the Open Loop Main Shift stage uses a fixed shift time instead of relying on the gear barrel sensor to indicate the end of the stage.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 119 of 235
· Main Shift Cut - This table is used to specify how much cut is applied during the Closed Loop Main Shift stage. Cut Type is specified by the Cut Mode setting.
The cell used is the current gear (the one being shifted out of).
If next gear is reached before the mis-shift timeout time is reached the shift moves onto the Torque Reintroduction stage.
If the mis-shift timeout time is reached the MisShift Up Counter is incremented and then the number of retries left is checked (Defined by the Retry Limit setting), if
there are retries left the shift moves to the Retry Wait stage, if all the retries have already been used the shift moves onto the Torque Reintroduction stage.
Retry Wait:
This stage is only entered if the a mis-shift timeout occurs during a shift and there are still shift retries left (Defined by the Retry Limit setting).
All trims, cuts and actuators are turned off during this stage. This stage lasts for the time specified in the Mis-Shift wait time setting and on completion of that time it
resets all of the timers (including actuator delay) and starts the shift over again at the Dog Unload Delay stage.
Torque Reintroduction:
This stage removes any remaining trims and cuts linearly over a specified time to exit the shift and reintroduce engine torque smoothly.
· Torque Reintroduction Duration - This shift stage lasts for the time specified in this table, the cell used is the current gear (the one being shifted out of).
After Torque Reintroduction has finished the shift exits and the Re-activation Timeout is started.
The Down Shift Actuator Output is turned on after the Actuator Delay has finished and is turned off at the start of the Torque Reintroduction stage.
· Actuator Delay - Controls how long after the start of the shift the Down Shift Actuator Output is turned on, this is done independently of the shift stages. This
delay is also restarted at the end of the Retry Wait stage. Typically 0 delay for pneumatic actuators, delay may be required for very fast DC solenoid type
actuators.
· mis-shift timeout - Used to define how long the shift has to before it is considered to have failed. This time is from the entry to the shift and is only checked in
Closed Loop Main stage, if this time is reached in Closed Loop Main before the next gear is reached the shift is considered to have failed and depending on how
many shift retries (Defined by the Retry Limit setting) are left it will either exit the shift via Torque Reintroduction or restart the shift via Retry Wait.
· Retry Limit - Defines how many retries are to performed before giving up on a shift.
Dog Unload
The Dog Unload is only performed if it is a driven down shift (as defined by Drive/Overrun TPS/APS) and is done in parallel with the rest of the shift.
The Dog Unload starts after Dog Unload Cut Delay time (Cut delay time starts at the beginning of the shift).
· Dog Unload Duration - This table is used to specify how long the Dog Unload Cut and trims is applied for, the cell used is the current gear (the one being
shifted out of). Typically 10-20ms.
· Dog Unload Cut Severity - This table is used to specify how much cut is applied during the Dog Unload. Cut Type is specified by the Cut Mode setting. The cell
used is the current gear (the one being shifted out of). Typically quite a heavy cut around 90%.
· Dog Unload Ignition Trim - This table is used to specify how much Ignition trim is applied during the Dog Unload. The trim amount is an offset, e.g. a value of
-5 will retard the ignition timing by 5 degrees. The cell used is the current gear (the one being shifted out of).
· Dog Unload Fuel Trim - This table is used to specify how much Fuel trim is applied during the Dog Unload. The trim amount is a percentage, e.g. a value of 5%
will increase the fuel being injected by 5%. The cell used is the current gear (the one being shifted out of).
After the Dog Unload is finished the Dog Unload cut and trims are removed.
Stages:
Blip:
Turns on the Blip Output for up to the Blip Duration time, the Blip Output can be turned off before the Blip Duration time is reached.
· Blip Duration - The maximum amount of time the Blip Output will be active for
· Blip E-Throttle Target/Blip Idle Target - If the Blip Output is set to E-Throttle or Idle Controller a table is provided so that the aggressiveness of the blip can be
configured based gear (cell used is the gear being shifted out of). The table value is the Target E-Throttle/Idle position, not a trim. A value of 0 means no blip is
applied.
· DownShift Open Loop Duration - This table is used to specify how long the Blip stage operates for if the Gear Barrel input is in fault. If the value specified is
less than the Blip Duration and the Gear Barrel input is in fault then this stage will be active for the Blip Duration.
If Shaft Speed Matching Limiter is On and the Gear Barrel input isn't in fault the Target RPM Limiter is applied for the duration of this stage.
Note: If the Dog Unload Cut is also being applied at the same time then the larger of these two values will be used.
The Blip is turned off when the Blip Duration time is reached.
If Blip End Mode is set to Gear Barrel Position the Blip will be turned off if:
· The next gear is reached (based on the Gear Barrel input voltage and the Next Gear reached Voltage Margin table) OR
· if RPM Target Calculation is not Off the Blip will be turned off when Engine Speed is greater than the Target RPM.
If this stage is ended with the Gear Barrel input in fault or with the next gear reached the next stage is determined as so:
· If the shift is a Driven Down shift (based on Drive/Overrun TPS/APS & Drive/Overrun Source) or Shaft Speed Matching Limiter is Off the next stage is Torque
Reintroduction.
· If the shift is an Overrun Down shift (based on Drive/Overrun TPS/APS & Drive/Overrun Source) and Shaft Speed Matching Limiter is On the next stage is
Limiter Hold.
If this stage is ended by the mis-shift timeout being reached and there are retries left (number of shift retries specified by the Down Shift Retry Limit) then the next stage
is Retry Wait. If no retries are left then the next stage is either Torque Reintroduction or Limiter Hold decided in the same way as above.
Retry Wait:
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 120 of 235
This stage is only entered if the a mis-shift timeout occurs during a shift and there are still shift retries left (Defined by the Retry Limit setting).
All trims, cuts and actuators are turned off during this stage. This stage lasts for the time specified in the Mis-Shift wait time setting and on completion of that time it
resets all of the timers (including Actuator Delay) and starts the shift over again at the Blip stage with the Dog Unload Cut Delay Dog Unload reset.
Limiter Hold:
This stage is only used in Overrun shifts (based on Drive/Overrun TPS/APS & Drive/Overrun Source) and when the Shaft Speed Matching Limiter is On, if it is Off then
this stage is skipped and it goes straight to Torque Reintroduction.
This stage commences when the Next Gear reached Voltage Margin is reached (ie the gear shift is complete) it is simply the Shaft Speed Matching Limiter being
applied for the duration specified to counteract the push-on effect of the blip.
· Limiter Hold Duration - This shift stage lasts for the time specified in this table, the cell used is the current gear (the one being shifted out of).
Torque Reintroduction:
This stage removes any remaining trims and cuts linearly over a specified time to exit the shift and reintroduce engine torque smoothly.
· Torque Reintroduction Duration - This shift stage lasts for the time specified in this table, the cell used is the current gear (the one being shifted out of).
After Torque Reintroduction has finished the shift exits and the Re-activation Timeout is started.
Compressor Control
These settings are only available when Start Shift Mode is set to Digital Paddle Shift and are intended for controlling the pressure of an air tank for use with air powered
shift actuators.
Compressor Control has several runtimes which provide feedback to how it is operating, these can be found here.
Mode
Used to turn the Compressor Control Function on or off.
Output
This setting is only visible when the Compressor Control Mode is on.
Used to select the output that is wired to the compressor power and is used to turn the compressor on and off.
Target Pressure
This setting is only visible when the Compressor Control Mode is on.
Used to set the pressure that the output (and so the compressor) will be turned off at.
Hysteresis
This setting is only visible when the Compressor Control Mode is on.
Used to set how far the pressure has to drop below the Target Pressure before the output (and so the compressor) is turned on.
Voltage Lockout
This setting is only visible when the Compressor Control Mode is on.
When the Battery Voltage is below this value Compressor Control will not operate (compressor always off).
Startup Lockout
This setting is only visible when the Compressor Control Mode is on.
Specifies how long after engine start up (Engine Speed > 400RPM) until the Compressor Control will start operating. If a value of 0 is used there will be no delay (and if
RPM Low Lockout is also 0 Compressor Control will run while the engine is off).
User Lockout
This setting is only visible when the Compressor Control Mode is on.
When the selected input is active Compressor Control will not operate (compressor always off), this can be useful for turning Compressor Control On/Off based on a
variable not included in the built in lockouts.
G4X and G5 ECU Tuning Functions > Motorsport > Gear Shift Control > Gear Shift Control Examples
Gear Shift Control Examples
Note: Refer HERE for a general overview of Gear Shift Control.
Note: Refer HERE for a detailed explanation of Gear Shift Control settings (or click on a setting listed below).
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 121 of 235
This arrangement uses a pedal box mounted switch that is activated by the driver pressing the clutch. The switch is wired to a Digital Input. Typically the switch would
become Active at the point where the clutch disengages. Some adjustment may be required to find the exact point at which the switch should become active.
As a Digital Input will be used to start the gear shift sequence, Start Shift Mode must be set to Digital Input. Up Shift Digital Input must be set to the digital input wired to
the clutch switch. Down Shift Digital Input must be set to OFF as there is no means by which up and down shifts can be directly distinguished on an H pattern gearbox.
This will start the shift sequence when the clutch switch is active for longer than Start Shift Validation Time.
Two gear shift types can be distinguished. If a shift is started while Throttle Position is greater than or equal to the Drive/Overrun TPS/APS value then a Driven Up Shift
will be requested otherwise an Overrun Down Shift will be requested. If it is a Driven Up Shift make sure that Throttle Position does not go below the Upshift TPS/APS
Low Lockout value otherwise a TPS Low Lockout will occur rather than a shift request. Set the Upshift TPS/APS Low Lockout value to 0 to ignore the TPS lockout
condition. If only full power up shifts are required Upshift TPS/APS Low Lockout can be set higher (eg 80%) to prevent gear shift requests when not near full throttle.
Throttle blipping can be used with Overrun Down Shifts. To disable throttle blipping set the Blip Output to None.
If it is a Driven Up Shift the shift will consist of a Dog Unload stage to cut engine power and unload the dogs or synchros then a Main Shift stage used to match engine
speed to the new gear followed by a Torque Reintroduction stage used to bring the engine torque back in smoothly after the gear has been shifted.
If it is an Overrun Down Shift the shift will consist of a Blip stage, a Limiter Hold stage and a Torque Reintroduction stage.
There are two ways in which the Blip or Main Shift stage of this shift can be ended:
· After a fixed amount of time - End Shift Mode must be set to Time. The time that the Blip or Main Shift stage will last for is set in the Blip Duration or Main Shift
Duration table.
· When the clutch is released - End Shift Mode must be set to Digital Input. The Blip or Main Shift stage will end when the clutch is released.
It is assumed that if the gearbox is an H pattern that it won't have a gear barrel position sensor and so can't use the Gear Barrel Position End Shift Mode.
When using a clutch switch it is important to set Speed Lockout to a suitable value to prevent a shift sequence starting when the clutch is pressed while the vehicle is
not moving.
The strain gauge must be correctly installed. To check this first watch the runtime value for the Analog Inputs signal voltage. Ensure that the lever is correctly orientated
by ensuring that maximum signal change occurs when the lever is pushed and pulled in the direction of a gear change. There should be minimal signal change when
the lever is forced at right angles to the direction of normal gear shifting.
The strain gauge lever must be calibrated. Note the voltage from the strain gauge when the lever is in its unloaded state. Enter this voltage as Gear Lever Force Offset.
Set Gear Lever Force Gradient to achieve the required force. Monitor Gear Lever Force and ensure it reads near zero when the lever is unloaded and positive force
when pulled in the up shift direction and negative force when pushed in the down shift direction. Note that it is not necessary (or sometimes even possible) to calibrate
the actual lever force. As long as a good range is chosen (eg +/- 100 N when pushed much harder than a normal shift).
Set Gear Lever Force Up Shift Force and Gear Lever Force Down Shift Force to appropriate starting values. These will need to be adjusted after some testing.
Set Start Shift Mode to Gear Lever Force (Seq). This will result in a shift request occurring when Gear Lever Force goes above Gear Lever Force Up Shift Force or
below Gear Lever Force Down Shift Force for longer than Start Shift Validation Time.
This arrangement can detect all four shift types. If a shift is started while Throttle Position is greater than the Drive/Overrun TPS/APS value then a Driven Up Shift or
Driven Down Shift will be requested otherwise an Overrun Down Shift or Overrun Up Shift will be requested. If it is a Driven Up Shift or Overrun Up Shift make sure that
Throttle Position does not go below the Upshift TPS/APS Low Lockout value otherwise a TPS Low Lockout will occur rather than a shift request. Set the Upshift
TPS/APS Low Lockout value to 0 to ignore the TPS lockout condition. If only full power up shifts are required Upshift TPS/APS Low Lockout can be set higher (eg 80%)
to prevent gear shift requests when not near full throttle.
Only Timed End Shift Mode can realistically be used in this arrangement as there is no way to detect the end of Blip or Main Shift stage of this shift (in this example no
gearbox gear position sensor is installed). Gear Position Sensor End Shift Mode could be used if a gear position sensor was installed. Refer to the following example
for using a gear position sensor.
Throttle blipping can be used with Overrun Down Shifts or Overrun Up Shifts. To disable throttle blipping set the Blip Output to None or to disable for only one or the
other set the values in the Blip E-Throttle Target/Blip Idle Target table to all zeros for that shift type (not possible for Blip Solenoid, only for E-Throttle or Idle Controller
Blip Outputs).
The Gear Position Sensor must be configured and calibrated. The sensor must be wired to an Analog Input and Gear Detection (in the Chassis and Body folder) must
be correctly configured using the 'Analog Position Sensor' Gear Detection Mode with the 'Source' setting set to the correct Analog Input.
To calibrate gear position, move through the gears while observing the voltage on the Analog Input. While doing this make sure the gears fully engage. Under Chassis
and Body->Gear Detection, set Gear Detection Mode to Analog Position Sensor. Set each gear and voltage pair as required. The Voltage Tolerance (+/-) setting is only
used for deciding which gear to display and the Next Gear Reached Voltage Margin table is used for determining how close to the gear voltage it has to be before
being considered to be in that gear for End Shift Mode purposes.
Set Start Shift Mode to Gear Position Sensor to indicate that shift requests come from movement of the gear position sensor. When the gear position sensor voltage
changes by more than Start Shift Voltage Threshold from its normal in gear voltage, an up shift request (if going towards a higher gear) or down shift request (if going
towards a lower gear) is generated.
This arrangement can detect all four shift types. If a shift is started while Throttle Position is greater than the Drive/Overrun TPS/APS value then a Driven Up Shift or
Driven Down Shift will be requested otherwise an Overrun Down Shift or Overrun Up Shift will be requested. If it is a Driven Up Shift or Overrun Up Shift make sure that
Throttle Position does not go below the Upshift TPS/APS Low Lockout value otherwise a TPS Low Lockout will occur rather than a shift request. Set the Upshift
TPS/APS Low Lockout value to 0 to ignore the TPS lockout condition. If only full power up shifts are required Upshift TPS/APS Low Lockout can be set higher (eg 80%)
to prevent gear shift requests when not near full throttle.
There are two ways in which the Blip or Main Shift stage of this shift can be ended:
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 122 of 235
· After a fixed amount of time - End Shift Mode must be set to Time. The time that the Blip or Main Shift stage will last for is set in the Blip Duration or Main Shift
Duration table.
· When the next gear engages (closed loop) - End Shift Mode must be set to Gear Position Sensor. The Blip stage will end when either the Gear Barrel input
voltage gets within the Next Gear Reached Voltage Margin of the next gear's gear barrel voltage or the Blip Duration time is reached, whichever comes first. The
Main Shift stage will last at least as long as the Main Shift Min Duration time and then end when either the Gear Barrel input voltage gets within the Next Gear
Reached Voltage Margin of the next gear's gear barrel voltage or the Main Shift Max Duration time is reached, whichever comes first.
Throttle blipping can be used with Overrun Down Shifts or Overrun Up Shifts. To disable throttle blipping set the Blip Output to None or to disable for only one or the
other set the values in the Blip E-Throttle Target/Blip Idle Target table to all zeros for that shift type (not possible for Blip Solenoid, only for E-Throttle or Idle Controller
Blip Outputs).
G4X and G5 ECU Tuning Functions > Motorsport > Nitrous Control
Nitrous Control
Nitrous Control is a feature that allows the user to control several (up to 3 plus spool) stages of nitrous injection into the engine. It supports Dry systems, wet systems,
progressive solenoids and On/Off solenoids as well as providing ignition retard control, fuel trims (for dry systems), various lockouts and bottle pressure monitoring and
control.
There are several global lockouts and settings to control how long it takes to ramp in and out the Fuel and Ignition trims and then each of the 4 Stages has it's own
specific lockout and trim settings, some of which are tables with columns matched to the stage.
Main Settings:
Nitrous Control
This setting is used to turn Nitrous Control On or Off.
Enable Input
Used to select an input that must be active before Nitrous Control is enabled. If no overall enable/disable is wanted then set this to "Always ON". This setting is typically
used to select the arming switch input.
Max RPM
Used to set the overall maximum engine speed up to which Nitrous Control will operate. Once the engine speed goes over this value Nitrous Control will be disabled
with all solenoids turned off, fuel trim removed and ignition retard removed. In some wet applications this may be set a little lower than the RPM limit so that NOS and
fuel is disabled and consumed from the manifold before any limiting occurs to reduce the risk of backfire.
Delay Units
Used to set whether the Ignition Retard Delay, Ignition Advance Delay, Fuel Trim On Delay and Fuel Trim Off Delay are in seconds or Engine Cycles. Specifying delays
in Engine Cycles can make them more consistent over the engine RPM range than using Seconds.
In dry NOS applications, especially where the fuel injector is closer to the combustion chamber than the NOS nozzle, it may take a little longer for the NOS to reach the
engine than it does for the fuel to reach it. If you enabled the fuel enrichment at the same time as the NOS solenoid you will have an overly rich mixture until the full
NOS mass flow reaches the engine.
Suggested setting: Start with 0 delay, if you have a short rich spike as the stage enables then increase the delay until the rich spike is eliminated. The retard delay can
be set to a similar value to the fuel delay as a starting point.
When the NOS solenoids shut it may take a little extra time for the engine to consume the NOS that is already in the manifold and pipework. These delays allow the
fuel trim and retard to remain active until this residue is consumed.
Stage Settings:
Mode
This setting is used to turn the stage Off or On and to set what type of Nitrous setup is being used for this stage.
· OFF - This stage isn't used.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 123 of 235
· Wet - This stage uses two switched solenoids controlled by the same output (both activated together), one which flows NOS and one which flows fuel. The fuel and
NOS are typically injected through the same nozzle, the flow rate of NOS and fuel and the NOS to fuel ratio are generally controlled with various sized jets.
· Dry - This stage uses a switched Nitrous Solenoid which provides a dry shot of Nitrous (the solenoid setup provides only the Nitrous and the ECU needs to add the
extra Fuel to match it). The NOS flow is controlled by a jet or jets somewhere in the hardware and is assumed to have a constant mass flow.
· Wet Progressive - This stage uses 2 PWM controlled Solenoids which provide both NOS and fuel already mixed at the correct NOS to fuel ratio. The ECU
controls the total flow rate of both NOS and fuel together (therefore the amount of power added can be varied), the NOS to Fuel ratio is controlled by Jet sizes in
the hardware.
· Dry Progressive - This stage uses a PWM controlled Nitrous Solenoid which provides a dry shot of Nitrous (the solenoid setup provides only the Nitrous and the
ECU needs to add the extra Fuel to match it). The Nitrous flow rate is controlled by the PWM duty cycle, the ECU must inject the additional fuel in proportion to the
Nitrous flow to maintain the desired NFR (Nitrous to Fuel Ratio).
Voltage Compensation
Only visible when using Wet Progressive or Dry Progressive modes.
Used to select whether or not the output Duty Cycle should be adjusted as battery voltage changes to try and keep the amount of Nitrous delivered consistent across a
range of voltages.
When the battery voltage is 14.0V the duty cycle will be as specified in the table but higher voltages will result in a lower output Duty Cycle and lower voltages will result
in a higher output Duty Cycle.
Enable Input
The selected input must be active for the stage to be active, can be used to add extra lockouts for each stage or to enable individual stage control from a Keypad or
switch. Set to Always On if you aren't wanting to use this lockout. An example of this input would be to enable the spool stage when the transbrake or two step is
active.
Output
Used to select the output that the Nitrous Solenoid has been wired to. Note the list of outputs may be different between the progressive and non progressive modes if
not all output are PWM capable.
Frequency
Only visible when using Wet Progressive or Dry Progressive modes.
Used to set the Frequency of the PWM output to the Nitrous Solenoids. Check the technical specifications of your particular solenoids to find a suitable value.
It is important to note this trim is a constant mass fuel flow rather than a percentage adder as most other fuel trims in G4X are. The intent is to always add the correct
mass of fuel in proportion to NOS flow to achieve the desired NFR (Nitrous to Fuel Ratio) regardless of the variation of the normal fuel injection pulse width due to
engine speed and load etc.
The Units for this trim are %InjDC when using Traditonal Fuel Equation Mode or g/s when using one of the Modelled Fuel Equation Modes.
· %InjDC - The value specified is a percentage of the maximum fuel flow per cylinder. For example if your injector has a flow rate of 1000cc/min per cylinder, a value
of 10% will give you an extra 100cc/min of fuel per cylinder regardless of engine speed or load.
· g/s - The value specified is in grams of fuel per second and so a value of 10 would be 10 extra grams per second.
Set up Notes:
The aim of the Nitrous fuel trim is to add the correct amount of fuel to achieve the desired Nitrous to Fuel ratio. The NFR is based on mass flow. Many of the Nitrous
hardware manufacturers tend to use US units of lb/hr for Nitrous flow. To calculate the amount of fuel we need to add we need 2 pieces of data;
1. Nitrous mass flow (at 100% DC if using progressive). You can either approximate this based on the manufacturers quoted kit/jet “power rating”, using a rule of
3.6lb/hr of NOS per 1HP, or the manufacturer may provide a datasheet referencing jet size and pressure etc, or you can do a flow test yourself. The flow test can be
fairly crude – you weigh the bottle before the test (in lbs), set up the ecu to activate the solenoid for 5 seconds, then weigh the bottle again to determine how much
mass was lost in 5 seconds, multiply the lbs lost by 720 to convert to lb/hr. Note the bottle should be heated to the correct temperature/pressure for the flow test.
2. Desired NFR. There are some general rules that can be applied for this but mostly this comes from experience. The kit manufacturer may have a recommendation.
For dry systems a safe NFR starting point is around 12:1 for petrol/gasoline , 7.2:1 for Ethanol or 6.4:1 for Methanol.
With these 2 pieces of data we can calculate the required fuel mass flow addition by dividing the N2O mass flow by the desired NFR. As an example lets say we had a
kit with a “100HP” NOS jet. We multiply 100HP by 3.6 to arrive at an approximate NOS mass flow of 360lb/hr, we now divide this by 12(NFR) to arrive at a fuel
requirement of 30lb/hr. Link ecu uses g/s for mass flow units so to convert lb/hr to grams per second you divide lb/hr by 7.94. The 30lb/hr fuel requirement is equal to
3.78g/s.
If using modelled fuel equation we can enter this 3.78g/s fuel requirement directly into the Nitrous Stage X fuel table (if using progressive then 3.78g/s fuel flow would
be for 100% N2O solenoid DC with proportionally less for lower N2O duty cycles.
If using traditional fuel equation there is a further step required because the ECU is unaware of injector size, the nitrous stage X table uses %InjDC (percentage of
Maximum total Injector Flow). If we divide the required Nitrous fuel addition mass flow by the total injector flow rate (in lb/hr) and multiply by 100 we will arrive at the “%”
number to enter into the Nitrous Stage X fuel table. Using the values from the above example, if we have 4 injectors rated at 80lb/hr (320lb/hr for 4 injectors) then for
30lb/hr we would need (30/320) x 100 = 9.4%.
Example table set up for Dry progressive with modelled fuel equation:
The NOS solenoid DC is used as the axis so the fuel mass will be automatically adjusted if you change how much Nitrous is commanded. Most NOS solenoids will be
“wide open” above about 90%DC, so for 90% and above I have the same fuel mass. Below 90% it is just linearly interpolated from 0%.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 124 of 235
Nitrous Fuel Trim for Dry Progressive Stage and Modelled Fuel
Example table set up for Dry progressive based on the traditional fuel equation example given above:
Nitrous Fuel Trim for Dry Progressive Stage and Traditional Fuel
For a non-progressive dry setup just a single fuel value is all that is needed:
In is important to note that USA tend to use “Gasoline Equivalent” NFR’s and Injector mass flow rates - that is they tend to ignore the density differences between the
fuels and just treat them as they are all the same as gasoline. The quoted NFR’s above take fuel density into account (so will be a little different that what you may see
quoted by some kit manufacturers) and if you use modelled fuel equation the fuel density will be factored into the fuel mass flow equation also.
Nitrous Stage X DC
Only visible when using Wet Progressive or Dry Progressive modes.
A GP Table used to set the Nitrous Solenoid Duty Cycle while this stage is active. Note the Fuel and Ignition Trims will still follow their respective tables so a 0% duty
cycle in this table will cause the output to show inactive but will not turn off the fuel or ignition trims.
For Drag racing the stage DC table will usually be set up 2D with the Race timer on the axis. Be aware most NOS solenoids will be very non-linear below about 15%
DC and above about 90% DC. So you would usually have 15% commanded in the cell where the stage first become active and ramp it in from there. Consider the
solenoid wide open at 90%DC.
Example:
When stage 1 activates at race time 1s, the solenoid would activate at 15%DC. The NOS would be at full flow at 3s.
Hint – the keyboard short cut “K” will swap the table to surface view mode which gives the view that may be more familiar to other Nitrous controllers.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 125 of 235
Stage Tables:
These tables are used to set lockout values for each stage, column 0 applies to Stage 0 (Spool), column 1 applies to Stage 1 and so on.
Output
Used to select the output that the Bottle heater has been wired to. This setting needs to not be Off for the other bottle control settings to become visible.
Target Pressure
This setting is only visible when the Bottle Heater Output is not set to Off.
Used to set the desired pressure, the bottle heater output will be active until the Nitrous Pressure is greater than this value.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 126 of 235
Hysteresis
This setting is only visible when the Bottle Heater Output is not set to Off.
Used to set how far below the Target Pressure the Nitrous Pressure has to be before the Bottle Heater Output is turned on. The bottle heater output will become active
when the Nitrous Pressure is less than the Target Pressure minus the Hysteresis value.
G4X and G5 ECU Tuning Functions > Motorsport > Race Timer
Race Timer
The race timer feature is typically used as a reference to control power adders, power management, or altering the tune in other ways based on elapsed time from the
race start/launch.
Commonly used in drag racing with the power management function, in this application the activation input (input that starts the timer) would typically be the release of
the transbrake button, launch control, or a clutch switch.
Other use examples could be ramping up the RPM limit slowly from launch in a Jetski application to prevent pump cavitation or adding extra fuel to cool combustion
temps after sustained WOT in a land speed application.
Settings:
Mode
This setting is used to turn the function on and define how the activation switch is used.
· Off - The Race Timer Function is off.
· Release of Switch - The Race Timer Function is on and becomes active when the Activation Input goes from Active to Inactive. This would be the typical mode for
drag racing. e.g. On release of the Clutch.
· Press of Switch - The Race Timer Function is on and becomes active when the Activation Input goes from Inactive to Active. This would be typical in other forms
of racing where a GP output is used as the activation input to determine the race start conditions.
Note: if the Reset Input is set to off then the race timer will reset to zero whenever the Activation Input is opposite of the start condition (when the Activation Input is
active for "Release of Switch" mode or when it is inactive for "Press of Switch" mode).
Activation Input
This setting is used to select which input is used to activate the Race Timer. A GP Output & Virtual Aux can be used if you need more complex or multiple conditions to
start the timer. When there is no Reset Input selected this input is also used for resetting the Race Timer.
Pause Input
This setting is used to select which input is used to pause the Race Timer. When this input becomes active and the Race Timer is active the Race Timer will stop
counting and remain at its current value until the Pause Input stops being Active.
An example of when this would be used is would be when the driver needs to “pedal” the throttle.
Reset Input
This can be used if a separate switch or other complex conditions are needed to reset the timer. When the selected input becomes active the Race Timer value is reset
to its armed state and a value of 0. When no Reset Input is set the Activation Input is used to reset the Race Timer.
Max Time
This setting is used to set the maximum Race Timer time, once the Race Timer reaches this value the status is set to Finished and the timer stops counting. Set this to
a value that is slightly longer than your longest expected run time
If using the Power Management feature it will be set to inactive when this max time reached.
G4X and G5 ECU Tuning Functions > Motorsport > Power Management
Power Management
The power management function is used to manipulate engine power to match the traction level available on the track. Mostly used in categories of racing where wheel
slip based traction control is not allowed or is not useful due to the front wheels not being in contact with the track surface. It uses a target speed table (can be
driveshaft RPM or wheel speed) and usually referencing Race Time to determine the ideal wheel speed, the ecu uses ignition retard and or cuts to reduce power if the
measured wheel/shaft speed exceeds the speed target.
Note: When the Race Timer is turned On Power Management is only active while it is Active or Paused (and the Disable Input is not Active). When the Race Timer is
turned Off Power Management is active whenever the Disable Input is not Active.
Settings:
Mode
This setting is used to turn the function on and define how the activation switch is used.
· Off - The Power Management Function is off.
· ON - The Power Management Function is on.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 127 of 235
Speed Source
This input selection allows a large range of options, Wheel speed, VSS or Driveshaft RPM would be common sources. For driveshaft RPM, first set up and calibrate a
GP RPM input in the digital inputs folder, then assign the GP RPM parameter as your speed source. In this case the target speed, target speed error and max speed
lockout will be in units of driveshaft RPM. The speed from the selected speed source will be compared against the value from the Speed Target Table (Speed Target
runtime) to get the Power Management Speed Target Error. If a wheel speed or GP speed input is used then the Speed Target runtime,Speed Target Error runtime
and Max Speed Lockout will be in MPH or km/h units.
On Delay
This setting is only visible when the Race Timer is on.
The power reduction will not be enabled until this delay has elapsed. This may be used to prevent the power management from interrupting the launch/start sequence.
This delay is based on the Race Timer. A value of zero means the power management will be enabled as soon as the race timer is running. A value of 0.20s means the
power management will not apply any cut/retard until the race timer reaches 0.20s.
Disable Input
Power Management is disabled when the selected Disable Input is Active.
Cut Mode
This setting allows the user to select the type of Cut that Power Management applies, Ignition or Fuel Cut.
In this example the driveshaft RPM would be allowed to exceed the target speed by 200RPM (-200RPM error), above that cut would start to come in and by -300RPM
error there would be a 10% cut applied, at -500RPM or more error there would be a max cut of 30% applied.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 128 of 235
In this example no ignitin trim would be applied until the driveshaft RPM exceeded the target by 50RPM (-50 Error Row), above that the ignition would be retarded by
10deg at -100RPM error and 30deg retard by -200RPM error. If the driveshaft speed fell 200RPM below target speed, then the ignition would be advanced by up to 5
degs in the last half of the track (300RPM error row, 5sec column).
With the combination of this table and the cut table example above we would have combined behaviour like this; Driveshaft speed would be allowed to exceed target by
up to 50RPM with no intervention. Between -50 and -200RPM, only retard would be used to reduce speed, above -200RPM error, max retard and the variable cut level
would be used.
G4X and G5 ECU Tuning Functions > Motorsport > Traction Control
Traction Control
Note: Traction Control is not available on the G4X Atom, Monsoon, and Storm.
Traction Control is designed to provide controlled tyre slip which can greatly improve vehicle safety and drive-ability. In a lot of cases Traction Control will also allow the
vehicle to accelerate faster by preventing excess wheel spinning.
Traction Control is a Motorsport only feature and is not recommended for use on public roads or as a replacement for OEM traction or stability control systems.
WARNING: Incorrect setup or use of Traction Control could result in an accident or cause harm to the vehicle and/or its occupants. It is essential that Traction Control
is configured and tested in a safe controlled environment.
Operation
Traction Control uses the Slip runtime value as its primary source to determine tyre slip. It is essential that the vehicle has wheel speed sensors fitted, wired and
calibrated to allow the ECU to determine when there is a difference in speed between the driven and non-driven wheels. ABS modules can also often be used to get
precision wheel speeds over a CAN bus. Gear detection should also be correctly configured if per gear Traction Control setting is required.
Traction Control provides lockouts to allow it to be disabled under low speed, RPM and throttle conditions. There is also the ability to use a driver pushed button to
manually disable and re-enable Traction Control.
Once operating, Traction Control constantly monitors Slip. When Slip exceeds the value in the Slip Threshold Table, Traction Control limits engine torque by means of
fuel or ignition event cuts and ignition retard. Closed loop PID control is used to maintain Slip at the desired value.
Two Slip Threshold Tables can be configured to allow different amounts of tyre slip. These can be used for a wet/dry or road/track setup.
If a Traction Light is required a GP Output can be configured to look at the status of the disable input (light on when traction disabled) or the Traction status to turn the
output on when traction control kicks in. If a flashing light is desired a GP PWM with a low frequency can be used to do this.
Traction Control settings are detailed individually below.
Settings:
Traction Mode
This setting is used to turn Traction Control, Off, On or disable it. When it is set to disabled the tables and input settings remain but but no traction control is performed.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 129 of 235
RPM Lockout
Traction Control will be disabled when the Engine Speed is below this value.
Speed Lockout
Traction Control will be disabled when the Driven Wheel Speed is below this value.
Note: If Speed Lockout is set too low, Traction Control will activate during launches or possibly even in the pits during tight turns.
Active Tables
Selects the number of Slip Threshold Tables used and whether or not an overlay table is present. When two tables are selected the Table 2 Activation setting will
become visible.
Table 2 Activation
Used to select the input that switches between Slip Threshold Table 1 and Slip Threshold Table 2.
Overlay Table
Used to add an extra dimension of control to the Slip Threshold Tables. The value in this table is applied to the active Slip Threshold Table value as a percentage
multiplier.
Example: value of 50% in the Slip Threshold Table and a value of 3% in the overlay table comes out as 50 * (1 + 3/100) = 51.5% Slip allowed
The ISC system regulates the engine idle speed by adjusting the amount of air which is by-passed around the throttle or by holding the throttle slightly open in the case
that an ethrottle is used. Idle speed control can be achieved using a solenoid valve (two or three wire), a stepper motor actuated valve (four terminal or six terminal) or
Electronic Throttle Control.
A description of each mode and it's requirements is provided in the Idle Actuator page.
Idle speed can be controlled using Open Loop or Closed Loop and Idle Ignition Control is also available for advanced users as additional control to the open or closed
loop setup.
· Open Loop control simply sets the position of the ISC controller to a base position specified in the Idle Base Position Table.
· Closed Loop control compares the actual engine idle speed with the desired engine speed set in the Idle Target RPM Table and automatically adjusts to correct the
difference between the two.
· Idle Ignition control provides settings to retard and advance the ignition during idle to help smooth the engine speed changes.
Open Loop idle control is sufficient for most applications and is easy to setup, Closed Loop idle control will produce a more stable and repeatable idle but is more
complex and time consuming to setup. In both Open Loop and Closed Loop we can compensate engine loads using various corrections that are applied and removed
when loads are applied to or removed from the engine. Closed Loop control also has Idle Up settings that can increase and decrease the target rpm as loads are
applied to and removed from the engine.
Runtime Parameters
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 130 of 235
· Idle Target:
Current Idle Speed Target.
· Idle Position:
Current Idle Speed Position which can be % Duty, Steps or % of E-Throttle Position.
G4X and G5 ECU Tuning Functions > Idle Speed Control > Open Loop ISC
Open Loop ISC
Open Loop Idle Speed Control provides a simple means of regulating idle speed. This mode of Idle Speed Control allows the tuner to set the Idle Speed Controllers
position based on one or more engine parameters such as coolant temperature. While the Idle Base Position table only allows for control based on up to two
parameters (one per axis), additional compensations can also be applied for loads that may become active at idle such as A/C compressors or engine fans.
The following checks should be made before attempting to setup the idle control system:
· Ensure the idle control valve/stepper/E-Throttle is correctly plumbed and wired to an auxiliary output/s (note that some actuator types require specific output
pins). If using Electronic Throttle control ensure that this is properly configured.
· Ensure that the Actuator's settings have been setup correctly.
· Adjust the value in the Idle Base Position Table for the current engine coolant temperature, Changing the value should result in a change in engine speed,
increasing the value should increase engine speed and vice versa. The idle actuator should be able to adjust engine speed from at least 300 RPM above
and below the desired idle speed at all engine temperatures. Note that when using Ethrottle a very small change in throttle position will result in a large
variation in engine speed.
The following procedure provides a general method for setting up open loop idle speed control. This procedure assumes that an Idle solenoid or stepper has been
correctly wired and configured and that the engine in its final state of tune.
Note: In open loop ISC modes the Idle RPM table has no affect on the control of the idle solenoid/stepper/e-throttle and is only visible when using Idle Ignition Control.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 131 of 235
Closed Loop Idle Speed Control provides a more complex idle control system that when correctly setup produces a very stable and repeatable idle speed control.
Closed Loop ISC continuously looks at the current engine speed and compares it with the desired idle speed (Idle Target) so that adjustments can automatically be
made. Closed Loop ISC control requires that all lockout conditions are met before it will automatically adjust idle speed.
· Ensure the idle control valve/stepper/E-Throttle is correctly plumbed and wired to an auxiliary output/s (note that some actuator types require specific output
pins). If using Electronic Throttle control ensure that this is properly configured.
· Ensure that the Actuator's settings have been setup correctly.
· Adjust the value in the Idle Base Position Table for the current engine coolant temperature, Changing the value should result in a change in engine speed,
increasing the value should increase engine speed and vice versa. The idle actuator should be able to adjust engine speed from at least 300 RPM above
and below the desired idle speed at all engine temperatures. Note that when using Ethrottle a very small change in throttle position will result in a large
variation in engine speed.
Testing has proved that a very reliable idle control can be achieved by applying closed loop compensation to a correctly setup Open Loop Idle Speed Controller.
The following procedure describes the recommended method of configuring closed loop idle control
1. Perform the Open Loop ISC Control Setup Procedure first (DO NOT skip this step!)
2. Set Idle Speed Mode to Closed Loop.
3. Set all Idle Up values to zero (Engine Fan Idle Up, Power Steer Idle Up and Gear/Drive Idle Up).
4. Set Integral Gain to 1.
5. Locate the Idle Position and Idle Target runtime values under the Aux Functions tab (R or F12).
6. Enter the desired idle target RPM values in the Idle RPM Table.
7. Starting with a cold engine, start the engine.
8. As engine coolant temperature increases, for each cell in the Idle Base Position Table:
· Allow idle RPM to stabilise at that temperature.
· Read the Idle Position runtime value. This is the position the closed loop system has determined is required to achieve the target idle RPM.
· Enter the value back into the appropriate cell in the Idle Base Position Table.
9. Fill in the cells in the Idle Base Position Table above and below the engine coolant temperature operating range with suitable values.
10. OK, at this stage the basic Closed Loop ISC setup has been completed. It is now time to tune the closed loop system for optimum response to changes in
engine load.
11. Tune Integral Gain to obtain the best response. A good test is how well the engine returns to idle after a free rev
· When using an ISC Stepper Motor, start with lower numbers in the Idle Base Position Table (eg 50) rather than higher numbers. That will prevent the stepper
motor from winding out too far during reset and bottoming out (bottom out causes loss of a known position). This will cause a higher idle RPM, but ensure
that the stepper is in a known position while setting up idle speed control. Also set up in open loop mode first.
· When using an ISC Stepper Motor, it may be necessary to cycle the key a few times before a consistent stepper position is found.
· Keep ignition values similar around the low RPM/load cells. Ignition timing has a significant effect on idle speed and having large changes between ignition
cells can cause an oscillating (hunting) closed loop idle. Ignition timing can also be used to obtain a higher/lower idle RPM if required.
G4X and G5 ECU Tuning Functions > Idle Speed Control > Idle Ignition Control
Idle Ignition Control
Warning: This function is for experienced tuners only and requires knowledge of closed loop control systems.
Idle Ignition Control provides a means of controlling Idle Speed using ignition timing adjustment, it works best in conjunction with Closed Loop idle Speed Control.
The following settings are available for configuring Idle Ignition Control:
· Target Mode:
Used to set whether the Ignition Idle Target is a single value or is interpolated from a 2D table.
· Ignition Control
Turns the Ignition Control function ON or OFF.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 132 of 235
· Proportional Gain:
Gain with respect to the difference between actual value and target value
· Derivative Gain:
Gain with respect to the change in difference between actual value and target value.
It is also necessary setup all of the regular Idle Speed settings as specified in Open Loop ISC or Closed Loop ISC.
Idle Ignition Control uses the same Lockouts as Open and Closed Loop ISC.
G4X and G5 ECU Tuning Functions > Idle Speed Control > Idle Actuator Type
Idle Actuator Type
Four basic idle actuator types are supported by Link ECU's, these are 2 wire Solenoids, 4&6 terminal Stepper Motors, Ethrottle and 3 wire Solenoids. Each actuator
type has it's own requirements and settings as outlined below.
2 Wire Solenoid
Solenoid Idle Speed Actuators work by using a PWM Signal with a varying Duty cycle which controls how open the solenoid is. Idle Solenoids come in two common
types, 2 wire and 3 wire with 2 wire solenoids requiring a power feed and one auxiliary output and 3 wire requiring a power feed and two auxiliary outputs, this mode
supports the type that only uses one auxiliary output. Some idle solenoid actuators aren't designed to be driven to the ends of their travel and the Min and Max Clamps
when set properly can help prevent issues arising from this. The ISC Override settings in Antilag can set the actuator position outside of the min/max clamp range so
be aware of this when setting it up.
· Output - The Auxiliary output to be used for opening the idle speed solenoid.
· PWM Frequency - The frequency at which the idle solenoid will be controlled, a typical value would be 200Hz
· Voltage Compensation - When turned on the Duty Cycle of the Auxiliary is adjusted based on how far the battery voltage is from 14V (while still being clamped
between the min and max). This means that the actual position of the solenoid should be more consistent with the desired position over variations in the vehicle
voltage.
Stepper
A Stepper Idle Actuator requires 4 Auxiliary outputs to control a stepper motor that opens and closes the idle speed valve. On Link ECU's the 4 Auxiliary outputs used
must be Aux5-8. Stepper motors usually come in two different types, Unipolar usually identified by having 6 wires and Bipolar which is usually identified by having only
4 wires. Unipolar stepper motors require a power feed and the Auxiliary outputs controlling it only need to pull to ground. Bipolar stepper motors don't require a power
feed as the Auxiliary outputs controlling it pull both to ground and to 12V.
Idle stepper motors need to reset either on ecu start up or ecu power off so that they are in a known position when the ecu starts controlling them, this can require ECU
Hold Power to be set up if the stepper is being reset on power off.
Unipolar (6 wire) stepper motors can force the ecu to stay powered on after the normal ecu power supply is turned off if wired wrong, the power supply to the stepper
motor can backfeed through the auxiliary outputs and power the ecu. This means that when wiring up a stepper motor care needs to be taken to ensure that the
stepper power must be taken from the same power source as the ECU (e.g. the ECU Hold Power Relay).
The ISC Override settings in Antilag can set the actuator position outside of the min/max clamp range so be aware of this when setting it up.
· Stepper Motor Type - This setting allows the user to select the type of stepper motor being used, the reverse types simply treat the opposite direction as open and so
are to be used if you find the stepper is being driven in the wrong direction. Swapping Aux 5&6 around or swapping Aux 7&8 around will also change the direction of
the motor, do not swap both.
· Stepper Motor Steps - The number of steps the stepper motor has over it's range of operation, this value determines what 50% or any other percentage of open
means.
· Stepper Reset - This setting determines when the stepper motor resets it's position, at Key-On, Key-Off (requires ECU Hold Power to be set up) and Key-On Fuel
Lockout which prevents fuel from being injected and ignition from occurring until the stepper motor is in position to start (the one exception to this is that pre crank
fuel will still be injected but without ignition this will not fire the motor). Some cars have enough flow through their stepper idle control to hold the engine at a
significant engine speed and Key-On Fuel Lockout can be used to prevent a surge in engine speed when the car starts before the stepper motor is in the correct
position.
· Stepper Hold Duty Cycle - This setting controls the Duty Cycle used to hold the stepper motor in position when it is not moving. A lower Duty Cycle when stationary
can help prevent overheating of the stepper motor, a typical value would be 20-30%.
Ethrottle
One of the many bonuses of using an Ethrottle is that it doesn't require a separate idle speed actuator, the throttle plate is simply held slightly open when idle
conditions are met.
When using an Ethrottle as the idle actuator the position of the throttle is controlled by a combination of the idle position and Ethrottle position in such a way that the
throttle responds immediately to pedal input while in idle and there is a smooth transition between the idle target and accelerator pedal target as the pedal position is
increased up until a short distance past the idle target position where the throttle position becomes solely dependant on the EThrottle target table. This is done to
ensure a smooth and responsive entry and exit from idle speed control without incurring undershoot of throttle position.
The use of an Ethrottle idle actuator also means that you have the ability to flow a lot more air through your idle actuator than other forms and so the Min&Max Clamp,
Base Position Table and various offset values need to be much lower than they would for a solenoid or stepper actuator. We typically recommend a Max Clamp of 10%
or less to ensure that the engine isn't inadvertently revved too high under idle conditions.
Note that the ISC Override settings in Antilag can set the actuator position outside of the min/max clamp range so be aware of this when setting it up.
Note that when using Ethrottle for idle control a very small change in throttle position will result in a large variation in engine speed.
3 Wire Solenoid
Solenoid Idle Speed Actuators work by using a PWM Signal with a varying Duty cycle which controls how open the solenoid is. Idle Solenoids come in two common
types, 2 wire and 3 wire with 2 wire solenoids requiring a power feed and one auxiliary output and 3 wire requiring a power feed and two auxiliary outputs, this mode
supports the type that only uses two auxiliary outputs. Some idle solenoid actuators aren't designed to be driven to the ends of their travel and the Min and Max Clamps
when set properly can help prevent issues arising from this. The ISC Override settings in Antilag can set the actuator position outside of the min/max clamp range so
be aware of this when setting it up.
· Output - The pair of Auxiliary outputs to be used for opening the idle speed solenoid.
· PWM Frequency - The frequency at which the idle solenoid will be controlled, a typical value would be 200Hz
G4X and G5 ECU Tuning Functions > Idle Speed Control > Idle Correction Settings
Idle Correction Settings
Note: Idle offsets and idle up values are not applied cumulatively, the largest offset and the largest idle up that are currently active are applied.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 133 of 235
Start-up Corrections
When the engine is started it is often useful to hold the idle slightly higher for a short period of time, this functionality is controlled by these 3 settings:
· Startup Offset Table - Specifies the amount of offset to add to the idle actuator base position during an engine start.
· Startup Hold Time - How long in seconds the start-up idle offset correction is applied following the ecu first seeing engine speed before it starts to decay.
· Startup decay time - The length of time over which the start-up offset will be smoothly removed from the base position until it is completely removed.
Gear/Drive Corrections
Being in Gear or in Drive can add extra load to an engine causing a noticeable dip in the idle speed and so it is often preferable to increase the amount of air provided
to the engine through the idle actuator when this occurs.
· Gear/Drive Offset - Specifies the amount of offset to add to the idle actuator base position while the Neutral/Park Switch is inactive.
· Gear/Drive Idle Up - Specifies how much to increase the RPM target by while the Neutral/Park Switch is inactive. Only used in Closed Loop Idle Speed Control.
Dashpot Corrections
Dashpot is a term for a mechanical damping device. The Dashpot settings in Link ECU's allow a configurable software based damping of the Idle Speed Control to help
ensure entry into idle is smooth and controlled. The Dashpot is activated upon entry into idle speed control after having been locked out.
· Dashpot Offset - Specifies the amount of offset to add to the idle actuator base position while the Dashpot is active.
· Dashpot Hold Time - How long in seconds the Dashpot Offset will be applied for before it starts to decay
· Dashpot Decay Time - The length of time over which the Dashpot Offset will be smoothly removed until it is completely removed.
Idle Dashpot
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 134 of 235
GP Idle Corrections
In some cases an engine load is switched manually by the driver or an external system, GP Idle corrections enable an idle up and offset to be applied when a DI pin
becomes active providing better control of the idle speed.
· GP Idle Source - Specifies the input pin being used to control the GP Idle Offset and GP Idle Up.
· GP Idle Offset - Specifies the amount of offset to add to the idle actuator base position while the GP Idle DI is active.
· GP Idle Up - Specifies how much to increase the RPM target by while the GP Idle DI is active. Only used in Closed Loop Idle Speed Control.
AC Correction
Turning the AC Clutch on adds load to the engine which can result in a noticeable dip in the idle speed and so it is often preferable to increase the amount of air
provided to the engine through the idle actuator when this occurs.
· AC Offset Table - Specifies the amount of offset to add to the idle actuator base position while the AC Request Switch is active. This is done on the AC Request
switch rather than the AC Clutch output as it gives the idle time to ramp up before the AC Clutch kicks in (AC Output has Clutch Delay setting) and because in the
majority of cases the AC Clutch will be active at idle when requested.
· AC Idle Up - Specifies how much to increase the RPM target by while the AC Request is active. Only used in Closed Loop Idle Speed Control.
refer to Closed Loop ISC for information on the Deadband and Integral Gain settings.
G4X and G5 ECU Tuning Functions > Idle Speed Control > Idle Lockouts
Idle Lockouts
If any of the lockout conditions are true, the idle speed control will be disabled.
Speed Lockout
Disabling the idle speed control while moving can help prevent idle speed undershoot when coming to a complete stop as it allows a more aggressive idle speed
control setup without affecting driveability.
· Speed Lockout Source - Can be set to OFF, Driven Wheel Speed, Driving Wheel Speed, In Driving Gear or GPS Speed. Controls whether or not speed lockout is
applied and if it is it controls what speed source is used for the comparison.
· Speed Lockout - Specifies the maximum speed at which idle speed control will be applied, if the vehicle speed is greater than the lockout value idle speed control is
turned off.
In Driving Gear option causes ISC to be locked out when the In Driving Gear RTS is active, this allows a speed lockout without a speed input but it does require a gear
input such as an analog position sensor from a sequential gearbox.
APS/TPS Lockout
This setting enables control of the point at which idle speed control turns on and off when going on and off the accelerator. The value is compared against APS (Main)
when Actuator Type is set to Ethrottle and is compared against TPS (Main) when it is not. The lockout is applied (Idle control turned off) when the applicable position
sensor is greater than the value set.
RPM Lockout
This setting enables control of the point at which idle speed control turns off as the engine speed increases and back on as it decreases. When in closed loop mode or
when using idle ignition control the value specified is added to the rpm target to get the lockout value and when in open loop with no ignition control the value specified
is used directly as the lockout value. The lockout is applied (Idle control turned off) when the engine speed is greater than the lockout value.
MAP Lockout
This setting enables control of the point at which idle speed control turns on and off as the MAP value changes, this setting is particularly useful on vehicles without a
proper tps sensor. The lockout is applied (Idle control turned off) when the MAP is greater than the value set.
G4X and G5 ECU Tuning Functions > Electronic Throttle Control
Electronic Throttle Control
Note: Monsoon and Storm ECUs can control an EThrottle using an external controller, Xtreme and Fury ECUs can control an EThrottle with either the internal
controller or an external controller. Information on the Link controllers can be found here.
The Electronic Throttle Control (E-Throttle) Function provides the user with total control of an electronically actuated throttle plate. The system includes multiple 3D
tables to allow for multiple switchable setups, Diagnostics and failure detection to ensure safety, auto calibration functionality for both the throttle position and
accelerator position, Idle Speed Control integration, Anti-Lag integration and more.
The G4X and G5 E-Throttle system is designed to work with the majority of factory throttle actuators as well as a variety of aftermarket electronic throttle actuators and
position sensors. Up to three 3D tables are provided to allow the tuner to customize the actual throttle opening based on driver accelerator position, engine speed or a
variety of other variables and to switch between different setups at will.
Safety is the most important requirement of Electronic Throttle Control, the ECU utilises a dual redundancy system (two throttle position sensors and two accelerator
position sensors) to ensure the throttle plate is under control at all times. The system is continually monitored for potential faults, and on detection of any faults the
system will be shut down.
WARNING: Electronic Throttle Control is an advanced feature and should only be used by an experienced installer and tuner. DO NOT attempt to configure any part of
the Electronic Throttle Control system if you are at all unsure or do not have sufficient experience to do so.
WARNING: Every effort has been made to ensure that the Electronic Throttle Control system is reliable and safe. However, incorrect installation, wiring and setup can
cause unexpected throttle operation. If at any stage you are unsure, immediately contact your Link dealer for advice. Link provides Electronic Throttle Control
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 135 of 235
functionality 'as is' and accepts no responsibility for the use of Electronic Throttle Control or any consequential damage that may directly or indirectly arise from the use
of Electronic Throttle Control.
WARNING: The electronic throttle mode 'Setup Mode' is provided only for configuring the system with the engine not running - all safety features are disabled. The
vehicle MUST NOT be driven in 'Setup Mode' mode.
Requirements
The following hardware is required for a working Electronic Throttle Control installation:
1. An ECU supporting E-Throttle (either internally or with external controller).
2. An electronic throttle actuator, the actuator must be driven by a DC motor and must be able to be driven over the entire range of throttle plate movement. Note that
some actuators only allow the throttle plate to be driven closed (i.e. for traction control).
3. A dual throttle plate position sensor (TPS). This sensor should be 5V supplied with two differently spanned output signals.
4. A dual accelerator pedal position sensor (APS). This sensor should be 5V supplied with two differently spanned output signals.
5. An isolating relay to disconnect the Aux 9/10 supply voltage.
It is absolutely essential that all Electronic Throttle Control wiring is as per the wiring and installation manual diagrams. All sensors must be grounded correctly to the
ECUs sensor ground and an ECU controlled isolating relay installed. Note that most factory vehicles will be wired in a similar manner. DO NOT power the ECUs Aux
9/10 (when using the Aux 9/10 H-Bridge) power supply pin (or external controller) until the ECU has been configured for Electronic Throttle Control operation and the
same goes for the power pin on external H-Bridges. Doing so may result in the throttle plate being driven hard open or closed which may damage the throttle actuator
motor or blow fuses.
Setup
The following topics provide details on the use of Electronic Throttle Control:
· EThrottle First Time Setup
· EThrottle APS Setup
· EThrottle TPS Setup
· Electronic Throttle Control Safety Features
The status of the electronic throttle system can be viewed on the E-Throttle tab of the Runtime Values window (F12 key).
G4X and G5 ECU Tuning Functions > Electronic Throttle Control > E-Throttle First Time Setup
E-Throttle First Time Setup
The following procedure outlines the essential steps that must be performed for a working Electronic Throttle Control installation.
WARNING: Electronic Throttle Control is an advanced feature and should only be used by an experienced installer and tuner. DO NOT attempt to configure any part of
the Electronic Throttle Control system if you are at all unsure or do not have sufficient experience to do so.
At any time, faults or problems will be displayed as ECU fault codes. These will appear in the top status bar in PCLink and also in the ECU Status runtime values. As
these fault codes are permanently stored, the clear fault codes procedure must be followed after each fault code has been dealt with. Click HERE for information on
clearing ECU fault codes.
1. Wiring - All Electronic Throttle Control hardware must be correctly installed and wired as per the diagrams found in the ECUs Wiring and Installation Manual.
2. Before Power Up - Remove the Electronic Throttle power supply isolating relay (or external controller power supply) before first powering up the new installation to
prevent any chance of power being unexpectedly applied to the actuator.
3. Enable Electronic Throttle Control - In PCLink, set the Electronic Throttle Control Mode to 'Setup Mode'.
4. Set PWM Output and E-Throttle Relay to the outputs that they have been wired up to
5. Setup the rest of the E-Throttle Setup window including setting appropriate DC clamp values.
6. Setup the Target Table - The target table should be configured to give the desired throttle plate vs accelerator position movement.
7. In the Accelerator Position Sensor window set the APS (Main) and APS (Sub) Source settings
8. Set the rest of the APS settings and calibrate it either manually or using the APS Calibration function.
9. In the Throttle Position Sensor window set the TPS (Main) and TPS (Sub) Source settings
10. Set the rest of the TPS settings, at this point the TPS can be calibrated manually, to calibrate it using the automatic TPS Calibration function a few more steps will
need to be done first.
11. Connect Power - Install the isolating relay (connect power to the external controller). Watch and listen in case the throttle plate snaps open unexpectedly.
12. At this point the TPS Calibration function can be used, first ensure the throttle body is clear of any objects. If the calibration states that the H Bridge Polarity is
reversed this can be rectified by changing the Active State of the first Aux that is being used for the PWM Output (Aux 9 when using Aux9/10).
13. Setup the Control Algorithm - Tune the throttle plate control algorithm if required.
14. Test Electronic Throttle Control - In PCLink, set the E-throttle Mode to ON. Clear ECU Fault Codes and check no fault codes return and that the throttle plate is
being controlled correctly.
WARNING: The electronic throttle mode 'Setup Mode' is provided only for configuring the system with the engine not running - all safety features are disabled. The
vehicle MUST NOT be driven in 'Setup Mode'.
Most Settings can only be configured when E-Throttle mode is set to Setup Mode or Disabled mode.
E-Throttle Mode
· OFF - Electronic Throttle Control is turned off.
· ON - Electronic Throttle Control is turned on and has all safety features enabled.
· Setup Mode - Electronic Throttle Control is turned on and has all safety features disabled. This Mode must only be used for configuring the System, the vehicle
MUST NOT be driven in this mode.
· Disabled - Electronic Throttle Control is turned off but the tables remain allocated and all settings remain visible.
PWM Output
Allows the user to select which pair of output pins will be used to control the E-Throttle motor, Aux1/2 & Aux3/4 require an External E-Throttle Controller whereas
Aux9/10 has a built in controller and can be connected directly to the E-Throttle motor.
The Active State of the first Auxiliary in the selected pair can be used to change the direction that the H-Bridge drives the E-Throttle.
For Toyota and Lexus E-throttle systems that have a clutch in the throttle body, wire the clutch ground to an Auxiliary Output and either set the 'E-throttle Relay' to that
auxiliary output or set the output Test (PWM) on and set the frequency to 250 Hz.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 136 of 235
PWM Frequency
Allows the user to set the frequency of the PWM Output Signals, typically a value of 500Hz-1kHz is appropriate. If using an external E-Throttle Controller the frequency
will be determined by that controller not the ECU and so this setting will have no effect.
Active Tables
Sets the number of target tables used.
Note: This setting is only visible on E-Throttle 1 but affects E-Throttle 2 as well.
Proportional Gain
Gain with respect to the difference between actual value and target value. (Typically around 7.00, must be checked).
Integral Gain
Gain with respect to the accumulated offset between actual value and target value. (Typically around 0.145, must be checked).
Derivative Gain
Gain with respect to the change in difference between actual value and target value. (Typically around 25.00, must be checked).
Max Clamp
Maximum % duty cycle that will be applied to the motor driver. (Typically around 90%, must be checked).
Min Clamp
Minimum % duty cycle that will be applied to the motor driver. (Typically around -90%, must be checked.
When Stalled
· Run Throttle - Throttle is controlled as per normal when engine speed is 0rpm.
· Quiet Throttle - Throttle Control will not operate when engine speed is 0rpm.
Note: This setting is only visible on E-Throttle 1 but affects E-Throttle 2 as well.
Fault Delay
Allows the user to set how long a fault condition must be active for before a fault occurs. The default value is 1s.
Note: This setting is only visible on E-Throttle 1 but affects E-Throttle 2 as well.
Target Table
This setting is only available on E-Throttle 2.
· E-Throttle 1 Target - E-Throttle 2 uses the same target tables as E-Throttle 1
· E-Throttle 2 Target - E-Throttle 2 has its own set of target tables (the same number as specified in the E-Throttle 1 Active Tables setting and uses the same Table
Activation inputs as E-Throttle 1.
Note: No throttle trims are applied to E-Throttle 2 Target when using the E-Throttle Target 2 Table (Idle, Gearshift, Torque Management, Cruise Control etc won't affect
the E-Throttle 2 position).
The E-Throttle Target Table provides a means by which the amount of throttle can be set.
One axis on the E-Throttle Target Table would typically be set to AP(Main), usually the Y axis. The other axis is typically set to Engine Speed but could be any
relevant parameter.
The value entered into the table represents the target position for the throttle plate. Numbers can range from 0% (fully closed) to 100% (fully open).
It is recommended on initial setup to set the table for a 1 to 1 ratio and adjust the targets as desired once the PID control has been tuned. More advanced tables can be
generated to provide more or less throttle plate to accelerator position ratios, for example, a race situation may see high target numbers at areas of low accelerator
position whereas a road application may have less throttle opening than the actual accelerator position to improve economy.
The following table gives an example of a typical full throttle table setup:
Notice some of the key features:
· It is recommended to use a 0% throttle target value at 0% APS when using E-Throttle idle control as the G4X and G5 idle software is set up to provide a smooth
and responsive entry and exit from idle which means any E-Throttle target greater than 0 will increase the actual idle position.
· A column of low throttle angles at 7200RPM to help limit the engine speed. (You may not want this in turbo charged applications as it can create turbo-lag).
· The accelerator to throttle ratio is not 1:1 but has been setup to give the driver greater control of low throttle angles.
Note that the first column of the table being 7000rpm means anything up to and including 7000rpm will use those values and anything between 7000 and 7200 rpm
will be interpolated.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 137 of 235
Application Example
You may want to create two different target tables, each providing a completely different throttle feel.
· Set E-Throttle Target Table 1 up as a "Street" table, this table could potentially limit the maximum throttle angle and provide more precision control over low
throttle angles.
· Set E-Throttle Target Table 2 up as a "Sports" table, this table would allow maximum throttle angle and provide more precision control over large throttle angles.
To implement this:
1. Set Active Tables to 2 Tables.
2. Set Table 2 Activation to the appropriate DI channel connected to the selection switch.
3. Configure E-Throttle Target Table 1 and E-Throttle Target Table 2 as required.
4. Use the switch to toggle between tables.
G4X and G5 ECU Tuning Functions > Electronic Throttle Control > E-Throttle APS Setup
E-Throttle APS Setup
Electronic Throttle typically uses the Accelerator Position Sensor (APS) to determine the drivers requested throttle opening. However, the actual target throttle position
can come from a variety of sources depending on what is used on the axis of the EThrottle Target Table. It is most common to have APS (Main) as one axis on the
target table.
APS (Main) provides the actual drivers request. APS (Sub) is used as redundancy to verify the validity of APS (Main). APS (Main) and APS (Sub) can be driven either
from an external pair of sensors on the drivers throttle control (pedal or lever etc) or can be driven over CAN from an external device. In either case both signals must
be correct and calibrated for error checking to work correctly.
Further information regarding fault detection of these signals can be found in the safety section.
Once wired, view the voltage reading of each channel using PCLink and confirm a voltage is present. Move the accelerator pedal to confirm the voltage output is
changing during movement.
If using CAN Analog inputs to drive APS (Main) and APS (Sub) both the ECU and external device must have their CAN bus drivers configured correctly. It is beyond
the scope of this help to cover CAN configuration of external devices. Contact your Link dealer for further information on configuring the ECUs CAN bus for APS
signals.
Note: When using CAN Analog or Math Block inputs the value is taken directly and so must always be in the 0 to 100 range. If a resolution of 0.1% increments is
desired over CAN then transmit the signal with a 0-1000 range and use a divider value of 10 when setting up the CAN stream. No extra calibration is required when
driving APS signals from CAN or Math Block.
APS Settings:
APS Calibration
After correctly setting up analog inputs they must be calibrated such that 0% is no driver demand and 100% is full power demand.
This can be done in one of two ways:
· Automated calibration - EThrottle 1 Mode must be in 'Setup Mode', go to Electronic Throttle->Accelerator Position Sensor, select APS Calibration and follow the on
screen instructions.
· Manual calibration - Manually enter the open and closed sensor signal voltages for the APS (Main) Closed, APS (Main) Open, APS (Sub) Closed and APS (Sub)
Open settings. APS (Sub) 100% also needs to be set appropriately.
The sensor pin voltages can be seen in the Analog Inputs tab of the Runtime Values Window (press F12).
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 138 of 235
Some Accelerator Position sensors have one signal that stops changing before full travel is reached, these sensors are most often found on Toyota and Lexus engines.
For non linear sensors the APS (sub) 100% value must be set to the APS (Main) value at which the APS (Sub) number stops increasing at (typically around 60-70%).
For linear sensors, which the majority of Accelerator Position Sensors are, this number must be set to 100%.
APS (Main) Closed, APS (Main) Open, APS (Sub) Closed & APS (Sub) Open
These settings have no effect if APS (Main) Source is set to a CAN Analog or Math Block.
These values are automatically set when using the APS Calibration function.
· APS (Main) Closed - The voltage of the APS (Main) input when the throttle pedal has no force on it.
· APS (Main) Open - The voltage of the APS (Main) input when the throttle pedal is in it's maximum throttle position.
· APS (Sub) Closed - The voltage of the APS (Sub) input when the throttle pedal has no force on it.
· APS (Sub) Open - The voltage of the APS (Sub) input when the throttle pedal is in it's maximum throttle position.
Note that these settings can have values closer to the working range of the position sensor if required. E.g. if the sensor outputs 1.0 to 4.2 V, Error Low could be up to
0.8V and Error High could be down to 4.4 V.
G4X and G5 ECU Tuning Functions > Electronic Throttle Control > E-Throttle TPS Setup
E-Throttle TPS Setup
Two analog inputs are required for each electronic throttle actuator to measure actual Throttle Plate (TP) position. Using two signals allows the integrity of the signals to
be verified by the ECU. Further information regarding fault detection of these signals can be found in the safety section. TPS (Main) provides the actual throttle plate
position, TPS (Sub) is used as redundancy to verify the validity of TPS (Main).
Note: Electronic Throttle 1 uses TPS (Main) and TPS (Sub), Electronic Thorttle 2 uses TPS 2 (Main) and TPS 2 (Sub). For simplicity only TPS (Main) and TPS (Sub)
are referred to here and the same information can be applied to configuring TPS 2 (Main) and TPS 2 (Sub).
TPS Settings:
TPS Calibration
After correctly wiring and configuring the analog inputs they must be calibrated so the ECU can relate input voltage to position (percentage from closed to open).
There are two methods by which the TPS signals can be calibrated:
· Manual Calibration - Type the sensor open and closed voltages into the TPS (Main) Closed, TPS (Main) Open, TPS (Sub) Closed and TPS (Sub) Open settings.
TPS (sub) 100% also needs to be set appropriately.
The sensor pin voltages can be seen in the Analog Inputs tab of the Runtime Values Window (press F12).
· Automatic Calibration - Refer below for more information.
TPS (Main) Closed, TPS (Main) Open, TPS (Sub) Closed & TPS (Sub) Open
These values is automatically set when using the TPS Calibration function.
· TPS (Main) Closed - The voltage of the TPS (Main) input when the throttle plate is held shut.
· TPS (Main) Open - The voltage of the TPS (Main) input when the throttle plate is held fully open.
· TPS (Sub) Closed - The voltage of the TPS (Sub) input when the throttle plate is held shut.
· TPS (Sub) Open - The voltage of the TPS (Sub) input when the throttle plate is held fully open.
Error Value
Allows the user to set the TPS value that will be used should the TPS input enter fault state (Fault State being defined by the Analog input fault settings). This value is
more useful for fuel/ignition tuning than EThrottle tuning as when the TPS signal goes into fault state the EThrottle is immediately shut off which will result in it returning
to its natural resting position.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 139 of 235
Note that these settings can have values closer to the working range of the position sensor if required. Eg if the sensor outputs 1.0 to 4.2 V, Error Low could be up to
about 0.8V and Error High could be down to about 4.4 V.
Notes:
· In the event of a fault condition the ECU will immediately stop the automated TPS calibration procedure.
· The error codes produces during this procedure are unique to this procedure and do not relate to the general ECU fault codes.
Test Procedure:
1. System Initialisation
This step initialises the ECU for Electronic Throttle Control and records the current TP(Main) and TP(Sub) voltages. During this process under normal
conditions the TPS Cal Status will display "Starting calibration.".
2. Move throttle plate fully Closed and monitor the TPS (Main) voltage.
This step progressively increases the motor duty cycle (in the -ve direction) until the rate of change of TPS (Main) voltage exceeds a particular threshold.
During this process under normal conditions the TPS Cal Status will display “Moving Throttle plate Closed”.
3. Check that the throttle plate has reached the end of the travel.
This step happens when the throttle plate rate of movement has dropped below a threshold and so extra kick is applied to ensure that the end of travel has
been reached. During this process under normal conditions the TPS Cal Status will display “Holding throttle plate.”.
5. Move throttle plate fully open and monitor the TPS (Main) voltage.
This step progressively increases the motor duty cycle (in the +ve direction) until the rate of change of TPS (Main) voltage exceeds a particular threshold.
During this process under normal conditions the TPS Cal Status will display “Throttle plate is opening.”.
6. Check that the throttle plate has reached the end of the travel.
This step happens when the throttle plate rate of movement has dropped below a threshold and so extra kick is applied to ensure that the end of travel has
been reached. During this process under normal conditions the TPS Cal Status will display “Holding throttle plate.”.
Error 7: Limited TPS (Sub) movement. (Less than 1V of travel between the open and closed calibration)
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 140 of 235
Error 16: H-Bridge polarity is reversed. (Sprung position is closer to fully open than fully closed)
Either swap the EThrottle +ve and -ve wires at the EThrottle Plug, at the ECU Plug or change the active state of the first EThrottle Aux (e.g. Aux 9
Active State when using Aux 9/10, this setting should be immediately below the PWM Output selection box).
Assuming no errors the TPS Cal Status will then display "TPS Calibrated.".
G4X and G5 ECU Tuning Functions > Electronic Throttle Control > E-Throttle Safety Features
E-Throttle Safety Features
WARNING: If E-Throttle Mode is set to Setup Mode all safety features are disabled, Setup Mode is provided only for configuring the system with the engine
not running. The vehicle MUST NOT be driven in Setup Mode.
The Electronic Throttle Control Systems implements a fault detection system to ensure the safety of the operator. This fault detection system is constantly operating
when the E-Throttle Mode is set to 'ON' and if any E-Throttle fault occurs the E-Throttle system is shut down and an 1800rpm limit is applied, the E-Throttle cannot be
restarted until the ECU power has been cycled or the mode is changed.
These faults are also detected and displayed while running in Setup Mode but they will not shut down the E-Throttle and no E-Throttle engine limit will be applied while
running in Setup Mode.
A list of possible faults is listed below, more information on what each fault means and how it can occur can be found on the ECU Fault Codes page.
E-Throttle 1 Faults:
· ECU Fault Code 69. E-Throttle 1 Max %DC Limit.
· ECU Fault Code 70. E-Throttle 1 Min %DC Limit.
· ECU Fault Code 71. Aux 9/10 Supply Error - E-Throttle. Note: If E-Throttle 2 is using the Aux 9/10 H-Bridge then this will actually be an E-Throttle 2 error.
· ECU Fault Code 72. Analog 5V Supply Error - E-Throttle (E-Throttle Sensor Supply Voltage).
· ECU Fault Code 75. E-Throttle 1 TPS /Target Error.
· ECU Fault Code 76. TPS(main) /TPS(sub) tracking Error.
· ECU Fault Code 77. APS(main) /APS(sub) tracking Error. Note: APS faults affect both E-Throttles.
· ECU Fault Code 78. TPS(Main) Fault - E-Throttle.
· ECU Fault Code 79. TPS(Sub) Fault - E-Throttle.
· ECU Fault Code 84. Aux9/10/E-Throttle IC Over-temp. Note: If E-Throttle 2 is using the Aux 9/10 H-Bridge then this will actually be an E-Throttle 2 error.
· ECU Fault Code 85. APS(Main) Fault - E-Throttle. Note: APS faults affect both E-Throttles.
· ECU Fault Code 86. APS(Sub) Fault - E-Throttle. Note: APS faults affect both E-Throttles.
· ECU Fault Code 121. No Ethrottle Relay Selected. Note: Either E-Throttle relay not being set can cause this fault.
Note: If an APS related fault occurs both EThrottle 1 & 2 are shut off.
E-Throttle 2 Faults:
· ECU Fault Code 93. E-Throttle 2 Max %DC Limit.
· ECU Fault Code 94. E-Throttle 2 Min %DC Limit.
· ECU Fault Code 71. Aux 9/10 Supply Error - E-Throttle. Note: If E-Throttle 1 is using the Aux 9/10 H-Bridge then this will actually be an E-Throttle 1 error.
· ECU Fault Code 116. Analog 5V Supply Error - E-Throttle 2 (E-Throttle 2 Sensor Supply Voltage).
· ECU Fault Code 95. E-Throttle 2 TPS /Target Error.
· ECU Fault Code 98. TPS 2 (main) /TPS 2 (sub) tracking Error.
· ECU Fault Code 77. APS(main) /APS(sub) tracking Error. Note: APS faults affect both E-Throttles.
· ECU Fault Code 96. TPS 2 (Main) Fault - E-Throttle.
· ECU Fault Code 97. TPS 2 (Sub) Fault - E-Throttle.
· ECU Fault Code 84. Aux9/10/E-Throttle IC Over-temp. Note: If E-Throttle 2 is using the Aux 9/10 H-Bridge then this will actually be an E-Throttle 2 error.
· ECU Fault Code 85. APS(Main) Fault - E-Throttle. Note: APS faults affect both E-Throttles.
· ECU Fault Code 86. APS(Sub) Fault - E-Throttle. Note: APS faults affect both E-Throttles.
· ECU Fault Code 121. No Ethrottle Relay Selected. Note: Either E-Throttle relay not being set can cause this fault.
G4X and G5 ECU Tuning Functions > Electronic Throttle Control > E-Throttle Troubleshooting
E-Throttle Troubleshooting
Note: To fully clear EThrottle Fault codes the ECU needs to be power cycled, just clearing the fault codes (deliberately) doesn't reset the EThrottle.
Question
The electronic throttle system appears to operate fine in 'ON - Setup' mode, but when changed to the 'ON' mode the system shuts down. Why is this?
Answer
There are several reasons why the system will shut down when switched to the ON mode but not in the ON - Setup mode.
The ON - Setup mode uses the minimal amount of feedback signals to get the system operating, this makes it easier to check the system and manually diagnose
faults. The throttle plate moving with the accelerator pedal in a fashion similar to that of a mechanical system in the ON - Setup does not necessarily mean that the
e-throttle system is correctly setup.
When the system is set to the ON mode, both of the main and sub signals for each of the throttle position sensor and accelerator position sensor are considered. If the
ECU detects an unexpected voltage from any of these signals the system will shut down.
The following images give example typical feedback signals: (examples are true for booth accelerator and throttle position sensors).
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 141 of 235
Figure 1 - Typical feedback signal showing the Sub signal not changing at high positions, this
is normal.
Figure 2 - Typical feedback signal showing the Sub signal changing at a rate less than the Main,
this is normal.
Fault codes generated by the ECU will help you determine which signal is causing a fault. Examine both pairs of feedback signals and make sure they produce
voltages with similar relationships as shown in either of the previous two examples.
A very common cause of the sensors producing unexpected voltages relates to wiring issues. Incorrect wiring can quite easily produce non linear feedback signals -
check your wiring.
Read the safety features section of this help for more information on fault codes.
G4X and G5 ECU Tuning Functions > Boost Control
Boost Control
This function allows for electronic boost control on turbo charged engines via a boost control solenoid.
A boost control solenoid is used to modify the pressure signal from the turbocharger compressor outlet to the wastegate actuator. The minimum boost pressure that
can be achieved occurs when the solenoid is continuously de-energised (0% Duty Cycle), this pressure is entirely dependent on the wastegate/actuator construction.
The maximum boost pressure that can be achieved occurs when the solenoid is continuously energised (100% Duty Cycle), this pressure is typically dependent on the
turbocharger/engine combination. Typically this pressure exceeds that which can be safely tolerated by the engine. By varying the on/off ratio (changing the Duty
Cycle), a boost pressure between the minimum and maximum can be achieved.
Boost can be controlled using one of two separate strategies; open loop control or closed loop control, the methods of control can be summarized as follows:
Advantages
The two main advantages to open loop control are inherent stability and simplicity to setup.
Disadvantage
The main disadvantage to open loop control is inconsistency in boost pressure. Boost will change based on several factors including but not limited to barometric
pressure, humidity and temperature. These factors will need to be compensated for using tables that modify the duty cycle based on these parameters.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 142 of 235
More Specifically operation of the closed loop boost control system has been divided into three separate stages (Stage 1, Stage 2 and Stage 3). Each stage has a
specific purpose, and it is important to setup the transition between stages and the control within each stage correctly. Details of each stage are outlined as follows:
Stage 1
Stage 1 is the first stage after closed loop boost control becomes active. Stage 1 applies a fixed duty cycle to the wastegate solenoid, typically 80 - 90%. The purpose
of this stage is to spool the turbo as fast as possible by holding the wastegate firmly closed. This stage remains active until Stage 2 becomes active. Please note that
when MAP and engine speed (RPM) levels are falling, stage 1 will only re-activate once the MAP or engine speed (RPM) lockout level has been reached.
Stage 2
Stage 2 becomes active once boost pressure comes within a certain range of the target pressure (set using the Stage 2 ON setting). Stage 2 is the first stage of closed
loop control. Stage 2 uses proportional and rate of change (P and D) control along with a base duty cycle table. The purpose of this stage is to control the approach to
the Boost Target pressure. The duty cycle applied to the wastegate solenoid is the duty cycle from the base table plus the duty cycle from the PD controller. This stage
remains active until Stage 3 becomes active.
Stage 3
Stage 3 becomes active once boost pressure comes within a certain range of the target pressure (set using the Stage 3 On setting). Stage 3 is the final stage of closed
loop control. Stage 3 uses proportional and offset error (P and I) control along with a fixed base duty cycle. Depending on the Base DC Mode setting, the base duty
cycle is either fixed from the final value in Stage 2 or continually updating from the base table. The duty cycle applied to the wastegate solenoid is the base duty cycle
plus the duty cycle from the PI controller. This stage remains active until boost pressure is outside its allowed range.
Advantage
The main advantage to closed loop control is the boost pressure consistency. With open loop control tables are needed to compensate for changes in environmental
conditions. The closed loop system automatically corrects the duty cycle applied to the wastegate solenoid to achieve consistent boost pressures in all conditions.
The Link closed loop boost control strategy also incorporates open loop correction tables in the closed loop control mode. These are provided to help increase control
loop stability.
Disadvantage
The main disadvantage to closed loop boost control is the difficulty to setup. Tuning the control loop requires experience and understanding of how the PID control
algorithm operates.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 143 of 235
Advantage
Dome pressure control allows a much larger range of boost pressures and much higher boost pressures to be targeted while still having excellent spool and accuracy.
Disadvantage
The main disadvantage to dome pressure control is the extra components required like the high pressure tank and the 2nd solenoid which makes this mode less
practical for street cars. Tuning the control loop requires experience and understanding of how the PID control algorithm operates.
G4X and G5 ECU Tuning Functions > Boost Control > Boost Control Settings
Boost Control Settings
Boost Mode
Sets which boost mode will be used, Disabled leaves inputs, outputs and table activates but doesn't perform any boost control functionality.
Boost Source
This setting is only available in Closed Loop Boost Control.
Used to select the pressure input that is being controlled. MAP is typically used but controlling the pressure in the manifold can cause issues at partial throttle and so
this setting allows a turbo pressure sensor to be used allowing better control.
Voltage Compensation
This setting is only available in Open Loop and Closed Loop Boost Control.
When turned on the Duty Cycle of the Auxiliary is adjusted based on how far the battery voltage is from 14V (while still being clamped between the min and max). This
means that the actual position of the solenoid should be more consistent with the desired position over variations in the vehicle voltage.
PWM Frequency
Used to set the frequency of the PWM controlling the boost solenoid/s. A typical value would be 20Hz for normal open or closed loop boost control or 30Hz for Dome
pressure control.
RPM Activation
Sets the engine speed (RPM) activation point for boost control. When the engine speed exceeds this value and the MAP Activation value is exceeded boost control
becomes active.
Example
If the RPM activation is set to 3000RPM, only when the engine speed exceeds 3000RPM and the MAP Activation point has been exceeded will boost control
become active.
MAP Activation
Sets the MAP activation point for boost control. When the MAP exceeds this value and the RPM Activation value is exceeded boost control becomes active.
Example
If the MAP activation is set to 90 kPa, only when the MAP exceeds 90 kPa and the RPM Activation point has been exceeded will boost control become active.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 144 of 235
Deactivation Timeout
· In Open Loop and Dome Pressure Boost Control this sets the amount of time boost control will stay active for after the engine speed or MAP fall below their
activation values.
· In Closed Loop Boost Control this sets the amount of time Stage 2 or 3 will stay active for after the engine speed or MAP fall below their activation values.
Active Tables
Sets how many Wastegate Duty Cycle tables are available. This option can be set from 1 Table to 3 Tables. Multiple Boost Tables can also be set to Interpolate
Between.
When using Closed Loop Boost Control this setting also controls how many Boost Target Tables are available, each Boost Target table is paired to a Duty Cycle table.
When set to Interpolate Between the Boost Table Ratio Table appears. The Boost Table Ratio Table is used to control the interpolation between Wastegate % DC
Table 1 and Wastegate % DC Table 2, when in closed loop it also controls the interpolation between Boost Target Table 1 and Boost Target Table 2 in Closed Loop.
The x (horizontal) axis of the Boost Table Ratio Table is configurable. Commonly used parameters include % Ethanol, Multi Fuel Blend Ratio, or an An Volt channel.
Example
Set this setting to 2 Tables, this will allow two separate boost maps that can be switched by an input.
Example
Set this setting to DI2, this will activate the matching boost tables when DI2 becomes active.
GP Boost Tables
Turns ON or OFF the Boost Wastegate GP Trim Table (and Boost GP Target Trim Table when in Closed Loop), the GP Trim function can be used to adjust boost
based on runtimes not covered by the other trim tables.
Used to select the input that activates/deactivates the GP Trim Tables, when the selected input is active the trim table values are applied.
Example
Set this table to the desired boost pressure. Typically this will be a 2D table with Engine Speed on the x-axis.
Example
Use this table to decrease the turbo spooling ability when the engine is cold.
Example
With this table set to -50%, and a base duty cycle of 50%, the effective base duty cycle will be 25% (50 + 50 * -50%).
Example
Use this table to decrease the boost pressure when the engine coolant temperature is warming up or too hot. Adjust the Boost ECT Wastegate Trim Table at the
same time to increase stability.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 145 of 235
This setting is only available in Open Loop and Closed Loop Boost Control.
This table allows trimming of the wastegate DC based on Intake Air Temperature. The value is applied as a percentage correction to the base duty cycle.
Example
Use this table to decrease the base duty cycle during low inlet temperatures to reduce target overshoot.
Example
Use this table to increase the base duty cycle during high inlet temperatures to increase spool time.
Example
With this table set to -50%, and a base duty cycle of 50%, the effective base duty cycle will be 25% (50 + 50 * -50%).
Example
Use this table to decrease the boost pressure when the inlet air temperature is excessively hot. Adjust the Boost IAT Wastegate Trim Table at the same time to
increase stability.
Example
Use this table to increase the base duty cycle in 1st gear to help spool up the turbo.
Example
Use this table to decrease the base duty cycle in 1st gear if traction becomes an issue.
Example
With this table set to 10%, and a base duty cycle of 50%, the effective base duty cycle will be 55% (50 + 50 * 10%).
Example
Use this table to decrease the boost pressure in first gear if traction becomes an issue. Adjust the Boost Gear Wastegate Trim Table at the same time to increase
stability.
Example
With this table set to 10%, and a base duty cycle of 50%, the effective base duty cycle will be 55% (50 + 50 * 10%).
Example
With this table set to 10kPa, and a base target of 200kPa, the new target boost pressure will be 210kPa.
Boost PID Setup Window - These settings aren't available in Open Loop Boost Control.
Base DC Mode
This setting is only available in Closed Loop Boost Control.
This setting controls whether the base duty cycle continues to be updated during Stage 3, or remains fixed at the final value calculated in Stage 2.
· Stage 2 - The base duty cycle is continuously updated during Stage 2 and then remains set at the last value calculated before entering Stage 3.
· Stage 2-3 - The base duty cycle is continuously updated in both Stages 2 and 3.
Stage 1 Duty
This setting is only available in Closed Loop Boost Control.
This is the duty cycle applied when the turbo is first beginning to spool. This value is used to hold the wastegate shut during spool.
Example
Set this adjustment to stop the wastegate opening. A typical value would be 90%.
Stage 2 ON
This setting is only available in Closed Loop Boost Control.
This setting controls the manifold pressure at which Stage 2 becomes active, the activation value is the Boost Target minus this value.
Example
Stage 1 is used to spool the turbo at a rapid rate, making this number small will increase the Stage 1 duration, although if the number is too small the boost is likely
to overshoot. A typical value would be 50kPa, assuming the target is 200kPa absolute pressure, Stage 2 will become active when the manifold pressure reaches
150kPa (200kPa - 50kPa).
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 146 of 235
Stage 3 ON
This setting is only available in Closed Loop Boost Control.
This setting controls the manifold pressure at which the Stage 3 ON Delay counter becomes active, the activation value is the Boost Target minus this value.
After the delay has elapsed, the control method will switch into Stage 3 which means a switch from a PD controller to a PI controller.
Example
Set this to a value to start the Stage 3 ON Delay countdown. A typical value for this would be 15kPa. Assuming the target is 200kPa absolute pressure, the Stage 3
ON Delay will start counting at 185kPa (200kPa - 15kPa).
Hint
Set this value close to the target, but not too far away in case the boost pressure doesn't reach the activation point and the Stage 3 control won't ever become
active.
Stage 3 Hysteresis
This setting is only available in Closed Loop Boost Control.
This setting sets the pressure below Stage 3 ON where Stage 2 will become active.
Example
Set this point to define the manifold pressure at where the Stage 3 will become inactive. A typical value for this would be 15kPa, assuming Stage 3 ON is set to
20kPa and the Boost Target is 200kPa, Stage 3 will become inactive when the manifold pressure falls below 165kPa (200kPa - 20kPa -15kPa).
Stage 3 ON Delay
This setting is only available in Closed Loop Boost Control.
This setting controls the delay in Stage 3 becoming active after the Stage 3 activation value (Boost Target minus Stage 3 ON) has been reached, this setting is
specified in seconds.
Example
Set this to a value to provide time for the boost pressure to stabilize before performing any Stage 3 control. A typical value for this would be 0.5 seconds.
Hint
Set this value to 0 for no delay.
Deadband
This setting is only available in Dome Pressure Boost Control.
This setting controls the range around the target in which the Dome Pressure Boost Control will stop activating the solenoids – this effect will reduce CO2 consumption,
but consequently increase target error. If the dome pressure is within target +/- the deadband value both solenoids will be turned off until the dome pressure is greater
than target + deadband or less than target - deadband. A typical value is 0Kpa.
Min DC Clamp
This setting controls the minimum duty cycle that can be applied to the wastegate solenoid, setting a minimum duty cycle maybe required for some solenoids where the
flow behaviour becomes erratic or very non-linear below a certain duty cycle. For the Link supplied 3 port solenoids this is not required and should be set to 0%.
Max DC Clamp
This setting controls the maximum duty cycle that can be applied to the wastegate solenoid, setting a maximum duty cycle can help prevent the closed loop system
from becoming unstable and reduce overshoot from large step changes.
Example
The Link/Mac solenoids are “wide open” from about 77% DC, so there is no point ever commanding any more DC than this as it just means the closed loop system
has to do more work. This setting may be reduced even further to limit maximum flow into or out of the dome to reduce any target overshoot. A typical value would
range from 40% to 85% depending on the wastegate/solenoid/plumbing and gas pressure.
Proportional Gain
This setting controls the proportional gain of the PID algorithm. For a Proportional Gain of 1.0 and an error value of 1 kPa the output duty cycle will be adjusted by
0.5%.
Example
Set this to a value to control the aggression or attack rate of the boost pressure.
Example
With a base duty cycle of 50%, a proportional gain of 5.0 and a current error of 10kPa, the base duty will be trimmed to 55% = (50 + (5.0 * -10 * 0.1%)
Hint
Increase this value to decrease spool time; increase it too far and the boost will overshoot the target. This overshoot may be counteracted by increasing the
Derivative Gain.
Integral Gain
This setting controls the integral gain of the PID algorithm. For an Integral Gain value of 1.00 and an error value of 1 kPa the rate of increase in output duty cycle will be
25%/sec.
Example
Set this to a value to control the target offset correction of the boost pressure.
Hint
Increase this value for better offset correction; increase it too far and the boost pressure will oscillate.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 147 of 235
Derivative Gain
This setting controls the derivative gain of the PID algorithm. For a Derivative gain value of 1.00 and a rate of change in error of 1kPa/millisecond the output duty cycle
will be adjusted by 1%.
Example
Set this to a value to control the target overshoot of the boost pressure.
Hint
Increase this value for better overshoot protection; increase it too far and spool time will decrease.
Integral Clamp
This setting clamps the output from the integral component of the controller increasing stability. The clamp is measured in percentage duty cycle and clamps in both the
positive and negative direction.
Example
Set this adjustment to stop the integral factor winding up and making the system oscillate. A typical value for this would be 15%, but may vary largely depending on
the turbo/wastegate/engine combination.
Hint
If you are hitting the integral clamp and not reaching the target at high RPM, you may need to increase this.
Hint
We suggest using the Link 3 port solenoids as the deadtimes are provided so you don’t need to characterise yourself. You can import the relevant pre-
characterised table from C:\Link G5\Calibration files, choose the table that is closest to the CO2 pressure you are running. See Dome Pressure Control Setup
Guide for a method to determine deadtimes if you are not using the Link branded solenoids.
See Also:
· Closed Loop Boost Setup Guide
G4X and G5 ECU Tuning Functions > Boost Control > Closed Loop Boost Setup Guide
Closed Loop Boost Setup Guide
This topic is a step by step guide for setting up closed loop boost control system to run up to 220kPa of absolute boost pressure.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 148 of 235
19. Run the engine and tune the row in the Wastegate %DC Table 1 relating to a target of 180kPa. Adjust the duty cycle numbers in this row to achieve 180kPa of
boost pressure across the RPM range.
20. Increase all of the values in the Boost Target Table to 200.
21. Tune the row in the Wastegate %DC Table 1 relating to a target of 200kPa. Adjust the duty cycle numbers in this row to achieve 200kPa of boost pressure
across the RPM range.
22. Repeat steps 14 and 15 for 220kPa. (Hint: If the engine was already running open loop boost control, existing numbers could be used in the appropriate row.)
23. You will now be able to adjust the Boost Target Table values to anything between 180 and 220kPa and find the engine runs boost pressures close to the
specified target.
24. Closed loop control can now be enabled. Apply very soft PID settings. P = 0.2, I = 0.1 and D = 0. 1.
25. Test control at different targets, see how closely the actual boost pressure follows the Boost Target pressure.
26. Adjust PID numbers and stage activation pressures to optimize control. Check the Boost Control Settings topic for hints on adjusting different parameters.
G4X and G5 ECU Tuning Functions > Boost Control > Dome Pressure Control Setup Guide
Dome Pressure Control Setup Guide
Refer here for Plumbing instructions.
Overview:
With Dome pressure control we are only controlling the pressure inside the top chamber of the wastegate diaphragm – effectively controlling the wastegate spring
effect. The bottom side of the diaphragm still references boost pressure. As a rough guide you can normally expect resulting manifold pressure to be increased by an
amount similar to the dome pressure above the base spring pressure. As an example, if we have a 10psi spring in the wastegate and add 20psi dome pressure on top,
it will result in a boost pressure of about 30psi.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 149 of 235
It is important to note however that the relationship between dome pressure and manifold pressure may not be perfectly linear especially at the extreme ends of
performance. The relationship between dome pressure and manifold pressure needs to be established for your specific engine by testing.
Plumbing/Hardware:
See the diagram in section \wiring information\Dome Pressure Control Plumbing. The dome pressure sensor should preferably be fitted directly to the dome on the
wastegate as shown in this diagram, or at least as close as possible to the dome if there is no spare port available on the wastegate. It is not recommended to fit the
sensor in the tee near the solenoids as the signal will be noisier near the solenoids. The CO2 supply to the solenoids is usually regulated to about 1.5 to 2X the highest
dome pressure that you intend to run.
Initial Setup:
If available, regulated compressed air can be used for the initial set up and PID tuning rather than wasting bottled CO2.
In the boost set up menu assign and calibrate the dome pressure sensor and the solenoid outputs, if using the Link solenoids a PWM frequency of 30Hz is suggested.
Setting RPM and MAP activation to 0 will allow the boost control to work without the engine running to do the initial tuning.
PID setup:
Start with a max target ramp rate of 800KPa/s, a deadband of 0Kpa and a min clamp of 0% and max clamp of 70%. Import the correct deadtime table for the CO2
pressure you are running (right mouse click on the solenoid deadtime table, >Import/Export>Import from file). Set proportional gain to 0.2, Integral to 0 and Derivative to
0. Integral clamp to 5%.
PID tuning:
With the above settings the dome pressure should be sitting somewhere near target already. The best way to assess and tune the PID is to set up a time plot with
Dome pressure and Boost target plotted on top of each other. Apply a step change to the boost target and assess how well the dome pressure responds. Stepping
up/down between about 20% max pressure and about 80% max pressure is typical (ie if max dome pressure will be 500kpa then step between 100kpa & 400Kpa).
Increase proportional until dome pressure snaps to target pressure quickly but with minimal overshoot and no oscillation (small spikes of overshoot or undershoot are
ok since it will not effect manifold pressure). With proportional somewhere close you can then add a small amount of Integral to close up any remaining error. Derivative
can be added to reduce any spikes of overshoot but is not normally needed. PID tuning theory is not covered here as it is a complex subject and there is plenty of
freely available resources online. The picture below shows acceptable Dome pressure control during a step test.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 150 of 235
The time plot below shows 7 of these slow ramp tests as we test different deadtimes, Dome pressure is the red trace and Target is the Cyan. At 0mS you can see the
dome pressure lags the target pressure by a large margin, also wastegate DC is large. As we increase deadtime to the right we can see when we get to the 4mS test
the control is starting look much better, and DC is a max of around 3%, so this is a sign we are getting close. The next test was done with 4.2mS and this looks about
correct, there is almost no lag, the Dome pressure trace is sitting right on top of the target and duty cycle is only around 1%. To give an example of excessive deadtime
the next test is 5mS and you can see the dome pressure is jittery and the wastegate DC is noisy, what you cant see in this graph but will notice in practice when doing
this test yourself is you can hear the gas is constantly being filled/dumped when your deadtime is larger than required. You need to repeat this test for each voltage that
you will operate in.
Knock Control is a feature designed for reducing engine damage caused by detonation, detonation occurs due to excessive cylinder pressure usually caused by the
ignition event happening too early (too much advance) but other factors can cause detonation such as excessive engine temperatures, low octane fuels and lean
mixtures. Excessive engine temperatures, low octane fuels and lean mixtures can cause Pre-Ignition which is when the air fuel mixture ignites before the spark event
occurs and this can lead to knock, in this case adding fuel to help cool the cylinder and richen the mixture can help prevent pre-ignition and as a follow on from that
help prevent knock.
Detonation can cause irreparable damage to an engine, including burnt pistons and broken ring lands, in almost all cases detonation can be avoided by reducing the
amount of ignition advance, adding fuel or a combination of the two, for a given load. The Knock Control function allows the ECU to detect detonation and automatically
reduce ignition advance and add fuel until detonation no longer occurs.
Many Link G4X and G5 ECUs are capable of Internal Knock Control.
Note: The Knock Control function and knock windowing only operate above 500 RPM.
G4X and G5 ECU Tuning Functions > Knock Control > Knock Control Settings
Knock Control Settings
Note: Refer HERE for a general overview of Knock Control.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 151 of 235
Knock Setup:
Knock Mode
Selects the operating mode of the Knock Control function. The following modes are available:
Both knock modes determine knock to be when the Knock Level of a cylinder is larger than the value in the Knock Threshold Table.
The regular knock modes uses the filtered noise value whereas the normalised modes take that current knock level and normalise it to the value of 1. This means that if
the level of noise is constant the knock level will be a value of 1 in the normalised modes regardless of the actual noise level, if however one sample is significantly
larger than the other recent values this will make calculated knock level higher than 1. This means that the knock control setup constantly corrects for any ongoing
background noise and only shows up short lived sudden noise making it more useful over a range of engine conditions and less engine specific.
Note: When the knock level goes above the threshold in a normalised knock mode it changes the normalising filter calculation. This can result in a small reading just
above the threshold causing knock level runaway on that cylinder which looks likes a gentle slope up rather than a sudden spike. Setting the RPM Delta Level value
lower or having a slightly higher threshold value can prevent this false knock from occuring.
Freq Channel
This setting sets the sensitivity of the ECU to a particular knock signal frequency range. The correct frequency range can be identified by using a Knock Amplifier (such
as the Link Knockblock) or by consulting the suggested frequency settings list in this help manual. PCLink contains a feature, Knock Audio, that can be helpful in
determining the correct frequency filter to select for your engine.
· Filter = OFF - No filtering at all, only use this setting for testing.
· 4-10 kHz - Wide Band - Knock input is sensitive to frequencies between 4 and 10 kHz.
· 10-16 kHz - Wide Band - Knock input is sensitive to frequencies between 10 and 16 kHz.
· X kHz Narrow Band - Knock input is most sensitive to frequencies around X kHz. X can be 3.5kHz, 4kHz, 5kHz, 6kHz, 7kHz, 8kHz, 9kHz, 10kHz, 11kHz, 12kHz,
13kHz, 14kHz, 15kHz, 16kHz.
A good rule of thumb is Knock frequency (kHz) = 1800 / (3.14 x Piston Dia (mm)).
Sometimes the second harmonic frequency can give a better SNR (Signal to Noise Ratio), this frequency is 2x the base knock frequency.
Gain Channel
Note: This setting is only available when using the Ignition Trims, Fuel Trims or Ignition and Fuel Trims modes (not the Normalised modes).
This setting adjusts the overall gain of the knock circuitry amplifier, a higher gain number will result in larger Knock Level numbers for a particular signal input. Use this
adjustment to get a better range of Knock Level numbers, if Knock Level numbers are reaching full scale then reducing Gain Channel will bring them back into range. A
gain number of zero will disable the knock signal.
Warning: If this setting is set to OFF it is essential that the retard tables have the correct values in them when a store is performed!
When this setting is set to ECU Power-On, all Knock Ignition and Fuel Trim Tables will be set to zero at key on. This setting will cause the engine to be run initially in its
most advanced state and timing will be removed after detonation is detected, this is the most commonly used setting.
Window Start
The engine position in degrees after the ignition event at which the knock window signal will start. e.g. If the current ignition timing is 15 degrees BTDC and the start
point is set to 10 degrees, the window will become active at 15 - 10 = 5 degrees BTDC. See the Window Length section below for calculating the maximum value.
Window Length
The duration in crankshaft degrees of the knock window. eg a value of 40 degrees makes the window finish 40 degrees after it starts.
The Window Length plus the Ignition Retard Limit must be less than the number of degrees between the shortest two ignition events.
TP Low Lockout
Knock Control will not operate below this throttle position (TPS(Main)).
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 152 of 235
TP Delta Lockout
Knock Control will not operate if the rate of change of throttle position (TPS Delta) is greater than this value.
A value of 0 will stop TPS delta lockout from being checked.
For 'Ignition Trims' and 'Ignition and Fuel Trims' Modes the number entered in the Ignition Retard Gain setting is the amount of retard that will occur per percent that the
Knock Level is above the Knock Threshold.
This means:
· If the Knock Level is 1% above the Knock Threshold and the Retard Gain is 1.0 then 1 degree of timing will be removed per knock event.
· If the Knock Level is 20% above the Knock Threshold and the Retard Gain is 0.5 then 10 degrees of timing will be removed per knock event.
For 'Normalised Ign' and 'Normalised Ign & Fuel' Modes the number entered in the Ignition Retard Gain is multiplied by the detected knock value (when it is above 0) to
get the amount of retard to be applied.
This means:
· If the Detected Knock Level is 1 and the Retard Gain is 1.0 then 1 degree of timing will be removed per knock event.
· If the Detected Knock Level is 15 and the Retard Gain is 0.5 then 7.5 degrees of timing will be removed per knock event.
Basically, a higher number in this setting will result in more retard per knock event, a typical value for Retard Gain is 0.5.
Note: The Knock Trim Gain Table value is a further multiplier on top of the above, a value of 1 means no change to the above and a value of 0 will mean no trim is
applied.
For 'Fuel Trims' and 'Ignition and Fuel Trims' Modes the number entered in the Fuel Enrichment Gain setting is the amount of fuel added that will occur per percent that
the Knock Level is above the Knock Threshold.
This means:
· If the Knock Level is 1% above the Knock Threshold and the Enrichment Gain is 1.0 then 1% fuel trim will be added per knock event.
· If the Knock Level is 20% above the Knock Threshold and the Enrichment Gain is 0.5 then 10% fuel trim will be added per per knock event.
For 'Normalised Fuel' and 'Normalised Ign & Fuel' Modes the number entered in the Fuel Enrichment Gain is multiplied by the detected knock value (when it is above 0)
to get the amount of enrichment to be added.
This means:
· If the Detected Knock Level is 1 and the Enrichment Gain is 1.0 then 1% fuel trim will be added per knock event.
· If the Detected Knock Level is 15 and the Enrichment Gain is 0.5 then 7.5% fuel trim will be added per knock event.
Basically, a higher number in this setting will result in more fuel added per knock event, a typical value for the Fuel Enrichment Gain is 0.5.
Note: The Knock Trim Gain Table value is a further multiplier on top of the above, a value of 1 means no change to the above and a value of 0 will mean no trim is
applied.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 153 of 235
Note: This setting is only available when using a fuel enrich knock mode.
After theFuel Decay Delay time has elapsed, the ECU will start to reintroduce the leaner air fuel mixture that was richened by the Knock Control system. Fuel Decay
Rate sets how fast the fuel trim will be removed in % per second.
When Knock Engine Speed ROC is greater than the RPM Delta Level the RPM Delta Learning Rate is applied.
When Knock TPS Delta is greater than the TPS Delta Level OR Knock MAP Delta is greater than the MAP Delta Level the Load Delta Learning Rate is applied
When Knock Engine Speed ROC is greater than the RPM Delta Level AND (Knock TPS Delta is greater than the TPS Delta Level OR Knock MAP Delta is greater than
the MAP Delta Level) the faster of the two learning rates is applied.
· Normal - The learning rate during transient conditions is the same as during stable conditions.
· Medium - The learning rate during transient conditions is faster than during stable conditions.
· Fast - The learning rate during transient condition is significantly faster than during stable conditions.
Knock Engine Speed ROC Filter Level, Knock TPS Delta Filter Level & Knock MAP Delta Filter Level
Knock control sometimes needs a more filtered version of the Engine Speed ROC, TPS Delta & MAP Delta values and so these settings are used to add filtering of
various levels. The filtered values which are used to determine when to apply Delta Threshold Gains and Delta Learning Rates are called Knock Engine Speed ROC,
Knock TPS Delta & Knock MAP Delta respectively.
Delta Hold
This setting controls how long the Delta Threshold is applied after the transient condition has stopped occuring, units are number of Engine Cycles.
When Knock Engine Speed ROC is greater than the RPM Delta Level the RPM Delta Threshold Gain is applied.
When Knock TPS Delta is greater than the TPS Delta Level OR Knock MAP Delta is greater than the MAP Delta Level the Load Delta Threshold Gain is applied
When Knock Engine Speed ROC is greater than the RPM Delta Level AND (Knock TPS Delta is greater than the TPS Delta Level OR Knock MAP Delta is greater than
the MAP Delta Level) the larger of the two Threshold Gains is applied.
Cylinder Setup:
Cylinder X Allocation
Each cylinder can have a table assigned to it that will be used to display the amount of ignition retard due to the Knock Control system. The Cyl X Allocation setting
determines which table is allocated to a particular cylinder. The way in which cylinders are allocated depends on user preference.
When using a group fuel mode (not Sequential or Sequential Staged) the ECU has no way to know which injectors are feeding which cylinders and so the ECU treats
all cylinders the same with the greatest value from that cell in all of the fuel trim tables being added to every injector. The Ignition Mode doesn't matter as Link G4X and
G5 ECUs can provide individual spark timing to each cylinder in any ignition mode (requires full trigger sync).
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 154 of 235
These examples illustrate the highest level of individual cylinder/rotor detection (i.e. as many tables used as possible).
It is possible to reduce the number of tables used by further pairing of cylinders. This allows the following combinations to be achieved:
· An individual knock ignition trim and knock fuel Trim table for each cylinder.
· One knock ignition trim and one knock fuel trim table used for all cylinders.
· Separate knock ignition trim and knock fuel trim tables for groups of cylinders. e.g. one table for left bank, one table for right bank or One table for front three
cylinders and another table for the rear three cylinders.
These settings can cause confusion so are best illustrated with examples.
One table for each bank (V8 engine odds on left bank, evens on right bank):
· Cyl 1 Allocation = Cyl 1 ITrim Table
· Cyl 2 Allocation = Cyl 2 ITrim Table
· Cyl 3 Allocation = Cyl 1 ITrim Table
· Cyl 4 Allocation = Cyl 2 ITrim Table
· Cyl 5 Allocation = Cyl 1 ITrim Table
· Cyl 6 Allocation = Cyl 2 ITrim Table
· Cyl 7 Allocation = Cyl 1 ITrim Table
· Cyl 8 Allocation = Cyl 2 ITrim Table
One table for front cylinders, one table for rear cylinders (inline 6 cyl engine):
· Cyl 1 Allocation = Cyl 1 ITrim Table
· Cyl 2 Allocation = Cyl 1 ITrim Table
· Cyl 3 Allocation = Cyl 1 ITrim Table
· Cyl 4 Allocation = Cyl 2 ITrim Table
· Cyl 5 Allocation = Cyl 2 ITrim Table
· Cyl 6 Allocation = Cyl 2 ITrim Table
Gains are relative to the Cylinder Allocation, and not the actual cylinder. Gains relating to allocations not defined have no effect.
· A Gain of 1.00 represents no change to the level.
· A Gain of 0.50 represents the level being reduced to half of the original level.
· A Gain of 2.00 represents the level being doubled.
Adjust the individual knock level gains so that all cylinders are reading an equal value when free reving the engine without it knocking.
Knock Control:
Knock Threshold Table
The Knock Threshold Table will become visible when Knock Mode is set to something other than OFF. This table sets the allowable engine noise for a given engine
speed/Load, each engine will have different noise characteristics. Engine noise is generated by mechanical clearances, valve train noise and even valves closing
against the seat! Knock Control will reduce ignition advance and/or increase the fuel trim when the actual measured level of engine noise is above the value in the
Knock Threshold Table. This table must be manually filled out for each particular engine. Knock Threshold values can range from 0 (minimum noise) to 1000
(maximum noise).
Use the Table Axis Setup menu to adjust the Knock Threshold Table axis parameters and change rows/columns.
See Cylinder X Allocation for information on setting up which table relates to a particular cylinder.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 155 of 235
The Knock Ignition Trim X tables are cleared when the ECU is turned off if the changes haven't been stored. Ignition changes made by the Knock Control function are
NOT stored permanently and require the user to connect with PCLink and store the tune.
See Cylinder X Allocation for information on setting up which table relates to a particular cylinder.
G4X and G5 ECU Tuning Functions > Knock Control > Suggested Knock Frequency Settings
Suggested Knock Frequency Settings
The following table provides a guide on typical frequency settings.
Warning: VVT control is an advanced feature. Although Link VVT control provides a large amount of status information, it should only be set-up and operated by
experienced tuners. Failure to correctly set up VVT Control can result in unpredictable cam timing which can result in engine damage. DO NOT adjust anything you
are not completely sure of!
Warning: It is strongly recommended to use the preset VVT configuration if one is offered in the software instead of a custom configuration.
VVT Configuration
To set up VVT Control, the following steps must be taken:
1. Select the Cam Control Mode, it is strongly recommended to use the preset VVT configuration if one is offered in the software instead of a custom configuration.
2. Set the Cam Sensor Inputs - A camshaft position sensor must be wired to either a digital input or Trigger 2. For simplicity, wiring a cam's position sensor and
solenoid to the same numbered auxiliary output and digital input is recommended but this isn't a requirement.
3. Set the PWM Outputs - The cam shafts position control solenoid must be wired to an auxiliary output. For simplicity, wiring a cam's position sensor and solenoid
to the same numbered auxiliary output and digital input is recommended but this isn't a requirement.
4. Run the Cam Angle Test Calibrate function to automatically setup the Tooth Count and Tooth Offsets settings.
5. Tune The Control Algorithm - Only necessary if not using a preset VVT configuration.
6. Observe VVT Control runtime status information in the VVT tab of the Runtime Values window (F12 key) to ensure correct operation.
G4X and G5 ECU Tuning Functions > VVT Control > VVT Settings
VVT Settings
Warning: Cam control is an advanced feature. This should only be set-up and operated by experienced tuners. Failure to correctly set up cam control can result in the
cam timing operating unpredictably and possibly result in engine damage. DO NOT adjust anything you are not completely sure of !
At all times, the VVT runtime values can be viewed on the VVT tab of the Runtime Values window (F12 key).
Before commencing VVT tuning all cam and crank sensors must be wired correctly (including correct polarity). The Trigger Offset also needs to have been set correctly
with a timing light.
Tuning VVT Control can be done by either choosing a pre-set configuration or using a custom setup. Default configurations hide the complexities of the tuning values
and are strongly recommended. The following options are provided for configuration of default and custom setups:
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 156 of 235
Number of Banks
This setting is only visible when in User Defined mode and is used to set the number of banks the engine has (1 or 2). When set to 1 bank PCLink will hide the settings
for Bank 2.
The Calibrate option when selected performs a calibration of each cam where it calculates the Tooth Count and Tooth Offsets for each cam and fills in these settings.
The Tooth Count and Tooth Offsets values can be filled out manually using the information from the Cam Angle Test for each cam but it is recommended to just use
the calibrate function.
The purpose of the individual cam options is to display the position of each tooth on the cam in crankshaft degrees ATDC so the user can debug any issues that might
be occuring. Cam angle test information can be found in the VVT tab of the F12 runtime data menu.
To activate the Cam Angle Test Function, perform the following steps:
1. Ensure a Cam Position Digital Input has been wired and configured.
2. Select the appropriate VVT Control Channel in the Cam Angle Test list.
3. Observe the cam teeth positions by looking at the parameter Cam Angle #X on the VVT tab of the Runtime Values window (F12 Key). The number of teeth is visible
as
4. Run the engine above the VVT RPM Lockout and ECT Lockout values.
5. The position at which each cam pulse occurs will be displayed.
PID Setup
This setting allows the user to use the default PID values or to use their own custom PID values. This setting is custom by default and hidden when using User Defined
Mode.
When PID Setup is set to Custom, the following items cam be adjusted for each VVT channel:
· Control Algorithm
· Base Duty Cycle
· Proportional Gain
· Integral Gain
· Derivative Gain
· Min & Max DC Clamp
Startup Lockout
This value determines how long the engine needs to be running (RPM >400) before the VVT starts up. This is often done to prevent CAM rattle on engine start up
which occurs because it takes a few seconds to build up enough oil pressure for VVT control. A typical value would be 5s.
RPM Lockout
This value determines the engine speed (RPM) that must be exceeded before the VVT control system will become active, this allows VVT control to be disabled at
lower engine speeds. At lower engine speed oil pressure is low and reluctor position signals can have insufficient amplitude which can affect the accuracy of the VVT
control system. When the lockout condition has not been met the cams will be uncontrolled and will sit in their relaxed position. Typical values range from 500 RPM (on
at idle) to 1500 RPM (off at idle). This lockout does have hysteresis applied to it to prevent rapid switching on and off when hovering around the lockout value.
ECT Lockout
This value determines the engine coolant temperature that must be exceeded before the VVT control system will become active, this allows VVT control to be disabled
at lower engine temperatures when the oil is too cold. When the lockout condition has not been met the cams will be uncontrolled and will sit in their relaxed position.
Typical values range from 20 to 50 degrees Celsius.
Voltage Compensation
When turned on the Duty Cycle of the Auxiliary is adjusted based on how far the battery voltage is from 14V (while still being clamped between the min and max). This
means that the actual position of the cam should be more consistent with the desired position over variations in the vehicle voltage.
Note: This function requires that the exact position of the cam lobes is known, this must be found by measurement rather than using paper specifications.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 157 of 235
· To setup the Fully Retard Position for the inlet Cam simply enter the crankshaft position of the inlet lobe centre at its fully retarded position into the Inlet Fully Rtd
Position setting, e.g 108 degrees ATDC. The numbers in the VVT Inlet Target Table will now be the position of the lobe centre After Top Dead Centre (ATDC).
· To setup the Fully Advance Position for the exhaust Cam simply enter the crankshaft position of the exhaust lobe centre at its fully advanced position into the
Exhaust Fully Adv Position setting, e.g 109 degrees BTDC. The numbers in the VVT Exhaust Target Table will now be the position of the lobe centre Before Top
Dead Centre (BTDC).
Valve Type
This setting allows the user to choose between the standard single VVT solenoid output that is used on most vehicles or the Dual Solenoid output style typically used in
BMW engines that have VANOS.
If using a Dual Solenoid output you will need -ve values in the Min DC Clamp tables.
Each Cam:
These settings are available for each cam but only the settings for the cams in use will be visible. Specific vehicle VVT Modes have the number of banks and
adjustable cams hardcoded meaning cams that are not variable from factory will be hidden.
When using digital input for the cam trigger signal its pull-up and active edge need to be set (Typically pull-up ON for Hall and OFF for Reluctor/VR). The Active Edge
setting determines which edge of the cam position sensor signal will be used to determine VVT cam position, for reluctor sensors always select a Falling active edge
and for hall sensors this edge could be rising or falling. Selection of the wrong edge will affect setting the Offset value.
PWM Output
This setting selects the Auxiliary Output that will be used to control the cam's position.
In order to vary cam advance/retard, the VVT control solenoid must be driven by the ECU. All VVT Control Auxiliary Outputs drive the solenoids to ground. The other
side of the solenoid must be wired to an ignition switched supply (NOT hot fed).
Although Auxiliary Outputs can be wired to any VVT solenoid, the following convention should be used to conform with other Link wiring diagrams and base
configurations:
· Bank 1 Inlet - Auxiliary Output 1
· Bank 2 Inlet - Auxiliary Output 2
· Bank 1 Exhaust - Auxiliary Output 3
· Bank 2 Exhaust - Auxiliary Output 4
PWM Frequency
This setting controls the frequency of the PWM used to control this cam's solenoid, typical values would be between 250 and 300Hz.
Control Algorithm
This setting is only visible when only visible when PID Setup is set to Custom.
This setting allows the cam to use the Base Duty Cycle Proportional Gain, Integral Gain and Derivative Gain values from one of the other cams. This means the user
will only need to change the values in one or two areas (depending on the setup) rather than having to change the values on each cam individually.
Example:
A Subaru engine has two inlet cams and two exhaust cams. On some models, all of these have variable timing. To simplify tuning the VVT control, it would be better to
pair up the VVT PID tuning Settings for the Bank 1 and Bank 2 inlet cams and pair up the VVT PID Tuning Settings for the Bank 1 and Bank 2 exhaust cams. All four
cams will be controlled independently but both inlet cams will use the same PID Tuning Settings and both exhaust cams will use the same PID Tuning Settings. Set the
Control Algorithms for each cam as follows:
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 158 of 235
The VVT PID Tuning Settings for both Bank 2 cams will now have no effect and not be visible. Both Inlet cams VVT PID Tuning Settings will now be adjusted using the
Bank 1 Inlet VVT Control settings. Both Exhaust cams VVT PID Tuning Settings will now be adjusted using the Bank 1 exhaust VVT control settings.
Tooth Count
This setting sets the number of teeth on the cam trigger that the ecu will look for, this value is filled out automatically when the Cam Angle Test Calibrate function is run.
Proportional Gain
This setting is only visible when only visible when this cams Control Algorithm is set to this cam and PID Setup is set to Custom.
This setting adjusts the Proportional Gain of the VVT Control's PID algorithm, increasing this number increases the proportional gain, decreasing this number
decreases the proportional gain.
Integral Gain
This setting is only visible when only visible when this cams Control Algorithm is set to this cam and PID Setup is set to Custom.
This setting adjusts the Integral Gain of the VVT Control's PID algorithm, increasing this number increases the integral gain, decreasing this number decreases the
integral gain.
Derivative Gain
This setting is only visible when only visible when this cams Control Algorithm is set to this cam and PID Setup is set to Custom.
This setting adjusts the Derivative Gain of the VVT Control's PID algorithm, increasing this number increases the derivative gain, decreasing this number decreases the
derivative gain.
Filter
This setting adjusts the ability of the VVT Control to reject inconsistencies in the cam position signal input, inconsistencies occur due to factors such as cam belt slack
and engine speed variation. Increasing the filter number allows smoother control of cam positioning, but will decrease the response time of the VVT Control. It is
recommended to use a setting between 4 and 6. Note that increasing the Filter value adds delay to the control loop which may cause instability.
G4X and G5 ECU Tuning Functions > VVT Control > User Defined VVT Mode
User Defined VVT Mode
User Defined VVT Mode
The User Defined VVT Cam Control Mode is for use when there is no pre-defined VVT mode available, it enables a custom VVT setup to be calibrated. This is a
complex task that involves custom PID tuning of the VVT system.
WARNING
The setup of the User Defined VVT mode is a complex process, and if not setup correctly, could lead to serious engine damage. Be sure to completely read the VVT
help section and understand the whole topic before attempting the process. If unsure about something, stop and seek help from your closest Link dealer.
Below is the general process for configuring the User Defined VVT Cam Control Mode. Each setup will vary because of the number of variable cams, the number of
teeth on the cams wheel, and the degrees between the teeth.
1. Go to ECU Settings > VVT Control > VVT Setup and set the Cam Control Mode to 'User Defined'.
2. Set the Number of Banks that the engine has and set the Available Variable Cams on each bank.
3. Wire-up each cam's position sensor and set the Cam Sensor Input for each cam.
4. Wire-up each cam's control solenoid and set the PWM Output and PWM Frequency for each cam.
5. Setup the RPM Lockout and ECT Lockout.
6. Select the VVT Inlet Target Table and set the whole table to a value of zero. Do the same for the VVT Exhaust Target Table.
7. If you want to adjust the zero position of the cams do it now using the Inlet Fully Retard Position and Exhaust Fully Advance Position settings.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 159 of 235
8. Set the Tooth Tolerance Range settings to control the endpoints of the cam rotation.
9. Use the Cam Angle Calibration Function to automatically set the Tooth Counts and Tooth Offset Values.
10. Fill in the VVT Target Tables and adjust the Base Duty Cycle and PID settings until the cams operate as desired.
Refer to VVT Settings for more information on the operation of each setting and VVT Runtimes for more information on the various Runtime Values and Statuses.
· Gear Detection - Gear detection calculation using a vehicle speed sensor, a gear position sensor, or data from a CAN bus.
· Speed Sources - Driving and Driven vehicle speed sources.
· % Slip Calculation - Calculate difference between driving and driven wheel speeds.
· AC Clutch Control - Used for setting up Air Conditioning clutch control.
· Starter Control - Used for setting up starter motor control.
· Anti Theft - Configure an Anti Theft setup.
· Cruise Control - Configure Cruise Control using the vehicles E-throttle system.
G4X and G5 ECU Tuning Functions > Chassis and Body > AC Clutch Control
AC Clutch Control
The Air Conditioning control function controls the compressor clutch, and the cooling of the condenser by use of the engine fan(s). There are two different control
modes for use in situations where the factory air-conditioning control is present or removed.
The AC Clutch Control Runtimes can be monitored on the Misc tab of the Runtime Values window (F12 key).
Note: Which Engine Fans are turned on when AC is turned on is controlled by the Engine Fan X on with AC setting for each Fan in Auxiliary Outputs -> Engine Fan.
Mode
This setting selects the operating mode of AC Clutch Control.
· OFF - AC Clutch Control is not used.
· Basic - When in Basic mode, if the ECU receives an AC Request it checks to see if the engine speed is above 400 RPM. If the engine speed is greater than 400
RPM it then turns on the outputs for AC Clutch and Engine Fan (setup to turn on with AC). The ECU will keep the AC Clutch and Engine Fan on until the AC
Request turns off or the engine speed is under 400 RPM. The Basic mode is recommended for use with a system where a separate factory AC controller
manages the AC Request signal.
· Full - When in Full mode, if the ECU receives an AC Request it checks to see if the engine speed is above 400 RPM, the AC Evaporator Temp is above the Low
Evap Temp Lockout, and the AC Pressure is between the High Pressure Lockout and the Low Pressure Lockout. If all of these conditions are met the ECU will
then switch on the AC Clutch and the Engine Fan (setup to turn on with AC).
The ECU will keep the AC Clutch and Engine Fan on until one of the following:
The Full mode is recommended for use with a system where there is no factory AC controller, or when AC evaporator temperature control by the ECU is
desired.
Note: If the AC system pressure reaches one of the pressure lockouts the ECU will turn off the AC Clutch and Engine Fan until a new AC Request is received.
Output
Specifies the output being used to control the AC Clutch.
AC Request Source
Select the input that the AC Request switch is wired to.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 160 of 235
Clutch Delay
This is the delay between AC request and engagement of the AC compressor clutch (and also disengagement). This delay allows time for the ECU to increase the
amount of air bled into the engine via the idle speed control system to maintain a consistent idle.
Pressure Source
Select the input that the AC Pressure Sensor is wired to.
Pressure Calibration
Select the AC Pressure Sensor Calibration.
AC Evaporator Temperature
Select the input that the AC Evaporator Temperature Sensor is wired to.
Temperature Calibration
Select the AC Evaporator Temperature Sensor Calibration.
A common example of a vehicle that would use this function to control the vehicles alternator is NB MX5s.
Note: This function is not intended to be used on vehicles which have two separate voltage levels but still have a regulator inside the alternator like the S2000.
Note: When the engine is off the Output is turned off and the error runtime value is reported as 0.
Settings:
Output
This setting is used to select the PWM capable output that has been wired to the alternator control pin. If this setting is set to None the rest of the settings will be
hidden.
Frequency
This setting is used to set the frequency of the selected output pin's signal. The value used here would typically be the same as is used by the OEM system, an
oscilloscope can be used to find this value.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 161 of 235
This table contains the feed-forward values for the PID controller, the Duty Cycle value that the controller starts with and builds off of to reach the value that gives the
correct voltage. Ideally one axis of this table would be an electrical system load measurement but not all vehicles have these so in this you could use a mathblock
which has a value that increases when engine fans or other large loads are turned on could be used. The other axis would typically be engine speed as the faster the
engine spins the more power is produced from the alternator.
An example value would be 35% for an NB MX5 at idle with headlights and fans off.
Anti Theft requires an activation input to the ECU to determine when the system should allow the engine to be started. There are three different options for the
activation input to come into the ECU:
· Digital Input - A Digital Input Function can be configured as Anti Theft. This option would be used with a hidden switch or an after-market alarm module output.
· CAN bus - A signal comes to the ECU over a CAN bus. This method would be used with factory alarm systems or a Body Control Module.
· Digital Input and CAN bus - For increased security a CAN bus input and Digital Input can be used in conjunction. Both inputs will be considered before starting
the engine.
Digital Input
Select the input that the Anti-Theft switch is wired to.
Default State
The default state of the CAN anti-theft request status.
· Immobilised - The engine will be immobilised until a CAN Anti-Theft OFF Request is received.
· Engine Run - The engine will be allowed to run until the CAN Anti-Theft ON Request is received.
Tip: Monitor the Anti Theft, CAN Anti-Theft Request, and Engine Kill statuses to see if the engine is being immobilised correctly.
G4X and G5 ECU Tuning Functions > Chassis and Body > Starter Control
Starter Control
Starter Control provides ECU managed operation of the Starter Motor. The Start Position input should be setup before setting up the Starter Control.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 162 of 235
Starter Solenoid
Specifies the output being used to control the starter solenoid.
With the above settings the ECUs Starter Control would activate the starter motor if:
· Engine speed is 0rpm, and
· The anti-theft signal is off and
· The driver presses the start button or turns the key (Start Position becomes Active).
With the above settings the ECUs Starter Control would activate the starter motor if:
· Engine speed is 0rpm, and
· The Park/Neutral Status is Active and
· The driver presses the start/stop button (Start Position becomes Active).
With the above settings the ECU would apply a 100% cut to both fuel and ignition if:
· The engine speed has been greater than 550rpm, and
· The start/stop button has been released since the motor was started, and
· The driver presses the start/stop button (Start Position becomes Active).
Note: The fuel and ignition cut will remain until engine speed is 0rpm and the start/stop button has been released.
G4X and G5 ECU Tuning Functions > Chassis and Body > Virtual Fuel Tank
Virtual Fuel Tank
The Virtual Fuel Tank Function can be used to warn the driver when the volume of fuel remaining drops below a certain amount. This function uses calculated fuel
consumption based off of injector PW, Differential Fuel Pressure and Injector characteristics, more specifically it uses the Accumulated Fuel Consumption value with
additional code to reset the amount of fuel remaining and to remember the amount of fuel over ECU power cycles.
The amount of fuel remaining is shown by the Fuel Left runtime and the Fuel Low warning is displayed by the Fuel Left status.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 163 of 235
Reset Volume
If using Volume Added Mode this setting defines the amount of fuel that is added when the Add Fuel Input becomes active.
If using Volume Filled up to Mode this setting defines the amount of fuel that the remaining value is set to when the Add Fuel Input becomes active.
If using Hold up/down Mode this setting defines the amount of fuel that the remaining value is set to when the both the Add Fuel Input and Remove Fuel Input are
active at the same time.
Add/Remove Rate
Note: This setting is only visible when using Hold up/down mode.
Defines how fast fuel is added and removed when the Add and Remove Fuel Inputs are active.
G4X and G5 ECU Tuning Functions > Chassis and Body > Cruise Control
Cruise Control
Cruise Control is a system in which the ECU automatically controls the vehicle to achieve and maintain a speed set by the driver. To do this the ECU controls the
throttle plate in the vehicles electronic throttle body.
· Electronic Throttle - The engine must have an electronic throttle system that is controlled by the ECU, correctly tuned, and has no faults.
· Driving Wheel Speed - The ECU must have a Driving Speed Source correctly setup and working.
· Cruise On Switch - The system must have a switch used to enable the Cruise Control system.
· Cruise Set Switch - The system must have a switch used to activate the Cruise Control system at the current driving wheel speed.
· Brake Switch - The system must have a switch that activates when the brake pedal is pressed. The ECU must know when this switch is activated either by
being directly wired to one of the ECUs Digital Inputs or via one of the ECUs CAN modules. If both Brake NC and Brake NO have no source Cruise Control will
not be enabled. If either Brake switch becomes active while Cruise Control is active Cruise Control will be disabled and the status changed to enabled.
· Clutch Switch - The clutch switch must be set up and working if the vehicle is manual. This switch will disable the cruise control when it becomes active.
WARNING
Cruise Control, if incorrectly configured, could lead to serious injury or major vehicle damage. For minimum safe operation you MUST make sure that a brake switch is
connected to the ECU and operating correctly. DO NOT attempt to configure any part of the Cruise Control system if you are at all unsure or do not have sufficient
experience to do so.
WARNING
Every effort has been made to ensure that the Cruise Control system is reliable and safe. However, incorrect installation, wiring and setup can cause unexpected
operation. If at any stage you are unsure, immediately contact your Link dealer for advice. Link provides Cruise Control functionality 'as is' and accepts no responsibility
for the use of Cruise Control or any consequential damage that may directly or indirectly arise from the use of Cruise Control.
Switch Type
Used to select the type of cruise switch input being used.
· Digital - Four separate digital inputs - On, Set/Coast, Resume/Accel and Cancel.
· Analog - One Analog Input with the four inputs being definable voltages.
· Subaru Cruise Switch - Three digital inputs - On, Switch A and Switch B.
· Subaru 3 Wire - One digital input (On) and one Analog input with three inputs being defineable voltages - Set/Coast, Resume/Accel and Cancel.
· Euro Set Increments - Four separate digital inputs - On, Set/Accel, Resume and Coast.
· Euro Res Increments - Four separate digital inputs - On, Set, Resume/Accel and Coast.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 164 of 235
Cruise On Switch
Sets the cruise control power (On) switch to be a Momentary or Toggle switch.
Max Acceleration
The maximum rate at which the Cruise Control system will allow the vehicle to accelerate to achieve the Cruise Set Speed.
Proportional Gain
Adjusts the Proportional Gain of the Cruise Control's PID algorithm. Increasing this number increases the proportional gain, decreasing this number decreases the
proportional gain.
Integral Gain
Adjusts the Integral Gain of the Cruise Control's PID algorithm. Increasing this number increases the integral gain, decreasing this number decreases the integral gain.
Derivative Gain
Adjusts the Derivative Gain of the Cruise Control's PID algorithm. Increasing this number increases the derivative gain, decreasing this number decreases the
derivative gain.
Digital:
· Cruise On Switch - Used to select the switched input that controls the Cruise On functionality. Enables and disables Cruise Control.
· Cruise Set Switch - Used to select the switched input that controls the Cruise Set functionality. Activates Cruise and sets the cruise speed or reduces the set
speed depending on conditions (Set/Coast functionality).
· Cruise Resume Switch - Used to select the switched input that controls the Cruise Resume functionality. Activates cruise at the previous set speed or
increases the current set speed depending on conditions (Resume/Accel functionality).
· Cruise Cancel Switch - Used to select the switched input that controls the Cruise Cancel functionality. Disables Cruise Control (changes from Active to
Enabled), Brake NC, Brake NO and the Clutch switch also disable Cruise Control in the same manner when active.
Analog:
· Analog Cruise Input - Used to select the analog input that the cruise switches are connected to.
· On Switch Voltage - Used to tell the ECU what the input voltage is when the On Switch is active. Enables and disables Cruise Control.
· Set Switch Voltage - Used to tell the ECU what the input voltage is when the Set Switch is active. Activates Cruise and sets the cruise speed or reduces the set
speed depending on conditions (Set/Coast functionality).
· Resume Switch Voltage - Used to tell the ECU what the input voltage is when the Resume Switch is active. Activates cruise at the previous set speed or
increases the current set speed depending on conditions (Resume/Accel functionality).
· Cancel Switch Voltage - Used to tell the ECU what the input voltage is when the Cancel Switch is active. Disables Cruise Control (changes from Active to
Enabled), Brake NC, Brake NO and the Clutch switch also disable Cruise Control in the same manner when active.
· Cruise Switch Voltage Tolerance - Used to set the tolerance for each of the switch voltages, for example a tolerance of 0.3V means that the switch is
considered to be active if the voltage is within plus or minus 0.3V of the specified switch voltage.
Subaru 3 Wire:
· Cruise On Switch - Used to select the switched input that controls the Cruise On functionality. Enables and disables Cruise Control.
· Analog Cruise Input - Used to select the analog input that the cruise switches are connected to.
· Set Switch Voltage - Used to tell the ECU what the input voltage is when the Set Switch is active. Activates Cruise and sets the cruise speed or reduces the set
speed depending on conditions (Set/Coast functionality).
· Resume Switch Voltage - Used to tell the ECU what the input voltage is when the Resume Switch is active. Activates cruise at the previous set speed or
increases the current set speed depending on conditions (Resume/Accel functionality).
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 165 of 235
· Cancel Switch Voltage - Used to tell the ECU what the input voltage is when the Cancel Switch is active. Disables Cruise Control (changes from Active to
Enabled), Brake NC, Brake NO and the Clutch switch also disable Cruise Control in the same manner when active.
· Cruise Switch Voltage Tolerance - Used to set the tolerance for each of the switch voltages, for example a tolerance of 0.3V means that the switch is
considered to be active if the voltage is within plus or minus 0.3V of the specified switch voltage.
G4X and G5 ECU Tuning Functions > Chassis and Body > Gear Detection
Gear Detection
Gear Detection uses either vehicle speed sensor information, CAN data or an Analog voltage to determine which gear is currently selected. Gear position can then be
logged or used to control other features such as gear selection based boost control.
· Off / CAN
Gear detection is turned off or the information comes over CAN. No other gear detection settings are required.
· RPM / Speed
The current gear is calculated from engine speed (RPM) and a driving wheel speed source. To use Gear Detection, the ECU must know each gear ratio. Then
while driving, the ECU continuously compares the current driving wheel speed/engine speed ratio to the learned ratios to determine which gear the vehicle is in. If
the driving wheel speed/engine speed ratio does not match any of the learned gear ratios, the ECU assumes the car is in neutral (or the clutch is pressed). The
driving wheel speed source can be either from a Digital Input or over CAN. This mode may not work properly with automatic transmissions due to slip in the torque
converter and this mode will only return numbered gears, not P,R,N,D&L. When used with number of gears set to 1 the vehicle will be considered to be in 1st gear
if the the "Gear Ratio Calc. (RPM/kph)" Runtime value is less than the value in the 1st cell of the Gear Ratio Table x 1.1.
Slipper clutches in modern motorcycles may cause gear calculation issues while down shifting in over run.
Source
This setting is visible when Gear Detection Mode is set to Analog Position Sensor OR Gear Shift Control Start Shift Mode is set to either Gear Barrel Position or Digital
Paddle Shift OR the Gear Shift Control End Shift Mode is set to Gear Barrel Position.
This setting allows the user to select the input that has been wired to the Gear Barrel Position Sensor, the value from this input is used extensively in certain Gear Shift
Control Modes.
Number Gears
Use this setting to enter the number of forward gears your gearbox has. The number of specified gears here will control the number of visible cells in various gear
related tables such as gearshift or boost by gear.
Gear Calibration
This setting is only visible when either Gear Detection Mode is set to RPM / Speed or Gear Shift Control is on AND Gear Detection Type is set to ECU Calculated.
This setting selects the gear whose ratio is to be calculated by the ECU. Set to OFF when all gear ratios have been calculated. See ECU Calculated Gear Ratio
Procedure for details on how to use this. This will not disable Gear Detection.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 166 of 235
The numbers displayed in the Gear Ratio Table do not represent the actual crankshaft to axle turns ratio. When Normalise Ratio Table is used, all numbers in the table
are divided by the gear selected to normalise to. This will display the ratios as numbers that will correspond to crankshaft to axle turns ratio as usually seen.
When Gear Detection Type is set to ECU Calculated the ECU will fill in the Gear Ratio Table, when set to User Defined the tuner needs to fill in the table.
The important point here is that when manually entering gear ratio numbers, they must be entered as the Engine Speed/Speed(kph), not the numbers given by the
vehicle manufacturer. The correct ratio number can be found by watching the Gear Ratio Calc runtime value in the Misc tab of the Runtime Values window (F12 key).
Gear X
These settings are visible when Gear Detection Mode is set to Analog Position Sensor OR Gear Shift Control Start Shift Mode is set to either Gear Barrel Position or
Digital Paddle Shift OR the Gear Shift Control End Shift Mode is set to Gear Barrel Position.
This setting is used to select the gear to match the voltage specified in Volt X.
Volt X
These settings are visible when Gear Detection Mode is set to Analog Position Sensor OR Gear Shift Control Start Shift Mode is set to either Gear Barrel Position or
Digital Paddle Shift OR the Gear Shift Control End Shift Mode is set to Gear Barrel Position.
This setting is used to specify the voltage for Gear X.
1. Set Gear Detection Type to ECU Calculated. This turns Gear Detection on.
2. Set the correct Number Gears. Note that ECU calculation of the gear ratio table only works with number of gears set to 3 or more gears.
3. Display the Misc tab of the Runtime Values window (F12 key). Look for the Gear Ratio Status (right hand column).
4. Drive the vehicle in first gear. If the Gear Ratio Status displays "No Speed Input" while the vehicle is moving at speeds above approximately 10 kph then there
is a speed sensor fault, correct this fault before continuing.
5. Set Gear Calibration to 1st Gear. Do this while you are driving in first gear as this starts the calibration process.
6. Speed up until the Gear Ratio Status stops displaying "KPH < 15" (this just indicates that you are going too slow).
7. Gear Ratio Status will display "Calculating 1st Gear" while the ECU calculates the gear ratio. Keep driving at a stable speed until the Gear Ratio Status displays
"Finished". A stable gear ratio must be detected for three seconds during calculation. If a stable gear ratio is not detected within 12 seconds, Gear Ratio Status
will display "Error Try Again". If calculation is a success, the newly calculated gear ratio will appear in the gear ratio table.
8. Repeat steps 6-8 for each gear.
Note: If you consistently have issues with ECU Calculated gear despite having a correct speed signal and stable Gear Ratio Calc. the Gear Ratio Table can be easily
setup using a short log of the Gear Ratio Calc, (using all gears), simply set the Gear Detection Type to user defined and enter the largest Gear Ratio Calc step value
into the gear 1 column and the smallest into the top gear column.
G4X and G5 ECU Tuning Functions > Chassis and Body > Speed Sources
Speed Sources
Here you'll find setup for:
· Wheel speed inputs for each corner, both Digital Input and CAN Bus based.
· Driven and Driving wheel speed, used for the associated runtimes parameters and calculation of the %Slip runtime parameter.
· Acceleration source, used for the associated runtime parameter.
For information on wiring a wheel speed sensor, see the Wheel Speed Wiring topic.
To receive a wheel speed over CAN setup the user CAN to receive the speed as a CAN DI Frequency and select that DI Frequency as the Source DI.
Source DI
Select a source for the wheel speed.
Method 1: Drive the vehicle at a known speed and adjust the calibration number until the Vehicle Speed Runtime Value displays correct.
Method 2: Wheel Speed Sensors Only.
· Calibration Number = (Number of Sensor Teeth / Wheel Diameter) * 31.83. Note that wheel diameter is in meters (m) or
· Calibration Number = (Number of Sensor Teeth / Wheel Diameter) * 1253.19. Note that wheel diameter is in inches (in).
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 167 of 235
The Driving Wheels are any wheels connected directly to the drive train, on a rear wheel drive car, this is the rear wheels.
Options include:
· LF Wheel Speed
· RF Wheel Speed
· LR Wheel Speed
· RR Wheel Speed
· Average Front Speed
· Average Rear Speed
· Min Front Speed
· Max Front Speed
· Min Rear Speed
· Max Rear Speed
· Average Four Wheels
· GP Speed 1
· GP Speed 2
· GP Speed 3
· GP Speed 4
· Outside Front Speed
· Outside Rear Speed
· GPS Speed
Blend Acceleration
This setting is only visible when using Outside Front Speed or Outside Front Speed for either Driving or Driven Wheel Speed Source.
When the Lateral Acceleration is less than the value specified in this setting the wheel speed used is a blend of both sides with higher the lateral accelerations resulting
in combined speed that is more biased to the outside wheel. When the Lateral Acceleration is greater than or equal to the Blend Acceleration value the output speed is
entirely the outside wheel speed.
Slip Filter
Used to help smooth slip due to erratic wheel speeds. This setting controls the corner frequency of a second order low pass filter (Selecting a lower corner frequency
reduces noise but adds delay). Also see % Slip Calculation.
Acceleration Source
Selects if the Acceleration parameter is calculated from the Driving Wheel Speed, Driven Wheel Speed parameter or GPS Speed. Acceleration is the rate of change of
speed displayed in units of km/h/s.
Example One
Front wheel drive vehicle with four wheel speeds into ECU via Digital Inputs
Example Two
Rear wheel drive vehicle with four wheel speeds into ECU via CAN
1. Setup the CAN bus for the wheel speeds if not already configured. Typically on built in vehicle modes CAN DI Freq 1-4 are LF, RF, LR, RR wheel speed
respectively.
Note: Non zero Calibration values can be used to correct for non standard wheel sizes. Calibration values have the same effect on CAN values as DI values.
Example Three
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 168 of 235
Front wheel drive vehicle with one vehicle speed input into ECU via a Digital Input
Example Four
Rear wheel drive vehicle with one vehicle speed into from the transmission or dashboard via a Digital Input
Example Five
Four wheel drive vehicle with four wheel speeds into ECU via Digital Inputs
· 0 % Slip - The Driving and Driven wheels are turning at the same speed.
· 10% Slip - The Driving wheels are turning 10% faster than the Driven wheels.
· 100% Slip - The Driving wheels are turning twice as fast as the Driven wheels.
· -10% Slip - The Driving wheels are turning slower than the Driven wheels (eg hard braking).
· -100% Slip - The Driven wheels are turning but the driving wheels are not (eg rear brakes locked up).
When calculating Slip, the Driving and Driven Speed Sources are used. For the Slip calculation to work a Driving AND Driven speed source need to be setup.
The Slip runtime value can be found in the Misc tab of the Runtime Values window (F12 key). Slip is also an axis parameter options and can be selected for a 3D table
using the Axis Setup menu.
Slip Example
A typical application of Slip Calculation would be as a form of traction control. One or two wheel speed sensors could be fitted to the driving wheels (front or real wheel
drive) and one (or two) sensors could be fitted to the driven wheels. Slip could then be used as an axis on the GP RPM Limit table to invoke an RPM limit when
excessive slip (wheel spin) was detected. Alternately the boost level could be decreased to decrease power.
Note: Link G4X and G5 ECUs support a user configurable CAN bus.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 169 of 235
Each device on the bus transmits in units called "Frames". Frames are small messages that have a "CAN Identifier" (CAN ID) and some data. CAN is a broadcast bus.
This means that when one device transmits a frame, all other devices can receive that frame. The rule on the bus is that only one device is ever allowed to transmit a
particular CAN ID. So as long as no two devices are set up to transmit on the same CAN ID then everyone is happy.
Link G4X and G5 ECUs can transmit and receive two different CAN Frame types, these are known as Standard and Extended. The Standard Frame type uses a CAN
ID with a length of 11 bits, while the Extended Frame type uses a CAN ID with a length of 29 bits (11bits + 18 bits). The diagram below shows the difference between
the two CAN frame types, notice how both Frame types are have the same Data Field length (64 bits).
It is important to understand the difference between bits and bytes. One byte is made up of eight bits. Each bit can have a value of either 0 or 1, this means that one
byte can have 256 different combinations of bits. When a value is represented by multiple bytes the number of combinations is multiplied. For example, a two byte
number can have 65536 different combinations of bits (256 * 256 = 65536).
The data carried within each CAN frame is the useful part of the frame that allows us to send parameters such as engine speed. Each CAN Frame Data Field can
contain data up to 64 bits (or 8 bytes) long.
The data field can contain more than one parameter and lots of frames can be sent one after the other to transmit a longer data stream. The amount of parameters
(such as engine speed) that can be sent in one data field depends upon how many bytes each parameter uses
As all devices are on the same CAN bus they must all talk at the same data rate. Most devices have a selectable data rate. Make sure all devices on the bus are set to
the same rate (eg 1MBps).
To get data from one device to another, you must define the CAN ID that the sending device will transmit its data on. Then the receiving device must be configured to
listen for that CAN ID and use the data appropriately. It is not always possible to configure both the transmitting and receiving devices. Usually one device has a fixed
setup (usually the receiver) and the transmitter must be configured as specified by the receivers manufacturer.
For more in depth information search Controller Area Network on the internet or refer to CAN on Wikipedia.
G4X and G5 ECU Tuning Functions > CAN > User CAN Setup
User CAN Setup
The User CAN Setup form allows configuration of each CAN module. Select PCLink > ECU Controls > CAN Configuration to open the CAN Setup window.
Note: Setting up the CAN bus is an advanced task and should only be done by experienced users. It can be very time consuming and some knowledge of CAN
protocols and how computer systems store numerical data is required. It is unlikely that incorrect configuration will cause damage to any devices, however it is possible
to interfere with the communication of other working devices.
Warning: Changes made inside this window are not automatically stored. Make sure you click Apply or OK, then do a Store to have the ECU permanently remember
the settings.
The Mode tab of the CAN Setup window is used to configure the following:
· CAN Configuration
· CAN Module Selection - Determines which CAN Module is being configured. Note that not all Link ECUs have multiple CAN channels.
· Mode - Choose from one of the pre-configured modes to match a certain vehicle or the User Defined mode.
· Bit Rate - Configure the bit rate to suit the CAN bus you are connecting to. Note that all devices on the CAN bus must communicate at the same bit rate.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 170 of 235
· OBD - On Board Diagnostics. Choose to have OBD on CAN 1, CAN 2, or OFF. ISO 15764-4 is a standard protocol used for OBD
communication. Note: Most OBD scanners and tools will only work at 250 or 500 kbit/s, this means that all devices on the same CAN bus as the OBD tool or
scanner must work at the same rate.
· Data - These settings are only adjustable when using User Defined mode.
· CAN Channels - Select the CAN channel you wish to configure.
· Mode - Choose the mode for the selected channel. The possible choices are:
· Transmit User Stream X - Transmit User Stream X from the ECU on the selected channel.
· Receive User Stream X - Receives User Stream X into the ECU on the selected channel.
· Transmit / Receive from built in devices.
· Transmit Rate - The frequency at which the selected channel is transmitted onto the CAN bus. This setting is only accessible when the selected channel is
configured to a transmit mode. Be aware that certain devices have a minimum frequency they require. Pre-configured Transmit Modes which require a
certain transmit frequency to work correctly will have these pre-set in the ECU firmware, and changing the Transmit Rate will have no effect.
· ID - The ID the selected channel will use. If the channel is on a receive mode the ID needs to match the ID of the CAN frame the sending device sends. If the
channel is on a transmit mode the ID needs to match the ID of the CAN frame the receiving unit is expecting. The CAN ID must be greater than zero.
· Format - Choose whether the channel will use Standard or Extended format. A standard frame has an identifier length of 11 bits and an extended frame has
an identifier length of 29 bits. Each CAN Module is capable of transmitting and receiving both standard and extended frames at the same time.
The Streams tab of the CAN Setup window is used to configure the following:
· Stream - A stream can be a single or multiple CAN frames transmitted or received on a single CAN Id.
· Add Frame - Add a new frame to the stream currently selected in the streams list. The added frame will have a size of eight bytes by default.
· Delete Frame(s) - Delete the frame selected in the streams list. If a Stream is selected in the streams list all its frames will be deleted.
· Load Stream - Load a pre-configured stream into the stream currently selected in the streams list. Note that this will overwrite any frames the selected
stream currently has.
· Save Stream - Save the stream currently selected in the streams list to a file for future use.
· Parameter Configuration.
· Parameter - Displays the name of the parameter.
· Start Pos - Configure where in the frame the parameter will start.
· Width - Configure how many bits of the frame the parameter will use.
· Byte Order - Configure whether the Most Significant bit comes first (MS first or Big endian) or the Least Significant bit comes first (LS first or Little endian).
· Type - Configure if the parameter is a signed or unsigned number.
· Multiplier - Multiply the parameter value to make it the same as what the other CAN device(s) require.
· Divider - Divide the parameter value to make it the same as what the other CAN device(s) require.
· Offset - Apply an offset to the parameter value to make it the same as what the other CAN device(s) require.
· Visual Frame Display - Use this to help correctly configure the selected CAN frame.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 171 of 235
The Test Calculator tab of the CAN Setup window is used to help setup the CAN bus correctly, it is made up of 3 tools;
· The upper section is a parameter search tool where you can search for a parameter to get information on the range of values the selected parameter can represent,
its resolution, and if it is a status type parameter all of the possible enumerations for the statuses. The correct parameter also needs to be selected in this tool first
before the test calculator and scale generator tools below will work. An example is shown below for Anti-Lag Status. The numerical value down the left side is the
value that will be transmitted on the CAN bus to represent the current status:
· The mid-section is the Test calculator. This can be used to test how different multipliers/dividers/offsets effect the how a parameter may be modified before it is
transmitted to another device on the bus or if the receive button is selected it can show how a piece of data received in a CAN message will be translated into the
ecu and displayed in the software. An example of this could be we want to send say battery voltage to a 3rd party device for data logging. If we had a battery voltage
of 12.75V displayed in PC link, and we sent that out on to the bus with no scaling (multiplier and divider = 1), then this would be sent out on to the bus as the value
“12” – this is because you cant send a decimal point so the number gets truncated to an integer. Having a battery voltage logged with a resolution of 1V may not be
very useful. So if we try a multiplier of 100, we can now see the voltage of 12.75V will be transmitted onto the bus as a value of “1275”. This gives us the resolution
we want. At the other end of the bus, the logger would have to divide this value by 100 to convert it back into a voltage with a resolution of 0.01v.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 172 of 235
Example 2 – Batt Voltage transmitted with a multiplier of 100 now gives us full resolution
· The lower section is the Scale Generator. This has a similar purpose to the test calculator except rather than a trial-and-error type technique, this tool will generate
multiplier/divider/offset values based on a specified known range of values that you want to translate between. As an example, lets say we have a 3rd party lambda
controller and the manufacturer specifies it outputs a CAN value of 0 to represent a lambda of 0.500 and a CAN value of 65535 to represent a Lambda value of
16.000. We want to receive this data so the direction button needs to first be set to Receive. If we input these known ranges in to the min/max fields, the generator
will suggest a multiplier/divider/offset that will work to translate the received data so it is displayed in PC Link correctly.
The CAN Devices tab lets the user interface with Link CAN-Lambda modules. Do not cycle power to the ECU while configuring CAN devices. If you do, you may need
to exit and re-enter the CAN Setup window to continue.
Use this procedure to configure Link CAN-Lambda module:
1. Connect to the ECU.
2. Navigate to ECU Controls > CAN Setup.
3. In the 'Mode' tab ensure the appropriate CAN Module is selected.
4. In the CAN Configuration box:
1. Set the mode to 'User Defined'.
2. Ensure the Bit Rate is set to '1 Mbit/s'
5. In the Data box:
1. Select a free channel and set its Mode to 'Link CAN-Lambda'.
2. In the CAN ID box, set the ID to 950, leave the format on 'Normal'.
6. Switch to the CAN Devices Tab.
7. Connect a Link CAN-Lambda device to the CAN Bus you selected in step 2.
8. Press the 'Find Devices' button.
9. One or more devices should appear in the list, if they do not go back to one and check your settings, check your CAN Bus and ensure that the device is
receiving power.
10. Select the device you wish to change.
All devices are shipped assigned to Lambda 1, this means you will need to attach the device you wish to use for Lambda 1 last.
11. Use the parameter column drop down box to reassign the device.
12. Use the bit rate column to change the devices bit rate.
13. Once you are satisfied with the changes, press the 'Send' button.
14. Cycle power to CAN Lambda Module only - not the ECU (unplug Deutsch connector for example)
1. If you cannot cycle the power to the CAN Lambda Module without also cycling power to the ECU, press the Ok button to close CAN Setup before you
cycle ECU power.
15. To add more devices repeat steps 6 to 13.
Notes:
You cannot mix bit rates on the same bus, neither devices will appear when there are devices with mixed bit rates on the same bus.
Modules are shipped configured as Lambda 1, this means that you must assign Lambda 1 last. Do not assign the same parameter to two or more devices. They
must be programmed one at a time.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 173 of 235
You only need to cycle power to the device(s), you do not have to cycle power to the ECU. For this reason it might be easiest to simply unplug each device as
needed.
Setup Instructions:
Configuring a CAN Module to a pre-defined Mode
The pre-defined modes are used by Link G4X and G5 Plug-in ECUs. They are also available for wire-in applications in supported vehicles.
Use this procedure to configure the ECUs CAN module to transmit and receive data in a pre-defined Mode.
1. Select the appropriate CAN Module.
2. Select the required mode from the drop down Mode list.
3. Click the Apply button.
4. Click OK to close the CAN Setup window.
5. Don't forget to do a Store (F4 key).
6. Enter the ID for the CAN Channel. Note that this must match the CAN ID the receiving devices are configured to listen for.
7. Select the Format required. This will need to match the format the receiving devices are configured to.
8. Select the Transmit Rate at which you wish to transmit the channel.
9. Change to the 'Streams' tab of the CAN Setup window.
10. Select the Stream that was chosen in step 5. Click the 'Load Steam' button and select the desired file containing the pre-configured stream data.
11. Continue setting up other channels as required.
12. Click the Apply button to apply the changes.
13. Click the OK button to close the CAN configuration window.
14. Don't forget to do a Store (F4 key).
6. Enter the ID for the CAN Channel. Note that this must match the CAN ID the receiving devices are configured to listen for.
7. Select the Format required. This will need to match the format the receiving devices are configured to.
8. Set the Transmit Rate at which the channels data will be transmitted. Be careful selecting an unnecessarily fast rate. This would cause unnecessary bus
load, particularly if the receiving device can not process all the extra information.
9. Change to the 'Streams' tab of the CAN Setup window.
10. Select the Stream that was chosen in step 5. Click the 'Add Frame' button.
11. Click the 'Add' button in the parameters section. Select the Parameter you want to transmit from the list.
12. Configure the Start position, Width, Byte Order, Multiplier, Divider and Offset to match what the receiving devices are expecting. The CAN frame layout
diagram is a useful visual aid to help with setup. Setting these up correctly can be quite complex, see the CAN Setup examples for more information.
13. Add more parameters as required.
14. Click the Apply button to apply the changes.
15. Click the OK button to close the CAN configuration window.
16. Don't forget to do a Store (F4 key).
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 174 of 235
6. Enter the ID for the CAN Channel. Note that this must match the CAN ID the transmitting device is configured to transmit on.
7. Select the Format required. This will need to match the format the transmitting device is configured to.
8. Change to the 'Streams' tab of the CAN Setup window.
9. Select the Stream that was chosen in step 5. Click the 'Load Steam' button and select the desired file containing the pre-configured stream data.
10. Continue setting up other channels as required.
11. Click the Apply button to apply the changes.
12. Click the OK button to close the CAN configuration window.
13. Don't forget to do a Store (F4 key).
6. Enter the ID for the CAN Channel. Note that this must match the CAN ID the transmitting device is configured to transmit on.
7. Select the Format required. This will need to match the format the transmitting device is configured to.
8. Change to the 'Streams' tab of the CAN Setup window.
9. Select the Stream that was chosen in step 5. Click the 'Add Frame' button.
10. Click the 'Add' button in the parameters section. Select the Parameter you want to receive from the list. Note that not all parameters are capable of being
received, use the filter to see which are.
11. Configure the Start position, Width, Byte Order, Multiplier, Divider and Offset to match what the transmitting device is sending. The CAN frame layout
diagram is a useful visual aid to help with setup. Setting these up correctly can be quite complex, see the CAN Setup examples for more information.
12. Add more parameters as required.
13. Click the Apply button to apply the changes.
14. Click the OK button to close the CAN configuration window.
15. Don't forget to do a Store (F4 key).
G4X and G5 ECU Tuning Functions > CAN > Link CAN Files
Link CAN Files
Custom CAN Files allow a way of sharing specific CAN setups with the ability to lock them to specific ECUs and hide the information within them through the use of a
password.
To create a CAN File, load a CAN File into the ECU, save a CAN File from the ECU or view a CAN File you first need to open the CAN Setup window (ECU Controls ->
CAN Setup) and then open the Custom CAN File.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 175 of 235
Note: Only one CAN File can be loaded into an ECU at a time and this CAN File can be used by any of the CAN buses present on the ECU.
Note: The CAN File is not saved as part of the base map and so saving a copy of it fro the ECU is recommended when trying different setups.
Note: if the Apply or Ok is clicked the current setup in the window is saved so that next time the CAN Setup window is opened the current setup will remain ready for
further changes.
Once the desired CAN functionality has been setup a CAN File can be created by clicking on 'Save File' which will open a save dialog so that the current setup in the
window can be converted into a CAN File. Once a file name and location has been selected click Save and a password protection query will appear, selecting 'Yes' will
allow a password to be specified for the file and this password will be required anytime this file is opened for viewing or editing and selecting 'No' will mean that this file
can be opened and viewed by anyone without needing a password.
Note: CAN Files can be locked to specific ECUs by checking the 'Lock To ECU' check-box and specifying that ECUs Serial number in the edit-box below the check box
before saving the file. If this is done then the saved CAN file will not be able to be loaded into any ECU other than the one specified by the Serial Number. Typically you
would also password lock files with a specified serial number as otherwise the file can be opened and edited to not be locked to that serial number.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 176 of 235
How to create CAN File. Note the Lock to ECU checkbox and Serial Number edit box.
Note: The normal User Defined Channels and User streams can be used in addition to the custom CAN File on the same CAN bus meaning that CAN files can also be
used as a way to add more custom CAN functionality to a CAN bus than could be achieved with 'User Defined' mode alone.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 177 of 235
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 178 of 235
G4X and G5 ECU Tuning Functions > CAN > CAN Inputs & Outputs
CAN Inputs & Outputs
CAN DI, CAN DI Freq and CAN Analogs can be used to feed information received over CAN into functions as if the input was wired directly to the ECU. This allows
various configurations to be applied such as adjusting wheel speed inputs and converting a voltage received over CAN to a pressure value or temperature value etc.
Virtual Aux and CAN Aux can be used to pass information from one function to another (for example pass the CE Light output through a GP Output to add temperature
and knock warning light functionality) or can be used to send output states, frequencies or Duty Cycles out over CAN without using up precious physical pins.
The operation of these items are described below.
CAN DI
CAN DI inputs can be used to receive on/off values over CAN, they have the same set of statuses as normal Digital Inputs (0 = Inactive, 1 = Active, 2 = Off and 3 =
Fault) but have added timeout functionality. When a CAN DI value has not been updated for at least 2 seconds (and it has been previously set) its status is set to Fault.
CAN DIs can be used in the majority of functions that use standard digital inputs and can also be used directly in things like Math Blocks and GP Outputs.
CAN DI's also have a latch setting which can be used for inputs such as keypads where the CAN DI state will change on the when the received state changes from
something other than Active (1) to Active and oscillates back and forth between inactive and active. If the CAN DI Latch is turned on and a Fault (3) or Off (2) state is
received it will immediately be set to that state and the input needs to change to Active (1) before leaving that Fault or Off state (at which point it will be set to Active).
The CAN DI Latch setting has the following options:
· Off - Latching is off, the CAN DI State is set to whatever value is received.
· On Default Inactive - Latching is on and the CAN DI is set to inactive on ECU power up.
· On Default Active - Latching is on and the CAN DI is set to active on ECU power up.
The CAN DI Latch settings can be found under Digital Inputs > CAN DI Latches which is near the bottom just above the Input Pins folder.
CAN DI Frequency
CAN DI Frequency inputs can be used to receive frequency inputs such as wheel speeds over CAN. The CAN DI Frequency values are displayed as received over
CAN but can be altered when passed through functions such as the GP Speed inputs to correct for any differences between the value received and the real value, an
example of this would be correcting a received wheel speed from the factory CAN bus to account for different sized wheels. The values can also be used exactly as
they are received by using a calibration value of 0 in these functions (the calibration value has the exact same affect on the CAN DI Frequency value as it does on a
digital input frequency value). The values can also be used directly in things like Table Axes, Math Blocks and GP PWM Outputs.
When a CAN DI Frequency has been written to since power up but hasn't been updated in at least the last 2 seconds it's value is set to 0.
CAN Analog
CAN Analog Inputs can be used to receive Analog values such as voltages, Lambda values, pressures, temperatures etc over CAN. These values can be fed into the
majority of functions that can use Standard Analog inputs including things such as ECT, Analog Gear Position and APS (Main) and APS (Sub). The values can also be
used directly in things like Table Axes, Math Blocks and GP PWM Outputs.
When a CAN Analog has been written to since power up but hasn't been updated in at least the last 2 seconds it's value is set to 0.
CAN Auxiliaries
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 179 of 235
CAN Auxiliaries operate in a similar way to the Virtual Auxiliaries with the addition of connected Frequency and Duty Cycle runtime values meaning CAN Auxiliaries can
also be used for PWM based outputs such as GP PWMs, Boost Solenoids and Idle Solenoids. This allows outputs of functions to be further modified before being sent
to a physical output or controlling a physical pin over CAN with all of the functionality of that pin being calculated in the ECU.
Each CAN Auxiliary has a function setting controlled by the function using it, a CAN Auxiliary Status, a CAN Auxiliary Frequency and a CAN Auxiliary Duty Cycle
meaning they can operate in the exact same way as a standard PWM capable Auxiliary Output minus the physical pin. As a comparison Virtual Auxiliary Outputs
operate in a similar way to a non PWM capable Auxiliary Output minus the physical pin.
G4X and G5 ECU Tuning Functions > CAN > Device Specific CAN Information
Device Specific CAN Information
The following CAN devices have pre-configured modes. Expand the sections below to read the setup notes for each device.
The AEM EGT 30-2224 data will come through to the ECU as CAN TC Cyl 1 to 8. You can use anywhere from 1 to 8 EGT thermocouples.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 180 of 235
Using the supplied stream file, the Lambda value will come through on the Lambda 1 parameter. If this is not desirable, the user stream can be altered to use the
Lambda 2 parameter. Make sure Analog Inputs -> Lambda 1 (or Lambda 2 if stream has been altered to use that) has been set to Link CAN.
AiM MXS Strada, AiM MXG Strada and AiM MXL Pista
Setting up the Link ECU:
1. Open the CAN Setup window (PCLink > ECU Controls > CAN Setup).
2. Select the CAN module to be used.
3. Set the Mode to 'User Defined'.
4. Configure the Bit Rate to 1 Mbit/s
5. Select a spare CAN channel.
6. Select 'Transmit Link AIM MXS Strada Dash' from the Mode drop-down menu.
7. Set the CAN ID to 1000 (Normal format).
8. Set the transmit rate to 20Hz
9. Make sure no other CAN channels are configured on the same CAN ID.
10. Click Apply and then OK.
11. Make sure a Store (F4) is performed.
Note: It's recommended to make sure you have the latest dash firmware (and ECU Firmware).
AiM MXL Pista Dash Setup (Not applicable to MXS Strada or MXG Strada)
1. Start Aim Race Studio 2, select Device Configuration and then your dash type (MXL Pista in this case).
2. Make sure the Logger is set to MXL Pista and ECU Manufacturer is set to Link. For ECU Model select: CAN_BUS_BASE_LCC
3. Click Transmit to store the settings to the Aim dash.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 181 of 235
4. Cycle the power supply to the ECU and dash. The two devices should now be communicating over CAN.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 182 of 235
8. Make sure no other CAN channels are configured on the same CAN ID.
9. Click Apply and then OK.
10. Use the ECU Settings tab to navigate to CAN->CAN Keypads->CAN Keypad 1 and set the Keypad Model setting to the model that you are using.
11. Make sure a Store (F4) is performed.
To add a second keypad repeat the above process but selecting CAN Keypad 2 in steps 6 and 10. Currently only up to two keypads are supported, if your application
requires the ECU supporting more than two keypads please contact Link Tech support and request support for more CAN Keypads.
The above image of the Keypad configuration window allows the user to configure various settings within the keypad such as changing the Node Id or CAN Bit Rate.
The 'Send Default Coms Setup' button sets several settings to appropriate values for use with Link ECUs such as turning off the Heartbeat messages, turning on
Periodic State Transmission to 1500ms (to prevent the CAN inputs from going into fault due to not receiving an update) and setting the device to be active at power on.
It does not affect your Bit Rate, Node Id, Backlight Colour, Backlight Brightness, Key Brightness or Startup LED Show settings.
DisplayLink
Setting up the Link ECU:
1. Open the CAN Setup window (PCLink > ECU Controls > CAN Setup).
2. Select the CAN module to be used.
3. Set the Mode to 'User Defined'.
4. Configure the Bit Rate to 1 Mbit/s
5. Select a spare CAN channel.
6. Select 'Transmit Generic Dash' from the Mode drop-down menu.
7. Set the CAN ID to 1000.
8. Make sure no other CAN channels are configured on the same CAN ID.
9. Click Apply and then OK.
10. Make sure a Store (F4) is performed.
The DIYAutoTune CAN-EGT data will come through to the ECU as CAN TC Cyl 1 to 8. You can use anywhere from 1 to 8 EGT thermocouples.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 183 of 235
The Ecotrons ALM data will come through to the ECU as Lambda 1, make sure Analog Inputs -> Lambda 1 has been set to Link CAN.
The Ecotrons Dual ALM data will come through to the ECU as Lambda 1 and Lambda 2, make sure Analog Inputs -> Lambda 1 & 2 have been set to Link CAN
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 184 of 235
8. Change to the Streams tab of the CAN Setup window. Select Stream X and then click Load Stream.
9. Select 'ECUMaster Switchboard V3 Receive Stream 1 Use ID [Link]' and click the Open button (find this in CAN folder of your PCLink install).
10. Change back to the Mode tab, select the next spare CAN channel.
11. Repeat steps 6-10 for the other two ECUMaster Switchboard lcs files, note that the file name indicates whether the file needs to be setup to transmit or receive
and the IDs are always relative to the base Id.
12. Click Apply and then OK.
13. Make sure a Store (F4) is performed.
Generic Dash
The 'Transmit Generic Dash' mode sends out a range of common parameters, it is useful for dashes that are able to have a custom configuration. The parameters that
are sent are in the table below.
All parameters are sent as 16 bit unsigned numbers, with low byte first. Some parameters must be multiplied or offset (constant value added) to get the correct
calibrated value. The limits flags are sent through as a bit field (described below).
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 185 of 235
Frame 14 Status Bit field (Bit order being 7,6,5,4,3,2,1,0,15,14,13,12,11,10,9,8 because LS First mode)
Bits 7-5 Bits 4-3 Bits 2-0 Bits 15-12
Anti-Lag Status Launch Control Status Traction Status Cruise Control Status
0 OFF 0 OFF 0 OFF 0 OFF
1 Armed: AL Active 1 Active 1 OFF: RPM Lockout 1 Enabled
2 OFF:RPM < 500 2 Inactive 2 OFF: TPS Lockout 2 Active
3 Sys Armed: Cyclic OFF 3 OFF: Speed Lockout 3 Startup Lockout
4 Armed: Cyclic Active 4 Ready 4 Min RPM
5 Cyclic Cooldown Active 5 Active 5 Max RPM
6 Dis-armed: Cyclic Active 6 Disabled 6 CAN Error
7 OFF: Torque Module
All data sent uses unsigned numbers with high byte first (Motorola) format.
Link Dash2Pro
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 186 of 235
Haltech TCA-8/TCA-4
There are two possible ID sets for these devices and so some trial and error may be required when setting this up. Some devices use Id 716 for CAN TC 1-4 and Id
717 for CAN TC5-8 and other devices use Id's 730&731.
If the above doesn't work then repeat the steps using the "Haltech_TC8_1to4_id730.lcs" and "Haltech_TC8_5to8_id731.lcs" files and Id's 730 and 731.
The Haltech TCA-8 data will come through to the Link ECU as CAN TC Cyl 1 to 8. You can use anywhere from 1 to 8 EGT thermocouples.
The Haltech TCA-4 data will come through to the Link ECU as CAN TC Cyl 1 to 4 for box A and CAN TC Cyl 5 to 8 for box B. You can use anywhere from 1 to 8 EGT
thermocouples.
KMS Display
Setting up the Link ECU:
1. Open the CAN Setup window (PCLink > ECU Controls > CAN Setup).
2. Select the CAN module to be used.
3. Set the Mode to 'User Defined'.
4. Configure the Bit Rate to 1 Mbit/s
5. Select a spare CAN channel.
6. Select 'Transmit KMS CAN Display' from the Mode drop-down menu.
7. Set the CAN ID to 40.
8. Set the Transmit Rate to 20Hz.
9. Make sure no other CAN channels are configured on the same CAN ID as the KMS CAN Display channel.
10. Click Apply and then OK.
11. Make sure a Store (F4) is performed.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 187 of 235
The 'Transmit KMS CAN Display' Mode will send out the following parameters to the display.
The KMS EGT is capable of transmitting data from four EGT sensors. Data will come through to the Link ECU as CAN TC Cyl 1 to 4. CAN TC Channels can be used
as table axis and are also able to be logged.
The KMS UEGO data will come through to the Link ECU as Lambda 1, make sure you have set Analog Inputs -> Lambda 1 to "Link CAN".
Link CAN-Lambda
Link CAN Lambda modules allow up to eight wideband oxygen sensors to be measured, displayed and logged. A separate module is required for each oxygen sensor.
The modules must be told which sensor they are connected to (eg cyl 1, cyl 2 etc...) so that they can be identified on the CAN bus. All Link CAN-Lambda modules are
shipped pre-configured for a single installation. If only one sensor is being used the module requires no configuration.
Setting up the Link CAN-Lambda modules where multiple modules are used:
1. Remove all Link CAN Lambda modules from the bus except the first one (cylinder 1, bank 1 etc...). It is recommended to power all devices on the CAN bus
down when connecting and disconnecting devices.
2. Note that Link CAN-Lambda modules are set to 1 MBit/s bit rate by default. All devices on the bus must be running the same bit rate.
3. Program the module for the appropriate location. Refer to Link CAN Lambda instruction manual or CAN Devices for programming instructions.
4. Add the next module to the bus, repeat steps 2 and 3 until all modules are programmed.
Note: If exhaust pressure compensation is required, an appropriate pressure sensor must be installed in the exhaust, connected to the ECU and correctly calibrated as
Exhaust Pressure. If not using exhaust pressure compensation, ensure that Exhaust Pressure reads zero at all times.
Note: Link CAN-Lambda modules can be configured to be received by Link ECUs or any other CAN capable after market ECUs using a custom CAN configuration. Full
information on the Link CAN-Lambda communication format is given in the Link CAN-Lambda instruction manual.
When the ECU is configured to use the 'Link CAN-Lambda' CAN Channel mode, the following CAN IDs are allocated and can not be used for anything else.
· 950 (0x3B6) - Receive from CAN Lambda module Id 0 (ie the first or only module on the bus)
· 951 (0x3B7) - Receive from CAN Lambda module Id 1
· 952 (0x3B8) - Receive from CAN Lambda module Id 2
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 188 of 235
An example of the Lambda 1 and two receive packets can be Found in the CAN folder in the PCLink install location.
"Link CAN Lambda 1 [Link]" needs to be setup to receive on ID 950 and "Link CAN Lambda 2 [Link]" needs to be setup to receive on ID 951.
The CAN Lambda devices will turn on after a set time if they do not receive a CAN package telling them the engine speed but if you want to turn them on immediately
you can use the "Link CAN Lambda Transmit false [Link]" stream with an ID of 958 which will transmit an engine speed of 1000rpm telling the CAN Lambdas to
turn on.
Note: When using these custom streams the built in "Link CAN Lambda" stream must be turned off.
Wideband is enabled for engine speed > 400 rpm and disabled for engine speed < 10 rpm
If no speed packet received then Wideband is enabled after 2 seconds.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 189 of 235
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 190 of 235
The specific CAN data being transmitted by the "Link CAN Gauge Extra" stream is shown in the table below.
Note: all values are MS First, some values are signed and the multi /offsets are what is being done at the ECU transmit end.
Note: there are 'GaugeART_CAN_Gauge_Extra_IDXX.lcs' files for each CAN Id in the CAN folder of your PCLink install.
All parameters are sent as 16 bit unsigned numbers, with low byte first. Some parameters must be multiplied or offset (constant value added) to get the correct
calibrated value. Refer to the Generic Dash table below for more specific information.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 191 of 235
The limits flags are sent through as a bit field, a table of the values is shown in the Generic Dash section.
MoTeC E888
Link G4X/G5 ECUs can receive data from MoTeC E888 devices. Note that E888 outputs can not be controlled. To configure the ECU to receive from an E888:
1. Open the CAN Setup window (PCLink > ECU Controls > CAN Setup).
2. Select the CAN module to be used.
3. Set the Mode to 'User Defined'.
4. Configure the Bit Rate to 1 Mbit/s
5. Select a spare CAN channel.
6. Select 'Receive from MoTeC E888' from the Mode drop-down menu.
7. Set the CAN ID to 240.
8. Make sure no other CAN channels are configured on the same CAN ID as the MoTeC E888 channel.
9. Click Apply and then OK.
10. Make sure a Store (F4) is performed.
Note: this CAN Mode writes to CAN Analog 1-8, CAN TC Cylinder 1-8, CAN DI 1-6 and CAN DI Frequency 1-4.
Link G4X/G5 ECUs can use the CAN AN Volt channels for table axis. Link G4X/G5 ECUs are also able to log the CAN AN Volt and CAN DIG channels.
To setup a MoTeC LTCD follow the steps 1 to 10 above, then return to the Mode tab of the CAN Setup window and follow the steps below:
1. Select the next spare CAN channel.
2. Select 'Receive User Stream Y' from the Mode drop-down menu (Where Y is the next unused transmit or receive user stream number).
3. Set the CAN ID to 1121.
4. Make sure no other CAN channels are configured on the same CAN ID as the MoTeC LTCD channel.
5. Change to the Streams tab of the CAN Setup window. Select Stream Y and then click Load Stream.
6. Select 'MoTeC LTC [Link]' and click the Open button. If you can not see the correct file, you can find it in the CAN folder of your PCLink install.
7. Click Apply and then OK.
8. Set Analog Inputs -> Lambda 2 Input to "Link CAN"
9. Make sure a Store (F4) is performed.
After following the above steps the parameter 'Lambda 1' will now read the lambda value from the MoTeC LTC. Additionally, if you are using a MoTeC LTCD the
parameter 'Lambda 2' will read the second lambda value from the LTCD.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 192 of 235
10. Select 'Receive User Stream X' from the Mode drop-down menu (Where X is the next unused transmit or receive user stream number).
11. Set the CAN ID to 1501.
12. Change to the Streams tab of the CAN Setup window. Select Stream X and then click Load Stream.
13. Select 'Toucan CAN [Link]' and click the Open button. If you can not see the correct file, you can find it in the CAN folder of your PCLink install.
14. Make sure no other CAN channels are configured on the same CAN IDs.
15. Click Apply and then OK.
16. Make sure a Store (F4) is performed.
Note: The Toucan dash does not use all the data that is sent through on the ECUs Generic Dash stream.
G4X and G5 ECU Tuning Functions > CAN > Data for CAN
Link G4X and G5 Data for CAN
The Data transmitted by the ECU using User defined is sent out as the metric value shown in PCLink (kPa, m, Lambda, °C, kph) with the values after the decimal place
clipped off. If a higher resolution of the value is required then apply a suitable multi to the parameter when setting up the frame and remove that multi in the receiving
CAN device to return the value to it's proper units. The same applies to values being received.
For example if you wanted to transmit a MAP value of 75.3kPa with a resolution 0.1kPa then setting a Multi of 10 to it would result in a transmitted value of 753.
And conversely if you wanted to receive an APS (Main) value of 50.3% that has been sent with a resolution of 0.1% (multiplied by 10) then setting a Divider value of 10
will convert the CAN value of 503 to 50.3 which is usable by the ECU.
Most DI Input, Auxiliary output, Analog Input, Limits etc Statuses are:
0 = Inactive
1 = Active
2 = Off
OBD data is able to be used by scan tools, and is also capable of being transmitted to a tablet or cellphone using an OBD to bluetooth or wifi device.
Setting up OBD
There are two parts to setting up OBD, the first part is wiring the OBD-II Port to the ECU. The second part is setting up the ECUs CAN bus module, follow the steps
below to setup the CAN bus module:
1. Start PCLink and connect (F3 key) to the ECU. Then click ECU Controls > CAN Setup.
2. Select the CAN Module the OBD-II Port has been wired to. Note that some ECUs only have the CAN 1 module available.
3. Set the Mode to any mode other than OFF. If the CAN module is only wired to the OBD-II Port then select 'User Defined'.
4. Set the Bit Rate, most OBD-II scan tools communicate at 250 or 500 kbit/s.
5. Next select either 'ISO 15764-4 on CAN 1' or 'ISO 15764-4 on CAN 2' depending on the CAN Module being used.
6. Click Apply and OK, remember to do a Store of the ECUs base map (F4 key).
If problems are encountered during setup refer to User CAN Setup for more information on CAN Bus configuration.
OBD Data
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 193 of 235
Note: Only CAN Keypads using CANOpen are supported, J1939 is not supported at this time.
Note: If your keypad was sourced from somewhere other than Link you will most likely need to change the settings in it to match how the Link ECU uses it. This can be
done by Opening the CAN Setup window, clicking on the CAN Devices tab, clicking the Find Devices button, selecting the appropriate keypad, clicking 'Configure
Device' and then clicking the 'Send Default Coms Setup' button. Clicking this button will:
· Turn Off the keypad Heartbeat messages.
· Turn On the Periodic State Transmission with a period of 1500ms.
· Turn Off the Boot Up Message.
· Set it to be active on start up.
· And turn Off Demo Mode.
It will not affect your Bit Rate, Node Id, Backlight Colour, Backlight Brightness, Key Brightness or Startup LED Show settings.
Keypad Models
The following CAN keypads models are supported and have been tested in house:
· BLink Marine PKP-2200-SI
· BLink Marine PKP-2400-SI
· BLink Marine PKP-2500-SI
· BLink Marine PKP-2600-SI
· BLink Marine PKP-3500-SI-MT
· Grayhill 3K208
The following CAN keypads are included in the list of selectable models but haven't been explicitly tested in house, please contact tech support if you have one and
can confirm whether or not it works.
· BLink Marine PKP-1500-LI
· BLink Marine PKP-2200-LI (SI model has been tested but LI model has not)
· BLink Marine PKP-2300-SI
· BLink Marine PKP-2400-LI (SI model has been tested but LI model has not)
· BLink Marine PKP-3500-SI
· BLink Marine Racepad
· Grayhill 3K206
· Grayhill 3K212
· Grayhill 3K215
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 194 of 235
Once the keypad model has been selected the appropriate number of button settings will appear. These settings are used to select which of the Button functions is
attached to that Button on the keypad. How the different Button functions work is described below.
Keypad Brightness
The Change Brightness Input can be used to select an input that can be used to switch between two different brightness levels. This can be useful for dealing with
situations like driving at night where you may want the lights dimmer than you would during the day. The default (brightness on keypad power up) and the backlight
colour can be set in the CAN Setup window->CAN Devices tab by clicking the Find Devices button and selecting the appropriate keypad and so this brightenss input is
only needed if you want the ability to change it on the go. When an input is selected 4 settings (backlight and key brightness for input inactive and input active) become
visible, the available range of values is 0-63 with 63 being the brightest and 0 being off, note the individual key LEDs will always have some brightness even when set
to 0.
Note: Backlight/key brightness control is currently only supported for Blink Marine keypads (not Grayhill keypads).
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 195 of 235
8. Make sure no other CAN channels are configured on the same CAN ID.
9. Click Apply and then OK.
10. Use the ECU Settings tab to navigate to CAN->CAN Keypads->CAN Keypad 1 and set the Keypad Model setting to the model that you are using.
11. Make sure a Store (F4) is performed.
To add a second keypad repeat the above process but selecting CAN Keypad 2 in steps 6 and 10. Currently only up to two keypads are supported, if your application
requires the ECU supporting more than two keypads please contact Link Tech support and request support for more CAN Keypads.
The above image of the Keypad configuration window allows the user to configure various settings within the keypad such as changing the Node Id or CAN Bit Rate.
The 'Send Default Coms Setup' button sets several settings to appropriate values for use with Link ECUs such as turning off the Heartbeat messages, turning on
Periodic State Transmission to 1500ms (to prevent the CAN inputs from going into fault due to not receiving an update) and setting the device to be active at power on.
It does not affect your Bit Rate, Node Id, Backlight Colour, Backlight Brightness, Key Brightness or Startup LED Show settings.
The different Button types and how they work are described below:
Simple Button
This button type is as basic as it gets, it has a setting to select which CAN DI it controls and an Input On LED State setting which is used to select the button's LED
state when the selected CAN DI is active. The different LED state values are explained below.
When the selected Reset Input becomes active the selected Input CAN DI is reset to inactive.
Table Button
The Table Button functions allow the LED state of the button to be used as feedback for function that the CAN DI feeds into (or any other runtime value/status).
The Input setting is used to select which CAN DI it controls, the LED Parameter setting is used to select which runtime status or value is being used as feedback for the
button's LED state and the table is used to control what the LED state is for each status/value of the selected parameter. The table axis is fixed so if you want to use a
runtime value and the table axis isn't suitable a math block can be used to give a suitable range, if a runtime value with decimal places is being used the value is
floored (rounded down to the next whole integer). The different LED state values are explained below.
When the selected Reset Input becomes active the selected Input CAN DI is reset to inactive.
Increment Button
The Increment Button functions can be used where a value that increments each button press is required, this can be useful when there are a range of possible modes
for a function (e.g. different traction control levels) and you want to be able to step through them. The value is incremented on release of the button and if the button is
held for 1.5s the value will be reset to 0.
The Input setting is used to select which CAN Analog the value is being output on, the Max Value setting is used to set the maximum value that it can increment up to
and and the table is used to specify what the LED state should be for each output value. When the button is pressed while it is at the Max Value it will reset back to 0.
The different LED state values are explained below.
When the selected Reset Input becomes active the selected Input CAN Analog is reset to 0.
Up/Down Button
The Up/Down Button functions are a more advanced version of the Increment Button function. Instead of using just one keypad button and incrementing up until max
before resetting they use two keypad buttons, one for incrementing (adding 1) and one for decrementing (subtracting 1) from the selected CAN Analog output value.
The value is changed on button press (not release like in the Increment button). There is a setting to select the Max value, when this value is reached it stays at the
max value (does not loop back around to 0) and it has a minimum value of 0. The value at ECU power up is specified by the Initial/Reset Value setting and if both the
up and down buttons are pressed at the same time it resets to the Initial/Reset Value. The table is used to specify what the LED state should be for each output value,
the different LED state values are explained below.
When the selected Reset Input becomes active the selected Input CAN Analog is reset to the Initial/Reset Value.
Note: both the Up and Down button must be setup on the same keypad for the dual button press reset to work.
LED States
The LED states are displayed as numbers so that they support multiple keypad types and can be used in tables, what the values mean for different keypads is
explained here.
Blink Marine:
· 0 - Off
· 1 - Red
· 2 - Green
· 3 - Blue
· 4 - Yellow
· 5 - Cyan
· 6 - Violet
· 7 - White
· 8 - Flashing Red
· 9 - Flashing Green
· 10 - Flashing Blue
· 11 - Flashing Yellow
· 12 - Flashing Cyan
· 13 - Flashing Violet
· 14 - Flashing White
Grayhill:
· 0 - No LEDs on
· 1 - Left LED on
· 2 - Middle LED on
· 3 - Right LED on
· 4 - Left & middle LED on
· 5 - Right & middle LED on
· 6 - Left & right LED on
· 7 - All three LEDs on
· 8 - No LEDs on
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 196 of 235
· 9 - No LEDs on
· 10 - No LEDs on
· 11 - No LEDs on
· 12 - No LEDs on
· 13 - No LEDs on
· 14 - No LEDs on
G4X and G5 ECU Tuning Functions > CAN > Link Razor PDM
Link Razor PDM
Link ECUs currently support up to four Razor PDM's with the Built in Link Razor PDM CAN stream. The built in Link Razor PDM CAN stream not only transmits the
CAN Aux statuses and related Duty Cycle and Frequency values but it also receives the High Power and ADIO statuses from the PDM and the amount of Current
flowing through the High Power pins. This allows these values to be logged by the ECU and with some configuration the ADIO and any CAN keypad values from the
PDM can be fed into the ECU through CAN Analog, CAN Digital and CAN Frequency inputs.
To setup the ECU to transmit the CAN Aux runtimes and receive basic PDM data:
1. Open the CAN Setup window (PCLink > ECU Controls > CAN Setup).
2. Select the CAN module to be used.
3. Set the Mode to 'User Defined'.
1. Configure the Bit Rate to the same Bit Rate as the PDM (Often 1 Mbit/s).
2. Select a spare CAN channel.
3. Select 'Link Razor PDM' from the Mode drop-down menu.
4. Set the CAN ID to an appropriate spare Id, the selected ID doesn't matter as long as the PDM is set to match and the next 4 CAN Ids are free (e.g. if Id 500 is
used 501 to 504 must also be free and unused).
5. Set the Transmit Rate to 20Hz, this controls the rate at which the CAN Aux information is transmitted by the ECU, faster or slower rates can be used if desired.
Razor PDM example with a CAN Id of 500 and Transmit Rate of 20Hz.
To setup the Link Razor PDM to receive the CAN Aux information:
1. Open PDMLink and connect to the PDM (F3 or PDM dropdown menu -> Connect).
2. Open CAN Setup -> Basic CAN Configuration
3. Configure the Bit Rate to match the ECU (Often 1 Mbit/s).
4. Open CAN Setup -> CAN Channels.
5. Select a spare CAN channel.
6. Select 'CAN Function' from the Mode drop-down menu.
7. Set the CAN ID to match the 'Link Razor PDM' Id in the ECU CAN Setup.
8. Set the Transmit Rate to None, this Mode only receive's data from the ECU and doesn't transmit any data.
9. Make sure a Store (F4) is performed.
10. Further setup is required in PDMLink to assign CAN Aux's from the ECU to CAN Function's in the Razor PDM before they can be used to control outputs.
To setup the Link Razor PDM to transmit Pin Status and Current flow information to a Link ECU:
1. Open PDMLink and connect to the PDM (F3 or PDM dropdown menu -> Connect).
2. Open CAN Setup -> Basic CAN Configuration
3. Configure the Bit Rate to match the ECU (Often 1 Mbit/s).
4. Open CAN Setup -> CAN Channels.
5. Select a spare CAN channel.
6. Select 'IO Status Stream' from the Mode drop-down menu.
7. Set the CAN ID the ECU's 'Link Razor PDM' Id +1 if this PDM 1 in the ECU, +3 if this is PDM 2 in the ECU, +5 if this is PDM 3 in the ECU or +7 if this is PDM 4
in the ECU (e.g. if the ECU's 'Generic PDM' Id is 500 use Id 501 for PDM 1, Id 503 for PDM 2, Id 505 for PDM 3 or Id 507 for PDM 4).
8. Set the Transmit Rate to 20Hz, faster or slower rates can be used if desired.
9. Make sure a Store (F4) is performed.
10. Current and pin status information should now show up in the ECU, these runtime values and statuses are explained more here.
To setup the Link Razor PDM to transmit CAN Keypad states and values to a Link ECU:
1. Open PDMLink and connect to the PDM (F3 or PDM dropdown menu -> Connect).
2. Open CAN Setup -> Basic CAN Configuration
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 197 of 235
To setup the Link ECU to use one or more of the Razor PDM's ADIO channels or Keypad Functions as an ECU CAN input:
1. In PCLink connect to the ECU and open CAN -> PDM 1 in the ECU settings menu (or PDM 2, PDM 3 or PDM 4 depending on which PDM the input is coming
from).
2. Select the appropriate ADIO or Keypad Function's setting and set it to an unused CAN Freq, CAN An or CAN DI input.
3. If all of the above CAN setups have been done correctly the selected CAN input should now show the status or value of the ADIO or Keypad function.
CAN Data
The table below lays out how the PDM CAN information is transmitted and received, this information is useful when interacting with older ECUs or when wanting to use
information from the PDM that isn't available through the built in settings and runtimes.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 198 of 235
The frames in this table are Received by the ECU on the ID specified in the CAN Setup Window + 3 (503 in the example above).
Frame Byte 0 Byte 1 Byte 2 Byte 3 Byte 4 & 5 (x100 MS First) Byte 6 & 7 (Signed x100 MS
Number First)
Frame 1 0 HP Output 1 Status HP Output 1 Frequency (Hz) (Unsigned MS HP Output 1 Duty Cycle HP Output 1 Current (A)
First) (Signed)
Frame 2 1 HP Output 2 Status HP Output 2 Frequency (Hz) (Unsigned MS HP Output 2 Duty Cycle HP Output 2 Current (A)
First) (Signed)
Frame 3 2 HP Output 3 Status HP Output 3 Frequency (Hz) (Unsigned MS HP Output 3 Duty Cycle HP Output 3 Current (A)
First) (Signed)
Frame 4 3 HP Output 4 Status HP Output 4 Frequency (Hz) (Unsigned MS HP Output 4 Duty Cycle HP Output 4 Current (A)
First) (Signed)
Frame 5 4 ADIO 1 Status ADIO 1 Frequency (Hz) (Unsigned MS First) ADIO 1 Duty Cycle (Unsigned) ADIO 1 Voltage (V)
Frame 6 5 ADIO 2 Status ADIO 2 Frequency (Hz) (Unsigned MS First) ADIO 2 Duty Cycle (Unsigned) ADIO 2 Voltage (V)
Frame 7 6 ADIO 3 Status ADIO 3 Frequency (Hz) (Unsigned MS First) ADIO 3 Duty Cycle (Unsigned) ADIO 3 Voltage (V)
Frame 8 7 ADIO 4 Status ADIO 4 Frequency (Hz) (Unsigned MS First) ADIO 4 Duty Cycle (Unsigned) ADIO 4 Voltage (V)
Frame 9 8 ADIO 5 Status ADIO 5 Frequency (Hz) (Unsigned MS First) ADIO 5 Duty Cycle (Unsigned) ADIO 5 Voltage (V)
Frame 10 9 ADIO 6 Status ADIO 6 Frequency (Hz) (Unsigned MS First) ADIO 6 Duty Cycle (Unsigned) ADIO 6 Voltage (V)
Frame 11 10 ADIO 7 Status ADIO 7 Frequency (Hz) (Unsigned MS First) ADIO 7 Duty Cycle (Unsigned) ADIO 7 Voltage (V)
Frame 12 11 ADIO 8 Status ADIO 8 Frequency (Hz) (Unsigned MS First) ADIO 8 Duty Cycle (Unsigned) ADIO 8 Voltage (V)
Frame 13 50 PDM Temperature (+50 PDM Voltage (x10
unsigned) unsigned)
Statuses are 0 = Inactive, 1 = Active, 2 = Off, 3 = Fault
PDM 3&4 CAN operation is identical to PDM 1&2 with PDM 3 using +5(e.g. 505) for IO statuses and +6(e.g. 506) for CAN Keypad values and PDM 4 using +7
(e.g. 507) for IO statuses and +8(e.g. 508) for CAN Keypad values.
G4X and G5 ECU Tuning Functions > CAN > CAN Setup Examples
CAN Setup Examples
The following are some examples of setting up Link G4X or G5 ECU to communicate with an OEM CAN bus. Most of the information for OEM CAN bus devices is not
publicly available and often has to be reversed engineered using a CAN bus sniffer or analyser.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 199 of 235
8. Change to the Streams tab of the CAN Setup window, select stream one and click 'Add Frame'.
9. Select frame one in the list view on the left. Click 'Add' from the parameters section, navigate to the CAN Digital Input section and select CAN DI 1 Frequency.
Click OK and confirm CAN DI 1 Frequency is now listed.
10. Add the CAN DI 2 Frequency, CAN DI 3 Frequency and CAN DI 4 Frequency parameters like you did for CAN DI 1 Frequency. Confirm that all four CAN DI 1
Frequencies are now listed.
11. Determine the Multiplier, Divider and Offset required for each parameter.
Wheel Speed CAN number Multiplier/Divider ECU/PCLink
from ABS sent by ABS Number (km/h)
Controller (km/h) Controller
0.00 0 1/100 0.0
0.01 1 1/100 0.0
1.00 100 1/100 1.0
26.00 2600 1/100 26.0
12. Select CAN DI 1 Frequency and confirm the Start Pos is 0, the Width is 16, the Byte Order is MS, the Type is Unsigned, the Multiplier is 1, the Divider is 100,
and the Offset is 0.
13. Set the CAN DI 2 Frequency, CAN DI 3 Frequency and CAN DI 4 Frequency parameters up also. CAN DI 2 Frequency Start Pos = 16, CAN DI 3 Frequency
Start Pos = 32, CAN DI 4 Frequency Start Pos = 48. All other settings are the same as in CAN DI 1 Frequency.
14. Click Apply and then OK. Remember to perform a Store (F4).
15. Navigate to Chassis and Body -> Speed Sources -> LF Wheel Speed and set the source to CAN DI 1 Frequency. Leave Calibration as 0 unless you want to
correct for non factory wheel sizes.
16. Repeat for RF, LR and RR Wheel Speeds using CAN DI 2, 3, and 4 Frequencies.
17. Look at the Wheel Speeds on the Misc tab of the runtime values window (F12). Have someone drive the vehicle while watching the wheel speeds, confirm that
the speeds displayed are correct.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 200 of 235
1. Connect CAN H and CAN L pins on ECU to the vehicles CAN bus.
2. Open the CAN setup window in PCLink. (ECU Controls > CAN Setup)
3. Select the CAN module connected to the vehicles CAN bus.
4. Set the Mode to User Defined and the Bit Rate to 1 Mbit/s.
5. Select a spare CAN channel from the list (we are using 'one' in our example), set the Mode to "Transmit User Stream X", where X is the next un-used
Receive/Transmit number (we are using '1' in our example).
6. Set the ID field to match the ID the Dash is expecting the RPM on (ID 640).
7. Set the Format to Standard.
8. Set the Transmit Rate to 100Hz.
8. Change to the Streams tab of the CAN Setup window, select stream one and click 'Add Frame'.
9. Select frame one in the list view on the left. Click 'Add' from the parameters section, navigate to the Triggers section and select Engine Speed. Click OK and
confirm Engine Speed is now listed.
10. Determine the Multiplier, Divider and Offset required.
ECU/ PCLink Number Multiplier/ CAN Number Dash RPM
Divider
0 1/1 0 0
1 1/1 1 0.25
1 4/1 4 1
100 4/1 400 100
4200 4/1 16800 4200
In row one of the table above the ECU Number is 0 and the Dash RPM is zero, no problems here, the ECU value is the same as the Dash RPM. However in
row two we have increased the ECU Number and we can see that the ECU Number is not the same as the Dash RPM, it is 4x higher! If we increase the
Multiplier to 4 (row three) we can see that the Dash RPM is the same as the Engine Number, good. In rows four and five we again check that the Dash RPM is
the same as the ECU Number, and it is still correct. Therefore the required Multiplier is 4, the required Divider is 1 and the required Offset is 0.
11. Select Engine Speed and confirm the Start Pos is 16, the Width is 16, the Byte Order is MS, the Type is Unsigned, the Multiplier is 4, the Divider is 1, and the
Offset is 0.
12. Click Apply and then OK. Remember to perform a Store (F4).
15. Look at the Dash RPM while someone drives the vehicle, confirm that the Engine RPM displays correctly.
Example: Air Conditioning (AC) button press from Body Control Module (BCM) to ECU
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 201 of 235
Known information:
· CAN bus speed of 500 kbit/s
· BCM transmits:
· AC Button Status press on ID 1329
· Byte order of MS First
· The AC Button Status has a width of 1 bit (less than 1 byte)
· Type is Unsigned
· CAN ID format is Standard
· The number the BCM transmits on the CAN bus for AC Button Status is either 0 (Inactive) or 1 (Active).
1. Connect CAN H and CAN L pins on ECU to the vehicles CAN bus.
2. Navigate to Chassis and Body>AC Clutch Control and set AC Request Source to CAN DI 1.
3. Open the CAN setup window in PCLink. (ECU Controls > CAN Setup)
4. Select the CAN module connected to the vehicles CAN bus.
5. Set the Mode to User Defined and the Bit Rate to 500 kbit/s.
6. Select a spare CAN channel from the list (we are using 'one' in our example), set the Mode to "Receive User Stream X", where X is the next un-used
Receive/Transmit number (we are using 'one' in our example).
7. Set the ID field to match the ID the BCM is transmitting the AC Button Status on (ID 1329).
8 Set the Format to Standard.
9. Change to the Streams tab of the CAN Setup window, select stream one and click 'Add Frame'.
10. Select frame one in the list view on the left. Click 'Add' from the parameters section, navigate to the CAN>CAN Digital Input section and select CAN DI 1
(Status). Click OK and confirm CAN DI 1 is now listed.
11. Determine the Multiplier, Divider and Offset required. When setting CAN up for a Status a Multiplier of 1 and a Divider of 1 are always used, the table below
helps understand this.
AC Button CAN number Multiplier/Divider CAN DI
Status Number
0 (Inactive) 0 1/1 0 (Inactive)
1 (Active) 1 1/1 1 (Active)
In row one of the table above the AC Button Status is 0 (Inactive) and the CAN DI value is 0 (Inactive), no problems here, the CAN DI is the same as the AC
Button Status. In row two we can see the AC Button Status is now 1 (Active) and the CAN DI value is also 1 (Active). We now know that both states for the AC
Button match what the CAN DI expects.
12. Confirm the CAN DI 1 Start Pos is 16, the Width is 1, the Byte Order is MS, the Type is Unsigned, the Multiplier is 1, the Divider is 1, and the Offset is 0.
13. Click Apply and then OK. Remember to perform a Store (F4).
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 202 of 235
14. Navigate to Chassis and Body -> AC Clutch Control and set AC Request Source to CAN DI 1.
15. Look at the AC Request Status on the General tab of the runtime values window (F12). Confirm that the AC Request Status reads correctly for the AC Button
position.
G4X and G5 ECU Tuning Functions > CAN > CAN Vehicle Modes
CAN Vehicle Modes
Information on what each vehicle mode includes and what CAN inputs are used
G4X and G5 ECU Tuning Functions > CAN > CAN Vehicle Modes > Audi TT
Audi TT
CAN Channel Function
CAN DI 1 Frequency LF wheel speed
CAN DI 2 Frequency RF wheel speed
CAN DI 3 Frequency LR wheel speed
CAN DI 4 Frequency RR wheel speed
Controls Runtime directly Steering wheel position (some)
Controls Runtime directly Steering rate (some)
G4X and G5 ECU Tuning Functions > CAN > CAN Vehicle Modes > Fiat T-Jet
Fiat T-Jet
Note: These CAN Modes has not yet been widely tested in all geographic regions and on all model variants, if you have issues with this mode please contact tech
support.
This CAN Mode is designed to suit Fiat Bravo T-Jet (198) and should also suit Alfa Romeo Mito 2008 - 2018 (DNA selector untested), Alfa Romeo Giulietta (2010-
2016), Fiat 500 1.4 T-Jet (Abarth 500 T-Jet), Abarth Grande Punto and the Dodge Dart 1.4 (2012-2016).
If this CAN mode does not work for one of the above specified vehicles or more functionality (such as more dash warnings) is desired please contact Tech Support.
This CAN Mode was developed on a manual vehicle and so does not include any automatic vehicle specific CAN messages.
Estimated Torque value (from Torque Control function), Clutch Switch, Gear and Inst Fuel Consumption are used by this CAN Mode.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 203 of 235
CAN DI 6 Headlights on
Controls Runtime directly Steering wheel position
Controls Runtime directly Steering rate
CAN An 1 AC Evap temperature
G4X and G5 ECU Tuning Functions > CAN > CAN Vehicle Modes > Nissan 350Z
Nissan 350Z
CAN Function
CAN DI Freq 1 - LH Front wheel speed
CAN DI Freq 2 - RH Front wheel speed
CAN DI Freq 3 - LH Rear wheel speed
CAN DI Freq 4 - RH Rear wheel speed
CAN DI 1 - AC Request
CAN AntiTheft - see Anti Theft
Gear position (Auto trans only)
Shifter Position (Auto trans only)
This OEM CAN mode receives a CAN Anti Theft (Immobiliser) signal over CAN, it is up to the user if they want this signal to be used - see Anti Theft.
The factory shifter position is received by the ECU and shown in the Gear Shifter Position runtime.
The current gear position is also received by the ECU and shown in the Gear runtime, to ensure this works correctly set the Gear Detection Mode to Off/CAN.
The AC Request is received by he ECU through CAN DI 1, set the AC Request Source to CAN DI 1 to make use of this.
The Engine Fans and AC Clutch on a 350Z are controlled over CAN and the Link ECU sends this information out via the Engine Fan 1&2 runtimes and the AC Clutch
runtime. To make the Engine Fans work correctly an output must be selected (for engine fan 1&2) so we recommend selecting an unused virtual auxiliary for each of
these functions.
G4X and G5 ECU Tuning Functions > CAN > CAN Vehicle Modes > Polaris RZR
Polaris RZR
Uses Speed Limit value setting (even if speed limit is off).
Front diff lock status assumes Aux Injector 6 controls the front diff.
Dash Speed (over CAN) uses the Driving Wheel Speed value.
G4X and G5 ECU Tuning Functions > CAN > CAN Vehicle Modes > Porsche 987/997
Porsche 987/997
CAN Channel Function
CAN DI 1 Frequency LF wheel speed
CAN DI 2 Frequency RF wheel speed
CAN DI 3 Frequency LR wheel speed
CAN DI 4 Frequency RR wheel speed
CAN DI 1 Clutch Switch
CAN DI 2 Start Switch
CAN DI 3 AC Request
CAN DI 4 Rear Demister
CAN DI 5 Cruise On (Push Button)
CAN DI 6 Cruise Set/Speed Increase (pull towards)
CAN DI 7 Cruise Speed Decrease (push away)
CAN DI 8 Cruise Cancel (Push Down)
CAN DI 9 Cruise Resume (Push Up)
Controls Runtime directly CAN Anti-Theft Request
CAN An 1 AC Pressure
CAN An 2 Brake Pressure (Bar)
These CAN streams will support 987 Cayman, 987 Boxster, 997 911 Carrera, 997 Turbo S, 997 911 GT3. Manual transmissions only - not models with the DSG/twin-
clutch gearboxes. They will support OEM engine and engine swaps. All dash and chassis functionality works, no warning lamps etc.
G4X and G5 ECU Tuning Functions > CAN > CAN Vehicle Modes > Subaru WRX 07-11
Subaru WRX 07-11
Estimated Torque value (from Torque Control function), Clutch Switch, Gear and Inst Fuel Consumption are used by this CAN Mode.
The AC Clutch, CE Light and Cruise lights are controlled over CAN in some models and hard wired in others.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 204 of 235
This information applies to the '2015-2017 WRX JDM', '2015-2017 WRX AUDM' and '2018+ WRX AUDM' modes.
Estimated Torque value (from Torque Control function), Clutch Switch, Gear and Inst Fuel Consumption are used by this CAN Mode. The CE Light is controlled by
CAN Aux 1.
G4X and G5 ECU Tuning Functions > CAN > CAN Vehicle Modes > Toyota GT86
Toyota GT86
Note: These CAN Modes has not yet been widely tested in all geographic regions and on all model variants, if you have issues with this mode please contact tech
support.
Estimated Torque value (from Torque Control function), Clutch Switch, Gear and Inst Fuel Consumption are used by this CAN Mode. The CE Light is controlled by
CAN Aux 1.
Transmits Brake NO, Brake NC, Ignition Switch, AC Request, Clutch, Oil pressure Switch, Driving Wheel Speed, Charge Temperature,
G4X and G5 ECU Tuning Functions > CAN > CAN Vehicle Modes > VW Golf MkV GDI
VW Golf MkV GDI
CAN DI Freq 1-4 are LF, RF, LR, RR wheel speed respectively
CAN Analog 1 is Oil Temperature.
Transmits Brake NO, Brake NC, Clutch Switch, Ignition Switch, APS (Main), APS (Sub), TPS (Main), Charge Temperature, MGP, Oil Temperature and Cruise Control
State.
G4X and G5 ECU Tuning Functions > CAN > CAN Vehicle Modes > VW GTi
VW GTi
CAN DI Freq 1-4 are LF, RF, LR, RR wheel speed respectively.
Steering Position and Steering Position ROC are both received from the OEM CAN.
G4X and G5 ECU Tuning Functions > GPS
GPS
Note: Specific information on GPS Runtimes can be found here.
GPS Overview
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 205 of 235
GPS (Global Positioning System), also known as GNSS (Global Navigation Satellite System), is a method of finding global location and velocity using a system of
satellites orbiting around earth. This system uses precision encoded time signals being sampled at a known rate and comparing the differences in timing of the
received messages to determine the distance to each satellite. From knowing the positions of the various satellites and the distance to each of them a very accurate
location can be calculated and based on changes in location a very accurate speed and heading can also be calculated. The more satellites that are 'locked' onto the
more accurate the location, speed and heading data will be.
In addition to calculated location, heading and speed GPS systems can include accelerometers and gyroscopes to further approximate location, speed and heading
data in between calculated position data. This is useful for increasing the rate at which position, speed and heading data is updated and can be useful for maintaining
usable data when driving through tunnels or in other situations where satellite connection is lost.
The Link G5 Voodoo Pro is setup to utilise the GPS, GLONASS, Galileo and BeiDou constellations assuming the selected aerial supports these.
Setup
All GPS receivers require an antenna to be connected to receive the satellite signals, the G5 Voodoo Pro does require an external antenna and has a dedicated SMA
connector for this purpose. The antenna must be placed in a location with a clear line of sight to the sky to ensure the largest number of satellites can be seen.
Common mounting locations include on the roof in the rood in the center of the car or on top of the dashboard as far forward as possible.
Sensor Fusion
Sensor Fusion is technical which refers to a GPS module using both positional data from satellites and onboard accelerometer and gyroscope data to increase the rate
at which the GPS location, speed and heading is updated. This is done by interpolating position in between each satellite message and can result in sample rates of up
to 50Hz. The G5 Voodoo Pro's internal GPS module can perform this functionality.
Dead Reckoning
The Voodoo Pro onboard GPS module allows the use of dead reckoning to support the estimation of position and speed when no satellites can be locked on to. This
differs from Sensor Fusion in that Sensor Fusion has GPS lock and accelerometer/gyro data where Dead Reckoning only has a last known position and
accelerometer/gyro. An example of when dead reckoning would be used is when the vehicle is driving through a tunnel. The use of dead reckoning requires an initial
calibration procedure to allow the module to understand it’s orientation, once it has been calibrated it will remember it's calibration almost indefinitely due to the internal
backup power.
To calibrate the GPS Module's orientation in space which is required for Dead Reckoning and Sensor Fusion you need to:
· Power up the ECU.
· Leave the vehicle sitting stationary in an uncovered location with the antenna connected until the GPS Fix Status shows ‘3D Fix’.
· Then drive in a series of approximately 10 left and right turns of at least 90 degrees and at least 100 meters in a straight line at a minimum speed of 40km/h.
Consecutive left or right turns are not required, just cumulative over the course of the drive.
· Then Check the fix status to see if it is now ‘GNSS with Dead Reckoning’, if it is not then repeat the driving steps above.
GPS Source
This setting is used to select whether the GPS Runtimes are set from the CAN bus or from the Internal GPS controller (G5 Voodoo Pro ECUs only).
Note: This setting only turns off the internal GPS controller, it doesn't stop values from CAN from overwriting the GPS Runtimes and so the user has to ensure that
when using the Internal GPS controllers there are no GPS Runtimes being received over CAN
The PID information is displayed in six runtime values, these runtimes are:
· Max Integral - The maximum value the integral can be.
· Min Integral - The minimum value the integral can be.
· Feed Forward - The base position that the PID values are being added to.
· Proportional - The proportional gain value currently being applied.
· Integral - The integral gain value currently being applied.
· Derivative - The derivative gain value currently being applied.
G4X and G5 ECU Tuning Functions > Torque Management
Torque Management
Torque Management is used to reduce the amount of torque produced by the engine. It does this by retarding the ignition timing, applying engine cuts, reducing boost
levels (if using Closed Loop Boost Control) and closing the E-Throttle to reduce engine torque to the requested level.
Torque reduction is requested via the Traction Control function or over CAN (CAN gearshift requests etc).
Torque Management estimates current engine torque using the load (Abs) value, a multiplier and a base (idle) load value.
When Gear Shift Reduction mode is turned on Torque Management estimates driver requested Torque using the Torque Request Table, this is typically Accelerator
position and engine speed based.
Traction Control uses Torque management to reduce engine torque to reduce slip, Traction Control does this by altering the Modified Torque Request runtime value.
When a reduced torque is requested Torque Management starts by retarding the ignition until the Trq. Red. Max Ignition Trim is reached and then starts applying cuts
until the desired torque is reached. Boost target trims are also applied immediately with the target boost being reduced until the wastegate duty cycle reaches its
minimum value. Once the minimum boost has been reached the E-Throttle target position starts being reduced.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 206 of 235
This process stops once the desired torque has been reached and all cuts and ignition trims have been removed so the system is keeping the torque reduced with only
throttle position trim and boost target trim. The ordering of these 4 methods of Torque reduction is setup to provide a fast initial reduction in torque and a smoother
torque reduction during extended periods.
You don't need E-Throttle and Boost Control on your vehicle to use Torque Management but it will mean that ignition retard and cuts will remain applied during the
torque reduction.
Cut Mode
The type of cut applied when using cuts to reduce engine torque. Fuel, Ignition or no cuts can be selected.
E-Throttle Deadband
The allowable torque variation from the torque reduction target before E-Throttle moves again to correct.
Note: Some runtime values will only be displayed if the parameter they are displaying is activated. Also, some items may not be available on all ECUs.
G4X and G5 ECU Tuning Functions > Runtime Values and States > Fuel
Fuel
Knock Fuel Trims can be found here.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 207 of 235
Injection Actual PW
The actual injection pulse width output on the fuel injector drive in milliseconds (ms). This includes the effective pulse-width, the short pulse width adder and the injector
dead-time.
Injection Effective PW
The calculated injection pulse width before the short pulse width adder and the injector dead-time are added.
Injector PW (Sec)
This displays the effective pulse width applied (not including deadtime or short pulse width adder) to the secondary injectors in milliseconds (ms).
Injection Deadtime
This displays the current injector deadtime trim being applied. The deadtime trim is a function of system voltage and the type of injectors being used, the units
milliseconds (ms). This value is added to the Injector Effective Pulse Width along with the Short Pulse Width Adder value to get the Injection Actual Pulse Width which
is applied the actual on time applied to the injectors.
Note: Deadtime is the actual time it takes to open and close the injector.
Lambda 1-8
These runtime values show the current value from their respective wideband oxygen sensors. Lambda 1&2 can be input via Analog Inputs or via CAN, Lambda 3-8 can
only be input via CAN.
Lambda Avg
Up to 8 wideband oxygen sensors can be connected. All connected sensors that are operating correctly (inside a specific Lambda range) are averaged to to give this
value. The working sensor Lambda range is between 0.1 and 9 Lambda.
When using analog inputs to read wideband values the analog Error High and Error Low voltages can be set to further restrict the allowable operating range. If all
sensors are outside their operating ranges then lambda average defaults to 0.
The units of the displayed values can be changed to AFR using the keyboard shortcut 'U', more information on unit settings can be found here.
AFR/Lambda Target
Displays the current Lambda target This value is from the addition of the AFR/Lambda Target Table and the Open Loop AFR/Lambda Target Overlay table.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 208 of 235
Crank Enrich
This displays the current Crank Enrichment as a percentage of the base injector pulse width.
Warm Up Enrichment
This displays the current Warm-Up Enrichment as a percentage of the base injector pulse width.
Accel Fuel
This displays the current Acceleration Enrichment in units of milliseconds (ms) in 'Pulse Width' mode or 'mg/cyl x100' in 'Mass of Fuel' mode.
Charge Temperature
This displays the current Charge Temperature in the selected temperature unit.
Load (Abs)
The estimated engine load as based on SAE standards.
If Load (Abs) is 100% this means the cylinder is 100% full at atmospheric pressure. If Load (Abs) is 200% this means the cylinder is 200% full (it has 1.0 bar of
pressure above atmospheric pressure).
For Load(Abs) to work correctly the Fuel Equation Mode must be set to Modelled or Modelled - Multi Fuel, Engine Capacity must be set correctly and the ECU must
have a working calibrated MAP sensor.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 209 of 235
For Fuel per Cylinder (Primary) to work correctly the Fuel Equation Mode must be set to Modelled or Modelled - Multi Fuel. Fuel per Cylinder (Primary) is based off of
Air per Cylinder Estimated, Lambda Target, Stoich Ratio, Sec Injection Staging Table and any active trims.
Differential Fuel Pressure works differently depending on which Fuel Equation Mode and Fuel System Type are selected.
Fuel Equation Mode Fuel System Type How Differential Fuel Pressure works
Traditional N/A Differential Fuel Pressure = Fuel Pressure - MGP.
Modelled or Modelled - Dual Fuel None - No FP Correction Differential Fuel Pressure always equals zero.
Modelled or Modelled - Dual Fuel MAP Referenced Differential Fuel Pressure always equals Base Fuel Pressure.
Modelled or Modelled - Dual Fuel Returnless Differential Fuel Pressure = Base Fuel Pressure - MGP.
Modelled or Modelled - Dual Fuel FP Sensor Differential Fuel Pressure = Fuel Pressure - MGP.
Notes:
· Differential Fuel Pressure can only be a positive value.
· When using a Direct Injection mode the Differential Fuel Pressure value applies to the low pressure fuel system only.
Anti-Lag Fuel
Refer to here.
G4X and G5 ECU Tuning Functions > Runtime Values and States > Fuel > Multi Fuel
Multi Fuel
Ethanol Temperature
The temperature of the fuel flowing through the ethanol content sensor. This reading is from an ethanol content sensor on a digital input.
This value is also set as the Fuel Temperature value when the Fuel Temperature input hasn't been setup.
% Ethanol
The percentage of ethanol in the fuel. This reading is from an ethanol content sensor on a digital input.
G4X and G5 ECU Tuning Functions > Runtime Values and States > Fuel > Idle Fuel Trims
Idle Fuel Trims
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 210 of 235
AC Fuel Trim
This Runtime Value displays the current Air Con Idle Load Fuel Trim.
If one bank has been setup then CL Lambda Status 2 stays in the OFF state, if two banks have been setup then each status refers to the bank with the same number.
G4X and G5 ECU Tuning Functions > Runtime Values and States > Fuel > Fuel Usage Runtimes
Fuel Usage Runtimes
Units used (l, km, l/100km or gal(US), mi, mpg(US)) are determined by the Speed selection box in the Options window.
Accumulated Distance
The distance traveled since last time this value was reset (reset is controlled by the Reset Accumulated Fuel Usage setting) based on Driven Wheel Speed. This is
used for calculating l/100km and mpg(US) values.
Accumulated Fuel/Distance
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 211 of 235
The fuel per distance used since last time this value was reset (reset is controlled by the Reset Accumulated Fuel Usage setting), uses the Accumulated Fuel
Consumption and Accumulated Distance runtimes. Can be in L/100km or MPG (based on the speed units option).
When no distance has been traveled the value remains set at 0.
Instantaneous Fuel/Distance
The current fuel per distance usage (uses Driven Wheel Speed). Can be in l/100km or mpg(US) (based on the speed units option).
When the wheel speed is 0 the value displayed is 0 (instead of infinity).
Fuel Left
The amount of fuel left in the Virtual Fuel Tank, this value is updated using the Accumulated Fuel Consumption.
Can be in l or gal(US) (based on the speed units option).
G4X and G5 ECU Tuning Functions > Runtime Values and States > Ignition
Ignition
Knock Ignition Trims can be found here.
Ignition Angle
This runtime displays the engine angle (before individual cylinder & Knock trims) at which the ECU will fire the spark plug. This value is normally a sum of the Ignition
Table value and all of the ignition trims. In some cases this value can be controlled directly without the trims being applied. Individual Cylinder Trims and Knock Trims
aren't visible in this value but are applied to each cylinder as a trim on this value.
This value is displayed in degrees before top dead centre (BTDC).
Dwell Time
This value displays the current measured coil Dwell Time in ms.
Note: this value is the measured Dwell Time, not just the value in the Dwell Control Table.
Trailing Split
This is the Trailing Split value from the Trailing Split Table in degrees. A negative value indicates that the trailing spark is occurring after the leading spark and a
positive value indicates that the trailing spark is occurring before the leading spark.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 212 of 235
G4X and G5 ECU Tuning Functions > Runtime Values and States > Engine Protection
Engine Protection
Engine Kill Status
The following states exist for the Engine Kill Status:
Engine kill is invoked by applying a 100% fuel and ignition cut. The following functions can invoke an Engine Kill, if one or more of these functions are turned on and
active then Engine Kill is invoked.
· Stop Switch
· Starter Motor Control (In Start/Stop or Touch Start modes)
· Ignition Switch
· ECU Hold Power
· Anti-Theft
· Over Voltage Limit
Rotary Oil Pump Stepper and EThrottle can also apply engine limits if faults occur during their operation but don't invoke a full engine kill
Limit Status
The following states exist for Limit Statuses:
This applies to the RPM Limit, MAP Limit, Speed Limit, GP RPM Limit 1&2, Voltage Limit, Under Voltage Limit, Launch Limit, Cyclic Idle Limit, AntiLag
Ignition Cut, E-Throttle Limit, Rotary Oil Pump Limit, Overrrun Fuel Cut, Traction Limit.
Note: The Closed Loop Stepper Limit status is used for Rotary Oil Pump Control as well as stepper idle speed controllers.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 213 of 235
Note: If Speed Limit 1 and 2 are active the lower Speed Limit value will be applied.
G4X and G5 ECU Tuning Functions > Runtime Values and States > Auxiliary Output
Auxiliary Output
Aux 1-10, Aux Inj 1-8 and Aux Ign 1-8 Duty Cycle
Displays the current Duty Cycle of the respective output pin. Non zero values are only shown if the pin is being used for some form of PWM control, pins being used for
injection, ignition or basic switching control show 0% Duty Cycles.
Aux 1-10, Aux Inj 1-8 and Aux Ign 1-8 Frequency
Displays the current Frequency of the respective output pin. Non zero values are only shown if the pin is being used for some form of PWM control, pins being used for
injection, ignition or basic switching control show 0Hz Frequencies.
Aux 1-16, Aux Injector 1-8, Aux Ignition 1-8 and Virtual Aux 1-8 Status
Displays the current status of the respective output pin. Pins being used for injection, Ignition or PWM output show active when they are outputting any signal (Duty
Cycle > 0) and basic switching functions show active when they are set to their Active State.
The available statuses for these functions are:
· Inactive - The output is set up but is not active.
· Active - The output is active.
· Off - The output has not been set up.
· Fault - The output is in fault state. For Aux 11-16 this state can occur when Open Circuit Detection is turned on, for all other Aux pins this indicates the hardware is
not happy.
FP Speed
Shows the current Duty Cycle of the Fuel Pump output. Shows Non Zero values in all Fuel Pump Control Modes that use a PWM Output - Open Loop, Closed Loop
and Three Speed PWM Module.
CL Stepper Position
Shows the current position of the Closed Loop Stepper (or Rotary Oil Pump control) as a percentage of it's full range.
CL Stepper Status
Shows the current status of the Closed Loop Stepper (or Rotary Oil Pump control).
The available statuses are:
· Off - The feature is not turned on
· Fully Open - The motor is in calibration mode and is fully closed.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 214 of 235
Timer 1-4
The current time of the respective Timer.
G4X and G5 ECU Tuning Functions > Runtime Values and States > Digital Inputs
Digital Inputs
Digital Input 1-11 Status
Displays the current status of the respective input pin. Pins being used for PWM inputs show active when any changing signal is detected Active State.
The available statuses for these functions are:
· Inactive - The input is set up but is not active.
· Active - The input is active.
· Off - The input has not been set up.
DI 1-11 Frequency
Displays the current Frequency of the respective input pin. Non zero values are only shown if the pin is being used for some form of PWM or Frequency input such as
Ethanol, Turbo Speed, Wheel Speed etc.
Switch Functions
The Following Runtime Statuses all have the same basic functionality and available states.
· Brake NC
· Brake NO
· Clutch Switch
· Fault Code Clear Switch
· GP Input 1-8
· Ignition Switch
· Log Marker
· Neutral/Park
· Oil Level Switch
· Oil Pressure Switch
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 215 of 235
GP Frequency 1-4
This Runtime shows the frequency of the signal connected to this input in Hz.
GP Speed 1-4
This Runtime shows speed in the units being used.
GP RPM 1-4
This runtime shows rotational speed in rpm.
Timer 1-4
The current time of the respective Timer.
G4X and G5 ECU Tuning Functions > Runtime Values and States > Analog Inputs
Analog Runtimes
When using a CAN Analog with the exact value being fed in use Calibration None.
for wiring information go to Analog Input Wiring
Altitude
Altitude above sea level can be estimated using barometric pressure. Altitude is calculated by assuming that the barometric pressure at sea level is 101.3 kPa, this
means that day to day variations on atmospheric pressure will cause inaccuracies in the altitude estimation. Fluctuations in atmospheric pressure can lead to up to a
+/-200m variation in altitude estimation.
BAP
Displays the Barometric Absolute Pressure in the selected pressure [Link] value is used to calculate MGP and Altitude.
Battery Voltage
Displays the current voltage of the main power supply into the ECU.
ECT
Displays the Engine Coolant Temperature in the selected temperature unit. The ECT value is used by Fan Control, Fuel Purge, Boost Control, Engine Protection, Fuel,
Ignition, Idle Speed Control, VVT and more.
Exhaust Pressure
Displays the Exhaust Pressure as a gauge pressure value in the selected pressure unit (0 is atmospheric pressure, less than 0 is vacuum). This value is used to correct
Lambda readings form built in Lambda controllers or Link CAN Lambda controllers.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 216 of 235
Displays the Fuel Pressure in the selected pressure [Link] Fuel Pressure can be used as an input into Modelled Fuel.
Fuel Temperature
Displays the Fuel Temperature in the selected temperature unit. This value can be set by either the Fuel Temperature input or the Ethanol Sensor input depending on
which is setup. The Fuel Temperature value is used in Modelled Fuel.
GP Pressure 1-4
Displays pressure in the selected pressure unit.
GP Temp 1-4
Displays temperature in the selected temperature unit.
IAT
Displays the Intake Air Temperature in the selected temperature unit. The IAT value is used in Boost Control, Fuel, Ignition, and more.
Lambda 1 & 2
Displays Air Fuel Ratio in the selected unit. The Lambda value is used for various features in Fuel.
More information on these runtimes is located here.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 217 of 235
MAP
Displays the Manifold Absolute Pressure in the selected pressure unit. The MAP value is used in several functions including Boost Control and can be used in many
more including Fuel and Ignition.
MAP Delta
Displays the rate of change of MAP in kPa/100ms.
MGP
Displays the Manifold Gauge Pressure (MAP - BAP) in the selected pressure unit. The MAP value is used in several functions including Boost Control and can be used
in many more including Fuel and Ignition.
Oil Pressure
Displays the Oil Pressure in the selected pressure unit. The Oil Pressure value is often used as part of the engine protection setup.
Oil Temperature
Displays the Oil Temperature in the selected temperature unit.
TPS (Main)
Displays the throttle open percentage, 100% = fully open, 0% = fully closed. The TPS value is used in Engine Protection, AC Control, EThrottle, Fuel, Idle Speed
Control, Anti-Lag, Gearshift Control and more.
Information on TPS (Main) and TPS (Sub) is located here.
Information on APS (Main) and APS (Sub) is located here.
TPS Delta
Displays the rate of change of TPS (Main) in %/100ms.
Throttle Safety
Shows the status of the Throttle Safety function.
· Inactive - Throttle Safety is turned on but not active (throttle is operating properly, no engine kill).
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 218 of 235
· Active - Throttle Safety is turned on and active (sensor is reporting an error with the throttle, engine kill is on).
· Off - Throttle Safety is turned off.
G4X and G5 ECU Tuning Functions > Runtime Values and States > Triggers
Triggers
Engine Cycle Count
The number of times the engine has completed a full firing cycle. This is two crank revolutions on a four stroke engine or one crank revolution on a two stroke or rotary.
Note Engine Cycle Count will stop increasing at 60000 cycles (approx 10 mins at 6000 RPM or 1 hr at 1000 RPM).
Engine Speed
This value represents the current engine speed in revolutions per minute (RPM). An erratic or unstable value indicates a triggering problem. This may be the result of
the triggering configuration setup, wiring faults or a faulty sensor/pickup.
Note: This status is only used on certain Link Powersport Plug-in ECUs.
Trigger 1 State
Indicates the current trigger decoding state.
· Idle - No triggers (engine stalled).
· Blank Time - Received a tooth and waiting a set amount of time before checking for more teeth (used to prevent glitchy issues from sensor sitting on edge of tooth
while engine stopped or engine rocking on tooth edge).
· Blank Teeth - Starting to count teeth.
· First Tooth - Starting to calculate speed.
· Second Tooth - Calculated speed.
· Test Gap - Looking for a Trigger 1 gap (multi/missing mode).
· Verify Gap - Found a suspected Trigger 1 gap, making sure it is one (multi/missing mode).
· Counting - ECU Counting teeth from previous sync point.
· Counting Timeout - ECU stopped getting Trigger 1 teeth while counting. (also occurs immediately after tooth after gap state in multi/missing mode)
· Tooth Before Gap - Counted all the way back around to the Trigger 1 gap (multi/missing mode).
· Extra Tooth - Similar to Tooth After Gap but for modes with extra teeth instead of gaps.
· Tooth After Gap - Counted all the way back around to the Trigger 1 gap, confirmed gap, at tooth after gap, resetting the count (multi/missing mode).
· Tooth After Sync - Similar to Tooth After Gap but for non missing teeth modes.
· Verify Double Gap - Similar to Verify Gap but for trigger patterns with two gaps directly after each other
· Tooth in Double Gap - Similar to Tooth After Gap but for the tooth in the middle of two consecutive gaps.
· Tooth After Double Gap - Similar to Tooth After Gap but for the tooth after two consecutive gaps.
· Start Counting - Used for syncing on more complex patterns.
· Count Small - Used by some trigger modes with more complex patterns.
· Count Large - Used by some trigger modes with more complex patterns.
· Count Medium - Used by some trigger modes with more complex patterns.
· Test Wide Tooth - Similar to Test Gap but for patterns with a wide tooth.
· Test Narrow Tooth - Similar to Test Gap but for patterns with a narrow tooth.
· Count Narrow Teeth - Used by some trigger modes with more complex patterns.
· Start Counting Large - Used for syncing on more complex patterns.
G4X and G5 ECU Tuning Functions > Runtime Values and States > Math
Math
Math Block Output 1-8
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 219 of 235
These Runtime Values are the calculated output of each their respective Math Block Equation.
The number of decimal places shown is controlled by the respective Decimal places setting and the label shown next to these runtimes is controlled by the respective
Label setting.
G4X and G5 ECU Tuning Functions > Runtime Values and States > MotorSport > Anti-Lag
Anti-Lag
Anti-Lag Status
This Anti-Lag Status will show any of the following states:
The following are the possible states of the Active Anti-Lag Ignition Table Status:
· OFF
· Table 1 - Table 1 Active
· Table 2 - Table 2 Active
The following are the possible states of the Active Anti-Lag Ignition Cut Table Status:
· OFF
· Table 1 - Table 1 Active
· Table 2 - Table 2 Active
The following are the possible states of the Active Anti-Lag Fuel Table Status:
· OFF
· Table 1 - Table 1 Active
· Table 2 - Table 2 Active
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 220 of 235
· Speed Lockout - If Start Shift Mode is set to Digital Paddle Shift the requested shift into Reverse is happening while the Driving Wheel Speed is greater than
0kph and the Reverse Use Speed Lockout setting is on OR the requested shift into Neutral is happening while the Driving Wheel Speed is greater than the
Neutral Speed Lockout value and the Neutral Use Speed Lockout setting is on. If Start Shift Mode is not Digital Paddle Shift the requested shift is happening
while the Driving Wheel Speed is less than the Speed Lockout value.
· User Defined Lockout - The User Defined Lockout input is active and is preventing shifts from happening.
· Clutch Lockout - Only used when Start Shift Mode is set to Digital Paddle Shift. Shifts are being prevented because the requested shift into Reverse is
happening while the Clutch Switch is inactive and the Reverse Use Clutch Lockout setting is On OR the requested shift into Neutral is happening while the Clutch
Switch is inactive and the Neutral Use Clutch Lockout setting is On OR the requested shift from Neutral into First is happening while the Clutch Switch is inactive
and the First Gear Use Clutch Lockout setting is On.
· Paddle Hold Time - Only used when Start Shift Mode is set to Digital Paddle Shift. This status is displayed during the extra Paddle Hold time required for shifts
into Reverse, Neutral or from Neutral into First.
· Compressor Pressure Lockout - Only used when Start Shift Mode is set to Digital Paddle Shift. Shifts are being prevented because the Compressor Pressure
is less than the Compressor Pressure Lockout value.
· Neutral User Lockout - Only used when Start Shift Mode is set to Digital Paddle Shift. The requested shift into Neutral is being prevented because the Neutral
User Defined Lockout input is Active.
· Reverse User Lockout - Only used when Start Shift Mode is set to Digital Paddle Shift. The requested shift into Reverse is being prevented because the
Reverse User Defined Lockout input is Active.
· Neutral Up Shift - A Neutral Up Shift is being performed.
· Reverse Up Shift - A Reverse Up Shift is being performed.
· Paddle Up Shift - A Paddle Up Shift is being performed.
· Neutral Down Shift - A Neutral Down Shift is being performed.
· First Down Shift - A First Down Shift is being performed.
· Paddle Down Shift - A Paddle Down Shift is being performed.
· TPS High Lockout - Only used when Start Shift Mode is set to Digital Paddle Shift. The requested down shift is being prevented because TPS (Main) (or APS
(Main) if DownShift TPS/APS High Lockout Source is set to APS) is below the DownShift TPS/APS High Lockout value.
· Limiter Hold - The shift is now in the Limiter Hold stage.
· Mis-Shift Wait - Only used when Start Shift Mode is set to Digital Paddle Shift. The Paddle Up Shift or Paddle Down Shift failed part way through but still had
retries left and so is now waiting the Mis-Shift wait time before it restarts the shift for another attempt.
Compressor Status
Shows the current state of the Compressor Control system. Only applicable when Start Shift Mode is set to Digital Paddle Shift.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 221 of 235
· Inactive - Compressor Control is On, no lockouts are met and the output is Inactive.
· Active - Compressor Control is On, no lockouts are met and the output is Active.
· Off - Compressor Control is turned Off.
· Voltage Lockout - Compressor Control is On and the Battery Voltage is less than the Voltage Lockout value.
· Startup Lockout - Compressor Control is On but the engine hasn't been running for more than the Startup Lockout time.
· RPM Low Lockout - Compressor Control is On and the Engine Speed is less than the RPM Low Lockout value.
· User Defined Lockout - Compressor Control is On and the User Defined Lockout input is Active.
Compressor Pressure
Displays the current pressure of the shift actuator air reservoir, the input that this is wired to is selected and configured here. Only applicable when Start Shift Mode is
set to Digital Paddle Shift.
G4X and G5 ECU Tuning Functions > Runtime Values and States > MotorSport > Launch Control
Launch Control
Launch Control Status
all possible launch control status are:
· "Off" - Launch control mode is Off
· "Active" - This indicates that the Launch Control is activated (activation input, disarming speed, tps activation and arming time requirements have all been met).
Launch fuel and ignition trims are being applied.
· "Inactive" - This indicates that the Launch Control is turned on but not activated.
Stage X (Status)
Shows the current state of the Gear Shift Control system.
· OFF - The Mode for this stage is turned off.
· Active - This stage is on and none of the lockouts are active.
· Disabled - This stage's Enable Input is inactive.
· Race Timer - The Race Timer value is not yet greater than or equal to the value in the Stage Race Time Activation table for this stage.
· Limiter Active - This stage's Disable During Limiting setting is set to on and at least one of the Percentage Fuel Cut or Percentage Ignition Cut values is greater
than 0%.
· RPM Lockout - The Engine Speed is less than the Min RPM value or greater than the Max RPM value for this stage.
· MAP Lockout - The MAP value is less than the Min MAP value or greater than the Max MAP value for this stage.
· TPS Lockout - The TPS value is less than the Min TPS value for this stage.
· Gear Lockout - The Gear value is less than the Min Gear value or greater than the Max Gear value for this stage. Note non numbered gears (P, R, N, D, L etc)
are treated as 0.
· Slip Lockout - The Slip value is greater than the Max Slip value for this stage.
· Nitrous Control Lockout - One of the global Nitrous lockouts is active such as the global Enable Input, global Max RPM, global Min ECT and Max ECT or Min
Nitrous Pressure.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 222 of 235
G4X and G5 ECU Tuning Functions > Runtime Values and States > MotorSport > Race Timer
Race Timer
Race Timer (Status)
Displays the current status of the Race Timer function.
· Armed - The Race Timer is armed and ready to go as soon as the Activation Input triggers it.
· Active - The Race Timer is running and counting up.
· Finished - The Race Timer has reached its Max Time and is waiting to be reset.
· Paused - The Race Timer was Active but is currently Paused because the Pause Input is active.
· Off - The Race Timer is turned off.
G4X and G5 ECU Tuning Functions > Runtime Values and States > MotorSport > Traction Control
Traction Control
For Torque Management Runtimes look here.
Traction Status
Displays the current status of the Traction Control function.
· OFF - Traction Control is turned off.
· OFF: RPM Lockout - Traction control is disabled because the Engine Speed is less than the RPM Lockout setting.
· OFF: TPS Lockout - Traction control is disabled because the TPS (Main) value is less than the TPS Low Lockout setting.
· OFF: Speed Lockout - Traction control is disabled because the Driven Wheel Speed is less than the Speed Lockout setting.
· Ready - Traction control is not disabled and is waiting for slip to occur.
· Active - Slip has occurred and traction control is actively requesting reduced torque values from the Torque Management function.
· Disabled - Traction control is disabled by the Disable Input.
· Off: Torque Module - The Torque Management function is not turned on and so Traction control cannot operate.
Traction Limit
Displays the current state of the Traction Limit, more details here.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 223 of 235
G4X and G5 ECU Tuning Functions > Runtime Values and States > Idle Speed Control
Idle Speed Control
Idle Position
Displays the current position of the idle actuator as a percentage of it's full range.
Idle Target
Displays the current idle engine speed target. This value is only updated when using Closed Loop ISC control or Idle Ignition control.
Idle Status
Shows the current status of the Idle control system. Note that some of the states will only show on certain idle modes.
· OFF - Idle control not setup or turned off.
· OFF: RPM = 0 - ISC turned on but engine not running.
· Startup - This indicates that the idle solenoid/stepper is in its startup position.
· Startup Decay - The engine has started and the startup offset/idle up is decaying.
· Open Loop Mode - ISC is operating in open loop mode.
· Dashpot Hold Time - Idle Speed Control has recently entered and the full Dashpot correction is being applied.
· Dashpot Decay Time - The Dashpot correction has been active for longer than it's hold time and is now decaying.
· Hold - Throttle Open - The throttle or accelerator pedal is open past the APS/TPS Lockout position, idle control not active.
· RPM Lockout - The engine speed is greater than the RPM Lockout value, idle control not active.
· Hold - Speed - The Speed Lockout is active and preventing idle control from running.
· Hold - MAP - The MAP value is greater than the MAP Lockout setting and is preventing the idle control from running.
· RPM Target - Closed Loop Idle Speed Control has reached its current Target RPM and is within the RPM Deadband (Closed Loop only).
· Active - Closed Loop Idle Speed Control is active (Closed Loop only).
· ISC Override - Anti-Lag or Cyclic Idle override is active and the Idle Actuator position is being controlled by the Anti-Lag or Cyclic Idle ISC Override settings.
Ethrottle 1:
TPS (Main)
TPS (Main) (%) is the percentage of throttle plate movement from its fully closed position to its fully open position. This percentage is determined by the main throttle
position sensor.
· 0% represents the pedal fully up (released)
· 100% represents the pedal fully down
TPS (Sub)
TPS (Sub) (%) is the percentage of throttle plate movement from its fully closed position to its fully open position. This percentage is determined by the sub throttle
position sensor.
· 0% represents the pedal fully up (released)
· 100% represents the pedal fully down
E-Throttle 1 Target
The E-Throttle Target is the percentage of throttle position opening that the ECU will try and achieve by controlling the duty cycle applied to the E-Throttle motor. Note
that this target can be overridden by the Idle Target when using EThrottle idle control and the idle control is active (Target will still show the value from the table + trims
but the throttle will actually be targeting the Idle Target).
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 224 of 235
E-Throttle 1 Motor DC
The motor duty cycle is the percentage of maximum electrical energy applied to the throttle motor. This number can be positive (opening the throttle plate) or negative
(closing the throttle plate).
APS (Main)
APS (Main) (%) is the percentage of accelerator pedal movement from its resting position to its fully pressed position. This percentage is determined by the main
accelerator pedal position sensor.
· 0% represents the pedal fully up (released)
· 100% represents the pedal fully down
APS (Sub)
APS (Sub) (%) is the percentage of accelerator pedal movement from its resting position to its fully pressed position. This percentage is determined by the sub
accelerator pedal position sensor.
· 0% represents the pedal fully up (released)
· 100% represents the pedal fully down
Ethrottle 2:
TPS 2(Main)
TPS 2(Main) (%) is the percentage of second throttle plate's movement from its fully closed position to its fully open position. This percentage is determined by the
main throttle position sensor.
· 0% represents the pedal fully up (released)
· 100% represents the pedal fully down
TPS 2(Sub)
TPS 2(Sub) (%) is the percentage of second throttle plate's movement from its fully closed position to its fully open position. This percentage is determined by the sub
throttle position sensor.
· 0% represents the pedal fully up (released)
· 100% represents the pedal fully down
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 225 of 235
TPS 2 Delta
Displays the rate of change of TPS (Main) in %/100ms.
E-Throttle 2 Target
The E-Throttle 2 Target is the percentage of throttle position opening that the ECU will try and achieve by controlling the duty cycle applied to the E-Throttle 2 motor.
Note that when the Target Table setting is set to "E-Throttle 1 Target" this value will match the E-Throttle 1 Target value.
E-Throttle 2 Motor DC
The E-Throttle 2 Motor duty cycle is the percentage of maximum electrical energy applied to thesecond throttle motor. This number can be positive (opening the throttle
plate) or negative (closing the throttle plate).
G4X and G5 ECU Tuning Functions > Runtime Values and States > Boost Control
Boost Control
Refer here for Torque Management Boost Trim.
WGate DC
The current Duty Cycle of the Boost Control PWM Output (The Auxiliary controlling the Wastegate Solenoid). A -ve value when using Dome Pressure Control indicates
that the bleed solenoid is active.
Boost Base DC
This value is only used in Open Loop and Closed Loop Boost Control modes.
The Duty Cycle value from the currently active Wastegate %DC table, this is the Duty Cycle before the trims (ECT, IAT, GP, Gear) are added.
Boost Target
The boost pressure value that the Closed Loop or Dome Pressure Control function is currently targeting.
This Runtime is zero when using Open Loop Boost Control.
Boost - Derivative
Displays the amount of wastegate Duty Cycle trim currently being added by the proportional (feed forward) component of the Closed Loop or Dome Pressure Boost
PID system.
This Runtime is zero when using Open Loop Boost Control.
Boost - Integral
Displays the amount of wastegate trim currently being added by the integral component of the Closed Loop or Dome Pressure Boost PID system.
This Runtime is zero when using Open Loop Boost Control.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 226 of 235
Boost - Proportional
Displays the amount of wastegate trim currently being added by the derivative component of the Closed Loop or Dome Pressure Boost PID system.
This Runtime is zero when using Open Loop Boost Control.
GP WGate Trim
This value is only used in Open Loop and Closed Loop Boost Control modes.
Displays the amount of trim being added to the wastegate Duty Cycle from the GP (General Purpose) Wastegate Trim Table.
Dome Pressure
This value is only used in Dome Pressure Boost Control mode.
Displays the current pressure of the wastegate dome.
G4X and G5 ECU Tuning Functions > Runtime Values and States > Knock Control
Knock Control Runtimes
Knock System Status
Displays the current activity of the Knock Control system. The following states may be displayed:
· Active - The knock control system is working.
· Lockout - RPM Low - RPM is below the RPM Low Lockout setting.
· Lockout - RPM High - RPM is above the RPM High Lockout setting.
· Lockout - TPS Low - Throttle position is below the TP Low Lockout setting.
· Lockout - TPS Delta - The throttle has been suddenly opened or closed, knock Control is disabled during this time.
· Lockout < 500 RPM - Engine speed is less than 500 RPM, knock Control is disabled during cranking.
· Error - Knock control has failed to initialise, try restarting the ECU, contact tech support if the problem persists.
· Startup Lockout - The knock system is disabled during engine startup.
· OFF - Knock control turned off.
· Disabled - The Disable Digital Input is active and so knock is not operating at this point in time.
· Lockout - Launch Control - Launch Control is armed and it's limit is active Knock Control is disabled.
Knock Threshold
The current value from the Knock Threshold Table. This is the level the knock signal will have to exceed before the knock ignition or fuel trim(s) are applied.
Ignition Trims, Fuel Trims and Ignition and Fuel Trims Modes:
Knock Level Detected = Knock Level Global - Knock Threshold
Normalised Ign, Normalised Fuel and Normalised Ign & Fuel Modes:
Knock Level Detected = Knock Level Normalised - Knock Threshold
Knock Engine Speed ROC, Knock TPS Delta & Knock MAP Delta
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 227 of 235
These three runtimes values are the values from Engine Speed ROC, TPS Delta & MAP Delta respectively with the filtering specified by Knock Engine Speed ROC
Filter Level, Knock TPS Delta Filter Level & Knock MAP Delta Filter Level respectively. These values are used to determine when the engine is in transient conditions
which can trigger a higher knock threshold and faster update rate as well as changing the Knock Load Status.
Note: these values are 0 when Knock Mode is not set to one of the normalised modes.
G4X and G5 ECU Tuning Functions > Runtime Values and States > VVT Control
VVT Control
These are the VVT Runtime Values and Statuses, see VVT Control for more information on the VVT system.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 228 of 235
G4X and G5 ECU Tuning Functions > Runtime Values and States > Chassis and Body
Chassis and Body
Refer here for Virtual Fuel Tank Fuel Left.
Refer here for Alternator Control runtimes.
In Driving gear affects the Idle Drive trim and can be selected as the Speed Lockout Source in ISC which is useful for vehicles without a speed input wired into the
ECU.
Gear (Status)
Displays the current gear. This gear value is used by the Shift Light, Boost Control, Gear Shift Control and the In Driving Gear status.
· 0 (no gear)
· 1
· 2
· 3
· 4
· 5
· 6
· 7
· 8
· P (Park)
· R (Reverse)
· N (Neutral)
· D (Drive)
· H (High)
· L (Low)
· - (Unknown Gear)
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 229 of 235
· M (Manual mode)
· M- (Manual mode shift down)
· M+ (Manual mode shift up)
AC Clutch (Status)
Displays the status of the AC Clutch.
· OFF - The AC Clutch Output is not active or has not been set.
· ON - The AC Clutch Output is active.
AC Request (status)
Displays the status of the AC Request input
· Inactive - The input is set up but is not active.
· Active - The input is active.
· Off - The input has not been set up.
AC Pressure
Displays the current AC pressure. This will only be a non zero value when using Full mode with a Pressure Source selected.
AC Evaporator Temperature
Displays the current AC evaporator temperature. This will only be a non zero value when using Full mode with a Temperature Source selected.
Acceleration
Displays the current rate of acceleration of the selected Acceleration Source.
Slip
Displays the current wheel speed slip based on the difference in speed between the driving and driven wheel speeds. More info here.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 230 of 235
· Engine Running - The engine is running, there are two visibly identical statuses for engine is running, the second one is used by the Touch Start and Start/Stop
modes and is entered once the start button has been released.
· Failed to Start - The engine failed to start in the specified time, this status is used by the Touch Start mode.
· Engine Kill - The engine is being forcibly stopped due to either a lockout occurring while cranking or the start button beign pressed while the engine is running in
Touch Start or Start/Stop modes.
· Off - Starter Control is turned off.
· Startup Lockout - The engine is not running and the Start input is active but one of the lockouts is preventing the Starter output from activating.
Cruise Set Switch, Cruise Resume Switch, Cruise Cancel Switch, Cruise Decrease Speed Switch & Cruise On Switch
These Runtime statuses show the current state of each of the various Cruise Control switch inputs.
Misc Runtimes
Steering Position
Displays the current steering position, this runtime can only be set by CAN.
G4X and G5 ECU Tuning Functions > Runtime Values and States > Torque Management
Torque Management
For Traction Control Runtimes look here.
Estimated Torque
The estimated torque value that the engine is currently producing.
Torque Request
The current torque being requested by the operator of the engine. This value comes from the Torque Request Table and is typically based on accelerator pedal
position and engine speed.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 231 of 235
3.3V Internal
This shows the measured voltage of the ECUs 3.3V internal regulated voltage supply.
· OK - No faults detected.
· ERROR - Fault detected. Check wiring and sensors.
5V Out
This value shows the measured voltage on the ECUs 5V out supply. This supply is used to provide a reference voltage for sensors such as the MAPS sensor and TPS
and so it is important that this value remains close to 5V. A low voltage may indicate a wiring fault, sensor failure or ECU failure.
8V Out
This value shows the measured voltage on the ECUs 8V out supply. It is important that this value remains close to 8V, a low voltage may indicate a wiring fault, sensor
failure or ECU failure.
ECU Temperature
This value shows the current ECU internal temperature. It is not recommended to operate the ECU at temperatures below -20 degrees C or above 70 degrees C.
Dataflash Checksum
Indicates the status of the basemap and logging memory.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 232 of 235
Database Error
indicates if there is a problem with the settings/runtimes database.
Database ID Error
indicates where in the settings/runtimes database the problem is.
G4X and G5 ECU Tuning Functions > Runtime Values and States > CAN
CAN
CAN Inputs
CAN DI 1-16 (Status)
These runtime statuses are digital inputs that are controlled via CAN. The available statuses for these functions are:
· Inactive - The input has been written to but is not currently active.
· Active - The input is active.
· Off - The input has not been written to since the last power cycle.
· Fault - The input has been written to previously but not in the last 2 seconds.
CAN 1&2:
Receive HW Buffer Overrun (Status)
There are two possible states for this parameter:
· OK - No faults detected
· Error - Fault detected
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 233 of 235
Razor PDM:
PDM 1-4 Fault & Status Flags
Note: These runtimes require the ECU and the Razor PDM's CAN settings to be setup correctly as specified here.
The PDM Fault/Status flags words are single runtimes which contain information on all of that Razor PDM Output statuses. The fault word runtimes are 0 for each pin if
that pin isn't in fault and the status word runtimes are 0 for each pin if that pin isn't active. For the ADIO pins it doesn't matter if it is being used as an input or output, it
is treated the same. If you want to use an ADIO pin's status (or analog voltage or input frequency) in the ECU then select the appropriate ADIO setting and set it to the
desired CAN input in the PCLink ECU Settings Menu -> CAN -> PDM 1(or 2) settings menu.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 234 of 235
G4X and G5 ECU Tuning Functions > Runtime Values and States > GPS
GPS
GPS Status
This status indicates the Overall status of the GPS module, the GPS Fix Status below indicates the type of navigational data available.
· Off - The GPS functionality is turned off.
· Fault - An error has occured in the GPS module. If you are seeing this status please contact Link tech support.
· Acquiring - The GPS module is in the process of acquiring GPS Lock.
· Locked - The GPS module is providing navigational data, refer to 'GPS Fix Status' below for more details on the status of the type of navigational data available.
· Loss of Signal - The GPS module is providing navigational data based on the last known position, when in this state refer to the 'GPS Fix Status' to see if dead
reckoning is operating.
· Signal Fault - The GPS module has determined that there is an issue with the connected antenna or that no antenna is connected.
Latitude
This runtime value displays the current GPS Latitude as a number of degrees North of the Equator (South of the Equator has negative values). This value sits between
90 and -90 degrees and has 7 decimal places.
Longitude
This runtime value displays the current GPS Longitude as a number of degrees East of the Prime Meridian (West of the Prime Meridian has negative values). This
value sits between 180 and -180 degrees and has 7 decimal places.
GPS Height
This runtime value displays the current vertical height above the WGS84 ellipsoid, this ellipsoid should approximate altitude above sea level.
GPS Speed
This runtime value displays the current velocity through 3D space.
GPS Heading
This is the current direction of travel on the horizontal plane with 0deg being true North.
[Link] 12/7/2023
G4X and G5 ECU Tuning Functions Page 235 of 235
G4X and G5 ECU Tuning Functions > Runtime Values and States > ECU Logging
ECU Logging
Logging Status
Gives an indication of the state of the ECU logging system. Options are:
· OFF - ECU Logging Mode is set to OFF or the ECU is not currently logging.
· Logging - Data is currently being logged to memory.
· Logger Armed - Logging is ready to log and waiting for new data.
· Logging Suspended - Logging has filled the current file and is temporarily suspended.
· No Log Channels Selected - Logging is trying to run but nothing has been selected to log.
· Error When Opening File - Logging has encountered an issue while trying to open a file.
· Error When Writing File - Logging has encountered an issue while trying to write to a file.
· Memory Full - On Board Memory is full.
· Memory Full: Overwriting - On board memory is full. The ECU is writing over the oldest logged data.
[Link] 12/7/2023