register gallery
 

Go Back   Mazdaspeed Forums >
MAZDASPEED SECTION
>
Mazdaspeed 3/6 MZR Gen1 Forums (2006-2009)
> Mazdaspeed3/6 General Discussion

Notices


Welcome to Mazdaspeed Forums .

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

*When you join MSF as a registered user, there will be No Ads.

*Registered Members get access to the Off Topic Area of the Forum

*Registered Members have an opportunity to upgrade their accounts to VIP, which brings a host of goddies for supporting MSF such as Raffles, Additional Forum Access, More PM Storage, The ability to upload more Images and many other enhancements.

*Registered members also get access to the live chat box!
Like Tree26Likes
Closed Thread
 
Bookmark and Share LinkBack Thread Tools Search this Thread Display Modes
 Old 04-18-2012, 09:43 PM   #1
 
Enki's Avatar
 
Join Date: Nov 2008
Location: Tucson, AZ
Posts: 2,973   (View Stats)
iTrader: (2)
Rep Power: 4205
Enki has disabled reputation
Thanks: 4,085
Thanked 8,148 Times in 1,784 Posts
Groans: 103
Groaned at 21 Times in 19 Posts
(Thread Starter)
Not Ranked  0 score     
Default Enkiworks Kalibrator (Build Thread)

Currently working on writing a log parser that will consume huge random AP logs and shit out a decent MAF calibration. I'm having to learn C# in the process, so it is rather painful.

This is where you (the reader) come into play; continued harassment will result in me eventually finishing this thing, which subsequently will mean no more manual MAF calibrations will be required on your part.

Here's a screenshot of the pretty near finished UI; I will likely replace the "enki" picture with more options down the road, but a simple setup will suffice for now.



For those that give a shit, I had gotten pretty far with the script only version, but found it to be infeasible to collate and average all the data from even a small log file using only scripting. Thus, the switch to C#, which I am pretty positive will ultimately prove successful.

Feel free to use this thread to suggest features, report bugs (when I start doing betas), ask questions, or post power ballads about well hung llamas.


REQUESTED FEATURES:
Easier initial scaling for big MAF housings
Allow for all closed or open loop operation without app shitting itself in endless loops


NOW RUNNING TRIALS!

I will be taking a COUPLE of samples from people (that can/will do a manual MAFCAL themselves) whom post in this thread the following information (within CODE tags; keep the tabs in there or my lazy ass will skip you):

1. Current MAF calibration
2. Current WOT AFR targets
3. Accelerator pedal open loop transition
4. Load open loop transition
5. Rev limit
6. The log file
7. Your manually created MAF calibration (for me to compare)

Note that the log file needs at least the following columns within it or it will not work at all (extra data doesn't matter, but fewer extra columns results in better data resolution and thus, higher accuracy):
Accel. Pedal Pos. (%)
Actual AFR (AFR)
Boost (PSI)
Calculated Load (Load)
Long Term FT (%)
MAF Voltage (V)
RPM (RPM)
Short Term FT (%)
Wastegate Duty (%)

Order of these columns within the log file does not matter. Also, please have everything in one post so I can go back to it later for further testing.
Attached Images
File Type: jpg 01 2012-04-18 21.18.jpg (40.3 KB, 852 views)
__________________

http://www.mazdaspeedforums.org/forum/signaturepics/sigpic1981_1.gif

Last edited by Enki; 05-08-2012 at 07:31 PM.
Enki is offline  
The Following 106 Users Say Thank You to Enki For This Useful Post:
06Speed6 (04-19-2012), 2k4_8 (04-19-2012), 86azms3 (04-18-2012), Adam is so pro (05-09-2012), alphasaur (04-19-2012), Angr-E1 (04-20-2012), Awesomesauce (05-04-2012), AZSPEED3 (04-20-2012), backward_0 (06-09-2012), BigRedSpecial (04-19-2012), BlckMS3 (04-18-2012), BlueStreak (04-19-2012), Boosten Ya(josh) (05-04-2012), Boost_creep (04-20-2012), breakfasteatre (05-08-2012), breakfstincluded (06-17-2012), BrianB6 (04-19-2012), Broxer (04-20-2012), burn813 (08-01-2012), captain slow (04-19-2012), charlesfist (04-19-2012), Coaststarlight (04-27-2012), CosmicArkie (04-20-2012), cshunter (08-01-2012), Dano (06-17-2012), Death-From-A-Mile (04-18-2012), dereeek (04-18-2012), djuosnteisn (04-20-2012), dpolseno41 (04-18-2012), drknyte (05-05-2012), DuBz (08-01-2012), E.Tinker (04-19-2012), Easter Bunny (04-19-2012), EdgeAutosport.com (04-19-2012), Eric28243 (04-23-2012), Fobio (04-20-2012), forcedinduktion (04-18-2012), franz (04-19-2012), fywdyl (04-20-2012), G26 (04-20-2012), Harvey PU (04-21-2012), helmetface (04-19-2012), i8urgti (05-08-2012), IshiKage (04-19-2012), JacksonMS30 (04-27-2012), jack_hammer (04-23-2012), Jake_MS3 (04-19-2012), JmkC (06-17-2012), josurr (04-18-2012), jtt (04-18-2012), kgb (04-19-2012), kngeducate (04-19-2012), kunfu (04-22-2012), leon78 (04-18-2012), Lex (04-18-2012), magicka (04-20-2012), Magic_AoD (04-21-2012), MattJackson86 (04-18-2012), Meder (04-19-2012), meicalnissyen (04-26-2012), melly mel (04-19-2012), Micha (06-26-2012), Mizzle (04-20-2012), Monotonous ONE (04-19-2012), mrdouble99 (04-19-2012), mrmonk7663 (04-19-2012), MS3-a(sore)ASS-rex (04-19-2012), MS3inDC (04-26-2012), Ms3_Miami (04-20-2012), mzr0818 (04-19-2012), NCZ13 (05-07-2012), nighthawk358 (04-23-2012), nindoja (04-20-2012), Oliverms3 (04-19-2012), phate (04-19-2012), Pointless (04-19-2012), Pseud0logik (04-18-2012), Pu Manchu (04-20-2012), radioflyer (04-23-2012), RayRay (04-27-2012), Realgib3 (04-18-2012), rfinkle2 (04-19-2012), rigor (04-23-2012), ryno077 (04-22-2012), ScarMS3 (04-27-2012), shawn. (05-04-2012), SilverDemon (04-19-2012), SLOWHATCH (04-30-2012), smoogs12 (04-26-2012), SoAgg159 (04-19-2012), socks (04-20-2012), SpeedSixxx (04-19-2012), Spirry (04-21-2012), superskaterxes (04-23-2012), Takinato (06-11-2012), TexasSpeed3 (04-19-2012), themytb (04-18-2012), Todd98SE (08-28-2012), Tokay444 (04-20-2012), TWOptSL0W (04-19-2012), uncorked11 (04-21-2012), urbansurfer (07-15-2012), vdgmcool (05-14-2012), warlord (04-19-2012), xb2ms3 (04-22-2012), Zbrit00x (05-05-2012)
 Old 04-18-2012, 10:00 PM   #2
Lex
Engineered Tuning


 
Lex's Avatar
 
Join Date: Jun 2008
Location: Vancouver, Canada
Posts: 9,588   (View Stats)
iTrader: (4)
Rep Power: 8351
Lex is the leader of the worldLex is the leader of the worldLex is the leader of the worldLex is the leader of the worldLex is the leader of the worldLex is the leader of the worldLex is the leader of the worldLex is the leader of the worldLex is the leader of the worldLex is the leader of the worldLex is the leader of the world
Thanks: 4,236
Thanked 16,231 Times in 4,868 Posts
Groans: 13
Groaned at 34 Times in 28 Posts
Not Ranked  0 score     
Default

Excellent! This will be a nice little app.
__________________

We Engineer, and that's better than just tuning!



www.stratifiedauto.com
COBB AP and VersaTuner Custom Tuning. Guardian Angel Protection and Boost Control.
Lex is offline  
The Following User Says Thank You to Lex For This Useful Post:
Enki (04-18-2012)
 Old 04-18-2012, 10:37 PM   #3
 
chuckms6's Avatar
 
Join Date: Nov 2010
Location: rockledge fl
Posts: 1,376   (View Stats)
iTrader: (1)
Rep Power: 625
chuckms6 is the leader of the worldchuckms6 is the leader of the worldchuckms6 is the leader of the worldchuckms6 is the leader of the worldchuckms6 is the leader of the worldchuckms6 is the leader of the worldchuckms6 is the leader of the worldchuckms6 is the leader of the worldchuckms6 is the leader of the worldchuckms6 is the leader of the worldchuckms6 is the leader of the world
Thanks: 1,688
Thanked 1,163 Times in 541 Posts
Groans: 11
Groaned at 8 Times in 5 Posts
Not Ranked  0 score     
Default

ive been comtemplating trying to code something like this since i started visual basic class, we just havent learned how to process large amounts of data like that yet lol
__________________
DIY SRI, DIY WAIC, VCTS Mod, Gutted Stock DP, Cobb AP, SURE TIG, KMD Internals, Denso ITV22's
SURE Dreadnaught, DSS Left Rear Axle, Custom in car SSP, JBR SSP, Powered by Max Shift Knob
Megan Racing Coilovers

13.7@ 96 w/1.8 60ft (SRI, AP)
13.4@ 102 w/1.9 60ft (SRI,AP,WAIC,TIG, Internals, ITV22's)

chuckms6 is offline  
The Following 2 Users Say Thank You to chuckms6 For This Useful Post:
Enki (04-18-2012), Jh8909 (04-18-2012)
 Old 04-18-2012, 10:47 PM   #4
 
Enki's Avatar
 
Join Date: Nov 2008
Location: Tucson, AZ
Posts: 2,973   (View Stats)
iTrader: (2)
Rep Power: 4205
Enki has disabled reputation
Thanks: 4,085
Thanked 8,148 Times in 1,784 Posts
Groans: 103
Groaned at 21 Times in 19 Posts
(Thread Starter)
Not Ranked  0 score     
Default

Well in order to do it accurately (which is kind of a given) you need to go by .01 volts on the MAF scale; this means interpolating a FUCKLOAD of data if your dataset is small, or estimating (which is what generally is done on manual MAFCals).

What I was about to do in script is create a 500 row by 4 column table for the end result data...This didn't include the datasets where I take each individual .01 volt increment worth of data from the log and average it, remove outliers, classify as OL/CL, etc before dumping it into the table proper.

Basically, I gave up on the scripted portion after running through a simulated processing path in my head and figuring out that my computer would shit ram all over the place and bring a single thread to its knees trying to get through even a smallish log.

At least this way, I can use linq or at worst load the log into an (embedded) SQL backend for query rather than having to pre-sort before manipulation.

TLDR:
Old code would result in this:


Also, I am a huge nerd.
rfinkle2 and TexasSpeed3 like this.
__________________

http://www.mazdaspeedforums.org/forum/signaturepics/sigpic1981_1.gif
Enki is offline  
The Following 8 Users Say Thank You to Enki For This Useful Post:
Easter Bunny (04-19-2012), IshiKage (04-19-2012), Micha (06-26-2012), phate (04-19-2012), rfinkle2 (04-19-2012), SpeedSixxx (04-19-2012), TexasSpeed3 (04-19-2012), uncorked11 (04-21-2012)
 Old 04-18-2012, 10:54 PM   #5
 
86azms3's Avatar
 
Join Date: Feb 2009
Location: gilbert, az
Posts: 2,984   (View Stats)
iTrader: (1)
Rep Power: 1864
86azms3 is the leader of the world86azms3 is the leader of the world86azms3 is the leader of the world86azms3 is the leader of the world86azms3 is the leader of the world86azms3 is the leader of the world86azms3 is the leader of the world86azms3 is the leader of the world86azms3 is the leader of the world86azms3 is the leader of the world86azms3 is the leader of the world
Thanks: 6,852
Thanked 3,557 Times in 1,450 Posts
Groans: 237
Groaned at 70 Times in 36 Posts
Not Ranked  0 score     
Default

Sounds homo James
__________________
2009 Mazdaspeed 3:
GT3076 - Corkey tuned
Treadstone 3" MAF, HTP 3" turbo inlet, hallman pro rx bc, MSCBE, Turbo XS FMIC, CNT catted DP, CP-E HPFP,
Turbosmart Hybrid bpv, SURE TIG's + coolant bypass,
ITV24's, CP-E 75d RMM, Medefail Tranny mount,
DDM 35W 6000K HID's, SURE Counterweight,
18x8 245/40 NT-05's up front, R: 225/45 Sport Maxx TT's
390whp/400wtq
86azms3 is online now  
The Following User Says Thank You to 86azms3 For This Useful Post:
Tomas (04-26-2012)
 Old 04-18-2012, 10:57 PM   #6
 
MattJackson86's Avatar
 
Join Date: Dec 2008
Location: Los Angeles, CA
Posts: 1,304   (View Stats)
iTrader: (4)
Rep Power: 403
MattJackson86 is the leader of the worldMattJackson86 is the leader of the worldMattJackson86 is the leader of the worldMattJackson86 is the leader of the worldMattJackson86 is the leader of the worldMattJackson86 is the leader of the worldMattJackson86 is the leader of the worldMattJackson86 is the leader of the worldMattJackson86 is the leader of the worldMattJackson86 is the leader of the worldMattJackson86 is the leader of the world
Thanks: 462
Thanked 618 Times in 348 Posts
Groans: 3
Groaned at 14 Times in 9 Posts
Not Ranked  0 score     
Default

Let me know if you need any help on this. Probably don't have the time to code it, but questions or if you need a 2nd set of eyes to look it over. I was looking to work on something like this (and other auto tune stuff) with me standback software I wrote.
__________________
Cobb AP - CP-E Xcel Nano - CP-E Turbo Inlet - CP-E FMIC - CP-E Catted Downpipe - CNT Catback Exhaust - HKS SSQV BPV - James Barone 88 Trilogy - KMD CDFP Internals - CP-E Injector Seals - Grimmspeed EBCS - ITV22 at .025 - 3 Bar MAP


Torque for Mazdaspeed on Android Market! Gen2 now supported!
Mazdaspeed MAP Harness - Bitwise Motorsports http://www.bitwise-motorsports.com
MattJackson86 is offline  
The Following User Says Thank You to MattJackson86 For This Useful Post:
Enki (04-18-2012)
 Old 04-18-2012, 11:00 PM   #7
 
Enki's Avatar
 
Join Date: Nov 2008
Location: Tucson, AZ
Posts: 2,973   (View Stats)
iTrader: (2)
Rep Power: 4205
Enki has disabled reputation
Thanks: 4,085
Thanked 8,148 Times in 1,784 Posts
Groans: 103
Groaned at 21 Times in 19 Posts
(Thread Starter)
Not Ranked  0 score     
Default

Originally Posted by 86azms3 View Post
Sounds homo James
Eat a bowl of dicks Corey

Originally Posted by MattJackson86 View Post
Let me know if you need any help on this. Probably don't have the time to code it, but questions or if you need a 2nd set of eyes to look it over. I was looking to work on something like this (and other auto tune stuff) with me standback software I wrote.
I'm learning as I go. I can read the languages just fine, it's getting my feet wet getting started on writing that's a pain in the ass. Already almost done with regex validation for the MAF table and AFR inputs:

MAF Values ([0-9]+\.[0-9][0-9][\t]){128,}?[0-9]+[\.][0-9][0-9]
WOT AFR Values ([0-9][0-9]\.[0-9][0-9][0-9][\t]){13,}?[0-9][0-9][\.][0-9][0-9][0-9]
__________________

http://www.mazdaspeedforums.org/forum/signaturepics/sigpic1981_1.gif

Last edited by Enki; 04-18-2012 at 11:01 PM. Reason: MSF Database - Automerged Doublepost
Enki is offline  
The Following 4 Users Say Thank You to Enki For This Useful Post:
Easter Bunny (04-19-2012), phate (04-19-2012), rigor (04-23-2012), TexasSpeed3 (04-19-2012)
 Old 04-18-2012, 11:04 PM   #8
 
MattJackson86's Avatar
 
Join Date: Dec 2008
Location: Los Angeles, CA
Posts: 1,304   (View Stats)
iTrader: (4)
Rep Power: 403
MattJackson86 is the leader of the worldMattJackson86 is the leader of the worldMattJackson86 is the leader of the worldMattJackson86 is the leader of the worldMattJackson86 is the leader of the worldMattJackson86 is the leader of the worldMattJackson86 is the leader of the worldMattJackson86 is the leader of the worldMattJackson86 is the leader of the worldMattJackson86 is the leader of the worldMattJackson86 is the leader of the world
Thanks: 462
Thanked 618 Times in 348 Posts
Groans: 3
Groaned at 14 Times in 9 Posts
Not Ranked  0 score     
Default

This helps me with RegEx: Regex Tester Online
__________________
Cobb AP - CP-E Xcel Nano - CP-E Turbo Inlet - CP-E FMIC - CP-E Catted Downpipe - CNT Catback Exhaust - HKS SSQV BPV - James Barone 88 Trilogy - KMD CDFP Internals - CP-E Injector Seals - Grimmspeed EBCS - ITV22 at .025 - 3 Bar MAP


Torque for Mazdaspeed on Android Market! Gen2 now supported!
Mazdaspeed MAP Harness - Bitwise Motorsports http://www.bitwise-motorsports.com
MattJackson86 is offline  
The Following User Says Thank You to MattJackson86 For This Useful Post:
Enki (04-18-2012)
 Old 04-18-2012, 11:05 PM   #9
 
Enki's Avatar
 
Join Date: Nov 2008
Location: Tucson, AZ
Posts: 2,973   (View Stats)
iTrader: (2)
Rep Power: 4205
Enki has disabled reputation
Thanks: 4,085
Thanked 8,148 Times in 1,784 Posts
Groans: 103
Groaned at 21 Times in 19 Posts
(Thread Starter)
Not Ranked  0 score     
Default

Already checked my regex; tis good.
__________________

http://www.mazdaspeedforums.org/forum/signaturepics/sigpic1981_1.gif
Enki is offline  
The Following User Says Thank You to Enki For This Useful Post:
phate (04-19-2012)
 Old 04-18-2012, 11:38 PM   #10
indiscretion
 
leon78's Avatar
 
Join Date: Feb 2012
Location: Quantico, VA
Posts: 1,906   (View Stats)
iTrader: (9)
Rep Power: 1169
leon78 is the leader of the worldleon78 is the leader of the worldleon78 is the leader of the worldleon78 is the leader of the worldleon78 is the leader of the worldleon78 is the leader of the worldleon78 is the leader of the worldleon78 is the leader of the worldleon78 is the leader of the worldleon78 is the leader of the worldleon78 is the leader of the world
Thanks: 1,489
Thanked 2,270 Times in 883 Posts
Groans: 3
Groaned at 22 Times in 15 Posts
Not Ranked  0 score     
Default

__________________
2013 Scion FR-S (Whiteout)
White 17x9 Rota Grids w/ 245's_Cusco OCC_ Kartboy Crank Pulley_Kartboy TMM insert_Koni Yellows_RCE Springs_K&N Drop-In_Eibach FSB_J2 Catless FP.
leon78 is online now  
The Following User Says Thank You to leon78 For This Useful Post:
Enki (04-18-2012)
 Old 04-19-2012, 03:27 AM   #11
Speeeeeed

 
06Speed6's Avatar
 
Join Date: Mar 2008
Location: Corpus Christi, Tx
Posts: 5,729   (View Stats)
iTrader: (19)
Rep Power: 6707
06Speed6 is the leader of the world06Speed6 is the leader of the world06Speed6 is the leader of the world06Speed6 is the leader of the world06Speed6 is the leader of the world06Speed6 is the leader of the world06Speed6 is the leader of the world06Speed6 is the leader of the world06Speed6 is the leader of the world06Speed6 is the leader of the world06Speed6 is the leader of the world
Thanks: 5,342
Thanked 13,175 Times in 2,355 Posts
Groans: 37
Groaned at 16 Times in 14 Posts
Not Ranked  0 score     
Default

This is going to be so nice, the one thing that I am starting to really hate is doing maf cals, its never perfect and it takes hours to even get it close.
__________________
2006 Mazdaspeed 6

P&P, flow benched, head with welded EGR and +1mm inconel exhaust valves (260/200cfm @ .500"), Web Cams, Custom crankcase breather with integrated air/oil seperator, Custom 3/4" ID pan vac system, Blow through maf, Port matched IM, CNC AN-12 ORB block oil adapter, CP-e 88mm Stage 2 pistons, Pauter 22.5mm rods, ARP main, head, and crank studs, CP-e injector seals, Injector stud kit, Cometec 88mm 5 layer HG, Deatschworks flow tested matched injectors, DCR VVT, PTP 2250psi RV, Corksport front sway, Whiteline rear sway, AWR front/rear sway links, TT FMM, AWR 70d DMM, SU RMM, TT FRDM, CP-e RRDM, Autotech CDFP, DW65c ITFP, Custom L/A IC with a dual pass 20x25x1.5 heat exchanger, Dual Cobra I/C pumps, 3" ID 700hp I/A intercooler, ATP catless DP, Corksport catback, Corksport exhaust hangers, chrome plated genpu valve cover, chrome plated timing cover, CP-e whale penis, CP-e sri, Spin on oil filter, Fluidyne dual pass AN-12 oil cooler, Hayden oil cooler fan controller, Dual 4.7" SPAL oil cooler fans, Canton Racing 22-480 oil tstat, Custom BMRS AN-12 oil lines, SPC ball joints, 55w/35w headlights and independently switched fogs on custom waterproof harnesses, PIAA Super Plasma driving and interior lights, rear diff cutout switch, 3M clear front cover, Volk 17x7.5 wheels, Custom tcase bearing cap upgrade, 2007 MS6 p/s pump, GS EBC 3 port, Redline SS hood lift, Versatune, Defi gauges, Innovate MTX-L WB gauge, triple center gauge pod, Block8head dual vent pod, Redline shift boot & ebrake cover & arm rest cover, Mazdaspeed CF ebrake handle, Dashawk, ACL rod bearings, King main bearings, Cosworth BSD, Custom windage tray, Holset HX35w, Creative Performance T3 EWG manifold, HKS VTA BOV, A1 H11 head studs, Hylomar HG sealant


06Speed6 is offline  
The Following 2 Users Say Thank You to 06Speed6 For This Useful Post:
AZSPEED3 (04-20-2012), Enki (04-19-2012)
 Old 04-19-2012, 04:52 AM   #12
DoucheMongerTool
 
BigRedSpecial's Avatar
 
Join Date: Sep 2011
Location: St. Johns, Canada
Posts: 649   (View Stats)
iTrader: (1)
Rep Power: 388
BigRedSpecial is the leader of the worldBigRedSpecial is the leader of the worldBigRedSpecial is the leader of the worldBigRedSpecial is the leader of the worldBigRedSpecial is the leader of the worldBigRedSpecial is the leader of the worldBigRedSpecial is the leader of the worldBigRedSpecial is the leader of the worldBigRedSpecial is the leader of the worldBigRedSpecial is the leader of the worldBigRedSpecial is the leader of the world
Thanks: 879
Thanked 724 Times in 287 Posts
Groans: 43
Groaned at 2 Times in 2 Posts
Not Ranked  0 score     
Default

I had no idea something like this was even possible... Now what excuse will I have to randomly go out and burn half a tank of gas?
__________________
2008.5 CWP: Corksport SRI/TIP//AP//ETS TMIC//Autotechs//NGK LTR7s//TIGs//EGR delete//JBR stg2 OCC//JBR 88a RMM/70a TMM/PMM//JBR SSP/SSB/knob//Eibach Pro Kit//Koni Yellows//JBR RSB//Mazdaspeed Camber Links//RX8's/NT05s//MZ3 GT 17s/Blizzak WS60s//Dashdaq

Awaiting Install: ATP GTX 3071//Rapebuilt Manifold//JBR WP//TurboXS DP/RP//DO Stage 2

Needed: Driver mod

BigRedSpecial is offline  
The Following 3 Users Say Thank You to BigRedSpecial For This Useful Post:
Broxer (04-20-2012), Enki (04-19-2012), Fatguy729 (04-22-2012)
 Old 04-19-2012, 05:01 AM   #13
 
MS3-a(sore)ASS-rex's Avatar
 
Join Date: Aug 2009
Location: Trevose, PA
Posts: 6,257   (View Stats)
iTrader: (1)
Rep Power: 6716
MS3-a(sore)ASS-rex is the leader of the worldMS3-a(sore)ASS-rex is the leader of the worldMS3-a(sore)ASS-rex is the leader of the worldMS3-a(sore)ASS-rex is the leader of the worldMS3-a(sore)ASS-rex is the leader of the worldMS3-a(sore)ASS-rex is the leader of the worldMS3-a(sore)ASS-rex is the leader of the worldMS3-a(sore)ASS-rex is the leader of the worldMS3-a(sore)ASS-rex is the leader of the worldMS3-a(sore)ASS-rex is the leader of the worldMS3-a(sore)ASS-rex is the leader of the world
Thanks: 17,264
Thanked 13,194 Times in 3,630 Posts
Groans: 193
Groaned at 75 Times in 63 Posts
Not Ranked  0 score     
Default

I think you should change the picture with "ENKI" in it to o e of T-Pain...he is the king of autotune after all.

In all seriousness though, this will be fucking amazing if you can get it to work.
__________________
MS3 has officially been retired to daily duty

Project 1G is officially under way; 1991 Eagle Talon TSi.

Stock Turbo & Stock Motor Grand Champion of the World!

501WHP & 569WTQ (PERM Tuned, 93 OCTANE PUMP GAS K04 W/N2O!!)


NATOR PA
MS3-a(sore)ASS-rex is offline  
The Following 3 Users Say Thank You to MS3-a(sore)ASS-rex For This Useful Post:
alphasaur (04-19-2012), Broxer (04-20-2012), Enki (04-19-2012)
 Old 04-19-2012, 09:31 AM   #14
 
Enki's Avatar
 
Join Date: Nov 2008
Location: Tucson, AZ
Posts: 2,973   (View Stats)
iTrader: (2)
Rep Power: 4205
Enki has disabled reputation
Thanks: 4,085
Thanked 8,148 Times in 1,784 Posts
Groans: 103
Groaned at 21 Times in 19 Posts
(Thread Starter)
Not Ranked  0 score     
Default

Originally Posted by 06Speed6 View Post
This is going to be so nice, the one thing that I am starting to really hate is doing maf cals, its never perfect and it takes hours to even get it close.
I personally don't think it's *THAT* bad, but I'd rather drive around running errands for up to an hour and drop the whole fat log into an app like this and have it shit out a pretty good MAFCAL.

Originally Posted by BigRedSpecial View Post
I had no idea something like this was even possible... Now what excuse will I have to randomly go out and burn half a tank of gas?
Anything is possible if you put your mind to it. Also, half a tank will probably be too big of a log (unless you're on full e85, in which case the fuel gauge will drop quickly). What kind of space does the AP have on it for logs, anyways?

Originally Posted by MS3-a(sore)ASS-rex View Post
I think you should change the picture with "ENKI" in it to o e of T-Pain...he is the king of autotune after all.

In all seriousness though, this will be fucking amazing if you can get it to work.
That picture is already gone; I found something useful to put there after all. I really hate wasted space in my user interfaces, so I'll look for anything to stuff into open space or sometimes even completely re-design the UI to make it more compact and user friendly.



As for it working, it will; at some point anyways. My biggest hurdle right now is knowledge, but I'm already up to 200 lines of UI validation and content conformance (making sure people are passing the right data to the app). I probably need to make the regex a bit more strict, and plan ahead for larger MAF housings though.

As a side note, I already plan on adding wastegate integration in the future (making hitting those boost targets super easy); that will probably only be for WOT though, as running the entire table will be a pain in the ass.
TexasSpeed3 likes this.
__________________

http://www.mazdaspeedforums.org/forum/signaturepics/sigpic1981_1.gif
Enki is offline  
The Following 6 Users Say Thank You to Enki For This Useful Post:
06Speed6 (04-19-2012), AZSPEED3 (04-20-2012), phate (04-19-2012), rfinkle2 (04-19-2012), rigor (04-23-2012), TexasSpeed3 (04-19-2012)
 Old 04-19-2012, 09:46 AM   #15
DoucheMongerTool
 
BigRedSpecial's Avatar
 
Join Date: Sep 2011
Location: St. Johns, Canada
Posts: 649   (View Stats)
iTrader: (1)
Rep Power: 388
BigRedSpecial is the leader of the worldBigRedSpecial is the leader of the worldBigRedSpecial is the leader of the worldBigRedSpecial is the leader of the worldBigRedSpecial is the leader of the worldBigRedSpecial is the leader of the worldBigRedSpecial is the leader of the worldBigRedSpecial is the leader of the worldBigRedSpecial is the leader of the worldBigRedSpecial is the leader of the worldBigRedSpecial is the leader of the world
Thanks: 879
Thanked 724 Times in 287 Posts
Groans: 43
Groaned at 2 Times in 2 Posts
Not Ranked  0 score     
Default

Originally Posted by Enki View Post
Anything is possible if you put your mind to it. Also, half a tank will probably be too big of a log (unless you're on full e85, in which case the fuel gauge will drop quickly). What kind of space does the AP have on it for logs, anyways?
lol... Not what I meant at all... I mean, if I can use logs from daily driving to calibrate my maf, what excuse will I use to leave the GF home at night to go out and just drive around for two hours?
__________________
2008.5 CWP: Corksport SRI/TIP//AP//ETS TMIC//Autotechs//NGK LTR7s//TIGs//EGR delete//JBR stg2 OCC//JBR 88a RMM/70a TMM/PMM//JBR SSP/SSB/knob//Eibach Pro Kit//Koni Yellows//JBR RSB//Mazdaspeed Camber Links//RX8's/NT05s//MZ3 GT 17s/Blizzak WS60s//Dashdaq

Awaiting Install: ATP GTX 3071//Rapebuilt Manifold//JBR WP//TurboXS DP/RP//DO Stage 2

Needed: Driver mod

BigRedSpecial is offline  
The Following User Says Thank You to BigRedSpecial For This Useful Post:
Enki (04-19-2012)
 Old 04-19-2012, 10:05 AM   #16
 
Enki's Avatar
 
Join Date: Nov 2008
Location: Tucson, AZ
Posts: 2,973   (View Stats)
iTrader: (2)
Rep Power: 4205
Enki has disabled reputation
Thanks: 4,085
Thanked 8,148 Times in 1,784 Posts
Groans: 103
Groaned at 21 Times in 19 Posts
(Thread Starter)
Not Ranked  0 score     
Default

You could still tell her you're going out to get logs for tuning/calibrating. That part still hasn't changed.

__________________

http://www.mazdaspeedforums.org/forum/signaturepics/sigpic1981_1.gif
Enki is offline  
The Following User Says Thank You to Enki For This Useful Post:
BigRedSpecial (04-19-2012)
 Old 04-19-2012, 10:11 AM   #17
Lex
Engineered Tuning


 
Lex's Avatar
 
Join Date: Jun 2008
Location: Vancouver, Canada
Posts: 9,588   (View Stats)
iTrader: (4)
Rep Power: 8351
Lex is the leader of the worldLex is the leader of the worldLex is the leader of the worldLex is the leader of the worldLex is the leader of the worldLex is the leader of the worldLex is the leader of the worldLex is the leader of the worldLex is the leader of the worldLex is the leader of the worldLex is the leader of the world
Thanks: 4,236
Thanked 16,231 Times in 4,868 Posts
Groans: 13
Groaned at 34 Times in 28 Posts
Not Ranked  0 score     
Default

Be careful with delays if you're using STFTs or even AFRs since during throttle transitions these can really vary.

I would look for steady state throttle, then look at LTFTs, and then STFTs as well. I would average STFTs (just like the car does) in broken up regions of the MAF curve that is more granular than what the current LTFTs do.
__________________

We Engineer, and that's better than just tuning!



www.stratifiedauto.com
COBB AP and VersaTuner Custom Tuning. Guardian Angel Protection and Boost Control.

Last edited by Lex; 04-19-2012 at 10:24 AM.
Lex is offline  
The Following 6 Users Say Thank You to Lex For This Useful Post:
06Speed6 (04-19-2012), Bucker (04-19-2012), charlesfist (04-19-2012), Enki (04-19-2012), phate (04-19-2012), TexasSpeed3 (04-19-2012)
 Old 04-19-2012, 11:36 AM   #18
 
Enki's Avatar
 
Join Date: Nov 2008
Location: Tucson, AZ
Posts: 2,973   (View Stats)
iTrader: (2)
Rep Power: 4205
Enki has disabled reputation
Thanks: 4,085
Thanked 8,148 Times in 1,784 Posts
Groans: 103
Groaned at 21 Times in 19 Posts
(Thread Starter)
Not Ranked  0 score     
Default

Well the plan is to average all but outlier data (stuff that exceeds a certain threshold of difference from the meat of the data) and use 100% of the LTFT but only 50% of STFT data (for now; thanks phate for this idea!). I figure, if you want it more accurate, you can simply pull another log and run it back through again.

The whole averaging thing means the larger and more diverse the raw log file is, the more accurate this will become; doing the short little logs isn't going to cut it as there won't be enough intelligence in the code to discern situational changes like throttle lift or roll on, etc.

BTW, still making progress; currently loading logs into datatables for parsing!
__________________

http://www.mazdaspeedforums.org/forum/signaturepics/sigpic1981_1.gif
Enki is offline  
The Following 15 Users Say Thank You to Enki For This Useful Post:
06Speed6 (04-19-2012), Awesomesauce (05-04-2012), AZSPEED3 (04-20-2012), BigRedSpecial (04-19-2012), CosmicArkie (04-20-2012), dereeek (04-21-2012), Easter Bunny (04-19-2012), jack_hammer (04-26-2012), MS3-a(sore)ASS-rex (04-19-2012), phate (04-19-2012), Realgib3 (04-19-2012), rfinkle2 (04-19-2012), rigor (04-23-2012), Spirry (04-21-2012), TexasSpeed3 (04-19-2012)
 Old 04-19-2012, 11:46 AM   #19
 
rfinkle2's Avatar
 
Join Date: Nov 2010
Location: Mullica Hill, NJ 08062
Posts: 12,545   (View Stats)
iTrader: (12)
Rep Power: 11895
rfinkle2 is the leader of the worldrfinkle2 is the leader of the worldrfinkle2 is the leader of the worldrfinkle2 is the leader of the worldrfinkle2 is the leader of the worldrfinkle2 is the leader of the worldrfinkle2 is the leader of the worldrfinkle2 is the leader of the worldrfinkle2 is the leader of the worldrfinkle2 is the leader of the worldrfinkle2 is the leader of the world
Thanks: 42,819
Thanked 23,326 Times in 8,154 Posts
Groans: 235
Groaned at 249 Times in 162 Posts
Not Ranked  0 score     
Default

Wow Enki. To learn C++ just to bring this out is a feat all in itself. Thanks very much for this.

Arguably the most important part of the tune is being addressed with much less chance of error.

This is something that I will definitely use.

Thanks very much. Lots of effort.
__________________
CPE ATMOSPHERE KIT / (GTX3071 w/ .82 hotside A/R)CPE HPFP CPE RMMCPE FMICCPE TOW PLATE CPE TRITON CBE HTP 3" TIP HTP BATTERY RELOCATECOBB APGRIMMSPEED 3 PORT BCSCOOLING MIST / DEVILS OWN METHANOL INJECTIONDEFI Boost gauge TWM FULL REPLACMENT TWM M1 ABRAMSJBR SSP JBR RSB JBR TIG H&R COILOVERSJUMPING JACKSON 3 BAR MAP HARNESSSTOPTECH STAINLESS LINESAKEBONO EURPO 915aTANABE STRUT BRACENEXTMOD M'z KIT CORKSPORT UNDERHOOD LED KITGRAM LIGHTS 57 DRTOYO PROXES PLUS
rfinkle2 is online now  
The Following 3 Users Say Thank You to rfinkle2 For This Useful Post:
Enki (04-19-2012), kgb (04-19-2012), TexasSpeed3 (04-19-2012)
 Old 04-19-2012, 11:50 AM   #20
Eth Fiend
 
phate's Avatar
 
Join Date: May 2010
Location: Murhpysboro, Illinois
Posts: 4,250   (View Stats)
iTrader: (5)
Rep Power: 6792
phate has disabled reputation
Thanks: 10,658
Thanked 13,265 Times in 3,586 Posts
Groans: 4
Groaned at 13 Times in 10 Posts
Not Ranked  0 score     
Default

Subbed. The CL/OL transition range is always the trickiest part. You might want to incorporate some limit as to how much change between adjacent cells can occur. [I believe the derivative of the maf curve is almost linear, so you might just be able to assume this and limit it with a single value.]

IF someone has a leak, you get very bumpy maf curves if you tune around it. That should NOT be done, and the curve should always stay pretty dang smooth. If the calculated correction in one area falls outside of the norm, red flags and whistles should go off, because their setup needs inspected.

I foresee this tool being used (unknowingly) by folks to tune around things that should not be tuned around.

Edit: start praying to the gods of internal combustion for automatically calibrating a maf curve while spraying meth.
rfinkle2 and TexasSpeed3 like this.
__________________
-06 MS6 - Tuning the high compression forged mill
-Corn fed 07 MS3 - Sold
phate is online now  
The Following 10 Users Say Thank You to phate For This Useful Post:
06Speed6 (04-19-2012), Broxer (04-20-2012), Bucker (04-19-2012), CosmicArkie (04-20-2012), Enki (04-19-2012), MS3-a(sore)ASS-rex (04-19-2012), rfinkle2 (04-19-2012), SLOWHATCH (04-30-2012), TexasSpeed3 (04-19-2012), uncorked11 (04-21-2012)
 Old 04-19-2012, 11:52 AM   #21
 
Jake_MS3's Avatar
 
Join Date: Dec 2009
Location: Flagler Beach, Florida
Posts: 836   (View Stats)
iTrader: (3)
Rep Power: 1141
Jake_MS3 is the leader of the worldJake_MS3 is the leader of the worldJake_MS3 is the leader of the worldJake_MS3 is the leader of the worldJake_MS3 is the leader of the worldJake_MS3 is the leader of the worldJake_MS3 is the leader of the worldJake_MS3 is the leader of the worldJake_MS3 is the leader of the worldJake_MS3 is the leader of the worldJake_MS3 is the leader of the world
Thanks: 6,655
Thanked 2,162 Times in 341 Posts
Groans: 5
Groaned at 5 Times in 4 Posts
Not Ranked  0 score     
Default

Subbed for future reference. Thanks for all the hard work and time we all know you're spending!
__________________
2009 Mazdaspeed 3

/// COBB AccessPORT Stage2 /// COBB Tuning SF Intake /// Ultimate Racing Test Pipe /// Autotech HPFP Internals /// Turbosmart Dual-Port BPV /// Denso ITV22's /// Corksport Boost Tubes /// Corksport BPV Return Hose /// CP-e RMM 75D /// Redline 75w90 /// DDM Tuning 6K Lows, 3K Fogs /// Prosport Boost Gauge /// RPM Vent Pod ///
Jake_MS3 is online now  
The Following 2 Users Say Thank You to Jake_MS3 For This Useful Post:
Don06speed6 (04-20-2012), Enki (04-19-2012)
 Old 04-19-2012, 12:51 PM   #22
 
2k4_8's Avatar
 
Join Date: Mar 2011
Location: Idaho Falls, ID
Posts: 531   (View Stats)
iTrader: (0)
Rep Power: 206
2k4_8 is the leader of the world2k4_8 is the leader of the world2k4_8 is the leader of the world2k4_8 is the leader of the world2k4_8 is the leader of the world2k4_8 is the leader of the world2k4_8 is the leader of the world2k4_8 is the leader of the world2k4_8 is the leader of the world2k4_8 is the leader of the world2k4_8 is the leader of the world
Thanks: 500
Thanked 342 Times in 191 Posts
Groans: 53
Groaned at 18 Times in 6 Posts
Not Ranked  0 score     
Default

Wow,bthis will sure be nice! Another humble thanks!
__________________
COBB AP, JBR RMM, CS SRI/TIP, AT HPFP INTERNALS, JBR RSB, SWIFT SPRINGS, CS CAMBER ARMS
2k4_8 is offline  
The Following User Says Thank You to 2k4_8 For This Useful Post:
Enki (04-19-2012)
 Old 04-19-2012, 01:12 PM   #23
 
Enki's Avatar
 
Join Date: Nov 2008
Location: Tucson, AZ
Posts: 2,973   (View Stats)
iTrader: (2)
Rep Power: 4205
Enki has disabled reputation
Thanks: 4,085
Thanked 8,148 Times in 1,784 Posts
Groans: 103
Groaned at 21 Times in 19 Posts
(Thread Starter)
Not Ranked  0 score     
Default

Originally Posted by phate View Post
Subbed. The CL/OL transition range is always the trickiest part. You might want to incorporate some limit as to how much change between adjacent cells can occur. [I believe the derivative of the maf curve is almost linear, so you might just be able to assume this and limit it with a single value.]

IF someone has a leak, you get very bumpy maf curves if you tune around it. That should NOT be done, and the curve should always stay pretty dang smooth. If the calculated correction in one area falls outside of the norm, red flags and whistles should go off, because their setup needs inspected.

I foresee this tool being used (unknowingly) by folks to tune around things that should not be tuned around.

Edit: start praying to the gods of internal combustion for automatically calibrating a maf curve while spraying meth.
I'm making this more for the pro-tuners (whom I assume will drive the feature-set forward), and the noobies (whom will be reading/accepting a big fat list of caveats before allowed to even obtain this).

For now, final determination of acceptability will be on the end user; run at your own risk sort of thing. Ultimately, it shouldn't be too hard to leave calibration A as default and drop the apps output into B, and flip back and forth to determine if you want to use it or not.

Your input has been taken into advisement and will be considered (if I can figure out a nice, safe way to implement it) for inclusion in a later version.

Thanks for the input Phate!
__________________

http://www.mazdaspeedforums.org/forum/signaturepics/sigpic1981_1.gif
Enki is offline  
The Following 2 Users Say Thank You to Enki For This Useful Post:
phate (04-19-2012), TexasSpeed3 (04-19-2012)
 Old 04-19-2012, 01:30 PM   #24
 
Monotonous ONE's Avatar
 
Join Date: May 2010
Location: West Palm Beach, FL
Posts: 3,205   (View Stats)
iTrader: (8)
Rep Power: 3813
Monotonous ONE is the leader of the worldMonotonous ONE is the leader of the worldMonotonous ONE is the leader of the worldMonotonous ONE is the leader of the worldMonotonous ONE is the leader of the worldMonotonous ONE is the leader of the worldMonotonous ONE is the leader of the worldMonotonous ONE is the leader of the worldMonotonous ONE is the leader of the worldMonotonous ONE is the leader of the worldMonotonous ONE is the leader of the world
Thanks: 6,073
Thanked 7,459 Times in 1,911 Posts
Groans: 711
Groaned at 76 Times in 57 Posts
Not Ranked  0 score     
Default

i want to suck your cock
Monotonous ONE is online now  
The Following 3 Users Say Thank You to Monotonous ONE For This Useful Post:
Enki (04-19-2012), phate (04-19-2012), ryno077 (04-22-2012)
 Old 04-19-2012, 01:42 PM   #25
 
silvapain's Avatar
 
Join Date: May 2009
Location: Kankakee, IL
Posts: 5,599   (View Stats)
iTrader: (1)
Rep Power: 7897
silvapain is the leader of the worldsilvapain is the leader of the worldsilvapain is the leader of the worldsilvapain is the leader of the worldsilvapain is the leader of the worldsilvapain is the leader of the worldsilvapain is the leader of the worldsilvapain is the leader of the worldsilvapain is the leader of the worldsilvapain is the leader of the worldsilvapain is the leader of the world
Thanks: 9,583
Thanked 15,288 Times in 4,120 Posts
Groans: 121
Groaned at 38 Times in 34 Posts
Not Ranked  0 score     
Default

Originally Posted by phate View Post
Subbed. The CL/OL transition range is always the trickiest part. You might want to incorporate some limit as to how much change between adjacent cells can occur. [I believe the derivative of the maf curve is almost linear, so you might just be able to assume this and limit it with a single value.]

IF someone has a leak, you get very bumpy maf curves if you tune around it. That should NOT be done, and the curve should always stay pretty dang smooth. If the calculated correction in one area falls outside of the norm, red flags and whistles should go off, because their setup needs inspected.

I foresee this tool being used (unknowingly) by folks to tune around things that should not be tuned around.

Edit: start praying to the gods of internal combustion for automatically calibrating a maf curve while spraying meth.
The 2nd derivative of the MAF curve is linear. I checked it out a while ago using numerical analysis methods.


I tried out a mathematically ideal MAF curve once. Didn't work too well.


Tapadatass
rfinkle2 likes this.
__________________
ATP GTX3071 IWG . 10.5:1 pistons . K1 Rods . Balance Shaft Delete . COBB AP . eBay Special Catless DP . Mazdaspeed Accessory CBE . OCC . Autolite XP5364 Spark Plugs . TRZ TMM . TRZ RMM . MDM SSP . JBR Shifter Bushings . JBR EGR Delete . KW V1 Coilovers . SPC Rear Camber Arms . EBC Yellowstuff Pads . Autotech HPFP internals . 3-Bar MAP Sensor . N2MB WOT Box . ACT 6-Puck Sprung Clutch w/ Streetlite Flywheel . Konig Milligrams 18x8.5 et45 with 245/40's . GrimmSpeed EBCS . Self-PnP IM with VTCS removed . TWM full replacement shifter with 3" extension . TS BPV SU Edition . CX Racing FMIC . HTP 3.5" Intake . Lots of ricer mods .

Beans Above the Frank Build http://www.mazdaspeedforums.org/forum/f541/beans-above-frank-build-115919/
silvapain is offline  
The Following 6 Users Say Thank You to silvapain For This Useful Post:
Enki (04-19-2012), MS3-a(sore)ASS-rex (04-19-2012), phate (04-19-2012), rfinkle2 (04-19-2012), Spirry (04-21-2012), TexasSpeed3 (04-19-2012)
 Old 04-19-2012, 01:44 PM   #26
 
Enki's Avatar
 
Join Date: Nov 2008
Location: Tucson, AZ
Posts: 2,973   (View Stats)
iTrader: (2)
Rep Power: 4205
Enki has disabled reputation
Thanks: 4,085
Thanked 8,148 Times in 1,784 Posts
Groans: 103
Groaned at 21 Times in 19 Posts
(Thread Starter)
Not Ranked  0 score     
Default

Originally Posted by Monotonous ONE View Post
i want to suck your cock
Well shit, I guess I HAVE to finish it now (preferably while you finish me! )
__________________

http://www.mazdaspeedforums.org/forum/signaturepics/sigpic1981_1.gif
Enki is offline  
The Following 3 Users Say Thank You to Enki For This Useful Post:
Monotonous ONE (04-19-2012), MS3-a(sore)ASS-rex (04-19-2012), TexasSpeed3 (04-19-2012)
 Old 04-19-2012, 01:45 PM   #27
 
mrdouble99's Avatar
 
Join Date: May 2011
Location: Montréal
Posts: 208   (View Stats)
iTrader: (0)
Rep Power: 80
mrdouble99 is the leader of the worldmrdouble99 is the leader of the worldmrdouble99 is the leader of the worldmrdouble99 is the leader of the worldmrdouble99 is the leader of the worldmrdouble99 is the leader of the worldmrdouble99 is the leader of the worldmrdouble99 is the leader of the worldmrdouble99 is the leader of the worldmrdouble99 is the leader of the worldmrdouble99 is the leader of the world
Thanks: 65
Thanked 107 Times in 65 Posts
Groans: 0
Groaned at 4 Times in 2 Posts
Not Ranked  0 score     
Default

Totally awesome
__________________
Mazdaspeed3
- Cobb AccesPort - Cobb SRI - 259whp@280wtq - 12.737@108.51mph
- H&R spring - SPC camber kit - Team Dynamic Pro Race 1.2 18X8 et50
mrdouble99 is offline  
The Following User Says Thank You to mrdouble99 For This Useful Post:
Enki (04-19-2012)
 Old 04-19-2012, 01:45 PM   #28
 
Enki's Avatar
 
Join Date: Nov 2008
Location: Tucson, AZ
Posts: 2,973   (View Stats)
iTrader: (2)
Rep Power: 4205
Enki has disabled reputation
Thanks: 4,085
Thanked 8,148 Times in 1,784 Posts
Groans: 103
Groaned at 21 Times in 19 Posts
(Thread Starter)
Not Ranked  0 score     
Default

Originally Posted by silvapain View Post
The 2nd derivative of the MAF curve is linear. I checked it out a while ago using numerical analysis methods.
Care to elaborate? Last math class I had in high school the final project was to balance a checkbook.
__________________

http://www.mazdaspeedforums.org/forum/signaturepics/sigpic1981_1.gif
Enki is offline  
 Old 04-19-2012, 02:04 PM   #29
Eth Fiend
 
phate's Avatar
 
Join Date: May 2010
Location: Murhpysboro, Illinois
Posts: 4,250   (View Stats)
iTrader: (5)
Rep Power: 6792
phate has disabled reputation
Thanks: 10,658
Thanked 13,265 Times in 3,586 Posts
Groans: 4
Groaned at 13 Times in 10 Posts
Not Ranked  0 score     
Default

Originally Posted by silvapain View Post
The 2nd derivative of the MAF curve is linear. I checked it out a while ago using numerical analysis methods.


I tried out a mathematically ideal MAF curve once. Didn't work too well.


Tapadatass
Ah, yeah. We talked about that at one point.
__________________
-06 MS6 - Tuning the high compression forged mill
-Corn fed 07 MS3 - Sold
phate is online now  
The Following User Says Thank You to phate For This Useful Post:
Enki (04-19-2012)
 Old 04-19-2012, 02:35 PM   #30
 
silvapain's Avatar
 
Join Date: May 2009
Location: Kankakee, IL
Posts: 5,599   (View Stats)
iTrader: (1)
Rep Power: 7897
silvapain is the leader of the worldsilvapain is the leader of the worldsilvapain is the leader of the worldsilvapain is the leader of the worldsilvapain is the leader of the worldsilvapain is the leader of the worldsilvapain is the leader of the worldsilvapain is the leader of the worldsilvapain is the leader of the worldsilvapain is the leader of the worldsilvapain is the leader of the world
Thanks: 9,583
Thanked 15,288 Times in 4,120 Posts
Groans: 121
Groaned at 38 Times in 34 Posts
Not Ranked  0 score     
Default

Originally Posted by Enki View Post
Care to elaborate? Last math class I had in high school the final project was to balance a checkbook.
I'm way too lazy to type it all out on my phone, but a derivative of a function with respect to an input is the change in that function's output WRT the input (I.e. the slope of the line for a given x). A numerical solution involves taking known discrete points (x1, y1), (x2, y2) and determining the changes in output (y2-y1) based on the change in input (x2-x1). That is the 1st derivative. repeat the process again for the 2nd derivative.


Tapadatass
rfinkle2 and TexasSpeed3 like this.
__________________
ATP GTX3071 IWG . 10.5:1 pistons . K1 Rods . Balance Shaft Delete . COBB AP . eBay Special Catless DP . Mazdaspeed Accessory CBE . OCC . Autolite XP5364 Spark Plugs . TRZ TMM . TRZ RMM . MDM SSP . JBR Shifter Bushings . JBR EGR Delete . KW V1 Coilovers . SPC Rear Camber Arms . EBC Yellowstuff Pads . Autotech HPFP internals . 3-Bar MAP Sensor . N2MB WOT Box . ACT 6-Puck Sprung Clutch w/ Streetlite Flywheel . Konig Milligrams 18x8.5 et45 with 245/40's . GrimmSpeed EBCS . Self-PnP IM with VTCS removed . TWM full replacement shifter with 3" extension . TS BPV SU Edition . CX Racing FMIC . HTP 3.5" Intake . Lots of ricer mods .

Beans Above the Frank Build http://www.mazdaspeedforums.org/forum/f541/beans-above-frank-build-115919/
silvapain is offline  
The Following 7 Users Say Thank You to silvapain For This Useful Post:
06Speed6 (04-19-2012), 86azms3 (04-19-2012), Enki (04-19-2012), MS3-a(sore)ASS-rex (04-19-2012), phate (04-19-2012), rfinkle2 (04-19-2012), TexasSpeed3 (04-19-2012)
 Old 04-19-2012, 04:36 PM   #31
Lex
Engineered Tuning


 
Lex's Avatar
 
Join Date: Jun 2008
Location: Vancouver, Canada
Posts: 9,588   (View Stats)
iTrader: (4)
Rep Power: 8351
Lex is the leader of the worldLex is the leader of the worldLex is the leader of the worldLex is the leader of the worldLex is the leader of the worldLex is the leader of the worldLex is the leader of the worldLex is the leader of the worldLex is the leader of the worldLex is the leader of the worldLex is the leader of the world
Thanks: 4,236
Thanked 16,231 Times in 4,868 Posts
Groans: 13
Groaned at 34 Times in 28 Posts
Not Ranked  0 score     
Default

It will probably be easiest if the user does a MAF cal log that has very gentle throttle inputs and that extends into WOT to cover the whole range.

Have them log desired AFR as well as actual AFR along with the LTFT, STFT information.
rfinkle2 likes this.
__________________

We Engineer, and that's better than just tuning!



www.stratifiedauto.com
COBB AP and VersaTuner Custom Tuning. Guardian Angel Protection and Boost Control.
Lex is offline  
The Following 3 Users Say Thank You to Lex For This Useful Post:
Enki (04-19-2012), rfinkle2 (04-20-2012), TexasSpeed3 (04-19-2012)
 Old 04-19-2012, 04:58 PM   #32
 
TexasSpeed3's Avatar
 
Join Date: Mar 2011
Location: Bastrop, Texas
Posts: 2,014   (View Stats)
iTrader: (0)
Rep Power: 0
TexasSpeed3 is the leader of the worldTexasSpeed3 is the leader of the worldTexasSpeed3 is the leader of the worldTexasSpeed3 is the leader of the worldTexasSpeed3 is the leader of the worldTexasSpeed3 is the leader of the worldTexasSpeed3 is the leader of the worldTexasSpeed3 is the leader of the worldTexasSpeed3 is the leader of the worldTexasSpeed3 is the leader of the worldTexasSpeed3 is the leader of the world
Thanks: 17,150
Thanked 1,210 Times in 688 Posts
Groans: 273
Groaned at 21 Times in 20 Posts
Not Ranked  0 score     
Default

damn this is making me want to get back into programming. but shit so many variables in this one. your a brave soul taking on learning a new language as well as this program by itself. cant wait to see how this works
__________________
2011 Black Mica - Daily
JBR SSP and heavy knob and SSB | Sure RMM | Corksport SRI/TIP/RSB/TMIC | Tanabe FSTB | Cobb AP getting PERM'd | Autotech internals | H&R springs | DDM HID | pussy delete - catless ebay dp and tp


TexasSpeed3 is offline  
The Following User Says Thank You to TexasSpeed3 For This Useful Post:
Enki (04-19-2012)
 Old 04-19-2012, 05:06 PM   #33
 
SoAgg159's Avatar
 
Join Date: Nov 2010
Location: AZ
Posts: 590   (View Stats)
iTrader: (1)
Rep Power: 260
SoAgg159 is the leader of the worldSoAgg159 is the leader of the worldSoAgg159 is the leader of the worldSoAgg159 is the leader of the worldSoAgg159 is the leader of the worldSoAgg159 is the leader of the worldSoAgg159 is the leader of the worldSoAgg159 is the leader of the worldSoAgg159 is the leader of the worldSoAgg159 is the leader of the worldSoAgg159 is the leader of the world
Thanks: 373
Thanked 450 Times in 215 Posts
Groans: 12
Groaned at 8 Times in 6 Posts
Not Ranked  0 score     
Default

Gonna be badass, shit, az will have something to be proud of.

Can you please change the ENKI on the front to a unicorn shooting jizz outta his dick with a rainbow behind him?
__________________
07 MS3
Built motor with K1 rods/wesico pistons, ATP 3076r, SS Mani, ATP DP, Cobb FMIC V2, CPE FP, TurboSmart MBC, TurboSmart Dual Port BOV, Hotchkis RSB FSB, BC Coilovers, AP, Dashhawk, Trilogy JBR 88 duro's
Perm
SoAgg159 is offline  
The Following User Says Thank You to SoAgg159 For This Useful Post:
Enki (04-19-2012)
 Old 04-19-2012, 05:19 PM   #34
 
Enki's Avatar
 
Join Date: Nov 2008
Location: Tucson, AZ
Posts: 2,973   (View Stats)
iTrader: (2)
Rep Power: 4205
Enki has disabled reputation
Thanks: 4,085
Thanked 8,148 Times in 1,784 Posts
Groans: 103
Groaned at 21 Times in 19 Posts
(Thread Starter)
Not Ranked  0 score     
Default

Originally Posted by Lex View Post
It will probably be easiest if the user does a MAF cal log that has very gentle throttle inputs and that extends into WOT to cover the whole range.

Have them log desired AFR as well as actual AFR along with the LTFT, STFT information.
Gen 1 doesn't have commanded AFR parameter, sadly.
So far the required logged values are accel pedal position, afr, boost, calc load, both trims, maf voltage, rpm and wastegate. I thought about doing mass airflow, but it didn't seem to line up with the voltage sometimes.

As a side note, hit my first big hurdle and am currently working through it.
__________________

http://www.mazdaspeedforums.org/forum/signaturepics/sigpic1981_1.gif
Enki is offline  
The Following 2 Users Say Thank You to Enki For This Useful Post:
rfinkle2 (04-20-2012), silvapain (04-19-2012)
 Old 04-19-2012, 05:21 PM   #35
Speeeeeed

 
06Speed6's Avatar
 
Join Date: Mar 2008
Location: Corpus Christi, Tx
Posts: 5,729   (View Stats)
iTrader: (19)
Rep Power: 6707
06Speed6 is the leader of the world06Speed6 is the leader of the world06Speed6 is the leader of the world06Speed6 is the leader of the world06Speed6 is the leader of the world06Speed6 is the leader of the world06Speed6 is the leader of the world06Speed6 is the leader of the world06Speed6 is the leader of the world06Speed6 is the leader of the world06Speed6 is the leader of the world
Thanks: 5,342
Thanked 13,175 Times in 2,355 Posts
Groans: 37
Groaned at 16 Times in 14 Posts
Not Ranked  0 score     
Default

I wonder if someone could write a script that would check for improper curves that are out of a certain range. There has gotta be a way because that script would throw a flag for meth systems, aux fueling, intake leaks, and maybe some other stuff im not thinking of.

The math is way over my head but I know we have some math gurus around here that can make graph formula that fits.
__________________
2006 Mazdaspeed 6

P&P, flow benched, head with welded EGR and +1mm inconel exhaust valves (260/200cfm @ .500"), Web Cams, Custom crankcase breather with integrated air/oil seperator, Custom 3/4" ID pan vac system, Blow through maf, Port matched IM, CNC AN-12 ORB block oil adapter, CP-e 88mm Stage 2 pistons, Pauter 22.5mm rods, ARP main, head, and crank studs, CP-e injector seals, Injector stud kit, Cometec 88mm 5 layer HG, Deatschworks flow tested matched injectors, DCR VVT, PTP 2250psi RV, Corksport front sway, Whiteline rear sway, AWR front/rear sway links, TT FMM, AWR 70d DMM, SU RMM, TT FRDM, CP-e RRDM, Autotech CDFP, DW65c ITFP, Custom L/A IC with a dual pass 20x25x1.5 heat exchanger, Dual Cobra I/C pumps, 3" ID 700hp I/A intercooler, ATP catless DP, Corksport catback, Corksport exhaust hangers, chrome plated genpu valve cover, chrome plated timing cover, CP-e whale penis, CP-e sri, Spin on oil filter, Fluidyne dual pass AN-12 oil cooler, Hayden oil cooler fan controller, Dual 4.7" SPAL oil cooler fans, Canton Racing 22-480 oil tstat, Custom BMRS AN-12 oil lines, SPC ball joints, 55w/35w headlights and independently switched fogs on custom waterproof harnesses, PIAA Super Plasma driving and interior lights, rear diff cutout switch, 3M clear front cover, Volk 17x7.5 wheels, Custom tcase bearing cap upgrade, 2007 MS6 p/s pump, GS EBC 3 port, Redline SS hood lift, Versatune, Defi gauges, Innovate MTX-L WB gauge, triple center gauge pod, Block8head dual vent pod, Redline shift boot & ebrake cover & arm rest cover, Mazdaspeed CF ebrake handle, Dashawk, ACL rod bearings, King main bearings, Cosworth BSD, Custom windage tray, Holset HX35w, Creative Performance T3 EWG manifold, HKS VTA BOV, A1 H11 head studs, Hylomar HG sealant


06Speed6 is offline  
The Following User Says Thank You to 06Speed6 For This Useful Post:
rfinkle2 (04-20-2012)
 Old 04-19-2012, 06:03 PM   #36
 
Enki's Avatar
 
Join Date: Nov 2008
Location: Tucson, AZ
Posts: 2,973   (View Stats)
iTrader: (2)
Rep Power: 4205
Enki has disabled reputation
Thanks: 4,085
Thanked 8,148 Times in 1,784 Posts
Groans: 103
Groaned at 21 Times in 19 Posts
(Thread Starter)
Not Ranked  0 score     
Default

Originally Posted by 06Speed6 View Post
I wonder if someone could write a script that would check for improper curves that are out of a certain range. There has gotta be a way because that script would throw a flag for meth systems, aux fueling, intake leaks, and maybe some other stuff im not thinking of.

The math is way over my head but I know we have some math gurus around here that can make graph formula that fits.
Across the maf scale, there is a maximum jump from voltage to voltage. It should be possible to average these jumps out, and if higher than a certain percentage (a base/ots mafcal can be used for this), a flag can be thrown. Ultimately, it will be obvious as the curve will suddenly jump by a good amount when viewed in ATR.
__________________

http://www.mazdaspeedforums.org/forum/signaturepics/sigpic1981_1.gif
Enki is offline  
The Following User Says Thank You to Enki For This Useful Post:
06Speed6 (04-19-2012)
 Old 04-19-2012, 09:17 PM   #37
Monk Tuning
 
mrmonk7663's Avatar
 
Join Date: Dec 2010
Location: Humble, TX
Posts: 2,205   (View Stats)
iTrader: (9)
Rep Power: 868
mrmonk7663 is the leader of the worldmrmonk7663 is the leader of the worldmrmonk7663 is the leader of the worldmrmonk7663 is the leader of the worldmrmonk7663 is the leader of the worldmrmonk7663 is the leader of the worldmrmonk7663 is the leader of the worldmrmonk7663 is the leader of the worldmrmonk7663 is the leader of the worldmrmonk7663 is the leader of the worldmrmonk7663 is the leader of the world
Thanks: 1,032
Thanked 1,635 Times in 874 Posts
Groans: 11
Groaned at 17 Times in 9 Posts
Not Ranked  0 score     
Default

Hellz yah. I've been waiting 2 months for an update on this...I'm glad you are making progress on it and will continue to wait for the beta release. The incorporation of larger maf housings...3", 3.25, 3.5, and 4" would be great!!!

Good Job Enki.
__________________
2011 Speed3-CP-E Stage 2 RMM, JBR TMM, JBR SSP, JBR SSB, 3.5" JBR WP, DDM 55w 6000k, Hoen Fog Lights, Autotech Internals, Enkei 17x8.5 RPF1, TIGs, EGR Delete, OCC, Treadstone TR8, FoMoCo Trans Fluid, Swift Springs, BSD and Baffle Kit, Ported Intake Manifold ala Driver311, CPE Injector Seals,PTP injector stud kit, RB Fabrication Ex Manifold, PTP 1950 Rail valve, ITV22s, Cordova Throttle Body, E85 blend Tuned by ME!!!


Waiting to install- JTMS3 SUB BOX!!!


TEAM LBN BEERS -- FYCN
TEAM MUMFORD -- FYCN
mrmonk7663 is offline  
 Old 04-20-2012, 12:14 AM   #38
 
ms6forthewin's Avatar
 
Join Date: Oct 2011
Location: Diamond Bar CA
Posts: 505   (View Stats)
iTrader: (0)
Rep Power: 93
ms6forthewin is the leader of the worldms6forthewin is the leader of the worldms6forthewin is the leader of the worldms6forthewin is the leader of the worldms6forthewin is the leader of the worldms6forthewin is the leader of the worldms6forthewin is the leader of the worldms6forthewin is the leader of the worldms6forthewin is the leader of the worldms6forthewin is the leader of the worldms6forthewin is the leader of the world
Thanks: 7
Thanked 138 Times in 86 Posts
Groans: 1
Groaned at 5 Times in 5 Posts
Not Ranked  0 score     
Default

wow! this would be great!!
__________________
2007 MAZDASPEED 6

BNR S3// ALL-SUPPORTING MODS
ms6forthewin is offline  
The Following User Says Thank You to ms6forthewin For This Useful Post:
Enki (04-20-2012)
 Old 04-20-2012, 03:52 AM   #39
 
JasonMzdSpd3's Avatar
 
Join Date: Feb 2012
Location: Coloroado Springs
Posts: 208   (View Stats)
iTrader: (0)
Rep Power: 0
JasonMzdSpd3 is the leader of the worldJasonMzdSpd3 is the leader of the worldJasonMzdSpd3 is the leader of the worldJasonMzdSpd3 is the leader of the worldJasonMzdSpd3 is the leader of the worldJasonMzdSpd3 is the leader of the worldJasonMzdSpd3 is the leader of the worldJasonMzdSpd3 is the leader of the worldJasonMzdSpd3 is the leader of the worldJasonMzdSpd3 is the leader of the worldJasonMzdSpd3 is the leader of the world
Thanks: 1,003
Thanked 173 Times in 92 Posts
Groans: 16
Groaned at 6 Times in 5 Posts
Not Ranked  0 score     
Default

Sick! This should be one kick ass app when complete.

Sent from Epic 4G via tap & touch 2.
__________________
2012 Speed3 Tech~ Liquid Silver~
Mods - AP, COBB SRI, CP-E RMM, SURE TIP, CP-E Catted DP, AT Internals, CS TMIC, NGK 1 step colder plugs, TurboSmart BPV, GTX 2867r, ATP 3" inlet kit.
Ordered Mods -
Planned mods - JBR MM kit full, JBR SSP.
Mods here but not installed-

Tinted 15% all the way around, 5% hatch.

-------------------------------------------------------------------------------------------
I think the internet needs more Cowbell!
JasonMzdSpd3 is online now  
The Following User Says Thank You to JasonMzdSpd3 For This Useful Post:
Enki (04-20-2012)
 Old 04-20-2012, 05:11 AM   #40
 
SRTie4k's Avatar
 
Join Date: Jul 2009
Location: Keene, NH
Posts: 1,714   (View Stats)
iTrader: (3)
Rep Power: 997
SRTie4k is the leader of the worldSRTie4k is the leader of the worldSRTie4k is the leader of the worldSRTie4k is the leader of the worldSRTie4k is the leader of the worldSRTie4k is the leader of the worldSRTie4k is the leader of the worldSRTie4k is the leader of the worldSRTie4k is the leader of the worldSRTie4k is the leader of the worldSRTie4k is the leader of the world
Thanks: 53
Thanked 1,835 Times in 719 Posts
Groans: 12
Groaned at 68 Times in 44 Posts
Not Ranked  0 score     
Default

If you need any help with your methodology or have any questions in general, let me know. I'm just finishing up a class in C++, and although C# takes a departure from C++ in certain areas, they are relatively similar.
__________________
08.5 Mazdaspeed 3 - Cobb AP w/ Boost Targetting at 17psi, CP-E Nano SRI, ETS 3.25" TMIC, SU Test Pipe, CP-E RMM, Bilstein Sports, Cobb Springs, Progress RSB, Short Shift Plate, SU Solid Shifter Bushings, Dashhawk, Gold 18x8.5 Rota G-Force's, 235/40/18 Hankook Ventus V12's
253WHP/274WTQ on a Mustang Dyno before tune, 282WHP/318WTQ in VD after tune
97 Suzuki TL1000S Naked - LeoVince Slip-Ons, K&N Filter, PCII, fully custom naked setup
89 Kawasaki 650SX Stand-Up Jetski
SRTie4k is offline  
The Following 2 Users Say Thank You to SRTie4k For This Useful Post:
Enki (04-20-2012), rfinkle2 (04-20-2012)
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -7. The time now is 07:50 AM.
Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
vB.Sponsors
Template-Modifications by TMS
©Copyright 2008 ; 2013 Cymru Internet Services LLC | FYHN™ Autosports HQ
Ad Management plugin by RedTyger
Page generated in 0.67026 seconds with 41 queries