Model 3 PCS Controller Support Thread

Topics concerning the Tesla front and rear drive unit drop-in board
User avatar
muehlpower
Posts: 570
Joined: Fri Oct 11, 2019 10:51 am
Location: Germany Fürstenfeldbruck
Has thanked: 12 times
Been thanked: 96 times

Re: Model 3 PCS Controller Support Thread

Post by muehlpower »

fredd90 wrote: Thu Jul 08, 2021 4:20 pm Got in to problems, I think

Everything wired up according to the pinout supplied at first post.

Can't get any pcs values from Web interface, connecting and logging in went great👍

I have selected eu version,

Is there any more changes to get things working?

Got 5v at pin one and pcs is mounted in penthouse,
Also got 13v at pin6(pcs-enable) with or without communication cable connected.


Attached a picture of my pcs:
IMG_20210708_164927_edit_197953986188023.jpg
Is the 12V battery connected?
User avatar
fredd90
Posts: 87
Joined: Tue Oct 20, 2020 7:36 pm
Been thanked: 1 time

Re: Model 3 PCS Controller Support Thread

Post by fredd90 »

muehlpower wrote: Thu Jul 08, 2021 5:22 pm
fredd90 wrote: Thu Jul 08, 2021 4:20 pm Got in to problems, I think

Everything wired up according to the pinout supplied at first post.

Can't get any pcs values from Web interface, connecting and logging in went great👍

I have selected eu version,

Is there any more changes to get things working?

Got 5v at pin one and pcs is mounted in penthouse,
Also got 13v at pin6(pcs-enable) with or without communication cable connected.


Attached a picture of my pcs:
IMG_20210708_164927_edit_197953986188023.jpg
Is the 12V battery connected?
Yes 12v battery is connected to m8 studs, it is 13v at battery poles for the moment. Should i try without the battery connected?

My pcs controller came presoldered so this is my first test,
3v3 led is on and the other one is flashing.
I have also solder for external can but that's not yet connected.


Edit number 2: After some experimenting i got the dcdc charging to work, works perfekt.

Now got ahead trying with controlling via canbus, Read the manual to gen 2 controller, but it seems that can message is shifted a bit.

0x102 b0: 0x0 b1: 0x78 b2: 0x1 b3: 0xA (idcspnt 10A) b4: b5: 0x1(enable) b6: 0x46(soc 70) b7: 0x0

Bit 1 and 2 results in udclim @ 376vdc

When enable Di1/Input 1 and can enable i got my smart charge adapter to apply 400vac 3phase.
Proximity: on enable: on canenable: on

The only thing i get really confused about is the parameter: uac, it is around 6600V

Think i have read everything on wiki but i don´t get it to work, anyone else that got it to work, besides Damien? =)

Another thing i read i the manual, can it be so simple that my unit not are registered correctly and my 5 minutes of charge is finish? i did buy a "full" kit
Parameter
Parameter
spot values
spot values
Wise
Posts: 23
Joined: Tue Jun 04, 2019 6:30 pm

Re: Model 3 PCS Controller Support Thread

Post by Wise »

Hello ! I can't find design files for V2 tesla model 3 PCS - can you help me with this ? Also I can't find this design files on Patreon..
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: Model 3 PCS Controller Support Thread

Post by Jack Bauer »

Just published on Patreon. Apologies I had forgotten.
I'm going to need a hacksaw
User avatar
fredd90
Posts: 87
Joined: Tue Oct 20, 2020 7:36 pm
Been thanked: 1 time

Re: Model 3 PCS Controller Support Thread

Post by fredd90 »

Hello

Did not get my EU pcs to work correctly yet...

Is there anybody that got things going as planned?
The problem may be that the multiplexing canbus is wrong.
I still got around 6000vac when evse enable 3phase.

Otherwise the most of parameters seems to be correct

I did buy an extra charger from a Mitsubishi in the mean time to get things going 8-)

Best regards Fredrik
kevpatts
Posts: 67
Joined: Mon Jul 19, 2021 1:55 pm
Location: Dublin, Ireland
Been thanked: 8 times

Re: Model 3 PCS Controller Support Thread

Post by kevpatts »

Just wondering if there's much ongoing work on this project? Was thinking of using the Model 3 PCS but wanted to know if it's stable or likely to be in the near future.
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: Model 3 PCS Controller Support Thread

Post by Jack Bauer »

I have a US M3 pcs running in the grey goose as a daily driver past 6 months. The controller was also tested on a EU pcs from a 2019 vehicle before release. I know some folks have had issues recently and I will be investigating as much as possible soon.
I'm going to need a hacksaw
Wise
Posts: 23
Joined: Tue Jun 04, 2019 6:30 pm

Re: Model 3 PCS Controller Support Thread

Post by Wise »

Hello ! I can't get firmware for Model 3 charger from https://openinverter.org/shop/index.php ... duct_id=67
Link doesn't work: https://openinverter.org/files/stm32_pcs.zip
Can you help me ?
User avatar
fredd90
Posts: 87
Joined: Tue Oct 20, 2020 7:36 pm
Been thanked: 1 time

Re: Model 3 PCS Controller Support Thread

Post by fredd90 »

Wise wrote: Mon Oct 11, 2021 4:55 pm Hello ! I can't get firmware for Model 3 charger from https://openinverter.org/shop/index.php ... duct_id=67
Link doesn't work: https://openinverter.org/files/stm32_pcs.zip
Can you help me ?
Do not think it has been released yet because it has not been fully tested, if someone knows there should be JOHU

Have you designed your own board or need to reflash
Wise
Posts: 23
Joined: Tue Jun 04, 2019 6:30 pm

Re: Model 3 PCS Controller Support Thread

Post by Wise »

I bought board on JLCPCB
Wise
Posts: 23
Joined: Tue Jun 04, 2019 6:30 pm

Re: Model 3 PCS Controller Support Thread

Post by Wise »

fredd90 wrote: Tue Oct 12, 2021 10:24 am
Wise wrote: Mon Oct 11, 2021 4:55 pm Hello ! I can't get firmware for Model 3 charger from https://openinverter.org/shop/index.php ... duct_id=67
Link doesn't work: https://openinverter.org/files/stm32_pcs.zip
Can you help me ?
Do not think it has been released yet because it has not been fully tested, if someone knows there should be JOHU

Have you designed your own board or need to reflash
Tell me who to contact about the release date of the working firmware for Tesla Model 3 PCS ?
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: Model 3 PCS Controller Support Thread

Post by P.S.Mangelsdorf »

This question was asked above and I did not see an answer: Does the PCS need pre-charge or can it be connected direct to the HV battery?
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
johu
Site Admin
Posts: 5682
Joined: Thu Nov 08, 2018 10:52 pm
Location: Kassel/Germany
Has thanked: 153 times
Been thanked: 960 times
Contact:

Re: Model 3 PCS Controller Support Thread

Post by johu »

I am only the programmer, not the developer of the PCS firmware. I have coded what others have reverse engineered and I have no direct facilities for testing or more reverse engineering.
Anyway, I uploaded the firmware as it stands to the link posted above. It may or may not work. Actually it is known not to work on EU models.
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
jetpax
Posts: 15
Joined: Wed Jan 01, 2020 12:33 am
Been thanked: 1 time
Contact:

Re: Model 3 PCS Controller Support Thread

Post by jetpax »

Im trying to design my system, and would like to use the PCS controller, with an Orion BMS.

However both have pilot and proximity signals, so I am confused.

Can they coexist , if so what would be the recommended way to do that?
thEVan
Posts: 8
Joined: Tue Apr 27, 2021 2:18 am

Re: Model 3 PCS Controller Support Thread

Post by thEVan »

Can someone please clarify the polarity on the J1772, HVDC and 12V connections on the PCS?
I'm using a US Model 3 PCS.
In exchange here's the info on the PCS controller connectors and terminals. Connectors already come with seals.
Thanks in advance.

12pin connector:
Molex 33472-1201
https://www.mouser.com/ProductDetail/Mo ... C56Q%3D%3D

20pin connector:
Molex 33472-2002
https://www.mouser.com/ProductDetail/Mo ... S35ttbg%3D

Terminals
Molex 33012-2002 (Loose Piece)
https://www.mouser.com/ProductDetail/Mo ... 5LpA%3D%3D
Attachments
PCS Connections.png
PCS Controller Connectors.jpeg
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: Model 3 PCS Controller Support Thread

Post by P.S.Mangelsdorf »

thEVan wrote: Sun Nov 21, 2021 6:06 pm Can someone please clarify the polarity on the J1772, HVDC and 12V connections on the PCS?
I'm using a US Model 3 PCS.
I also have this question. Can anyone provide the HV pinout for the PCS?
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
fredd90
Posts: 87
Joined: Tue Oct 20, 2020 7:36 pm
Been thanked: 1 time

Re: Model 3 PCS Controller Support Thread

Post by fredd90 »

Hello here is some info :)

3Phase Connector
20211129_155437.jpg
LVDC Connector
20211129_155355.jpg
HVDC Connector (Plus connector via 63A 600vdc fast fuse)
20211129_155349.jpg
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: Model 3 PCS Controller Support Thread

Post by P.S.Mangelsdorf »

fredd90 wrote: Mon Nov 29, 2021 3:06 pm Hello here is some info :)

3Phase Connector
20211129_155437.jpg

LVDC Connector
20211129_155355.jpg

HVDC Connector
20211129_155349.jpg
Much appreciated.
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
Jack Bauer
Posts: 3563
Joined: Wed Dec 12, 2018 5:24 pm
Location: Ireland
Has thanked: 1 time
Been thanked: 87 times
Contact:

Re: Model 3 PCS Controller Support Thread

Post by Jack Bauer »

In an effort to assist those using the PCS I have now released fully functional and commented firmware for the original SAM3 Arduino Due based PCS controller :
https://github.com/damienmaguire/Tesla- ... r/Software

This was heavily tested in my E46 touring before moved to the STM32 version.
I'm going to need a hacksaw
User avatar
johu
Site Admin
Posts: 5682
Joined: Thu Nov 08, 2018 10:52 pm
Location: Kassel/Germany
Has thanked: 153 times
Been thanked: 960 times
Contact:

Re: Model 3 PCS Controller Support Thread

Post by johu »

An update from my side, too. I worked with fredd a bit and discovered one byte that needs to be 5d on the US version and 2d on the EU version was always sent as 5d. Maybe that is why his EU version didn't fire up the charger.
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
User avatar
fredd90
Posts: 87
Joined: Tue Oct 20, 2020 7:36 pm
Been thanked: 1 time

Re: Model 3 PCS Controller Support Thread

Post by fredd90 »

Yes think we did come very far with the STM32 software :D

After some weeks of programming and optimizing the PCS controller shows all values correct.

Even the dcdc converter works at full power. maximum draw so far is: 14v@200A

The only problem left is that the charger wont start, think we need you Damien to have a quick look at canbus logs to see what the problem can be.

The last question was eu/us version 2d/5d but that did not fix the problem.

I think that the problem can be some "emulated" messages to pcs unit.

Attach 3 log files if anyone have some spare time to check :)
Canbus log update 4 pcs on type 2 1-12-dec.csv
Pcs on with evse cable connected and type 2 automatic sense available
(237.27 KiB) Downloaded 102 times
Canbus log update 4 pcs on manual 1-12-dec.csv
Pcs on with evse cable connected and manual mode selected
(256.06 KiB) Downloaded 95 times
Canbus log update 4 pcs off 1-12-dec.csv
Pcs off
(1.39 MiB) Downloaded 106 times
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: Model 3 PCS Controller Support Thread

Post by P.S.Mangelsdorf »

With the current software, if the PCS sees 12V first, is precharge of the HV necessary?

I'm having a hard time with getting precharging set up when I want the inverter off, i.e. for charging. I've got a plan but its a bit more complex than I would like and parts are not playing nicely.
If at first you don't succeed, buy a bigger hammer.

1940 Chevrolet w/ Tesla LDU - "Shocking Chevy" - Completed 2023 Hot Rod Drag Week
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: Model 3 PCS Controller Support Thread

Post by P.S.Mangelsdorf »

Alright so I've got my PCS wired up and no luck yet. Question: Do I need to change the PIN setting, and if so where do I find what my PCS needs?
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
fredd90
Posts: 87
Joined: Tue Oct 20, 2020 7:36 pm
Been thanked: 1 time

Re: Model 3 PCS Controller Support Thread

Post by fredd90 »

P.S.Mangelsdorf wrote: Sat Dec 11, 2021 7:34 pm Alright so I've got my PCS wired up and no luck yet. Question: Do I need to change the PIN setting, and if so where do I find what my PCS needs?
Do you use software from Johu or Damien?

Have you followed the pinout in pdf at page one of this thread? I did my work on an original batterypack so i got the original cable with markings on each line.

Seems like the US and EU version got the same pinout.
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: Model 3 PCS Controller Support Thread

Post by P.S.Mangelsdorf »

fredd90 wrote: Sat Dec 11, 2021 8:40 pm
P.S.Mangelsdorf wrote: Sat Dec 11, 2021 7:34 pm Alright so I've got my PCS wired up and no luck yet. Question: Do I need to change the PIN setting, and if so where do I find what my PCS needs?
Do you use software from Johu or Damien?

Have you followed the pinout in pdf at page one of this thread? I did my work on an original batterypack so i got the original cable with markings on each line.

Seems like the US and EU version got the same pinout.
Yes I have the correct wiring.

I'm not referring to the pinout. In the web interface, under the Version heading, there is a setting labeled PIN with a string of numbers. Does that setting need to be changed for each PCS?
If at first you don't succeed, buy a bigger hammer.

1940 Chevrolet w/ Tesla LDU - "Shocking Chevy" - Completed 2023 Hot Rod Drag Week
Locked