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.
-
Some minor tweaks to the Ray EV codes

Labelled the 88 cell voltages starting 009_ not 000_
Moved Normal Charge Port and Rapid Charge Port from OBC to BMS
Moved Average Cell Voltage from BMS to Extra Gauges
Renamed Average Cell Voltage to 004_CALC Average Cell Voltage

Have added this value into the Extra Gauges for the Soul EV and the I oniq EV

Code:
004_CALC Average Cell Voltage,Avg Cell V,2101,val{000_Battery DC Voltage}/96,2.8,4.2,V,7E4
 
-
Here's some links on how to set up Torque to work with the Soul EV. (Also the Hyundai I oniq Electric).
It would be really great if someone could create a German translation of one of these help pages.

The original web page and discussion for these codes is on this forum - Setting up Torque to show BMS data

The main repository for the codes has since moved to github - https://github.com/JejuSoul/OBD-PIDs-for-HKMC-EVs

There is help in English here - Setting up Torque Pro to show OBD data on Hyundai / Kia Electric Vehicles

There is help in French here - Kia SOUL EV : comment lire les différents capteurs via OBD-II

There is help in French here - [Diagnostique OBD2] Torque Pro -Android- et le Kia Soul EV.

There is help in Korean here - 토크프로 중급편 (TORQUE) 확장PID 관리 하기
 
-
Here's a tip for logging data during a long charging session.
To prevent the phone from running out of battery, connect it to a portable USB c harger.
When driving I can just plug the phone into the car, but I don't like leaving the car 'on', if I leave it for many hours.
Luckily I have been given these c hargers as gifts when test driving other electric cars.

 
-
I want to add two new torque codes. Can people test these and let me know if they work.

000_HV_Charging,Charging,2101,{j:7},0,1,,7E4
000_BMS Main Relay,BMS Status,2101,{j:0},0,1,,7E4
We currently have the codes that show whether the cable is connected or not, but not when the actual charging stops and finishes.

I have added these already into the I oniq and Ray BMS codes, such that the 4 bitfields look like this. Have now renamed the short names for the charge port codes. If you copy the codes from here remove the space after the J.

000_Normal Charge Port,J 1772 Port,2101,{j:5},0,1,,7E4
000_Rapid Charge Port,Fast Port,2101,{j:6},0,1,,7E4
000_HV_Charging,Charging,2101,{j:7},0,1,,7E4
000_BMS Main Relay,BMS Status,2101,{j:0},0,1,,7E4

In a quick test. BMS Status is OFF for ACC Mode, but ON when the car is in START.
The J 1772 Port is ON even when the other end of the cable is unconnected.

photo_2017-05-26_13-0adu9g.jpg

-----------------------------------

Here's Torque running on an I oniq Electric in Korea. The owner just bought a new KW902. It works.

 
Update in progress for my CSV (start = http://www.mykiasoulev.com/forum/viewtopic.php?f=6&t=471&start=330#p6858 ).
Test in progress for HV and Relay (results = sunday).
 
SoulEV2016 said:
Update in progress for my CSV.
Test in progress for HV and Relay (results = sunday).
Great!.

Have uploaded to github the 4 new bitfield values from my post just above
Am now testing two more. I don't understand why there would be an airbag code in the BMS, nor what the numbers we get from this mean.
Seems to be a percentage between 80 and 100%.
Code:
000_Ignition,Ignition,2101,{ay:2},0,1,,7E4
000_Airbag H/wire Duty,Airbag,2105,w,0,255,,7E4
 
Added for test, planned from saturday night to sunday journey (32°C here).
Markers added on "diagnostic panel" (P-R-N-D-B selector).
000_Slow & 000_Fast charger tag renamed in "J1772 Plug" and "Chademo Plug".
Formulas in CALC (84 and 94 goal) that they use "Chademo Plug" as a enable marker = upgraded.
Delete 003_Normal and 003_Fast from OBC2015 & OBC2016 CSV.
 
Airbag value.

8S194Q.png




Average Cell Voltage value.

GsVLJa.png



Chademo Charge + A/C (Ignition RED button).
BMS Ignition not allowed (Chademo charge in progress ...).
Locked Drive Selector (mecanical part in P position).

FDrAaj.png






End of Chademo Charge with 12v AUXILIARY battery that it supply fan of the cabine (red battery indicator on dashboard).
But not A/C = VCMU Ignition = OFF.

vjR14O.png






Test of the HV Charging marker and the Chademo Plug (FastCharge Port) = OK, good to test if the plug of a chademo or a slow charger cord have a problem (not detected).

HV Charging is interrupt at 84% (Soul EV 2016).
But Chademo Plug is not unplugged from the car.

At the end of the 94% in Chademo charge ... i wait a moment (to have log values).
HV charging marker stop.
And then, i unplug the Chademo plug from the car.
Chademo plug marker stop.

SZdOfH.png


Same reaction for the Normal Charge Port (6,6kW) :
- 4 second before the HV Charging marker start ... (OBC job)
- the Normal Charge Port is at 1 (like the Chademo Plug marker).




Complet LOG (LibreOffice - ODS Format) : https://www.4shared.com/file/ojr5_Keica/trackLog-2017-mai-27_21-11-08.html (mirror = https://www.sendspace.com/file/5q0xn8 )
 
-
Great testing.
I hadn't spotted the difference between BMS Ignition and VMCU Ignition.
Even though the car is in START the BMS Ignition shows that you cannot drive away when charging.
I will update the short names on those two values to the ones you use. BMS Ignit. and VMCU Ignit.
 
Update CSV v12.

https://www.4shared.com/zip/-15bO4scca/Kia_Soul_EV_2014-2017_Torque_C.html (mirror = https://www.sendspace.com/file/ipv8sd )

BMS_data_v16 :
- move Normal & Rapid Charge Port here (JejuSoul)
- rename short description of normal & rapid charge port in "J1172 Plug" and "Chademo Plug" (SoulEV2016)
- add HV_Charging PID (JejuSoul)
- add BMS Main Relay PID (JejuSoul)
- add BMS Ignition PID (JejuSoul)
- add Airbag H/wire Duty (JejuSoul)
- add range value on Airbag = 50 to 100 (SoulEV2016)
- short description added for BMS Ignit. (SoulEV2016)

Extra_gauges_v08 :
- add Average Cell Voltage Formula (JejuSoul)
- Modify Instant Remaining Charge Formula (003 to 000, "charge port" PIDs) (SoulEV2016)

OBC2015_data_v08 & OBC2016_data_v07:
- delete 003_Rapid Charge Port PID (SoulEV2016)
- delete 003_Normal Charge Port PID (SoulEV2016)

VMCU_data_v05 :
- rename Ignition in VCMU Ignition and short description, too (SoulEV2016)







DASH v120 file for Torque Pro :

https://www.4shared.com/zip/PXY6HjHqei/all_v120dash.html (mirror = https://www.sendspace.com/file/w9hop6 )

- Delete Max Batt Temperature Gauge in "Chademo Charge panel"
- Replace by POWER gauge
- Add SOC Display
- Add many PIDs from JejuSoul to "Diagnostic Panel" (BMS relay & Ignit, HV Charging, Airbag)
- Add Cell Average Voltage Formula in "Cell Panel"
- Change display gauge of Deviation Cell Voltage





GIF to reorganize the gauges if you want/need :

TlbL1z.gif
 
-
Thanks.
The new dash screen has been uploaded to the github repo.
All values in the repo are the same as in your zip file.
 
-
Here's a screenshot from someone who managed to fit all 96 cell voltages onto a single page.

It's also interesting because it has the min det > max det. A quirk we have seen before, but it is very rare.

 
-
Overload the Hyundai I oniq Electric to a virtual "101%" battery SOC through regenerative braking.

https://www.youtube.com/watch?v=JnlhHhDHx5M

Since I'm living on a small mountain I was wondering what will happen if I charge my I oniq to 100% and regenerate more energy by driving down the mountain. As you can see it's possible to regenerate energy even if the battery shows 100%. In my case it gained energy up to 96% BMS (battery management system), which is the equivalent to 101% SOC (state of charge — what your I oniq displays on its screen). Of course your I oniq still shows only 100% maximum even when it's overloaded!

I used the app "Torque Pro" and the Torque plugin "Track Recorder" to record my ride.
You'll also need a bluetooth OBDII dongle to connect your smartphone to the I oniq to gain all the data.
 
-
There is a driver in Italy who has successfully used some of the Kia Soul EV codes on an I oniq Hybrid.

see - http://www.ioniqforum.com/forum/218-hyundai-ioniq-hybrid/2769-anybody-try-use-torque-pro-2.html

He has an interesting new equation - Battery Stress = Quadratic average of battery current flow
Am trying to find out more details.
 
https://en.wikipedia.org/wiki/Root_mean_square

the root mean square (abbreviated RMS or rms) is defined as the square root of mean square (the arithmetic mean of the squares of a set of numbers).

The RMS is also known as the quadratic mean and is a particular case of the generalized mean with exponent 2.





merged with this possibilities : https://torque-bhp.com/wiki/Equations (source : https://torque-bhp.com/forums/?wpforumaction=viewtopic&t=3.19 )

EWMAF(weight:value) = Exponentially weighted moving average filter - filter noisy signals here. 'weight' should be between 0(more smoothing) and 1(less smoothing).

SQRT(value) = Returns the correctly rounded positive square root of a value.



:D we need a mathematic help (or teacher).
 
-
I don't know what exactly 'Battery Stress' is supposed to mean. So I googled RMS Current. Found this.
It seems higher 'Battery Stress' is related to lower efficiency, and higher heat in the battery.



It's from a July 2016 document titled 'Battery Thermal Characterization' by the US. National Renewable Energy Laboratory
- https://energy.gov/sites/prod/files/2016/06/f32/es204_keyser_2016_p_web.pdf

The topic is Thermal Management Systems for EVs and SK Innovation is one of the partners.
 
-

Ayokyun has added a new PID for the Ray EV.

Code:
003_VMCU Brake Pedal Depth,Brake Pedal,2102,e,0,255,,7E2

I have tested this on my Ray EV. It works. Will test later tonight on my Soul EV to see if it is the same.
 
Back
Top