-
Notifications
You must be signed in to change notification settings - Fork 143
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The VMCU codes for the Ioniq EV need to be confirmed. #6
Comments
I have deleted the code for motor temp. |
I saw what would supposedly be 15C today. A bit later it went to 16. The battery, on the other hand, was between 20 and 22C. |
Yes. I too have been looking at the VMCU temperatures by looking at kinnison's data. Can you check these 2 values to see if they are temps. 003_VMCU Motor Temperature,Motor temp,2102,o-40,-40,125,C,7E2 |
I will try those later tonight if I can. The car will be sat all day, so in theory the values should match the outside air temperature :-D |
Here's one more to try 003_VMCU Real Vehicle Speed,Real Speed,2101,((o<8)+n)/10,0,180,km/h,7E2 The 2 bytes after the accelerator pedal depth PID are always zero when the car is stopped. Also for the VMCU we have the responses for 2101 and 2102 |
Oooh, I'll try and get results for that too. You think it's in km/h though, not mi/h ? |
Okay, I added the VMCU motor and MCU temperatures, and the vehicle speed decodes to my app and replayed the basic trace I provided on a different issue. The vehicle speed looks to me like it's (a) signed and (b) more likely (for me) mi/h and /100 not /10. In conclusion, I'd say that the temperatures are still suspect, but the speed looks good if it were mi/h and /100. |
Here's an image from a 30kWh Soul EV showing the VMCU Motor Temperature and Real Vehicle Speed https://postimg.cc/image/sedo6po43/ Could you post something similar using your values for temps, speeds and rpm from an Ioniq EV. |
I'm afraid I'm currently working, but here's a filtered log output from my program for a short 10 minute drive in the city centre. Speed limits around here are variously 20mph and 30mph and the car tends to read 32mph on the dashboard when it's really doing 30mph. In the log file, you can see the vehicle speed, the motor and mcu temperature, and the motor speed (rpm) values - they are raw i.e. not adjusted by division/multiplication in the log. So you see temperatures of say 56 rather than 16c. Do not believe the timestamps (other than their relation to one another) since they're stamped with just now when I did the conversion from the CAN trace I kept. But if you look at timestamp Hope this helps. |
thanks for the data. Can someone in a country that uses km/h for speeds confirm that this equation gives a result in miles / hour. |
I haven't replied much, but I've been reading all that you post. You are moving so fast, that I can't post that fast. I'm from southern europe (km/h, no cold climate pack). I made a big trip on Monday and logged MCU temperature (unfortunately, not the other VMCU would-be temperatures). I also logged the other temperatures and the Real Speed yesterday according to formula ((o<8)+n)/10. I don't think it's mph. If it's a speed, I would just plot that with gnuplot and it would be visible. But I don't have the time right now, so I leave the discovery to you.... Speed is really useful for performance measurements (drag coefficient, etc). And the (cut) full log: |
Mojo in Sweden just confirmed that speed is in mph - miles per hour. - http://www.ioniqforum.com/forum/234-hyundai-ioniq-electric-ev/9962-setting-up-torque-show-bms-data-ioniq-ev-2.html. Migle - I updated the formula so that it is divided by 100 not 10. |
I could read the log again. Yes, it looks like mph. I had missed the fact that I was recording GPS speed in meters/sec, not km/h. |
Migle - I just looked at your log data. I plotted your data here - but removed a few 654 km/h values which are actually 1 km/h in reverse. |
The updated formula is : Can you confirm it works. 003_VMCU Real Vehicle Speed,Real Speed,2101,((Signed(O)*256)+N)/100,0,180,mph,7E2 As long as your unit settings in Torque are set to show metric units the this will be converted to km/h automatically. |
Hi Jeju, |
Check your OBD2 dongle. Is it good? Is your reading of SoC Display good? How does it compare to SoC BMS? |
All values for 000_BMS data and BMS cell data are OK. I drive half year with this dongle and Torque without problems. Only 003_VCMU not works. I will make printscreen and paste here. |
IoniqBEV thanks for posting. Can you post details of your adapter and the response it gets from ELM327 Identifier - https://play.google.com/store/apps/details?id=com.applagapp.elm327identifier There have been issues before that some adapters are not capable of reading all PIDs |
Hi Jeju, |
IoniqBEV: that would be a fine calc. |
These two extra values are standard PIDs in TorquePro, only must be entered in origin name (english- as I wrote). If user switch Torque in his language, PIDs may be translated. ;-) |
I have never used these built in codes. And there is so little documentation. |
I wonder if the GPS coordinates that the car knows from its GPS would be available somewhere. |
So, about temperatures, MCU and motor temperature, those don't appear to be right. Motor temperature is weird and MCU temperature doesn't look like a temperature. On a long trip, MCU temperatures are between 7 and 16. The offset could be wrong, but it is sometimes 10 when it should be hot, it also drops suddently to 7.... Here's some data. It was from this formula, I think
|
Hi Jeju, sorry for delay. Average speed is whilst moving only, constant 1.6 is convert mph to km/h 004_Sum_Speed_Tmp,SumSpdTmp,,val{004_Sum_Speed}+ABS(val{003_VMCU Real Vehicle Speed}),0,3600000,mph,7E4 004_Count_Speed_TMP,CountTmp,,val{004_Count_Speed}+LOOKUP(ABS(val{003_VMCU Real Vehicle Speed})::0=0:0.1~180=1),0,150000,#,7E4 Distance calculated from Real speed then will be: 004_CALC_Trip_Distance,DST,,(val{004_CALC_Average_Speed}*val{Trip time(whilst moving)})/3600,0.0,1000,km,7E4 |
There's also Torque's own trip distance. Is real speed more accurate than GPS? It should be more precise, but it looks a bit too low. |
IoniqBEV - thanks for these calcs. I will test them for a week or so before adding them. migle - there are many advantages to using the real vehicle speed PID rather than GPS. eg. A couple of things I would rewrite. |
There is still one problem: value of Trip time(whilst moving)- it is built in PID, time starts running if Torque detect motion through GPS signal... without GPS will be calculated distance zero. I will try to make timer independent of GPS. |
migle: .." There's also Torque's own trip distance.".. |
Of course. I keep seeing only the perspective of accuracy... Some people may find that one useful.
Thanks for the tip. Nice video for a bit of youtube tourism. He didn't have any cells for communications. We are so used to the accuracy and speed of A-GPS that we forget that for true GPS signal we must keep the phone near the windshield, with lots of clearance (like any good old GPS device).
I don't know, maybe you need to create a profile first? See attached. |
This PID- Trip Distance- I see, but always stay zero. Is Your value changing? |
The one that says "stored in the profile" works. The other one... Torque is a very buggy program... |
The VMCU codes are bring created by ITStromer on the German Forum.
I am reading the German forum - via Google translate.
https://www.goingelectric.de/forum/hyundai-ioniq-allgemeines/obd-diagnose-mit-torque-t21111-100.html
and see this -
"That this is obviously not the temperature values I noticed yesterday and today. The values sometimes also jump funny. Currently I log the values of the PIDs longer, maybe there are any patterns. Have therefore taken out of the last post, the PIDs, so that no one is unsettled."
Can anyone confirm that the code for motor temp is valid . Otherwise I think I will have to remove it entirely
The text was updated successfully, but these errors were encountered: