MEGAsquirt A place to collectively sort out this megasquirt gizmo

MS3x Knock Module Settings Thread

Thread Tools
 
Search this Thread
 
Old 08-21-2012, 10:23 AM
  #1  
y8s
2 Props,3 Dildos,& 1 Cat
Thread Starter
iTrader: (8)
 
y8s's Avatar
 
Join Date: Jun 2005
Location: Fake Virginia
Posts: 19,338
Total Cats: 573
Default MS3x Knock Module Settings Thread

Since my settings were requested by a couple people, I thought I'd start this.

I pulled some of the settings from msextra. I derived my own value for bandpass frequency based on something. I think it was either a formula Jason C posted or somewhere found on the internet.

Integrator time constant is the default I think.

Scaling is simply based on what range I thought "noise" looked appropriate. What I interpret as "obvious knock" are spikes at least 2-3x times taller than the "noise" in the chart at the end.

** PLEASE INCLUDE CAR, SENSOR, AND ENGINE MOD DATA WHEN YOU POST YOUR SETTINGS **

Car: 2001 Miata NB
Sensor: Stock 2001 miata NB sensor
Setup: big turbo, motor internals and head are stock .





I have not really touched the following values:





And those settings result in this:

Attached Thumbnails MS3x Knock Module Settings Thread-ms3x_knock_sensor_settings.jpg   MS3x Knock Module Settings Thread-ms3x_knock_sensor_params.png   MS3x Knock Module Settings Thread-ms3x_knock_window_settings.png   MS3x Knock Module Settings Thread-ms3x_knock_cooland_scaling.png   MS3x Knock Module Settings Thread-ms3x_knock_logged.png  

y8s is offline  
Old 08-21-2012, 12:15 PM
  #2  
Elite Member
iTrader: (10)
 
soviet's Avatar
 
Join Date: Jan 2010
Location: VA
Posts: 3,493
Total Cats: 268
Default

A+ would read again.
soviet is offline  
Old 08-21-2012, 12:35 PM
  #3  
Elite Member
iTrader: (10)
 
Reverant's Avatar
 
Join Date: Jun 2006
Location: Athens, Greece
Posts: 5,977
Total Cats: 355
Default

y8s, is your rev limit 8000rpm?
Reverant is offline  
Old 08-21-2012, 02:46 PM
  #4  
y8s
2 Props,3 Dildos,& 1 Cat
Thread Starter
iTrader: (8)
 
y8s's Avatar
 
Join Date: Jun 2005
Location: Fake Virginia
Posts: 19,338
Total Cats: 573
Default

nope, but I like to tune above my rev limit because I don't like ambiguity
y8s is offline  
Old 08-21-2012, 03:08 PM
  #5  
Elite Member
iTrader: (10)
 
Reverant's Avatar
 
Join Date: Jun 2006
Location: Athens, Greece
Posts: 5,977
Total Cats: 355
Default

Your log shows 8000rpm and 200kPa max.
Reverant is offline  
Old 08-21-2012, 03:30 PM
  #6  
y8s
2 Props,3 Dildos,& 1 Cat
Thread Starter
iTrader: (8)
 
y8s's Avatar
 
Join Date: Jun 2005
Location: Fake Virginia
Posts: 19,338
Total Cats: 573
Default

Originally Posted by Reverant
Your log shows 8000rpm and 200kPa max.
Oh that. I set the maximums to round numbers or numbers that make the 50% line meaningful (for AFR the dotted line is 14.7). Note also my TPS goes to 101. And volume to 11.

I find that having the graph trace sit right up against the edge of the graph limits makes it hard to read.
y8s is offline  
Old 08-21-2012, 03:34 PM
  #7  
Elite Member
iTrader: (10)
 
Reverant's Avatar
 
Join Date: Jun 2006
Location: Athens, Greece
Posts: 5,977
Total Cats: 355
Default

So how much noise do you get at peak RPM/boost? I am getting a lot of noise after 5500rpm or so.
Reverant is offline  
Old 08-21-2012, 04:28 PM
  #8  
y8s
2 Props,3 Dildos,& 1 Cat
Thread Starter
iTrader: (8)
 
y8s's Avatar
 
Join Date: Jun 2005
Location: Fake Virginia
Posts: 19,338
Total Cats: 573
Default

a lot.

I haven't really spent much time tweaking on this thing. I suspect some improvement could be had by actually doing something with the windowing but... I haven't driven my car more than about 50 miles in the last month or two.

Here's a random example. I haven't decided if I should call these moderate spikes "noise" or "knock" or neither. I think the way to go would be to get a passenger with det cans and a computer to mark the logs as soon as he heard something and then match up the spike levels with the marks and adjust based on that.



Similarly, spending 5 minutes to look at the window settings and make some educated guesses where knock occurs in our motors would be good.
Attached Thumbnails MS3x Knock Module Settings Thread-ms3x_knock_noise.png  
y8s is offline  
Old 08-21-2012, 05:38 PM
  #9  
Elite Member
iTrader: (11)
 
miatauser884's Avatar
 
Join Date: Feb 2009
Posts: 2,959
Total Cats: 11
Default

How are you detecting individual cylinder knock? Is this just a setting that is listening for different frequencies that is cylinder dependent? I see the per cylinder settings, but what is the gain, and why are they all the same?

EDIT:

I'm an idiot, it would just be based on rpm and the time window in which the vibration is detected.

Is the gain supposed to be a factor that takes into account the latency of sound traveling through the block for the different cylinder distances? i.e. the furthest cylinder would need a higher gain so that the amplitude of the peak is the same as the amplitude of a peak in the closest cylinder for a knock event of the same magnitude???

Last edited by miatauser884; 08-21-2012 at 06:08 PM.
miatauser884 is offline  
Old 08-21-2012, 08:26 PM
  #10  
y8s
2 Props,3 Dildos,& 1 Cat
Thread Starter
iTrader: (8)
 
y8s's Avatar
 
Join Date: Jun 2005
Location: Fake Virginia
Posts: 19,338
Total Cats: 573
Default

I think the gain is simply a linear scaler.

and yes, the individual knock is derived from the window relative to the spark for that cylinder.
y8s is offline  
Old 08-22-2012, 02:27 AM
  #11  
Elite Member
iTrader: (10)
 
Reverant's Avatar
 
Join Date: Jun 2006
Location: Athens, Greece
Posts: 5,977
Total Cats: 355
Default

I can tell you right here and now that det cans are useless above a certain RPM due to noise. I just can't listen ANYTHING above 6000rpm on all B6/BP engines that I've tuned so far, built or stock. So no wonder the knock sensor readings spike above that.
Reverant is offline  
Old 08-22-2012, 03:20 AM
  #12  
Elite Member
iTrader: (1)
 
richyvrlimited's Avatar
 
Join Date: Jun 2006
Location: Warrington/Birmingham
Posts: 2,642
Total Cats: 42
Default

Originally Posted by Reverant
I can tell you right here and now that det cans are useless above a certain RPM due to noise. I just can't listen ANYTHING above 6000rpm on all B6/BP engines that I've tuned so far, built or stock. So no wonder the knock sensor readings spike above that.

Please excuse my naivety if this is stupid...

BUT, does it matter? if AFR's are good and timing is static from that point to redline, and you're not knocking at 6000rpm, then you really won't be at 6500/7000 rpm due to the higher piston speed?
richyvrlimited is offline  
Old 08-22-2012, 04:42 AM
  #13  
Elite Member
iTrader: (10)
 
Reverant's Avatar
 
Join Date: Jun 2006
Location: Athens, Greece
Posts: 5,977
Total Cats: 355
Default

Depends on the timing map. I generally add more timing as engine speed increases to hit the ~17* ATDC sweet spot, so there is the probability of knocking above 6000rpm. Also between 5500 and 6000rpm it is also quite noisy, so listening for knock there is not exactly easy either.
Reverant is offline  
Old 08-22-2012, 04:48 AM
  #14  
Elite Member
iTrader: (1)
 
richyvrlimited's Avatar
 
Join Date: Jun 2006
Location: Warrington/Birmingham
Posts: 2,642
Total Cats: 42
Default

17deg ATDC sweet spot? What's that

Do you mean BTDC?

Fair point on the increasing timing. I do the same, but not by a particularly large amount, to be honest it may as-well be flat it's that slight an increase...
richyvrlimited is offline  
Old 08-22-2012, 05:27 AM
  #15  
Elite Member
iTrader: (10)
 
Reverant's Avatar
 
Join Date: Jun 2006
Location: Athens, Greece
Posts: 5,977
Total Cats: 355
Default

Our engines will produce the most torque when cylinder peak pressure happens around 17* ATDC.
Reverant is offline  
Old 08-22-2012, 07:13 AM
  #16  
Elite Member
iTrader: (1)
 
richyvrlimited's Avatar
 
Join Date: Jun 2006
Location: Warrington/Birmingham
Posts: 2,642
Total Cats: 42
Default

Ahh, I thought you were saying the goal was to hit ignition at 17BTDC :-)
richyvrlimited is offline  
Old 08-22-2012, 09:06 AM
  #17  
Elite Member
iTrader: (11)
 
miatauser884's Avatar
 
Join Date: Feb 2009
Posts: 2,959
Total Cats: 11
Default

How fast does combustion usually occur in our engines? Im trying to figure out how to calculate a timing value for a given rpm that yields the 17 degrees atdc.
miatauser884 is offline  
Old 08-22-2012, 09:21 AM
  #18  
Elite Member
iTrader: (1)
 
richyvrlimited's Avatar
 
Join Date: Jun 2006
Location: Warrington/Birmingham
Posts: 2,642
Total Cats: 42
Default

There's no answer to that, it depends on AFR used (richer burns slower), fuel, injector type etc etc.
richyvrlimited is offline  
Old 08-22-2012, 09:39 AM
  #19  
Elite Member
iTrader: (10)
 
Reverant's Avatar
 
Join Date: Jun 2006
Location: Athens, Greece
Posts: 5,977
Total Cats: 355
Default

Exactly.
Reverant is offline  
Old 08-22-2012, 11:03 AM
  #20  
y8s
2 Props,3 Dildos,& 1 Cat
Thread Starter
iTrader: (8)
 
y8s's Avatar
 
Join Date: Jun 2005
Location: Fake Virginia
Posts: 19,338
Total Cats: 573
Default

Ultimately though I suspect nobody is knocking above 6000 rpm much. you can probably just set your thresholds relatively high and go back to your normal day.
y8s is offline  


Quick Reply: MS3x Knock Module Settings Thread



All times are GMT -4. The time now is 05:05 PM.