Knock Detection with variable sensitivity over RPM
Moderators: jsmcortina, muythaibxr
Re: Knock Detection with variable sensitivity over RPM
Nice work. Sorry, for not finding it before my post. Have you considered of tach signal as reference for knock window ? It is easier, than adding support for all king of trigger support. I have already scoped it, for ms1 chip it is same as trigger input, for ms2 ~10-20deg before trigger input. Also - did you managet to place knock code outside of main loop ? Or you didn't modified ms software ?
http://www.msextra.com/forums/viewtopic ... 91&t=41686
http://www.msextra.com/forums/viewtopic ... 91&t=41686
Re: Knock Detection with variable sensitivity over RPM
So can you explain your algorithm using tach? Is the start ofthe knock window consistent? Is the length of the window
consistent? I did not touch the MS. Just provide it with information it needs to know.
consistent? I did not touch the MS. Just provide it with information it needs to know.
Re: Knock Detection with variable sensitivity over RPM
Hello. Tach out is used for engine phase detection. The begin of knock window - 10 degree ATDC and end 60 degree ATDC is determined inside microcontroller and is configurable using two pots.
I just found tach out having constant phase and easier to implement, than trigger whell support.
I just found tach out having constant phase and easier to implement, than trigger whell support.
Re: Knock Detection with variable sensitivity over RPM
So how do you calculate 10atdc. What reference point do you have for doing this? Is the tach out based on spark or cam reference from the ms?
Re: Knock Detection with variable sensitivity over RPM
It is just experimental. I am using tach out as referenece, 10 and 60 degree is calculated by atmega. But problem is with ms code, it will not work propertly. It is solved in ms3 chip.
http://www.msextra.com/forums/viewtopic ... 0&start=20
http://www.msextra.com/forums/viewtopic ... 0&start=20
Re: Knock Detection with variable sensitivity over RPM
You are not answering the question? How do you know you are at 10atdc? Is the tach signal occurring at a specific angle or is it based on the spark pulses?
Re: Knock Detection with variable sensitivity over RPM
I calculate it.
Re: Knock Detection with variable sensitivity over RPM
?????
Last edited by HOODEY on Sun Nov 13, 2011 9:13 am, edited 1 time in total.
Re: Knock Detection with variable sensitivity over RPM
No no and no. Tach out is stable in phase. For ms1 it is same as trigger event, for ms2, 10 degree after, but in both cases it does not depend on spark angle ATTALL.HOODEY wrote:How do you calculate a fixed point when rpm is varying and ignition timing is varying?
My assumption is that the tach signal is based on spark pulses i.e (varying ignition timing i.e varying degrees before tdc).
Re: Knock Detection with variable sensitivity over RPM
What trigger event? Are you talking about the cam reference? Your saying that the tach output is the same as the cam reference signal?
For ms1 it is same as trigger event, for ms2, 10 degree after,
-
- Site Admin
- Posts: 39614
- Joined: Mon May 03, 2004 1:34 am
- Location: Birmingham, UK
- Contact:
Re: Knock Detection with variable sensitivity over RPM
The internal trigger event as set in ms2_extra_ign_wheel.c or by the chosen trigger teeth in MS1/Extra.HOODEY wrote:What trigger event?
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".
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".
Re: Knock Detection with variable sensitivity over RPM
?????
Last edited by HOODEY on Sun Nov 13, 2011 8:42 am, edited 1 time in total.
-
- Site Admin
- Posts: 39614
- Joined: Mon May 03, 2004 1:34 am
- Location: Birmingham, UK
- Contact:
Re: Knock Detection with variable sensitivity over RPM
no?HOODEY wrote:Okay ..so you basically have a cam reference.
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".
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".
Re: Knock Detection with variable sensitivity over RPM
Reflected on this and I think I will keep my desing as is.
Re: Knock Detection with variable sensitivity over RPM
Any news? We need a reliable and affordable knock detection system...
Re: Knock Detection with variable sensitivity over RPM
Hmmm interesting, now is this using the dsp based Texas instruments knock chip?