Hi All, I'm wondering if anybody else is getting data spikes in their CSV files when recording data using a Nanocom?
I thought it might be a loose connection somewhere at the diagnostics port, but not all the values jump and dip at the same time. I'm hoping my ECU isn't on the way out!
I have attached the .xlxs files (can't upload .csv files) if you'd like to see the spikes.
I'm using a Nanocom Evolution with my 1999 TD5 defender. -Cheers.
Ok, cheers. You don't notice any engine stutter around the time the spikes occur? It's probably only my imagination. You have to wonder if it is the ECU whether it reacts to the spikes or not.
If it is all running smoothly I wouldn't worry too much.
i've had the same problem in times past and it's pretty simple to write a formula in excel to filter the spikes out and then plot the graphs at a meaningful scale.
cheers
Steve
It is a sad fact that the TD5 ECU does indeed very occasionaly reply to requests for dynamic data, as used in the instrument mode, with values that are clearly wrong and so in logging, causes occasional spikes etc.
This may be due to a lack of processing power in the ECU or it being overloaded with doing its normal job while also having to process repeated Diagnostic requests.
We did think about trying to automatically correct this, however that would mean putting pre determined limits on each value and distorting / changing the real results which in some cases might mask real problems.
We also cannot just remove an errant value without distorting the Time line.
In the end we decided to provide and log the values the ECU provides, exactly as is, warts and all, for all to see. After all it is hard enough to provide equipment without our having to also find ways to overcome problems and errors that are not of our making, although you would be surprised as to how often we do have to do this.
In this case, we have left recognising and if desired, fixing these errant values supplied by the TD5 ECU by editing the CSV data, down to the user.
Further proof that this is caused by the TD5 ECU rather than the nanocom is that the half a dozen other EMS ECU's the nanocom covers and has Instrument mode & recording of values, do not have these anomolies / spikes.
Thanks also Colin
It’s good to get confirmation of what I have felt for a long while, that this is unfortunately normal behaviour, which does not effect the operation of the vehicle.
I also totally agree with your position that the instrument only presents the raw data to the user, warts and all and it is the users responsibility to further process/clean the data so that they can interpret and derive meaning from it.
As to the removal of outliers (aka spikes) it’s a relatively simple exercise, computationally speaking, to remove the spike, while leaving the readings either side untouched and preserving the row integrity. It’s something I commonly do, to clean up instrument data feeds and large data sets of multi element chemical analyses, before undertaking analysis of the data set. Audio engineers have been doing it to multi-channel data for years (google median filter) and a formula can be easily created in Excel.
Cheers
Steve
As Colin says the Td5 does occasionally respond with messages that contain incorrect data.
However in my experience these messages always have a mismatch between the checksum and the message contents.
The checksum is a simple method of checking the message integrity, so a mismatch indicates the contents have been altered between preparation in the ECU and reception by the tester.
If a checksum failure is detected the "correct" behaviour outlined in the ISO14230 standard used by the ECU is to discard the corrupt message and resend the request to the ECU up to two additional times, for a total of three attempts. The ECU usually responds correctly to the second request.
That simple bit of error checking completely eliminates spikes from the log data.
I've attached an example log. This has "raw" ECU values - so mV, temperatures in K and decimal places have not be shifted etc.
In this example the time between repeats of the log data is about 600ms vs 1.2 seconds for the Nanocom Evo.
The log covers about 30 minutes, and you'll see there are no data spikes at all.
LOG014_aulro.csv
| Search AULRO.com ONLY! |
Search All the Web! |
|---|
|
|
|
Bookmarks