SoulEV2016
Posts: 572
Joined: Mon Jul 18, 2016 6:26 am

Re: Setting up Torque to show BMS data

Mon Oct 31, 2016 10:10 am

SoulEV2016 wrote:Can someone have idea to build this 3 (realtime) gauges ?
I don't understand correctly the high stabilised gauge of the Soul EV when i drive fast.

Time that i can travel : like , i can travel 30 min with this consumption (based on 27kWh, can i use the SOC BMS instead of fixed 27 kWh ?).

example : Soul EV don't provide a realtime gauge that it indicate : at 50kW, you can drive 45min, at 24kW, you can drive 1h20min.




Kilometers before 10% at SOC BMS more accurate at high pedal usage like in montain or unlimited highway.

example : You can drive 89km at this 65kW, you can drive 110km at 24kW



Time to wait at Chademo charge based on 84-94% frontier ... ? Because in my country, the Chademo don't display the time before the charge is finish (well, the soul EV don't display this ... too)

example : wait 13min from 70 to 84%, wait 18min from 84 to 94% based on SOC BMS and Power Battery.


I think about this during this week, too. :idea:



Chademo timing is not ready ... but i have build the others gauges.
I don't know how to store like 10 values and do the average result with Torque Pro ... so the measure is INSTANT.

LOW SPEED

Image

Image

Image

Image

ACCELERATION

Image

Image

Image

Free LOGS (LibreOffice ODS) : http://up.sur-la-toile.com/i1iiu ( mirror = http://www.4shared.com/file/OvhNlBqaba/ ... a_Gau.html )
Kia Soul EV 2016 Ultimate 27 kWh - Mountain hard driving (fast). Drain 1/3 of Battery after 32km. - Unlimited highway speed (153km/h at regulator).

SoulEV2016
Posts: 572
Joined: Mon Jul 18, 2016 6:26 am

Re: Setting up Torque to show BMS data

Mon Oct 31, 2016 10:15 am

File is named : Kia_Soul_EV_Extra_gauges.csv

Code: Select all

004_CALC Security on SOC Display,SOC-VAR1,2101,5,0,100,%,7E2
004_CALC SOC Display minus Security,SOC-VAR2,2101,val{000_State of Charge Display}-val{004_CALC Security on SOC Display},0,100,%,7E2
004_CALC SOC Display Minus Security Divided 100,SOC-VAR3,2101,val{004_CALC SOC Display minus Security}/100,0,1,,7E2

004_CALC MAXDET on 100,SOH-DET,2101,100-val{000_Maximum Deterioration},0,100,%,7E2
004_CALC SOH Battery,SOH,2101,27*val{004_CALC MAXDET on 100}/100,0,27,kWh,7E2

004_CALC Instant Remaining Kilometers,MAX Kilometers,2101,val{003_VMCU Instant Driving Efficiency2}*val{004_CALC SOH Battery}*val{004_CALC SOC Display Minus Security Divided 100},0,256,km,7E2
004_CALC Instant Remaining Minutes,MAX Minutes,2101,val{004_CALC SOH Battery}*val{004_CALC SOC Display Minus Security Divided 100}/val{003_VMCU Instant Driving Efficiency}*60,0,240,min,7E2


Security is 5% (i can't drive when the car indicate 5% of Battery).
You can change this : it's the "5" after the "2101," on the first formula.
5% of battery on dashboard is 1 RED bar.

SOH is not the Kia Official SOH (that you can see in GDS software for example) ... but only the 27 kWh - Max Deterioration (3% in my case).

exemple : CALC SOH = 27 x 0.97 = 26,2 kWh

Torque Pro don't support parentheses that's why i use VAR1, VAR2, VAR3 ... (because math order need to be execute in a priority like * and / are priority over + and - )
Last edited by SoulEV2016 on Mon Oct 31, 2016 1:11 pm, edited 3 times in total.
Kia Soul EV 2016 Ultimate 27 kWh - Mountain hard driving (fast). Drain 1/3 of Battery after 32km. - Unlimited highway speed (153km/h at regulator).

SoulEV2016
Posts: 572
Joined: Mon Jul 18, 2016 6:26 am

Re: Setting up Torque to show BMS data

Mon Oct 31, 2016 11:15 am

CSV v5 & DASH all v40.

- only add the "extra_gauges" CSV file, others files are not modified.
- DASH file is modified in the ECO-drive panel to integrate the INSTANT gauges.

CSV v5 :
Kia_Soul_EV_Battery_Cell_data.csv - Kia_Soul_EV_BMS_data.csv - Kia_Soul_EV_Extra_data_v2.csv
Kia_Soul_EV_Extra_gauges.csv - Kia_Soul_EV_OBC2015_data.csv - Kia_Soul_EV_OBC2016_data.csv
Kia_Soul_EV_TPMS_data.csv - Kia_Soul_EV_VMCU_data.csv - END.

mirror (all-in-1) = http://www.4shared.com/zip/SG6TJ6r2ce/K ... que_C.html


DASH all v40 : http://up.sur-la-toile.com/i1iiv (mirror = http://www.4shared.com/zip/4xrbrW2rba/all_v40dash.html ).

CSV are needed and must be insert in the extendedpids folder on .torque folder.
DASH is a panel to organize the Torque Pro Display, it must be insert in the dashboard folder on .torque folder.

Use previous page to view the development or ask for tips.
Kia Soul EV 2016 Ultimate 27 kWh - Mountain hard driving (fast). Drain 1/3 of Battery after 32km. - Unlimited highway speed (153km/h at regulator).

JejuSoul
Posts: 1420
Joined: Wed Jul 08, 2015 6:47 am
Location: Jeju
Contact: Website

Re: Setting up Torque to show BMS data

Mon Oct 31, 2016 10:34 pm

SOH doesn't work this way. SOH is the percentage of usable capacity remaining.
The values for Min and Max deterioration are the percentage of total capacity that has been lost.

For a new car usable capacity = 27kWh, total capacity = 30.5kWh.
There is a buffer (3.5kWh ~ 10%) that gradually disappears over the first few years.
SOH will remain at 100% until that buffer stops falling. Some of the buffer will always be kept.
We do not know the algorithm that controls the size of the buffer.
Therefore as yet we do not know how the values for Min and Max deterioration relate to SOH.
SOH may start falling once deterioration reaches 7% , 9%, 11% we don't know.
All we know for sure is that my car and Birkeland's have SOH = 100% and Elmil's = 99.1%
The codes for using Torque Pro can be found by clicking the link in the website icon under my user name on the left.

SoulEV2016
Posts: 572
Joined: Mon Jul 18, 2016 6:26 am

Re: Setting up Torque to show BMS data

Tue Nov 01, 2016 7:14 am

What are your Max DET for this SOH from Kia ?
Can you have an idea to use the Max DET ... simply by using the 30,5 kWh instead of 27 kWh ?




For the subject, the result of eco-drive gauge with the 004_CALC :

Image
Kia Soul EV 2016 Ultimate 27 kWh - Mountain hard driving (fast). Drain 1/3 of Battery after 32km. - Unlimited highway speed (153km/h at regulator).

SoulEV2016
Posts: 572
Joined: Mon Jul 18, 2016 6:26 am

Re: Setting up Torque to show BMS data

Thu Nov 03, 2016 1:46 pm

Perfect, this eco-drive panel work great now ... i can evaluate in REAL TIME, the range of the car in function of my speed profil and throttle strategy.

I have made a big trip to see in action.
Image


It's a perfect tool, now.

Uphill with regulator.
Image



Flat with regulator.
Image



Strategy for drive (speed) and distance.
Image



Max speed with full battery (flat).
Image
Kia Soul EV 2016 Ultimate 27 kWh - Mountain hard driving (fast). Drain 1/3 of Battery after 32km. - Unlimited highway speed (153km/h at regulator).

SoulEV2016
Posts: 572
Joined: Mon Jul 18, 2016 6:26 am

Re: Setting up Torque to show BMS data

Thu Nov 03, 2016 3:41 pm

DASH all v43.

http://up.sur-la-toile.com/i1ijK (mirror = http://www.4shared.com/zip/HByNKVBgba/all_v43dash.html ).

- Update the eco-drive panel like previous GIF pictures to see in realtime, the range and time remaining with your battery.

- SOH (in kWh) is added in the ON/OFF rounds buttons panel for express check (CSV will be modified to use an other method to calculate = viewtopic.php?f=6&t=677#p5401 ).

Dash version follow the update of Torque Pro.

Like usual, please update Torque Pro (it's free after the initial purchase) because gauges charges more quickly than previous builds (and we have a lot of gauges in the Soul EV :mrgreen: ).
Kia Soul EV 2016 Ultimate 27 kWh - Mountain hard driving (fast). Drain 1/3 of Battery after 32km. - Unlimited highway speed (153km/h at regulator).

ekhaat
Posts: 9
Joined: Sun Jul 31, 2016 10:02 pm

Re: Setting up Torque to show BMS data

Sat Nov 05, 2016 4:32 am

Thank's for the great work on this project, everyone.

Does anyone of you know if there is a readout (PID?) for total miles or km driven? That together with cumulative power discharged would give the most accurate driving efficiency IMO.

I don't know what to trust. The cars efficiency display and the one calculated here are very different. Looking at the efficiency in the log files gives me average efficiency under half of what the cars display shows, even if I don't count values <= 0

It seems to me that the cars displayed efficiency has gotten much worse over the last month or so, even if we turn off HVAC altogether.

Cheers

JejuSoul
Posts: 1420
Joined: Wed Jul 08, 2015 6:47 am
Location: Jeju
Contact: Website

Re: Setting up Torque to show BMS data

Sat Nov 05, 2016 5:38 am

ekhaat wrote:Does anyone of you know if there is a readout (PID?) for total miles or km driven? That together with cumulative power discharged would give the most accurate driving efficiency IMO.


Yes, there is a PID for the odometer, but we don't know how to get it into Torque. So everyone just reads the one on the dash.

The cumulative energy charged and cumulative energy discharged include the regenerated energy put back into the battery during driving. The efficiency figure that we want should not include that regenerated energy. You can work it out by subtracting the cumulative energy charged values from the start and end of a trip.
The codes for using Torque Pro can be found by clicking the link in the website icon under my user name on the left.

SoulEV2016
Posts: 572
Joined: Mon Jul 18, 2016 6:26 am

Re: Setting up Torque to show BMS data

Wed Nov 09, 2016 9:15 am

Code: Select all

004_CALC Security on SOC Display,SOC-VAR1,2101,5,0,100,%,7E2
004_CALC SOC Display minus Security,SOC-VAR2,2101,val{000_State of Charge Display}-val{004_CALC Security on SOC Display},0,100,%,7E2
004_CALC SOC Display Minus Security Divided 100,SOC-VAR3,2101,val{004_CALC SOC Display minus Security}/100,0,1,,7E2

004_CALC MaxMin DET,AVRDET1,2101,val{000_Maximum Deterioration}+val{000_Minimum Deterioration},0,1000,,7E2
004_CALC AVRDET,AVRDET2,2101,val{004_CALC MaxMin DET}/2,0,100,%,7E2
004_CALC AVRDET For SOH,Lost SOH,2101,10-val{004_CALC AVRDET},-100,10,%,7E2

004_CALC AVRDET For SOH Divided 100,AVRDET3,2101,val{004_CALC AVRDET For SOH}/100,0,1,,7E2
004_CALC Lost of SOH,Lost SOH,2101,27*val{004_CALC AVRDET For SOH Divided 100},0,27,kWh,7E2

004_CALC SOH Battery in kWh,SOH in kWh,2101,27+val{004_CALC Lost of SOH},0,31,kWh,7E2
004_CALC SOH Battery in 100 ratio,SOH in %,2101,val{004_CALC SOH Battery in kWh}/27*100,0,110,%,7E2

004_CALC Instant Remaining Kilometers,MAX Km,2101,val{003_VMCU Instant Driving Efficiency2}*val{004_CALC SOH Battery in kWh}*val{004_CALC SOC Display Minus Security Divided 100},0,256,km,7E2
004_CALC Instant Remaining Minutes,MAX Minutes,2101,val{004_CALC SOH Battery in kWh}*val{004_CALC SOC Display Minus Security Divided 100}/val{003_VMCU Instant Driving Efficiency}*60,0,240,min,7E2


add the SOH formula explain here : viewtopic.php?f=6&t=677#p5401
just add a 10% (27 to 30.5kWh) .

so original battery is 110% of 27 kWh ( +/- ~0.5% factory battery pack measure, i think).

i need to test this tomorrow with LOGS because of the SOH used in the prediction of kilometers and minutes before charging.

Lost SOH (in %) switch to negative figure when you REALLY LOST the capacity of battery :

+7,2% = OK = Extra bonus of the 27 kWh (+1,9kWh) = 107,2% in SOH displayed.
-1,2% = BAD = you have 26,676 kWh of battery capacity = 98,8% in SOH displayed.

On this picture, i have a MAXDet = 3% and a MINDet = 2,6% after 7000km.

Image

so when you have less than 10% in Min Deterioration ... the formula indicate a BONUS (between 27 and 29,7 kWh) in SOH.
Kia Soul EV 2016 Ultimate 27 kWh - Mountain hard driving (fast). Drain 1/3 of Battery after 32km. - Unlimited highway speed (153km/h at regulator).

Return to “Technical Discussions”