• Required reading for all forum users!!!

    Welcome!
    Register to access the full functionality of the GSResources forum. Until you register and activate your account you will not have full forum access, nor will you be able to post or reply to messages.

    A note to new registrants...
    All new forum registrations must be activated via email before you have full access to the forum.

    A Special Note about Email accounts!
    DO NOT SIGN UP USING hotmail, outlook, gmx, sbcglobal, att, bellsouth or email.com. They delete our forum signup emails.

    A note to old forum members...
    I receive numerous requests from people who can no longer log in because their accounts were deleted. As mentioned in the forum FAQ, user accounts are deleted if you haven't logged in for the past 6 months. If you can't log in, then create a new forum account. If you don't get an error message, then check your email account for an activation message. If you get a message stating that the email address is already in use, then your account still exists so follow the instructions in the forum FAQ for resetting your password.

    Have you forgotten your password or have a new email address? Then read the forum FAQ for details on how to reset it.

    Any email requests for "can't log in anymore" problems or "lost my password" problems will be deleted. Read the forum FAQ and follow the instructions there - that's what we have one for...

  • Returning Visitors

    If you are a returning visitor who never received your confirmation email, then odds are your email provider is blockinig emails from our server. The only thing that can be done to get around this is you will have to try creating another forum account using an email address from another domain.

    If you are a returning visitor to the forum and can't log in using your old forum name and password but used to be able to then chances are your account is deleted. Purges of the databases are done regularly. You will have to create a new forum account and you should be all set.

Audio tachometer software

Dogma

Forum Sage
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.
 
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:
...

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.
 
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.
 
Don't make me come down there...


nanana1.gif
..................
nanner1.gif








rofl1.gif
rofl1.gif
rofl1.gif
rofl1.gif
rofl1.gif


.
 
That's great, except for one little detail. :-k

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

.

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)
 
Back
Top