Notices
Evo General Discuss any generalized technical Evo related topics that may not fit into the other forums. Please do not post tech and rumor threads here.
Sponsored by: RavSpec - JDM Wheels Central

MATH QUESTION. I need some assistance

Thread Tools
 
Search this Thread
 
Old Oct 20, 2011 | 08:43 PM
  #1  
prowakeskater's Avatar
Thread Starter
Evolved Member
iTrader: (14)
 
Joined: Jan 2011
Posts: 1,010
Likes: 2
From: Cincinnati
MATH QUESTION. I need some assistance

so without me being able to customize the wideband formula in evoscan, I need to improvise.

MY formula for my particular LC-1 for an AFR ranging from 10-16.99 goes as follows:

[AFR = 10+.02745(x+2)] (personal)

I need the same output from that formula above to come out of

[AFR = 10+.02741x] (evoscan)

by changing the input of x slightly. Right now my Lc-1 is programmed for a range of 10-16.99, but it has an error which I have accounted for in MY formula. I need to compensate for that error by changing the range ever so slightly.

Ideas? calculations? i feel dumb
Reply
Old Oct 20, 2011 | 08:49 PM
  #2  
ProPilot04's Avatar
Evolved Member
20 Year Member
iTrader: (11)
 
Joined: May 2003
Posts: 1,267
Likes: 7
From: Holding over the VOR
So you just need both of those formulas to be equal to each other?
Reply
Old Oct 20, 2011 | 08:53 PM
  #3  
prowakeskater's Avatar
Thread Starter
Evolved Member
iTrader: (14)
 
Joined: Jan 2011
Posts: 1,010
Likes: 2
From: Cincinnati
sort of. the input for my formula is a 0-5v range in data bits of 50.6 per volt from 10-16.99afr, which breaks down to 36.45 bits per 1 AFR.

I need to adjust my input from 10-16.99 to say 10.05-17.05 or something to reflect the error that my formula takes into account.
Reply
Old Oct 20, 2011 | 09:40 PM
  #4  
tscompusa's Avatar
Former Sponsor
iTrader: (31)
 
Joined: Oct 2005
Posts: 10,299
Likes: 67
From: PA
fixed
Reply
Old Oct 20, 2011 | 09:43 PM
  #5  
prowakeskater's Avatar
Thread Starter
Evolved Member
iTrader: (14)
 
Joined: Jan 2011
Posts: 1,010
Likes: 2
From: Cincinnati
lol
Reply
Old Oct 21, 2011 | 07:55 AM
  #6  
Dallas J's Avatar
EvoM Guru
Veteran: Army
Photogenic
Liked
Community Favorite
iTrader: (1)
 
Joined: Jul 2004
Posts: 5,969
Likes: 811
From: Portland, Or
Easiest way to do it is to map the variable. If you have low1 and high1 being the values you have and low2 and high2 being the values you want then,

X_new = (X - low1 ) * ( high2 - low2 ) / ( high1 - low1 ) + low2

Why cant you change your equation in evoscan? If you cant edit the value already there, you can create a new value to log with the correct equation looking at the same channel.
Reply
Old Oct 21, 2011 | 10:11 AM
  #7  
prowakeskater's Avatar
Thread Starter
Evolved Member
iTrader: (14)
 
Joined: Jan 2011
Posts: 1,010
Likes: 2
From: Cincinnati
my windows 7 virtual machine doesn't let me edit the original data.xml for some mysterious reason. Tom fixed it for me by locating the XML and searching for the stock formula and then editing it
Reply




All times are GMT -7. The time now is 01:56 PM.