BPT (ISO15118-20)¶
Introduction¶
The second version of ADVANTICS generic interface for EVCC extends the available CAN bus based API by introducing MCS support and bidirectionality to the controller.
With the support of ISO 15118-20, MCS and bidirectional power transfer became possible through 2 control modes defined by the protocol. In Dynamic control mode, besides the static power transfer parameters, vehicle provides the Energy requests and the range for bidirectional cycling (V2X energy requests).
It is possible to specify the absolute energy requests including the range for bidirectional cycling (V2X energy requests) within the battery capacity limit. Based on these parameters and the state of charge of the battery we will then dynamically calculate relative energy requests and V2X cycling range limits and forward them to the charger.
In addition, the vehicle will be able to specify the time of departure which can be used in dynamic mode.
Note
Generic interface v2 should be used for MCS and BPT applications
Note
Bidirectionality is only available on a special development branch. You need update the containers with the ones provided on this controller's Software Releases page of the download page.
Relevant config entries¶
[vehicle]section- type: Use
Advantics_Generic_v2 - is_bidirectional: Set to
true - dynamic_current_limit: Set to
true - energy_capacity: Becomes required
- max_discharge_current
- min_discharge_power
- max_discharge_power
- min_energy_request
- max_energy_request
[ccs]sectionenable_iso_part20iso_part20_dc_priority
Note
When ISO 15118-20 is enabled in the [ccs] section, the ccs-evcc application takes much longer
to load. This performance point will be addressed later.
Changes in the EVCC Generic CAN interface v2:¶
| Name | ID | Length | Direction | Cycle time | Difference |
|---|---|---|---|---|---|
| EV_Information | 0x610 | 3 | IN | 100 | New signal |
| EV_Energy_Request | 0x614 | 6 | IN | 100 | New message |
| EV_V2X_Energy_Request | 0x615 | 4 | IN | 100 | New message |
| EV_Extra_BPT_Information | 0x616 | 4 | IN | Optional | New message |
Download CAN DBs:
EV_Information¶
| * | * |
|---|---|
| Frame ID | 0x610 |
| Length [Bytes] | 3 |
| Periodicity [ms] | 100 |
| Direction | IN |
Description¶
Information provided by the vehicle.
Payload¶
| Signal | Length (bits) | Type |
|---|---|---|
| State_of_Charge | 8 | Unsigned |
| Energy_Capacity | 16 | Unsigned |
Payload description¶
State_of_Charge¶
Battery SoC in percent (only used in HLC mode).
| Start bit | Length (bits) | Type | Unit | Scale | Offset | Min | Max |
|---|---|---|---|---|---|---|---|
| 0 | 8 | Unsigned | % | 1 | 0 | 0 | 100 |
Energy_Capacity¶
The energy capacity of the EV battery.
In case this value is 0 we default to the config file entry energy_capacity.
Pleaase note that providing the energy capacity of the battery is mandatory if ISO15118-20 is used.
| Start bit | Length (bits) | Type | Unit | Scale | Offset | Min | Max |
|---|---|---|---|---|---|---|---|
| 8 | 16 | Unsigned | kWh | 0.01 | 0 | 0 | 655 |
EV_Energy_Request¶
| * | * |
|---|---|
| Frame ID | 0x614 |
| Length [Bytes] | 6 |
| Periodicity [ms] | 100 |
| Direction | IN |
Description¶
ISO 15118-20 specific message. The energy of the EV corresponding to the SOC specified by the owner. The energy request is represented by an energy range including a target energy request.
Energy requests should satisfy the following relationship:
Minimum_Energy_Request ≤ Target_Energy_Request ≤ Maximum_Energy_Request
Payload¶
| Signal | Length (bits) | Type |
|---|---|---|
| Target_Energy_Request | 16 | Unsigned |
| Minimum_Energy_Request | 16 | Unsigned |
| Maximum_Energy_Request | 16 | Unsigned |
Payload description¶
Target_Energy_Request¶
The energy of the EV corresponding to the target SOC. The target energy request can be lower than the current energy level present in the battery represented by the SoC. This represents a discharge request. More details available in the ISO15118-20 documentation.
| Start bit | Length (bits) | Type | Unit | Scale | Offset | Min | Max |
|---|---|---|---|---|---|---|---|
| 0 | 16 | Unsigned | kWh | 0.01 | 0 | 0 | 655 |
Minimum_Energy_Request¶
The energy of the EV corresponding to the minimum SOC.
In case this message is not sent we default to the config file entry min_energy_request.
| Start bit | Length (bits) | Type | Unit | Scale | Offset | Min | Max |
|---|---|---|---|---|---|---|---|
| 16 | 16 | Unsigned | kWh | 0.01 | 0 | 0 | 655 |
Maximum_Energy_Request¶
The energy of the EV corresponding the to maximum SOC.
In case this message is not sent we default to the config file entry max_energy_request.
This value will be capped by Energy_Capacity.
| Start bit | Length (bits) | Type | Unit | Scale | Offset | Min | Max |
|---|---|---|---|---|---|---|---|
| 16 | 16 | Unsigned | kWh | 0.01 | 0 | 0 | 655 |
EV_V2X_Energy_Request¶
| * | * |
|---|---|
| Frame ID | 0x615 |
| Length [Bytes] | 4 |
| Periodicity [ms] | 100 |
| Direction | IN |
Description¶
ISO 15118-20 specific message. (Optional) Indicates a preferred operational V2X energy range for bidirectional cycling. V2X energy requests should satisfy the following relationships:
Minimum_Energy_Request ≤ Minimum_V2X_Energy_Request
Maximum_V2X_Energy_Request ≤ Maximum_Energy_Request
Payload¶
| Signal | Length (bits) | Type |
|---|---|---|
| Minimum_V2X_Energy_Request | 16 | Unsigned |
| Maximum_V2X_Energy_Request | 16 | Unsigned |
Payload description¶
Minimum_V2X_Energy_Request¶
The minimum energy level for the bidirectional cycling activity range.
| Start bit | Length (bits) | Type | Unit | Scale | Offset | Min | Max |
|---|---|---|---|---|---|---|---|
| 0 | 16 | Unsigned | kWh | 0.01 | 0 | 0 | 655 |
Maximum_Energy_Request¶
The maximum energy level for the bidirectional cycling activity range.
| Start bit | Length (bits) | Type | Unit | Scale | Offset | Min | Max |
|---|---|---|---|---|---|---|---|
| 16 | 16 | Unsigned | kWh | 0.01 | 0 | 0 | 655 |
EV_Extra_BPT_Information¶
| * | * |
|---|---|
| Frame ID | 0x616 |
| Length [Bytes] | 4 |
| Periodicity [ms] | 100 |
| Direction | IN |
Description¶
ISO 15118-20 specific message. EV extra bidirectional power transfer information.
Payload¶
| Signal | Length (bits) | Type |
|---|---|---|
| Departure_Time | 32 | Unsigned |
Payload description¶
Departure_Time¶
Indicate when the EV intends to finish the charging process. Represents the offset in seconds from the point in time of sending this message.
| Start bit | Length (bits) | Type | Unit | Scale | Offset | Min | Max |
|---|---|---|---|---|---|---|---|
| 0 | 32 | Unsigned | Seconds | 1 | 0 | 0 | 4294967296 |