Knock Detection with variable sensitivity over RPM

A forum for discussing the MegaSquirt related (but non-B&G) board development, assembly, installation, and testing.

Moderators: jsmcortina, muythaibxr

Locked
HOODEY
Helpful MS/Extra'er
Posts: 115
Joined: Sat Feb 21, 2009 5:18 pm

Re: Knock Detection with variable sensitivity over RPM

Post by HOODEY »

It is the crank and cam information i need.
maximuscr31
Helpful MS/Extra'er
Posts: 36
Joined: Sun Dec 26, 2010 5:00 pm

Re: Knock Detection with variable sensitivity over RPM

Post by maximuscr31 »

here is the info I got out of the FSM.
HOODEY
Helpful MS/Extra'er
Posts: 115
Joined: Sat Feb 21, 2009 5:18 pm

Re: Knock Detection with variable sensitivity over RPM

Post by HOODEY »

maximuscr31 many thanks....

Looks pretty easy to code..

One cam pulse is bigger than the other. That can be used as the synch pulse.
I believe the falling edge of the crank pulse is 5dtdc. Ignition timing can be determined. Rpm can be determined from crank pulses.
KNock Window can determined with some extra hardware as position information is not as fine
as Nissan or Bosch 60-2.
Last edited by HOODEY on Tue Mar 22, 2011 9:35 am, edited 1 time in total.
maximuscr31
Helpful MS/Extra'er
Posts: 36
Joined: Sun Dec 26, 2010 5:00 pm

Re: Knock Detection with variable sensitivity over RPM

Post by maximuscr31 »

You start coding it then. Next week when I get paid I will be sending you money for my box.
maximuscr31
Helpful MS/Extra'er
Posts: 36
Joined: Sun Dec 26, 2010 5:00 pm

Re: Knock Detection with variable sensitivity over RPM

Post by maximuscr31 »

Here is the waveforms

http://www.roadraceengineering.com/1gca ... eforms.htm

if you are good with this I can send payment tomorrow.
maximuscr31
Helpful MS/Extra'er
Posts: 36
Joined: Sun Dec 26, 2010 5:00 pm

Re: Knock Detection with variable sensitivity over RPM

Post by maximuscr31 »

Has anyone gotten one these yet and put it to use? I would rather not be guinny pig #1
HOODEY
Helpful MS/Extra'er
Posts: 115
Joined: Sat Feb 21, 2009 5:18 pm

Re: Knock Detection with variable sensitivity over RPM

Post by HOODEY »

????
Last edited by HOODEY on Sun Nov 13, 2011 9:08 am, edited 1 time in total.
tpsretard2
Master MS/Extra'er
Posts: 662
Joined: Thu Feb 14, 2008 4:59 am

Re: Knock Detection with variable sensitivity over RPM

Post by tpsretard2 »

i am the one that bought it.
was out of the island, next week i will be setting it up..

will report back when i do..
HOODEY
Helpful MS/Extra'er
Posts: 115
Joined: Sat Feb 21, 2009 5:18 pm

Re: Knock Detection with variable sensitivity over RPM

Post by HOODEY »

????
Last edited by HOODEY on Sun Nov 13, 2011 9:08 am, edited 1 time in total.
HOODEY
Helpful MS/Extra'er
Posts: 115
Joined: Sat Feb 21, 2009 5:18 pm

Re: Knock Detection with variable sensitivity over RPM

Post by HOODEY »

GUI New Layout.

I wrote a program simulate the evo signal (Aka my own Stimulator).

It simulates and engine running at 1000rpm and firing at 75 degrees BTDC.

If the interrupt routine functions properly these values will be displayed on the GUI.

Stay tuned. :mrgreen:


http://bajanchameleon.com/gui.jpg
HOODEY
Helpful MS/Extra'er
Posts: 115
Joined: Sat Feb 21, 2009 5:18 pm

Re: Knock Detection with variable sensitivity over RPM

Post by HOODEY »

????
Last edited by HOODEY on Sun Nov 13, 2011 9:09 am, edited 1 time in total.
HOODEY
Helpful MS/Extra'er
Posts: 115
Joined: Sat Feb 21, 2009 5:18 pm

Re: Knock Detection with variable sensitivity over RPM

Post by HOODEY »

Modified to synch based on pulse widths.
maximuscr31
Helpful MS/Extra'er
Posts: 36
Joined: Sun Dec 26, 2010 5:00 pm

Re: Knock Detection with variable sensitivity over RPM

Post by maximuscr31 »

I am not sure. The ones I posted are for a 1g dsm 90-94/ evo 1-3
They use a cam sensor for crank/cam and is different than a 95-99/evo4-9 as they have a crank sensor and a cam sensor.Also the 95-97 cam angle sensor firing order is the same as the 90-94 but if you put a 90-94 cas in your 97-99 you have to swap the plug order
HOODEY
Helpful MS/Extra'er
Posts: 115
Joined: Sat Feb 21, 2009 5:18 pm

Re: Knock Detection with variable sensitivity over RPM

Post by HOODEY »

Pretty much finished with this application .Seems to work for Miatas as well.
Alternative style guage now included.


http://www.youtube.com/watch?v=7b077kPtFlU
HOODEY
Helpful MS/Extra'er
Posts: 115
Joined: Sat Feb 21, 2009 5:18 pm

Re: Knock Detection with variable sensitivity over RPM

Post by HOODEY »

????
Last edited by HOODEY on Sun Nov 13, 2011 9:09 am, edited 1 time in total.
HOODEY
Helpful MS/Extra'er
Posts: 115
Joined: Sat Feb 21, 2009 5:18 pm

Re: Knock Detection with variable sensitivity over RPM

Post by HOODEY »

HOODEY
Helpful MS/Extra'er
Posts: 115
Joined: Sat Feb 21, 2009 5:18 pm

Re: Knock Detection with variable sensitivity over RPM

Post by HOODEY »

HOODEY
Helpful MS/Extra'er
Posts: 115
Joined: Sat Feb 21, 2009 5:18 pm

Re: Knock Detection with variable sensitivity over RPM

Post by HOODEY »

?????
Last edited by HOODEY on Sun Nov 13, 2011 9:10 am, edited 1 time in total.
ianferrell
Helpful MS/Extra'er
Posts: 39
Joined: Tue Apr 14, 2009 9:10 am

Re: Knock Detection with variable sensitivity over RPM

Post by ianferrell »

So what all are you adding w/ the new ports on the board? Are you going full on after J+S safeguard? It'd be pretty awesome if it could pull timing like they do, but seemingly a big jump in complexity from what you already have.

I have a turbo miata, and I know that a lot of other turbo miata people would be very interested in such a product.
HOODEY
Helpful MS/Extra'er
Posts: 115
Joined: Sat Feb 21, 2009 5:18 pm

Re: Knock Detection with variable sensitivity over RPM

Post by HOODEY »

There is already funtionality built in to retard timing provided the application does not use all of the Pic onboard timers.

Additional the Megasquirt can take care of ignition retard during knock.

The four Igt outputs if needed can take the igt signal from a distributor setup and generate 4 for indvidual coil igt pulses.
Locked