# Automotive tachometer signal interpretation

I'm trying to build a custom dashboard for a car (Daewoo Lanos 1998 with Delco ECU). Tachometer signal, that comes to dashboard with a separate wire looks a bit strange to me. It seems that the signal is related to the ignition coils, and after a little digging around on the Internet I realized how to convert the frequency of this signal into a real RPM value.

Let me show you what I'm talking about:

Each cycle begins with a gradual increase from 0 to ~ 0.7V. Then for a few milliseconds it stays at that level. After that we can see sharp falling edge. This part is completely understandable to me and does not create any difficulties. Problems begin further: after this pulse there can be a surge up to 1V for a few microseconds. But also these surges can sometimes not be observed. But the worst part is that some of the main pulses can be interrupted by other bursts with a length of about 100 microseconds.

This is an example of a typical burst after main pulse.

And here is what this surge looks like at a closer look.

Here is an example of how a useful signal being interrupted.

And here we can observe something like a double rise.

Measurements has been done with Saleae Logic 8 at 10MHz resolution (without any scaling probes).

What I'm know for sure is that somehow, tachometer in the car can cope with signal well. Unfortunately, my ideas do not go beyond using an RC circuit with an op amp. However, this will not solve the entire problem. Please tell me how best to filter/convert this signal so that it can be used as an interrupt for the microcontroller. I would also be very interested to know the nature of this signal, why it is exactly the way we observe it, and why these bursts and other artifacts appear.

• Capture data and learn DSP basics. Make sure that you capture several sets of this data at slow, medium, and very fast rates so that you have enough to test your algorithm. This is a great learning experience. And it's the kind of signal that's (so far as I can see right now) easily "cleaned up" to create something robust for your needs. None of the surges, double rises, etc. make this look at all hard to me. (Of course, who knows what else you might collect? I suspect there will be more surprises as you collect more data, but this looks more fun than work to me.)
– jonk
Aug 18 '19 at 21:28
• It is highly unlikely that you are measuring the signal correctly. Are you sure you are measuring it correctly? In general signals in cars are designed to be very robust and immune to interference. As such they are often full supply rail (12V) or if they are small signals will be signalled differentially. Cars generate interference signals of one volt or more. I would expect the tacho signal to come straight from the ignition circuit and be many volts in amplitude. Aug 18 '19 at 21:59
• @KevinWhite, Your comment makes sense. For me it is also strange that the signal amplitude is about 1V. However, I made sure that all GND pins are common, so it is unlikely that I chose the wrong measurement reference point. The signal presumably comes directly from the ECU, so I assume that such an amplitude is possible. For measurements, I used the original Saleae Logic with 10MHz bandwidth. It can measure voltage up to 5V. We would see clipping if the signal was higher, and also I used direct probing without any 10X or 100X dividers. Aug 19 '19 at 8:44
• @jonk Do you know a good method of capturing and then replaying a signal? This would greatly simplify my work, as it would not be necessary to have a car nearby with the engine running) Aug 19 '19 at 8:47
• @Ruslan You usually create or buy a simple tool that records ADC readings. Most digital scopes can be used for this, if you can power them up near the car. (Long cord?) The digital scope may include a place to put a USB memory stick, for example, where it saves the captured data. A battery-powered, portable digital scope might be still better, of course. Or at least, more convenient. But if you don't have one, then you don't.
– jonk
Aug 20 '19 at 7:46