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

2012-2015 Prius PHV: Custom PIDs for Torque Android App

Discussion in 'OBDII Android App' started by usbseawolf2000, Mar 10, 2012.

  1. Tracksyde

    Tracksyde Member

    Joined:
    Sep 21, 2011
    1,429
    761
    0
    Location:
    So Cal
    Vehicle:
    2012 Prius Plug-in
    Model:
    Plug-in Base
    Vincent,

    I used USB's method and Tested 2181. The value was changing, so I got a 2nd screenshot in case that would help. Also, I got responses for Power Resource IB and Power Resource VB. I think Power Resource VB, last time I logged, was giving a large number, like 230000, which you said couldnt be true.

    http://www.tracksyde.com/forum/pip/torque_2181.zip

    If you want to see some data from my logging this morning, you can download that here:

    http://www.tracksyde.com/forum/pip/torque_phv.csv

    Thanks!
     
    1 person likes this.
  2. vincent1449p

    vincent1449p Active Member

    Joined:
    May 24, 2004
    894
    331
    0
    Location:
    Singapore
    Vehicle:
    2012 Prius c
    Thanks! It looks like there are 8 blocks of 7 cells each.

    Block# 1st reading 2nd reading 3rd reading
    1 V01 24.826 24.826 24.826
    2 V02 24.797 24.797 24.767
    3 V03 24.797 24.797 24.797
    4 V04 24.797 24.797 24.797
    5 V05 24.797 24.797 24.797
    6 V06 24.797 24.767 24.767
    7 V07 24.797 24.797 24.797
    8 V08 24.797 24.797 24.797
    9 Total 198.405 198.375 198.345
    10 Aux Bty 12.22 12.22 12.22
    11 VB 198 198 199


    Pls try the updated Spreadsheet.

    Vincent
     
    2 people like this.
  3. Tracksyde

    Tracksyde Member

    Joined:
    Sep 21, 2011
    1,429
    761
    0
    Location:
    So Cal
    Vehicle:
    2012 Prius Plug-in
    Model:
    Plug-in Base
    Thanks, Vincent.

    I loaded the new PIDs and will try them tomorrow.
     
  4. 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
    This is your commute speed along with the battery state of charge. Once the Power Resource VB is working, we can put the battery hp in the graph.

    There are a lot of stopping. No wonder your average speed is low.

    [​IMG]
     

    Attached Files:

    1 person likes this.
  5. Tracksyde

    Tracksyde Member

    Joined:
    Sep 21, 2011
    1,429
    761
    0
    Location:
    So Cal
    Vehicle:
    2012 Prius Plug-in
    Model:
    Plug-in Base
    Thanks for posting that, USB. Yeah, its all city streets and lots of traffic lights. Surprisingly it only adds about 5 minutes to my old commute (which was a little farther to the freeway). I also noticed the reported speed is slower than the speedometer. This seems consistent with what was reported by andi1111 in the Plug-In forum.

    I logged again this morning and Power Resource VB was still showing the 6-digit number (~233000-210000 or so). I added RPM to the logging for today and also switched vehicle speed to MPH.

    The engine came on again at about 83.9% SoC while going down hill with regen. It stayed on for a full 5 minutes. I think I need to lead foot it out of the neighborhood before I start my downhill descent. These warm ups are killing my MPG :D

    here's today's log if you (or anyone else) cares to take a look

    http://www.tracksyde.com/forum/pip/torque_phv_20120320am.csv
     
  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
    You can brake harder and force the friction pad to kick in.
     
  7. Tracksyde

    Tracksyde Member

    Joined:
    Sep 21, 2011
    1,429
    761
    0
    Location:
    So Cal
    Vehicle:
    2012 Prius Plug-in
    Model:
    Plug-in Base
    Taking your advice, I was harder on the brakes, reducing the amount of regen and increasing the amount of friction braking. It looks like I regen'ed up to 83.5% so the ICE didnt start like it did the past 2 days.

    Power Resource VB is also working. I think when I cleared out the old PID list, I didnt delete the displayed PIDs so the Power Resource VB was screwed up. I cleared out the list last night and deleted the VB display and re-added it and its working now.

    Pretty uneventful drive today, although it took a bit longer than normal (more school traffic on Wednesday).

    Here's the log:

    http://www.tracksyde.com/forum/pip/torque_phv_20120321am.csv
     
  8. 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
    Battery Power and Traction Motor - The difference is due to the losses from motor, power inverter and the battery. I thought the losses are pretty low.

    Battery MG2 Power.png

    Speed and PHV Battery Power - For your driving pattern rarely exceeding 40 mph, you rarely use more than 30 hp from the battery.

    Speed and Battery Power.png

    State of Charge and PHV Battery Power - This is as expected. SOC dips when the battery is providing power and raises when you regen brake.

    SOC and Power.png
     
    jprates and Tracksyde like this.
  9. Tracksyde

    Tracksyde Member

    Joined:
    Sep 21, 2011
    1,429
    761
    0
    Location:
    So Cal
    Vehicle:
    2012 Prius Plug-in
    Model:
    Plug-in Base
    Thanks for putting the data into graphs, USB. Looking at the MPH/Battery graph, my morning commute looks rather painful.. so much stop and go from traffic lights. Although, today seemed especially bad.
     
  10. vincent1449p

    vincent1449p Active Member

    Joined:
    May 24, 2004
    894
    331
    0
    Location:
    Singapore
    Vehicle:
    2012 Prius c
    I wonder if this has anything to do with the 124 miles cycle?

    Thanks for testing! You can also counter check with VLB, VL-Voltage before Boosting. Both should be about the same, maybe a few volts apart.

    Vincent
     
  11. Tracksyde

    Tracksyde Member

    Joined:
    Sep 21, 2011
    1,429
    761
    0
    Location:
    So Cal
    Vehicle:
    2012 Prius Plug-in
    Model:
    Plug-in Base
    I don't think it's the "124 mile startup". My drive to work is about 13.4 miles, all EV. But my drive home requires about 1-1.5 miles of gas. So I don't have 124 miles of pure EV, unfortunately.
     
  12. 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
    Vincent, any idea how to get those kWh charged or consumed that the MID displays?

    It would be great if that can be logged.
     
  13. vincent1449p

    vincent1449p Active Member

    Joined:
    May 24, 2004
    894
    331
    0
    Location:
    Singapore
    Vehicle:
    2012 Prius c
    In the prototype, any PIDs related to battery external charging can be found at 2176, 217A & 217E. In the production unit, all these PIDs are blank according to Tracksyde's PID Map. Could it be Sanyo battery uses it's own charger and thus with a dedicated ECU? No info at this moment.

    I also checked the prototype Repair Manual. There is no PID for measuring kWh, most likely derived from calculating other PIDs, something like MPG, km/L or L/100km.

    I don't know whether Torque can be run in AT MA mode (Monitor All). We could capture which ECU are communicating and tries to decode the msg. It is a shot in the dark but that is the only way I can think of.

    Vincent
     
  14. Tracksyde

    Tracksyde Member

    Joined:
    Sep 21, 2011
    1,429
    761
    0
    Location:
    So Cal
    Vehicle:
    2012 Prius Plug-in
    Model:
    Plug-in Base
    This sounds like the TorqueScan app that USB suggested?

    Is that right, USB?

    So when I had it installed on my G1, I thought it made everything super slow. I thought I read something about you trying it also and it didnt work or had problems?
     
  15. 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
    Torque app has a Telnet built into it. I have not used it yet but you should be able to type in "AT MA" in it.
     
    1 person likes this.
  16. Tracksyde

    Tracksyde Member

    Joined:
    Sep 21, 2011
    1,429
    761
    0
    Location:
    So Cal
    Vehicle:
    2012 Prius Plug-in
    Model:
    Plug-in Base
    I'll give that a shot later today. Thanks
     
  17. Tracksyde

    Tracksyde Member

    Joined:
    Sep 21, 2011
    1,429
    761
    0
    Location:
    So Cal
    Vehicle:
    2012 Prius Plug-in
    Model:
    Plug-in Base
    Vincent,

    I tried this this morning and here are the responses I got:

    Using the Test, I tried the 3BA700 to disable all seat belt warnings. The response was:

    7C8037F3B78
    7C8027BA7

    I then Tested command 21A7 and got the following response:

    7C80361A700

    So it sounds like it worked? One thing I also noticed, after I got this response, I looked up at the MFD and it it said something like "Configuration Mode" or something about Configuration. I turned the car off and back on and it was gone. I didnt think to check to see if the seat belt warning was still working or if it did actually turn off. I will try that on my way home. But based on your post, it sounds like it was successful?

    Also, I tried just turning off the seat belt warning just for the driver, but when I tested command 3BA760, Torque responded with:

    7C8037F3B12

    So thats when I tried turning off all the seat belt warnings.
     
  18. Tracksyde

    Tracksyde Member

    Joined:
    Sep 21, 2011
    1,429
    761
    0
    Location:
    So Cal
    Vehicle:
    2012 Prius Plug-in
    Model:
    Plug-in Base
    Well, on the way home I just unbuckled my seat belt as a test and the light flashed but there was no chime/beeping. So I guess it worked.

    Thanks again, Vincent
     
  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
    Nice! Can you explore that Configuration screen to see what is in there? If you can take a pic of it, would be great.
     
  20. Tracksyde

    Tracksyde Member

    Joined:
    Sep 21, 2011
    1,429
    761
    0
    Location:
    So Cal
    Vehicle:
    2012 Prius Plug-in
    Model:
    Plug-in Base
    There wasnt a menu or anything. It was displayed on the MFD, a box (same "outline box" as when the "Charge Complete" screen pops up), and inside the box it said something like "Configuration Mode". I think when I sent the "turn off seat belt reminder" code, it went into some kind of configuration mode. I didnt notice it though, not until I sent the SBB Query code, then I looked up and saw it on the MFD. I was a little freaked out by it, thats why I turned the car off :D. But I guess thats how its supposed to work.