Knock module for MS3 (beta test)

Testing and development of Megasquirt 3

Moderators: jsmcortina, muythaibxr

tpsretard2
Master MS/Extra'er
Posts: 662
Joined: Thu Feb 14, 2008 4:59 am

Re: Knock module for MS3 (beta test)

Post by tpsretard2 »

I got it, I got it.

here is a log showing the exact same thing :)

you can see in the start knockin stays at 18.9
after restart everything is normal.
y8s
Master MS/Extra'er
Posts: 478
Joined: Wed Jan 07, 2009 3:21 pm

Re: Knock module for MS3 (beta test)

Post by y8s »

I've been running this thing for a little while and I am getting pretty consistent results as far as noise levels and response from Sensors 9-12 in the logs.

My issue is that I am not sure how to interpret the noise levels under some conditions.

For example, I'll have a region in cruise where RPM is about 3500 and MAP is transitioning from 40 to 60 or so kPa and the noise level increases dramatically around 50-60kPa. I don't feel my fuel and spark are aggressive (14.7 AFR, 34-38 degrees advance). It could just be an engine resonance or noise. I did try to trim the noisier cylinders (there were some pretty sizeable differences from cyl to cyl in some cases) and that helped some.

the good news is that under boost (I'm only running ~9 psi on the gauge/150 kPa on MS) there is more noise but no large spikes. Actually that may not be true 100%. I need to get some SD logs and verify none of the spikes are clipped. See note below...

Some places are easy to interpret. I turned off (raised tpsdot limit) enrichments to work on tuning EAE and I get occasional tip-in spikes when the mixture goes lean briefly. And seeing individual per cylinder knock is useful as I mentioned above for tweaking per cylinder trims.

I have NOT seein the issue where knock level "sticks" to a certain value when cold starting. Mine always hovers around 10-20 at idle, depending on the cylinder.


Note to James: Since knock can be very short duration in a datalog, can the logs show highest knock over the last "t" time period? Perhaps like a third (300ms) or half-second (500ms) rolling peak indicator like your stereo equalizer that shows you a max level for any given previous third or half second or something. NOT an average... but a peak. So if a spike falls between log values, it still captures the maximum knock level and displays it. Even having "knockin" done this way would work since generally I want to be overly cautious when reacting to knock and don't mind an extra half second of retard.

Anyway, I'm pretty happy.
jsmcortina
Site Admin
Posts: 39569
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Re: Knock module for MS3 (beta test)

Post by jsmcortina »

I've made some of these additions ready for the next release.
I added new gauges/variables for knock per cylinder (instead of hijacking sensor09+) and made them peak/decay.

The SPI knock initialisation code also validates the replies it receives, however this isn't working correctly with the pre-prototype board I have installed on my car, so more investigation required. (Works fine on the bench with a board the same as the ones I sold.)

James
I can repair or upgrade Megasquirts in UK. http://www.jamesmurrayengineering.co.uk

My Success story: http://www.msextra.com/forums/viewtopic ... 04&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
New users, please read the "Forum Help Page".
y8s
Master MS/Extra'er
Posts: 478
Joined: Wed Jan 07, 2009 3:21 pm

Re: Knock module for MS3 (beta test)

Post by y8s »

awesome. I was wondering what took so long for a response.

If you have test code with that and ken's "New AE" fixes in one place, I'm happy to test.
kn_tl
MS/Extra Newbie
Posts: 13
Joined: Sun May 01, 2011 6:28 pm

Re: Knock module for MS3 (beta test)

Post by kn_tl »

Hello James,

I don't know if you are keeping a list but I would be interested in getting on the next batch that you produce.

Thanks!
Zaphod
Master MS/Extra'er
Posts: 390
Joined: Thu Aug 14, 2008 11:38 pm
Location: Germany

Re: Knock module for MS3 (beta test)

Post by Zaphod »

I would also want one - is there a timeline on the next batch? (As well as the RTC boards.)
--------------------------------
fun is not a straight line

Image

Sven
http://www.mx-5club-sachsen.de
http://miata.cardomain.com/id/svenmx5
NB-1998-1,6-Garrett T25 HGP Turbo Stage I
Keithg
Super MS/Extra'er
Posts: 2413
Joined: Sun Mar 06, 2005 9:15 am
Location: Chicago, IL, USA
Contact:

Re: Knock module for MS3 (beta test)

Post by Keithg »

Does the per cylinder knock work only with this module or with other modules? I have the Saab unit my car came with and get a pull to ground when knock is sensed. Will this also give per cylinder information?

Keith
jsmcortina
Site Admin
Posts: 39569
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Re: Knock module for MS3 (beta test)

Post by jsmcortina »

Keithg wrote:Does the per cylinder knock work only with this module or with other modules? I have the Saab unit my car came with and get a pull to ground when knock is sensed. Will this also give per cylinder information?

Keith
I'll have to look into that, I'm pretty sure it won't at the moment.

James
I can repair or upgrade Megasquirts in UK. http://www.jamesmurrayengineering.co.uk

My Success story: http://www.msextra.com/forums/viewtopic ... 04&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
New users, please read the "Forum Help Page".
Reverant
Super MS/Extra'er
Posts: 1228
Joined: Sat Apr 15, 2006 12:39 am
Location: Athens, Greece

Re: Knock module for MS3 (beta test)

Post by Reverant »

I think that would require that the input pin is an interrupt source.
The man behind MS Labs
2005 Audi A3 2.0L TFSI DSG AWD - Extreme MS3
2002 Mazda Miata 1.8 6sp - Enhanced MS3 1.4.0, sequential injection, sequential ignition, big turbo, lots of boost
Keithg
Super MS/Extra'er
Posts: 2413
Joined: Sun Mar 06, 2005 9:15 am
Location: Chicago, IL, USA
Contact:

Re: Knock module for MS3 (beta test)

Post by Keithg »

Reverant wrote:I think that would require that the input pin is an interrupt source.
I believe I am using the 'knock' input on the MS3 card. If that makes any difference.

Keith
Blades Rally Team
MS/Extra Newbie
Posts: 28
Joined: Tue Nov 29, 2011 8:36 am
Location: Grantham England
Contact:

Re: Knock module for MS3 (beta test)

Post by Blades Rally Team »

James

When may the next batch of these be available to purchase I could do with one in the next couple of weeks

thanks

Kevin
phoenix3d
Experienced MS/Extra'er
Posts: 183
Joined: Wed Mar 19, 2008 2:12 pm
Location: South Africa

Re: Knock module for MS3 (beta test)

Post by phoenix3d »

Yip.. Me Too Please....

As soon as you got some Please Shout...

Cheers!
bmw5002
Helpful MS/Extra'er
Posts: 83
Joined: Wed Nov 03, 2010 8:49 pm

Re: Knock module for MS3 (beta test)

Post by bmw5002 »

add me to the list as well please
Zaphod
Master MS/Extra'er
Posts: 390
Joined: Thu Aug 14, 2008 11:38 pm
Location: Germany

Re: Knock module for MS3 (beta test)

Post by Zaphod »

I have to ask because there is no activity in this thread anymore - are the proto-boards not working? or are they working so flawless that there is nothing to write about?
I think a lot of people would like to know how it goes with this and how the further development will be...

Thanks!
--------------------------------
fun is not a straight line

Image

Sven
http://www.mx-5club-sachsen.de
http://miata.cardomain.com/id/svenmx5
NB-1998-1,6-Garrett T25 HGP Turbo Stage I
gross polluter
Helpful MS/Extra'er
Posts: 109
Joined: Wed Nov 14, 2007 4:44 pm
Location: San Diego

Re: Knock module for MS3 (beta test)

Post by gross polluter »

Zaphod wrote: are they working so flawless that there is nothing to write about?
!
This is where I'm at. I was about to make a post last night saying "put 5k on this board so far and it's working flawlessly." But felt that it didn't really contain enough content to post. I think right now this is one of those "no news is good news" type situations. In my case, I had to make some modifications by adding resistors inline with my knock sensors to get the board to work properly. Now it's working absolutely flawlessly. Really nothing else to report on my end.
88 RX-7 TII - MS2 Extra 1.0.2
68 Mustang 351C - MS3X
88 Volvo 245 - 2JZGTE VVTi powered, MS3X + MSGPIO Mshift controlled
jsmcortina
Site Admin
Posts: 39569
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Re: Knock module for MS3 (beta test)

Post by jsmcortina »

Good to hear.

Any updates on the "intermittent incorrect values" until powercycle? I made a change for beta19 firmware that may (or may not) have addressed it. I've been unable to replicate this problem on the bench myself.

James
I can repair or upgrade Megasquirts in UK. http://www.jamesmurrayengineering.co.uk

My Success story: http://www.msextra.com/forums/viewtopic ... 04&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
New users, please read the "Forum Help Page".
tpsretard2
Master MS/Extra'er
Posts: 662
Joined: Thu Feb 14, 2008 4:59 am

Re: Knock module for MS3 (beta test)

Post by tpsretard2 »

My car been down, will be testing this weekend and will let you know.
bmw5002
Helpful MS/Extra'er
Posts: 83
Joined: Wed Nov 03, 2010 8:49 pm

Re: Knock module for MS3 (beta test)

Post by bmw5002 »

eagerly awaiting the next release of this board...
tpsretard2
Master MS/Extra'er
Posts: 662
Joined: Thu Feb 14, 2008 4:59 am

Re: Knock module for MS3 (beta test)

Post by tpsretard2 »

James i have done some testing as i am still having HELL with the strange reading i was getting.......

One of the problems seem to be gone with your code additions. This was the problem knockin not always being 0 with the engine off and ignition on.

However i still get HORRIBLE readings when cold, it is ether the sensor it self, or the wiring i am starting to think. I had it running for a long time, very long and the readings very very VERY high. So i put on some heat gloves and went to work. One of the tests i did was to disconnect the the knocksensor when running, and with engine rpm there was a moving knockin reading, so somehow noise is getting into the system.

First thing i am changing is the knock sensor as it is a single wire, it grounds through the sensor body, will change it to a bosch sensor, and see what happens, if that stops i will change the shielded wire..

Still cant figure out when turning off and turning on will fix it.....has to be a dam ground...
wargen
Helpful MS/Extra'er
Posts: 137
Joined: Sun Jan 23, 2011 4:45 pm
Location: Sweden

Re: Knock module for MS3 (beta test)

Post by wargen »

Put me also in the que,, Best regards Jonny
RC45 RC46 Turbo everyday bike MSIII full seq , RC45 Race bike NC35 Race bike
Post Reply