Author Topic: RPM readings from ECU are glitchy  (Read 3460 times)

Offline rich4822

  • Hatchling
  • **
  • Posts: 20
RPM readings from ECU are glitchy
« on: May 09, 2019, 02:54:32 AM »
I've been doing some simple datalogging and found some odd glitches on the RPM readings.

They appear to get bigger, the higher up the RPM range you get.

This shows a small sample during a gear change:





This is data read from the ECU via the OBD, on a V11 Sport.

I don't know if this real, as in a dodgy TDC sensor or if it's the ECU getting it wrong...


beetle

  • Guest
Re: RPM readings from ECU are glitchy
« Reply #1 on: May 09, 2019, 03:12:22 AM »
Are there any noticeable physical affects? Momentary hesitation, or stumble? If not, it's probably a sampling issue. What are you logging with?

Offline rich4822

  • Hatchling
  • **
  • Posts: 20
Re: RPM readings from ECU are glitchy
« Reply #2 on: May 09, 2019, 06:08:34 AM »
Are there any noticeable physical affects? Momentary hesitation, or stumble? If not, it's probably a sampling issue. What are you logging with?

The logger is homebrew and is limited (at the moment) due to the ECU's slow response time. So sample rate is about 30ms.

I am experiencing occaisonal stutters/misfires, which is one of the reasons I have be looking at datalogging, the other being ECU remapping.

beetle

  • Guest
Re: RPM readings from ECU are glitchy
« Reply #3 on: May 09, 2019, 06:57:03 AM »
What else are you logging? Do the glitches occur with any other data variance?

Offline rich4822

  • Hatchling
  • **
  • Posts: 20
Re: RPM readings from ECU are glitchy
« Reply #4 on: May 11, 2019, 03:44:46 AM »
What else are you logging? Do the glitches occur with any other data variance?

I'm logging TPS, Injector time, speed.

The sample rate is too slow to say for sure, but there do appear to be injector timing upsets too.






My sample time is only once per 5 revs when doing 4500rpm, so I am reworking the logger to measure signals directly instead of using the slow ECU diagnostics port.
« Last Edit: May 11, 2019, 03:55:40 AM by rich4822 »

beetle

  • Guest
Re: RPM readings from ECU are glitchy
« Reply #5 on: May 11, 2019, 06:11:50 AM »
Yeah, more data would help narrow it further. The injector glitch is suspiciously coincident with the RPM spike. You could be looking at a phase sensor or injector issue.

Offline rich4822

  • Hatchling
  • **
  • Posts: 20
Re: RPM readings from ECU are glitchy
« Reply #6 on: May 13, 2019, 02:28:41 AM »
Yeah, more data would help narrow it further. The injector glitch is suspiciously coincident with the RPM spike. You could be looking at a phase sensor or injector issue.

So here is ECU reported RPM (green) and the Tacho signal frequency, measured by my datalogger and converted to RPM (red).

No glitches!

Next I will add in actual injector pulse width measurements...

Sample rate is about 60 times per second, so about 2 per rev at 2k rpm






Heres the datalogger - work in progress at the moment, it's also a digital dasoboard!


« Last Edit: May 13, 2019, 02:34:59 AM by rich4822 »

Offline Kiwi_Roy

  • Gaggle Hero
  • *****
  • Posts: 10223
  • Location: New Westminster British Columbia, Canada
Re: RPM readings from ECU are glitchy
« Reply #7 on: May 13, 2019, 08:51:20 AM »
Have you tried looking at it with a simple oscilloscope, perhaps you are getting false triggers.
Exactly what terminal are you reading from the ECU?
« Last Edit: May 13, 2019, 08:52:48 AM by Kiwi_Roy »
17 V7III Special
76 Convert

Moto Guzzi - making electricians out of riders since 1921

Offline rich4822

  • Hatchling
  • **
  • Posts: 20
Re: RPM readings from ECU are glitchy
« Reply #8 on: May 13, 2019, 09:59:58 AM »
Have you tried looking at it with a simple oscilloscope, perhaps you are getting false triggers.
Exactly what terminal are you reading from the ECU?

Yes, the scope doesn't tell me much as I can only look at one pulse. The datalogger times every pulse.

I'm looking at the tacho signal that goes to the rev counter and the RPM value reported by the ECU via the diagnostics. The values reported over the diagnostics port has the glitches in.

Offline Wayne Orwig

  • Gaggle Hero
  • *****
  • *
  • *
  • Posts: 14046
    • Hog Mountain weather
  • Location: Hog Mountain
Re: RPM readings from ECU are glitchy
« Reply #9 on: May 13, 2019, 10:31:10 AM »
So here is ECU reported RPM (green) and the Tacho signal frequency, measured by my datalogger and converted to RPM (red).

Are you saying that the tach pulse signal appears to have the same glitch?

I see an Arduino. I've been playing with a Nano board myself. Handy little thing.
Scientist have discovered that people will believe anything, if you first say "Scientists have discovered...."

Offline Kiwi_Roy

  • Gaggle Hero
  • *****
  • Posts: 10223
  • Location: New Westminster British Columbia, Canada
Re: RPM readings from ECU are glitchy
« Reply #10 on: May 13, 2019, 12:18:28 PM »
Are you saying that the tach pulse signal appears to have the same glitch?

I see an Arduino. I've been playing with a Nano board myself. Handy little thing.
He said in reply No 6 the tach pulse has no glitch, both signals come from the ECU but i doubt the tach is through the processor, maybe just converted from a coil spike to square wave the glitchy signal would be numbers, no.

Its quite the project you have taken on Rich
Have you asked the guys over at VII Lemans.com they have been wrestling with spine frames for 30 years.
17 V7III Special
76 Convert

Moto Guzzi - making electricians out of riders since 1921

Offline rich4822

  • Hatchling
  • **
  • Posts: 20
Re: RPM readings from ECU are glitchy
« Reply #11 on: May 13, 2019, 01:30:03 PM »
He said in reply No 6 the tach pulse has no glitch, both signals come from the ECU but i doubt the tach is through the processor, maybe just converted from a coil spike to square wave the glitchy signal would be numbers, no.

Its quite the project you have taken on Rich
Have you asked the guys over at VII Lemans.com they have been wrestling with spine frames for 30 years.

Hi Roy,

Yes, I hve posted on V11 Lemans too...

The main experts on the ECU appear to be in Germany and have probably got fed up with me hassling them with loads of questions!  :laugh:

Anyway, this is just a hobby for me, gives me stuff to learn and it's been interesting to find out about the ECU etc.

When I get the datalogger working with O2 sensors, I can explore remapping, but for now, I'm looking for the source of an occaisonal misfire.

I can set the logger up to record only at specific speeds or RPM's or it can record while I have a button pressed on the bars so I don't have to wade through tons of data.

I have a break out cable between the ECU and the main loom so I can easily get at any of the bikes vitals.

Offline Kiwi_Roy

  • Gaggle Hero
  • *****
  • Posts: 10223
  • Location: New Westminster British Columbia, Canada
Re: RPM readings from ECU are glitchy
« Reply #12 on: May 13, 2019, 04:05:28 PM »
Cliff Jefferies MyECU site, gives a good explanation of his. I bought his kit-set for my VII before Guzzidiag was available.
I expect you have checked that out as well.
17 V7III Special
76 Convert

Moto Guzzi - making electricians out of riders since 1921

Offline rich4822

  • Hatchling
  • **
  • Posts: 20
Re: RPM readings from ECU are glitchy
« Reply #13 on: May 14, 2019, 05:49:52 PM »
This log shows more data with injector timings. No changes in fueling seen so glitches are just coming from the ECU... These will only be an issue for my digital dashboard are are so fast, I doubt I'll see them...




Offline rich4822

  • Hatchling
  • **
  • Posts: 20
Re: RPM readings from ECU are glitchy
« Reply #14 on: May 14, 2019, 06:16:49 PM »
I see you're not used to Guzzi gauges. The tach is only there to let you know the motor is running and the speedo is only there to  you know you are moving forward. Accuracy of either is suspect.

Ha! Yes, my gauges are very friendly, they are always waving at me...

beetle

  • Guest
Re: RPM readings from ECU are glitchy
« Reply #15 on: May 14, 2019, 07:04:19 PM »
So, just data glitches in the k-line? Well, at least you know there's nothing mechanically wrong.

 :violent1:

Offline rich4822

  • Hatchling
  • **
  • Posts: 20
Re: RPM readings from ECU are glitchy
« Reply #16 on: May 15, 2019, 02:12:49 AM »
So, just data glitches in the k-line? Well, at least you know there's nothing mechanically wrong.

 :violent1:

Yes looks that way...

Now to find out what happens when the motor hiccups when coasting... I need to pick up the ingition coil pulse for that...

Offline pauldaytona

  • Gaggle Hero
  • *****
  • Posts: 2571
    • Paul's fast Guzzi Page
Re: RPM readings from ECU are glitchy
« Reply #17 on: May 15, 2019, 02:28:39 PM »
getting rpm is better to pick up the pulses on the injector. Same as on the coil, but the coil is a nasty signal. The injector is where I get the rpm from for my datalogging with a LM1
Paul

Daytona 1225, Stelvio 1151





Download Guzzidiag here: http://www.von-der-salierburg.de/download/GuzziDiag/

Offline rich4822

  • Hatchling
  • **
  • Posts: 20
Re: RPM readings from ECU are glitchy
« Reply #18 on: May 15, 2019, 03:02:48 PM »
getting rpm is better to pick up the pulses on the injector. Same as on the coil, but the coil is a nasty signal. The injector is where I get the rpm from for my datalogging with a LM1

Yes the coil drive has a peak voltage of 350v, but I want to know if the misfire is injector or ignition, so I want to look at both.

RPM from the tacho signal looks accurate and is free of glitches.

beetle

  • Guest
Re: RPM readings from ECU are glitchy
« Reply #19 on: May 15, 2019, 04:27:18 PM »
Nothing wrong with picking the coil pulse from the ECU side.

Offline rich4822

  • Hatchling
  • **
  • Posts: 20
Re: RPM readings from ECU are glitchy
« Reply #20 on: May 16, 2019, 03:11:13 AM »
Nothing wrong with picking the coil pulse from the ECU side.

Nope, but it is still a big ol' spike from the back emf.

***Wildguzzi Official Logo High Quality 5 Color Window Decals Back In Stock***
Shipping in USA Only. Awesome quality. Back by popular demand. All proceeds go back into the forum.
Best quality vinyl available today. Easy application.
Advertise Here
 

***Wildguzzi Official Logo High Quality 5 Color Window Decals Back In Stock***
Shipping in USA Only. Awesome quality. Back by popular demand. All proceeds go back into the forum.
Best quality vinyl available today. Easy application.
Advertise Here