Tesla Model 3 Drive Unit PCB: Difference between revisions
No edit summary |
No edit summary |
||
| (10 intermediate revisions by 3 users not shown) | |||
| Line 1: | Line 1: | ||
Open Source logic board for the Tesla Model 3 rear drive unit. Based on the inverter designed by Johannes Heubner using FOC control. | Open Source logic board for the Tesla Model 3 rear drive unit. Based on the inverter designed by Johannes Heubner using FOC control. | ||
[[File:M3driver.png|thumb|458x458px|m3 inverter replacement pcb]] | [[File:M3driver.png|thumb|458x458px|m3 inverter replacement pcb]] | ||
[[File:M3inverter-parts.jpg|thumb|454x454px|parts/ connections to salvage/ unsolder]] | |||
| Line 7: | Line 8: | ||
'''hardware:''' | |||
https://github.com/damienmaguire/Tesla-Model-3-Drive-Unit | https://github.com/damienmaguire/Tesla-Model-3-Drive-Unit | ||
https://github.com/davefiddes/stm32-sine | '''software:''' https://github.com/davefiddes/stm32-sine | ||
'''boards for purchase:''' https://www.evbmw.com/index.php/evbmw-webshop/tesla-boards/tesla-model-3-du-beta | |||
=== parts needed to be fitted: === | |||
-'''current sensors''': MLX91209LVA-CAA-002-SP (can be sourced from original board) | |||
-'''gate drivers:''' STGAP1BSTR (can be sourced from original board) | |||
-'''temp sensors:''' EPCOS : B57164K0473J000 | |||
'''-power transformer:''' VGT22EPC-200S6A12 (can be sourced from original board) | |||
-'''30 pin connector''' + pins are a private stocked part, ''so must be salvaged from the original board'' | |||
-'''30 pin ''mating'' connector:''' Sumitomo Original 6189-6987 61896987 https://www.aliexpress.com/item/1005005920568514.html | |||
<nowiki>*</nowiki>the oem wiring harnesses used for the M3 motor are different through out the years in terms of color and some may be missing temp leads and other input of the same effect. | |||
-11x torx T20 screws holding the board onto the case | |||
-3x T10 securing the current sensor trim to the pcb | |||
'''''OR''''' | |||
-current | - 2x T10 screws holding the pryofuse and current sensor trim | ||
- | [[File:M3-30-pinout.png|thumb|456x456px|lv 30 pin connector pinout *note not all stock motor harnesses are the same, or use the same colors]] | ||
== Installation Process == | |||
See the [[Tesla Model 3 Drive Unit PCB Install]] page for a detailed guide on how to install and commission the PCB. | |||
== Firmware Parameters == | |||
[[ | The [[https://github.com/davefiddes/stm32-sine stm32-sine M3_DU]] firmware has a number of additional parameters and spot values over the standard firmware. The [[Tesla Model 3 Drive Unit PCB Parameters]] page describes these. | ||
Latest revision as of 21:02, 19 January 2026
Open Source logic board for the Tesla Model 3 rear drive unit. Based on the inverter designed by Johannes Heubner using FOC control.


the model 3 drive unit inverters feature a PCB with both HV and LV circuits, the gate drivers, and logic. thus a simple replacement brain board is not possible. canbus control is complicated and requires use of tesla's diagnostics software for inverter pairing. this is a legal greyzone and not a fully opensource option. Instead a full fledged replacement board with gate drivers was designed to allow full lobotomization of elon, thus gaining full opensource control of the model 3/y drive units!
hardware: https://github.com/damienmaguire/Tesla-Model-3-Drive-Unit
software: https://github.com/davefiddes/stm32-sine
boards for purchase: https://www.evbmw.com/index.php/evbmw-webshop/tesla-boards/tesla-model-3-du-beta
parts needed to be fitted:
-current sensors: MLX91209LVA-CAA-002-SP (can be sourced from original board)
-gate drivers: STGAP1BSTR (can be sourced from original board)
-temp sensors: EPCOS : B57164K0473J000
-power transformer: VGT22EPC-200S6A12 (can be sourced from original board)
-30 pin connector + pins are a private stocked part, so must be salvaged from the original board
-30 pin mating connector: Sumitomo Original 6189-6987 61896987 https://www.aliexpress.com/item/1005005920568514.html
*the oem wiring harnesses used for the M3 motor are different through out the years in terms of color and some may be missing temp leads and other input of the same effect.
-11x torx T20 screws holding the board onto the case
-3x T10 securing the current sensor trim to the pcb
OR
- 2x T10 screws holding the pryofuse and current sensor trim

Installation Process
See the Tesla Model 3 Drive Unit PCB Install page for a detailed guide on how to install and commission the PCB.
Firmware Parameters
The [stm32-sine M3_DU] firmware has a number of additional parameters and spot values over the standard firmware. The Tesla Model 3 Drive Unit PCB Parameters page describes these.