MEGAsquirt A place to collectively sort out this megasquirt gizmo

Knock-window...it is time

Thread Tools
 
Search this Thread
 
Old 09-09-2011, 09:47 AM
  #41  
Supporting Vendor
 
Matt Cramer's Avatar
 
Join Date: Sep 2006
Posts: 2,332
Total Cats: 67
Default

Originally Posted by djp0623
That is where retarding the timing based on where the theoretical optimum timing is based on knock. If research suggested that knock occurred 5 degrees past the optimal timing configuration, then retard timing by at least 5 degrees after knock is detected.
Unfortunately, research makes it clear that there's no fixed angle between optimal timing and the knock threshold. Some cars (Subarus are Exhibit A) have the MBT timing ahead of the knock threshold. Some combination could have MBT 20 degrees or more behind the knock threshold - I suspect a NA Miata running on methanol would fall into that category, for example.
__________________
Matt Cramer
www.diyautotune.com
Matt Cramer is offline  
Old 09-09-2011, 10:03 AM
  #42  
Elite Member
iTrader: (11)
 
miatauser884's Avatar
 
Join Date: Feb 2009
Posts: 2,959
Total Cats: 11
Default

Originally Posted by Matt Cramer
Unfortunately, research makes it clear that there's no fixed angle between optimal timing and the knock threshold. Some cars (Subarus are Exhibit A) have the MBT timing ahead of the knock threshold. Some combination could have MBT 20 degrees or more behind the knock threshold - I suspect a NA Miata running on methanol would fall into that category, for example.
That's unfortunate. So is a speed sensor method the best solution?
miatauser884 is offline  
Old 09-09-2011, 10:11 AM
  #43  
Newb
 
JohnP's Avatar
 
Join Date: Apr 2010
Posts: 8
Total Cats: 0
Default

Yes, a knock window is easier to do in software. The first SafeGuards were a combination of analog and discrete digital, made from '88 to '91. It didn't do individual cylinder control, but it did have a knock window. The knock window was controlled by a PLL clock synchronized to the ignition trigger. Two counter chips set the window start and end points. Dip switches on the front set the counters for 4, 6, or 8 cylinder.

I love doing layouts, but they take a fair amount of time. Good layouts can be works of art. I've found that if they don't look pretty, there's probably a better way to do it, so I start over.

This is part of the Interceptor layout, showing the Altera CPLD chip and the 9S12 processor. The CPLD contains I/O, trigger detection, and retard logic for eight channels. A single line to and from the processor is all that's required to individually control eight ignition channels.

JohnP is offline  
Old 09-09-2011, 10:23 AM
  #44  
Elite Member
iTrader: (1)
 
richyvrlimited's Avatar
 
Join Date: Jun 2006
Location: Warrington/Birmingham
Posts: 2,642
Total Cats: 42
Default

John, how come you know so much about J&S? Is it your business? ex Employee?

just curious!
richyvrlimited is offline  
Old 09-09-2011, 10:31 AM
  #45  
Newb
 
JohnP's Avatar
 
Join Date: Apr 2010
Posts: 8
Total Cats: 0
Default

Coming to you from World Headquarters.
JohnP is offline  
Old 09-09-2011, 10:40 AM
  #46  
Elite Member
iTrader: (1)
 
richyvrlimited's Avatar
 
Join Date: Jun 2006
Location: Warrington/Birmingham
Posts: 2,642
Total Cats: 42
Default

http://www.welovewhq.com/

http://www.viewnewcastle.co.uk/clubs...nfo-47177.html



richyvrlimited is offline  
Old 09-09-2011, 10:50 AM
  #47  
Newb
 
JohnP's Avatar
 
Join Date: Apr 2010
Posts: 8
Total Cats: 0
Default

Not THAT whq. Looks like something from the Great Whole Earth Catalog (pre-internet era).
JohnP is offline  
Old 09-09-2011, 02:50 PM
  #48  
Supporting Vendor
 
Matt Cramer's Avatar
 
Join Date: Sep 2006
Posts: 2,332
Total Cats: 67
Default

Thanks for chiming in, John!

So current the SafeGuard uses a similar processor to the MS2? Interesting.

Ben and I have been testing some of the future MS knock detection stuff on the dyno today. We're not going to sacrifice a Miata engine for it, but we've got an old beater Sentra sitting around to try this out on.
__________________
Matt Cramer
www.diyautotune.com
Matt Cramer is offline  
Old 09-09-2011, 03:40 PM
  #49  
Newb
 
JohnP's Avatar
 
Join Date: Apr 2010
Posts: 8
Total Cats: 0
Default

Change is hard. I finally made the transition from HC11 to 9S12 in 2007.
JohnP is offline  
Old 09-09-2011, 04:00 PM
  #50  
Elite Member
 
JasonC SBB's Avatar
 
Join Date: Jul 2005
Posts: 6,420
Total Cats: 84
Default

Originally Posted by djp0623
That's unfortunate. So is a speed sensor method the best solution?
Adaptronic method seems best outside of a dyno.
JasonC SBB is offline  
Old 09-09-2011, 04:11 PM
  #51  
Elite Member
iTrader: (11)
 
miatauser884's Avatar
 
Join Date: Feb 2009
Posts: 2,959
Total Cats: 11
Default

Originally Posted by JasonC SBB
Adaptronic method seems best outside of a dyno.
Does it combine it with some sort of cruise control so that any observed acceleration/deceleration is due to the timing adjustment? Obviously we would be assuming this would be done on a level road. Mounting an optical sensor system to one wheel doesn't seem like it would be that difficult. Add an input where you can lock the pulsewidth of the injectors. Pick a long level road, or inclined for boost cells. The boost cells seem like they would pose the most trouble, but they are the most important in my eyes.

I think the optical speed sensor idea might fall apart while you are under heavy acceleration to begin with trying to get into boost. How could one tell if the acceleration was due to timing or accelerator pedal movement.

Ok, so here is an idea.

The software would require you to do record multiple acceleration runs. This would log data that related TPS to acceleration through different rpm points. Done on the same road as the tune and you might be able to pinpoint the data changes due to the timing adjustment alone. This would require the user to treat it like an absolute calibration, meaning Temp, pressure, road used, etc all need to be monitored an held somewhat constant between the baseline data and the adjustment data.
miatauser884 is offline  
Old 09-09-2011, 07:06 PM
  #52  
Elite Member
 
JasonC SBB's Avatar
 
Join Date: Jul 2005
Posts: 6,420
Total Cats: 84
Default

No it looks at the RPM. It dithers the timing continuously, rather quickly (several times per second) at some frequency. It looks for an FM signal with the same frequency in the RPM. The sign and magnitude of that signal tells you if there was an increase in torque from the increase in timing.
JasonC SBB is offline  
Old 10-07-2011, 11:59 AM
  #53  
Elite Member
 
JasonC SBB's Avatar
 
Join Date: Jul 2005
Posts: 6,420
Total Cats: 84
Default

Re: KNOCK WINDOWING

I just had a realization.

The time windowing should be BEFORE the filter.

The reason is that a bandpass filter rings like bell when stimulated by a noise with in-band frequency components. And the reason knock is hard to detect is that engine noise has some in-band components. Therefore to maximize discrimination, you don’t want engine noise reaching the filter outside of the crank-angle window where knock isn’t possible.

If the ECU had an output that simply went high when crank angle is “in window”, that signal could be used by the analog circuitry.
JasonC SBB is offline  
Old 10-07-2011, 04:03 PM
  #54  
Senior Member
iTrader: (1)
 
NiklasFalk's Avatar
 
Join Date: Jun 2006
Location: Sweden
Posts: 1,391
Total Cats: 63
Default

Originally Posted by JasonC SBB
If the ECU had an output that simply went high when crank angle is “in window”, that signal could be used by the analog circuitry.
Uninformed question;
Could one of the cam wheels be modded so a hall sensor could go high/low during the knock window (if a section of the 720 degree cycle would be good enough, i.e. fix window in relation to rpm/load/TPS etc).
That way you could window the knock signal at the source.

Software is still needed to figure out what to do when,but even with simple knock check, you could stop listening during the times when there "cannot" be knock.

But uninformed, as I said.
NiklasFalk is offline  
Old 10-07-2011, 05:36 PM
  #55  
Elite Member
 
JasonC SBB's Avatar
 
Join Date: Jul 2005
Posts: 6,420
Total Cats: 84
Default

A spare cam wheel? If you could make your own window, yea.

Reverant could add this functionality, if we could find out what crank angle range knock is valid. Obviously it has to be <90*, else it would be meaningless, unless one were doing per-cylinder knock detection and spark adjustment.
JasonC SBB is offline  
Old 10-09-2011, 07:05 AM
  #56  
Junior Member
 
Martin Y's Avatar
 
Join Date: Sep 2006
Posts: 51
Total Cats: 5
Default

Originally Posted by JasonC SBB
The one and only ECU that had a "best timing finder" feature is the Adaptronic, and mysteriously, nobody was interested in the feature. Such that they removed it in later revs...
They ditched it? I'm amazed. That was the one really cool feature that made me regret not buying an Adaptronic.
Martin Y is offline  
Old 10-09-2011, 12:19 PM
  #57  
Elite Member
 
JasonC SBB's Avatar
 
Join Date: Jul 2005
Posts: 6,420
Total Cats: 84
Default

Here's an update:

http://adaptronic.com.au/forum/index.php?topic=252.15
JasonC SBB is offline  
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
Rick02R
WTB
3
01-03-2016 07:18 PM
tazswing
Race Prep
20
10-03-2015 11:04 AM
The Gleas
MEGAsquirt
3
10-01-2015 09:30 AM



Quick Reply: Knock-window...it is time



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