Notices

MVSS filtering?

Old May 19, 2009 | 05:08 PM
  #1  
ZX-Tex's Avatar
Thread Starter
Elite Member
iTrader: (15)
 
Joined: Dec 2007
Posts: 4,847
Total Cats: 27
From: San Antonio, Texas
Default MVSS filtering?

So I have been having problems with a noisy MVSS signal, noisy to the point where the s/n ratio keeps it from being useful, especially in the lower gears. I think some others here have this problem too IIRC. Per a thread on the Adaptronic forum the noise comes from the reed type switch (?) on the Miata transmission sensor. Per Adaptronic's suggestion, I tried running a capacitor between the MVSS input into the Adaptronic and ground; I used one of the Adaptronic grounds.

So far I have tried a 1000nF capacitor and am still getting noise. I also tried a 470 uF capacitor (much larger) and that seemed to kill the signal completely. I am thinking the happy place lies somewhere between these two.

So before I scrounge up a bunch of capacitors and keep trying this, I am wondering, am I headed in the right direction? Or is there a better way to go about filtering this? I know very little about analog filters so I could use some guidance here from an EE type. I think the idea is to average out or dampen the value so the peak-to-peak noise is reduced. The signal appears to rise and fall with vehicle speed, but there is just a lot of peak noise on top of the nominal value.
Old May 19, 2009 | 05:20 PM
  #2  
TurboRoach's Avatar
Junior Member
iTrader: (3)
 
Joined: Aug 2005
Posts: 488
Total Cats: 3
From: Gig Harbor, WA
Default

That's the easiest way to do it, unless you want to actually figure out the frequency of the noise. Then you could be a little more exact in your selection of the cap.

Post your log so see we can see how noisy it is. I might even do the spectral analysis for you.
Old May 19, 2009 | 06:20 PM
  #3  
ZX-Tex's Avatar
Thread Starter
Elite Member
iTrader: (15)
 
Joined: Dec 2007
Posts: 4,847
Total Cats: 27
From: San Antonio, Texas
Default

I suspect the noise might be at a higher frequency than the sampling rate of the Adaptronic log (Nyquist) so there might be some significant quantization error
Old May 19, 2009 | 06:38 PM
  #4  
ILoveOffRamps's Avatar
Junior Member
iTrader: (2)
 
Joined: May 2007
Posts: 181
Total Cats: 5
From: Tulsa, OK
Default

I don't suppose you have anyway to know the frequency of the noise?? If so, you can do the math to solve for sizes.
Since you think it's high frequency use a series low pass filter.

Set Desired Frequency.
Choose R or C (whichever you have lying around) Solve for the other.
R=Resistor
C=Capacitor
w=Cutoff Frequency
R= 1/(wC)

Example:
w=3kHz (convert to krad/s) = w*2*PI
C=1uF
R=1/((2PI*3*10^3)(1*10^-6))
R=53 ohm

Not sure if that helps or not.
Old May 19, 2009 | 08:34 PM
  #5  
TurboRoach's Avatar
Junior Member
iTrader: (3)
 
Joined: Aug 2005
Posts: 488
Total Cats: 3
From: Gig Harbor, WA
Default

Originally Posted by ZX-Tex
I suspect the noise might be at a higher frequency than the sampling rate of the Adaptronic log (Nyquist) so there might be some significant quantization error
Well then what are doing asking for a different different way if you don't think we can determine the noise freq?
Old May 19, 2009 | 09:13 PM
  #6  
ismael_pt's Avatar
Junior Member
iTrader: (1)
 
Joined: Aug 2008
Posts: 341
Total Cats: 2
From: Granada, Spain
Default

I suck at electronics, but what is the purpose of the BAT54S diodes in the NBB PNP loom? The MVSS has one on it.
Old May 19, 2009 | 09:57 PM
  #7  
ZX-Tex's Avatar
Thread Starter
Elite Member
iTrader: (15)
 
Joined: Dec 2007
Posts: 4,847
Total Cats: 27
From: San Antonio, Texas
Default

Originally Posted by TurboRoach
Well then what are doing asking for a different different way if you don't think we can determine the noise freq?
I meant in terms of the circuit itself. As in, does the capacitor to ground idea have merit, or should I have a resistor in parallel with it, or with the sensor, or consider something else entirely etc. etc.

Sorry, not trying to be difficult. But, according to Nyquist, unless the noise is at or below 2 Hz (logging is at about 4 Hz) then the log is not going to help. Maybe another way to look at it would be to determine what the max possible pulse frequency is from the sensor (6th gear, 7500 RPM) and then try a low-pass filter tuned to somewhere above that, if that is what you are thinking? That is assuming the noise is at a frequency above the max sensor frequency.

I picked up a bunch of varying value capacitors and a set of alligator clips so I can swap values quickly. I'll post up as soon as I have some results.
Old May 20, 2009 | 01:21 AM
  #8  
TurboRoach's Avatar
Junior Member
iTrader: (3)
 
Joined: Aug 2005
Posts: 488
Total Cats: 3
From: Gig Harbor, WA
Default

Originally Posted by ZX-Tex
Maybe another way to look at it would be to determine what the max possible pulse frequency is from the sensor (6th gear, 7500 RPM) and then try a low-pass filter tuned to somewhere above that, if that is what you are thinking? That is assuming the noise is at a frequency above the max sensor frequency.
That would work. If the noise is below that you won't be able remove it w/o out killing the signal or doing some spectral analysis. Which might be a bit difficult to do in analog.

I know you're not being difficult I was just joking.

I want to try some stuff I've been learning about this quarter, can you post a log for me anyway? I don't have a speed sensor.

If you're going to use a resistor put it in series with the speed sensor and the cap between the sensor and ground. Adding the resistor will let you get away with using a smaller cap.
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
Full_Tilt_Boogie
Build Threads
84
Apr 12, 2021 04:21 PM
nbdooey
Miata parts for sale/trade
9
Aug 30, 2017 09:50 PM
nbdooey
Miata parts for sale/trade
0
Sep 28, 2015 08:46 PM
Neddy
Engine Performance
0
Sep 10, 2015 09:42 PM
AlwaysBroken
Engine Performance
5
Sep 6, 2015 12:53 AM


Thread Tools
Search this Thread

All times are GMT -4. The time now is 03:25 AM.