Tesla Model 3 Rear Drive Unit Hacking

Topics concerning the Tesla front and rear drive unit drop-in board
Post Reply
User avatar
Jack Bauer
Posts: 3563
Joined: Wed Dec 12, 2018 5:24 pm
Location: Ireland
Has thanked: 1 time
Been thanked: 87 times
Contact:

Re: Tesla Model 3 Rear Drive Unit Hacking

Post by Jack Bauer »

Weigh in for the rear drive unit.
Attachments
2020-03-05 14.27.03.jpg
I'm going to need a hacksaw
User avatar
Jack Bauer
Posts: 3563
Joined: Wed Dec 12, 2018 5:24 pm
Location: Ireland
Has thanked: 1 time
Been thanked: 87 times
Contact:

Re: Tesla Model 3 Rear Drive Unit Hacking

Post by Jack Bauer »

I'm going to need a hacksaw
MattsAwesomeStuff
Posts: 897
Joined: Fri Apr 26, 2019 5:40 pm
Has thanked: 290 times
Been thanked: 177 times

Re: Tesla Model 3 Rear Drive Unit Hacking

Post by MattsAwesomeStuff »

Awww yisss.

Every time a new project's motor spins, an angel gets his wings.

That first wiggle of movement where you pump your fist in the air, nod to your buddies, and say "Fuck yeah!"

User avatar
Jack Bauer
Posts: 3563
Joined: Wed Dec 12, 2018 5:24 pm
Location: Ireland
Has thanked: 1 time
Been thanked: 87 times
Contact:

Re: Tesla Model 3 Rear Drive Unit Hacking

Post by Jack Bauer »

So, first power up of the M3 rdu inverter on the bench. Elon flashed some nice coloured leds at me and pumped out massive amounts of CAN on TWO busses. I took a sample for posterity. Up on the github repo for the can hackers :)
https://github.com/damienmaguire/Tesla- ... Drive-Unit
Attachments
2020-03-13 15.04.53.jpg
2020-03-13 15.02.01.jpg
I'm going to need a hacksaw
User avatar
Jack Bauer
Posts: 3563
Joined: Wed Dec 12, 2018 5:24 pm
Location: Ireland
Has thanked: 1 time
Been thanked: 87 times
Contact:

Re: Tesla Model 3 Rear Drive Unit Hacking

Post by Jack Bauer »

Now we can start the real hacking. Phase one : eliminate the musk, eliminate the problem.

Pin 124 of the TMS main processor is the reset pin called XRS. Pulling that to ground puts Elon asleep and leaves everything else up and running. Easy pickings for the upcoming HubenAtor XM-3000 modchip:)
Attachments
2020-03-13 15.36.19.jpg
2020-03-13 15.34.34.jpg
I'm going to need a hacksaw
User avatar
Kevin Sharpe
Posts: 1345
Joined: Fri Dec 14, 2018 9:24 pm
Location: Ireland and US
Been thanked: 4 times

Re: Tesla Model 3 Rear Drive Unit Hacking

Post by Kevin Sharpe »

"time to get some sleep Elon... night, night"

https://twitter.com/EvBmw/status/123850 ... 38432?s=20
This is a personal post and I disclaim all responsibility for any loss or damage which any person may suffer from reliance on the information and material in this post or any opinion, conclusion or recommendation in the information and material.
User avatar
Jack Bauer
Posts: 3563
Joined: Wed Dec 12, 2018 5:24 pm
Location: Ireland
Has thanked: 1 time
Been thanked: 87 times
Contact:

Re: Tesla Model 3 Rear Drive Unit Hacking

Post by Jack Bauer »

I'm going to need a hacksaw
JeanVapeur
Posts: 14
Joined: Sun Mar 01, 2020 12:01 pm
Location: Germany

Re: Tesla Model 3 Rear Drive Unit Hacking

Post by JeanVapeur »

Hi Damian,
maybe this pictures helps you a little bit in your exploration...
Attachments
M-3-2.jpg
M-3-1.jpg
User avatar
Jack Bauer
Posts: 3563
Joined: Wed Dec 12, 2018 5:24 pm
Location: Ireland
Has thanked: 1 time
Been thanked: 87 times
Contact:

Re: Tesla Model 3 Rear Drive Unit Hacking

Post by Jack Bauer »

Great to see the underside. Many thanks.
I'm going to need a hacksaw
User avatar
Kevin Sharpe
Posts: 1345
Joined: Fri Dec 14, 2018 9:24 pm
Location: Ireland and US
Been thanked: 4 times

Re: Tesla Model 3 Rear Drive Unit Hacking

Post by Kevin Sharpe »

JeanVapeur wrote: Sat Mar 14, 2020 6:50 pm maybe this pictures helps you a little bit in your exploration...
Do you have any photo's of the power stage?
This is a personal post and I disclaim all responsibility for any loss or damage which any person may suffer from reliance on the information and material in this post or any opinion, conclusion or recommendation in the information and material.
User avatar
Kevin Sharpe
Posts: 1345
Joined: Fri Dec 14, 2018 9:24 pm
Location: Ireland and US
Been thanked: 4 times

Re: Tesla Model 3 Rear Drive Unit Hacking

Post by Kevin Sharpe »

Kevin Sharpe wrote: Sun Mar 15, 2020 10:11 am
JeanVapeur wrote: Sat Mar 14, 2020 6:50 pm maybe this pictures helps you a little bit in your exploration...
Do you have any photo's of the power stage?
Some useful info in this article;

ABOUT THE SIC MOSFETS MODULES IN TESLA MODEL 3
Model3-inverter-e1530096423831-450x328.jpg
This is a personal post and I disclaim all responsibility for any loss or damage which any person may suffer from reliance on the information and material in this post or any opinion, conclusion or recommendation in the information and material.
JeanVapeur
Posts: 14
Joined: Sun Mar 01, 2020 12:01 pm
Location: Germany

Re: Tesla Model 3 Rear Drive Unit Hacking

Post by JeanVapeur »

Thats all I found, possible this can help... ;)

Image

Image
Attachments
Model3 Powertrain.jpg
User avatar
Jack Bauer
Posts: 3563
Joined: Wed Dec 12, 2018 5:24 pm
Location: Ireland
Has thanked: 1 time
Been thanked: 87 times
Contact:

Re: Tesla Model 3 Rear Drive Unit Hacking

Post by Jack Bauer »

Anyone find a high res shot of the rear of the board? I'm getting a feeling old Elon is using bootstrap gate drivers:)
I'm going to need a hacksaw
User avatar
Jack Bauer
Posts: 3563
Joined: Wed Dec 12, 2018 5:24 pm
Location: Ireland
Has thanked: 1 time
Been thanked: 87 times
Contact:

Re: Tesla Model 3 Rear Drive Unit Hacking

Post by Jack Bauer »

Yep. D421,D422and D423. High side bootstrap diodes:)
I'm going to need a hacksaw
User avatar
Jack Bauer
Posts: 3563
Joined: Wed Dec 12, 2018 5:24 pm
Location: Ireland
Has thanked: 1 time
Been thanked: 87 times
Contact:

Re: Tesla Model 3 Rear Drive Unit Hacking

Post by Jack Bauer »

So a little more investigation reveals a Viper16A based power supply section used to generate the low side iso voltages. Not 100% sure as yet but looks to be derived from the hv. Can't say I like this. They're building cars not cheap mobile phone chargers. A multi output dcdc wouldn't have put them out of more than a few $...
I'm going to need a hacksaw
User avatar
Jack Bauer
Posts: 3563
Joined: Wed Dec 12, 2018 5:24 pm
Location: Ireland
Has thanked: 1 time
Been thanked: 87 times
Contact:

Re: Tesla Model 3 Rear Drive Unit Hacking

Post by Jack Bauer »

elon busted my chops on this one but we have control of the mosfets:)
Attachments
2020-03-22 12.52.29.jpg
I'm going to need a hacksaw
slow67
Posts: 151
Joined: Thu Jan 30, 2020 6:52 pm
Location: Texas
Been thanked: 1 time

Re: Tesla Model 3 Rear Drive Unit Hacking

Post by slow67 »

Jack Bauer wrote: Sun Mar 22, 2020 1:23 pm elon busted my chops on this one but we have control of the mosfets:)
Great job Damien!
User avatar
Jack Bauer
Posts: 3563
Joined: Wed Dec 12, 2018 5:24 pm
Location: Ireland
Has thanked: 1 time
Been thanked: 87 times
Contact:

Re: Tesla Model 3 Rear Drive Unit Hacking

Post by Jack Bauer »

I'm going to need a hacksaw
User avatar
Jack Bauer
Posts: 3563
Joined: Wed Dec 12, 2018 5:24 pm
Location: Ireland
Has thanked: 1 time
Been thanked: 87 times
Contact:

Re: Tesla Model 3 Rear Drive Unit Hacking

Post by Jack Bauer »

First spin of a motor using the rear drive unit inverter. Switching at 17.6khz.
Attachments
2020-03-30 11.01.15.jpg
I'm going to need a hacksaw
User avatar
cloudy
Posts: 202
Joined: Wed Oct 02, 2019 12:15 am
Location: UK
Been thanked: 1 time

Re: Tesla Model 3 Rear Drive Unit Hacking

Post by cloudy »

Excellent!!!
User avatar
Jack Bauer
Posts: 3563
Joined: Wed Dec 12, 2018 5:24 pm
Location: Ireland
Has thanked: 1 time
Been thanked: 87 times
Contact:

Re: Tesla Model 3 Rear Drive Unit Hacking

Post by Jack Bauer »

I'm going to need a hacksaw
User avatar
Jack Bauer
Posts: 3563
Joined: Wed Dec 12, 2018 5:24 pm
Location: Ireland
Has thanked: 1 time
Been thanked: 87 times
Contact:

Re: Tesla Model 3 Rear Drive Unit Hacking

Post by Jack Bauer »

Current sensors seem to be easy. J2 header just below the phase terminals gives access.

Analog output of 2.5v at 0A. Measured the following :

Sensor B : 2.500V at 0A going to 2.487V at 1A and 2.4845V at 10A

Sensor A : 2.4980V at 0A going to 2.4964V at 1A and 2.4823V at 10A
Attachments
2020-03-31 14.22.57.jpg
I'm going to need a hacksaw
User avatar
Jack Bauer
Posts: 3563
Joined: Wed Dec 12, 2018 5:24 pm
Location: Ireland
Has thanked: 1 time
Been thanked: 87 times
Contact:

Re: Tesla Model 3 Rear Drive Unit Hacking

Post by Jack Bauer »

And with Elon awake we get a 10khz sine wave as our resolver exciter that goes away when he sleeps .....hmmmm
I'm going to need a hacksaw
User avatar
Jack Bauer
Posts: 3563
Joined: Wed Dec 12, 2018 5:24 pm
Location: Ireland
Has thanked: 1 time
Been thanked: 87 times
Contact:

Re: Tesla Model 3 Rear Drive Unit Hacking

Post by Jack Bauer »

Here we go ...
Attachments
2020-04-04 12.06.06.jpg
I'm going to need a hacksaw
User avatar
Jack Bauer
Posts: 3563
Joined: Wed Dec 12, 2018 5:24 pm
Location: Ireland
Has thanked: 1 time
Been thanked: 87 times
Contact:

Re: Tesla Model 3 Rear Drive Unit Hacking

Post by Jack Bauer »

Decided to take the plunge and give Kicad a go for the model 3 modchip. Intermediate schematic attached. Still need to add a few things like changing Uart2 to LIN for oil pump control etc.
Attachments
M3_RDU_V1.pdf
(151.39 KiB) Downloaded 227 times
I'm going to need a hacksaw
Post Reply