Shop OBEX P1 Docs P2 Docs Learn Events
Engine Knock — Parallax Forums

Engine Knock

TJHJTJHJ Posts: 243
edited 2008-06-26 17:21 in Propeller 1
Hey again all,
I was hoping if anyone has had experience trying to sense engine knock, they could point me in the right direction here.
So I was considering using the Piezo Film Vibra Tab Mass, mounted to the block, but the 1st experiment melted off the block as soon as it got warm. What I was planning was a a kind of normalization to sense it, The engine makes sounds in this range, anything greater produces knock warning. But since Im not to sure about the Tab mass now and I am stuck at a cross road. The next thought was to use a small microphone set inside of a bolt/tube filled with high temp epoxy. But using this method I would need to be much more specific to the sound of knock, Here in lies the big problem, I have been scouring everything I can find on the subject, and I cant find the frequency that knock occurs, everything says "Knowing the knock frequency, we can sense accordingly", Incredibly frustrating, I cant seem to find a hard number any of what frequency knock occurs at. I have even gotten desperate enough I have been the libary, and been through a ton of books and papers on the subject. (Real paper... Its weird tongue.gif) I know that each engine has a slightly different frequency, and ideally I would take an engine advance the hell out of the timing, record all the data and blow it up, but thats just not realistic for me. But proably would be fun. jumpin.gif

So Does any one know the frequency at which knock occurs?
If not maybe a true knock sensor that would interface well to the propeller chip, to avoid the microphone problem?
Hell if anyone has anything please let me know, Maybe I am just a failure at searching, I hope not.

Thanks for the time, I cant thank you all enough.

TJ

Comments

  • Erik FriesenErik Friesen Posts: 1,071
    edited 2008-06-15 02:28
    I am not sure but based on my experience with the old ford FE block 390 I am making a guess that there is not a specific frequency that you need to be looking for but rather a distinct increase in engine vibration. I am guessing that this sensor would be easy to interface to a prop, perhaps needing an external adc.

    http://delphi.com/manufacturers/auto/sensors/et/flat/

    Another possibility is that you could use or modify an oscilliscope or a fft object(It seems like I have seen them here somewhere) and feed the input directly into the prop adc setup to detect the difference. You will probably have to induce your engine to ping lightly somehow, which is not hard if you have an old engine you can adjust the timing on.
  • DJSandbergDJSandberg Posts: 56
    edited 2008-06-15 02:54
    TJ,

    It's been twenty years since I studied this, but as I recall, the frequency is 17.5 Khtz.· I would suggest just using a OEM·knock sensor.·· They are $20-$50 on Ebay.· One thing to keep in mind.· They can generate 30-50 volt spikes.·

    Daryl
  • Bob Lawrence (VE1RLL)Bob Lawrence (VE1RLL) Posts: 1,720
    edited 2008-06-15 03:18
    You may find this website interesting. It show the resonant frequency test results for various sensors.


    www.max-boost.co.uk/max-boost/internet_articles/BigMooses_Ramblings_Knock.htm

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Aka: CosmicBob
  • pmrobertpmrobert Posts: 673
    edited 2008-06-15 12:39
    Bore diameter is key to the freq you need to look for - as well as harmonics the knock SHOULD generate. I do know that the OEMs use fairly high powered dedicated DSPs in their knock detection efforts. The URL in the above message is very nice, thanks for that!
  • TJHJTJHJ Posts: 243
    edited 2008-06-15 16:16
    Awesome info,
    Thank you all for your help, now comes the fun part
  • Brian LBrian L Posts: 60
    edited 2008-06-15 17:29
    There is a book you need to get that explains this in very good detail, called "The Internal Combustion Engine In Theory and Practice" by Charles Fayette Taylor, and published by the MIT press, which is a two volume set, and about ten years ago it cost me about 80 bucks at Barns and Noble. They didn't usually have it in stock, or had only one volume of it, so I had to ask them to order it to get both books. Now you can find it at Amazon.com, but they might sell the two volumes separately.

    In one of the books, I can't remember which one, there is a good chapter that explains why the exact frequency of the knock differs by bore size, and the pressure and temperature of the combustion gases in the chamber at the time the knock is happening. OEM knock sensors therefore, are built to sense specific freq's for specific engines and may not work when applied to the wrong engine. Since engine knock is characterized by the echoing of sound waves back and forth inside the cylinder, and since extreme temperatures and pressures make significant changes to the speed of sound, you must first calculate the exact speed of Mach 1 inside your cylinder during the knocks, and only then can you use bore size to determine the frequency of the ringing from the knock. The book I mentioned shows in great detail how to go about calculating all of this, as well as a thousand other things about engine design that you'd never think of. It's the best book I've ever seen for learning about designing engines.
  • Kevin WoodKevin Wood Posts: 1,266
    edited 2008-06-15 17:53
    If you google the title of that book, it finds you to an online version on their books site.
  • TJHJTJHJ Posts: 243
    edited 2008-06-16 19:14
    So on question of the sensor output voltages being so high, for the resonate style sensors, would and acceptable method for controlling it be a 3.3v zener diode inline with the sensor. Then I can just watch that pin for high, if high approaching knock?

    Or should I go to a 5v zener to ground, and a voltage divider to drop back to 3.3v?


    So I found it all, I cant thank you all agin for the help, I thought I would post the formula here so if anyone else ever comes across this post and needs it

    Fundamental Knock Frequency = Fn = (Kc*c)/B = (Kt*(t)^(1/2))/B
    Kc, Kt = Contestants
    c= Local Speed of sound
    B= Cylander Bore Diameter
    T= Combustion Chamber Temperature

    Then the Fn*Mode= Knock Frequency
    Mode is dependent on cylinder shape but is 1.65, 2.07, 2.26, It has been stated that it is best to use the 1.65 for most engines as to delay knock to the higher frequencies special head shapes and designs are required.


    Thanks again all.

    Post Edited (TJHJ) : 6/16/2008 7:27:02 PM GMT
  • TeslaTesla Posts: 55
    edited 2008-06-16 20:01
    You should read everything of BigMoose's. I know him and he is one damn smart guy.


    Also if you wanted to get crafty and pave a slightly new path, you can measure the electrical resistance of the spark plug after the spark has fired. I am not sure how it all works, but you can "watch" the combustion happen thru the resistance of the spark plugs gap.

    Also if you cannot get he detonation sensor working you could always use a fast thermocouple on the exhust to sense the rapid rise in EGT, showing that you have either detonation or a preingition
  • GreyBox TimGreyBox Tim Posts: 60
    edited 2008-06-16 21:03
    Even easier than putting DC through the spark circuit after the initial spark (to watch the combustion efficiency), is to observe the crank sensor for a faster than normal pusle arrival (showing a crank-shaft acceleration) or a slower-than-normal pulse arrival (showing a crank deceleration "misfire").

    If you use a hall-effect continuous rotary angle sensor, you can tell exactly how fast the crank is spining, and which cylinder has contributed to the output (using the engine's firing order table as a reference).

    -Tim
  • TJHJTJHJ Posts: 243
    edited 2008-06-17 03:08
    Tesla said...

    Also if you cannot get he detonation sensor working you could always use a fast thermocouple on the exhust to sense the rapid rise in EGT, showing that you have either detonation or a preingition


    I am actually already using the fastest response thermocouples I could afford to watch each cylinders temperature and for any abnormalities as well as during "Cruise" Conditions to alter the advance to more evenly distribute the load to improve cruise economy. But I fear that with the 11,000 to 13,000 rpm operation range observing the temperature change in each pulse is not possible, I don't think the thermocouples can compensate fast enough to see each pulse at those engine speeds. As for Big moose tell him thank you for me, his work so far has helped me out a lot.

    I am reading for inputs, EGT, CHT, Throttle Position. I have calibrated all the intakes to be with in 3% of each other so I can make a pretty confidant statement that each cylinder would receive the same amount of air, for any calculation ideas anyone has.

    GreyBox Tim said...

    If you use a hall-effect continuous rotary angle sensor, you can tell exactly how fast the crank is spining, and which cylinder has contributed to the output (using the engine's firing order table as a reference).


    I was considering using this as a safety method, I am actually using a hall effect sensor on the engine already as the "Crank Pick up wheel" is actually part of the crank shaft, I went to the hall sensor to help get more accurate readings than I was getting with the magnetic system(My guess really was interference), but the hall effect has been some much easier than the magnetic style sensors anyway.

    So here is the question, the pickup wheel, if you can call it that, is two notches every 164 degrees, that are 16 degrees wide. Short of re machining a case Im pretty much stuck with it, as I have no other external drive reference I could use to mount a multiple tooth sensor to. My original plan was to use a 30ish tooth wheel and look for any acceleration in the time measurements before the spark event, indicating pre ignition fire, to bad now.

    Being stuck with this pickup wheel, I can only see a time for the majority of the stroke, being a non static engine, I can really find a good way to differentiate between road condition based acceleration/Deceleration, or knock acceleration/Declaration. Maybe I am over looking at this wrong, but short of putting a limit that if last reading is < 1.2(New Reading) = Danger I cant think of a way where external factors wont mess it up.

    The method of using the plug to watch seems very interesting, time to do some digging.

    Thanks again all,
    TJ
  • TeslaTesla Posts: 55
    edited 2008-06-17 13:42
    Yea that is just a little too high of rpm to try to read temp that fast.

    So this a stand-alone ecu project?
  • TJHJTJHJ Posts: 243
    edited 2008-06-17 17:52
    It started off as a adjustable servo controller, and has now snowballed into a full standalone ECU.
  • TeslaTesla Posts: 55
    edited 2008-06-17 19:48
    adjustable servo controller? how do you go from that to full blown ECU.

    In case you have any other questions I know quite a bit about ECU systems and would love to see the project when your done. I have thought about doing it myself for making my car run off of injected propane, but i have other projects way ahead of it.

    What did you end up using for counting the air? Mass(hot wire) or MAP.
  • TJHJTJHJ Posts: 243
    edited 2008-06-18 03:12
    Well its for a 2-stoke carburated engine. I am not monitoring airflow into the cylinders, but if I was building an injected version, next project, I would use map over MAF, MAF to me has to many variations that it cant account for, and with the power of the prop performing the calculations for MAP should be a breeze, as it is now I take the 164 Deg time, (Convert to 180deg from 164) compare to a rpm, Find out what the m and b should be for a mx+B equation for the new timing calc in deg/180 units, take that multiply it by the time I just got from the crank, all before the 16 deg low part of the crank has passed. I ran a test simulation using a few function generators, and it can still do that set of calculations in the 16 deg window all the way up to 22,000 RPM, way more than I need, but none the less cool I thought.

    How does any project start out as the simplest thing ever and go to way more complicated than it ever should.... Because it can. (thats my theory at least)
  • GreyBox TimGreyBox Tim Posts: 60
    edited 2008-06-18 22:39
    A tone-wheel pulse-detector is not really what I was talking about...· Check out the data sheet I've attached.

    A device like this needs a small magnet mounted to the end of some shaft (ideally the crankshaft, near a thrust bearing).· It can provide an "absolute position" of the magnet at 10-bit resolution (so it can tell you where the crankshaft is to within +/-0.175degrees, for this part).· Once·your microcontroller·has that data, the high speed pulse outputs can give you a quadrature-type output to allow you to detect movement in either direction at basically any speed from 0-10K RPM.· This means that the micro should read the position before the engine is started - then keep tabs on it.

    With a 2-stroke this type of input is perfect, since you don't need a 50%-drive-speed input (like from a cam shaft) to get the "cycle" hemisphere (recall that with a 4-stroke it goes: 1-intake, 2-compression, 3-combustion, 4-exhaust; with two compete up-and-down actions [noparse][[/noparse]4 "strokes"] each firing - and thus two complete turns of the crankshaft).· For a 2-stroke each rotation of the crankshaft causes one complete combustion sequence for each cylinder.

    To check for engine load vs. "knock" should be fairly easy - engine load is more steady (even things like running over rocks and the like on a motorcycle will cause a deceleration over multiple combustion cycles), while a miss-fire is a single-shot event or a continuous deceleration·on the same cylinder (indicating something like a bad spark plug or wire for that specific cylinder).· Knock should cause the engine to decelerate a bit earlier than a combustion acceleration was expected (based on the instantaneous timing advance angle for the cyclinder).

    Similarly, an engine that is beginning to "lug" will have a higher exhaust temperature (EGT) than one that is running on a fairly light load.· An engine that is having more throttle applied will have a higher vacuum after the air filter (the throttle isn't restricting the flow of air as much when it is opened more).· A throttle position sensor (TPS) change should pre-empt any vacuum increases and indicate that the fuel-map may need to change columns.· An engine that is running rich or lean is also easy to detect (using off-the-shelf O2 sensors).· Account for these items·and the engine's temperature (giving it a "cold engine" fuel map until the engine reaches temp)·- and you basically have an OBD-1/2 ECU...

    -Tim
  • TJHJTJHJ Posts: 243
    edited 2008-06-25 17:22
    Thank you, sorry about the delay on the response here, got a little sidetracked with some subtraction issues.
    I have ordered some of the sensors so it will be a week or two before I get them and then I think I will have to split the case to mount it up.

    One question, I feel that there would be to much interference but I am unsure how sensitive these are to outside factors. Would this sensor be able to be mounted in the center of the stator (Magneto), or would the magnets moving around there just mess the whole thing to all hell? It would be really nice to be able to mount it there because it means I do not have to, pull the motor, split the case just to mount this sensor.

    Thank you for your time, and all the awesome help.
    TJ
  • parskoparsko Posts: 501
    edited 2008-06-26 02:04
    TJ,

    I think it depends on your stator. My 'Berg has magnets all around the circumference to supply power for charging the battery. But, my ignition only uses 4 magnets consuming about 60degrees of the total 360degree revolution.

    If you are going to add magnets (aka counterbore some holes and drop in some strong magnets potted with epoxy) that will end up being very close to your sensor, then the interference may be cancelled out by the sensor itself.

    My instinct (which is iffy at best most of the time) says that you'd be fine just sticking the thing in there, as it will (should) recognize a magnetic field change in polarity. If you have both a charging and ignition magnets, the ignition magnets should cause the field to change, while the charging magnets should be a higher frequency change.

    Not sure if that all came out right, or if it was even correct. But I thought I'd add my 2 cents.

    -Parsko
  • hinvhinv Posts: 1,255
    edited 2008-06-26 04:02
    This is a bit off topic, but since you guys are motorheads, I thought I would plug a new engine type that EVERYBODY needs to see.

    Check it out:
    video.google.com/videosearch?q=myt+engine&sitesearch=#
    angellabsllc.com/resourse.html

    I am no way affiliated with them(wish I was), but this thing everybody should know about!
  • LeonLeon Posts: 7,620
    edited 2008-06-26 10:22
    And I've got fairies at the bottom of my garden.

    How do they seal all those flappy things? The combustion chambers are the wrong shape. How do they stop the flaps from overheating and burning? I first saw that idea many years ago, no-one has actually produced a working version.

    Leon

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Amateur radio callsign: G1HSM
    Suzuki SV1000S motorcycle
  • TJHJTJHJ Posts: 243
    edited 2008-06-26 16:26
    Hell I cant even make a normal engine work right....



    I once tried my hand a rotarys, 6 motors later I decided to sell that project.



    Parkso, Yeah Im just going to get it on there and see. This has 3 sets of magnets, goofy I know, the internal set act as·power to main electronics. A set on the wheel itself 6 total, and then a·fixed outer set, High voltage for ignition. I hope it works out.

    Edit* To clear up a bit. I plan on mounting the magnet that is speced for the sensor in the center of the stator wheel, Im just concerned about the magnets spinning around the outside of it, and how large the field of dection is, eg, the wheel is about 4 inches D. So guestamating, would the field of the sensor see and be affected by that?

    Thanks again for all the great advice and help.

    TJ


    Post Edited (TJHJ) : 6/26/2008 4:34:01 PM GMT
  • parskoparsko Posts: 501
    edited 2008-06-26 17:21
    TJHJ said...
    Thanks again for all the great advice and help.

    Hey, watch what you're sayin there! tongue.giftongue.gif
Sign In or Register to comment.