S4 / RS4 (B5 Platform) Discussion Discussion forum for the B5 Audi S4 & RS4 produced from 1998-2002

A "Must Read" for all APR ECU Explorer users....

Thread Tools
 
Search this Thread
 
Old 01-14-2005, 08:28 AM
  #1  
AudiWorld Expert
Thread Starter
 
Mark P's Avatar
 
Join Date: Mar 2000
Location: Raleigh, NC
Posts: 29,189
Received 5 Likes on 5 Posts
Default A "Must Read" for all APR ECU Explorer users....

Below is a basic cut/paste from my website since I know clicking a hyperlink is waaaaay too much effort for many But if you're really interested in this, just go directly to my site and see all the info better formated, and also where I will be making slight additions/updates/etc:

Click here ---&gt; <a href="http://ctny.audiworld.com/mark/s4/ecux/" target="_blank">ECUx templates, macros, usage, etc</a>

Basically it's my set of group files, macros, Excel templates, etc. DAP and I have modified these such that we feel it best covers the variables we most often want to use. Others can also share in these templates to help themselves, and if others are using the same templates (at least same group file), it makes it much easier for us to help them (by using the graphing templates that are already set up, etc). Anyway, take a peek and enjoy!


**************************Begin Copy/Paste from Website***********************




APR ECU Explorer

Here are some files that I commonly use when logging and graphing
data. I've put them here in case other ECUx users would like to
use them as well. This will allow each other to share their data easier,
as well as allow for a quick and simple method to graph the data. I have
tested and regardless if I log 1 variable or 36 variables, I still record ~14
samples/second. So, better to use a group file such as below that records
more variables, as others might want to see items you hadn't planned on
logging. That is, better to get more data and not need it than to not get
it in the first place. Each file is zip'd, so unzip to use as I
describe...

Click on any of the screen captures below to view larger image.

<a HREF="http://ctny.audiworld.com/mark/s4/ecux/fats/">Click here for my FATS calculator that uses ECUx data</a>

<b><u>LOGGING SESSION</u></b>

In order to log in ECUx, you utilize a Group File which contains the
variables that you want to log.
FILE: <a HREF="http://ctny.audiworld.com/mark/s4/ecux/template_8/typical8.egp">typical8.egp</a>

I have set this up to log the following variables:

TIME
RPM
EngineLoad
BoostPressureDesired
BoostPressureActual
BoostFrequencyValveDutyCycle
IntakeAirTemperature
ThrottlePlateAngle
IgnitionRetardCyl1
IgnitionRetardCyl2
IgnitionRetardCyl3
IgnitionRetardCyl4
IgnitionTimingCyl1
IgnitionTimingCyl2
IgnitionTimingCyl3
IgnitionTimingCyl4
IgnitionTimingAngleOverall
MassAirFlow
AirFuelRatioDesired
VehicleSpeed
Gear
IgnitionRetardCyl5
IgnitionRetardCyl6
IgnitionTimingCyl5
IgnitionTimingCyl6
EngineLoadSpecified
EngineLoadCorrectedSpecified
FuelInjectorOnTime
BaroPressure
EGTbank1
EGTbank2
KnockVoltCyl1
KnockVoltCyl2
KnockVoltCyl3
KnockVoltCyl4
KnockVoltCyl5
KnockVoltCyl6

<b><u>DATA PREP</u></b>

FILE: <a HREF="http://ctny.audiworld.com/mark/s4/ecux/template_8/grab_data_template8.zip">grab_data_template8.xls</a>
After you are done logging, use ECUx to Export your log to CSV. [see
Figure 1]
<a HREF="http://ctny.audiworld.com/mark/s4/ecux/ecux_csv_image.gif">
<img SRC="http://ctny.audiworld.com/mark/s4/ecux/tn_ecux_csv_image_gif.gif" border="0" alt="ecux_csv_image.gif"></a>

<b>Figure 1 - Sample ECUx output after being exported to CSV</b>
I have created an Excel macro which will take this CSV file and pull out
only the "good" data, as well as color-coding some of the data. I
have defined "good" data to be when Throttle is &gt;90%. Assuming
you don't have any throttle cut issues, this should be applicable for
WOT runs. In order to use this macro, a minor amount of setup is
required...

<u>Setup</u> -
(You just need to do this once to personalize the macro for your computer...) The macro is
coded with a name and location to find this CSV file. Therefore,
you need to choose a location and a name to always save your CSV file
as. Please create a dataprep/ directory, which you will then later make
copies of your CSV file and put them in here, and name them dataprep.csv.

This way the macro will always work on whatever the current dataprep/dataprep.csv
is located there. To edit the macro in
grab_data_template8.xls, first open it, then:
Tools -&gt; Macro -&gt; Macros -&gt; Edit
Then find the path that ends with ..../dataprep/dataprep.csv and change
the path to the location on your PC. [see Figure 2]
<a HREF="http://ctny.audiworld.com/mark/s4/ecux/grab_data_template8_macroedit_image.gif">
<img SRC="http://ctny.audiworld.com/mark/s4/ecux/tn_grab_data_template8_macroedit_image_gif.gif" border="0" alt="grab_data_template8_macroedit_image.gif"></a>

<b>Figure 2 - Illustrates path to change to your location for this file</b>


Now, to use this grab_data_template8.xls file,
1.) Take your ECUx CSV file and make a copy into your
dataprep/ directory.
2.) Rename the file to dataprep.csv. (first remove a previous dataprep.csv if you had run this before)
3.) Now open up grab_data_template8.xls (Click "Enable Macros" if/when prompted) and click on the "Macros" tab at
the bottom. Then click on the "Run Me!" button. [see Figure 3]
<a HREF="http://ctny.audiworld.com/mark/s4/ecux/grab_data_template8_image.jpg">

<img SRC="http://ctny.audiworld.com/mark/s4/ecux/tn_grab_data_template8_image_gif.gif" border="0" alt="grab_data_template8_image.gif"></a>
<b>Figure 3 - Shows Macros tab and "Run Me!" button</b>

At some point it will say there is data on the clipboard and ask if you
want to use it later. Click NO.
When the macro finishes, you will be on the "Final Data" tab. The
data you now see is just the "good" data, and some parts of that data
have been color-coded to aid in understanding what you are
seeing. Please see the "Notes" tab to see what each column's
color code refers to. [see Figures 4 &amp; 5]

<a HREF="http://ctny.audiworld.com/mark/s4/ecux/grab_data_template8_finaltab_image.gif">
<img SRC="http://ctny.audiworld.com/mark/s4/ecux/tn_grab_data_template8_finaltab_image_gif.gif" border="0" alt="grab_data_template8_finaltab_image.gif"></a>
<b>Figure 4 - Shows Final Data tab with filtered, color-coded output</b>

<a HREF="http://ctny.audiworld.com/mark/s4/ecux/grab_data_template8_finaltab_zoomout_image.gif">
<img SRC="http://ctny.audiworld.com/mark/s4/ecux/tn_grab_data_template8_finaltab_zoomout_image_gif. gif" border="0" alt="grab_data_template8_finaltab_zoomout_image.gi f"></a>
<b>Figure 5 - Another example of the Final Data tab. Here you can easily see
how the color coding shows that these are two 3rd gear runs, and both go from
low to high RPMs. This is due to:
Column U (Gear) being all green (green = 3rd gear)
Column B (RPM) goes green to white to orange (green= &lt;4000 RPMs, orange=
&gt;6000 RPMs)
Also note the red box in Column A. This denotes where two different Time
sections meet up. The areas that is all white means that those timestamps
are all in order, thus all from one continuous logging pull. There was
likely many minutes of "junk" cruising data between those two pulls,
and thus this grab_data macro pulled out only the good stuff.</b>



<u><b>GRAPHING</b></u>

FILE: <a HREF="http://ctny.audiworld.com/mark/s4/ecux/template_8/2control_2variable_Compare_template_8.zip">2contro l_2variable_Compare_template_8.xls</a>
FILE: <a HREF="http://ctny.audiworld.com/mark/s4/ecux/template_8/2control_2variable_Compare_template_8_timebased.zi p">2control_2variable_Compare_template_8_timebased .xls</a>
<u>Single Gear Pulls</u>
Now you can easily cut and paste data from your "Final Data" tab on the
grab_data_template8.xls sheet into "<font color="#0000FF">2control_2variable_Compare_templat e_8.xls</font>"
template I have
created. These files then instantly populate 22 graphs changing the raw
data numbers into easy-to-see graphs of what's taking place.

When cutting/pasting the data from the Final Data page, just
copy the data from a single run and paste it into one of the 4 tabs into the
cell that says "paste here" (Cell B2)

If you are just graphing a single gear pull, use the "<font color="#0000FF">2control_2variable_Compare_templat e_8.xls</font>" template. This
template includes 4 tabs that you can paste 4 different runs on, and
then a "Compare" tab that overlays the data from all 4 runs. On
the Compare tab, Run1 &amp; Run2 are graphed in Red and Run3 &amp; Run4 are
graphed in Blue. This can be useful when you want to compare
changes you made to your car - just paste them in the corresponding pages so that
the Compare tab colors them accordingly. [see Figure 6]

<a HREF="http://ctny.audiworld.com/mark/s4/ecux/2control_2variable_compare_template_8_image.jpg">
<img SRC="http://ctny.audiworld.com/mark/s4/ecux/tn_2control_2variable_compare_template_8_image_jpg .gif" border="0" alt="2control_2variable_compare_template_8_image.j pg"></a>
<b>Figure 6 - Once the data is pasted into the template the Compare tab shows them overlaid
and colored differently to easily distinguish each. This example log shows
two pulls of the same software, thus why the results of each are near identical.</b>

<u>Multi-Gear Pulls:</u>

If you are interesting in graphing multiple gears in a row (such as at
a drag strip, or similar), you can use the "<font color="#0000FF">2control_2variable_Compare_templat e_8_timebased.xls</font>" template.

Unlike the above template that has RPM as the x-axis, this template has
Time as the x-axis. One application where I used this was when I
was graphing my Intake Air Temps at the drags. I wanted to see
how they compared with and without Aquamist active, over the course of
the entire run (through 4 gears). [see Figure 7]
Note: When using this template, do not use the grab_data macro
as that would remove datapoints during shifts (when throttle is &lt;90%).
Therefore, copy/paste data into this template directly from the CSV file.
You'll just have to look at the VehicleSpeed column to grab the data that you
want.

<a HREF="http://ctny.audiworld.com/mark/s4/ecux/2control_2variable_compare_template_8_timebased_im age.jpg">

<img SRC="http://ctny.audiworld.com/mark/s4/ecux/tn_2control_2variable_compare_template_8_timebased _image_jpg.gif" border="0" alt="2control_2variable_compare_template_8_timebas ed_image.jpg"></a>
<b>Figure 7 - In the "timebased" template, the x-axis is Time, thus you
can graph a multi-gear run continuously. The above shows two separate
continual drag-race style 1st-4th gear logs. This is the Compare tab which
overlays the two, pointing out differences. In this example, I did it once
with Aquamist off and once with it on. The resulting difference in
IntakeAirTempurature is dramatic. There is also a noted difference in
Timing. This was hard to observe in single gear pulls, but much more
obvious in a multi-gear run as heat builds up, which this template allows to be
displayed.</b>




<b>Here are all of the 22 graphs that the templates graph:</b>
<img src="http://ctny.audiworld.com/mark/s4/ecux/graphs/boost_mbar.GIF" border="0">
<img src="http://ctny.audiworld.com/mark/s4/ecux/graphs/boost_psi.GIF" border="0">
<img src="http://ctny.audiworld.com/mark/s4/ecux/graphs/maf.gif" border="0">
<img src="http://ctny.audiworld.com/mark/s4/ecux/graphs/timing.gif" border="0">
<img src="http://ctny.audiworld.com/mark/s4/ecux/graphs/iat.gif" border="0">
<img src="http://ctny.audiworld.com/mark/s4/ecux/graphs/accel.gif" border="0">
<img src="http://ctny.audiworld.com/mark/s4/ecux/graphs/accel_mph.gif" border="0">
<img src="http://ctny.audiworld.com/mark/s4/ecux/graphs/boost_freq.gif" border="0">
<img src="http://ctny.audiworld.com/mark/s4/ecux/graphs/knock.gif" border="0">
<img src="http://ctny.audiworld.com/mark/s4/ecux/graphs/timing_retard.gif" border="0">
<img src="http://ctny.audiworld.com/mark/s4/ecux/graphs/timing_individual.gif" border="0">
<img src="http://ctny.audiworld.com/mark/s4/ecux/graphs/air_fuel.gif" border="0">
<img src="http://ctny.audiworld.com/mark/s4/ecux/graphs/load.gif" border="0">
<img src="http://ctny.audiworld.com/mark/s4/ecux/graphs/load_spec.GIF" border="0">
<img src="http://ctny.audiworld.com/mark/s4/ecux/graphs/load_corr_spec.GIF" border="0">
<img src="http://ctny.audiworld.com/mark/s4/ecux/graphs/throttle.gif" border="0">
<img src="http://ctny.audiworld.com/mark/s4/ecux/graphs/speed.gif" border="0">
<img src="http://ctny.audiworld.com/mark/s4/ecux/graphs/gear.gif" border="0">
<img src="http://ctny.audiworld.com/mark/s4/ecux/graphs/f_injector_ontime.gif" border="0">
<img src="http://ctny.audiworld.com/mark/s4/ecux/graphs/f_injector_duty.gif" border="0">
<img src="http://ctny.audiworld.com/mark/s4/ecux/graphs/egt_f.GIF" border="0">
<img src="http://ctny.audiworld.com/mark/s4/ecux/graphs/egt_c.gif" border="0">
Old 01-14-2005, 08:29 AM
  #2  
Rest In Peace
 
Jeff Vader - boscoj's Avatar
 
Join Date: Feb 2001
Posts: 25,366
Likes: 0
Received 0 Likes on 0 Posts
Default

wow, hero statusings
Old 01-14-2005, 08:38 AM
  #3  
AudiWorld Expert
 
Captain Matt, I be's Avatar
 
Join Date: Oct 2001
Posts: 32,063
Likes: 0
Received 2 Likes on 2 Posts
Default you rock dude, thanks. Got ECUx for xmas and havent opened it yet.

i just got motivated!
Old 01-14-2005, 09:15 AM
  #4  
Banned
 
ModifiedA4's Avatar
 
Join Date: Mar 2000
Posts: 34,209
Likes: 0
Received 2 Likes on 2 Posts
Default

nice post mark.
Old 01-14-2005, 09:20 AM
  #5  
AudiWorld Super User
 
Imolavirus@BuehnEngineering's Avatar
 
Join Date: Mar 2002
Posts: 17,933
Likes: 0
Received 0 Likes on 0 Posts
Default

wow &lt;bowing to you&gt;
Old 01-14-2005, 09:25 AM
  #6  
New Member
 
NEPaNogaro's Avatar
 
Join Date: Apr 2000
Posts: 437
Likes: 0
Received 0 Likes on 0 Posts
Default

Thank you.
Old 01-14-2005, 09:41 AM
  #7  
AudiWorld Expert
Thread Starter
 
Mark P's Avatar
 
Join Date: Mar 2000
Location: Raleigh, NC
Posts: 29,189
Received 5 Likes on 5 Posts
Default Thanks for all the kind replies - users can feel free to ask me questions...

once you give it a shot. I may have missed something in the instructions that I take for granted doing, and thus forgot to mention, but I think it's all there.
Old 01-14-2005, 09:41 AM
  #8  
AudiWorld Expert
Thread Starter
 
Mark P's Avatar
 
Join Date: Mar 2000
Location: Raleigh, NC
Posts: 29,189
Received 5 Likes on 5 Posts
Default "Simple Version" or "Quick Reference Checklist".........

One thing I meant to add is the "Quick Reference Checklist". So, okay, you've read all of that stuff and basically understand it, now what is the quick checklist to look at when trying this stuff out? Here it is: (I'll add this to my site later)

0.) [just done once] Create a "dataprep" folder on your computer. Setup the Macro with the path to this folder including the "dataprep.csv" filename that you will be putting in this folder.

1.) Log w/ECUx utilizing template8.egp group file.
2.) Save log and then open it in ECUx and export it to CSV.
3.) Copy that CSV file to the "dataprep" directory and rename the file to "dataprep.csv".
4.) Open grab_data_template8.xls, say yes to enable macros, go to the Macros tab and click the Run Me! button. Click "No" to saving clipboard data when/if prompted.
5.) When the FinalData tab is brought up with your filtered data, copy/paste a single pull from this sheet into the 2control_2variable_Compare_template_8.xls template.
6.) Enjoy all of your nicely graphed data!

PS - Don't forget to save your nicely-graphed data with a new name so you don't overwrite the template



Or the Super Simple procedure:
1.) Log using the template8.egp group file.

Even if you don't want to use all of the Excel stuff, if you at least log using the template group file, that allows others to easily graph your data for you since you've gathered your data in an expected format.
Old 01-14-2005, 09:48 AM
  #9  
AudiWorld Expert
Thread Starter
 
Mark P's Avatar
 
Join Date: Mar 2000
Location: Raleigh, NC
Posts: 29,189
Received 5 Likes on 5 Posts
Default Also don't overlook the FATS calculator in there...

I had put it in there because it was designed for ECUx data, but then I added so that it works for VAG-COM data as well. Anyway, it interpolates the data points get an accurate elapsed time if you don't have datapoints at exactly 4200 and 6500 (which will always be the case).



*************Copy/Paste from Website linked below************


FATS Calculator

FILE: <a href="http://ctny.audiworld.com/mark/s4/ecux/fats/4200-6500_fats_time.xls">4200-6500_fats_time.xls</a>

S4 owners sometimes are interested in the time it takes their car to go from 4200 to 6500 RPMs in 3rd gear on a flat road. FATS is an acronym for "For the Advancement of The S4", and while that has broader meaning, "FATS" is most often used to refer to one's "FATS Time" as described here.

This Excel Calculator is setup to use APR's ECUx (or VAG-COM's) data output format. Simply cut and paste two groups of Timestamps &amp; RPMs (one before and after 4200, and another before and after 6500) from the ECUx output into the calculator. It will display your elapsed time using interpolation to get exactly 4200 and 6500. It is often suggested to do 2 runs in opposite directions on the same section of road and average your results.

Enjoy!


Here's a screen capture after data has been pasted into the white cells:

<img src="http://ctny.audiworld.com/mark/s4/ecux/fats/fats_calc_image.jpg"><ul><li><a href="http://ctny.audiworld.com/mark/s4/ecux/fats/">http://ctny.audiworld.com/mark/s4/ecux/fats/</a</li></ul>
Old 01-14-2005, 09:52 AM
  #10  
AudiWorld Super User
 
Hal_TT::CBP's Avatar
 
Join Date: Mar 2000
Posts: 9,779
Likes: 0
Received 0 Likes on 0 Posts
Default Nice Mark, I'm not near that pretty but the colors do beat looking at k's of cells to..

calculate or find wht you want.


Quick Reply: A "Must Read" for all APR ECU Explorer users....



All times are GMT -8. The time now is 05:52 AM.