code59 tech session

62
Code59 101 SyTy Nats 2009 Bowling Green, KY.

Upload: austin

Post on 31-Jan-2016

20 views

Category:

Documents


0 download

DESCRIPTION

Code59 Tech Session. Big Thanks!. Overview. What is Code59? What is needed to run Code59? How to install Emulator and ALDL Cable What COM Port is my ALDL Cable on? How to Use TunerPro Exploring the Code59 XDF Basic Code59 Tuning Tables Closed vs Open Loop - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Code59 Tech Session

Code59 101

SyTy Nats 2009

Bowling Green, KY.

Page 2: Code59 Tech Session

Big Thanks!Big Thanks!

Page 3: Code59 Tech Session

OverviewOverview

• What is Code59?• What is needed to run Code59?• How to install Emulator and ALDL Cable• What COM Port is my ALDL Cable on?• How to Use TunerPro• Exploring the Code59 XDF• Basic Code59 Tuning Tables• Closed vs Open Loop• How to tune – Drivability before WOT• How to Use Autotune

Page 4: Code59 Tech Session

What’s Code59?What’s Code59?

• Code59 is free stuff to help you tune your truck for better power, reliability, mileage, and drivability.

• Code59 includes– Tools to help with tuning – Base binary images (chip files) to

get started with, for various builds and injector sizes

– Definition files for TunerPro RT so that it understands Code59

Page 5: Code59 Tech Session

Why use Code59?Why use Code59?

• We made it better – improvements to the base GM “operating system” to make it easier to tune, with integrated Wide-Band o2 capabilities. Also, tools like AutoTune to do a bunch of the heavy lifting for you to get started.

• Purchased “chips” are hit-n-miss; some will work ok on your truck, some won’t.

• Does what the aftermarket systems (FAST,DFI) do, for a lot less.

• You can do this stuff! Tune it yourself to save $, and get better results than what you can buy off the shelf.

Page 6: Code59 Tech Session

What do I need?What do I need?

• Wide-Band o2 sensor setup– Recommended units:

• PLX SM-AFR• Innovate LM-1 (LC-1 is ok, too)• Many others supported

– check the code59.org website for list

– Wide Band sensor outputs must be wired into the ECM, Pin F14 for the Wide-Band signal and any good ECM ground for the signal ground. (Pin B9 in the center connector is a good place for ground or ECM Case)

– Good Install Guide http://www.syty.net/forums/showthread.php?t=48363

Page 7: Code59 Tech Session

What do I need?What do I need?(continued)(continued)

• TunerPro RT: – http://www.TunerPro.net/download– Only $30

• ALDL Cable– Moates XtremeALDL –USB to Serial adapter and ALDL Cable

http://www.moates.net/product_info.php?cPath=73_64&products_id=127

– AKM Cables http://www.akmcables.com/order.htm– ALDLCables.com http://www.aldlcable.com/

• ECM MEMCAL adapter– Moates G1 http://www.moates.net/product_info.php?

cPath=31&products_id=32

Page 8: Code59 Tech Session

What do I need?What do I need?(continued)(continued)

• Ostrich, or chip burner– Huh? Ostrich WTF is that?

Moates Ostrich – Allows you to make tuning changes “on the fly” while the vehicle is runninghttp://www.moates.net/product_info.php?cPath=31&products_id=169

• Burner– Unlike the Ostrich, this won’t do changes while running;

you have to shut it off, pull the chip, re-burn the chip, put the chip back in… lather, rinse, repeat.The upside - cheaper.http://www.moates.net/product_info.php?cPath=31&products_id=197

• Laptop - with USB• MS Office or OpenOffice to run AutoTune.

Page 9: Code59 Tech Session

What do I need?What do I need?(continued)(continued)

• Code59 XDF for TunerPro bin editing

• Code59 ADS for TunerPro logging

• Code59 Bin file for your Injector Size

• All of these can be found at www.code59.org

Page 10: Code59 Tech Session

Getting StartedGetting Started

• I’ve got all of the above…now what?– First things first, get it all hooked up. Wide-band,

Ostrich, Scan Tool cable.– Download a suitable starter bin (one for your injector

size) for your truck from code59.org download area. Put it in the TunerPro bin directory <location>

– Download the code59 ads and xdf files, and put them in the appropriate directory.

– Start TunerPro– Make a few data logs in TunerPro to make sure it all

works

Page 11: Code59 Tech Session

How to hook up OstrichHow to hook up Ostrich to your ECM to your ECM

Page 12: Code59 Tech Session

What COM port is my What COM port is my ALDL Cable on?ALDL Cable on?

1. Before connecting your USB ALDL Cable, Right click on My Computer and go to Properties.

2. Click on Hardware Tab and then go to Device Manager

Pictures are for XP, Vista will look slightly

different but how you look up the COM

Port is similar.

Page 13: Code59 Tech Session

What COM port is my What COM port is my ALDL Cable on?ALDL Cable on? - - ContinuedContinued

3. Expand the Ports (COM&LPT) section

4. Connect your USB ALDL Cable

5. The New Com Port will Show up in Ports section

6. Remember the COM port number as you will need to put this in the COM port setting in the TunerPro ALDL connection.

In this example it is COM4

Page 14: Code59 Tech Session

What exactly is a Bin, What exactly is a Bin, ADS and XDF?ADS and XDF?

• BIN – The actual code and information on the chip.

• ADS– Translator to laptop on what words the ECM is

speaking (english, spanish, canadian, etc.)

• XDF– Road Map to where info is on the chip, and how

to display numbers so us dumb humans can understand it.

• Make sure XDF and ADS are in the same location

Page 15: Code59 Tech Session

How to use TunerProHow to use TunerPro

• Load XDF, ADS and Bin• Set COM Port for ALDL cable• TunerPro Interface and Toolbar• How to edit Tables, Constants and Flags• How to use Toolbox in Table Editor• View Graphs• Find an item to edit (ctrl-f is your friend)• Connect/Record ALDL• Enable Datatracing to see the Bubble• How to log and export a log file for Autotune

Page 16: Code59 Tech Session

Load XDF and BINLoad XDF and BIN

• Goto XDF menu and then select XDF to load it into TunerPro – Best to load XDF before BIN.

• Goto File Menu and Open BIN to load the chip you want to tune.

Page 17: Code59 Tech Session

Load ADS FileLoad ADS File

• Hit F4 to get to the ALDL Setup Menu – or go to Tools, ALDL Menu then Setup

• Click on Browse button to Load the ADS file

Page 18: Code59 Tech Session

Loaded ADS FileLoaded ADS File

• ADS File loaded – It should look like this

Page 19: Code59 Tech Session

Setting the COM Port in Setting the COM Port in TunerPro for ALDL TunerPro for ALDL CableCable• Goto Tools then Preferences on the Menu

• Set Interface to MAX232

• Change COM port Number to the one you saw in the Device Manager

Page 20: Code59 Tech Session

TunerPro InterfaceTunerPro Interface

• Broken up into Sections (left side of the screen)– Constants– Flags– Tables

• ALDL Dash, ALDL Values, ALDL Flags, XDF Notes, etc. at the bottom of the TunerPro Screen

Page 21: Code59 Tech Session

TunerPro Interface TunerPro Interface StatusesStatuses

• Located at the bottom tool bar in TunerPro– Emulator Detected– Emulation On– ALDL Connected for Monitoring– Logging in progress

• Above File Menu– XDF you using – If you change the XDF it will have *

next to it.– Name of Bin– Bin Changed?

• It will have * next it and means you have NOT Saved changes.

Page 22: Code59 Tech Session

TunerPro ToobarTunerPro Toobar

• Top Bar below File Menu

– Connect to Emulator Button – Initialize Hardware

– Upload/Download/Verify Bin in Emulator

Page 23: Code59 Tech Session

TunerPro Toobar - TunerPro Toobar - continuedcontinued

– Enable Emulation – Allows you to make changes in real time

– Emulation Bank – Only works with Ostrich, add to toolbar to see

– ALDL Buttons – ALDL Interface, Connect to ALDL, Enable Datatracing “AKA the Bubble”

Page 24: Code59 Tech Session

TunerPro Toobar - TunerPro Toobar - continuedcontinued

– DASH Board buttons – Gauges, Values, Flags, Monitors

Page 25: Code59 Tech Session

TunerPro Toobar - TunerPro Toobar - continuedcontinued

– Log Record/Play Back Control• Record ALDL

• Play

• Pause

• Slider to move through log

• If paused, you can click on slider and use arrow keys on keyboard to step through log frame by frame.

Page 26: Code59 Tech Session

TunerPro Toobar - TunerPro Toobar - continuedcontinued

– Item Comments (Hit F10) – We have added notes to some XDF items. Goal is to eventually add all Notes from the P4 Document into the notes for each item.

Page 27: Code59 Tech Session

TunerPro Toolbox –TunerPro Toolbox –VERY POWERFULVERY POWERFUL

• Located in table editing menu

• With range of cells in table selected you can:– Add/Subtract Offset to all values

selected– Multiply/Divide to all values

selected– Smooth Selection – Very helpful– Etc.

Page 28: Code59 Tech Session

TunerPro GraphsTunerPro Graphs

• Graph Button available when tables are opened

• Does 2D and 3D Graphs of table values

• Can Rotate and Zoom In/Out on 3D Graphs

• Can Click and edit points on a graph

Page 29: Code59 Tech Session

TunerPro GraphsTunerPro Graphs

Page 30: Code59 Tech Session

Finding an Item in Finding an Item in TunerPro to edit–TunerPro to edit– Ctrl+F is Ctrl+F is your friendyour friend

• If you can’t find something, hit Control F to bring up the find box– You can search for phrases in the titles,

descriptions, etc.– Help you locate item

Example: Do a Search for

Closed to Find all items with

closed in title.

It will help you locate the Closed Loop Enable Temp Setting

Page 31: Code59 Tech Session

How to Edit an ItemHow to Edit an Item

• Double click Constant, Flag or Table to open up editor.– Slider– Type Value– Check Box (Flags, on or off)

– Toolbox (Mass changes to a table)

• Click Save to save changes to item edited– If button says UPDATE, you are emulating and

the change will be sent immediately to the emulator.

Page 32: Code59 Tech Session

How to Connect and How to Connect and Record ALDLRecord ALDL

1. In the ALDL Interface make sure ADS File loaded

2. You need to have a file created to be able to record and ALDL Log.

3. Click on Select Log file and tell TunePro where you want to save the log file.

Page 33: Code59 Tech Session

How to Connect and How to Connect and Record ALDL - Record ALDL - continuedcontinued

4. Now that you have told TunerPro where to save the file, we are ready to record.

Page 34: Code59 Tech Session

How to Connect and How to Connect and Record ALDL - Record ALDL - continuedcontinued

5. Click on the ALDL Connect Button in the toolbar

6. You should see you are now connected to the ECM in the bottom tool bar

7. Hit Record on the Log Record/Play back tool to start to record

Page 35: Code59 Tech Session

How to Connect and How to Connect and Record ALDL - Record ALDL - continuedcontinued

• Hit STOP on the Log Record/Play back tool to Stop recording. to record – It will ask you to enter in some comments for the session you just recorded.

• You can now EXPORT your log for Autotune or play it back again using the Play Button.

Page 36: Code59 Tech Session

How to Enable Data How to Enable Data TracingTracing

1. Once you connected to ALDL

2. Click on the Data Trace button to turn Data Tracing on.

Page 37: Code59 Tech Session

How to Enable Data How to Enable Data Tracing - Tracing - continuedcontinued

3. You will now see where you are exactly in each table.

• This also works when you play back an ALDL Log

Page 38: Code59 Tech Session

How to Export your Log file for Autotune

1. Load Log you want to Export in the ALDL Setup and select the session you want to Export.

Page 39: Code59 Tech Session

How to Export your Log file for Autotune - Continued

2. Click on the Export Session to CSV Button

3. TunePro will ask you where you want to save the file.

4. You will see status bar below showing you the progress of the export.

5. You should now have a CSV of your log to import into AutoTune and can open in Excel

Page 40: Code59 Tech Session

DemoDemo

Show hookup, data collection.

Page 41: Code59 Tech Session

Exploring the Code59 Exploring the Code59 XDFXDF

• In each section we have Organized all the Constants, Flags and Tables in common sections.– Fuel, Spark, Boost, WBo2, etc.

Page 42: Code59 Tech Session

Common ConstantsCommon Constants

• Closed Loop Temperature Enable

• RPM Limit

• EGR Shut Off

Page 43: Code59 Tech Session

Closed Loop vs Open Closed Loop vs Open LoopLoop

• CLOSED LOOP - allows the ECM to make fuel corrections. You never want to tune your vehicle in Closed Loop. You will be chasing your tail.

• OPEN LOOP – ECM runs the VE numbers in your F29x table without making any corrections.

Page 44: Code59 Tech Session

How to put ECM in How to put ECM in OPEN LOOP?OPEN LOOP?

• Do a find in TunerPro (CTRL+F) for Closed and look for the item labeled Temperature for Closed Loop Enable (KCLTC)

• Set this to 151°C to Force

the ECM into

OPEN LOOP

Page 45: Code59 Tech Session

RPM Limit/Fuel RPM Limit/Fuel CutoffCutoff• Cutoff– Injectors are

turned off at this RPM• Resume – Once

RPMs drop to this setting, injectors will turn back on

• Make sure you set it for the correct number of Cylinders you have.

Hey why does my V8 Ty shut off at 4000 RPMs…

Did you check the V8 Fuel Cut off and Not the V6 Cut off……………JEFF

Page 46: Code59 Tech Session

Disable EGRDisable EGR

• EGR - Temperature Level for EGR Enable (KEGRTEM1) – Set this to 151°C to disable.

Page 47: Code59 Tech Session

Common FlagsCommon Flags

• Wideband Flags– Select the correct WBo2 flag for your sensor.– Make sure only one Wideband flag is selected.

Page 48: Code59 Tech Session

Basic Fuel/Timing Basic Fuel/Timing TablesTables

• F28 – This is essential our BPC – Constant amount of time the injectors will opened.

• F29x – Main Fuel Table

• F77x – Boost Multiplier

• F1 – Main Timing Table

Page 49: Code59 Tech Session

Base Pulse Constant Base Pulse Constant -vs- Desired EGR -vs- Desired EGR (F28)(F28)• This table is always used

regardless if your EGR is disabled or not. If disabled the 0% setting will be used. Best to set it the same for all cells.

• This is essential our Base Pulse Constant (BPC).

Page 50: Code59 Tech Session

F29x – Main Fuel F29x – Main Fuel TableTable• F29x – This is the main fuel table. This is the

table Autotune works with.• Can’t go over 99.69VE in a cell• Now you can fine tune

the boost cells.

Page 51: Code59 Tech Session

F77x – Boost F77x – Boost MultiplerMultipler• Used to add fuel when in

addition to the F29x table.• F77x is for big fuel changes

across a MAP range.• F29x is for fine tuning fuel• Used when you run out of VE in

F29x (99.69 is max VE)

95% of all your work will be in the F29x table

Page 52: Code59 Tech Session

F1 – Main Timing F1 – Main Timing TableTable• F1 – This is the main timing table. This is where

you would do 95% of your timing changes.• Goes from 600 – 4800 RPMs and vac to ~30 PSI

Page 53: Code59 Tech Session

Ideal Fuel RatioIdeal Fuel Ratio

• What is the ideal ratio?

• Cruise 14.0-15 : 1• Boost 10.5-12.0 : 1• Deceleration 15-20:1

• These are guidelines, based on knock and how the truck reacts you will want to adjust for YOUR vehicle. There is not a perfect answer here.

Page 54: Code59 Tech Session

Where to begin?Where to begin?Driveability before WOTDriveability before WOT• Adjust F28 Table in the base bin for you injector size until idle is

somewhere in the 14.0 – 15.0 AFR Range and then leave this table alone. – Set all values in this table to the same number

• Put ECM in OPEN LOOP so it no longer controls fueling

• Idle – Now fine tune idle cells to make sure it idles smooth• TIME TO LOG – Take it out for a drive. Get Driveablitily correct

before boost• Driveablity – Drive while logging different conditions.

– Cruise– Different conditions (uphill, different gears, level)– Different loads (more people in the car)

• AUTOTUNE– Put log and F29x TABLE into Autotune– Copy new F29x table back into Chip and save chip– Examine new F29x graph

Page 55: Code59 Tech Session

What is a good tune?What is a good tune?

• Smoother is better– Make sure you don’t have big VE changes

between MAP/RPM cells. More than 5 VE difference between cells then look at those cells.

• Trust your WBo2 Sensor but use your NBo2 as a sanity check – If you can– WBo2 Says 12 AFR, NBo2 says 900mv,

TRUST Sensor– WBo2 Says 12 AFR, NBo2 say 300mv,

SUSPECT BAD SENSOR

Page 56: Code59 Tech Session

Examples Fuel MapsExamples Fuel Maps

Not too good – Lots of Peaks and Valleys

Better – Smoother Transition between cells

Page 57: Code59 Tech Session

• Excel spreadsheet that groups data samples together, averages them and gives you a suggested new fuel table based on inputs.

• Basically a lot of math to HELP you.

• Warnings– Its just math, it can’t see if a sensor is bad,

garbage in garbage out, or other issues. Only works off the F29x table.

Page 58: Code59 Tech Session

*Before Starting you need to make sure the Excel Analysis Pack installed and turned on in the ADD-ONs

1. Copy F29x table from your BIN2. Paste Into the FROM TunerPro Section in

Autotune3. Make Sure AFR table in Autotune matches

F29_AFR in your Chip 4. Open Exported LOG into Excel5. Highlight All Cells in the LOG and copy6. Click on the Upper Cell of the NON_AE_PE

Tab and paste the LOG file

Page 59: Code59 Tech Session

7. Wait for Autotune to Calculate – Will take some time depending on the number of cells.

8. Copy the new Calculated Table from Autotune into the F29x table of your Chip

9. Save Chip with a new descriptive file name.10.View new Graph of F29x. Hand adjust cells

that don’t look right. WAY HIGH or WAY LOW. Need to look at surround cells and even them out. You don’t want a lot of peaks and valleys.

Page 60: Code59 Tech Session
Page 61: Code59 Tech Session

TunerPro 5 PREVIEWTunerPro 5 PREVIEW

• New Bubble • Improved ALDL logging – Goal is to no longer

need a separate tool like Datamaster for analyzing

• Histograms – Very Powerful Feature, step closer to TunerPro having Autotune builtin.

• Create your own Dashboards• Improved Monitor Graphing – Graph as many

items on a monitor as you like. No Limit on the number of items you want to graph

• Ostrich 2.0 Address Tracing

Page 62: Code59 Tech Session

QuestionQuestionss