Torque Knock PID - may have some progress...

ecoboostsho

New member
I've been playing with the PID that we all believe is as follows (as confirmed by 4DR):

Manufacture ID: OEM_FORD
COM Level ID: CommLevel_ISO 14229
Comm Type ID: CAN_COMM
Category: Spark
Name: Knock Sensor
16 Char Name: Knock Sensor
Description: Knock Sensor Retard
Address: 0x3ec
Address size: 2
Units: Degrees
Data Type: Int16
Binary Point: 9
Multiplier: 1

The actual Torque PID is 2203EC as you need to include the mode "22" to request information off the CAN bus.  If anyone is actually using this you do get some weird results just looking at the 'A' variable.  It will jump to 255 and count down at times and other times it will just register a 1 or 2...

It occurred to me that this is probably a two's complement (a way to represent negative numbers in Binary) when I was looking at the forscan.org program and they show "knock" as ranging from negative to positive.  I'm used to reading knock as an absolute from my GM days where if it was knocking it was just pulling timing.  I'm starting to think that this PID is knock but it will showing timing added or pulled due to knock or the lack thereof.

I then did some research and Torque actually supports "signed" numbers!

So for the equation in torque I used the following:

Signed(A)

I won't go in to a big discussion on signed numbers in binary here unless someone really wants me to - you can Google it obviously too.

I did this to see what I would get and sure enough I get a positive and negative number that makes a lot more sense.  Ranging from -5 to +3 so far for me.  I tried a more complicated formula to see if it was using both the A and B variable but it doesn't seem to really use 'B' for anything useful. The formula I used for that test was (Signed(A*256)+B)/8 ended up giving me the same result as the much simpler formula above so it only appears to be using the 'A' variable.

Now the next thing I've noticed is that all of the other scanning programs seem to measure knock in quarter degrees.  (0.25) which would imply there is a divide by 4 in the equation missing.

{Update - 8/8/2014  After further research here with others help I believe we have finally settled on the correct equation.}
By watching the knock PID in another Scan tool I am modifying the formula yet again.  I can't completely figure out the exact value but I am comfortable that the "A" variable will give you knock in 1/2 degree increments.  I suggest everyone updates their PID

So currently I am running with the following equation in Torque:

Signed(A)/2+(B/512)

It seems to be pretty close if not accurate.  Negative numbers right now actually indicate it is adding timing and positive numbers indicate the presence of some knock. Yes this seems somewhat counterintuitive but that is apparently how Ford designed it. (If it bugs you just put a '-' sign in front of the equation but then remember you put it there anytime you have a discussion on the forum) The noted ranges so far seem to go from -5 to +7...consensus on what is safe seems to vary and will probably depend on how modded you are ( A couple of degree running at 18 psi with aftermarket turbos probably wouldn't be great while it may not be a big deal on a relatively "normal" tune running lower boost/timing etc...)



 
Please include a screen shot of your setup, this would help many, after that I'll try and figure out how to get them out of torque and add them to a csv file so people can follow an easy process to add it.

As far as + and - it's due to the fact that the car will add timing if it doesn't see knock, it's kind of weird but it works that way.
Positive value = timing being pulled
Negative value = timing being ADDED
:)
 
Got the Screenshot!  I did some logging with Forscan and this is pretty close for the Positive numbers...the negative numbers in Torque seem to have additional resolution that I haven't figured out in the equation but this should give everyone a good indication of what is going on at WOT.  You shouldn't have more than a degree or maybe two of knock at WOT...anything higher would make me nervous although this car does seem to react very quickly to knock and seems to be good at saving itself...,

Please note the formula you should be using is -        Signed(A)/2
 
So I need to go in:

torque settings/Manage extra PIDs-Sensors/Add custom sensor

And then copy the info in your screenshot and voila?
 
BigPelo said:
So I need to go in:

torque settings/Manage extra PIDs-Sensors/Add custom sensor

And then copy the info in your screenshot and voila?

Yes, should work fine then. I mostly see "0" on mine. Sometimes I'll get an odd result like 63.8 or something like that.
 
ecoboostsho said:
You shouldn't get the 63.8 anymore if you are using the " signed" parameter above

I actually JUST changed to the 'signed' to the equation. It'll be nice not seeing that anymore! Thank you.
 
When I went to the settings in torque
It warned me..." Saying be sure your info is accurate because adding something in here could turn on off features in vehicle???
Wow...


Sent from my iPhone using Tapatalk
 
bigmoneycloser said:
When I went to the settings in torque
It warned me..." Saying be sure your info is accurate because adding something in here could turn on off features in vehicle???
Wow...

Wow is right!  That's plain scary!  :hypo:  Could it corrupt a tune… or safety programming?  :hmmm:
 
That's a pretty standard disclaimer.  You won't be corrupting a tune with it.  You could accidentally update something (say unlocking your doors etc...) that wasn't intended.  I suppose it may shut the car off but this is only if you are typing random things in to this field - and as the app states you shouldn't do that.  There is relatively low risk in my opinion since mostly what you are doing is reading data not updating it...
 
I updated this thread.  I would recommend you change your knock formula in Torque to the following:

{Modified 8/8/2014 based on current knowledge of PID
Signed(A)/2+(B/512)

this will result in knock values measured in 1/4 degree increments. 
 
I updated the pic formula as posted to 2 instead of 4 in the signed area.
Now I'm seeing +7 on the max.... Before the update I never went above + 3.5
Is this normal? It's pulling way too much timing if that's correct
4ute9adu.jpg


2010 RCM non PP
K&N panel filter
sp534 @ 30
unleashed 93 performance+boost
more to come.....
 
I'm barely seeing any positive knock running the new formula. Always less than a degree...makes sense it doubled. You could double check with forscan if you have a laptop handy...

Sent from my XT1060 using Tapatalk

 
I only see the knock in 5th or 6th gear while Rpm is pretty low.
Unfortunately I do not have a  laptop. Only desktop , ipad , iPhone and android tablet
 
If it isn't at full throttle it shouldn't be nearly as concerning. Cylinder pressures would be much lower. You could have Torrie pull some timing in that rpm range if you are really worried about it. I get some part throttle knock as well...

Sent from my XT1060 using Tapatalk

 
Back
Top