Page 2 of 9

Re: Model 3 PCS Controller Support Thread

Posted: Thu Jul 08, 2021 5:22 pm
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?

Re: Model 3 PCS Controller Support Thread

Posted: Thu Jul 08, 2021 5:41 pm
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

Re: Model 3 PCS Controller Support Thread

Posted: Fri Aug 27, 2021 10:51 am
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..

Re: Model 3 PCS Controller Support Thread

Posted: Fri Aug 27, 2021 12:06 pm
by Jack Bauer
Just published on Patreon. Apologies I had forgotten.

Re: Model 3 PCS Controller Support Thread

Posted: Wed Sep 15, 2021 3:33 pm
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

Re: Model 3 PCS Controller Support Thread

Posted: Tue Sep 21, 2021 1:47 pm
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.

Re: Model 3 PCS Controller Support Thread

Posted: Wed Sep 22, 2021 5:34 pm
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.

Re: Model 3 PCS Controller Support Thread

Posted: Mon Oct 11, 2021 4:55 pm
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 ?

Re: Model 3 PCS Controller Support Thread

Posted: Tue Oct 12, 2021 10:24 am
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

Re: Model 3 PCS Controller Support Thread

Posted: Tue Oct 12, 2021 12:03 pm
by Wise
I bought board on JLCPCB

Re: Model 3 PCS Controller Support Thread

Posted: Thu Oct 14, 2021 10:34 am
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 ?

Re: Model 3 PCS Controller Support Thread

Posted: Mon Oct 25, 2021 7:22 pm
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?

Re: Model 3 PCS Controller Support Thread

Posted: Tue Oct 26, 2021 5:15 pm
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.

Re: Model 3 PCS Controller Support Thread

Posted: Sat Nov 20, 2021 12:32 am
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?

Re: Model 3 PCS Controller Support Thread

Posted: Sun Nov 21, 2021 6:06 pm
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

Re: Model 3 PCS Controller Support Thread

Posted: Mon Nov 29, 2021 2:42 pm
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?

Re: Model 3 PCS Controller Support Thread

Posted: Mon Nov 29, 2021 3:06 pm
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

Re: Model 3 PCS Controller Support Thread

Posted: Mon Nov 29, 2021 3:07 pm
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.

Re: Model 3 PCS Controller Support Thread

Posted: Wed Dec 01, 2021 8:01 am
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.

Re: Model 3 PCS Controller Support Thread

Posted: Wed Dec 01, 2021 9:58 am
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.

Re: Model 3 PCS Controller Support Thread

Posted: Thu Dec 02, 2021 4:48 pm
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 96 times
Canbus log update 4 pcs off 1-12-dec.csv
Pcs off
(1.39 MiB) Downloaded 106 times

Re: Model 3 PCS Controller Support Thread

Posted: Mon Dec 06, 2021 12:48 pm
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.

Re: Model 3 PCS Controller Support Thread

Posted: Sat Dec 11, 2021 7:34 pm
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?

Re: Model 3 PCS Controller Support Thread

Posted: Sat Dec 11, 2021 8:40 pm
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.

Re: Model 3 PCS Controller Support Thread

Posted: Sat Dec 11, 2021 9:07 pm
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?