Tesla Model 3 Rear Drive Unit Hacking
- 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
That's why we have the modboard:)
I'm going to need a hacksaw
- 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
I purchased this Launchpad I'd definitely be willing to help as well. Though I don't have a ton of experience programming TI parts. I'm going to try and figure out how to blinking the LEDs mentioned.
Hopefully, once we end up with these motors overflowing at junkyards the price will come down.
Hopefully, once we end up with these motors overflowing at junkyards the price will come down.
- station240
- Posts: 12
- Joined: Wed Jul 29, 2020 11:04 pm
- Location: Australia
- Been thanked: 2 times
Re: Tesla Model 3 Rear Drive Unit Hacking
One downside of that TI Launchpad board is not all the signals are available.
There is a very tiny connector on the underside with some extra signals, it's cell phone connector small, and TI never did release that addon board to break it out.
Oh and only CANB is connected to a transceiver, CANA needs an extra transceiver chip added (think I'd had bad luck getting that to work)
To be honest we probably need a custom made TMS320F28379D board, for development as Drive Unit PCBs are kinda expensive and come with a heavy lump attached.
I have my own custom TI board for a different processor, however it's just a block of blank PCBs and components till I get everything I need to assemble one. It does have Isolated CAN and JTAG over USB, which I could re-use.
There is a very tiny connector on the underside with some extra signals, it's cell phone connector small, and TI never did release that addon board to break it out.
Oh and only CANB is connected to a transceiver, CANA needs an extra transceiver chip added (think I'd had bad luck getting that to work)
To be honest we probably need a custom made TMS320F28379D board, for development as Drive Unit PCBs are kinda expensive and come with a heavy lump attached.
I have my own custom TI board for a different processor, however it's just a block of blank PCBs and components till I get everything I need to assemble one. It does have Isolated CAN and JTAG over USB, which I could re-use.
-
- 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
Have you found anything in the resolver signaling "sawtooth" or other parts in inverter that would prevent running the M3RDU in reverse?
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.
- 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
Nope. And with the electric oil pump it can go full bore in reverse without and mechanical mods. Now I just need to make some time to fit and test the new modboard....
I'm going to need a hacksaw
-
- 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
Cool. Thanks for fast answer.
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.
- 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
Finally back at the M3 rear du. Time to swap out the old V1 modboard for the V2 and see if we can run closed loop with the inverter back on the drive unit:)
I'm going to need a hacksaw
- 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
Also since I've been away seems this guy has had some major success
I'm going to need a hacksaw
- 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
Good news is the V2 modboard resolver circuit is working perfectly. We are now driving the original Tesla amp and reading back via their filter. BAd news is it seems my current sensor signs are flipped so no foc tuning today.
I'm going to need a hacksaw
- 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
Ok I'm an idiot. Just had to set il gains and ocur lim to negative and we have full closed loop control:)
Muhahahah.....hahah......waahhhhahahahahah
Muhahahah.....hahah......waahhhhahahahahah
I'm going to need a hacksaw
-
- 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
Good work and great news!
What happened with the oil choice?
Is there a good choice or just random choice?
What happened with the oil choice?
Is there a good choice or just random choice?
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.
- 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
I have a gallon of Dexron 6 waiting.
I'm going to need a hacksaw
- 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
At this time I have decided to do a full opensource release of all design sources:)
More updates and video to following including testing in a M3 front DU.
https://github.com/damienmaguire/Tesla- ... Drive-Unit
Rear drive unit now responding to throttle commands in both directions with regen.
To Do :
Secure mod wires.
Button up the inverter
360v full test.
Make install video showing every step (super boring) in a front DU
Run front DU
Retire to Lanzarote on the profits.
More updates and video to following including testing in a M3 front DU.
https://github.com/damienmaguire/Tesla- ... Drive-Unit
Rear drive unit now responding to throttle commands in both directions with regen.
To Do :
Secure mod wires.
Button up the inverter
360v full test.
Make install video showing every step (super boring) in a front DU
Run front DU
Retire to Lanzarote on the profits.
I'm going to need a hacksaw
-
- Posts: 656
- Joined: Sat Oct 05, 2019 6:50 pm
- Location: Northern California, USA
- Been thanked: 1 time
- Contact:
Re: Tesla Model 3 Rear Drive Unit Hacking
Great!
Front DU is induction IIRC, does that make for easier tuning and probably easier integration into vehicles?
Front DU is induction IIRC, does that make for easier tuning and probably easier integration into vehicles?
- Jack Bauer
- Posts: 3563
- Joined: Wed Dec 12, 2018 5:24 pm
- Location: Ireland
- Has thanked: 1 time
- Been thanked: 87 times
- Contact:
-
- 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
Does it matter what type of wiring to use between modboard and M3 inverter PCB ?
Min/max. gauge? Insulation thickness?
Or do we just us some leftovers from a computer power supply etc.
Min/max. gauge? Insulation thickness?
Or do we just us some leftovers from a computer power supply etc.
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.
- 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
I'm using kynar wire most commonly used for wire wrap boards. E.g. :
https://www.digikey.com/catalog/en/part ... eries/1966
I'll go through all this in the forthcoming installation video.
https://www.digikey.com/catalog/en/part ... eries/1966
I'll go through all this in the forthcoming installation video.
I'm going to need a hacksaw
- mdrobnak
- Posts: 692
- Joined: Thu Mar 05, 2020 5:08 pm
- Location: Colorado, United States
- Has thanked: 1 time
- Been thanked: 5 times
Re: Tesla Model 3 Rear Drive Unit Hacking
The motorsports industry generally uses wire with ETFE (Teflon) / Tefzel wiring. It allows the jacket to be thinner, saving weight. Also highly resistant to things like fuel, etc. Apparently also used in spacecraft - https://en.wikipedia.org/wiki/ETFE
-Matt
-Matt
-
- 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
Thank you both for replies
I found full rolls of kynar wire and thats a bit much.
Maybe I didn't look too hard.
For ETFE I found this item that ships per foot...:
https://www.mouser.fi/ProductDetail/TE- ... YKmg%3D%3D
+200°C max temp and 600V rating, seems ok to me?
Unless a Damien board ships with a string of wire..
Thoughts?
I found full rolls of kynar wire and thats a bit much.
Maybe I didn't look too hard.
For ETFE I found this item that ships per foot...:
https://www.mouser.fi/ProductDetail/TE- ... YKmg%3D%3D
+200°C max temp and 600V rating, seems ok to me?
Unless a Damien board ships with a string of wire..
Thoughts?
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.
- 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
I may decide to offer a kit with wire. Will see what happens once sales start.
Finding the last few signals today before hv testing.
Finding the last few signals today before hv testing.
I'm going to need a hacksaw
- EV_Builder
- Posts: 1199
- Joined: Tue Apr 28, 2020 3:50 pm
- Location: The Netherlands
- Has thanked: 16 times
- Been thanked: 33 times
- Contact:
Re: Tesla Model 3 Rear Drive Unit Hacking
Damien wouldn't it be nicer to un-solder the IC and solder a board with connector to the board?
Or maybe just a legged board with connector? long enough that you can solder the pin to the old IC pad?
Did you consider this? or do we need every other pin pulled-up anyway?
Or maybe just a legged board with connector? long enough that you can solder the pin to the old IC pad?
Did you consider this? or do we need every other pin pulled-up anyway?
Converting an Porsche Panamera
see http://www.wdrautomatisering.nl for bespoke BMS modules.
see http://www.wdrautomatisering.nl for bespoke BMS modules.
- 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
Yes I did indeed think of that at the outset. There were problems with that approach however. That said I am working on a neater solution:)
I'm going to need a hacksaw
- 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
Oil pump controller used in both front and rear drive units is an Onsemi LV8907.
https://www.onsemi.com/products/power-m ... Session=-1
https://www.onsemi.com/products/power-m ... Session=-1
I'm going to need a hacksaw
- 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
Scratched an itch and tried Jtaging the Musk brain. Imagine my surprise when it didn't work. Oh well, better give up and go home ....
Attached pinout (as best as I could make anyway) of the 10 pin Jtag port.
Attached pinout (as best as I could make anyway) of the 10 pin Jtag port.
I'm going to need a hacksaw