So sort of following up from my previous posts in relationship to base fuel mapping I'm now looking more seriously into interpreting logged data.
It's been mentioned by a few folks that it's a good idea to dump invalid data - in my example I'm only wanting to see lam1 when the throttle opening is changing at a low rate - it seems simple enough:
-I take the derivative of tps:
derivative(tps1)
-and apply to the lam1 data:
if(der_tps<10&&der_tps>-10,lam1,0)
This seems to roughly work - with one problem - where the lam1 reading is to be dumped I have to return a '0' value - I'd much rather return a null value and not plot at all - so far I've not found a way of achieving this - is there a way / is there a better approach.
Cheers,
-Ed.
dumping invalid data - maths channels
-
- Posts: 502
- Joined: Mon Feb 24, 2014 1:08 am
Re: dumping invalid data - maths channels
This one works for me 
but the term you want is 'undefined()
if("derivative engine speed">0 & "derivative engine speed" <3000 & "derivative tps" < 25
& "derivative tps" > -15 & "derivative speed" > -1.5
& "derivative speed" < 50
& trqFuelSev<0.5 & tcSpinErr < tcSpinTarg,lam1,undefined())


but the term you want is 'undefined()
if("derivative engine speed">0 & "derivative engine speed" <3000 & "derivative tps" < 25
& "derivative tps" > -15 & "derivative speed" > -1.5
& "derivative speed" < 50
& trqFuelSev<0.5 & tcSpinErr < tcSpinTarg,lam1,undefined())

http://www.riceracing.com.au
https://www.youtube.com/riceracingdonmega
Real turbo road cars fast > reliable > durable
Water Injection Specialist
https://www.youtube.com/riceracingdonmega
Real turbo road cars fast > reliable > durable
Water Injection Specialist
Re: dumping invalid data - maths channels
Fab! Thanks!!!
-
- Posts: 502
- Joined: Mon Feb 24, 2014 1:08 am
Re: dumping invalid data - maths channels
Not Sure if you have this already? http://www.liferacing.com/wp-content/do ... -08-12.pdfdr_jones wrote:Fab! Thanks!!!

Read all that and you should be right, as Dr Lexus says......

Learning all this can seem too much at first but after the major upgrayedd you will be feeling the love, opening up a whole new world to you.

http://www.riceracing.com.au
https://www.youtube.com/riceracingdonmega
Real turbo road cars fast > reliable > durable
Water Injection Specialist
https://www.youtube.com/riceracingdonmega
Real turbo road cars fast > reliable > durable
Water Injection Specialist
Re: dumping invalid data - maths channels
LOL - and no I did not - thanks again!