ECUs and Tuning Discuss Engine Management, Tuning, & Programming

knock filter and amp

Thread Tools
 
Search this Thread
 
Old 07-06-2011, 09:38 PM
  #41  
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

oh but a TPIC8101 does exist.

http://focus.ti.com/docs/prod/folder.../tpic8101.html
y8s is offline  
Old 07-06-2011, 10:17 PM
  #42  
Elite Member
Thread Starter
 
JasonC SBB's Avatar
 
Join Date: Jul 2005
Posts: 6,420
Total Cats: 84
Default

Cool stuff on the windowing.

Matt, the output of my circuit isn't "0-5V". It's a bandpassed, amplified version of the knock signal. You'll need a peak detector or AM circuit after it.
JasonC SBB is offline  
Old 07-06-2011, 11:02 PM
  #43  
Boost Pope
iTrader: (8)
 
Joe Perez's Avatar
 
Join Date: Sep 2005
Location: Chicago. (The less-murder part.)
Posts: 33,046
Total Cats: 6,607
Default

Originally Posted by y8s
ok but the AC is all happening from 0-5V... which sounds like what I'm after.
Originally Posted by JasonC SBB
Matt, the output of my circuit isn't "0-5V". It's a bandpassed, amplified version of the knock signal. You'll need a peak detector or AM circuit after it.
Also, the MS's knock input is kind of backwards. +5 indicates no knock, 0v means that knock is occurring.

Also II, this input goes directly into a pin on the microprocessor, so the threshold is pretty damned nondetermenistic. The specs for the '908 only guarantee that the threshold will be somewhere between 0.2 * VDD and 0.7 * VDD, which is pretty typical. And, of course, you need to hold the sample for long enough the the uP has a chance to actually read it. A quick transient is likely to get missed by the processor as it only polls the inputs on a "best effort" basis. The closest thing I've found to an official spec says you need to hold the low state for at least 400ms, which is an eternity for a high-frequency audio waveform. Granted, that spec was written for the MS1, but even the MS3 isn't polling those ports continuously.




Originally Posted by y8s
Now that is damned cool.

I may have to build myself another MS and sacrifice the engine in my '90 on the altar of figuring out how to tune that little bugger.

Anybody know were I can buy some 70 octane gas?
Joe Perez is offline  
Old 07-07-2011, 01:37 AM
  #44  
Elite Member
Thread Starter
 
JasonC SBB's Avatar
 
Join Date: Jul 2005
Posts: 6,420
Total Cats: 84
Default

A rectifier + peak detector + peak&hold circuit to process the output of the bandpass circuit is pretty simple.
JasonC SBB is offline  
Old 07-07-2011, 11:44 AM
  #45  
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 Joe Perez

Now that is damned cool.

I may have to build myself another MS and sacrifice the engine in my '90 on the altar of figuring out how to tune that little bugger.

Anybody know were I can buy some 70 octane gas?
5 samples free on that tpic.
y8s is offline  
Old 07-09-2011, 01:13 AM
  #46  
Boost Pope
iTrader: (8)
 
Joe Perez's Avatar
 
Join Date: Sep 2005
Location: Chicago. (The less-murder part.)
Posts: 33,046
Total Cats: 6,607
Default

It occurs to me that we are all complete idiots, myself included.

The time-window of interest to us can be expressed as either n degrees of crankshaft revolution or n number of milliseconds after the ignition event, right? (I'd need to do a bit of reading to recall which.)

How hard would it be to rig up a little external device to take, as inputs, a one-pulse-per-ignition-event signal and something resembling an RPM signal (which could be as simple as a freq-to-voltage converter, if we're working in the analog domain) and use it to drive a monostable multivibrator to gate the sensor signal?
Joe Perez is offline  
Old 07-09-2011, 02:55 AM
  #47  
Elite Member
Thread Starter
 
JasonC SBB's Avatar
 
Join Date: Jul 2005
Posts: 6,420
Total Cats: 84
Default

Easy. Just use an analog CMOS switch e.g. CD4013B for gating.

You'll need a pulse train that goes 'hi' during said ignition window e.g. from 10* to 90* ATDC to gate the CMOS switch.

Since most knock occurs after the ignition event, just use the actual ignition event to gate the window. And since burn time is 3 ms max IIRC, use a 3 ms monostable.
JasonC SBB is offline  
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
Full_Tilt_Boogie
Build Threads
84
04-12-2021 04:21 PM
nbdooey
Miata parts for sale/trade
9
08-30-2017 09:50 PM
nbdooey
Miata parts for sale/trade
0
09-28-2015 08:46 PM
Neddy
Engine Performance
0
09-10-2015 09:42 PM
AlwaysBroken
Engine Performance
5
09-06-2015 12:53 AM



Quick Reply: knock filter and amp



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