Tesla Model 3 Battery: Difference between revisions

From openinverter.org wiki
Jump to navigation Jump to search
No edit summary
Line 75: Line 75:


ID 0x401 cell voltages
ID 0x401 cell voltages
 
[[File:Tesla shunt.jpg|thumb|tesla shunt polarity]]
ID 0x332  min/max  
ID 0x332  min/max


ID 0x3D2  total charge/discharge kwh
ID 0x3D2  total charge/discharge kwh

Revision as of 17:48, 8 February 2023

Tesla Model 3 Battery Hacking

hv controller connector
pinout from HV controller

model 3/y battery uses custom versions of the LTC6812 chips for voltage sensing dubed "batman"

bms boards talk via a modified version of isospi


Damien Maguire has developed 2 different unfished approaches to communicating directly with the cell level boards:

https://www.evbmw.com/index.php/evbmw-webshop/tesla-boards/tesla-model-3-bms

https://www.evbmw.com/index.php/evbmw-webshop/tesla-boards/tesla-model-3-bms-batman

broken isospi connector

HV controller

Model 3 High Voltage Controller

the HV controller located in the penthouse controls the PCS, contactors, pyro fuse, talks to the bms boards, etc

reading cell voltages and controlling contactors can be done by talking to the HV controller over CANbus


you can read cell temps and voltages with scanmytesla and hooking up a obd connector to the hv controller canbus


the HV matting connector is:

Sumitomo TS Sealed Series

6189-6934

6189-7077


aliexpress: https://nl.aliexpress.com/item/1005003491557509.html?spm=a2g0o.productlist.0.0.4bbf7ac6nm1SAJ&algo_pvid=ed562c44-660e-4e11-96f9-d5e5b150d5d7&algo_exp_id=ed562c44-660e-4e11-96f9-d5e5b150d5d7-0&pdp_ext_f=%7B%22sku_id%22%3A%2212000026035026850%22%7D

see thread post https://openinverter.org/forum/viewtopic.php?p=31886#p31886


useful links:

https://github.com/commaai/opendbc

https://teslamotorsclub.com/tmc/threads/reading-battery-voltages-and-temperatures-via-can-on-model-s.60509/

reading canbus data

Arduino sketch for due based boards:

https://openinverter.org/forum/download/file.php?id=15866

or https://openinverter.org/forum/download/file.php?id=21585 (dose not require msgid6f2)

libraries needed:

make a s folder named "msgid6f2" in ardunio/libraries and put these two files there:

https://openinverter.org/forum/download/file.php?id=20710

https://openinverter.org/forum/download/file.php?id=20709


IDs

some of these ids are found on ether charge port (cp) can or vehicle can


ID 0x401 cell voltages

tesla shunt polarity

ID 0x332 min/max

ID 0x3D2 total charge/discharge kwh

ID 0x132 battery amps/volts

ID 0x352 soc

ID 0x20A contactor state