Datalog resolution

FlashPro Manager software
Gernby
Posts: 307
Joined: Thu Oct 29, 2009 2:53 pm

Datalog resolution

Post by Gernby »

When I export a datalog to a CSV file, the resolution of VSS and RPM are very granular. Would it be possible to increase the resolution of these values to tenths of a MPH and / or 1 RPM? The reason I'm asking is because I'd like to use the datalog to generate a torque curve. As the values are now, you have to average hundreds of frames to get a curve that looks anything like a torque curve. But when I do that, all the real dips and humps in the torque curve are averaged out too.
'06 NFR S2000
User avatar
Hondata
Site Admin
Posts: 10615
Joined: Thu Aug 15, 2002 12:13 pm
Location: Torrance, CA
Contact:

Post by Hondata »

The rpm changes about every 5-7 records because of the way the information is read from the ECU in packets.

The ECU only records the speed to 1 kph.
Hondata
Gernby
Posts: 307
Joined: Thu Oct 29, 2009 2:53 pm

Post by Gernby »

Hondata wrote:The rpm changes about every 5-7 records because of the way the information is read from the ECU in packets.

The ECU only records the speed to 1 kph.
That's disappointing, but I guess I can use a higher gear to do what I need. The only downside is the higher possibility of a ticket. Redline in 4th gear is how many MPH?
'06 NFR S2000
Gernby
Posts: 307
Joined: Thu Oct 29, 2009 2:53 pm

Post by Gernby »

How can I datalog KPH instead of MPH? That would give me somewhat better resolution.
'06 NFR S2000
User avatar
Hondata
Site Admin
Posts: 10615
Joined: Thu Aug 15, 2002 12:13 pm
Location: Torrance, CA
Contact:

Post by Hondata »

Options, Sensors, Vehicle Speed
Hondata
VitViper
Posts: 273
Joined: Thu Aug 27, 2009 10:38 pm

Re: Datalog resolution

Post by VitViper »

Gernby wrote:When I export a datalog to a CSV file, the resolution of VSS and RPM are very granular. Would it be possible to increase the resolution of these values to tenths of a MPH and / or 1 RPM? The reason I'm asking is because I'd like to use the datalog to generate a torque curve. As the values are now, you have to average hundreds of frames to get a curve that looks anything like a torque curve. But when I do that, all the real dips and humps in the torque curve are averaged out too.
Hey, I wrote my own graphing software that graphs road torque. It's been used by several people on 8thCivic and they absolutely love it. Not having any issues with resolution etc. If you want to post up an S2k 3rd gear WOT pull datalog I'll run it through my app and show you the results.
Gernby
Posts: 307
Joined: Thu Oct 29, 2009 2:53 pm

Post by Gernby »

I would really like to see your road torque output.

Thanks!
You do not have the required permissions to view the files attached to this post.
'06 NFR S2000
VitViper
Posts: 273
Joined: Thu Aug 27, 2009 10:38 pm

Post by VitViper »

Ignore the CAM portion since your S2k has no VTC (but the FPro logs it so my software tries to graph it).

Also, maybe Hondata can comment, is the Af.Corr value valid in S2000 logs? It seems to be recording something but it's way off from the regular Af value for the S2k. Thats the value my software graphs out of FPro logs.

As for the peak values, I'm not sure your mods so I don't know how legit those are. Also gearing and weight factor into my equations. I'm using a 4.10 final drive and a 1.48 3rd gear. Stock weight + 180lb driver. If the road you were using is even slightly down hill, it'll inflate #'s as well.
Image
Gernby
Posts: 307
Joined: Thu Oct 29, 2009 2:53 pm

Post by Gernby »

Thank you very much for posting that. It has the same general shape as what I've been able to generate, but much much smoother. Of course, the smoothness is what concerns me, since a dyno would probably show a lot of real dips and humps. I'll post some screen shots from mine when I get to work.

BTW, I weigh over 230 lbs naked after a good duece. My mods other than the FlashPro are a PWJDM intake, and some cooling items (1 step colder plugs, high pressure thermostat, 80% water coolant mix, and a slightly hotter thermostat).
'06 NFR S2000
Gernby
Posts: 307
Joined: Thu Oct 29, 2009 2:53 pm

Post by Gernby »

BTW, does your app make any sort of adjustment for wind resistance? The most obvious issue with doing a road test vs a dyno test is that aerodynamic drag will make a road test look like the torque drops as RPM's climb, but a dyno test won't.
'06 NFR S2000
VitViper
Posts: 273
Joined: Thu Aug 27, 2009 10:38 pm

Post by VitViper »

No problemo.

The smoothing is part of the algorithm. I can make the graphs very very smooth. That one has a bit of smoothing, as well an algorithm applied to strip some of the datalogging noise out of the graph.

The peak #'s I'm just curious about because I know S2000's with minimal mods don't dyno that high.

Peak #'s aside, I've found it a very useful app to street tune vehicles. Comes in handy.
Gernby
Posts: 307
Joined: Thu Oct 29, 2009 2:53 pm

Post by Gernby »

Here is what I'm getting without any smoothing at all. This is just a graph of the rate of change in the RPM value over time. I am only filtering out the frames with duplicate RPM values. The unit of the Y access is RPM / Second

Image

Here is another where I'm doing various amounts of averaging to smooth out the plots. Obviously, I could smooth it more, but it's hard to tell what is too much. I think some of the dips and bumps might NOT be noise. Thoughts?

Image
'06 NFR S2000
Gernby
Posts: 307
Joined: Thu Oct 29, 2009 2:53 pm

Post by Gernby »

BTW, my VTEC engagement point is 5500 RPMs. Does it look from the graphs above that I might need to lower it some more?
'06 NFR S2000
VitViper
Posts: 273
Joined: Thu Aug 27, 2009 10:38 pm

Post by VitViper »

Gernby wrote:Here is what I'm getting without any smoothing at all. This is just a graph of the rate of change in the RPM value over time. I am only filtering out the frames with duplicate RPM values. The unit of the Y access is RPM / Second
Yeah, that's terribly jumpy. BTW, I wrote my trimming algorithm as such:

Code: Select all

if (next_RPM <= last_used_RPM) then 
  skip_next_rpm 
else 
  save_next_RPM_datalog_data
  last_used_RPM = next_RPM
That basically eliminates all the up/down action due to sometimes the datalog points do something like:

2475
2475
2435
2535
2536

etc... It helps ditch the stragglers like '2435' that don't belong.
Gernby wrote: Here is another where I'm doing various amounts of averaging to smooth out the plots. Obviously, I could smooth it more, but it's hard to tell what is too much. I think some of the dips and bumps might NOT be noise. Thoughts?

Image
See above related to dips/bumps. Those straggler points cause a lot of jaggedness.

As far as your VTEC point. Set VTEC high (like 6500). Do a 3rd gear pull til about 6000 rpm in 3rd. Set VTEC low (3500?) and do a 3rd gear pull from 3k to 8k.

Graph the two and where they intersect is going to be your vtec point, give or take a couple hundred rpm maybe. Way easier on the S2k than on the K20.

I'm doing a full cam angle tune for a Si driver and check out these cam angle overlays:
http://pics.fullavit.com/logs/galaxygrey/overlay2.png

How's that for tuning VTEC point? :lol:

We're not even done yet... still the 15/40/50 high cam angles to tune (around 50 usually makes best after 4k rpm on the Si). But as you can tell already, the 30* cam is absolutely raping the low cam (i didn't graph 50* low cam in that plot cause the car hated it)[/code]
Gernby
Posts: 307
Joined: Thu Oct 29, 2009 2:53 pm

Post by Gernby »

I'm glad you mentioned the occasional drop in RPM in the datalog. I hadn't noticed that. However, since I'm smoothing across 80 frames for each datapoint on the torque plot, implimenting the fix that you suggested made for a very minor reduction in the noise.
'06 NFR S2000
Locked