TSLA
(→Tesla EDR) |
(→Tesla EDR) |
||
第89行: | 第89行: | ||
Hacking: https://www.teslaownersonline.com/threads/tesla-event-data-recorder-access-by-can.6175/page-2 | Hacking: https://www.teslaownersonline.com/threads/tesla-event-data-recorder-access-by-can.6175/page-2 | ||
+ | |||
标准:[http://c.gb688.cn/bzgk/gb/showGb?type=online&hcno=CC68F6BFD3E104560914271598AFE8C8 强制国标 GB 39732-2020 汽车事件数据记录系统], 美标 [https://www.ecfr.gov/current/title-49/subtitle-B/chapter-V/part-563 CFR-49-563] | 标准:[http://c.gb688.cn/bzgk/gb/showGb?type=online&hcno=CC68F6BFD3E104560914271598AFE8C8 强制国标 GB 39732-2020 汽车事件数据记录系统], 美标 [https://www.ecfr.gov/current/title-49/subtitle-B/chapter-V/part-563 CFR-49-563] |
2023年5月24日 (三) 14:33的版本
目录 |
1 Overview
- 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 的诊断口:
2 Model 3 CAN MSG
- Diagnostic Port & Data access
- https://github.com/joshwardell/model3dbc
- https://github.com/commaai/opendbc
$ 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):
- CAN DBC File - QuickStart
- Online DBC Editor
- https://github.com/joshwardell/model3dbc/blob/master/README.md
- https://github.com/commaai/opendbc
Model 3 & Y 诊断口:
3 Tesla EDR
EDR: Event Data Recorder,是指汽车事件数据记录系统,能用于记录车辆碰撞前、碰撞时、碰撞后三个阶段中汽车的运行关键数据,包括速度、ABS状态、方向盘的转向角度、气囊状态、车辆制动状态等数据,能有效还原事故发生前后的真实状态,可视为 Tesla 的 “黑匣子”。
Tesla Model S, Model X 和 Model 3 配备了事件数据记录器 (EDR)。当系统检测到碰撞或类似碰撞的情況(例如撞到道路障碍物)时,EDR会记录与车辆动力学和安全系统有关的数据。该数据存储在车辆的约束控制模块 (RCM) 中。
记录的数据可以帮助特斯拉和其他有关方面更好地了解导致坠毁的情况和受伤的可能性。仅当车辆检测到非平凡的物理事件时,才会记录事件数据。在正常行驶条件下,EDR不会记录数据。
官方读取工具软件: Tesla EDR https://edr.tesla.com
官方推荐 CAN 硬件:PCAN USB (不带隔离 IPEH-002021 € 188, 带隔离 IPEH-002022 € 228)
官方连接线:Tesla Model 3 Direct-To Module EDR Retrieval Cable (Tesla part number 1492139) 约 $200
官方读取指南: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
标准:强制国标 GB 39732-2020 汽车事件数据记录系统, 美标 CFR-49-563
4 Model 3 Display & MCU
5 CAN Chip
6 Reference
- Reverse Engineering Tesla Hardware
- Reverse Engineering the Tesla Firmware Update Process
- https://github.com/lewurm/blog/issues
- https://www.teslaownersonline.com/threads/diagnostic-port-and-data-access.7502/
- CANServer (ODBLink MX+)
- https://github.com/amund7/CANBUS-Analyzer
- Extracting internal vehicle data
- TeslaOBD
- Scan MY Tesla, TesLAX ...
- https://carprotool.com/forum/pinouts