question

luphi avatar image
luphi asked

EVCS automatic switching between 1p and 3p

In https://community.victronenergy.com/questions/215013/single-phase-charging-on-three-phase-setup.html

@Lucian Popescu (Victron Energy Staff) describes a not officially supported method to make that work with the existing EVCS models. On the hardware side, the 4p contactor has to be replaced by 2x2p contactors. 1st contactor for P1 and N, 2nd contactor for P2 and P3. The 2nd contactor will be switched by the 2nd relay, which is not in use in the original setup.

These contactors might work: https://www.se.com/de/de/product/A9C20842/installationssch%C3%BCtz-ict-40a-2s-220-240v-50hz/ They are a bit wider, but should fit. Probably the DIN rail needs to be extended.

On software side, the modbus register 5056 hat to be set to 2

But before I'm going to invest in the contactors (btw, street prices are far below the list price), I wanted to play with the modbus register, to see, how the EVCS behaves. The documentation says, range is 0-2 and default is 1. But when I read it, the value is 65535 and I'm not able to change it.

$ mbpoll -1 -0 -a1 -r5055 -c2 evcs
mbpoll 1.0-0 - FieldTalk(tm) Modbus(R) Master Simulator
Copyright © 2015-2019 Pascal JEAN, https://github.com/epsilonrt/mbpoll
This program comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute it
under certain conditions; type 'mbpoll -w' for details.

Protocol configuration: Modbus TCP
Slave configuration...: address = [1]
                        start reference = 5055, count = 2
Communication.........: 172.23.1.15, port 502, t/o 1.00 s, poll rate 1000 ms
Data type.............: 16-bit register, output (holding) register table

-- Polling slave 1...
[5055]:     65535 (-1)
[5056]:     65535 (-1)

Can please anyone confirm or proof me wrong.

Cheers... luphi


evcs
2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

13 Answers
Lucian Popescu (Victron Energy Staff) avatar image
Lucian Popescu (Victron Energy Staff) answered ·

You can change it

2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

luphi avatar image
luphi answered ·

Hello @Lucian Popescu (Victron Energy Staff), thank you (again) for your quick response, but I can't change it. When I try, it says "Written 1 references" but when I poll again the value stays unchanged.

By the way, other registers like 5017 (max current) are working fine.

$ mbpoll -0 -1 -a1 -r5056 evcs 2
mbpoll 1.0-0 - FieldTalk(tm) Modbus(R) Master Simulator
Copyright © 2015-2019 Pascal JEAN, https://github.com/epsilonrt/mbpoll
This program comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute it
under certain conditions; type 'mbpoll -w' for details.

Protocol configuration: Modbus TCP
Slave configuration...: address = [1]
                        start reference = 5056, count = 1
Communication.........: evcs, port 502, t/o 1.00 s, poll rate 1000 ms
Data type.............: 16-bit register, output (holding) register table

Written 1 references.
$ mbpoll -0 -1 -a1 -r5055 -c5 evcs
mbpoll 1.0-0 - FieldTalk(tm) Modbus(R) Master Simulator
Copyright © 2015-2019 Pascal JEAN, https://github.com/epsilonrt/mbpoll
This program comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute it
under certain conditions; type 'mbpoll -w' for details.

Protocol configuration: Modbus TCP
Slave configuration...: address = [1]
                        start reference = 5055, count = 5
Communication.........: evcs, port 502, t/o 1.00 s, poll rate 1000 ms
Data type.............: 16-bit register, output (holding) register table

-- Polling slave 1...
[5055]: 65535 (-1)
[5056]: 65535 (-1)
[5057]: 65535 (-1)
[5058]: 65535 (-1)
[5059]: 65535 (-1)

2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

luphi avatar image
luphi answered ·

nobody with any ideas? Any help is really appreciated.

Cheers... luphi

2 comments
2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

It should work, I have just tested
0 Likes 0 ·
luphi avatar image luphi Lucian Popescu (Victron Energy Staff) ♦♦ commented ·

Thank you for double checking. So, what am I doing wrong? Do you use a different modbus tool to change them? Since I can change other registers, I don't believe, it's a tool issue. Have you had the same default values 65535? I only have these values for the 5 registers, listed above.

Sorry for all the questions, but still can't make it work.

0 Likes 0 ·
Lucian Popescu (Victron Energy Staff) avatar image
Lucian Popescu (Victron Energy Staff) answered ·

can you give me the vrm portal ID?

1 comment
2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

luphi avatar image luphi commented ·

send by email

0 Likes 0 ·
luphi avatar image
luphi answered ·

Hello Lucian, thank you for your help. it's working now.

2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

kds avatar image
kds answered ·

Did you install the contactors finally ?

2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

luphi avatar image
luphi answered ·

Yes, I did. In theory everything should work. I'm really exited to test it out. Unfortunately the car is not yet delivered. The dealer promised he will get it next week....

What I was missing, was modbus register 5100, which enables/disables phase switching. Setting it to 1 makes the registers 5055-5059 changeable.

From hardware perspective, I was indeed going for the contactors mentioned above. (less than 40€ per contactor including shipping in Germany). I had a DIN rail laying around, so I replaced it too, to fit the size of the new contactors.

1 comment
2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

jochenku avatar image jochenku commented ·
Thank you for the heads-up on this modification, I'm strongly interested in doing it, too, now that solar excess is slowly becoming available again.


Might you be willing to share the exact specifications or even a link to the newly installed contactors/relays? That would be great...


Thanks a ton and best regards,

Jochen

0 Likes 0 ·
hbraak avatar image
hbraak answered ·

I impleteted the phase switching for the EVCS NS and made a tiny documentation. Comments are appreciated!

BR

Heiko


EVCS_Phasenumschaltung.pdf


4 comments
2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

Nice :)
0 Likes 0 ·
kudos50 avatar image kudos50 commented ·
Very nice ! Was planning on opening it up soonish to figure things out. Having this is way better :-)
0 Likes 0 ·
Just one mention, remember that it is a feature still in beta. And it is not supported yet
1 Like 1 ·
hias0815 avatar image hias0815 commented ·
Any updates/Results of testing with enough sun?

Is it working as expected?

Regards

Matthias


0 Likes 0 ·
19andy89 avatar image
19andy89 answered ·

Hello

That's good news

Does the switching of the phases work automatically?

or does the switchover have to be done via Modbus?

Does the car also accept the switch?

2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

hbraak avatar image
hbraak answered ·

Up to now, I tested only the manual mode.

When I switch the Manual Mode via Modbus 5055 from 1 to 0(three phase) during charging the EVCS stops charging, switches to 3-Phase an starts again within a couple of seconds (Parameter 5101 might be the corresponding).

Sun is missing...also next days here in cologne. Testing the auto mode seems to take a while.

May be Lucian can give an explanation to the parameter 5057 - 59 in the Modbus TCP Register List?

Best Regards

Heiko

2 comments
2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

webblaster avatar image webblaster commented ·
Hello Heiko,

any further experience with the mod?

Greetings from Lindenthal

Felix

0 Likes 0 ·
hbraak avatar image hbraak webblaster commented ·
works pretty good, parameters I attached below the last post.
0 Likes 0 ·
luphi avatar image
luphi answered ·

they build the switching hysteresis, I assume:

- switching from 1p to 3p if surplus >(5057)W for (5059)s

- switching from 3p to 1p if surplus <(5058)W for (5059)s

1 comment
2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

hbraak avatar image hbraak commented ·
Thanks!
0 Likes 0 ·
luphi avatar image
luphi answered ·

To be honest, I'm not sure, if it is really correct, what I wrote.

I configured 5059 to 10s and 5057 to 4500W. The EVCS is charging since a couple of minutes now with 16A@1p and ~2kW are send to the grid, but it's not switching to 3p :-(

My assumption was, that the EVCS sums up the current charge current + the energy send to the grid and if that is bigger than the value of register 5057, it would switch to 3p. Unfortunately that doesn't happen. Does it really requires 4500W (4800W by default) in addition to the ~3600W 1p charging to switch to 3p?

@Lucian Popescu (Victron Energy Staff) would you mind to clue us up.

Cheers, luphi

1713971166136.png


1713971166136.png (122.5 KiB)
2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

hbraak avatar image
hbraak answered ·

screenshot-2024-04-28-202254.pngHere are my parameters for phase switching. Ich works pretty good. My E-UP only can charge via two phases.

BR

Heiko



1 comment
2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

luphi avatar image luphi commented ·
Thanks for sharing.

Does that mean, I should multiply your values by 1.5 ?


0 Likes 0 ·

Related Resources

Additional resources still need to be added for this topic