Tesla Model 3 Charger

Topics concerning the Tesla front and rear drive unit drop-in board
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 »

I'm going to need a hacksaw
tom91
Posts: 1305
Joined: Fri Mar 01, 2019 9:15 pm
Location: Bristol
Has thanked: 102 times
Been thanked: 216 times

Re: Tesla Model 3 Charger

Post by tom91 »

Some very good progress Damien, hats off.
Very janky setup as usual, might want to make a bit more permanent rectification setup.

You tried changing some values in 0x22A to see if you can request less current?
Founder Volt Influx https://www.voltinflux.com/
Webstore: https://citini.com/
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 »

Thanks Tom. Lots more testing to do. Regards ipc can here is a copy of a comment on the above video that seems to shed some light :

Inter Process Communication (IPC) can use the CAN protocol over a half duplex single ended bus, without the usual Transceivers (that are used to convert to a differential bus topology for noise immunity and low EMI), by simply hardware OR'ing the TX lines onto a single data line. Used over short distances with system of a common ground it allows all the usual CAN goodness (built in checksums, automatic bus arbitration and multi-drop architecture) without the additional parts count for the full CAN physical layer. As Automotive spec micro-processors now pretty much all include multiple CAN nodes in hardware, it makes sense to use that rather than alternative IPC options (classic UART, SPI, I2C etc)


See here: https://www.mikrocontroller.net/attachm ... AP2921.pdf
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 »

Message 0x22a on ipc can at 10ms intervals. Byte 1 , bit 2 is dcdc enable. set it to one and the dcdc wakes up. set it to 0 and it shutsdown. Released a first cut at a pcs controller on github. Just a modification to the existing gen3 charger controller.
https://github.com/damienmaguire/Tesla-Model-3-Charger
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 »

Just ordered some prototype boards from these guys : https://jlcpcb.com/
We'll see what they turn out like. If any one on here has a PCS and wants to play along let me know and I'll ship you a controller for free.
I'm going to need a hacksaw
User avatar
Teknomadix
Posts: 27
Joined: Sun Jul 14, 2019 7:37 am
Location: Cascadia
Contact:

Re: Tesla Model 3 Charger

Post by Teknomadix »

Jack Bauer wrote: Wed Jul 24, 2019 9:53 am If any one on here has a PCS and wants to play along let me know and I'll ship you a controller for free.
Yes! Have a 3 PCS, Would love to play along! Don't mind paying shipping either.
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 »

I'll ping you once I get the controllers built. Will be nice to have someone else helping out.
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 »

Need a little help on some can decoding. I had been looking for a message from the pcs with the 12v system voltage. None seemed to show itself. Then I observed message 0x424 pop up when the dcdc enable bit in 0x22a is sent. Here are a few samples of 0x424 with various 12v voltages applied. Anyone want to guess how the 12v is encoded here?

12v applied : 2b 80 2d 0d 01 00 00 a0
13v applied : 2b 80 4a 35 01 bc 0b a0
14v applies : 2b 80 65 5d 01 bc 0b a0
15v applied : 2b 80 7f 7d 01 bc 0b a0
I'm going to need a hacksaw
User avatar
celeron55
Posts: 776
Joined: Thu Jul 04, 2019 3:04 pm
Location: Finland
Has thanked: 28 times
Been thanked: 110 times
Contact:

Re: Tesla Model 3 Charger

Post by celeron55 »

It might simply be a 10 to 20 V range mapped into 0...0xffff just to squeeze more resolution out of two bytes, as anything below 10V is a dead battery anyways.
tom91
Posts: 1305
Joined: Fri Mar 01, 2019 9:15 pm
Location: Bristol
Has thanked: 102 times
Been thanked: 216 times

Re: Tesla Model 3 Charger

Post by tom91 »

Byte 2 LSB Byte 3 MSB scaling 0.0001 offset 11.613

Just from the rought data you shared. Quite a nice linear line in excel when plotted.
Founder Volt Influx https://www.voltinflux.com/
Webstore: https://citini.com/
DeeFulls
Posts: 1
Joined: Fri Jul 26, 2019 2:14 pm
Location: USA

Re: Tesla Model 3 Charger

Post by DeeFulls »

I think doing byte 4 MSB, byte 3 LSB, with a similar 0.0001 scaling might be a little closer. I would guess that its then either:

1) a roughly 11.7V offset (11.66?) or
2) a 12V offset and then maybe some flag (byte 6 or 7? both?) about whether or not its added or subtracted
Jack Bauer wrote: Wed Jul 24, 2019 9:53 am If any one on here has a PCS and wants to play along let me know and I'll ship you a controller for free.
I may have access to a PCS in the coming weeks, I'd love to help if I do end up getting my hands on it.
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 »

Thanks guys:) As 0x424 only appears when the dcdc is starting or started I can't get many samples as I'm not properly starting the dcdc as yet due to not having a bench battery pack yet.

Here are 3 dcdc startup attempts with a fixed 12v : https://github.com/damienmaguire/Tesla- ... tempts.csv
and 3 with varying voltage : https://github.com/damienmaguire/Tesla- ... von_dc.csv
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 »

Blank pcbs have arrived for the pcs controller:)
Attachments
2019-07-31 15.52.57.jpg
2019-07-31 15.52.51.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 »

PCS Controller working perfectly:) Also my first oven reflow pcb so double happy. Now for some software....
Attachments
2019-08-03 13.33.13.jpg
2019-08-03 11.53.31.jpg
2019-08-03 11.42.59.jpg
I'm going to need a hacksaw
jon volk
Posts: 572
Joined: Wed Apr 10, 2019 7:47 pm
Location: Connecticut
Been thanked: 2 times

Re: Tesla Model 3 Charger

Post by jon volk »

What are the physical dimensions of this unit? The Tesla unit, not the controller. :)
Formerly 92 E30 BMW Cabrio with Tesla power
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 »

Not sure. Will measure it and report back. Not much larger than a Gen 2 charger.
I'm going to need a hacksaw
User avatar
muehlpower
Posts: 575
Joined: Fri Oct 11, 2019 10:51 am
Location: Germany Fürstenfeldbruck
Has thanked: 12 times
Been thanked: 103 times

Re: Tesla Model 3 Charger

Post by muehlpower »

Are there any News? Availability?
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 »

Currently being installed in the BMW E46 Touring project by our vehicle integration team :lol:
Attachments
2020-01-30 14.44.37.jpg
I'm going to need a hacksaw
ScythianNite
Posts: 11
Joined: Mon Feb 03, 2020 3:36 pm
Location: Pennsylvania, USA
Has thanked: 25 times

Re: Tesla Model 3 Charger

Post by ScythianNite »

weird question, but does the Tesla 3 charger seem to have the BMS for the model 3 batteries integrated? or is that another system in the 3?
User avatar
muehlpower
Posts: 575
Joined: Fri Oct 11, 2019 10:51 am
Location: Germany Fürstenfeldbruck
Has thanked: 12 times
Been thanked: 103 times

Re: Tesla Model 3 Charger

Post by muehlpower »

Does anyone have any idea where to get the right connectors? I made a drawing with tape measure accuracy. If anyone is interested!
Attachments
191003MB-002.jpg
191003MB-002.jpg (39.06 KiB) Viewed 4341 times
191003MB-002.pdf
(1.45 MiB) Downloaded 190 times
User avatar
arturk
Posts: 146
Joined: Wed Oct 02, 2019 3:58 am
Location: United States, MD
Has thanked: 1 time
Been thanked: 2 times

Re: Tesla Model 3 Charger

Post by arturk »

Damien, Are you planning to share controller's software the on GitHub?
I have one of those chargers and would love to play with it.
1998 Jaguar XJR, GS450h drivetrain, 48kWh/96s BMW battery
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 Charger

Post by Kevin Sharpe »

arturk wrote: Tue Mar 03, 2020 9:49 pm Damien, Are you planning to share controller's software the on GitHub?
no, he's planning on retiring to Lanzarote on the proceeds from his closed source Tesla parts empire ;)

Watch the Tesla Battery hacking project which includes all components in the penthouse;

viewtopic.php?f=10&t=577
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 Charger

Post by Kevin Sharpe »

ScythianNite wrote: Mon Feb 03, 2020 3:37 pm weird question, but does the Tesla 3 charger seem to have the BMS for the model 3 batteries integrated?
No
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
arturk
Posts: 146
Joined: Wed Oct 02, 2019 3:58 am
Location: United States, MD
Has thanked: 1 time
Been thanked: 2 times

Re: Tesla Model 3 Charger

Post by arturk »

Kevin Sharpe wrote: Tue Mar 03, 2020 10:58 pm no, he's planning on retiring to Lanzarote on the proceeds from his closed source Tesla parts empire ;)
Funny ;)
Kevin Sharpe wrote: Tue Mar 03, 2020 10:58 pm Watch the Tesla Battery hacking project which includes all components in the penthouse;
viewtopic.php?f=10&t=577
This one is very interesting but seems to be focusing on BMS currently.

I was referring to "Tesla-Model-3-Charger" project on GitHub
https://github.com/damienmaguire/Tesla-Model-3-Charger
since Damien reported recently it was being installed in " BMW E46 Touring"
Jack Bauer wrote: Fri Jan 31, 2020 7:44 am Currently being installed in the BMW E46 Touring project by our vehicle integration team :lol:
I have this Model 3 PCS and would love to use it on my project but did not find software on GitHub :(
Is this on hold? Not ready?
1998 Jaguar XJR, GS450h drivetrain, 48kWh/96s BMW battery
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 »

The reason for no software on github is I have not written any as yet. Reason for that is in order to do further testing I need HVDC,AC, cooling and 12v applied and the easiest way to do that is install it in a car which is still a work in progress. Last bench testing saw the dcdc waking up. It's not forgotten but I'm just one guy:)
I'm going to need a hacksaw
Post Reply