Tesla-Model-3-Battery-BMS

所属分类:能源行业(电力石油煤炭)
开发工具:C++
文件大小:40242KB
下载次数:79
上传日期:2020-10-16 11:10:30
上 传 者sh-1993
说明:  特斯拉Model 3电池bms控制的逆向工程
(Reverse engineering of the Tesla Model 3 battery bms control)

文件列表:
BatMan_SPI (0, 2023-06-17)
BatMan_SPI\OneModule (0, 2023-06-17)
BatMan_SPI\OneModule\mod1.logicdata (11413560, 2023-06-17)
BatMan_SPI\OneModule\mod2.logicdata (11295589, 2023-06-17)
BatMan_SPI\OneModule\mod2b.logicdata (11299823, 2023-06-17)
BatMan_SPI\OneModule\test.a (1, 2023-06-17)
BatMan_SPI\OneModule\unknownpinonmod1 (163696, 2023-06-17)
BatMan_SPI\OneModule\unknownpinonmod2 (66073, 2023-06-17)
BatMan_SPI\OneModule\unknownpinonmod2b (55842, 2023-06-17)
BatMan_SPI\OneModule\unknownpinonmod3 (85662, 2023-06-17)
BatMan_SPI\OneModule\unknownpinonmod3b (81848, 2023-06-17)
BatMan_SPI\batman_spi_hvcon_onown.txt (618081, 2023-06-17)
BatMan_SPI\batman_spi_hvcon_onown_poweronthenoff.txt (420067, 2023-06-17)
BatMan_SPI\bman.csv (463269, 2023-06-17)
BatMan_SPI\test.a (1, 2023-06-17)
Batman_pinout.ods (15826, 2023-06-17)
FPGA (0, 2023-06-17)
FPGA\M3_spi_decoder_v2 - PCB.pdf (155970, 2023-06-17)
FPGA\M3_spi_decoder_v2 - Schematic.pdf (273079, 2023-06-17)
FPGA\M3_spi_decoder_v2_BOM_JLC.xls (8704, 2023-06-17)
FPGA\M3_spi_decoder_v2_CPL_JLC.csv (2545, 2023-06-17)
FPGA\Plots_M3_BMS_FGPA.zip (54759, 2023-06-17)
FPGA\Sig_gen_rev2.zip (1780434, 2023-06-17)
FPGA\fpga_pinout.pdf (15058, 2023-06-17)
FPGA\test.a (1, 2023-06-17)
Hardware (0, 2023-06-17)
Hardware\Batman_Breakout (0, 2023-06-17)
Hardware\Batman_Breakout\Plots_batman_test_V1a.zip (27237, 2023-06-17)
Hardware\Batman_Breakout\batman_test_v1.pcb (107520, 2023-06-17)
Hardware\Batman_Breakout\batman_test_v1.sch (127488, 2023-06-17)
Hardware\Batman_Breakout\batman_test_v1a_BOM_JLC.xls (7168, 2023-06-17)
Hardware\Batman_Breakout\batman_test_v1a_JLC_CPL.csv (730, 2023-06-17)
Hardware\Batman_Breakout\test.a (1, 2023-06-17)
Hardware\STM32_M3_Bms (0, 2023-06-17)
Hardware\STM32_M3_Bms\M3_BMSController_V1 - PCB.pdf (143579, 2023-06-17)
Hardware\STM32_M3_Bms\M3_BMSController_V1 - Schematic.pdf (369982, 2023-06-17)
Hardware\STM32_M3_Bms\test.a (1, 2023-06-17)
ISO_SPI_Decoder (0, 2023-06-17)
ISO_SPI_Decoder\M3_spi_decoder_v1 - PCB.pdf (106471, 2023-06-17)
... ...

# Tesla-Model-3-Battery-BMS Reverse engineering of the Tesla Model 3 battery bms control 03/04/20 : Uploaded a design to receive ISO SPI data and convert to 3.3v level Pos and Neg pulses for feeding to an FPGA or MCU. Based on the DC1907A design : https://www.analog.com/en/design-center/evaluation-hardware-and-software/evaluation-boards-kits/dc1907a.html#eb-overview PCB files in DesignSpark PCB 9 format. Also included CPL and BOM files for use at https://jlcpcb.com/ 06/04/20 : Added some logic analyser captures for hvcon batman while connected to one of 3 battery modules. The unknown pin on the header comes to life when connected to a slave module. Log files taken with a Digilent Analog Discovery 2 and Saleae Logic. Also uploaded scope captures taken on a HV controller on its own. 13/04/20 : Experimented with an LTC6820 IC. Uploaded new scope captures. Short version : The Tesla version of ISO-SPI uses chip select and data pulses with widths far outside of the spec for the LTC6820 so off the shelf LTC hardware will not work with Tesla Model 3 battery modules. 14/04/20 : Analog front end circuit works. We can now translate Musk-spi into 3.3v pulses ready to feed into an fpga or micro for decoding into data. 06/08/20 : Now sending and receiving to one slave using the Tesla "Batman" chip. Details on Openinverter forum :
https://openinverter.org/forum/viewtopic.php?f=10&t=577&p=14979#p14979 02/09/20 : Communicating with full pack using "batman". Also uploaded initial batman chip pinout. Uploaded captures. 11/10/20 : Batman board now fully opensourced. Demo : https://www.youtube.com/watch?v=iv_-qdLMsMA 16/10/20 : In the hopes of encouraging colaboration and furthering the effort, I have released the full sources for an FPGA based Model 3 Iso-Spi decoder. At this time it works in receive only and does have some glitches. FPGA used is a Xilinx Spartan 6 at 50MHz. Design done using Xilinx ISE. Also includes BOM and placement file for JLCPCB. To Do : Clean up receive and implement transmit and debug. 17/06/23 : Almost 3 years later and still no sign of a solution for talking to the M3 BMS? Oh well, just as well I've done a new STM32 based design. Prototypes on the way so let's see if (how) I screwed up ...

近期下载者

相关文件


收藏者