Skip to content

Commit 5ff0622

Browse files
authored
Merge pull request #78 from chargebyte/everest/charge_control_c-simultaneous
Add 'simultaneous' wiring setup
2 parents 38e41b0 + 2462449 commit 5ff0622

File tree

2 files changed

+39
-13
lines changed

2 files changed

+39
-13
lines changed

docs/source/_static/images/switch-3ph1ph-simultaneous.drawio.svg

Lines changed: 4 additions & 0 deletions
Loading

docs/source/everest_charging_stack.rst

Lines changed: 35 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ Also the BSP driver `CbTarragonDriver <https://github.com/chargebyte/everest-cha
6565
(aka HAL) for this platform gained support for this.
6666

6767
A phase count switching setup always consists of two contactors which are controlled by the charging
68-
stack more or less independently. There exists two different kinds of hardware setups which are
68+
stack more or less independently. There exist three different kinds of hardware setups which are
6969
different in the physical wiring:
7070

7171
* **serial** setup type: In this setup type both contactors are wired in 'series': while the
@@ -77,35 +77,56 @@ different in the physical wiring:
7777
This ensures - in combination with the physical setup - a homogeneous view of the grid from the
7878
car side. Thus the charger appears to be a single-phase only or a three-phase charger.
7979

80-
.. _switch-3ph1ph-serial:
81-
.. figure:: _static/images/switch-3ph1ph-serial.drawio.svg
82-
:width: 50%
80+
.. _switch-3ph1ph-serial:
81+
.. figure:: _static/images/switch-3ph1ph-serial.drawio.svg
82+
:width: 50%
8383

84-
Example wiring with two contactors 'in series', both with auxiliary contacts for feedback generation.
85-
Note, that both contactors must be rated for 400 V in this setup.
84+
Example wiring with two contactors 'in series', both with auxiliary contacts for feedback generation.
85+
Note, that both contactors must be rated for 400 V in this setup.
86+
87+
* **simultaneous** setup type: In this setup type both contactors are wired 'in parallel': while the
88+
primary contactor switches neutral and one phase, the secondary contactor switches the phases 2 and 3.
89+
As mentioned above, it is required that all phases appear simultaneously on the car side, not one after
90+
another. To achieve this, from the software perspective, this mode ensures this by using the
91+
Linux kernel's GPIO features. However, it also requires that the underlying GPIOs are located in the
92+
same GPIO bank of the CPU. Fortunately, this is the case for the Charge Control C platform.
93+
94+
.. _switch-3ph1ph-simultaneous:
95+
.. figure:: _static/images/switch-3ph1ph-simultaneous.drawio.svg
96+
:width: 50%
97+
98+
Example wiring with two contactors in a 'simultaneous' setup, both with auxiliary contacts for
99+
feedback generation. Note, that both contactors must be rated for 400 V in this setup.
100+
101+
.. note::
102+
103+
The IEC standard requires a physical/mechanical all-pole disconnect in emergency situations. So
104+
using this wiring mode is only permitted when this requirement is satisfied, e.g. with RCD type B or EV.
86105

87106
* **mutual** setup type: In this setup type, two different contactors are used 'in parallel'. However,
88107
it is important that only one contactor can be active at a time, i.e. they exclude each other *mutually*.
89108
This is ensured by the software implementation, but should already be enforced in hardware,
90109
e.g. by using the auxiliary contacts as shown in :numref:`switch-3ph1ph-mutual`.
91110
This setup allow to use a single 400 V-rated contactor in combination with a (cheaper) 230 V-rated one.
92111

93-
.. _switch-3ph1ph-mutual:
94-
.. figure:: _static/images/switch-3ph1ph-mutual.drawio.svg
95-
:width: 60%
112+
.. _switch-3ph1ph-mutual:
113+
.. figure:: _static/images/switch-3ph1ph-mutual.drawio.svg
114+
:width: 60%
96115

97-
Example wiring with two contactors in 'mutual' setup. The primary contactor must be
98-
rated for 400 V, the secondary contactor can be rated for 230 V only.
116+
Example wiring with two contactors in 'mutual' setup. The primary contactor must be
117+
rated for 400 V, the secondary contactor can be rated for 230 V only.
99118

100119
As mentioned, the **CbTarragonDriver** module is the relevant hardware abstraction layer for EVerest
101120
for the Charge Control C platform. The module must know which wiring type is used in the charger
102121
and offers the configuration parameter **switch_3ph1ph_wiring** for this which can take the following strings:
103122

104123
* **none** (default): No phase-count switching is supported - only R1/S1 is used to switch on/off a single contactor.
105124
* **serial**: Phase-count switching support is enabled using the serial wiring as described above: R1/S1 switches
106-
the primary contactor, R2/S2 is attached to the secondary contactor.
125+
the primary contactor (for N + L1-3), R2/S2 is attached to the secondary contactor (for L2 + L3).
126+
* **simultaneous**: Phase-count switching support is enabled using the simultaneous wiring as described above: R1/S1 switches
127+
the primary contactor (for N + L1), R2/S2 is attached to the secondary contactor (for L2 + L3).
107128
* **mutual**: Phase-count switching support is enabled using the mutual wiring as described above. R1/S1 is wired to
108-
the three-phase contactor, R2/S2 is wired to the single-phase contactor.
129+
the three-phase contactor (for N + L1-3), R2/S2 is wired to the single-phase contactor (for N + Lx).
109130

110131
Snippet of an EVerest configuration file which fits the configuration for :numref:`switch-3ph1ph-mutual`:
111132

@@ -122,6 +143,7 @@ Snippet of an EVerest configuration file which fits the configuration for :numre
122143
...
123144
124145
.. note::
146+
125147
Older chargebyte configurations shipped with a `CbTarragonDriver` module parameter `relay_2_name` set to value `none`.
126148
This was part of an older approach and should not be used that way. Remove it when it is still present,
127149
so that the default value is applied automatically.

0 commit comments

Comments
 (0)