Announcement

Collapse
No announcement yet.

Audio tachometer software

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Audio tachometer software

    Maybe I'm tone deaf or something. When Steve set my idle mix screws, I was amazed at the subtlety of the change in rpm. He and Rob were both able to hear the adjustments Steve was making, but I couldn't detect the change. So I was wondering if there were any tools that might help me out with this.

    I knew the model airplane crowd used to use audio tachometers for tuning their engines, but I wanted something free, of course. I found this. This is a software tool that uses a PC's microphone to detect audio pulses and convert them to an rpm figure. There are also Android and iPhone apps that do this, but the only Android app isn't free. Dunno about iPhone versions.

    The software is designed for electric helicopters, so it assumes it's counting pulses from rotor blades passing the mic. It has settings for 2, 3, 4, or 5 blade rotors. 4-stroke inline 4 engines create two exhaust pulses per rev, so set the software for 2 blades. Twin riders will have to double the output for 2 blades, since monocopters aren't supported. There are also sliders for upper and lower rpm ranges. I think these control software filtering of noise that might confuse the reading.

    I just tested this against my 850's tach, and it does work. The main limitation seems be resolution lower than the number of significant figures displayed. The real resolution is some fraction of 100 rpm (for two blades). The update speed of 1 second is a bit of a nuisance.

    Not too surprisingly, the 850's tach reads some significant percentage lower than the software reads. I didn't take the time to study the error since the garage was getting a bit poisonous, even with the door open. I think this could be used to calibrate the tachometer for those interested, in a way similar to calibrating a speedometer against the GPS. The filter sliders don't go high enough for a bike's redline, but you could probably use the blade count to get a multiplier that would give useful results.

    Take it or leave it, there it is. It's free, but not open source. Binaries only, so buyer beware. Keep your laser, um, anti-virus handy. The computer is your friend. You don't have to laugh if you didn't get the reference there.
    Dogma
    --
    O LORD, be gracious to me; heal me, for I have sinned against you! - David

    Skeptical scrutiny is the means, in both science and religion, by which deep insights can be winnowed from deep nonsense. - Carl Sagan

    --
    '80 GS850 GLT
    '80 GS1000 GT
    '01 ZRX1200R

    How to get a "What's New" feed without the Vortex, and without permanently quitting the Vortex

    #2
    very cool!

    Comment


      #3
      I'm using Iridium library from the Math.NET project to do 32768 point FFT which at 44.1 kHz sampling rate gives me the spectrum every ~1 second. Then I look for the peak in the selected range and see if its power is substantially higher than the average in the range (where "substantial" is a hard-coded constant at the moment). If so, I convert the frequency to RPM and display it.
      It is mildly irritating how easy it is to solve (read "over kill") problems like this now a days.

      A 32K FFT at 1 Khz to measure a single frequency is pretty brute force, but hey when ya got power it to burn

      Wow have times have changed. I invented a frequency read out device (Digital PLL) to basically do this 30 years ago (for a hopping jammer) and would never have dreamed to use an FFT like this. It was just too computationally intensive to ever be feasible. It is still not the most elegant solution even today, but it works.

      Even worse the guy did not even have to know what he was doing as far as optimization of the sampling parameters. It is sooooo easy "even an caveman can do it"


      The modern solution provides an RPM readout but it is only 1 hz resolution which converts to 30 RPM resolution. He should have reduced the FFT size (leaving the audio sample rate constant) to get more resolution. Too bad it is just binary or you could make the mod.

      You could probably also just pick up the ignition noise on an AM radio as the signal will be at about 33 hz/1Khz RPM. You can listen to the radio change tone as the idle changes.
      Last edited by posplayr; 08-11-2010, 08:29 PM.

      Comment


        #4
        Originally posted by posplayr View Post
        ...

        You could probably also just pick up the ignition noise on an AM radio as the signal will be at about 33 hz/1Khz RPM. You can listen to the radio change tone as the idle changes.

        The modern solution provides an RPM readout but it is only 1 hz resolution which converts to 30 RPM resolution. He should have reduced the FFT size (leaving the audio sample rate constant) to get more resolution. Too bad it is just binary or you could make the mod.
        Ah, the bad ol' days... If I even had an AM radio (I think there might be one in the car), I probably still couldn't pick up the change in tone necessary to do the tuning. Maybe I just need to train my ear a bit without Rob and Steve telling me it changed.

        Definitely wanted to get my hands on the source code, even though it's in a language I've never tinkered in. I could have at least found and fiddled the variables and menus.

        I wonder if I could get better resolution out of the the Android app. It's only a few bucks.
        Dogma
        --
        O LORD, be gracious to me; heal me, for I have sinned against you! - David

        Skeptical scrutiny is the means, in both science and religion, by which deep insights can be winnowed from deep nonsense. - Carl Sagan

        --
        '80 GS850 GLT
        '80 GS1000 GT
        '01 ZRX1200R

        How to get a "What's New" feed without the Vortex, and without permanently quitting the Vortex

        Comment


          #5
          That's great, except for one little detail.
          Originally posted by Dogma View Post
          ... This is a software tool that uses a PC's microphone to detect audio pulses ...
          I don't have a microphone on any of my computers.

          .
          sigpic
          mine: 2000 Honda GoldWing GL1500SE and 1980 GS850G'K' "Junior"
          hers: 1982 GS850GL - "Angel" and 1969 Suzuki T250 Scrambler
          #1 son: 1986 Yamaha Venture Royale 1300 and 1982 GS650GL "Rat Bagger"
          #2 son: 1980 GS1000G
          Family Portrait
          Siblings and Spouses
          Mom's first ride
          Want a copy of my valve adjust spreadsheet for your 2-valve per cylinder engine? Send me an e-mail request (not a PM)
          (Click on my username in the upper-left corner for e-mail info.)

          Comment


            #6
            Originally posted by Steve View Post
            That's great, except for one little detail.

            I don't have a microphone on any of my computers.

            .
            Moot point. You can hear the changes.
            Dogma
            --
            O LORD, be gracious to me; heal me, for I have sinned against you! - David

            Skeptical scrutiny is the means, in both science and religion, by which deep insights can be winnowed from deep nonsense. - Carl Sagan

            --
            '80 GS850 GLT
            '80 GS1000 GT
            '01 ZRX1200R

            How to get a "What's New" feed without the Vortex, and without permanently quitting the Vortex

            Comment


              #7
              Originally posted by Dogma View Post
              Moot point. You can hear the changes.
              I thought he was using a mic input to a sound card to do the input processing ; no?

              With power to burn, you could do some time of pickup off the stator side AC and drive a speaker. Higher freqency than ignition.

              Comment


                #8
                Originally posted by Dogma View Post
                Moot point. You can hear the changes.
                Actually, without a microphone, it's a MUTE point.

                .
                sigpic
                mine: 2000 Honda GoldWing GL1500SE and 1980 GS850G'K' "Junior"
                hers: 1982 GS850GL - "Angel" and 1969 Suzuki T250 Scrambler
                #1 son: 1986 Yamaha Venture Royale 1300 and 1982 GS650GL "Rat Bagger"
                #2 son: 1980 GS1000G
                Family Portrait
                Siblings and Spouses
                Mom's first ride
                Want a copy of my valve adjust spreadsheet for your 2-valve per cylinder engine? Send me an e-mail request (not a PM)
                (Click on my username in the upper-left corner for e-mail info.)

                Comment


                  #9
                  Originally posted by Steve View Post
                  Actually, without a microphone, it's a MUTE point.

                  .
                  Don't make me come down there...
                  Dogma
                  --
                  O LORD, be gracious to me; heal me, for I have sinned against you! - David

                  Skeptical scrutiny is the means, in both science and religion, by which deep insights can be winnowed from deep nonsense. - Carl Sagan

                  --
                  '80 GS850 GLT
                  '80 GS1000 GT
                  '01 ZRX1200R

                  How to get a "What's New" feed without the Vortex, and without permanently quitting the Vortex

                  Comment


                    #10
                    Originally posted by Dogma View Post
                    Don't make me come down there...

                    ..................









                    .
                    sigpic
                    mine: 2000 Honda GoldWing GL1500SE and 1980 GS850G'K' "Junior"
                    hers: 1982 GS850GL - "Angel" and 1969 Suzuki T250 Scrambler
                    #1 son: 1986 Yamaha Venture Royale 1300 and 1982 GS650GL "Rat Bagger"
                    #2 son: 1980 GS1000G
                    Family Portrait
                    Siblings and Spouses
                    Mom's first ride
                    Want a copy of my valve adjust spreadsheet for your 2-valve per cylinder engine? Send me an e-mail request (not a PM)
                    (Click on my username in the upper-left corner for e-mail info.)

                    Comment


                      #11
                      Originally posted by Steve View Post
                      That's great, except for one little detail.

                      I don't have a microphone on any of my computers.

                      .
                      If you have a mic input jack on the computer and $1 you do ...

                      Headphones and microphones are to some extent interchangeable.
                      (just like motors and generators)
                      Dollar store headphones work "OK" as microphones for some tasks, and would probably work well enough for this.
                      (Efficiency and frequency response are probably HORRIBLE, but it shouldn't matter)
                      (depending on the microphone input jack on the computer you might nominally need a stereo to mono converter too, but even without, it would PROBABLY work)

                      Comment

                      Working...
                      X