The evolution of "Tach Noise Filtering" function

This is a forum for discussing the development and testing of alpha MS2/Extra code. Documentation
(Runs on MS2 and Microsquirt)

Moderators: jsmcortina, muythaibxr

tmbryhn
Helpful MS/Extra'er
Posts: 49
Joined: Sun Nov 06, 2011 6:27 am

Re: The evolution of "Tach Noise Filtering" function

Post by tmbryhn »

Indeed. I often expand the clearance or add a load resistor across.
Altough I have experienced consistent trigger miss at a given RPM using a resistor of too low value, say 1k. The problem occured at a higher RPM as i tried resistors with increased values. Used a larger resistor (2k2) and the problem happened at a higher rpm. Just installed a 10k and it let me rev to the limiter.
I have not figuered that one out yet. Guess I got lazy since it worked, lol!
muythaibxr
Site Admin
Posts: 8230
Joined: Thu Oct 14, 2004 12:48 pm

The evolution of "Tach Noise Filtering" function

Post by muythaibxr »

On the nippondenso 24 tooth systems it even filters crosstalk on 2nd trig from the 24 tooth wherl... that is until you drop below 1400ish rpm, then 85ms isn't long enough. So I wrote a special crosstalk filter that cures that.
Megasquirt is not for use on pollution controlled vehicles. Any advice I give is for off road use only.
tmbryhn
Helpful MS/Extra'er
Posts: 49
Joined: Sun Nov 06, 2011 6:27 am

Re: The evolution of "Tach Noise Filtering" function

Post by tmbryhn »

Nice! Yes, because of the adaptive threshold that is.
I wish that time constant could be altered like some of the other features by adding external components around the MAX and running it in another mode. Of course, you can alter the threshold level by feeding it with an analog signal on one of the pins, thus raising the level when needed. Would require an additional micro or some analog circuitry sensing the input amplitude and then stimulating the MAX.

I get a period of 85ms @ 706 RPM for a single tooth/rev. pattern.
706/60 = 11.76 revs/sec
1/11.76 gives a period of 0.085 sec.

Is there something about that tooth pattern that I'm missing? I thought the Nippon' 24 was just a 24-tooth wheel + a single tooth for sync per rev. on an individual sensor?

I had a similar problem when I set up an ECU for a friend running 4-1 trigger wheel. The engine cranked just to slow for the period to time out and the adaptive threshold would reset to the low threshold level of bout 20mVpp. So I made him upgrade to a 36-1 :-D
Did similar math back then, and that quickly revealed the problem.
muythaibxr
Site Admin
Posts: 8230
Joined: Thu Oct 14, 2004 12:48 pm

Re: The evolution of "Tach Noise Filtering" function

Post by muythaibxr »

The wheel turns at cam speed, so you have to double your rpm.
Megasquirt is not for use on pollution controlled vehicles. Any advice I give is for off road use only.
tmbryhn
Helpful MS/Extra'er
Posts: 49
Joined: Sun Nov 06, 2011 6:27 am

Re: The evolution of "Tach Noise Filtering" function

Post by tmbryhn »

Ahh, I forgot the Nippon 24 is distributor/cam based.
Then it all makes sense. Your calc (1400) matches with mine (706) then ;-)

I have not gotten out my scope to measure on in the car, but do you have an idea of why I got consistent sync losses at a given RPM when shunting the VR+/- together with a relatively low value resistor (1k), and that the RPM point for when the sync error occurs is raised with increased resistance? Sync is perfect up until the given RPM point. It's like hitting the limiter.
I have read somewhere in the MS3-pro manual that you can add a 10k ristor across the two VR-terminals if you have sync problems. I reckon this is for loading the sensor so that there is a smaller amount of energy needed to get clamped by the internal diodes of the MAX circuit?
muythaibxr
Site Admin
Posts: 8230
Joined: Thu Oct 14, 2004 12:48 pm

Re: The evolution of "Tach Noise Filtering" function

Post by muythaibxr »

I don't know for sure, but I think the analog signal gets clipped with the 36-1 and 60-2 wheels (voltage too high) and that causes issues for the conditioner that adding a resistor fixes.

Someone more experienced on the details of the electrical side of things can comment.

Ken
Megasquirt is not for use on pollution controlled vehicles. Any advice I give is for off road use only.
Peter Florance
Super MS/Extra'er
Posts: 3653
Joined: Fri Apr 02, 2004 8:40 pm
Location: Virginia Beach, VA
Contact:

Re: The evolution of "Tach Noise Filtering" function

Post by Peter Florance »

muythaibxr wrote:I don't know for sure, but I think the analog signal gets clipped with the 36-1 and 60-2 wheels (voltage too high) and that causes issues for the conditioner that adding a resistor fixes.

Someone more experienced on the details of the electrical side of things can comment.

Ken
That is a lot of it. The clipping screws up threshold vs. amplitude ratio.
Peter Florance
PF Tuning
81 BMW Euro 528i ESP Car
60-2 Wheel LS2 Coils, Low Z Inj
Co-Driver 1999 BMW E46 DSP car.
Matt Cramer
Super MS/Extra'er
Posts: 17507
Joined: Thu Apr 16, 2009 8:08 pm

Re: The evolution of "Tach Noise Filtering" function

Post by Matt Cramer »

muythaibxr wrote:I don't know for sure, but I think the analog signal gets clipped with the 36-1 and 60-2 wheels (voltage too high) and that causes issues for the conditioner that adding a resistor fixes.

Someone more experienced on the details of the electrical side of things can comment.

Ken
Right. The clipping messes up the adaptive function on MAX9926s because it compares the size of the pulse in the missing tooth to the clipped input and not the actual voltage. Putting a resistor in parallel with the sensor pulls down its voltage to the point that the adaptive filtering can cover things correctly.
Matt Cramer -1966 Dodge Dart slant six running on MS3X
jsmcortina
Site Admin
Posts: 39615
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Re: The evolution of "Tach Noise Filtering" function

Post by jsmcortina »

I can repair or upgrade Megasquirts in UK. http://www.jamesmurrayengineering.co.uk

My Success story: http://www.msextra.com/forums/viewtopic ... 04&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
New users, please read the "Forum Help Page".
Post Reply