Generalities¶
These configuration entries are all under the [vehicle] section.
type¶
type = Advantics_Generic_v1
This entry specify which vehicle interface type is to be used. For this Generic Interface, the valid values are:
Advantics Generic v1
The first version of this interface
Advantics Generic v2
The second version of the generic interface (supports bidirectionality)
can_timeout_ms¶
can_timeout_ms = 500
Timeout in milliseconds for receiving critical frames during powered phases, before triggering a fault.
Default to 500 ms.
force_extended_ids¶
force_extended_ids = true
If we should send 29-bits extended frame IDs even if the ID fits on the 11 bits of a simple frame ID.
Default to false.
max_voltage¶
max_voltage = 500
Absolute maximum voltage EV systems (inlet, wires, contactors, battery, etc.) can safely accept.
Default to 500 V.
max_current¶
max_current = 120
Absolute maximum current EV systems (inlet, wires, contactors, battery, etc.) can safely accept.
Default to 0 A.
Attention
You MUST edit this entry for charging to work. Otherwise all current requests will just be limited to 0 A.
max_discharge_current¶
max_discharge_current = 30
Maximum allowed current in discharge phase. Applicable in bidirectional mode only.
Default to 0 A.
max_power¶
max_power = 150000
Absolute maximum power EV systems (inlet, wires, contactors, battery, etc.) can safely accept. This specifies a power envelop used to determine capping of current requests depending on the present battery voltage. A value of 0 means no maximum power is configured and it will not be used to limit current requests.
Default to 0 W (ie. not used).
max_discharge_power¶
max_discharge_power = 20000
Maximum discharge power, in Watts. Applicable in bidirectional mode only.
Default to 0 W.
max_energy_request¶
max_energy_request = 33000
Absolute maximum energy request, in Wh. Can be dynamically overloaded through the Generic CAN Interface.
Default to 0 Wh. Applicable in bidirectional mode only.
min_voltage¶
min_voltage = 200
Minimum voltage that battery could reach at lowest possible state of charge (used for compatibility checks with charger capabilities).
Default to 200 V.
min_current¶
min_current = 0
Minimum current we want the charger to deliver (only relevant for CCS ISO AC).
Default to 0 A.
min_discharge_power¶
min_discharge_power = 2000
Minimum discharge power, in Watts. Applicable in bidirectional mode only.
Default to 0 W.
min_energy_request¶
min_energy_request = 0
Absolute minimum energy request, in Wh. Can be dynamically overloaded through the Generic CAN Interface. Applicable in bidirectional mode only.
Default to 0 Wh.
target_voltage¶
target_voltage = 450
The target voltage sent to EVSE during the current delivery loop.
Default to 450 V.
Note
This is a Constant Current charging process. Target voltage should be higher than the battery voltage will ever reach at maximum state of charge.
energy_capacity¶
energy_capacity = 0
Energy capacity of the battery, in Wh. Required for bidirectional power transfers. Otherwise it is optional but recommended. Used for various informational calculations (SoC, remaining time, etc.).
Default to 0 Wh.
max_soc¶
max_soc = 80
Maximum state of charge above which Advantics controller will trigger a normal stop. Only valid for DC charging. Set it to 80 to only do bulk charging.
Default to 99 %.
is_bidirectional¶
is_bidirectional = true
To allow bidirectionality, set to true.
Default to false.
dynamic_current_limit¶
dynamic_current_limit = true
Allows the use of DC_Status1.Max_Charge_Current and DC_Status1.Max_Discharge_Current CAN bus signals to dynamically update the EV Maximum charge current and EV Maximum Discharge current when the config entry "use_dynamic_current_limits" is set to true. Otherwise the static config values "max_current" and "max_discharge_current" are used.
inhibit_precharge_unmatch_t¶
inhibit_precharge_unmatch_t = 1
When charging DC, in precharge the controller is actively checking the voltage at the inlet is within ±20 V of the battery voltage. When the inlet voltage match this range, the contactors are commanded to close.
Contactors do not necessarily close immediately. In situations where contactors are actually managed by the vehicle and not the charge controller, the vehicle could be "preparing" for a few seconds before actually closing the contactors. While the controller waits to receive feedback that the contactors are closed, it will keep checking the inlet voltage is matching. If it no longer does for whatever reason, the controller considers it is an unmatch, and commands the contactors to reopen in order to avoid arcing.
However in other situations, the moment contactors are actually closing, the reading of the inlet voltage could vary widely, by a few hundreds volt. This is particularly the case when using a CAN sensor that measures the inlet voltage as a difference of two channels, themselves referenced to the battery DC-. If both contactors do not close exactly at the same time, the measured then calculated inlet voltage is invalid for a short amount of time. This config entry is here to prevent reopening the contactors for a specified amount of time after commanding them to close, in case there is a voltage unmatch.
Default to 1 s.
current_ramp¶
current_ramp = 20
Maximum current ramp-up rate, in A/s. Will be used to limit current requests sent to charger.
Default to 20 A/s.
NOTE: The ramp uses a linear interpolation, such that the current increase between two requests does not exceed this rate. For instance, between two requests spaced by 100ms, with a ramp-up rate limit of 20 A/s, the current request can only increase by 2 A in that time period.