Tesla Model 3 Rear Drive Unit Hacking

Topics concerning the Tesla front and rear drive unit drop-in board
JaniK
Posts: 391
Joined: Sun Aug 25, 2019 12:39 pm
Location: Finland
Has thanked: 49 times
Been thanked: 10 times

Re: Tesla Model 3 Rear Drive Unit Hacking

Post by JaniK »

so tiny :) looks like you are getting it finalized. So I ask many questions:

How is the JLCPCB doing with deliveries at the moment?
Have you tested minimum voltages running the model3 inverter?

Can we see it on evbmw shop soon for preorder ;) ?

Just suggesting:
"Support for a product, arrives when done, or a nice postcard from lanzarote" ;)
Any opinions are my own, unless stated otherwise. I take no responsibility if you follow my way of doing things and it doesn't work. Please double check with someone who knows what they are doing.
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 »

JLCPCB are doing fine. No problems that I have encountered.
The rdu inverter seems to need about 75v on the hv side but I have no idea about the motor characteristics as yet.

Soooo...you want me to start selling a completely untested and unproven board? What could go wrong? :)

On a serious note I am happy to do that as long as the community accepts responsibility. This may take many versions and many iterations before it works properly. If the greater openinverter populus want to help this happen by means of buying alpha hardware then that's cool but that means accepting that things like blown inverters , build errors, etc will happen.
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 »

Jack Bauer wrote: Fri May 01, 2020 8:19 am that means accepting that things like blown inverters , build errors, etc will happen.
This is an important point... please DO NOT buy this board unless you are willing to trash your motor/inverter, work with little/no documentation and NO PRODUCT SUPPORT.

The 'community' is not ready to hand hold people who are out of their depth and this is very much the bleeding edge of product development :twisted:
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 »

Now that's what I call a product endorsement:)
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 »

Jack Bauer wrote: Fri May 01, 2020 2:37 pm Now that's what I call a product endorsement:)
Yeah, 45 years in the electronics industry helps ;)

Unfortunately, we all know the NEWB's won't listen and will be trashing hardware and asking for help... at least we get to say "I told you so" :roll:
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.
JaniK
Posts: 391
Joined: Sun Aug 25, 2019 12:39 pm
Location: Finland
Has thanked: 49 times
Been thanked: 10 times

Re: Tesla Model 3 Rear Drive Unit Hacking

Post by JaniK »

OK, I understand, There are good points.

There is still much other things to do so I will patiently wait for something that is tested working. Since I am proud to say I am new on this stuff. I can solder trough hole stuff, but cannot design PCBs or program much.

Thanks for the info, happy hacking!
Any opinions are my own, unless stated otherwise. I take no responsibility if you follow my way of doing things and it doesn't work. Please double check with someone who knows what they are doing.
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 in production at JLCPCB. Changed the wifi header to smd type to avoid through hole pins poking down onto the oem pcb. Also added a 3v3 reg to allow for single 5v supply operation. May be deleted subject to testing.

Given recent developments the design files will not be released at this time.
Attachments
Tesla_M3_RDU_V1 - Schematic.pdf
(256 KiB) Downloaded 243 times
Tesla_M3_RDU_V1 - PCB.pdf
(149.86 KiB) Downloaded 192 times
I'm going to need a hacksaw
User avatar
PacEmaker
Posts: 85
Joined: Tue Oct 15, 2019 9:28 pm
Location: Victoria, Australia
Has thanked: 5 times
Contact:

Re: Tesla Model 3 Rear Drive Unit Hacking

Post by PacEmaker »

Respect :twisted:
Geoff

Is this smoke trying to tell me something ... :twisted:
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 »

8-) 8-) Awesome, top work!
JaniK
Posts: 391
Joined: Sun Aug 25, 2019 12:39 pm
Location: Finland
Has thanked: 49 times
Been thanked: 10 times

Re: Tesla Model 3 Rear Drive Unit Hacking

Post by JaniK »

Great work Damien!
Any opinions are my own, unless stated otherwise. I take no responsibility if you follow my way of doing things and it doesn't work. Please double check with someone who knows what they are doing.
JaniK
Posts: 391
Joined: Sun Aug 25, 2019 12:39 pm
Location: Finland
Has thanked: 49 times
Been thanked: 10 times

Re: Tesla Model 3 Rear Drive Unit Hacking

Post by JaniK »

About the drive unit itself, can it be driven in reverse full time?
Or is there lubrication issues or something like the model S units?
Any opinions are my own, unless stated otherwise. I take no responsibility if you follow my way of doing things and it doesn't work. Please double check with someone who knows what they are doing.
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 »

Given that it uses an external electric oil pump I would see no problem with reverse. Of course we won't know until somone does it and shares the information.
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 »

In other news JLC have dispatched the prototype boards. Due into me this week with luck.
I'm going to need a hacksaw
JaniK
Posts: 391
Joined: Sun Aug 25, 2019 12:39 pm
Location: Finland
Has thanked: 49 times
Been thanked: 10 times

Re: Tesla Model 3 Rear Drive Unit Hacking

Post by JaniK »

Thank you for the answer, I will look into it some more.
I could run it in reverse in a car later if no issues arise.
Any opinions are my own, unless stated otherwise. I take no responsibility if you follow my way of doing things and it doesn't work. Please double check with someone who knows what they are doing.
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 »

Boards have arrived from JLC. First powerup test on the bench is a success:) Next up fitting one to the inverter and hopefully spin the motor. Lots to do.
Attachments
2020-05-14 15.26.36.jpg
2020-05-14 15.20.55.jpg
2020-05-14 15.13.07.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 »

Looking good!
JaniK
Posts: 391
Joined: Sun Aug 25, 2019 12:39 pm
Location: Finland
Has thanked: 49 times
Been thanked: 10 times

Re: Tesla Model 3 Rear Drive Unit Hacking

Post by JaniK »

It is a cute little board :)

JLC delivers quite fast? Do they come to you without the connectors?
Any opinions are my own, unless stated otherwise. I take no responsibility if you follow my way of doing things and it doesn't work. Please double check with someone who knows what they are doing.
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 »

Some info on the M3 rear du temp sensor and resolver wiring.
Attachments
2020-05-19 15.17.57.jpg
2020-05-19 15.18.49.jpg
2020-05-19 15.19.37.jpg
2020-05-19 15.20.38.jpg
2020-05-19 15.40.04.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 »

First attempt running the drive unit using FOC firmware in the prius inverter today. No luck as I think I have my current sensors mixed up. Going to do some investigation on this over in the Gen 3 prius thread then back here to see what happens:)
Attachments
2020-05-21 11.21.23.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
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
arber333
Posts: 3265
Joined: Mon Dec 24, 2018 1:37 pm
Location: Slovenia
Has thanked: 80 times
Been thanked: 234 times
Contact:

Re: Tesla Model 3 Rear Drive Unit Hacking

Post by arber333 »

Damien just try giving it 10 poles and the same resolver. I suspect 10 poles should be much for such a small motor. It gives higher torque at lower rpm and good max RPM count regarding 360Vdc bus.

If it still doesnt work then try 8pole. I am sure they wont use odd pole numbers :). I will look for some dissassembly videos.
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 »

arber333 wrote: Sat May 23, 2020 9:25 pm Damien just try giving it 10 poles and the same resolver. I suspect 10 poles should be much for such a small motor. It gives higher torque at lower rpm and good max RPM count regarding 360Vdc bus.

If it still doesnt work then try 8pole. I am sure they wont use odd pole numbers :). I will look for some dissassembly videos.
Two comments on the YouTube video;

"The prius gen2 motor is a 4 pole pair motor. It would pay to check the resolver too, pretty sure it is 4 pole pairs also. The inverter will not run properly if these parameters are wrong since FOC depends on correct rotor angle information to function correctly."

"Actual resolver may only have 2 pole pairs. In any case if you plot rotor angle you should get 4 0-360 degree transitions for every 1 turn of the rotor. Adjust resolver pole pairs until that occurs."
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 »

Thanks to everyones help I have now got the prius gen 2 mg2 spinning beautifully with foc using the V1c board in a gen3 inverter.

Some things I learned :

1)I wasnt pumping in enough manual Id to find the right syncofs value. ie i put in a syncofs, tried 5a then if the motor didnt spin I figured this was the point of no spin. I just needed to man up and pump in some real Id:)

2)Once I had found the point of no spin I tried run mode but got runaway condition. A brain cell fired up and I added 32768 to the no spin syncofs value. Result perfect throttle control but running in the opposite direction.

Hope that helps someone.

In regards the M3 motor I have trawled some of the "Masked Maraduers" videos and think what we have is a 3 pole pair motor and a 3 pole resolver.
I'm going to need a hacksaw
Post Reply