Measuring Car Engine RPM via the Cigarette Lighter

delorean

Sometimes we forget how many things we can do with a simple oscilloscope. In this video [Ben] uses one that Tektronix lent him to measure his DeLorean engine RPM. By checking the car main ~12V voltage one may notice that the voltage spikes occurring are directly related to the engine speed, as they are created by the inductive kicks from the ignition coils. Obviously the multiplication you have to do to get the RPMs from the number of spikes per second depends on your engine configuration (flat 4, v6…).

The method that [Ben] used was to search for high amplitude spikes on the (AC coupled) car 12V Fast Fourier Transform (FFT) to get a reliable measurement given the many electrical noise sources present in his car. At the end of his video, he however mentioned that it could still be possible to get a good measurement with a simple voltage comparator and a high enough voltage reference.

Comments

  1. Phrewfuf says:

    > The method that [Ben] used was to search for high amplitude spikes on the (AC coupled) car 12V Fast Fourier Transform (FFT) to get a reliable measurement given the many electrical noise sources present in his car.

    Wat? Do you even english?

    • Hopefully most of the time… what about a constructive critic and a replacement sentence suggestion?

      • Eirinn says:

        Time doesn’t matter once you reach 88mp/h

      • Eirinn says:

        “The method that [Ben] used was to search for high amplitude spikes on the (AC coupled) car 12V Fast Fourier Transform (FFT) to get a reliable measurement given the many electrical noise sources present in his car.”
        ->
        “The method [Ben] used, was to search for high amplitude spikes on the AC coupled car, using a 12V FFT (Fast Fourier Transform). Using an * FFT is needed to get reliable measurement given the many electrical noise sources present in his car.”

        * no idea what an FFT is, maybe elaborate? Using a “system”, like an FFT is needed

        Broke the sentence into many, added some pause commas.

        That would be my take anyway. Maybe add some line endings to break up the walls of text to create a little air.

        Enjoyed the article btw; This is a formality :)

        • thanks! however it is the 12v that is ac coupled to the oscilloscope :)

        • Bob says:

          I here FFT a lot but I don’t know what it is. I thought it was a maths integration (or derivative) that uses the TAN of a slope to determine frequency in a progressive way that is used to convert a signal to a spectrum of frequencies where the frequency is the reference rather than the signal (amplitude).

          Some one please correct me. A quick google shows that FFT is a wide range of functions but the ‘signal to spectrum’ is only a small part of FFT.

          • wh1tehall says:

            Fourier transform basically splits signal into a set of it’s harmonic parts (sine functions) FFT is just an algorithm for getting a reasonable approximation of this transform in reasonable time.

        • pelrun says:

          You put the word “using” in the wrong place. It’s supposed to be:

          “The method that [Ben] used was to search for high amplitude spikes on the (AC coupled) car’s 12V using a Fast Fourier Transform (FFT) to get a reliable measurement given the many electrical noise sources present in his car.”

        • Matt says:

          What in the heck are “pause commas”? Commas aren’t something you throw into writing just to help the reader take a breath.

          http://grammar.ccc.commnet.edu/grammar/commas.htm

      • HV says:

        Do you remember which site you’re writing for? That’s like asking red to be green. Fortunately others will jump in :)

    • alfie275 says:

      Actually this is grammatically correct, though perhaps slightly ambiguous.

      Try reading it like this (‘s denoting scope):

      The method that [Ben] used was <to search for on the < Fast Fourier Transform (FFT)>> to get a reliable measurement given .

      or:

      method_ben_used() { return search(fft(ac_coupled_car_12v), high_amplitude); }
      //Use FFT and find highest amplitude to help avoid noise issues

  2. Ole Wolf says:

    Simple hack: “… car 12 V with a Fast Fourier Transform.

    • repkid says:

      True, I wouldn’t call FFT simple.

      • FFT is simple enough for cell phones, cable modems, and nearly every other communications device using a DSP. The math may seem complex, but the same formula never changes.

      • Megol says:

        Coding it maybe isn’t but using existing code surely is? Even an AVR have plenty of power for doing something like that with C code.

        [AFAIK it wasn't too hard to code one either but that was a long time ago (>25 years) and as we all know walking to school uphill both ways in snow being chased by wolves with time becomes a pleasant memory ;) ]

  3. denis says:

    this system was(is?) used on the g-tech performance gauges to detect RPM used to have one, recall it being pretty accurate once calibrated.

  4. projectvdc says:

    So much NO in that description. Ugh… a DeLorean and THIS is the “hack”? Boring!

  5. Bob says:

    Are you telling me that you put an FFT… In a DeLorean?

    The way I see it, if you’re gonna switch form the time domain to the frequency domain, why not do it with some style?

  6. Mark says:

    I came across a product that uses this, plus FM transmitter to simulate the experience of a massive, noisy engine: http://www.soundracer.se/?p=98

    Quite cunning – a bit insane ;-)

    One of my old colleagues got one and it was surprisingly fun. On some cars it seemed to have more difficulty locking onto the RPM signal; I imagined it was because they had more modern electrics.

  7. Henrik Alexandersson says:

    Old news;

  8. Tim says:

    Most of the time battery voltage to RPM actually works by picking up the ripple from the alternator. AC couple the scope and you’ll get about 100mV of ripple. The frequency is directly proportional to the RPM. Picking up the injection and ignition spikes is a bit unreliable…

  9. RPM, not RPMs. Dear god.

  10. AlanH says:
  11. Adam says:

    An oscilloscope inside a DeLorean. I like where this is going

  12. this is what most car remote start system use or something similar — using tachless mode — car senses the voltage im sure its not really the same as i havent dug into the various brands and how they measure voltage and what nots

    but hay if he can just stick a flux capacitor in there it would be a lot better !!

  13. Cubby says:

    Hmmm….maybe I’m missing something but wouldn’t you want to -divide- by the number of the engine’s cylinders per RPM as compared with -multiplying- the spikes? For a 4 cyl. engine, 1 RPM would have to be divided by 4; 6 cyl. divided by 6, etc?

    • fonz says:

      In reality It is probably sensing the voltage ripple from the alternator not ignition pulses*, so it would be depended on number of alternator poles and gearing

      *Stuff the soundracer works in diesel engined cars

  14. MrGoodWrench says:

    Please enough already with the lame Delorean comments. I used to own one, and got rid of it for two reasons. 1: The V6 was underpowered 2. Got tired of the damn movie references people kept making everytime I took it out in public.

    Seems this “hack” is founded upon the requirement the electrical system of the host vehicle have poor noise filtering on the DC bus. If there is no coupled ignition noise to detect, it won’t work.

    What would be interesting is a “wireless” (as in AM radio based) device that would detect the spark plug firing rate and interpolate RPM from it. As anyone can attest, poorly filtered AM radios routinely pick up alternator whine (among other things).

  15. agtrier says:

    An oscilloscope? Why didn’t he simply use a flux capacitor?

  16. Tyler says:

    If you look at the current coming from the alternator with something like a LEM (or even a fairly wideband but good low-end current transformer) with something that is a little better at FFT’s (a HP 3561A dynamic signal analyzer) you can see some -really- neat stuff. In fact, you can identify the speed of the air conditioning fan and the dimming level of the cabin lights, for example — let alone the RPM from both the ignition noise and the fuel injector solenoids!

  17. Emerica says:

    I’ll still to counting the pulses on the plug wire. Works great when you only have one cylinder ;)

  18. daewootech says:

    i used to have an old Gtech Pro that did that. was kind of finicky…

  19. Kirk says:

    Checking the AC component introduced by the alternator is a viable option. It’s 3 phase AC rectified so there will be some noise. Funny thing some people don’t realize is that he alternator does not run 1:1 with the engine speed so unless you know the pulley ratio, you cannot expect that to be an easy to obtain indicator of engine speed.

    Ignition noise is far more reliable, but if the engine runs ‘wasted-spark’ you’ll get twice as many spikes in the DC line. A 6 cylinder engine could ‘sound’ like a 12, a 4 like an 8, an 8 like a 16 and… make sense yet? Wasted spark is each plug on each cylinder fires once every crankshaft revolution, whether the spark is needed or not.

    So yet another variable to consider.

  20. Measuring alternator phase / whine won’t work correctly unless you know the pulley ratios. If the alternator spins crank * 3… * 1.287… or whatever, you’d have to account for that in the code.

    Using ignition noise can work since it’s a spike every time a spark plug fires.

    But, if your engine uses wasted spark, that won’t work properly since that means spark plugs fire every crankshaft revolution, so twice as often as necessary. This could make a 6 sound like a 12, a 4 sound like an 8, a 12 sound like a 24… making sense?

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 92,295 other followers