Tuesday, 16 June 2015

Fuel tank gauge unit signal conversion for Haltech Platinum Pro/Racepak IQ3 Display Dash

Haltech Nissan Skyline R32/R33 Platinum Pro Plug-in (HT055001)

Haltech Platinum Pro Plug-in Auxiliary Harness (HT040003)

Racepak IQ3 Display Dash (250-DS-IQ3)

The Haltech Platinum Pro Plug-in and the Racepak IQ3 Display Dash is a great combination to modernize the electronics of one's car as well as enhance one's interior. Some individuals will mount the display dash in front of the factory instrument panel. I chose to eliminate the factory instrument panel entirely. The result is a cleaner look in my opinion, but because the dash can only display what the engine control unit (ECU) outputs (unless additional components are installed), I lost the ability to track a couple crucial parameters. The purpose of this post is to demonstrate how one can display fuel level on their new dash by modifying the factory fuel tank gauge unit.

The IQ3 Display Dash mounted in the location of the factory instrument panel.
The fuel tank gauge unit utilizes a float connected to a potentiometer. When the tank is full, the float is at the top of the slide, causing a lower resistance. As the tank empties, the float moves down a slide, increasing the resistance. As per Ohm's law, there is an inverse relationship between resistance and current. Therefore, when there is maximum current flowing through the circuit, the indicator will point to full. When there is the minimum current flowing through the circuit, the indicator will point to empty.


The instructions for the fuel tank gauge unit removal is provided below. The majority of the steps have been taken directly off the factory service manual (FSM) unless otherwise stated.

WARNING:
*Do not smoke while servicing fuel system. Keep open flames and sparks away from work area.
*Be sure to furnish workshop with a fire extinguisher.

CAUTION:
*Always replace clamps with new ones.
*Do not kink or twist tubes when they are being installed.
*Do not tighten hose clamps excessively to avoid damaging hoses.
*After installing tubes, run engine and check for fuel leaks at connections.

1. Release fuel pressure.
  • Remove fuse for fuel pump.
Fuse box located to the right of the battery.
Fuel pump fuse is rated at 15A.
  • Start engine.
  • After engine stalls, crank engine two or three times to make sure that fuel pressure is released.
  • Turn ignition switch off and install fuse for fuel pump.
2. Disconnect battery ground cable.

Not an ideal way to connect the battery ground cable but the Optima RedTop is significantly taller than factory battery. However, it has not caused any issues yet. The battery ground cable is fastened by a 10mm nut.
3. Remove inspection hole cover located behind the rear seat.

If the car is not stripped, there will be a metal panel (not shown) that blocks access from the cabin that must be removed.
Inspection hole cover is fastened by 4 10mm bolts at each corner.
The rear bolts are more easily accessed through the trunk. Again if the car is not stripped, there will be a metal panel (not shown) blocking access that must be removed.
4. Disconnect harness connectors and fuel tubes on upper plate (put mating marks on tubes for correct installation).

The restricted access coupled with the age can make these extremely difficult to remove. Use a twisting motion to break the seal.
5. Remove lock ring.
*This is to be done with a special service tool (KV999G0010 - fuel tank lock ring socket). Alternatively, it can be removed by jamming a screwdriver into one of the notches and hammering it.

Unfortunately, the screwdriver will deform the plastic but I could not figure out another way to remove it without the tool.
6. While lifting upper plate, disconnect fuel tube and harness connectors.

There is 1 fuel tube and 2 harness connectors.
7. Remove fuel pump pulling the top end of the fuel pump bracket upward.

In hindsight, it may have been better to do this when the fuel tank was almost empty. 

The long prong of the metal fuel pump bracket goes into the right gap of the white plastic bracket.
8. Remove fuel gauge unit by pulling horizontally to the left.
*An additional harness connector must be unclipped. An easier alternative is to pull the white fuel tank gauge unit bracket upward.

The function of this harness is unknown. The other end is somewhere within the fuel tank itself.
Take care not to bend the bracket.
*This is by far the most difficult step. Taking the bracket off may be easier depending on how tight the tolerance is between the bracket and the fuel tank gauge unit. There is a ledge that prevents the bracket from simply coming off. If you decide to take this route, once the bracket is off, rotate the unit within the fuel tank to reveal the back. Pull the fuel tank gauge unit clip up to create space between it and the bracket. Then pull the bracket off. The smaller your hands, the easier it will be.

Back of the fuel tank gauge unit and bracket.

The ledge that stops the metal bracket from sliding off.
To access the slide, there are multiple tabs holding the two halves of the plastic case. These can usually be unclipped by inserting a thin object under the tab and carefully levering it open. In my case, the tabs were too brittle and any attempts to wedge an object ended up breaking it. If this is the case, the two halves can be reassembled using zip ties (Nylon does not degrade when exposed to gasoline). Throughout the rest of the process, take care not to let the float bump around the ends of the slide.

Place the zip ties so that it will not slide down over time due to bumps.
Take the time to clean the slide while it's accessible. An electrical contact cleaner along with a cotton swab will be sufficient.

The metal cylinder is the fuel level warning sensor. In this setup, it is no longer needed but take care not to damage it.
Using a multimeter, test the resistance range of the potentiometer. Insert the red test lead into the VΩmA terminal and the black test lead into the COM terminal. Set the switch to an appropriate measurement position in Ω range. Connect the red test lead into terminal 1 and black test lead into terminal 3 (Refer to fuel tank gauge unit check diagram above  for terminal numbers). Although most digital multimeters operate in a similar fashion, refer to your operating manual for model specific instructions. As shown above, the normal range of values is 4 - 84Ω. The resistance values should have a relatively linear relationship with the position of the sensor.


Because the Platinum Pro is a plug and play unit, the ECU does not accommodate any additional inputs on it's own. However, the auxiliary harness can increase the function of the ECU, with the addition of an analogue voltage input (AVI) which accepts variable voltage inputs from 0-5V. This is the range in which the fuel tank gauge unit must be recalibrated. The following schematic is used. Using a breadboard to wire the capacitor and resistors will ensure a clean install (The Basics of Breadboarding).

C1 = 1000 uF, R1 = 22 000 Ω/2%, R2 = 100 Ω/2%
The orientation of the picture is identical to the wiring diagram.The bottom right yellow wire is spliced into terminal 1 of the fuel tank gauge unit harness.
Terminal 1 (signal) is a gray/red wire.

Once the voltage values have been determined for an empty, half, and a full tank (refer to float position above), enter "Main Setup" by pressing the F4 key. Under "Inputs", check mark the "AVI" and set as "Fuel Level Senso"r. This will bring up a new tab called "Fuel Level" on top of the main setup page.

The relevant settings are boxed in red.
Insert the voltage and the corresponding fuel volume into the table. The R33 GT-R's fuel tank capacity is 65L.

"Insert Column" is boxed in red. One can then highlight the volts and L underneath and enter the values.
The firmware of the ECU must be updated to v1.13.4. This is an error exclusive to the Platinum Pro series of ECUs where despite displaying the fuel level on the ECU Manager, the information will not be communicated to the dash through the CAN bus. Although this is not available on the Haltech site as of May 2015, you can download the firmware here. The instructions for updating the firmware is as follows.

1. Go online with your ECU.

2. Save your map, call it whatever you like. Go to FILE and then SAVE AS.

3. At the top of the screen select TOOLS and then UPGRADE FIRMWARE

4. Go to your Haltech / Firmware directory. Depending on your operating system you may need to start from My Documents to find this directory.

5. You should see a list of compatible firmware files. It will only show you versions that you can use. eg. If you have a Platinum Sport 1000 you will not see Sprint 500 files.

6. Select the latest file version.

7. You will then see the software jump back to the opening logo screen, with ERASING on the bottom left of the window. After a short time it will show progress increasing from 0 to 100%.

8. If promted, select UPGRADE. This upgraded file will be discarded in step 9. When everything is complete, power off the ECU and unplug the 34-pin connector (larger connector). Power back on the ECU.

9. UPLOAD the latest Default Base file that matches your ECU. Select FILE and then UPLOAD and then choose the matching Default Base File to the new firmware version you have used. This will be located in the "Haltech / ECU Maps / Base Maps" folder. For example, if you have a PS1000 and have upgraded to 1.09.2, and you are using VE for tuning, you would select the file named "Sport_1000-109_default_VE.hs1-109".

10. When complete you need to IMPORT your previous saved map. Select FILE and then IMPORT and select your saved map. When promted, tick all three boxes for Tables, Calibrations, Settings.

11. After you have completed importing your saved map, power off, re-connect the 34-pin connector, and power back on. You are ready to go with the latest firmware!

12. Check absolutely all settings and tables to make sure all values are as expected before attempting to start or drive the vehicle.

The reasons for doing some of these steps.

* 34-pin connector unplugging: this is done to prevent inputs or outputs falsely activating while we upload the base map. Not doing this step could cause injector or ignition output problems.

* Uploading the new Default Base Map: This is done to ensure all new functions and features that come with an update have basic values in them. Because it may be using new or different sections of memory inside the ECU, it may have random numbers present in the map. Loading the base file ensures that normal numbers are in place.

* Importing your saved map: This returns the ecu back to the same tune state as it was before the update

When you are done, check all maps and settings for normal predicted values.

Finally, make sure you're using the latest 4.2.1 version of RacePak DataLink. Copy the canparm file into your C:\Program Files (x86)\DataLinkII\Can directory, overwriting the existing file. When you run DataLinkII, fuel level will now be the last sensor to choose from in your available sensors list.


Right click an unused EFI input in the right box which will bring up "VNET Input Channel Parameters". In the sensor dropdown list, fuel level will be the last sensor to choose from. Do not alter "Vnet ID".
The installation procedure is the reverse order of removal. When installing the upper plate, align the mark on it with the center of marks on fuel tank.


Firmware update instructions and canparm file provided courtesy of HaltechMatthew and HaltechMitch, respectively. Special thanks to Adam Peeling at Haltech for troubleshooting the CAN connection issue and providing the updated firmware file.

Sunday, 24 May 2015

Haltech onboard pressure sensor and MAC boost control solenoid (35A-AAA-DDEA-1BA)

Haltech Nissan Skyline R32/R33 Platinum Pro Plug-in (HT055001)
Quick start guide

MAC boost control solenoid (35A-AAA-DDEA-1BA)
Product page
Application, installation, and service precautions
Catalog pages

The Haltech Platinum Pro engine control unit (ECU) is equipped with an onboard manifold absolute pressure (MAP) sensor rated to 22 psi. For forced induction applications, this is an essential metric to keep track of. Not only is it an invaluable diagnostic tool, it can be used to determine who is alpha out of your group of friends.



A barbed fitting can be seen on the bottom right corner of the ECU.
On an RB26 with an individual throttle body setup, the line must be connected after the throttle bodies in order to measure vacuum along with pressure. Vacuum is used in a whole host of automotive processes and the ability to measure it will give you an additional tool for troubleshooting if needed. Vacuum is dependent on engine load and throttle position but essentially, the piston acts as an air pump producing suction. To my knowledge, there is only one fitting that Nissan provides which is located behind the number 3 throttle chamber.



The fitting highlighted in red.
The fitting with the line attached.
Once the piping is completed, open the ECU manager software. Enter the F4 key on your keyboard which will bring up the "Main Setup". On the left hand side under "Inputs", check the "OBPS" and set to "Manifold Pressure Sensor 1". On the left hand side under "Basic", check that the "Primary MAP Sensor" is set to "Manifold Pressure Sensor 1". You are now ready!


The relevant settings are boxed in red.
The purpose of a boost control solenoid (BCS) is to regulate compressed air (referred to as boost) that is being generated by a turbocharger. This is done by controlling the extent to which the wastegate valve opens in the turbine housing. This setup, where the valve is located within the turbine housing, is referred to as an internal wastegate. How turbochargers work.


The turbine (left) and the wastegate valve (right) can be seen in this R33 GT-R stock turbocharger.
As the wastegate valve opens, the exhaust is able to bypass the turbine, reducing the speed of the compressor. When the wastegate valve closes, the exhaust must go through the turbine, increasing the speed of the compressor. In practice, this happens in a continuous spectrum where it is either partially open or closed. The movement of this valve is controlled by an actuator mounted on the turbo.

[video of wastegate valve opening and closing - coming soon]



The wastegate actuator and the actuator rod.
The wrapped boost line above is connected to the intake manifold through the BCS. When boost begins to build, the pressure will depress a spring which in turn will move the actuator rod, opening the wastegate valve. In a twin turbo setup, the force required to depress the spring must be identical in both wastegates. Otherwise, the boost pressure generated by the two turbos will be different leading to turbulent airflow and premature wear among a host of other issues. This can be tested using a hand pump.


blue arrows represent boost pressure, green represents the diaphragm, orange represents the spring.

There are multiple ways to set up a BCS. The method that I opted for is a 3 way normally open setup.

Other setups can be found in the catalog page.
The upper port corresponds to #1, the middle port corresponds to #3, and the lower port corresponds to #2.
Port number 3 is piped into intake manifold. Port number 2 is piped into the wastegate actuators. Port number 1 is vented into the atmosphere. With a twin turbo setup, the line from port 2 will need to be split to feed both the actuators.

When the wastegate is de-energized, the boost pressure at the manifold and the boost pressure at the wastegate is identical. In order to build boost however, the engine control unit will begin to energize the solenoid as the crankshaft revolutions per minute (RPM) increases. This is referred to as duty cycle. As the duty cycle increases, the solenoid will begin to bleed the boost pressure from the wastegate, lowering the force exerted on the spring. This reduction in force acts to close the wastegate valve, forcing a greater percentage of the exhaust to go through the turbine and thus, building boost.


The tune currently on my car uses open loop boost control. This is a very simple setup where the duty cycle is predetermined based off RPM.



The actual values must be determined by your tuner on a dynamometer.
This method of piping is inherently safe because if the BCS fails, the boost pressure will be self regulated through a negative feedback loop. As boost pressure increases, the more the wastegate valve will open reducing the speed of the compressor and thus, boost pressure.

There are two wires for the BCS. The Haltech ECU utilizes the factory BCS harness negating the need to use an additional digital pulsed output signal. The harness is located right beside the fuse box in the engine bay. The blue/yellow is the signal wire to the ECU and the green is power through the ignition switch. It does not matter which wire is spliced into which as there is no polarity on the MAC BCS wires.



The yellow in the blue/yellow wire and the green wire both looks white due to overexposure.
After wiring, a test can be done to determine whether or not the BCS is functional. In the appropriate software, set the duty cycle to a percentage of your choice with the RPM at 0. A ticking sound will be heard once the changes are applied. Remember to revert back to the original settings.



I realize there was far more miscellaneous content than the actual install itself but it's always good to know how things work, even if it's just for the sake of knowing.