Torque

Forums

Forums

Guest  

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




Torque » Torque OBD ECU Scanner » Torque Discussion / Ideas » Incorrect PID result

Pages: [1]
Author Topic: Incorrect PID result
wosk
Member
Posts: 11
Post Incorrect PID result
on: June 11, 2022 (GMT)

Hi, I’m developing PID list for Nissan Leaf (1 generation) and found some weird result.
When I have more than ~10 PID displays on dash, some of them show incorrect value:

I saw on parking that “[ZE-VCM]Speed precision” starts to display value of “[ZE-VCM]Ambient Temperature”. If I removed display “[ZE-VCM]Ambient Temperature” from the dash, then “[ZE-VCM]Speed precision” will show correct value on the dash.

The same issue I’d seen with “[ZE-VCM]Quick Charge count”.
I know that I have 886 Quick charges, but you can see result of equation on the screenshot
https://disk.yandex.ru/i/4kqR3dP_ibqbxA

Note, that usually the issue shown only on Dash screen. It was the one time when I saw it on “Testing PID” screen.

Vehicle profile:
Protocol 15675-4 CAN (11bit 500k baud)
ATSP6\nATSH797\nATFCSH797\nATFCSD300000\nATFCSM1

PID list https://disk.yandex.ru/d/uiyMpWn8M43eXA

Torque ver. 1.12.98
I tried to disable Faster Communication, but no luck.
Also I tried to use only VCM PIDs and remove PIDs for other ECUs.

P.S. Is there any chance to buy Pro version somewhere except Google Play? Paid apps blocked for Russia

————————-
Chevrolet Aveo T250 with ECU Sirius D42
Chevrolet Aveo T300

Actual car: Nissan Leaf AZE0 X 2015

wosk
Member
Posts: 11
Post Re: Incorrect PID result
on: June 12, 2022 (GMT)

Hi,
I’ve found a clue. Looks like values are mixed by PID number, although with different Mode

[ZE-VCM]Coolant tank,Cool tank,22111a,SIGNED16(INT16(A:B))/10,-40,100,C,797
[ZE-VCM]Speed precision,Speed,22121a,INT16(A:B)/10,0,200,km/h,797

[ZE-VCM]Quick Charge count,QCs,221203,INT16(A:B),0,65535,,797
and
[ZE-VCM]12V battery Voltage,12BatV,221103,A*0.08,0,20.4,V,797

————————-
Chevrolet Aveo T250 with ECU Sirius D42
Chevrolet Aveo T300

Actual car: Nissan Leaf AZE0 X 2015

Vasilich
Member
Posts: 223
Post Re: Incorrect PID result
on: June 13, 2022 (GMT)

the formulas have different request addresses, so those should work (assuming that your information about addressing, headers and formula bytes is correct).

wosk
Member
Posts: 11
Post Re: Incorrect PID result
on: June 14, 2022 (GMT)

Quote from wosk on June 12, 2022
[ZE-VCM]Coolant tank,Cool tank,22111a,SIGNED16(INT16(A:B))/10,-40,100,C,797
[ZE-VCM]Speed precision,Speed,22121a,INT16(A:B)/10,0,200,km/h,797

I have tested the clue by setting MinimumRefreshDelay 10000 for 22111a PID. After that Speed shows correct value

————————-
Chevrolet Aveo T250 with ECU Sirius D42
Chevrolet Aveo T300

Actual car: Nissan Leaf AZE0 X 2015

wosk
Member
Posts: 11
Post Re: Incorrect PID result
on: June 15, 2022 (GMT)

Quote from Vasilich on June 13, 2022
the formulas have different request addresses, so those should work (assuming that your information about addressing, headers and formula bytes is correct).
But in 1st formula – it makes no sense to use SIGNED16(INT16()) – it cannot work anyway. If you need to get signed value from 2 bytes – then use SIGNED16(A:B).

Your suggestion doesn’t work unfortunately.
If A=FF and B=FB, result of equation is 0.

————————-
Chevrolet Aveo T250 with ECU Sirius D42
Chevrolet Aveo T300

Actual car: Nissan Leaf AZE0 X 2015

Vasilich
Member
Posts: 223
Post Re: Incorrect PID result
on: June 15, 2022 (GMT)

yes, sorry, misunderstood the usage of this new function. the SIGNED16(INT16(A:B)) is correct

wosk
Member
Posts: 11
Post Re: Incorrect PID result
on: July 17, 2022 (GMT)

Bump the issue

————————-
Chevrolet Aveo T250 with ECU Sirius D42
Chevrolet Aveo T300

Actual car: Nissan Leaf AZE0 X 2015

cintakc
Member
Posts: 1663
Post Re: Incorrect PID result
on: July 17, 2022 (GMT)

give more details, example of a set of instruments on the instrument panel
I tried your version on the emulator, it works well, there are no failures
https://disk.yandex.ru/i/1KNm9oOuN8RVCg

wosk
Member
Posts: 11
Post Re: Incorrect PID result
on: September 7, 2022 (GMT)

Quote from cintakc on July 17, 2022
give more details, example of a set of instruments on the instrument panel
I tried your version on the emulator, it works well, there are no failures

You could observe the bug if you add to the one dashboard both QCs and 12BatV, or Cool tank and Speed. Please try

————————-
Chevrolet Aveo T250 with ECU Sirius D42
Chevrolet Aveo T300

Actual car: Nissan Leaf AZE0 X 2015

cintakc
Member
Posts: 1663
Post Re: Incorrect PID result
on: September 7, 2022 (GMT)

I checked the option with two devices, the second option Speed and Cool tank
Yes, indeed, the readings of one of the devices jump
I added to Init string atcra79a – after that the readings are stable

Init string
ATSP6\nATSH797\nATFCSH797\nATFCSD300000\nATFCSM1\nATCRA79A

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

  Follow me on twitter