Tesla Model 3 Charger

Topics concerning the Tesla front and rear drive unit drop-in board
User avatar
fredd90
Posts: 87
Joined: Tue Oct 20, 2020 7:36 pm
Been thanked: 1 time

Re: Tesla Model 3 Charger

Post by fredd90 »

Fantastic work, I am very impressed with your quick problem solving.

I myself have a little smaller project in the pieline, as I want to use the original tesla m3 hv contactor.

I have ordered some stuff from TI.com so I can put together an economizer circuit for the coil. Should be based on a DRV110, I hope I manage to put together something usable. https://www.ti.com/product/DRV110https://www.ti.com/tool/DRV110EVM
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 Charger

Post by Jack Bauer »

Now in production at JLCPCB :)
Attachments
Produce_DanZhi.SMT_Snapshot.Top.2707872A_Y99.SMT0210402170890.png
I'm going to need a hacksaw
User avatar
FJ3422
Posts: 113
Joined: Fri Jul 10, 2020 9:55 am
Location: Netherlands
Been thanked: 1 time

Re: Tesla Model 3 Charger

Post by FJ3422 »

fredd90 wrote: Fri Mar 26, 2021 1:04 am ...Should be based on a DRV110, I hope I manage to put together something usable. https://www.ti.com/product/DRV110https://www.ti.com/tool/DRV110EVM
Went the same route. My pittfalls seemed to be:

- When using a low-side protected-mosfet, find one that is capable of doing 20KHz (most are not).
- My contactors seem to have a small capacitor across the coil. This disturbs the current measurement of the DRV110 (immediately limits at the initial pulse) and thus the current regulation. That's the reason behind the RC-network parallel to the sense-resistor.
- Don't forget the pull-down at the enable-input when driving from a CPU. The DRV110 has an internal pull-up, so when the CPU-output floats (at boot) is will activate all contactors :twisted: .
- Really test with the contactors wou want to use, measure current feedback with an oscilloscope and adjust the RC-network to avoid hissing sounds from the contactor and a stable pulsewidth.

JLC doesn't stock the DRV110, so I manually add them only to the outputs that I use for contactors. Solderjumper is to use the FET as a normal output when the DRV110 is not present.

How I ended:
Attachments
DRV110_design.PNG
User avatar
fredd90
Posts: 87
Joined: Tue Oct 20, 2020 7:36 pm
Been thanked: 1 time

Re: Tesla Model 3 Charger

Post by fredd90 »

FJ3422 wrote: Sun Apr 04, 2021 7:26 am
fredd90 wrote: Fri Mar 26, 2021 1:04 am ...Should be based on a DRV110, I hope I manage to put together something usable. https://www.ti.com/product/DRV110https://www.ti.com/tool/DRV110EVM
Went the same route. My pittfalls seemed to be:

- When using a low-side protected-mosfet, find one that is capable of doing 20KHz (most are not).
- My contactors seem to have a small capacitor across the coil. This disturbs the current measurement of the DRV110 (immediately limits at the initial pulse) and thus the current regulation. That's the reason behind the RC-network parallel to the sense-resistor.
- Don't forget the pull-down at the enable-input when driving from a CPU. The DRV110 has an internal pull-up, so when the CPU-output floats (at boot) is will activate all contactors :twisted: .
- Really test with the contactors wou want to use, measure current feedback with an oscilloscope and adjust the RC-network to avoid hissing sounds from the contactor and a stable pulsewidth.

JLC doesn't stock the DRV110, so I manually add them only to the outputs that I use for contactors. Solderjumper is to use the FET as a normal output when the DRV110 is not present.

How I ended:
Interesting, I have already had time to sketch a bit on components and it is as you say, difficult to find fast switching n-channel mosfet.

Good idea regarding pulldown resistor, easy to forget ;)
My plan is to buy a loose hv-contactor and experiment with it, it draws about 8-9A in startcurrent so the mosfet needs to be quite solid.
I have found this one on Elfa: https://www.elfa.se/en/automotive-mosfe ... opup=false
Continuous drain 20A @ 40v. and 20-25ns at full amp

I bought the drv110 experiment board to make things easy but the included mosfet maxed out at 1A unfortunately, just wait for the new mosfet.

I have no idea if my contactors are equipped with a condensator, hope not ;)
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 Charger

Post by Jack Bauer »

Please start a new thread if you wish to discuss something off topic.
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 Charger

Post by Jack Bauer »

PCS controllers have arrived and almost at a full power test:)
Attachments
2021-04-15 09.57.25.jpg
2021-04-14 18.20.39.jpg
I'm going to need a hacksaw
nkiernan
Posts: 505
Joined: Mon Feb 24, 2020 8:59 pm
Location: Ireland
Has thanked: 278 times
Been thanked: 64 times

Re: Tesla Model 3 Charger

Post by nkiernan »

Nice, looking good 8-)

Would you envisage the Model 3 charger, BMS and charge port controller work being integrated to a single controller in future or preferable as separate controllers?
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 Charger

Post by Jack Bauer »

Got some time this morning to build up a controller and start testing. DCDC side works but no output from charger. traced to a simple software issue (incorrect boolean) so once Johannes fixes that we should be charging:) Assuming all goes well boards and kits will then be in the webshop.
Attachments
2021-04-17 12.16.39.jpg
2021-04-17 10.47.46.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 Charger

Post by Jack Bauer »

...and we are charging:)
Attachments
2021-04-17 14.44.44.jpg
I'm going to need a hacksaw
Domt177
Posts: 219
Joined: Sun Aug 30, 2020 6:05 pm
Location: West Midlands, UK
Been thanked: 11 times

Re: Tesla Model 3 Charger

Post by Domt177 »

Great! Can’t wait to get my board,
Do we know the part numbers of any of the connectors for it?
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 Charger

Post by JaniK »

Domt177 wrote: Sat Apr 17, 2021 3:37 pm Great! Can’t wait to get my board,
Do we know the part numbers of any of the connectors for it?
To me it looks to have the same outside connectors set as Leaf VCU..
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.
Domt177
Posts: 219
Joined: Sun Aug 30, 2020 6:05 pm
Location: West Midlands, UK
Been thanked: 11 times

Re: Tesla Model 3 Charger

Post by Domt177 »

JaniK wrote: Sat Apr 17, 2021 4:05 pm
Domt177 wrote: Sat Apr 17, 2021 3:37 pm Great! Can’t wait to get my board,
Do we know the part numbers of any of the connectors for it?
To me it looks to have the same outside connectors set as Leaf VCU..
Was more taking for the PCS itself, as I have mine but where do I plug in 12v, 4 HV connections from charging port and main HV DC in/out, and are there buyable connectors for that
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 Charger

Post by JaniK »

Ah, ofcourse, sorry, for Tesla side I have no idea..
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 Charger

Post by Jack Bauer »

Boards and kits now available from the webshop and support thread setup :
viewtopic.php?f=10&t=1585
I'm going to need a hacksaw
nkiernan
Posts: 505
Joined: Mon Feb 24, 2020 8:59 pm
Location: Ireland
Has thanked: 278 times
Been thanked: 64 times

Re: Tesla Model 3 Charger

Post by nkiernan »

Nice one, great work JB (and Irish Elon had a good cameo in the latest video :lol:). Getting my order in now
P.S.Mangelsdorf
Posts: 753
Joined: Tue Sep 17, 2019 8:33 pm
Location: Raleigh, NC, USA
Has thanked: 89 times
Been thanked: 92 times

Re: Tesla Model 3 Charger

Post by P.S.Mangelsdorf »

Jack Bauer wrote: Tue Mar 23, 2021 7:51 am So to use 12v precharge :

-contactors must report open
-provide hv target voltage from the hvp
-enable dcdc hardware
-ask for precharge
-hvdc reported from the hvp must rise with the precharge voltage
-once target is hit close the contactors and switch dcdc to standby or support function.

Or just use a resistor:)

Yeah regards using the pcs measured hv as the hvp value I'm not sure. Only potential problem I see is the pcs won't start reporting the measured hv via can until its awake. Will test.
Ok, possibly dumb question, but I'm confused. Is precharge necessary for the PCS?

The simplest way for me to wire it up in my car is using only my safety contactor to separate from HV, but that means 12V and HV would turn on at the same time. If it just needs to see 12V first, I can make that happen with only 1 additional contactor, which I think I have on the shelf.
If at first you don't succeed, buy a bigger hammer.

1940 Chevrolet w/ Tesla LDU - "Shocking Chevy" - Completed 2023 Hot Rod Drag Week
User avatar
jokeitch
Posts: 14
Joined: Sat May 25, 2019 1:35 am
Has thanked: 1 time

Re: Tesla Model 3 Charger

Post by jokeitch »

Incoming dumb question that I didn't think would be appropriate for the support thread;

Could this setup play nice with the aem vcu200? They like certain on board chargers but I wonder if the expected can IDs for specific values from the obc can be changed, so it's getting the same message.

Not sure if I'd need to mess with the PCs controller firmware to change those IDs around though?
mixpol
Posts: 2
Joined: Tue Feb 28, 2023 8:33 am

Re: Tesla Model 3 Charger

Post by mixpol »

Hello everyone
Image
I have a faulty Tesla MODEL-3 charger. It does not charge with full power from the 3-phase network.
Image
I would like to run it using the Damien Maguire module.
I made a board according to the scheme on
the STM32F103 processor.
Image
After starting and connecting the CAN monitor, my charger sends data on
different addresses.
Image
Can anyone help me in software adaptation for this version of the charger?
mixpol
Posts: 2
Joined: Tue Feb 28, 2023 8:33 am

Re: Tesla Model 3 Charger

Post by mixpol »

Image

Where can I download the ESP8266 firmware if available?
Post Reply