Page 1 of 1

Writing a Coasting Math w/ i2 Standard

PostPosted: Wed Mar 11, 2009 10:07 am
by Brinkley
Hello,
I am using i2 Standard and have the latest updates. I have been writing Maths for different functions and now would like to write a Math for Coasting. The goal is to chart when I am off the throttle from 5% down to 0% and NOT on the brakes above a certain %.
First, can a Math like this be written with i2 Standard? If so can someone help me with the steps and formula?
Thanks for all and any help provided.

Re: Writing a Coasting Math w/ i2 Standard

PostPosted: Wed Mar 11, 2009 10:50 pm
by Holmz
Brinkley wrote:Hello,
I am using i2 Standard and have the latest updates. I have been writing Maths for different functions and now would like to write a Math for Coasting. The goal is to chart when I am off the throttle from 5% down to 0% and NOT on the brakes above a certain %.
First, can a Math like this be written with i2 Standard? If so can someone help me with the steps and formula?
Thanks for all and any help provided.


Brinkly,

What exactly are you hoping to get numbers on in terms of coasting?
I am doing the same so I can help with the math.
Also got the details on the PID - but am in the process of redoing a loom.
I would really like to transition to this inside the data logger itself after I get it running in i2 as a post-processing maths function.

What data do you have? You will need:
1) Speed, and if you are on a non-flat surface then position including altitude, a pitch gyro may also be useful.
2) Mass of the vehicle
3) Some way of identifying the coasting (neutral would work - or the 0%-throttle/0%-brake is a good approach. I will likely want to go for a switched input, or see if It can break the data out into a separate file.)

We'll probably be learning in parallel - so...
Where are you located - send me a PM.

Re: Writing a Coasting Math w/ i2 Standard

PostPosted: Thu Mar 12, 2009 9:00 am
by Brinkley
You asked what am I looking to get numbers on? Well this type of math seems to be common a Motec distributor showed me his Math: BrakePresFront(psi)<Brakethreshold(psi)ANDThrottlePos(%)<ThrottleThreshold(%). The Threshold (constants) where Brake Threshold 25psi and Throttle Threshold 5%.

This Math gives him a strip chart of short flat plateaus at the end of each straight that indicate when he is not on the throttle above 5% and not on the Brakes over 25psi. The visual chart helps highlight when the driver could be either on the throttle more or on the brake more.
That is what I am trying to accomplish.

I have Throttle position (%), I don't have Brake Pressure, but will substitute Negative Longitudinal G's from 0 to -.15G's. This will have to work until I install a brake pressure sensor. My problem with his math is he can assign Constants and I can't figure out how to do that with i2 Standard. I believe it might be impossible without moving to i2Pro.