MEGAsquirt A place to collectively sort out this megasquirt gizmo

Datalogging with a Palm...it CAN be done!

Thread Tools
 
Search this Thread
 
Old 10-23-2007, 03:42 PM
  #61  
Ben
Supporting Vendor
iTrader: (33)
 
Ben's Avatar
 
Join Date: Jul 2006
Location: atlanta-ish
Posts: 12,659
Total Cats: 134
Default

Originally Posted by Atlanta93LE
Here is my PalmLog Environment Setup, as requested. It works for me on my MSPNP MM9093, but I cannot guarantee the values. In fact, I can't remember how I got all of them. I did a bit of reading on the msefi forum.

MAP-Off: 9.0
Map-Sc: 0.984
C-Bias: 2490
A-Bias: 2490
Cool-A: 1.222E-3
Cool-B: 2.776E-4
Cool-C: 4.196E-8
Air-A: 1.506E-3
Air-B: 2.250E-4
Air-C: 1.247E-7
WB-Off: 10.00
WB-Sc: 2.00
RTU Char: R
Bytes 39

I have my "boost in psi," "Fahr," and "diywb" boxes clicked; I am using the Techedge diywb.
OK, I believe all of the above is correct except for the MAP sensor offset and scale. The offset should be 20kPa and the scale should be .961 kPa/ADC.
Sensor datasheet here:
http://www.freescale.com/files/senso...50A.pdf?fpsp=1
__________________
Chief of Floor Sweeping, DIYAutoTune.com & AMP EFI
Crew Chief, Car Owner & Least Valuable Driver, HongNorrthRacing

91 Turbo | 10AE Turbo | 01 Track Rat | #323 Mazda Champcar

Originally Posted by concealer404
Buy an MSPNP Pro, you'll feel better.
Ben is offline  
Old 10-23-2007, 04:49 PM
  #62  
Junior Member
iTrader: (4)
 
sotaku's Avatar
 
Join Date: Jul 2007
Location: Indianapolis, IN
Posts: 113
Total Cats: 0
Default

Haha, awesome! That's something I need to visit next.
sotaku is offline  
Old 10-23-2007, 09:30 PM
  #63  
Junior Member
iTrader: (4)
 
sotaku's Avatar
 
Join Date: Jul 2007
Location: Indianapolis, IN
Posts: 113
Total Cats: 0
Default

Originally Posted by Ben
OK, I believe all of the above is correct except for the MAP sensor offset and scale. The offset should be 20kPa and the scale should be .961 kPa/ADC.
Sensor datasheet here:
http://www.freescale.com/files/senso...50A.pdf?fpsp=1
Hmm, I may have a different one than you but what got me with my default MAP sensor for Megasquirt to the same as what I had in Megatune was a 10kPa offset with the scale you provided (thank you!).

Still new so there's a possibility that Megatune is off too. =/

(just have the MAP set up in the Configurator, nothing more that I know of)
sotaku is offline  
Old 10-23-2007, 09:59 PM
  #64  
Ben
Supporting Vendor
iTrader: (33)
 
Ben's Avatar
 
Join Date: Jul 2006
Location: atlanta-ish
Posts: 12,659
Total Cats: 134
Default

Those are the 2.5 bar settings.
You have a 4 bar sensor, right? 4 bar settings: https://www.miataturbo.net/megasquirt-18/whos-got-mapdaddy-13504/
__________________
Chief of Floor Sweeping, DIYAutoTune.com & AMP EFI
Crew Chief, Car Owner & Least Valuable Driver, HongNorrthRacing

91 Turbo | 10AE Turbo | 01 Track Rat | #323 Mazda Champcar

Originally Posted by concealer404
Buy an MSPNP Pro, you'll feel better.
Ben is offline  
Old 10-23-2007, 11:24 PM
  #65  
Ben
Supporting Vendor
iTrader: (33)
 
Ben's Avatar
 
Join Date: Jul 2006
Location: atlanta-ish
Posts: 12,659
Total Cats: 134
Default

Originally Posted by Ben
OK, I believe all of the above is correct except for the MAP sensor offset and scale. The offset should be 20kPa and the scale should be .961 kPa/ADC.
Sensor datasheet here:
http://www.freescale.com/files/senso...50A.pdf?fpsp=1
After learning more data... These numbers should be more correct than anything posted previously
scale .964
offset 9.108
It has nothing to do with my math being faulty earlier. It has to do with my faulty assumption that MegaTune's kpafactor file is accurate.
Of course, looks like I DID get the slope right (I'll consider 3 thousandths of error to be more than acceptable for this assignment). The error ends up being in the offset.

Somebody with a 2.5 bar, try it and report back.
__________________
Chief of Floor Sweeping, DIYAutoTune.com & AMP EFI
Crew Chief, Car Owner & Least Valuable Driver, HongNorrthRacing

91 Turbo | 10AE Turbo | 01 Track Rat | #323 Mazda Champcar

Originally Posted by concealer404
Buy an MSPNP Pro, you'll feel better.

Last edited by Ben; 10-23-2007 at 11:36 PM.
Ben is offline  
Old 10-24-2007, 05:47 AM
  #66  
Elite Member
Thread Starter
iTrader: (5)
 
Atlanta93LE's Avatar
 
Join Date: Sep 2006
Location: Marietta, GA
Posts: 2,195
Total Cats: 1
Default

Well, I had been using offset of 9 and scale of 0.984, and hadn't noticed any discrepancy. I'll give 9.108 and 0.964 a try and see how much of a difference it reads.
Atlanta93LE is offline  
Old 10-24-2007, 07:35 AM
  #67  
Junior Member
iTrader: (4)
 
sotaku's Avatar
 
Join Date: Jul 2007
Location: Indianapolis, IN
Posts: 113
Total Cats: 0
Default

Originally Posted by Ben
After learning more data... These numbers should be more correct than anything posted previously
scale .964
offset 9.108
It has nothing to do with my math being faulty earlier. It has to do with my faulty assumption that MegaTune's kpafactor file is accurate.
Of course, looks like I DID get the slope right (I'll consider 3 thousandths of error to be more than acceptable for this assignment). The error ends up being in the offset.

Somebody with a 2.5 bar, try it and report back.
Put em in this morning and it looks spot on from what I can tell. Nice work!

Now my last discrepency is my CLT. Reading 33 on the palm and 45 in MegaTune. Stock Mazda sensor, wondering if I have the coolant settings wrong. (using what's up there)

Using AusieDriver's EasyTherm settings of:

-4F 16200
86F 2450
176F 384

Any clues?
sotaku is offline  
Old 10-24-2007, 08:22 AM
  #68  
Elite Member
Thread Starter
iTrader: (5)
 
Atlanta93LE's Avatar
 
Join Date: Sep 2006
Location: Marietta, GA
Posts: 2,195
Total Cats: 1
Default

I pulled those Cool-A,B,C values from the easytherm file using the MSPNP inputs of:

-4F 16150
104F 1150
176 320

A= 1.222495E-03 B=2.775695E-04 C= 4.196125E-08 (from MSPNP9093 w AFM thermfactor.ini).

However, with:

-4 16150
104 1150
176 330

A= 1.131957E-03 B=2.943506E-04 C= -3.725285E-08 (from MSPNP9093 w/o AFM thermfactor.ini)

Looks like my AIR values for MAT are screwed up as well. I can't figure out where those values came from, but the GM IAT sensor I'm using (AFM delete) should have Air values of :

A= 6.034498E-04 B=4.181235E-04 C= -1.094738E-06 (from MSPNP9093 w/o AFM matfactor.ini).

I can't seem to find an appropriate matfactor.ini for use with the AFM...they all seem to have the same values as thermfactor.ini. Do the stock CLT and IAT (in AFM) sensors have the same temp/resistance relationship?

BTW: I'm glad some more people are jumping on this. Makes me revisit all the screw-ups from rushing this to make it "work," or rather show that it could work

Last edited by Atlanta93LE; 10-24-2007 at 08:38 AM.
Atlanta93LE is offline  
Old 10-24-2007, 08:34 AM
  #69  
Ben
Supporting Vendor
iTrader: (33)
 
Ben's Avatar
 
Join Date: Jul 2006
Location: atlanta-ish
Posts: 12,659
Total Cats: 134
Default

Air-A: 1.506E-3
Air-B: 2.250E-4
Air-C: 1.247E-7
Cool-A: 1.222E-3
Cool-B: 2.776E-4
Cool-C: 4.196E-8
Ben--the settings you have already posted look correct to me. You can check MAT under the file megasquirt/without afm/mtcfg/matfactor.inc
and CLT under ....../thermfactor.inc


Granted, I'm actually yet to take a drive in my car w/ those settings, but at idle in my garage those settings jived perfectly with megatune.
__________________
Chief of Floor Sweeping, DIYAutoTune.com & AMP EFI
Crew Chief, Car Owner & Least Valuable Driver, HongNorrthRacing

91 Turbo | 10AE Turbo | 01 Track Rat | #323 Mazda Champcar

Originally Posted by concealer404
Buy an MSPNP Pro, you'll feel better.
Ben is offline  
Old 10-24-2007, 08:40 AM
  #70  
Elite Member
Thread Starter
iTrader: (5)
 
Atlanta93LE's Avatar
 
Join Date: Sep 2006
Location: Marietta, GA
Posts: 2,195
Total Cats: 1
Default

Originally Posted by Ben
Ben--the air temp settings you have already posted look correct to me. You can check them under the file megasquirt/without afm/mtcfg/matfactor.inc
That's where I'm looking now, and they're def. way off. I had never noticed anything weird though while monitoring with the palm with my "old" settings, but I've been more concerned about CLT than MAT.
Atlanta93LE is offline  
Old 10-24-2007, 08:45 AM
  #71  
Ben
Supporting Vendor
iTrader: (33)
 
Ben's Avatar
 
Join Date: Jul 2006
Location: atlanta-ish
Posts: 12,659
Total Cats: 134
Default

I see what you're doing, I think... The default files are coded around the GM sensor. That's why they have the same values.
You need to look in the MSPNP W/O AFM folder, the "your car" folder that shows your customized settings, not in the main MegaTune folder which only shows default settings.
__________________
Chief of Floor Sweeping, DIYAutoTune.com & AMP EFI
Crew Chief, Car Owner & Least Valuable Driver, HongNorrthRacing

91 Turbo | 10AE Turbo | 01 Track Rat | #323 Mazda Champcar

Originally Posted by concealer404
Buy an MSPNP Pro, you'll feel better.
Ben is offline  
Old 10-24-2007, 08:48 AM
  #72  
Elite Member
Thread Starter
iTrader: (5)
 
Atlanta93LE's Avatar
 
Join Date: Sep 2006
Location: Marietta, GA
Posts: 2,195
Total Cats: 1
Default

Originally Posted by Ben
I see what you're doing, I think... The default files are coded around the GM sensor. That's why they have the same values.
You need to look in the MSPNP W/O AFM folder, the "your car" folder that shows your customized settings, not in the main MegaTune folder which only shows default settings.
No no no. I'm looking in the right place. Go have a look yourself. Everything seems fine in the w/o AFM project folder, but things are weird in the w/ AFM folder for matfactor. It's the same file as thermfactor but with a different header comment.

W/O AFM:
Code:
C:\Program Files\MegaSquirt\MSPNP MM9093 without AFM\mtCfg\matfactor.inc

; Generated using EasyTherm4.exe,
;
; GM IAT
;
; File generated for use with stock 2490 ohm resistor at R4
;
; Steinhart-Hart coefficients:  A= 6.034498E-04   B=4.181235E-04   C= -1.094738E-06
;
; Input Data:	Temp, degF	Resistance
;		    48		    7000
;		    87		    1930
;		   146		     560
...
W/ AFM: Notice that the values are the same as thermfactor.ini
Code:
C:\Program Files\MegaSquirt\MSPNP MM9093 with AFM\mtCfg\matfactor.inc

; Generated using EasyTherm4.exe,
;
; Air Temp Thermistor Comment Field
;
; File generated for use with stock 2490 ohm resistor at R4
;
; Steinhart-Hart coefficients:  A= 1.222495E-03   B=2.775695E-04   C= 4.196125E-08
;
; Input Data:	Temp, degF	Resistance
;		    -4		   16150
;		   104		    1150
;		   176		     320
...

Last edited by Atlanta93LE; 10-24-2007 at 10:13 AM.
Atlanta93LE is offline  
Old 10-24-2007, 08:59 AM
  #73  
Ben
Supporting Vendor
iTrader: (33)
 
Ben's Avatar
 
Join Date: Jul 2006
Location: atlanta-ish
Posts: 12,659
Total Cats: 134
Default

OK, so mazda uses the same sensor for coolant and air temp. It's just a thermistor right

<edit> and I believe GM uses the same thermistor for both air and coolant temps too, and that's why the MT default settings (which defaults to GM sensors) show the same Steinhart-Hart coefficients for both AIT and CLT
__________________
Chief of Floor Sweeping, DIYAutoTune.com & AMP EFI
Crew Chief, Car Owner & Least Valuable Driver, HongNorrthRacing

91 Turbo | 10AE Turbo | 01 Track Rat | #323 Mazda Champcar

Originally Posted by concealer404
Buy an MSPNP Pro, you'll feel better.
Ben is offline  
Old 10-24-2007, 09:06 AM
  #74  
Elite Member
Thread Starter
iTrader: (5)
 
Atlanta93LE's Avatar
 
Join Date: Sep 2006
Location: Marietta, GA
Posts: 2,195
Total Cats: 1
Default

That's all I can figure.

Anyway, it looks like the Air-A,B,C should be

A= 6.034498E-04 B=4.181235E-04 C= -1.094738E-06
Atlanta93LE is offline  
Old 10-24-2007, 09:29 AM
  #75  
Ben
Supporting Vendor
iTrader: (33)
 
Ben's Avatar
 
Join Date: Jul 2006
Location: atlanta-ish
Posts: 12,659
Total Cats: 134
Default

Nope, just spent 10 minutes in the car. The settings for MAT and CLT you originally listed and I copied in post #69 are correct to MegaTune within 1 degree F.
__________________
Chief of Floor Sweeping, DIYAutoTune.com & AMP EFI
Crew Chief, Car Owner & Least Valuable Driver, HongNorrthRacing

91 Turbo | 10AE Turbo | 01 Track Rat | #323 Mazda Champcar

Originally Posted by concealer404
Buy an MSPNP Pro, you'll feel better.
Ben is offline  
Old 10-24-2007, 09:41 AM
  #76  
Elite Member
Thread Starter
iTrader: (5)
 
Atlanta93LE's Avatar
 
Join Date: Sep 2006
Location: Marietta, GA
Posts: 2,195
Total Cats: 1
Default

WTF.
Atlanta93LE is offline  
Old 10-24-2007, 09:42 AM
  #77  
Elite Member
iTrader: (13)
 
cjernigan's Avatar
 
Join Date: Oct 2006
Location: Atlanta, GA
Posts: 8,091
Total Cats: 7
Default

hahahah, so has all of this been for moot?
cjernigan is offline  
Old 10-24-2007, 09:45 AM
  #78  
Elite Member
Thread Starter
iTrader: (5)
 
Atlanta93LE's Avatar
 
Join Date: Sep 2006
Location: Marietta, GA
Posts: 2,195
Total Cats: 1
Default

I just wish I remembered where I got those original values.
Atlanta93LE is offline  
Old 10-24-2007, 09:51 AM
  #79  
Ben
Supporting Vendor
iTrader: (33)
 
Ben's Avatar
 
Join Date: Jul 2006
Location: atlanta-ish
Posts: 12,659
Total Cats: 134
Default

The correct ones? See post 69.

CJ, don't be rediculous. We did all the hard work, and anyone w/ a mspnp w/ a 2.5bar sensor can simply copy the settings listed.

And I *think* I've got the 4 bar map settings, but it's too hard to drive and check in boost, especially because it's wet out. I'll post the new settings as soon as I can verify.
__________________
Chief of Floor Sweeping, DIYAutoTune.com & AMP EFI
Crew Chief, Car Owner & Least Valuable Driver, HongNorrthRacing

91 Turbo | 10AE Turbo | 01 Track Rat | #323 Mazda Champcar

Originally Posted by concealer404
Buy an MSPNP Pro, you'll feel better.
Ben is offline  
Old 10-24-2007, 09:52 AM
  #80  
Elite Member
Thread Starter
iTrader: (5)
 
Atlanta93LE's Avatar
 
Join Date: Sep 2006
Location: Marietta, GA
Posts: 2,195
Total Cats: 1
Default

Originally Posted by Ben
The correct ones? See post 69.
Yeah, but where did I get them 3 months ago? Cause those definitely don't match the matfactor.ini file I have here at work (just downloaded from the megasquirtpnp.com website), which I posted verbatim in post 72
Atlanta93LE is offline  


Quick Reply: Datalogging with a Palm...it CAN be done!



All times are GMT -4. The time now is 01:07 PM.