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

Gen2 Prius: Custom PIDs for Torque (Android App) with formulas

Discussion in 'Gen 2 Prius Technical Discussion' started by usbseawolf2000, Jun 24, 2011.

  1. KhaPhoRa

    KhaPhoRa Member

    Joined:
    Feb 7, 2013
    168
    37
    0
    Vehicle:
    2006 Prius
    Model:
    II
    Tha
    That should have worked just fine through windows. In ES File Explorer choose menu (on my nexus 7 it's three dots in the bottom right), then settings, then file settings and check "show hidden files."
     
  2. SteveWlf

    SteveWlf Old-on-Hold

    Joined:
    Oct 20, 2012
    262
    33
    0
    Location:
    Montesano, WA
    Vehicle:
    2007 Prius
    Model:
    II
    I ended up switching to File Expert since I couldn't set ES to display hidden dirs/files. I found the custom PIDS in the root dir and moved the to the .torque/extendedpids.

    Seems to work fine now. Just have to learn how to use all these custom PIDs. Then get into some data logging.

    Since I am going to be doing a plug-in conversion, will I be able to find custom PIDs for info on the additional battery bank??

    Thanks those who developed this App and the contributers here.

    Steve
     
  3. Kermitt

    Kermitt Junior Member

    Joined:
    Feb 25, 2013
    38
    7
    0
    Location:
    Austin, TX
    Vehicle:
    2009 Prius
    Model:
    N/A
    Kuddos for all the contributors of this thread.................I did not understand half of it but what I DID understand was highly helpful and for that...........THANK YOU!!
     
  4. paulcummings55

    paulcummings55 Junior Member

    Joined:
    Oct 29, 2012
    13
    3
    0
    Location:
    Austin, TX
    Vehicle:
    2007 Prius
    Model:
    ----USA----
    Just found this thread over the last couple of days as I was looking for something to better look at and diagnose my 2007 Prius. I have already paid for the Torque Pro, to use on my 7" Google Nexus, and am awaiting a bluetooth OBDII adapter. I look forward to trying it, along with the custom PIDs provided by the members of this thread- thank you very much!

    I would ask, though- much of what is discussed here seems to assume a certain level of knowledge- acronyms, abreviations, what not. Is there any document that explains all that? Additionally, is there, in one place, anything that explains all of the PIDs- i.e. what exactly is one looking at, and more importantly, what is one looking for- what are the good and bad values, and if bad values, what are the possibilities?

    This is perhaps a tall order, but given the age of this thread, I am hopeful some brave soul has already compiled such a lexicon;-)
     
  5. wegortw

    wegortw Junior Member

    Joined:
    May 7, 2013
    38
    24
    0
    Location:
    Austin, TX
    Vehicle:
    2005 Prius
    Model:
    II
    What issue are you trying to diagnose? I just did a rebuild on my HV battery pack due to error codes :

    P0A60 - Voltage difference between battery blocks is higher than standard
    P3019 - BATTERY BLOCK 9 BECOMES WEAK

    Read more: http://priuschat.com/threads/gen-ii-prius-individual-battery-module-replacement.125588/page-2#ixzz2Tx7U9qcB


    After finishing the job I created the following dashboard using the PIDs provided so that I could monitor the voltage across my hybrid battery pack. Hopefully I can use this to see if more problems are on the way since I didn't re-balance my battery pack.

    [​IMG]

    I haven't read through this full 20 page thread, but I am curious to find out why voltage is at 16v and only 14 packs, versus what I expected of 7.2v over 28 packs (looks to be doubled up, but haven't confirmed).
     
    NortTexSalv04Prius likes this.
  6. usbseawolf2000

    usbseawolf2000 HSD PhD

    Joined:
    Sep 22, 2004
    14,487
    3,000
    0
    Location:
    Fort Lee, NJ
    Vehicle:
    2012 Prius Plug-in
    Model:
    Plug-in Base
    ICE Power Request (hp) | Engine power output request value/ Min.: 0 W, Max.: 320,000 W

    HV Battery Power (hp) | Power Resource VB * IB
    HV battery Volt x Amp = Watt. It is multiplied by a constant to get horsepower.
    MG2 Revolution | MG2 revolution/ Min.: –16,383 rpm, Max.: 16,383 rpm

    Brake - Master Cylinder Torque (lbs-ft) | Braking torque that is equivalent to the master cylinder hydraulic pressure/ Min.: –512 Nm, Max.: 508 Nm
    Brake pedal depressed: Changes with brake pedal pressure

    Brake - Friction Pad Torque (lbs-ft) | Master Cylinder Torque + Regenerative Torque
    Since MCT is negative value and RT is positive, adding them would result in the remaining torque which is from the friction pad.

    Brake - Hydraulic force (lbs-ft) | Master Cylinder Torque + Regenerative Torque
    Since MCT is negative value and RT is positive, adding them would result in the remaining torque which is from the friction pad.

    WOUT HV Batt to Converter | Discharge control wattage which is battery ECU to HV control ECU/
    Min.: 0 kW, Max.: 63.5 kW

    21 kW or less

    WIN HV Batt to Converter | Charge control wattage which is battery ECU to HV control ECU/ Min.: –64 kW, Max.: 0 kW

    –25 kW or more

    Drive Condition ID | Drive condition ID/ Min.: 0, Max.: 6

    Engine stopped: 0
    Engine about to be stopped: 1
    Engine about to be started: 2
    Engine operated or operating: 3
    Generating or loading movement: 4
    Revving up with P position: 6

    MG1 Inverter Temperature | MG1 inverter temperature/ Min.: –50 C, Max.: 205 C

    Undisturbed for 1 day at 25 C (77 F): 25 C (77 F)
    Street driving: 25 to 80 C (77 to 176 F)

    If the value is –50 C (–58 F): +B short in sensor circuit
    If the value is 205 C (401 F): Open or GND short in sensor circuit

    MG2 Inverter Temperature | MG2 inverter temperature/ Min.: –50 C, Max.: 205 C

    Undisturbed for 1 day at 25 C (77 F): 25 C (77 F)
    Street driving: 25 to 80 C (77 to 176 F)

    If the value is –50 C (–58 F): +B short in sensor circuit
    If the value is 205 C (401 F): Open or GND short in sensor circuit

    Motor Temperature No2 | Transaxle fluid temperature/ Min.: –50 C, Max.: 205 C

    Undisturbed for 1 day at 25 C (77 F): 25 C (77 F)
    Street driving: 25 to 80 C (77 to 176 F)

    If the value is –50 C (–58 F): Open or +B short in sensor circuit
    If the value is 205 C (401 F): GND short in sensor circuit

    Motor Temperature No1 | MG2 motor temperature/ Min.: –50 C, Max.: 205 C

    Undisturbed for 1 day at 25 C (77 F): 25 C (77 F)
    Street driving: 25 to 80 C (77 to 176 F)

    If the value is –50 C (–58 F): Open or +B short in sensor circuit
    If the value is 205 C (401 F): GND short in sensor circuit

    Power Resource VB | HV battery voltage/ Min.: 0 V, Max.: 510 V

    READY lamp ON and P position: 150 to 300 V

    Power Resource IB | HV battery current/ Min.: –256 A, Max.: 254

    Accelerator Pedal Angle | Accelerator pedal depressed angle/ Min.: 0 %, Max.: 100 %

    Accelerator pedal depressed: Changes with accelerator pedal pressure

    VL-Voltage Before Boosted | High voltage before it is boosted/ Min.: 0 V, Max.: 510 V

    Power switch ON (READY): Practically the same as the HV battery voltage

    If the value is 0 V: Open or GND short in sensor circuit
    If the value is 510 V: +B short in sensor circuit

    VH-Voltage After Boosted | High voltage after it is boosted/ Min.: 0 V, Max.: 765 V

    Engine revved up in P position: HV battery voltage to 500 V

    If the value is 0 V: Open or GND short in sensor circuit
    If the value is 765 V: +B short in sensor circuit

    Converter Temperature | Boost converter temperature/ Min.: –50 C, Max.: 205 C

    Undisturbed for 1 day at 25 C (77 F): 25 C (77 F)
    Street driving: 25 to 60 C (77 to 140 F)

    If the value is –50 C (–58 F): +B short in sensor circuit
    If the value is 205 C (401 F): Open or GND short in sensor circuit

    System Main Relay 1 Status | Operating condition of system main relay No. 1/ ON or OFF

    Power switch ON (READY): OFF

    System Main Relay 2 Status | Operating condition of system main relay No. 2/ ON or OFF

    Power switch ON (READY): ON

    System Main Relay 3 Status | Operating condition of system main relay No. 3/ ON or OFF

    Power switch ON (READY): ON

    Smart Key Status | Electronic key ID code check status/ ON or OFF

    When electronic key ID code corresponds to ID code registered in ECU: ON

    Aircon Gate Status | A/C gate status/ ON or OFF

    Shutting down A/C inverter: ON

    Converter Gate Status | Boost converter gate status/ ON or OFF

    Shutting down boost converter: ON

    MG2 Gate Status | MG2 gate status/ ON or OFF

    Shutting down motor inverter: ON

    Motor (MG2) Torque Execute Value | MG2 torque execution value/ Min.: –512 Nm, Max.: 508 Nm

    After full–load acceleration with READY lamp ON and engine stopped:
    Less than + or - 20 % of MG2 TORQ

    Motor (MG1) Torque Execute Value | MG1 torque execution value/ Min.: –512 Nm, Max.: 508 Nm

    1 second has elapsed after the engine was started automatically with READY lamp ON, engine stopped, A/C fan head lamp ON and the P position:
    Less than + or - 20 % of MG1 TORQ

    Short Circuit Wave Highest Value | Waveform voltage in leak detection circuit in battery ECU/ Min.: 0 V, Max.: 5 V

    READY lamp is left ON for 2 minutes, and the pre–boost voltage and the post–boost voltage are equal: 4 V or more

    HV Battery Air Intake Temp | Temperature of inhalation ambient air into battery pack/ Min.: –327.68 C, Max.: 327.67

    Undisturbed for 1 day: same as ambient air temperature

    HV Battery Block-01 Voltage | Battery block voltage/ Min.: –327.68 V, Max.: 327.67 V

    SOC 60 %: 12 to 20 V

    Internal Resistance R01 | Internal resistance of each battery block/ Min.: 0 Ω, Max.: 0.255 Ω

    Always: 0.01 to 0.1 Ω

    Delta SOC | Difference between maximum and minimum values of SOC/ Min.: 0 %, Max.: 100

    READY lamp ON, engine stopped and no electrical load: 0 to 60 %

    HV Battery Fan Speed | Battery blower motor actuation mode / Min.: 0, Max.: 6

    Stopped: 0
    Low to high speed actuation: 1 to 6

    HV Battery Temp 1 | Temperature of HV battery/ Min.: –327.68 C, Max.: 327.67 C

    Undisturbed for 1 day: Same as ambient air temperature

    HV Battery Block Lowest Volt | Battery block minimum voltage/ Min.: –327.68 V, Max.: 327.67 V

    SOC 50 to 60 %: 12 V or more

    HV Battery Block # with Min V | Battery block number with minimum voltage

    One of numbers 0 to 13

    HV Battery Block Highest Volt | Battery block maximum voltage/ Min.: –327.68 V, Max.: 327.67 V

    SOC 55 to 60 %: 23 V or less

    HV Battery Block # with Max V | Battery block number with maximum voltage

    One of numbers 0 to 13

    Regenerative Brake Torque | Regenerative brake execution torque/ Min.: 0 Nm, Max.: 186 Nm

    Request Regenerative Brake Torque | Regenerative brake request torque/ Min.: 0 Nm, Max.: 186 Nm

    Vehicle speed 30 km/h (19 mph) and master cylinder hydraulic pressure –200 Nm: Changes with brake pedal pressure

    Power Request | Engine power output request value/ Min.: 0 W, Max.: 320,000 W

    Shift Sensor Main | Output voltage of the shift position sensor (main)/ Min.: 0 V, Max.: 5 V

    Selector lever in home position: 2.0 to 3.0 V
    Shifting into R position: 4.0 to 4.8 V
    Shifting into B or D position: 0.2 to 1.0 V

    Shift Sensor Shift Position | Shift position P, R, N, D or B

    Engine Warming Up Request | Engine warm–up request/ NO or RQST

    Requesting engine warm–up: RQST

    Aircon Request | Engine starting request from A/C amplifier/ NO or RQST

    Requesting engine start from A/C amplifier: RQST

    Engine Stop Inhibit Request | Engine stop inhibit request/ NO or RQST

    Requesting engine intermittent prohibition: RQST

    Master Cylinder Torque | Braking torque that is equivalent to the master cylinder hydraulic pressure/ Min.: –512 Nm, Max.: 508 Nm

    Brake pedal depressed: Changes with brake pedal pressure
     
    Hasan and lopezjm2001 like this.
  7. usbseawolf2000

    usbseawolf2000 HSD PhD

    Joined:
    Sep 22, 2004
    14,487
    3,000
    0
    Location:
    Fort Lee, NJ
    Vehicle:
    2012 Prius Plug-in
    Model:
    Plug-in Base
    Don't have time to format it properly but I guess that's better than nothing.

    PID Name | Description
     
    KK6PD likes this.
  8. glyndwr

    glyndwr Member

    Joined:
    Jan 30, 2012
    219
    42
    0
    Location:
    South Wales, UK
    Vehicle:
    2004 Prius
    Model:
    One
    I wonder if anyone can help me with this query.

    I have got android and torque app, with usbseawolf pid`s installed and working ok.

    I have got an Enginer phev kit installed on the car and was wondering if there are any prius specific mpg or l/km pid`s for the prius, I have tried some of the dials on mpg but they all show 0(zero) I know this info has to be somewhere as owners with scanguage can view thier mpg`s with plu in kits showing over the 100mpg values as the on screen display in the prius only shows 99.9. If the sanguage can see the readings above 100mpg i`m assuming the data is somewhere just need to ead and see it.

    Many thanks, Anthony.
     
  9. Prius_Cub

    Prius_Cub Member

    Joined:
    Feb 12, 2013
    152
    60
    0
    Location:
    Radford, VA
    Vehicle:
    2008 Prius
    Model:
    II
    The PIDs provided by usbseawolf2000 like "Trip average KPL" "Trip average MPG" "Trip Litres/100 KM" all work with the Prius.

    You might have to go into the settings for how Torque communicates with your OBDII adapter and make sure that "Don't calculate MPG/Fuel" isn't checked and that "Enhanced MPG calculation" is checked, this gives me more accurate readings as without that being enabled, it detects 0MPG during gliding or regen for me and lowers the trip average mpg (even though the MFD is pegged at 99.9 MPG). I'm under the assumption that you're operating in EV mode the majority of the time ;) so that may be why you're seeing 0 MPG on the gauges without the enhanced MPG calculation being enabled.
     
  10. glyndwr

    glyndwr Member

    Joined:
    Jan 30, 2012
    219
    42
    0
    Location:
    South Wales, UK
    Vehicle:
    2004 Prius
    Model:
    One
    Many thanks for that info, i`ll check that out staight away and report back with the findings. You are correct in the assumption that i travel most of the time in EV mode.

    Thank you. Prius Cub
     
  11. Prius_Cub

    Prius_Cub Member

    Joined:
    Feb 12, 2013
    152
    60
    0
    Location:
    Radford, VA
    Vehicle:
    2008 Prius
    Model:
    II
    You're quite welcome :)
     
  12. NortTexSalv04Prius

    NortTexSalv04Prius Active Member

    Joined:
    Nov 14, 2009
    915
    115
    0
    Location:
    Texas
    Vehicle:
    2004 Prius
    Model:
    N/A
    What equipment/tools did you use to rebuild the pack.?? Where did you get different cells from. ??...
     
  13. NortTexSalv04Prius

    NortTexSalv04Prius Active Member

    Joined:
    Nov 14, 2009
    915
    115
    0
    Location:
    Texas
    Vehicle:
    2004 Prius
    Model:
    N/A
    Yea I am curious about this statement too. 7.2vdc 6.5ah module times 28 modules 201 vdc.
     
  14. Prius_Cub

    Prius_Cub Member

    Joined:
    Feb 12, 2013
    152
    60
    0
    Location:
    Radford, VA
    Vehicle:
    2008 Prius
    Model:
    II
    The Prius treats every two modules/packs as a pair or block, so the reported voltage is the combined voltage of both modules. So rather than seeing voltages for 28 individual modules, you see the combined voltage of 14 blocks/pairs of 2 modules each.
     
  15. glyndwr

    glyndwr Member

    Joined:
    Jan 30, 2012
    219
    42
    0
    Location:
    South Wales, UK
    Vehicle:
    2004 Prius
    Model:
    One
    Another small query if i may please regarding the prius pid`s.

    As I have a phev conversion and do travel in ev mode quite frequently, can someone please highlight what pid i use to monitor and adjust the hv battery fan and set it higher speed to cool it more effectively when travelling in ev mode.

    Thanks again for you help.

    Best regards, Anthony
     
  16. usbseawolf2000

    usbseawolf2000 HSD PhD

    Joined:
    Sep 22, 2004
    14,487
    3,000
    0
    Location:
    Fort Lee, NJ
    Vehicle:
    2012 Prius Plug-in
    Model:
    Plug-in Base
    1 Block = 2 Modules
    1 Module = 6 Cells
    1 Cell = 1.2 V
     
  17. paulcummings55

    paulcummings55 Junior Member

    Joined:
    Oct 29, 2012
    13
    3
    0
    Location:
    Austin, TX
    Vehicle:
    2007 Prius
    Model:
    ----USA----
    Hi Wegortw-
    I am trying to figure out a few things;-) I see you got the answer about the battery packs. We love our Prius- but it is not getting the mileage it should- furthermore, and I think this is all related- it runs 'rough' intermittantly. Also, after a couple of longer trips (to Fort Worth one time, from San Antonio back to Austin another), the engine would hesitate badly when trying to accelerate- had to turn off the cruise control and accerate slowly, especially up hills. When it is running 'rougher,' even after warmed up and with several blue bars on the battery, then engine will not stop running, even when coasting or at stop signs or stop lights.

    Using the method from here: (search 'artsautomotive predictive battery failure' for Prius battery test)
    - our traction battery looks fine. The voltage is also very good on the 12 volt battery. As a best guess, we had the fuel pump, which included the fuel filter and gas tank, replaced- unfortunately, it was not the problem;-)

    We have a 2007 Prius with around 55,000 miles on it (maybe a bit more now). We also had the engine replaced when we first got it last August (long story), with a used one with slightly less miles than ours had- Toyota in Round Rock did the replacement- did not affect the MPG. Another shop also replaced the AC Compressor before that (AC works really well at least;-)

    I am not a knowledgeable car guy- but hope to learn enough to use the measurements from the Torque app to narrow down the possibilities, since no error codes are being given by the Prius. It is hard, though, to find much on how to interpret that data the Torque gathers. I did find a couple of inexpensive e-books on Amazon- they look like they will be helpful, but even a cursory glance tells me it assumes more mechanic-level expertise than I posess;-)

    So- if you, or anyone else for that matter, has any guidance, I am all ears!

    Oh- and very cool about you rebuilding your own traction battery!

     
  18. Prius_Cub

    Prius_Cub Member

    Joined:
    Feb 12, 2013
    152
    60
    0
    Location:
    Radford, VA
    Vehicle:
    2008 Prius
    Model:
    II
    I don't believe there's a way to manage the battery fan speed through Torque, you can only monitor the speed level. There is a way to modify the fan to get the fan to operate at full speed on demand, located here.
     
  19. usbseawolf2000

    usbseawolf2000 HSD PhD

    Joined:
    Sep 22, 2004
    14,487
    3,000
    0
    Location:
    Fort Lee, NJ
    Vehicle:
    2012 Prius Plug-in
    Model:
    Plug-in Base
    GenIII has a PID to adjust the battery fan.
     
    Prius_Cub likes this.
  20. vincent1449p

    vincent1449p Active Member

    Joined:
    May 24, 2004
    894
    331
    0
    Location:
    Singapore
    Vehicle:
    2012 Prius c
    Hi Prius_Cub,

    Yes, there is. Pls checkout this thread.

    Column 1
    0 [TH]Name[/TH][TH]ShortName[/TH][TH]ModeAndPID[/TH][TH]Equation[/TH][TH]Min Value[/TH][TH]Max Value[/TH][TH]Units[/TH][TH]Header[/TH][TR][TD]Set Battery Cooling Fan Speed[/TD][TD1]SFSn[/TD1][TD1]3081060n[/TD1][TD1]A[/TD1][TD1]0[/TD1][TD1]6[/TD1][TD1]No reply required[/TD1][TD1]7E3[/TD1][/TR]

    You may need to modify ModeAndPID which lopezjm2001 has found to work in his Gen2.

    Vincent
     
    glyndwr and Prius_Cub like this.