Tesla Model 3 Rear Drive Unit Hacking
Re: Tesla Model 3 Rear Drive Unit Hacking
After playing with the motor for a while, I realized why the inverter doesn't switch into STANDBY mode.
Active errors: DIR_a144_configMismatch, DIR_a062_systemLimpMode, DIR_a092_bmsMIA.
Apparently, I will have to go to the junk yard where I bought my motor and record the logs from the MCU and BMS.
Active errors: DIR_a144_configMismatch, DIR_a062_systemLimpMode, DIR_a092_bmsMIA.
Apparently, I will have to go to the junk yard where I bought my motor and record the logs from the MCU and BMS.
Re: Tesla Model 3 Rear Drive Unit Hacking
I noticed that DIR_a144_configMismatch is triggered by two messages 0×392 (info about battery) and 0×7FF (car config)
We can say that this is a fundamental error and because of it the motor will not spin.
We can say that this is a fundamental error and because of it the motor will not spin.
Re: Tesla Model 3 Rear Drive Unit Hacking
I figured out the 0×392 BMS_packConfig message, which triggers the DIR_a144_configMismatch error.
Just corrected the maximum voltage to 387 and the error disappeared.
Just corrected the maximum voltage to 387 and the error disappeared.
Re: Tesla Model 3 Rear Drive Unit Hacking
The first frame from the multiplexed message 0×7FF about the car config is ready. It turned out that all bits can be empty except bit 56
The second frame can be completely empty.
The third needs information about GTW_perfomancePackage, GTW_chassisType and GTW_packEnergy. Everything else can be zero.
The fourth can be completely empty.
The fifth can be completely empty.
The sixth is also empty.
DIR_a144_configMismatch goodbyeRe: Tesla Model 3 Rear Drive Unit Hacking
The main system errors have disappeared, but the inverter does not switch to STANDBY mode yet. Any ideas?
-
- Posts: 277
- Joined: Mon Jan 18, 2021 12:39 pm
- Location: Edinburgh, Scotland, UK
- Has thanked: 61 times
- Been thanked: 88 times
Re: Tesla Model 3 Rear Drive Unit Hacking
You look like you have a lot of happy systems there to my uneducated eyes. Have you got a capture of a working Tesla of a similar vintage to compared against?
Re: Tesla Model 3 Rear Drive Unit Hacking
Please look.davefiddes wrote: ↑Wed Oct 09, 2024 8:59 pm You look like you have a lot of happy systems there to my uneducated eyes. Have you got a capture of a working Tesla of a similar vintage to compared against?
-
- Posts: 277
- Joined: Mon Jan 18, 2021 12:39 pm
- Location: Edinburgh, Scotland, UK
- Has thanked: 61 times
- Been thanked: 88 times
Re: Tesla Model 3 Rear Drive Unit Hacking
I'll have a peek though I'm not sure there's much I can make of it. I guess I was more asking as to whether you had access to enough in the way of captures. Just looked at the price of second hand Model 3s and they're really quite affordable...hoping that someone with one and a sense of adventure would be able to help you out with on-going CAN captures.
Re: Tesla Model 3 Rear Drive Unit Hacking
Can anyone tell what DI_limitVBatHigh, DIR_ssmState, DIR_usmState and DIR_fluxState are?
-
- Posts: 561
- Joined: Thu Jul 04, 2019 6:35 pm
- Location: Somerset, UK
- Has thanked: 75 times
- Been thanked: 212 times
Re: Tesla Model 3 Rear Drive Unit Hacking
Regarding unit oil. If you have the drive unit where oil is in the motor as well you need to use FUCHS BluEV EDF 7005. Apparently it has the correct additives for use inside the motor.
It is black in colour from new with additives in suspension as well as solution. So it needs a good physical mix before refilling.
I got this info from Fellten who spent a good bit of time researching it.
It is black in colour from new with additives in suspension as well as solution. So it needs a good physical mix before refilling.
I got this info from Fellten who spent a good bit of time researching it.
-
- Posts: 277
- Joined: Mon Jan 18, 2021 12:39 pm
- Location: Edinburgh, Scotland, UK
- Has thanked: 61 times
- Been thanked: 88 times
Re: Tesla Model 3 Rear Drive Unit Hacking
Wished I'd known about this before buying 3 bottles of Fuchs Titan ATF 6009 which was what Opie Oils were recommending last year.
- Jack Bauer
- Posts: 3638
- Joined: Wed Dec 12, 2018 5:24 pm
- Location: Ireland
- Has thanked: 9 times
- Been thanked: 272 times
- Contact:
Re: Tesla Model 3 Rear Drive Unit Hacking
Sooo, some updates on the musk. I must admit I had let the replacement pcb project lag. Thankfully, Artur Kustusch came onboard and reverse engineered the ENTIRE gate driver section
This has given me a big push to get back on the project and I've since reversed the gate driver psu and other peripherial circuits to the point now that I'm laying out the pcb with a view to ordering some bare boards before year end for fit testing. So yeah its been slow but its a BIG project 
Attached latest schematic for those interested. Note that like the MG drive unit logic board this design utilised the 100 pin VCT6 variant of the STM32F103.
Also, where is practical, oem component designators and positions are used on the OI board. The OI board will be 4 layer, single sided SMD. And just for fun I get to learn kicad along the way.
Github repo : https://github.com/damienmaguire/Tesla- ... Drive-Unit
Jeez, 5 years has flown:)
And some recent progress videos :
And of course I have my trusty Volvo V50 with a drive unit installed just waiting for some openinverter goodness:)


Attached latest schematic for those interested. Note that like the MG drive unit logic board this design utilised the 100 pin VCT6 variant of the STM32F103.
Also, where is practical, oem component designators and positions are used on the OI board. The OI board will be 4 layer, single sided SMD. And just for fun I get to learn kicad along the way.
Github repo : https://github.com/damienmaguire/Tesla- ... Drive-Unit
Jeez, 5 years has flown:)
And some recent progress videos :
And of course I have my trusty Volvo V50 with a drive unit installed just waiting for some openinverter goodness:)
- Attachments
-
M3DUBoard_V1.pdf
- (2.27 MiB) Downloaded 342 times
I'm going to need a hacksaw
- Jack Bauer
- Posts: 3638
- Joined: Wed Dec 12, 2018 5:24 pm
- Location: Ireland
- Has thanked: 9 times
- Been thanked: 272 times
- Contact:
Re: Tesla Model 3 Rear Drive Unit Hacking
Huh.....something weird must have happened while I was away. Not been told I'm doing it wrong for a whole day .....
I'm going to need a hacksaw
Re: Tesla Model 3 Rear Drive Unit Hacking
They are waiting for your new circuit board.Jack Bauer wrote: ↑Sun Dec 15, 2024 10:26 am Huh.....something weird must have happened while I was away. Not been told I'm doing it wrong for a whole day .....
Re: Tesla Model 3 Rear Drive Unit Hacking
My drive unit probably has last one active error DIR_a155_vcfrontMIA (The DI ECU is not receiving the expected CAN communication from the VCFRONT, and considers it irrational or MIA)
I assume that this is due to the message 0×3A1. Who knows, does it definitely come from VCFront?
I assume that this is due to the message 0×3A1. Who knows, does it definitely come from VCFront?
- Jack Bauer
- Posts: 3638
- Joined: Wed Dec 12, 2018 5:24 pm
- Location: Ireland
- Has thanked: 9 times
- Been thanked: 272 times
- Contact:
Re: Tesla Model 3 Rear Drive Unit Hacking
Sorry am not much help on the can front. Years ago I did look into it but as its not a repeatable solution for folks I didn't spend any further time at it. Hope you have success.
I'm going to need a hacksaw
- Jack Bauer
- Posts: 3638
- Joined: Wed Dec 12, 2018 5:24 pm
- Location: Ireland
- Has thanked: 9 times
- Been thanked: 272 times
- Contact:
Re: Tesla Model 3 Rear Drive Unit Hacking
Early Christmas present should make life a bit easier:)
I'm going to need a hacksaw
- Jack Bauer
- Posts: 3638
- Joined: Wed Dec 12, 2018 5:24 pm
- Location: Ireland
- Has thanked: 9 times
- Been thanked: 272 times
- Contact:
- Jack Bauer
- Posts: 3638
- Joined: Wed Dec 12, 2018 5:24 pm
- Location: Ireland
- Has thanked: 9 times
- Been thanked: 272 times
- Contact:
Re: Tesla Model 3 Rear Drive Unit Hacking
Ok, Need a bit of advice here. Ol Elon is at it again. The best backup low side psu is ... None? So on my board with the Viper16 based HV psu the low side drivers are spoiled rotten. They can get their power from either the 12v transformer system (big thing in top center of board) OR from a HV derived psu like the Viper16. Diodes D491 and D74 in the pic above prevent back feeding. Great. BUT, the versions of the board that use the NCP1060 HV psu dont do any of this and the Low sides are just powered from the 12v system. Question is, what should I do?
- Attachments
-
- Screenshot from 2024-12-31 10-52-54.png (7.77 KiB) Viewed 5287 times
I'm going to need a hacksaw
- johu
- Site Admin
- Posts: 6618
- Joined: Thu Nov 08, 2018 10:52 pm
- Location: Kassel/Germany
- Has thanked: 342 times
- Been thanked: 1484 times
- Contact:
Re: Tesla Model 3 Rear Drive Unit Hacking
Have we ever understood the point of the backup PSU?
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
- Jack Bauer
- Posts: 3638
- Joined: Wed Dec 12, 2018 5:24 pm
- Location: Ireland
- Has thanked: 9 times
- Been thanked: 272 times
- Contact:
Re: Tesla Model 3 Rear Drive Unit Hacking
Sadly no. At least not by me. My only thought is this : The transformer has 4 secondaries. Elon dedicates one each to a high side leaving him only one for all the low sides. So is he using the 12v derived psu to just wake the drivers and keep the low sides off until HV comes up and the use the HV derived psu to provide the actual grunt when switching.
wont stop me ordering my fit and placement boards but its a fairly significant design "error" if i get it wrong later
wont stop me ordering my fit and placement boards but its a fairly significant design "error" if i get it wrong later
I'm going to need a hacksaw
- Jack Bauer
- Posts: 3638
- Joined: Wed Dec 12, 2018 5:24 pm
- Location: Ireland
- Has thanked: 9 times
- Been thanked: 272 times
- Contact:
Re: Tesla Model 3 Rear Drive Unit Hacking
But that doesnt work on the boards using the NCP1060....unless.........the best anti feedback diode is no diode?
Dammit. I need one of those boards with the 1060. Does anyone have an inverter with this psu and willing to make some measurements? I believe its a "980" type.
Dammit. I need one of those boards with the 1060. Does anyone have an inverter with this psu and willing to make some measurements? I believe its a "980" type.
I'm going to need a hacksaw