350Z/VQ35 ProECU RaceROM Supplement
Introduction
EcuTek RaceROM is a package of special software features that can be installed into the ECU of the supported vehicles. You simply open your ECU ROM file using EcuTek software, apply the RaceROM Feature File (Patch) to it, adjust the RaceROM maps as necessary, and then program the ROM file into the vehicle.
Please read How to: Add/Remove EcuTek Race Rom to your Vehicle. Feature File Guide for info on how RaceROM works, how to install and uninstall RaceROM feature files, and further hints and tips.
RaceROM utilizes a different security for the tuner from read, write, copy by other EcuTek dealers competitors’ products. This security feature also prevents the Nissan dealer tool from rewriting the ECU during service (therefore losing any performance tuned ROM that a customer has purchased from an EcuTek tuner.
Recently Added Features and Improvements
Speed Density
CAN Inputs
Flex fuel Ignition IAT comp map
MS mode specific RR ignition enable
RaceROM Fuel Enrichment
Large Port injector Scaling
Boost control for DE rev up and HR
Fixed minor bugs
- 1 Introduction
- 2 Recently Added Features and Improvements
- 2.1 RaceROM features currently available for the 350Z
- 2.2 FastFlash and Logging
- 2.2.1 FastFlash and First Programming
- 2.2.2 Programming Precautions
- 2.2.2.1 Battery Power
- 2.2.2.2 Extra CAN Equipment
- 2.3 ECU Connect Integration
- 2.4 Map Switching
- 2.4.1 Map switching maps
- 2.5 RaceROM Ignition
- 2.6 Large Fuel Injector Support
- 2.7 Flex Fuel
- 2.8 Speed Density
- 2.8.1 Method of Operation
- 2.9 RaceROM Closed Loop Fueling
- 2.9.1 OEM Closed Loop Fueling strategy
- 2.9.2 Configuring RaceROM Closed Loop Fueling (Gen1)
- 2.9.2.1 CL fuel Logging
- 2.9.2.2 CL fueling setup
- 2.9.2.3 Dual aftermarket Wideband installs
- 2.9.2.4 Enabling Closed loop fueling
- 2.9.3 Closed Loop Fueling (Gen2/3)
- 2.10 RaceROM Sensors
- 2.10.1 Analogue Sensor Scaling and Configuration
- 2.10.1.1 MAP sensor scaling
- 2.10.1.2 Wideband O2 sensor scaling
- 2.10.1.3 Fuel Pressure sensor scaling
- 2.10.2 0-5v Inputs
- 2.10.1 Analogue Sensor Scaling and Configuration
- 2.11 RaceROM CAN Inputs (gen1/2/3) and outputs (gen2/3)
- 2.11.1 CAN Inputs General
- 2.11.2 CAN Outputs General (Gen2 &3 only)
- 2.11.2.1 CAN Outputs scaling and configuration (gen2 &3)
- 2.11.2.2 CAN Pinouts \ Wiring
- 2.11.2.2.1 Wiring locations Gen1
- 2.11.2.2.2 Wiring locations Gen2&3
- 2.12 Boost Control (CAN) (Gen2 & 3)
- 2.13 Accel Pedal Scaling (gen2 & 3)
- 2.14 Per Gear Rev Limits (gen 2 & 3)
RaceROM features currently available for the 350Z
EcuTek are constantly updating and fixing bugs on RR features, the current list of features for each generation of 350z ecu are
VQ35DE Gen1 RaceROM feature List
Fast Flash
Fast Logging
ECU Connect integration
Large Injector Scaling
Map Switching ignition fuel target and enrichment (0-4 depending on available space)
Flex Fuel
Speed Density
Full Time RaceROM Closed Loop Fueling
CAN Inputs
2 x 0-5V sensor input (spare pin & ASCD switch)
NOTE: not all ROMs (especially US ROMs) can fit all of the RaceROM code so features may change depending on your CAL ID.
There is a list of what ROM have what features here, so far the JDM ROMs have the most features available and swapping from a US to a JDM ROM has been successful.
VQ35DE rev up RaceROM feature List
Fast Flash
Fast Logging
ECU Connect integration
Large Injector Scaling
Map Switching ignition fuel target and enrichment (0-4 depending on available space)
Flex Fuel
Speed Density
Full Time RaceROM Closed Loop Fueling
CAN Inputs
2 x 0-5V sensor input (spare pin & ASCD switch)
Boost Control (via Can output)
VQ35HR RaceROM feature List
Fast Flash
Fast Logging
ECU Connect integration
Large Injector Scaling
Map Switching ignition fuel target and enrichment (0-4 depending on available space)
Flex Fuel
Speed Density
Full Time RaceROM Closed Loop Fueling
CAN Inputs
2 x 0-5V sensor input (spare pin & ASCD switch)
Boost Control (via Can output)
FastFlash and Logging
FastFlash and First Programming
The first time the ECM if flashed then it will take around 5 to 7 minutes, the programming speed depends on your laptop/Phone specification. The first flash will install RaceROM and needs to program the complete ECM.
Once installed then EcuTek special high speed RaceROM programming sequence (called FastFlash) is used and we can flash the ECU as fast as 30 seconds depending on which (and how many) maps have been changed.
Programming Precautions
Battery Power
Make sure you have plenty of battery power before commencing ECU programming, it is best on a trickle charger. The fans will run shortly when programming commences but should shut down when the programming sequence is stable.
Extra CAN Equipment
Be sure that any extra can equipment on the vehicle is disabled or cannot interfere with communication. If CAN devices such as Stereo’s, screen installs, shift light steering wheels, speed delimiters or security systems are installed they can respond at the incorrect times bricking the ECU.
ECU Connect Integration
ECU Connect integration on the 350z has the following features
map switching
DTC clearing
Logging
PhoneFlash (gen2 DE and HR only)
There is currently no programming from ecu connect on gen1 DE cars as there is no VIN stored in the ECM.
Map Switching
The Map Switching feature allows you to up to define three different calibrations in the ECU ROM. depending on the CAL ID and the space available in the ROM this may drop to 2 or 1. If the ROM is space limited there is nothing that can be done to extend the number of map switch states.
The driver can switch between the calibrations at the press of a button using the cruise control button or ECU Connect. This allows a tuner to provide a comfortable calibration for everyday road use and a hard-core maximum performance calibration for use at the track. Alternatively you could use this feature to provide four calibrations optimised for different grades of fuel.
Up to 4 separate maps (max 3 in gen1) have been provided for Fuel Target, Ignition Timing and Fuel Quantity, one for each mode. You can also set different rev limits (not available on gen1 DE) and accel pedal scaling for each mode. The Launch Control and Flat Foot Shift and the other features can be enabled on a per-mode basis (not available in Gen1 DE cars).
To select a mode:
Ensure that the cruise control is OFF.
Hold the CANCEL button for 1 second.
The Rev Counter will move to indicate the current mode (eg. 2000rpm = mode 2).
Use the cruise up and down buttons to select the desired mode.
Press CANCEL to enable the selected mode.
Map switching maps
Using RaceROMs ability to select map switch modes extra maps for calibration and also feature enablement has been added. Currently the independently calibratable maps are,
Accel Pedal maps (gen 2 & 3 only)
Fuel Maps
Flexfuel Fuel map
Fuel Enrichment Maps
Ignition timing maps
Flexfuel Ignition maps
Rev limit maps (gen 2 &3 only)
features that can be enabled in map switch mode (but have no MS mode specific maps to tune) are
Launch Control (gen 2 &3 only)
Flatfoot shift (gen 2 &3 only)
Speed density
flex fuel (using the fixed values)
injector lag time
injector LPW
RaceROM Ignition
The default the RaceROM ignition map is calibrated from a JDM spec 350z with 97 RON fuel, these timing values may be too advanced for US 91 octane fuel or too little for Japanese 100RON fuel. RaceROM ignition still has knock retard added to it to ensure safety of the engine. It also has minimum and maximum limits applied by the OEM. to use RaceROM ignition it must be enabled in the Enable RaceROM special features map.
Live Data Parameters
Ignition Timing (Deg) - the OEM logging parameter and the timing seen at the crank pulley
Ignition Timing Base (OEM) - The output of the either OEM or RR map lookup
Ignition Timing Compensation (RaceROM) - the output of the RaceROM compensation maps
Ignition Timing hooked value (RaceROM) - Ignition timing as its written to the ignition function
Ignition timing Overrun - The ignition timing calculated by the OEM overrun and Idle functions
Ignition timing RaceROM calc - the final RaceROM derived ignition timing (inc. corrections etc)
Knock Correction (Deg) - the current instantaneous knock retard
Knock Sensor Cylinder (1-6) - the knock sensor signal for each cylinder
Knock Threshold Cylinder (1-6) - the knock signal threshold value to register knock
Enable RaceROM Ignition Maps - Enable Special Features
Ignition Timing Warm 1-3 (RaceROM)
Once enable the RaceROM map will be used instead of the OEM calculation method, except when the accel pedal is 0 (idle flag active) when the car is in overrun the idle flag is generally active so the OEM overrun ignition targets are active.
NOTE: Maximum Ignition retard limit is hardcoded -14deg so - 50 in the map will be limited to -14
*** NOTE *** As the complex factory Ignition calculations have been over written and simplified by the RaceROM variant it’s important to calibrate the RaceROM Ignition maps accurately for your particular vehicle, the region of your vehicle and the fuel quality that is used.
Ignition Correction (RaceROM)
The Ignition Timing Compensation logging parameter will show knock retard as a negative value (example -3 deg) but will also add Ignition in the event of no knocking (example +2 deg). In this example you can see that the Ignition Correction is dynamic and it is advancing the Ignition Timing by +2 deg, it then detects knocking and gently removes the positive advance and levels at -2 deg.
Ignition Timing IAT Comp (RaceROM)
This additional EcuTek RaceROM map can be used to advance and retard the Ignition timing based on Intake Air Temperature, it can be used when running a ‘blow through’ MAF setup when IAT measures Charge Air Temp or when Speed Density is enabled.
Ignition Timing ECT Comp (RaceROM)
This additional EcuTek RaceROM map can be used to advance and retard the Ignition timing based on Engine Coolant Temperature, it can be used when running on track to reduce torque and prevent knock when the coolant temperatures are above or below the normal operating temp.
Ignition Timing EOT Comp (RaceROM)
This additional EcuTek RaceROM map can be used to advance and retard the Ignition timing based on Engine Oil Temperature, it can be used when running on track to reduce torque and prevent knock when the coolant temperatures are above or below the normal operating temp.
Ignition Timing Compensation Multiplier
This additional EcuTek RaceROM map can be used tocorrect the igntion retard delivered by the above compensation maps, for example -1deg AIT + 2deg ECT +1 deg EOT = 3deg x 0.5 mult = 1.5 deg for final correction. This map uses engine speed and load as the axis to improve drivability when heat soak or low speeds are encountered.
Large Fuel Injector Support
Even good injectors are not perfect, and can suffer from inaccurate fuelling at light and low low pulse widths. With EcuTek RaceROM Large Injector scaling you can speed up the tuning process and get better results for your customer by following the basic steps below.
Find injector data and fit injectors
Set the injector flow rate
Set the injector lag time values
Set appropriate minimum open times
Set the low pulse width compensation function up
Add fuel pressure and temperature compensations if sensors are available
If you were looking for information on OEM injector scaling head over to Scaling Injectors For Nissan Using OEM Method (GT-R, 370z)
In this article, we will look at characterising injectors for the Nissan VQ35HR DE rev up and DE engines. The RaceROM strategy differs from the Nissan strategy significantly but matches the typical aftermarket injector definitions normally found and gives exceptional results when tuned correctly. We will go through the following maps
Primary Injector Flow Scaling (RaceROM)
Primary Injector Lag Time (RaceROM)
Injector Low Pulse Width Compensation
Injector Minimum Open Time
Fuel Pressure Compensation
Fuel Temp Compensation
These variables can be found in the Fuelling category under the Injectors section of the ROM file.
There are many resources for injector information that may help out including the link here, Engine Labs Injector Article.
The basics of RaceROM Injector scaling.
Injector flow scaling is a combination of simple concepts which when properly set up can make very repeatable fueling. There are generally 3 options that aftermarket injectors classify
Injector Flow Rate - the amount of flow the injector can achieve at set pressure using the test rig that the injector manufacturer or tester has set up.
Injector Lag Time - Also known as Latency or dead time is the time from when current is applied to the injector coil until fuel starts to flow. This may also differ from calibration data sets as the fluid type and drive characteristics of the test machine will be slightly different than that of the VQ35 ECU and fuel system.
Low Pulse Width Correction - This is the value that is intended to compensate for the non linear flow rate found at low injector open times. The values in the map are the percentage time of effective pulse width, bigger equals more injectors open time.
The injector data is very important for use as a reference when setting up your injectors, injector manufacturers like Injector Dynamics, ASNU and Fuel Injector Clinic all give data in this format and some of them can be copied directly into the maps as a starting point. See the example Below of sample data from ASNU.
The values that manufacturers give may not be exactly the same as what you find give the correct fueling. There are generally many differences between the test rigs the manufacturers use and the Nissan 350Z fuel rail (test pressure, rail type, length, harmonics, fluid type, currents etc) so you may see minor differences to advertised settings.
Injector Flow Scaling (RaceROM)
The injector scaling data used should be close to advertised size, however we do tend to see that aftermarket injectors generally do not exactly match the suppliers flow rate data, this is dependent on the manufacturers test methods.
Keep in mind that the ECU does not know the actual injector size but instead uses a multiplier value scaled to match the stock injector size. We find that our own EcuTek 1050cc injectors are best represented by a flow scaling of 1050-1100cc.
Unlike other Nissan's the 350Z uses the OEM value in all ROMs which we are using as it is is NOT limited to 800cc as other platforms are. You can find the injector flow rate at your base fuel pressure in the data sheets supplied and enter it into the Injector Flow Scaling map. The injector size can be manipulated if required to get the high load fuel trims as close to 100% as possible (+-5% is achievable).
Injector Lag Time (RaceROM)
Nissan do not use a standard injector curve because the IPDM (Intelligent Power Distribution Module) constantly maintains injector voltage very close to 14V (unlike other manufacturers), for low voltage cranking they use the cranking injection table to compensate for battery voltage drops.
When using larger pumps, alternators or other ancillary equipment it may have significantly different characteristics to the stock equipment and may cause voltage and pressure differences. To improve tuning of larger injectors or account for upgraded equipment on the GTR we have introduced a new 3D map for injector lag time based on battery voltage and fuel pressure (the two biggest influences on lag time).
Make sure to enable the 3D lag time map in the software otherwise the OEM Nissan value will be used instead.
You should start with the available manufacturer data as a base and tune the appropriate regions if required. Injector lag time errors have the greatest effect at low pulse widths as the percentage of open time of the error is higher, this table could be tuned at lower pulse widths above that seen in the Low Pulse width compensation maps.
Injector Low (PW) Pulse Width Compensation
All Injectors exhibit a deviation from the linear flow rate when the total injector open time is close to the lag time values (i.e. low effective pulse-widths). To allow adequate fuel delivery at higher loads larger injectors are required however they are still required to maintain the correct fuel amount at idle. Injectors don't flow linearly at low effective opening times like at idle which affects the fuel delivered. Low Pulse Width correction can be used to account for the non linear fuel flow rates in these regions and perfect the amount of fuel delivery.
In some cases the maximum and minimum required fuel delivery range can be so large that staged injection will be required to allow adequate control at low and high demands.
RaceROM allows you to adjust the final actual pulse width based on the effective pulse-width (Pulsewidth before any lag time added) to compensate for the altered fuel delivery. The Injector Low PW Compensation map multiplies the effective pulse with by the correction factor to get the final pulse-width. Use the data from the Injector supplier to get a base line correction and adjust the values increasing them to get more fuel and decreasing them to get less.
To use the maps make sure they are enabled in the correct map switch mode.
There are engine speed and injector open time limits to stop the LPW correction maps working engine speeds and you can use the injector manufacturers data to selecting these deactivation points.
350z Fuel System
The 350z has a returnless fuel system as standard which has a regulator in the fuel pump basket. this means that the differential fuel pressure across the injector varies considerably depending on the manifold Absolute Pressure (MAP). The OEM maps use a vacuum estimate to correct for this which is only calibratable for naturally aspirated engines or engines without manifold references fuel pressure regulators.
This means that the car can be modified and have sensors installed to accommodate larger return and manifold pressure referenced fuel systems installed increasing the horsepower capacity under boost and improving the tuning accuracy.
These kits can be supplied in many forms with many different options from most major suppliers, such as Z1, Radium and CJM
With RaceROM, changes to the fuel system such as above can be accommodated. With the correct sensors and installed the Relative Fuel Pressure can be compensated for using the Fuel Pressure compensation map, a Fuel pressure sensor should be configured using the new sensor options. To set up the sensor the RaceROM sensor functions must be used.
Fuel Pressure Sensors
Fuel Pressure compensation can be critical for large injector installs on high power cars that still wish to drive nicely. With RaceROM a fuel pressure sensor can be installed and connected to the ECU via a spare analogue input or via an external CAN module.
To configure a fuel pressure sensor in RaceROM you will need
a Fuel pressure sensor (gauge or absolute)
wiring for +5v, signal ground and the analogue input
connectors for the ECU pin or
CAN box configured to send the value over CAN up a (for information on how to configure can devices please see the following section)
The RaceROM sensor scaling configured
350Z/VQ35 ProECU RaceROM Supplement
350Z/VQ35 ProECU RaceROM Supplement
350Z/VQ35 ProECU RaceROM Supplement
Fuel Pressure Sensor Configuration
Once the Fuel Pressure Sensor (and possible MAP sensor) has been wired in it must be configured to generate the correct pressure values.
This requires selecting the correct source for the fuel pressure values, this includes
where the input comes from
CAN Sensor which is a CAN unit that sends pressure values directly (in Bar)
CAN Voltage sensor which is a CAN unit that sends a 0-5v signal over CAN
Spare Pin 52 or ASCD input which is a standard an analogue 0-5v signal input at the ecu pins
Bhat type of fuel pressure sensor is being used, a relative (gauge) pressure sensor (90% of sensors) or an Absolute Pressure type.
The MAP reference source,
if there is an external MAP sensor use the “Relative to MAP” map option
if there is no MAP sensor installed you can use the OEM manifold pressure estimate by selecting the “Relative to vacuum est”
a schematic overview of the pressure calculation is as follows
the logging values that can be found are
Fuel Line Gauge pressure, the pressure in the fuel line compare to atmospheric pressure
Fuel Pressure Differential, the pressure across the injector used for all of the injector lag time and pressure correction map inputs
CAN Fuel Pressure/ CAN Fuel Pressure Voltage, which is the raw value from the sensor
Pressure Compensation
Relative Fuel Pressure is used in the Fuel Pressure Compensation maps and represents the pressure difference between the inlet (fuel rail) and nozzle (inlet port) pressures, it is calculated as:
To calculate the fuel Pressure compensation the following formula can be used. It uses the Set base fuel pressure relative to manifold pressure (Nominal relative Fuel pressure) and the actual measured relative fuel pressure to set a correction value.
A table can be populated using the values for different base pressure much like below.
You could use the column from this table for the set relative base pressure (3.5 bar on a standard 350Z) in the Fuel Pressure Compensation map as a base value. The ASNU example data has these value already determined and can be seen below.
This fuel pressure compensation map is only active once the BFS threshold is exceeded
To demonstrate the fuel pressure compensation working you can see that the relative fuel pressure increases with manifold pressure to show the the regulator is performing correctly. However the fuel flow rate with only the primary fuel pump running is not enough to maintain the relative fuel pressure until the secondary pump starts, the fuel pressure compensation takes care of this by increasing the injection amount to keep the AFR constant.
Fuel Temperature
When tuning a car with a fuel temperature sensor, it is possible to compensate for changes in the fuel temperature. Typically fuel pulse width is increased with increasing fuel temperature to compensate for the drop in fuel density, values greater than 1.0 will increase the amount of fuel delivered.
The table below outlines the approximate multiplier required to correct for a difference in fuel temperature.
Flex Fuel
FlexFuel support was added as an integral part of the RaceROM upgrade. It uses a strategy of ignition and AFR target modifier maps for 100% E85 and 2d maps to determine how much of that modification is applied.
To enable flex fuel first a sensor needs to be configured (unless using content overrides)
Setting up custom sensors in RaceROM is show here350Z/VQ35 ProECU RaceROM Supplement. If no sensor is installed premixed ethanol blends per map switch mode can be set up. this is done by tuning the car like it has a flex sensor but using the FF ethanol Content Override map to fix the ethanol content.
The difference in base fuel requirement is taken care by the FlexFuel Quantity Multiplier map and a 2d blend map. Typically, 40% extra fuel will be required for 100% E85 to maintain the same Lambda (therefore the same reported petrol AFR), and the transition will be quite linear. Currently the patch is supplied with typical values used in the FlexFuel Quantity Multiplier map so that any car with a FlexFuel sensor added should start and run reasonably well when E85 fuel is added.
The change in ignition advance will probably more readily be applied with most, if not all of the additional advance added by 50% E85.
FlexFuel Fuel maps and the flex fuel knock thresholds for each map switch more are handled using the same structure of base, e85 and a blend map for values in between.
There are ethanol content hold values for RPM and Engine Load (BFS) that stop the ethanol content from changing when exceeded, this stops false values being read with aerated fuel.
An extra amount of fuel can be added on top of the normal fuel correction for ethanol concentration when cranking to assist in cold starts. This has a 3d FF Cranking Multiplier map for fuel quantity increase that is applied below the FF cranking RPM threshold when the rpm threshold is exceeded the multiplier decays from and initial value to 1 at the rate of the FF cranking Multiplier Decay Rate.
the logging of each of the variables relating to the flex fuel corrections is available
For more information on how this system works, check out our RaceROM Guide RaceROM Flex Fuel
Speed Density
Create tuning based on the Manifold Pressure Sensor, this is ideal for forced induction models.
NOTE: This requires an aftermarket MAP sensor to be installed into the manifold and imported into the ECU via custom sensors over CAN or analogue input
Method of Operation
The Speed Density feature changes the way that Mass Airflow is calculated. When SD mode is activated, the ECU will disregard the MAF sensor reading and calculate Mass Airflow based on Engine Speed, Manifold Pressure and Air Temperature instead.
The first step is to install and confirm that the external MAP sensor is reading values correctly in the logging. With the ignition on and the engine off the MAP should be identical to atmospheric pressure. for more information on setting up custom sensors see the sensor setup section.
350Z/VQ35 ProECU RaceROM Supplement
The Speed Density feature is enabled by selecting the Enable Speed Density checkbox in the Speed Density Enable section. Speed Density can be selected for each of the map switch modes. When this feature is active, the ECU will use the Speed Density Blend map to calculate the blend of MAF to SD airflow blending the reading from each calculation stream into the final Mass Airflow value, when set to 0 it is using 0 % of the SD airflow, at 1 it uses 100% of the SD airflow, at 0.5 it will take 50% of the MAF value and add it to 50% of the SD airflow value.
The SD function will calculate Mass Airflow as follows:
A value is read from the 3D Speed Density Volumetric Efficiency maps, indexed by RPM and Manifold Absolute Pressure. This value is then combined with charge temperature, manifold pressure and engine speed to calculate the Mass Airflow.
In the default configuration, we assume a fixed charge temperature of 20°C then adjust the final result according to Air Intake Temperature using the Speed Density AIT Compensation map. However, RaceROM also supports measuring Charge Air Temperature directly using the AIT sensor input.
Compensations are then applied for ECT, Atmo Pressure and Intake Air Temperature
MAF logging parameters are available
Mass Airflow Measured (MAF) which is the airflow according to the MAF sensor, which has the MAF multiplier applied
Mass Airflow Estimated (SD) which is the airflow based on the SD calculation
MASS Air Flow (g/s) is the final airflow used in the fueling calculation
SD blend is the current blend value
SD VE is the current SD value (if SD is disabled then its the reverse calculated SD VE using the MAF sensor airflow as an input)
RaceROM Closed Loop Fueling
EcuTek Full Time Closed Loop Fueling is a RaceROM feature that allows the ECU to continue using oxygen sensor feedback to actively correct the air-fuel ratio (AFR) during high-load and wide-open throttle (WOT) operation, rather than switching to traditional open-loop fueling. RaceROM Closed Loop fueling makes the tuning safer and more repeatable especially when performed remotely as it controls the actual AFR during full-throttle operation, compensates for injector flow variations, Compensates for fuel pressure fluctuations, helps account for weather and altitude changes.
OEM Closed Loop Fueling strategy
the 350s ECUs closed loop fueling strategies in general work like this:
for gen1 (narrow band O2 sensors cars)
Closed loop (light throttle/cruise AFR target of 14.7 only):
Uses the front narrow band O2 sensor to continuously compares the Stoich AFR target (only 14.7) to the actual AFR. Adjusts injector pulse width in real time using short- and long-term fuel trims.Open loop (high load/WOT AFR target less than 14.7):
As soon as the AFR target changes away from 14.7AFR \ lambda 1.0 the ECU stops using O2 sensor feedback. This is because the O2 sensor cannot sense any other AFR/Lambda value other than 14.7/1.0 so cannot deliver accurate feedback. The ECU then delivers fuel based only on fuel tables, MAF/MAP readings, injector scaling, and compensations. Any error in injector scaling, MAF calibration, fuel pressure, or airflow can make the engine run richer or leaner than intended.The AFR error is generated by looking at the narrow band O2 sensor voltage and comparing it to a threshold value to put it into rich or lean mode, the system then uses a set of fixed gain value for increasing or decreasing the fuel trim at a set ramp rate until the narrow band O2 sensor flips the rich lean read state.
For Gen2 & 3 cars (wide range O2 sensor cars)
Closed loop (light throttle/cruise AFR target of 14.4 only):
Uses the front narrow band O2 sensor to continuously compares the Stoich AFR target (only 14.7) to the actual AFR. Adjusts injector pulse width in real time using short- and long-term fuel trims.Open loop (high load/WOT AFR target less than 14.4):
As soon as the AFR target changes away from 14.4AFR \ lambda 0.98 the ECU stops using O2 sensor feedback. The ECU then delivers fuel based only on fuel tables, MAF/MAP readings, injector scaling, and compensations. Any error in injector scaling, MAF calibration, fuel pressure, or airflow can make the engine run richer or leaner than intended.this uses a real AFR measurement based on the sensor voltage to generate an AFR error of which gains at different load/rpm regions are applied to generate the two fuel trim values.
Configuring RaceROM Closed Loop Fueling (Gen1)
RaceROM Closed Loop Fueling (gen1 only) allows the install of aftermarket wideband sensors in the exhaust and automatically corrects fuel quantities like an OEM closed loop fuel system. RaceROM Full Time Closed Loop Fueling uses a Proportional–Integral (PI) control strategy to maintain the commanded air-fuel ratio during closed loop operation.
Unlike conventional OEM closed loop operation, which is primarily designed for stoichiometric fueling during cruise, the RaceROM controller is intended to accurately track richer lambda targets under high load.
The controller consists of two independently calibratable channels:
Proportional (Prop) Gain
Integral (Int) Gain
Both calculation values (Prop & Int) are multiplied by multiplier map based on engine speed and load, allowing the controller response to be tailored throughout the rev range.
CL fuel Logging
Logging of the actual AFR, AFR error, CL fueling correction amounts and the final applied fueling correction are available in the RaceROM patch.
The primary concern is the CL fueling Error B1 and B2 which is calculated by
CL fueling error B1/2 = Fuel Map 1/2/3 AFR target - (O2 Sensor B1/2 Output or CAN Lambda B1/2)
depending on the type of sensor configured. The O2 sensor B1/B2 Output parameter is the output of the custom sensor set up as a wideband and the O2 Sensor Scaling (RaceROM) applied (or the raw value from CAN used). This is the scaling for an AEM wideband, the 0-5V sensor voltage gives an AFR output, which is used directly as above.
350Z/VQ35 ProECU RaceROM Supplement
CL fueling setup
To set up full time closed loop fueling on a gen1 350z DE car firstly the sensor / sensors need to be physically installed into the exhaust and wired through either a CAN device or into the 0-5v analogue inputs. for information on this please see the articles
350Z/VQ35 ProECU RaceROM Supplement
350Z/VQ35 ProECU RaceROM Supplement
Dual aftermarket Wideband installs
If two sensors are installed that use the consecutive CAN ids (such as the AEM dual wideband kit) this can be imported as one device in the CAN inputs section allowing two wideband’s to be used without external can device to joining 2 sensors into 1 can message. to use this option select use the Enable Wideband b1 and B2 checkbox.
Enabling Closed loop fueling
After the sensors are configured closed loop fueling needs to be enabled, select the option that suits the physical sensor install, you can also enable the sensors in Debug mode, which does all of the closed loop fueling calculations but doesn’t update the fuel quantity, this option could be used if you were enabling CL fueling on an existing tune so you can tune the correction maps without any closed loop overcorrections be added.
The CL Fuel Engine Speed and CL Fuel engine load and CL Fuel Minimum ECT thresholds for CL activation can then also be configured, the torp value is the activation threshold the bottom value is the hysteresis
there is also a CL Fuel Minimum Run Time map to allow CL fueling to allow the wideband to heat up and activate before the correcting fuel.
Once you have the Closed loop fueling strategy starting when you want you can calibrate the amount of correction both calculation channel applies to the final fuel delivery value. this
the proportional correction base value are in the CL fuel Proportional Correction map
the Integral correction base values are derived from the CL Fuel Integral Correction map. Note the anti windup setting to stop the integral windup when the AFR error is large.
The integral map value is added to the running total at a rate of roughly 25hz hence the small values. Once the base values are set the RPM and load based CL Fuel Proportional Multiplier and CL fueling Integral Multiplier correction values are applied.
Finally the CL Fuel Integral Min/Max and CL Fuel Final Correction Min/Max limits are then applied before the multiplier is inserted into the final fuel delivery calculation.
Closed Loop Fueling (Gen2/3)
Closed loop fueling on gen2 and 3 DE and HR 350z is performed by allow the OEM maps to reach a greater range than allowed in the OEM system.
“more details”
RaceROM Sensors
RaceROM sensors is the custom code that allows extra sensors to be added to the OEM ecu, these include sensors such as
Ethanol Content
Manifold Absolute Pressure
Fuel Pressure
Wideband Oxygen Sensors (gen1 only)
Other values can be imported using the sensors and logged but the above are used internally inside the ECU.
Analogue Sensor Scaling and Configuration
Sensors can be configured in the RaceROM patch depending on the inputs that are available. in Gen2&3 cars there are 2 spare inputs pins (pin38 and pin39) that can be used to import sensor 0-5 volt values.
For gen1 ECU’s there is only 1 spare input pin (pin 52) and the ASCD pins.
The wiring diagrams for these are later in this manual 350Z/VQ35 ProECU RaceROM Supplement. To enable the sensors select the input source to the desired pin.
Set the high and low voltage limits,
which if the sensor voltage goes above or below these ranges the sensor default value is used.
then set the scaling to match the sensor you have installed in the vehicle using the 2D senso scaling maps (for the sensor you are configuring). NOTE all scaling is in SI units, if you want to log the values in imperial units please use the unit conversion function of ProECU or ECU connect
ProECU Logging Units, (Translation \ Changing Unit)
there are some example values available here
MAP sensor scaling
Wideband O2 sensor scaling
Fuel Pressure sensor scaling
NOTE: all of these diff files will still require you to select which input pin or CAN voltage is being used.
0-5v Inputs
There are some handy points to get power and ground from on the OEM ecu, depending on the vehicle region some pins will already be populated but the header is relatively easy to pin and unpin, care is required though to not break the plastics,
Pinout \ Wiring Diagrams for Analogue Sensors (gen1 ECUs)
the options available for gen1 DE cars are
the spare pin 52
the ASCD button input
Pinout \ Wiring Diagrams for Analogue Sensors (gen2 ECUs)
the options available for gen1 DE cars are (ASCD unavailable)
the spare pin 52
+5V Power(pin 68, 49 and 48) and signal ground (pin 67) can also found on the header and wiring either tapped or replaced as required.
TE Connectivity 368376-1 (often listed as 1-368376-1)
https://www.te.com/en/product-5-968221-1.html
https://www.te.com/en/product-964286-2.html
You can get 12v power and signal ground from the MAF sensor plug, a MAF extension cable can be easily purchased to allow you to tap into the MAF harness
https://www.amazon.co.uk/AUTO-OCCASION-Connector-Compatible-withNissan/dp/B0D2N3ZQ93
The Pins connected to existing equipment are used as followed, in JDM or EU cars the EVAP pins are not populated giving easy access to +5V sensor supply.
The ASCD (automatic speed control device) pin can be used as either an extra 0-5V input or as cruise buttons by retrofitting the cruise systems into the car. Map switching can be done from the cruise control button on a non cruise equipped car if the buttons and resistor network are installed to the pins.
Pinout \ Wiring Diagrams for Analogue Sensors (gen3 ECUs)
the options available for gen1 DE cars are
the spare pin 38
the spare pin 39
+5v and sensor ground can be pulled from many different spots at the ECU the +5V and sensor ground for the evap or power steering could be tapped and wires run to your desired sensors. The MAF can be used for +12v and sensor ground as above. alternatively a patch loom could be made for the refrigerant pressure sensor to tap in to the +5v and sensor ground in the engine bay.
RaceROM CAN Inputs (gen1/2/3) and outputs (gen2/3)
EcuTek RaceROM CAN Inputs and Outputs are a general-purpose interface that allows the ECU to receive sensor data from external CAN devices and transmit ECU data or commands to external CAN devices. Think of it as turning the factory ECU into a CAN master that can communicate with aftermarket hardware without needing a standalone ECU. There is information on setup requirements for RaceROM can inputs and outputs here
https://ecutek.atlassian.net/wiki/x/OAB8Gg
Due to the ECU architecture the CAN capacity differs between ECU generations, the generation have to following capability
Gen1 - 1 x 8 byte CAN input ID’s
Gen2 - 3 x 8 byte CAN Input ID’s, 3 x 8 byte CAN output ID’s
Gen3 - 3 x 8 byte CAN Input ID’s, 3 x 8 byte CAN output ID’s
CAN Inputs General
CAN inputs allow the ECU to receive measurements from external devices and use them as if they were factory sensors. Each CAN Input has a set of properties that need to be configured in RaceROM, these are
The CAN ID that the message contents are assigned to in hexadecimal
The CAN ID size (11bit or 29bit) is the size of the CAN ID
The speed of the CAN communication network is operating at
The data length code (DLC), which is how many bytes the message has
The message contents up to 8 channels each with their own
Configuration, which is what the scaled message get input into
Multiplier, Offset which scale the data appropriately for the configuration set above
Bitmask, which is a number that if exceeded set a true or false flag.
CAN sensor scaling and configuration (gen1,2&3)
The details of the ID speed and DLC are set by the device sending the message, this information is available for most universal and some proprietary CAN devices, for example
The TRP 3 analogue input in CAN device has the following settings
Baud 500kb/s. DLC:8 11bit default ID 0x0E1. Recommend frequency 25 or 50hz
Byte 0 | Byte 1 | Byte 2 | Byte 3 | Byte 4 | Byte 5 | Byte 6 | Byte 7 |
Ethanol % | Analog Voltage 1 | Analog Voltage 2 | Analog Voltage 3 | Error Flag | |||
The bit position data size (8 or 16 bit) and the endianess of the message (the can message layout) are also set by the device sending the message but are generally documented by the manufacturer of the device
the inputs that you can specify are
Ethanol content (raw value or voltage)
Fuel Temperature
Wideband O2 Sensor (b1 and B2, raw value or voltage)
Manifold Absolute Pressure (raw value or voltage)
Fuel Pressure (raw value or voltage)
Error status
Each of these inputs are fed into separate RaceROM function like large injector scaling, SD or Flex fuel.
CAN Outputs General (Gen2 &3 only)
CAN outputs allow the ECU to send out data and internal variables to external devices so these devices as if they were factory actuators, for example Wastegate Solenoids or exhaust flaps. Each CAN output device specify a set of properties that need to be configured in RaceROM, these are
The CAN ID that the message contents are assigned to in hexadecimal
The CAN ID size (11bit or 29bit) is the size of the CAN ID
The speed of the CAN communication network is operating at
The data length code (DLC), which is how many bytes the message has
The message contents up to 8 channels each with their own
Configuration, which is what value is scaled and sent out over CAN
Multiplier, Offset which scale the data appropriately for the configuration set above
CAN Outputs scaling and configuration (gen2 &3)
The details of the ID speed and DLC are set by the device receiving the message, this information is available for most universal and some proprietary CAN devices, for example
The TRP mission control box with 3 analogue inputs and 3 PWM outputs CAN device has the following settings
Baud 500kb/s. 11bit ID Default ID 0x335 default 25Hz
Byte 0 | Byte 1 | Byte 2 | Byte 3 | Byte 4 | Byte 5 | Byte 6 | Byte 7 |
Version | PWM 1 frequency (Hz) | PWM 2 frequency (Hz) | PWM 3 frequency (Hz) | PWM Duty 1 % | PWM Duty 2 % | PWM Duty 3 % | future Output Bits |
Byte | Name | Scaling |
0 | Version (8 bits) | Fixed Value. Currently 0x25 (37 decimal). |
1 | PWM 1 Output Frequency (8 bit) | offset - 10Hz, 1 hz per bit (0 = 10hz 255 = 265hz) |
2 | PWM 2 Output Frequency (8 bit) | offset - 10Hz, 1 hz per bit (0 = 10hz 255 = 265hz) |
3 | PWM 3 Output Frequency (8 bit) | offset - 10Hz, 1 hz per bit (0 = 10hz 255 = 265hz) |
4 | PWM 1 Output duty (8 bit) Low-Side | x 2.55 (0.39215% per bit) |
5 | PWM 2 Output duty (8 bit) Low-Side | x 2.55 (0.39215% per bit) |
6 | PWM 3 Output duty (8 bit) High-Side H-bridge Push-Pull | x 2.55 (0.39215% per bit) |
7 | future outputs (8 bit) | MUST BE 0x00 1bit per output |
The bit position data size (8 or 16 bit) and the endianness of the message (the can message layout) are also set by the device receiving the message but are generally documented by the manufacturer of the device (as above).
CAN Pinouts \ Wiring
Wiring locations Gen1
Some potential points for accessing the CAN bus in the gen1 DE cars are
The IPDM
The OBD port
the TCM connector
steering angle sensor (not all models)
Wiring locations Gen2&3
Some potential points for accessing the CAN bus in the gen1 DE cars are
The IPDM
The OBD port
the TCM connector
steering angle sensor (not all models)
Boost Control (CAN) (Gen2 & 3)
With fully featured hard-coded boost control you now use a dedicated internal strategy to control boost pushing far past spring pressure or that old external boost controller. Simply enable the system and set some limits and you should be ready to tune. For full coverage on how the system works check out our guide here: https://ecutek.atlassian.net/wiki/x/BQByGg
Boost control can be directly output to the can output function using an external CAN equipped PWM box to deliver the control required.
Accel Pedal Scaling (gen2 & 3)
There are map switch mode accel pedal scaling maps available to allow for final pedal adjustment in each MS mode.
these maps translate the accel pedal raw input into an adjusted pedal percentage just as the OEM accel pedal maps do.
Per Gear Rev Limits (gen 2 & 3)
There are map switch mode per gear rev limits available in gen2 & 3 ECU’s
these maps set the RPM to cut and reinstate fuel