Friday, January 31, 2014

Loading custom PIDs on Torque

Run Torque
Select Setting / General Preferences

Check "Default to English", so all PIDs won't be translated in your local language and will be recognized by Torque Log Analyzer

Quit Torque to reload language

Select Settings / Units
Uncheck "Use Gallons"

Select Settings / OBD2 Adapter Settings
Check Enhanced MPG calculation

Select Settings / Data Logging & Upload
Check "Log trip fuel consumed"
Check "Also log selected sensors"

Now, to load custom PIDs file you'll need and Android file manager.
I've used X-plore, available free on Google Play.
First, be sure to check "Show hidden"

Search for /sdcard/.torque/extendedpids folder
Copy the PID file (HSD3 PIDs subset in this screenshot)

Now, back to Torque / Settings / Manage custom OBD2 PIDs
Select "Add predefined set"

You'll see the PID file you just added (HSD3 PIDs subset here)
Select it.
Now you'll have all the additional PIDs available for display and logging

Wednesday, January 29, 2014

V32 available


  • raised electric aid lower bound to 2A
  • better error messages when pids are missing

PIDs and Charts

Here's a summary with the required and optional PIDs for some common charts:

PIDs / AnalysisTemperatureMileagePulse & GlideRegenBrakeAidMaps
Speed (OBD)(km/h)RRRORRO
Engine RPM(rpm)RRO
Batt Pack Current Val(Amperes)RRO
State of Charge(%)R
Wheel Cylinder Pressure Sensor(V)RORO
Regen Cooperation(Off/On)RRRO
Accel Pedal Pos #1(%)ROO
Actual Engine Torque(Nm)RORO
Trip Distance(km)RR
Fuel used (trip)(l)RR
Fuel flow rate/minute(cc/min)
Engine Coolant temperatureRR
HV System IndicatorOO
Ambient TemperatureO
R = Required
O = Optional

Sunday, January 26, 2014

Electric Aid at higher SOC levels

Higher SOC level leads to higher electric aid to the petrol engine.
This chart shows the entry in an highway on the acceleration lane.
SOC was nearly 80% when I begun accelerating.
That led to a sustained current of more than 20A for 30 seconds.
Also note as the RPMs, after the initial spike, decrease while the speed increases.

Friday, January 24, 2014

Electric contribution to the petrol engine

It's common knowledge that the electric engine helps the main engine while travelling, but how much?
The new version of Torque Log Analyzer has a couple of charts that may answer that question.

The Electric Aid chart shows how many Amperes flow from the HV battery to the electric engine while the petrol engine is on. This current is used to enhance the power given by the petrol engine to the car.
Note that this chart doesn't include current used for EV mode, just the one used to help the internal combustion engine.
Some current peaks are observed primarily when the engine starts, but there's some little contribution even while cruising.
That was a low speed, urban trip, now here is an highway trip, with higher speed and lower variations.
There's a small but somewhat constant electric contribution to the cruise.
The other available chart is the scatter chart that shows observed Current values at various SOC levels.
It would be interesting to check if various SOC levels lead to different available currents.
This may require a long and varied trip to check out.

V31 Released


  • Electric Aid is now considered at 1A value
  • stats about N (percent usage and longest sequence)
  • some code was rewritten for faster execution

Sunday, January 19, 2014

V28 Released


  • fixed name error in hybrid chart.
  • fixed wrong brake chart label.
  • useless columns added by torque are deleted automatically to save space and compute time.
  • added HSI altitude chart (by request).
  • better Glide detection using HSI.
  • N "gear" is now detected with the HSI PID.
  • added Neutral to the Pulse & Glide chart.
  • coasting is now detected with HSI.
  • removed speed/altitude chart, as both are present in other charts.
  • added new car state ParaGlide: for those not obsessed by Glide but still curious to see when they are travelling with little energy.
  • fuel heuristics have been reported to fail badly too many times: I've removed them until I'll find a better way.
  • removed "sweet spot", as its correct detection in under discussion right now.
  • Timing Advance PID is no longer necessary.

Tuesday, January 7, 2014


Using the HSI PID we can observe Accelerator pedal behavior in different driving modes.
Here is Normal mode:
Now ECO mode:
Accelerator response is slowed down in ECO mode: note the steeper slope in Normal mode

Monday, January 6, 2014

V27 released

Sunday, January 5, 2014


This thread on PriusChat introduced the required PID to evaluate the power meter of the HSD system.
Here is the HV System Indicator, as it's called:

HSI can be used for a better detection of the Glide condition and for additional analisys on Power/ECO usage.
Add this PID to your Torque to use the HSI:

NameShortNameModeAndPIDEquationMin ValueMax ValueUnitsHeader
HV System IndicatorH S I212B{A:0} * 256 + B - {A:1} * 512-512511%7C0

You can also use the PID csv file provided in the download section of this site.

Some notable values are:

Zone NameMarkValueGear Stick Position
PWR-> 100D
Upper ECO583D
Upper ECO469D
ECO3 (center)50D
Lower ECO235D
Lower ECO116D
ECO - CHG0 (rest)0D
CHG-< 0D
Any--512P, R, N

Saturday, January 4, 2014

Braking in S1

It seems that other HSD cars stop charging HV battery if brakes are applied during S1 phase.
Yaris seems to be different.
Here is an S1with 2 brakings between 17:12:00 and 17:12:30: HV current continues to be negative with high values, so HV battery is still been charged.

Thursday, January 2, 2014

V26 released

  • Max and average engine temperature are now displayed on the Analisys sheet.
  • Added Temperature chart.
  • Mileage heuristics may give wrong results when the Trip Distance PID has inconsistent values: this is notified in the Log sheet when it happens.
  • Fixed minor errors in log messages when using the Resume function.