Setting up Torque to show BMS data

Kia Soul EV Forum

Help Support Kia Soul EV Forum:

This site may earn a commission from merchant affiliate links, including eBay, Amazon, and others.
JejuSoul said:
There is a place for this though. It might be - what do you think.
Looking at my data it doesn't seem right.

hard to say ... but it react at the driver demand and not for a temperature.

ulTi5J.png


pD3bQz.png


EycP8X.png


remove SPACE after the "_" mark on the description of 000_Battery Cell Voltage Deviation(V)
 
Battery Cell Voltage Deviation has been a candidate in the google spreadsheet for a long time, I'm quite sure I can confirm it by now. The unit/resolution is the same as the individual cells, i.e 0.02V. Will update the spreadsheet and make it green.
 
Thanks for testing this - have now added Cell Voltage Deviation to github repo.
It is now divided by 50, same as the cell voltages.

Code:
000_Battery Cell Voltage Deviation,Voltage Deviation,2105,u/50,0,4.2,V,7E4
 
I'm adding basic VIN decoding of the 0902 message in Kia_Soul_EV_VIN_data.csv:
Code:
005_BaseTrim, Base Trim, 0902, ABS(val{005_PlusTrim} - 1), 0, 1, , 7E2
005_PlusTrim, Plus Trim, 0902, {F:3}, 0, 1, , 7E2
005_SequentialNumber, Seq No, 0902, ((M - 48) * 100000) + ((N - 48) * 10000) + ((O - 48) * 1000) + ((P - 48) *100) + ((Q - 48) * 10) + (R - 48), 0, 999999, , 7E2
005_Year, Year, 0902, K+1945, 2014, 2035, , 7E2

Example VIN 1 (mine, 2016 with sunroof): KNDJX3AEXG7004683
Example VIN 2 (from the web, base model); KNDJP3AE0F7003847


Base Trim and Plus Trim
I used the names as seen in the US, here we call them Base and Luxury. What about in our part of the world?

Trim is identified by the 5th letter, either X (luxury) or P (base).
P = 0x50
X = 0x58

Since Torque don't have an == operator, I identify the Plus model by checking the 4th bit status.
Since Torque don't have an ! operator, I use simple math to generate the logical negation.

(Note; Base model is actually untested but should work).

Sequential number
It is the last 6 digits of the VIN. Since it's actually ASCII numbers, I have to convert them to decimal.

Year
Year is the 10th character. F = 2015, G=2016, H=2017 and so on.

Other stuff (for documentation)
Text cannot be rendered in Torque directly, but here's the other meanings of the digits:
KNDJX3AEXG7004683 = World Manufacturer Identifier (WMI -- KND=Kia, can also be KNC and KNH, but not on Soul EV so far)
KNDJX3AEXG7004683 = Vehicle line (3 = Soul -- which is product code PS and PSEV)
KNDJX3AEXG7004683 = Body/Cabin type, Gross vehicle weight rating
KNDJX3AEXG7004683 = Restraint system, brake system
KNDJX3AEXG7004683 = Motor type (Electric)
KNDJX3AEXG7004683 = Check digit
KNDJX3AEXG7004683 = Production plant (7=Gwangju)


Screenshot
Ys1UyT.png


Those information have no real use in the dashboard. However, they may be useful for the plugin, to choose the right OBC file for example!

Jeju : this is added to my last pull request!
 
Small detail for the above post : I'm having sometimes trouble receiving the data for the 0902 message. It's like the response is eaten by Torque. It works well however if I start Torque first in the dashboard, THEN power on the ELM.
 
SiLiZiUMM said:
Those information have no real use in the dashboard. However, they may be useful for the plugin, to choose the right OBC file for example!

Thanks for the added data.
I don't think we can rely on this for checking which OBC people have - too many people have had it swapped.
Ayokyun is talking about "Plugin may request info from car, and then determine OBC ver by checking the range of PIDs"

And why is your avrdet 14%

I merged your latest pull request. I can't check it myself on either the Ray or the Ioniq. I don't have either of those cars. Ayokyun has a Ray EV and he is going to check later today.
 
Rename (short for tiny gauge, Feedback = SPD and Statut = MOD) Batt Fan values :

Code:
000_Battery Fan Status,Batt Fan MOD,2101,ab,0,9,,7E4
000_Battery Fan Feedback,Batt Fan SPD,2101,ac,0,120,Hz,7E4
 
SiLiZiUMM said:
I'm adding basic VIN decoding of the 0902 message in Kia_Soul_EV_VIN_data.csv

it works.
Sequential Numbers matches with the KIA certificat of the car (last numbers, my car car have 5 numbers).

x6DEwo.png
 
SiLiZiUMM said:
I'm adding basic VIN decoding of the 0902 message in Kia_Soul_EV_VIN_data.csv:

... ... ... ... ... ... ... ...

Other stuff (for documentation)
Text cannot be rendered in Torque directly, but here's the other meanings of the digits:
KNDJX3AEXG7004683 = World Manufacturer Identifier (WMI -- KND=Kia, can also be KNC and KNH, but not on Soul EV so far)
KNDJX3AEXG7004683 = Vehicle line (3 = Soul -- which is product code PS and PSEV)
KNDJX3AEXG7004683 = Body/Cabin type, Gross vehicle weight rating
KNDJX3AEXG7004683 = Restraint system, brake system
KNDJX3AEXG7004683 = Motor type (Electric)
KNDJX3AEXG7004683 = Check digit
KNDJX3AEXG7004683 = Production plant (7=Gwangju)

Just as an FYI ... My 2015 Soul EV (delivered late October 2014 in the European Union) has KNAJX81EUF7 as the first 11 characters. Note the "A" as 3rd ...
 
JejuSoul said:
Thanks for testing this - have now added Cell Voltage Deviation to github repo.
It is now divided by 50, same as the cell voltages.

Code:
000_Battery Cell Voltage Deviation,Voltage Deviation,2105,u/50,0,4.2,V,7E4

Checked.

X9XOc6.png


Change the max/min
add somes precision (.00)

Code:
000_Battery Cell Voltage Deviation,Voltage Deviation,2105,u/50,0.00,0.50,V,7E4

If you have a deviation of more than 0.5v ... your pack (1 cell or 2) is dying. :cool:
 
Update :

CSV v10 :
- structured changelog is available here = https://github.com/JejuSoul/OBD-PIDs-for-HKMC-EVs/commits/master
- CSV v10 are the same as the Github deposit (use RAW function to retrieve the sames CSV for each files if you want).
- Please, draw an icon for the plugin in Torque PRO : https://github.com/JejuSoul/HKMC-EV-Torque-Plugin

- Add Signed operator for Motor Speed and Torque values. -JejuSoul-
- Add new PIDs in BMS section (2x drive motor and surge resistor and inverter cap. voltage). -JejuSoul-
- Change PID for EWP status. -JejuSoul-
- Delete extra data csv file. -JejuSoul-
- Merge PIDs with VMCU and BMS csv files (from extra data csv file). -JejuSoul-
- Add new PIDs in VMCU section (Aux Battery Voltage and Inverter In. Voltage). -JejuSoul-
- Rename CCL and DCL (Max REGEN and Max POWER now). -SoulEV2016-
- Change max LDC power to 1100. -SoulEV2016-
- Rename OBC temp 1-2-3 (heatsink, inside, water). -SoulEV2016-
- Add somes tags for PIDs (LDC, BMS, ...) for gauges. -SoulEV2016-
- Add PID for cell deviation value. -JejuSoul-
- Add new file : Kia_Soul_EV_VIN_data.csv (include 4 new PIDs). -SiLiZiUMM-
- Rename Batt Fan values (short for tiny gauge). -SoulEV2016-

Kia_Soul_EV_Battery_Cell_data_v02.csv - Kia_Soul_EV_BMS_data_v10.csv
Kia_Soul_EV_Extra_gauges_v04.csv - Kia_Soul_EV_LDC_data_v05.csv
Kia_Soul_EV_OBC2015_data_v07.csv - Kia_Soul_EV_OBC2016_data_v06.csv
Kia_Soul_EV_TPMS_data_v02.csv - Kia_Soul_EV_VIN_data_v01.csv
Kia_Soul_EV_VMCU_data_v04.csv

Mirror (All-in-ZIP) = http://www.4shared.com/zip/kY2eP0_qce/Kia_Soul_EV_2014-2016_Torque_C.html




DASH v100 :
- Move cells values at the end (right) of all panels.
- Clean place on the middle (right) for others gauges and fast speed test for new PIDs.
- Change TEMPERATURES panel to see all probes and pump (climate) and motor values.
- Add VIN gauges (SiLiZiUMM) in the circle gauges panel.
- Add DEVIATION gauge (JejuSoul) on CELL panel.

all v100.dash

Mirror (ZIP) = http://www.4shared.com/zip/HJvQwmjmba/all_v100dash.html




DASH GIF :
- You can see how are placed the gauges and move according to your screen.

RuKUUu.gif
 
Thanks SoulEV2016. Great Update. Have changed the link on the first post on page 1 of this thread to these files.

Have changed the way I think about the structure of my Instructions / Help files on github.

The file lists and comments for programmers / coders who are developing them will be in the Readme pages.
One for each car. Here's the one for the Soul EV. - Torque Codes for the Soul EV

Most users would probably want to see a help file, not the coding.
The instructions on how to install the files, and how to use Torque will be html documentation in the docs folder.
This is viewable at Setting up Torque Pro to show OBD data on Hyundai / Kia Electric Vehicles
It is much easier to maintain one generic help file, for all the cars using the codes.
 
It's great Jeju! :p Where should we store sample .dash files in the repository? I suggest the following format:

  • OBD-PIDs-for-HKMC-EVs/XXX EV/
    • extendedpids/ (the actual CSV files we have in the folder right now)
    • dashboards/ (example .dash files)
    • Other files : Readme.md, .xls files

What do you think?
 
SiLiZiUMM said:
I suggest the following format:
  • OBD-PIDs-for-HKMC-EVs/XXX EV/
    • extendedpids/ (the actual CSV files we have in the folder right now)
    • dashboards/ (example .dash files)
    • Other files : Readme.md, .xls files
What do you think?
This sounds good. I have created this directory structure for the Soul EV files.

Note: 4shared.com is banned by the Korean government. I cannot access the dashboard uploaded by SoulEV2016.

warningjfsmr.png
 
Check for the EWP PID (correction) = OK.

7T9rGd.png


Strange that EWP is linked to the speed (above 40 km/h = OFF).
 
JejuSoul said:
Note: 4shared.com is banned by the Korean government. I cannot access the dashboard uploaded by SoulEV2016.

use the primary location : http://up.sur-la-toile.com/i1iFu
 
SoulEV2016 said:
Strange that EWP is linked to the speed (above 40 km/h = OFF).
EWP cools the motor and power electronics.
Above 40 km/h the air flow will cool the motor, so the EWP is not needed.

SoulEV2016 said:
...use the primary location : http://up.sur-la-toile.com/i1iFu
Thanks, I got it and added it to github.
I altered the name to SoulEV2016-all-v100.dash. We will add more dash files and this will show that these screens are yours.
The aim is for the plugin to automatically download and update the dash files.
 
Back
Top