Torque

Forums

Forums

Guest  

Show or hide header
Welcome Guest, posting in this forum require registration.




Torque » Torque OBD ECU Scanner » Torque Discussion / Ideas » NOx Pre and NOx Post SCR weird values

Pages: [1]
Author Topic: NOx Pre and NOx Post SCR weird values
Rosenhauer
Member
Posts: 3
Post NOx Pre and NOx Post SCR weird values
on: May 17, 2017 (GMT)

The 2 NOx readings are reading strange values.

NOx Post SCR(ppm) Reads 2000.004 at startup then after a min or so drops to -40 to -100 (yes negative) same for NOx Pre SCR(ppm)

Is it possible to see the formula that these use? I’m thinking it’s subtracting 100 but since it’s a standard PID I don’t know how to fix it or create a new one that has it adjusted. The 2000.004 is also what it shows when the ignition is off so I’m assuming that’s a infinite or not ready to read.

PS. This is on a 2012 MB GL350 Blutec but I thought the Standard PID’s were supposed to be standard.

Capp777
Member
Posts: 2993
Post Re: NOx Pre and NOx Post SCR weird values
on: May 17, 2017 (GMT)

You might be able to figure it out by using
Torquescan to determine which OBD Pid is used
then creating your own custom pid to look
at the raw hex response from vehicle. ([xx]).

It could also be the equation used is signed and
the hex values begin to move beyond the
halfway point setting the MSB.

Edited.

Rosenhauer
Member
Posts: 3
Post Re: NOx Pre and NOx Post SCR weird values
on: May 17, 2017 (GMT)

I’ve looked at the raw data but it’s not just one byte of the PID and that PID (83) returns 5 bytes of data.

I’ll try logging all five bytes and see if I can reverse the formula.

Capp777
Member
Posts: 2993
Post Re: NOx Pre and NOx Post SCR weird values
on: May 18, 2017 (GMT)

Would you consider posting the five
bytes?

Do you know what the bytes should
read (what’s normal)?

Rosenhauer
Member
Posts: 3
Post Re: NOx Pre and NOx Post SCR weird values
on: May 19, 2017 (GMT)

I logged the raw values of the 5 bytes as well as the results of the PreLoaded NOx readings.

It looks like the first byte is a binary indicator of which of the other bytes contained data. I was getting a constant 3 so with the data I deduced that it was returning 2 values (bit one and two both on) Each of them is a word (2 bytes).
Then reversing the math (with the initial assumption that they were off by 100 got me to the formula of (((B*256)+C))*0.0320440019)-100 with that all of the values match up. I have no idea why it’s scaled by the 0.032.. and then shifted by 100.

5 Bytes are returned A-E

Byte A = Bit indicator
bit 1 = Word one valid (bytes B and C)
Bit 2 = Word two valid (Bytes D and E)

Bytes (B-C) I’m calling it Word 1
(B*256)+C)
This is the Pre SCR NOx

Bytes (D-E) Word 2
(D*256)+E)
This is the Post SCR NOx

I’m just using the raw numbers for now until I can get another way to scale them.

The Built in ones also use ff128a for the Post SCR value but I found that it read exactly the same as using Bytes D-E from 0183.

Capp777
Member
Posts: 2993
Post Re: NOx Pre and NOx Post SCR weird values
on: May 20, 2017 (GMT)

Based upon my readings I believe your
equations are more correct than Ian’s
(although you are missing a leading
paren).

I also believe Ian is populating two pids
with one request. That’s likely why the
second pid is addressed with ff128A.

Thanks for the update!

Pages: [1]
WP-Forum by: Fredrik Fahlstad, Version: 2.4
Page loaded in: 0.022 seconds.

  Follow me on twitter