TSLA

来自Jack's Lab
(版本间的差异)
跳转到: 导航, 搜索
(Tesla EDR)
(Reference)
第100行: 第100行:
  
 
* [https://teslamotorsclub.com/tmc/threads/model-3-mcu-on-the-bench.268621/ Model 3 MCU on the bench]
 
* [https://teslamotorsclub.com/tmc/threads/model-3-mcu-on-the-bench.268621/ Model 3 MCU on the bench]
 +
 +
<br>
 +
 +
== CAN Chip ==
 +
 +
* [https://www.nxp.com/docs/en/data-sheet/TJA1042.pdf TJA1042]
 +
* [https://www.ti.com/product/SN65HVD231 SN65HVD231]
  
 
<br>
 
<br>

2023年5月24日 (三) 09:40的版本

目录

1 Overview

Tesla-hw-overview.png

  • CID (Central Information Display) – the large console at the centre of the dash
  • IC (Instrument Cluster)
  • Conventional CAN connected ECUs


CAN Buses:

  • 1 – dedicated connection to diagnostic OBD-II port
  • 2 – body – door, lights, mirrors
  • 3 – powertrain – drive inverters, battery management system, charger, thermal controller(动力总成 – 驱动逆变器、电池管理系统、充电器、热控制器)
  • 4 – body – climate control, seats
  • There is no ‘5’ – although the hardware is present on the CID it is not used.
  • 6 – chassis – suspension, instrument cluster, stability controller, power steering (底盘 – 悬架、仪表盘、稳定控制器、动力转向)


例如 Model S 的诊断口:

Connector TeslaModelS X437A.jpg


2 Model 3 CAN MSG

CAN Bus Quick Tutorial

$ git clone https://github.com/linux-can/can-utils.git
$ cd can-utils/   && make && make install

$ ip link set can0 type can bitrate 500000 listen-only on
$ ifconfig can0 up

# output all of the CAN messages (including errors) to your terminal:
$ candump -cae can0,0:0,#FFFFFFFF
(1423606588.555165) can0 00E#1E563FFF08FFA066
(1423606588.555434) can0 102#CA98F8FFEEFF
(1423606588.555881) can0 202#845E6B9D00007102
(1423606588.556169) can0 6F2#1634B40D1D43C3D0
(1423606588.556193) can0 212#5800227400
(1423606588.556455) can0 23A#000B001200050000
(1423606588.556678) can0 21A#FE0000FE000000B7
(1423606588.556902) can0 222#0000DA98F01070
(1423606588.557139) can0 29A#0000FE0000000000
(1423606588.557481) can0 27A#292903DC092600

# log out all the data to a file in your current working directory (name like: candump-2023-02-10_221628.log
$ candump -l any,0:0,#FFFFFFFF


DBC (CAN Databases):


Model 3 & Y 诊断口:

Diagnostic connector-3Y.jpg


3 Tesla EDR

EDR: Event Data Recorder,是指汽车事件数据记录系统,能用于记录车辆碰撞前、碰撞时、碰撞后三个阶段中汽车的运行关键数据,包括速度、ABS状态、方向盘的转向角度、气囊状态、车辆制动状态等数据,能有效还原事故发生前后的真实状态,可视为 Tesla 的 “黑匣子”。

Tesla Model S, Model X 和 Model 3 配备了事件数据记录器 (EDR)。当系统检测到碰撞或类似碰撞的情況(例如撞到道路障碍物)时,EDR会记录与车辆动力学和安全系统有关的数据。该数据存储在车辆的约束控制模块 (RCM) 中。

记录的数据可以帮助特斯拉和其他有关方面更好地了解导致坠毁的情况和受伤的可能性。仅当车辆检测到非平凡的物理事件时,才会记录事件数据。在正常行驶条件下,EDR不会记录数据。


读取工具软件: Tesla EDR

CAN 硬件:PCAN dongle (https://phytools.com/collections/usb-interfaces/products/pcan-usb-adapter)

连接线:Tesla Model 3 Direct-To Module EDR Retrieval Cable (Tesla part number 1492139) 约 $200

PCAN + 连接线总计约 $700 左右

读取指南:https://edr.tesla.com/guides/CD-20-20-003_Model_3_EDR_Data_Retrieval_Guide.pdf

Hacking: https://www.teslaownersonline.com/threads/tesla-event-data-recorder-access-by-can.6175/page-2



4 Model 3 Display & MCU


5 CAN Chip


6 Reference




个人工具
名字空间

变换
操作
导航
工具箱