1. Attachments are working again! Check out this thread for more details and to report any other bugs.

GenIII Prius Custom PIDs for Torque app

Discussion in 'OBDII Android App' started by usbseawolf2000, Oct 7, 2011.

  1. comatoes

    comatoes #GreenLife

    Joined:
    Jun 2, 2011
    288
    17
    5
    Location:
    USA
    Vehicle:
    2007 Prius
    Model:
    II
    Also, do the custom PIDs work for Gen II?
     
  2. usbseawolf2000

    usbseawolf2000 HSD PhD

    Joined:
    Sep 22, 2004
    14,487
    2,997
    0
    Location:
    Fort Lee, NJ
    Vehicle:
    2012 Prius Plug-in
    Model:
    Plug-in Base
    For Gen II, please see this thread.
     
  3. comatoes

    comatoes #GreenLife

    Joined:
    Jun 2, 2011
    288
    17
    5
    Location:
    USA
    Vehicle:
    2007 Prius
    Model:
    II
    Nice! Thanks, but how do you install the custom PIDs?
     
  4. usbseawolf2000

    usbseawolf2000 HSD PhD

    Joined:
    Sep 22, 2004
    14,487
    2,997
    0
    Location:
    Fort Lee, NJ
    Vehicle:
    2012 Prius Plug-in
    Model:
    Plug-in Base
    Copy the CSV file in the micro SD card. Torque App can import them. Detail instructions are in the first post.
     
  5. frenchie

    frenchie Member

    Joined:
    Oct 19, 2004
    150
    48
    0
    Location:
    France, not far from PARIS
    Vehicle:
    Other Hybrid
    Model:
    N/A
    bonjour,
    in the document attached in the first post, there is a small error regarding
    High voltage before it is boosted BV+
    High voltage after it is boosted BVB
    the results are not usable.
    formulas should be:
    (256 * F + G) / 2 instead of (256 * E + F) / 2
    and
    (256 * H + I) / 2 instead of (256 * G + H) / 2

    I will try tomorrow to correct:
    HV battery discharge control
    and
    HV battery charge control
     
    1 person likes this.
  6. PaJa

    PaJa Senior member

    Joined:
    Sep 3, 2009
    678
    113
    92
    Location:
    Czech republic
    Vehicle:
    2017 Prius
    Model:
    N/A
    Does the Torque free support importing of PIDs? I see /.torque dir, but there is not extendedpids directory. I tried to create one, but the stored prius CSV is not available in the menu. Isn't the dir name case sensitive?
     
  7. usbseawolf2000

    usbseawolf2000 HSD PhD

    Joined:
    Sep 22, 2004
    14,487
    2,997
    0
    Location:
    Fort Lee, NJ
    Vehicle:
    2012 Prius Plug-in
    Model:
    Plug-in Base
    @paja - I don't think the free version support importing. You may be able to manually add one by one through the interface.

    @frenchie - Were you able to confirm?
     
  8. Capecoder

    Capecoder New Member

    Joined:
    Dec 29, 2011
    2
    0
    0
    Location:
    massachusetts
    Vehicle:
    2011 Prius
    Model:
    Four
    Where is the odbII connector located?

    Is there and iPad app similar to torque?
     
  9. vincent1449p

    vincent1449p Active Member

    Joined:
    May 24, 2004
    894
    331
    0
    Location:
    Singapore
    Vehicle:
    2012 Prius c
    Thanks frenchie for spotting the error!:)

    Have you found the correct HV battery discharge control and HV battery charge control?

    Vincent
     
  10. frenchie

    frenchie Member

    Joined:
    Oct 19, 2004
    150
    48
    0
    Location:
    France, not far from PARIS
    Vehicle:
    Other Hybrid
    Model:
    N/A
    bonjour
    regarding charge/discharge control,
    unit are kW (as in TS)...
    formulas I am testing :
    C/2 -64
    D/2 -64
    but as I don't have yet any equipment to compare with the real values, this is more a guess than a certitude.
     
  11. vincent1449p

    vincent1449p Active Member

    Joined:
    May 24, 2004
    894
    331
    0
    Location:
    Singapore
    Vehicle:
    2012 Prius c
    Both your formulas agree with the Repair Manual:

    Min.: -64 kW, Max.: 63.5 kW

    I did not use Adrian's formulas because they are different from RM:

    C/2 - 20.1
    D/2 - 108.1

    I suspect the actual PIDs are for WIN & WOUT, but it is only my guess. Could you list the values for those 4 PIDs using TS here? Perhaps someone with Torque or ScangaugeII be able to compare against your values?

    Vincent
     
  12. frenchie

    frenchie Member

    Joined:
    Oct 19, 2004
    150
    48
    0
    Location:
    France, not far from PARIS
    Vehicle:
    Other Hybrid
    Model:
    N/A
    Bonjour,
    at this time, I have no access to TS, and as I lost most of the logs I prepared one year ago, I am not in a position to check.
     
  13. motoleon

    motoleon Junior Member

    Joined:
    May 26, 2010
    48
    16
    0
    Location:
    spain
    Vehicle:
    2010 Prius
    Model:
    N/A
    i have a few questions.

    In your torque file battery temps names are different that in google-excel from priuschat, why? what is the correct names?

    Traction Battery Temp,"BtT","2187","9 / 5 * A - 58","-58","402.6","F","7E2"
    Temp of Batt TB1,"BT1","2187","9 / 5 * C - 58","-58","402.6","F","7E2"
    Temp of Batt TB2,"BT2","2187","9 / 5 * E - 58","-58","402.6","F","7E2"
    Temp of Batt TB3,"BT3","2187","9 / 5 * G - 58","-58","402.6","F","7E2"

    Battery Temp 1 C 07E22187 02EA05610687 4010 00010100FFCE BT1 xx C Cell Temp Sensor 1
    Battery Temp 1 F 07E22187 02EA05610687 4010 00090500FFC6 BT1 xx F Cell Temp Sensor 1
    Battery Temp 2 C 07E22187 010702EA0321 1810 00010100FFCE BT2 xx C Cell Temp Sensor 2
    Battery Temp 2 F 07E22187 010702EA0321 1810 00090500FFC6 BT2 xx F Cell Temp Sensor 2
    Battery Temp 3 C 07E22187 010702EA0321 2810 00010100FFCE BT3 xx C Cell Temp Sensor 3
    Battery Temp 3 F 07E22187 010702EA0321 2810 00090500FFC6 BT3 xx F Cell Temp Sensor 3
    Battery Temp Inlet C 07E22187 02EA05610687 3010 00010100FFCE BT4 xx C Cell Temp Sensor 4
    Battery Temp Inlet F 07E22187 02EA05610687 3010 00090500FFC6 BT4 xx F Cell Temp Sensor 4


    and why is your formula "9 / 5 * C - 58" from battery temps different from Inverter Coolant Temp "9 / 5 * D - 40" for example?

    and why you use 1 byte formula and in google-excel priuschat formaula uses 2 byte formulas? like
    Battery Temp 1 C 07E22187 02EA05610687 4010 00010100FFCE BT1 xx C Cell Temp Sensor 1

    thanks.
     
  14. frenchie

    frenchie Member

    Joined:
    Oct 19, 2004
    150
    48
    0
    Location:
    France, not far from PARIS
    Vehicle:
    Other Hybrid
    Model:
    N/A
    bonjour

    • regarding -50 & -40 just because the offset is not the same (and this was checked).

    • using 1 byte or 2 bytes: just because, regarding battery's temp, 1°C gives enough precision, for the use we have. To know the exact temp is, for instance, 35,21°C instead of 35°C is useless.
     
    1 person likes this.
  15. vincent1449p

    vincent1449p Active Member

    Joined:
    May 24, 2004
    894
    331
    0
    Location:
    Singapore
    Vehicle:
    2012 Prius c
    If you look at Adrian Black's spreadsheet change log, I created the BT1 ~ BT3 on 11/7 and BtT was already found so I did not change the NAM. On 21/11, he updated all to use 2 bytes in MTH and also changed BtT to BT4. So you see, there are no correct or wrong names, just a matter of preference.You can just change to whatever name you like.

    As frenchie said, not all the offsets are the same.

    As above, there was an update on 21/11. Here is the new formula,

    BT1 = (C * 256 + D) * 255.9 / 65535 * 9 / 5 - 58 °F
    BT1 = (C * 256 + D) * 255.9 / 65535 - 50 °C

    Vincent
     
    1 person likes this.
  16. motoleon

    motoleon Junior Member

    Joined:
    May 26, 2010
    48
    16
    0
    Location:
    spain
    Vehicle:
    2010 Prius
    Model:
    N/A
    OK, ok, thankyou very much.
    I see...
    I have the old formula BATT TEMP=XX - 40 (new inlet temp) and now i modified my software to show all temps correctly.

    Thanks.:cool:
     
  17. PaJa

    PaJa Senior member

    Joined:
    Sep 3, 2009
    678
    113
    92
    Location:
    Czech republic
    Vehicle:
    2017 Prius
    Model:
    N/A
    I have got the blue BT OBD-II interface from DealExtreme this week and I purchased the Torque full version as well. I made few tests with the usage of USBSeaWolf's csv and they were okay. I just wonder if there is a more fresh version of csv fron GenIII published in this thread. I think lot of development was done in the meantime. I also have to change the temperatures to Celsius as the F are not common for me. I'll simply reverse the PID formulas based on c=(f-32)*5/9. I have to measure the idle power consumption of OBD adapter to learn if it is safe to leave it plugged in all time. The blue box doesn't have a power switch unfortunately. I expect something around 50mA based on the ICs inside the box., e.g. 1.2Ah per day which is not a big deal for daily usage of car.
     
  18. priusito_de_mi_vida

    priusito_de_mi_vida Junior Member

    Joined:
    Jan 9, 2011
    78
    7
    0
    Location:
    Spain
    Vehicle:
    2009 Prius
    Model:
    N/A

    Hello!

    I've downloaded the file too, but found that the temperature gauges are calculated in ºF, that don't say anything to me.

    I would want to get the gauges on ºC.


    Do you know how to rewrite the equation?


    I saw a duplicated gauge that shows temperatures in both ºC and ºF, and the equation difference is:

    Temperature shown in ºC: A - 40.

    Temperature shown in ºF: 9/5*A - 40.

    That doesn't match with ºC=(ºF-32)*5/9.


    What do you think?
    Anyone known how to change ºF to ºC in torque's equation menu?

    Regards.
     
  19. vincent1449p

    vincent1449p Active Member

    Joined:
    May 24, 2004
    894
    331
    0
    Location:
    Singapore
    Vehicle:
    2012 Prius c
    Hi priusito_de_mi_vida & PaJa and others,

    Yes, I have updated the file and separated into US & Metrics into different worksheet. However, I need someone to test and feedback to me so that I can make improvements.

    PM your email if you are interested to do the testing.

    Vincent
     
  20. motoleon

    motoleon Junior Member

    Joined:
    May 26, 2010
    48
    16
    0
    Location:
    spain
    Vehicle:
    2010 Prius
    Model:
    N/A
    It IS correct:

    ºC = (ºF-32)*5/9
    ºF = 9/5*A - 40
    ºC = A - 40 = ((9/5*A-40)-32)*5/9 --> A - 39.999

    Correct me if i was wrong...:cool: