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?
Re: Tesla Model 3 Charger
Posted: Sat Jul 20, 2019 7:24 am
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)
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
Re: Tesla Model 3 Charger
Posted: Wed Jul 24, 2019 9:53 am
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.
Re: Tesla Model 3 Charger
Posted: Thu Jul 25, 2019 5:31 am
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.
Re: Tesla Model 3 Charger
Posted: Thu Jul 25, 2019 7:05 am
by Jack Bauer
I'll ping you once I get the controllers built. Will be nice to have someone else helping out.
Re: Tesla Model 3 Charger
Posted: Thu Jul 25, 2019 12:12 pm
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?
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.
Just from the rought data you shared. Quite a nice linear line in excel when plotted.
Re: Tesla Model 3 Charger
Posted: Fri Jul 26, 2019 2:32 pm
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.
Re: Tesla Model 3 Charger
Posted: Fri Jul 26, 2019 5:32 pm
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.
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
Re: Tesla Model 3 Charger
Posted: Wed Mar 04, 2020 12:41 am
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.
Jack Bauer wrote: ↑Fri Jan 31, 2020 7:44 am
Currently being installed in the BMW E46 Touring project by our vehicle integration team
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?
Re: Tesla Model 3 Charger
Posted: Wed Mar 04, 2020 7:34 am
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:)