Notices
ECU Flash

sd xml equation for greddy map sensor

Thread Tools
 
Search this Thread
 
Old Sep 8, 2010 | 06:49 AM
  #1  
benpgreen's Avatar
Thread Starter
Newbie
 
Joined: Jun 2007
Posts: 14
Likes: 0
From: tennessee
sd xml equation for greddy map sensor

I have and old Greddy map sensor that came with the e-manage blue, I am starting the switch to sd and would like to use this sensor to keep costs down. I have the sensor logging correctly using an equation I found ((0.18375*x-14.333)*1.47. My question is about xml formulas I came up with

<scaling name="kpa Greddy" units="kpa" toexpr=".441175*x" frexpr="x/.441175" format="%.1f" min="0" max="400" inc="0.1" storagetype="uint16" endian="big"/>


I am new at this just wondering if someone could check this out and let me know if it will work. Thanks in advance.

sd xml equation for greddy map sensor-greddy-203-20bar-20v-20vs-20psi.jpg
Reply
Old Sep 8, 2010 | 10:24 AM
  #2  
Biggy VIII's Avatar
Evolving Member
 
Joined: Nov 2008
Posts: 424
Likes: 3
From: Russia, Moscow
Could you please explain how did you work out that expression for ecuflash scaling?

I want to use Defi map sensor for direct boost control, and SD. For now I could only find equation for evoscan for loging absolute pressure in psi, it is "0.216208*x-6.011667" (divide by 14,5 for bar).

I am also wondering how to find expression for "Boost error" in "Boost error correction (PSI)" table for direct boost control.

Defi map sensor shows 1,86v @ 1bar (0 boost) and 4,49v @ 3 bar (2bar boost)

Last edited by Biggy VIII; Sep 9, 2010 at 12:17 PM. Reason: corrected expression
Reply
Old Sep 9, 2010 | 12:10 PM
  #3  
Biggy VIII's Avatar
Evolving Member
 
Joined: Nov 2008
Posts: 424
Likes: 3
From: Russia, Moscow
Originally Posted by benpgreen
I have and old Greddy map sensor that came with the e-manage blue, I am starting the switch to sd and would like to use this sensor to keep costs down. I have the sensor logging correctly using an equation I found ((0.18375*x-14.333)*1.47. My question is about xml formulas I came up with

<scaling name="kpa Greddy" units="kpa" toexpr=".441175*x" frexpr="x/.441175" format="%.1f" min="0" max="400" inc="0.1" storagetype="uint16" endian="big"/>


I am new at this just wondering if someone could check this out and let me know if it will work. Thanks in advance.

Attachment 158430
as I understand "kpa Greddy" would be x*0,490467-50,082759

and evoscan formula would be 72,54/255x-21,762 for psi (divide by 14.5 for bar)

Last edited by Biggy VIII; Sep 9, 2010 at 12:13 PM.
Reply
Old Sep 9, 2010 | 02:07 PM
  #4  
benpgreen's Avatar
Thread Starter
Newbie
 
Joined: Jun 2007
Posts: 14
Likes: 0
From: tennessee
Could you show how you get the kpa scaling. I got close to the same thing for evoscan but the kpa scaling is confusing me. When I put that kpa scaling in ecuflash it doesnt look right, I thought all of the values needed to be positive, or do you just set them the same like you would normally do.

Name:  load.JPG
Views: 0
Size:  23.0 KB

Last edited by benpgreen; Sep 9, 2010 at 02:24 PM.
Reply
Old Sep 9, 2010 | 04:54 PM
  #5  
Biggy VIII's Avatar
Evolving Member
 
Joined: Nov 2008
Posts: 424
Likes: 3
From: Russia, Moscow
Set them the same like you would normaly do. Notice the negative numbers when switching between scalings for different MAP-sensors.

Evoscan formula is 72,54/255x-21,762 for logging psig. You can use -(21,762-14,5) adder instead of -21,762 to log absolute pressure.

72,54/(255+255)x - (21,762-14,5)/2 As I understand "(255+255)" and "2" dividers are needed because boost is using 2 bytes - boost adder+boost table (psi), 255 is map sensor 5v. And boost control is referring to absolute pressure, so we are using -(21,762-14,5) adder.

so 0,142235*x - 3.631 is the formula for direct boost control in psia8 and psia16 in ecuflash.

72,54/1023*x-(21,762-14,5) = 0.07090909*x-7.262 (psi)

0,490467 multiplier is for psi scaling and in kPa is (0,490467/14.5)*100=0.489028
7.262 is for psi scaling too and in kPA is 7.2652/14.5*100=50,082759

so the kPa Greddy will be 0.489028*x-50.082759

I'd be honest that I could not understand a couple of numbers at first, and it was partly a guesswork using analogy and comparing to the AEM 3,5bar known formulas calculations and numbers. But that is how I understand these expressions for now.

I also did the same calculations for my Defi MAP-sensor and now succesfully using direct boost control. That makes me pretty confident in my math. But I have not tested my calculation for SD. https://www.evolutionm.net/forums/8655096-post950.html

PS Waiting for gurus to join our discussion.

Last edited by Biggy VIII; Sep 11, 2010 at 03:31 PM. Reason: corrected mistakes in math
Reply
Old Sep 9, 2010 | 07:42 PM
  #6  
benpgreen's Avatar
Thread Starter
Newbie
 
Joined: Jun 2007
Posts: 14
Likes: 0
From: tennessee
Thanks the negative values were throwing me off.
Reply
Old Sep 11, 2010 | 03:15 PM
  #7  
Biggy VIII's Avatar
Evolving Member
 
Joined: Nov 2008
Posts: 424
Likes: 3
From: Russia, Moscow
OK I figured out a small mistake in my math..

72,54/255x-21,762 is evoscan formula, it is correct. but..

For "kPa Greddy" it will be:

((72,54/1023)/14,5)*100x-((21,762-14,5)/14,5)*100 = 0.489028*x-50.082759

so correct formulas for kPa Greddy are:

to display: 0.489028*x-50.082759
and to rom: (x+50.082759 )/0.489028

PS corrected post #5 and PM-ed benpgreen

Last edited by Biggy VIII; Sep 11, 2010 at 03:36 PM.
Reply
Old Sep 12, 2010 | 05:12 AM
  #8  
benpgreen's Avatar
Thread Starter
Newbie
 
Joined: Jun 2007
Posts: 14
Likes: 0
From: tennessee
Thanks, as soon as I can come up with a GM IAT I will give it a try.
Reply
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
tephra
Evo X Engine Management / Tuning Forums
70
Jul 11, 2024 12:59 AM
4b11slayer
ECU Flash
16
Jul 28, 2017 10:33 AM
Igor_Predator
ECU Flash
0
May 7, 2017 01:13 AM
mines5
ECU Flash
3
Feb 2, 2017 08:35 AM
mines5
ECU Flash
11
Oct 16, 2016 04:46 AM




All times are GMT -7. The time now is 04:11 AM.