ECUs and Tuning Discuss Engine Management, Tuning, & Programming

knock filter and amp

Thread Tools
 
Search this Thread
 
Old 02-08-2009, 12:54 PM
  #1  
Elite Member
Thread Starter
 
JasonC SBB's Avatar
 
Join Date: Jul 2005
Posts: 6,420
Total Cats: 84
Default knock filter and amp

The circuit is meant to emulate a GM style tuned piezo knock sensor. It is meant for ECUs that can take a piezo knock sensor signal.

You take a 99/00 knock sensor, it filters and amplifies the signal. It is tuned to 13 khz IIRC, which is the peak frequency that I noticed when I did audio recordings of knock from my 00 sensor.
Attached Thumbnails knock filter and amp-knock.gif  
JasonC SBB is offline  
Old 02-08-2009, 01:33 PM
  #2  
Elite Member
 
Zaphod's Avatar
 
Join Date: Mar 2006
Location: Schwarzenberg, Germany
Posts: 1,553
Total Cats: 101
Default

Do you still need the GM electronics (as described here:MS2-Extra Hardware Manual) to make the MS (MS2 in my case) acknowledge the knock or is the circuit alone enough (sorry, I am no expert in electronics - I suppose a look at the circuit would tell me )

Thanks
Zaphod is offline  
Old 02-08-2009, 03:55 PM
  #3  
Senior Member
 
WestfieldMX5's Avatar
 
Join Date: Nov 2007
Location: Belgium
Posts: 999
Total Cats: 73
Default

thx Jason.
What is the value of C9?
Why is the pink part, uhm, pink?
WestfieldMX5 is offline  
Old 02-08-2009, 04:43 PM
  #4  
Elite Member
Thread Starter
 
JasonC SBB's Avatar
 
Join Date: Jul 2005
Posts: 6,420
Total Cats: 84
Default

C9 is a trim capacitor, a placeholder, if one were to hand trim the circuit to peak at 13 kHz.

The pink part is because I was cleaning up the schematic and the stupid Orcad software crashed, and lost my work; I saved a screenshot and the pink part is when you select a group of parts. I was in the middle of a move operation.
JasonC SBB is offline  
Old 02-08-2009, 04:45 PM
  #5  
Elite Member
Thread Starter
 
JasonC SBB's Avatar
 
Join Date: Jul 2005
Posts: 6,420
Total Cats: 84
Default

Originally Posted by Zaphod
Do you still need the GM electronics (as described here:MS2-Extra Hardware Manual) to make the MS (MS2 in my case) acknowledge the knock or is the circuit alone enough (sorry, I am no expert in electronics - I suppose a look at the circuit would tell me )

Thanks
I'd have to see the MS knock input circuitry.
JasonC SBB is offline  
Old 02-08-2009, 07:42 PM
  #6  
y8s
2 Props,3 Dildos,& 1 Cat
iTrader: (8)
 
y8s's Avatar
 
Join Date: Jun 2005
Location: Fake Virginia
Posts: 19,338
Total Cats: 573
Default

OK I'll re-ask my question here...

What's needed to share the sensor between the factory ECU and hydra?
y8s is offline  
Old 02-08-2009, 09:38 PM
  #7  
Elite Member
Thread Starter
 
JasonC SBB's Avatar
 
Join Date: Jul 2005
Posts: 6,420
Total Cats: 84
Default

Remove R19.

Does the Hydra take a GM style knock sensor instead of the 99's?
JasonC SBB is offline  
Old 02-08-2009, 10:03 PM
  #8  
y8s
2 Props,3 Dildos,& 1 Cat
iTrader: (8)
 
y8s's Avatar
 
Join Date: Jun 2005
Location: Fake Virginia
Posts: 19,338
Total Cats: 573
Default

Originally Posted by JasonC SBB
Remove R19.

Does the Hydra take a GM style knock sensor instead of the 99's?
it plugs into my stock sensor
y8s is offline  
Old 02-08-2009, 11:49 PM
  #9  
Elite Member
Thread Starter
 
JasonC SBB's Avatar
 
Join Date: Jul 2005
Posts: 6,420
Total Cats: 84
Default

So why do you need this circuit?
JasonC SBB is offline  
Old 02-09-2009, 02:52 AM
  #10  
Elite Member
 
Zaphod's Avatar
 
Join Date: Mar 2006
Location: Schwarzenberg, Germany
Posts: 1,553
Total Cats: 101
Default

Originally Posted by JasonC SBB
I'd have to see the MS knock input circuitry.
I hope this is sufficient:

From the MS2 Manuals:

A conditioning module is also required, such as GM's Electronic Spark Control (ESC) module (PN 16022621, 16052401), see above. These are also available as Standard Motor Products LXE6, LXE7, and LXE9. These are very common in recycling yards, they were used all virtually all GM vehicles from the mid-1980s to the late 1990s. You should match the sensor and module by application to ensure they will work together properly.

The ESC module sends a voltage signal (8 to 10 volts) when NO knock is detected by the knock sensor. If knock occurs, this signal is pulled low.



This signal is fed to the MS2-Extra ECU via either Pin 3,4,5 or 6 of the db37 connector (SPR1,2,3 and 4 respectively) and linking that pin to either JS4 or JS5. However you need to reduce the module signal voltage since it is too high for the processor port directly. You can use the proto area on the V3 main board, a 1K Ohm resistor (1/4 or 1/8 watt), and a 4.7 Volt Zener 1W diode (Digi-Key 1N4732ADICT-ND, 36¢) to do this, as shown below:



Is this enough information for you?

Thanks again...
Zaphod is offline  
Old 02-09-2009, 10:20 AM
  #11  
Elite Member
Thread Starter
 
JasonC SBB's Avatar
 
Join Date: Jul 2005
Posts: 6,420
Total Cats: 84
Default

No, I need the input circuitry that the line "megasquirt" in the first diagram above goes to.
JasonC SBB is offline  
Old 02-09-2009, 10:36 AM
  #12  
y8s
2 Props,3 Dildos,& 1 Cat
iTrader: (8)
 
y8s's Avatar
 
Join Date: Jun 2005
Location: Fake Virginia
Posts: 19,338
Total Cats: 573
Default

Originally Posted by JasonC SBB
So why do you need this circuit?
Originally Posted by y8s
OK I'll re-ask my question here...

What's needed to share the sensor between the factory ECU and hydra?
I dont know that I do need the circuit. I just dont know what the ECU(s) are expecting to see from the knock sensor. Is it just a sensor-generated signal or is it a biased resistor?
y8s is offline  
Old 02-09-2009, 01:03 PM
  #13  
Elite Member
iTrader: (3)
 
AbeFM's Avatar
 
Join Date: Aug 2006
Location: San Diego, CA
Posts: 3,047
Total Cats: 12
Default

Over on MS forums, there are some implementations of knock chips.. Single, real time programable chips for reading knock.

The downside to them is most need something to speak SPI to them, though a $2 atmel chip will work.. it means you need to find code.

Two things MS is not going to do for you, now, is ignition windowing (only looking when you expect knock, so you can increase sensitivity, prevent "silent knock" death) and have an adjustable level (at least on MS-II beta. The released version supported analog knock signal, which should be a huge boon to anyone, relaxes the constraint on the band pass filter jason posted, and lets you be more sensitive down in your torque peak where you'd expect knock).

You might add an LED output, that's probably the best feature of my knocksense. :-)
AbeFM is offline  
Old 02-09-2009, 01:13 PM
  #14  
Boost Pope
iTrader: (8)
 
Joe Perez's Avatar
 
Join Date: Sep 2005
Location: Chicago. (The less-murder part.)
Posts: 33,022
Total Cats: 6,590
Default

The MS is logic-level. It expects a low-impedance (to ground) when knock is present, and a high impedance (or +5) when there is no knock. Typically, the output is also held low for a few tens of milliseconds so the MS has time to capture it.
Joe Perez is offline  
Old 03-09-2009, 02:27 PM
  #15  
Elite Member
iTrader: (3)
 
AbeFM's Avatar
 
Join Date: Aug 2006
Location: San Diego, CA
Posts: 3,047
Total Cats: 12
Default

Possibly on the MS-I. And now on the MS-II, as well. It still goes into an analog in, but is read as a digital signal. Thanks once again for making more effort to make a product worse.

Whatever. How can you not give up on something like that. You should see what they did to support the guy who made an auto-trans controller out of a microsquirt.

Knock should definately be read analog. Meh.
AbeFM is offline  
Old 03-09-2009, 05:18 PM
  #16  
Elite Member
Thread Starter
 
JasonC SBB's Avatar
 
Join Date: Jul 2005
Posts: 6,420
Total Cats: 84
Default

Originally Posted by Joe Perez
The MS is logic-level. It expects a low-impedance (to ground) when knock is present, and a high impedance (or +5) when there is no knock. Typically, the output is also held low for a few tens of milliseconds so the MS has time to capture it.
So it doesn't have a programmable "background noise voltage" vs. RPM setup?
JasonC SBB is offline  
Old 03-12-2009, 04:09 PM
  #17  
Elite Member
iTrader: (3)
 
AbeFM's Avatar
 
Join Date: Aug 2006
Location: San Diego, CA
Posts: 3,047
Total Cats: 12
Default

They have Knock, or no knock.
AbeFM is offline  
Old 04-09-2009, 02:28 PM
  #18  
Senior Member
 
WestfieldMX5's Avatar
 
Join Date: Nov 2007
Location: Belgium
Posts: 999
Total Cats: 73
Default

Originally Posted by JasonC SBB
C9 is a trim capacitor, a placeholder, if one were to hand trim the circuit to peak at 13 kHz.
Did you actually build the circuit? I'm planning on trying it out once I get the MS up and running, but how would I tune it / determine the value of C9?
WestfieldMX5 is offline  
Old 04-13-2009, 12:51 PM
  #19  
Elite Member
iTrader: (3)
 
AbeFM's Avatar
 
Join Date: Aug 2006
Location: San Diego, CA
Posts: 3,047
Total Cats: 12
Default

I'm really curious to see how this works, as well. It seems a good idea, but... knock sensing seems to be one of the harder things to pull off.
AbeFM is offline  
Old 04-13-2009, 04:09 PM
  #20  
Elite Member
Thread Starter
 
JasonC SBB's Avatar
 
Join Date: Jul 2005
Posts: 6,420
Total Cats: 84
Default

Originally Posted by f_devocht
Did you actually build the circuit? I'm planning on trying it out once I get the MS up and running, but how would I tune it / determine the value of C9?
Yes.
JasonC SBB is offline  


Quick Reply: knock filter and amp



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