13.2.20. evse_board_support¶
This interface defines the board support driver for AC or DC minimal power path: ControlPilot, output contactors. Other components of the power path such as IMD(DC)/RCD(AC)/Connector Lock etc have their own interfaces.
13.2.20.1. Variables¶
event:object (board_support_common-BspEvent)
Event from ControlPilot signal/output relais
There is an extended definition for this object here.
ac_nr_of_phases_available:integer
Instantaneous phase count available to car
telemetry:object (evse_board_support-Telemetry)
Other telemetry
There is an extended definition for this object here.
capabilities:object (evse_board_support-HardwareCapabilities)
Hardware capabilities/limits. The BSP must publish this variable at least once during start up. For AC, the capabilities are the limits of the AC hardware power path. For DC, this are the limits for the AC input for the AC/DC converter. The BSP may publish this variable to update limits in case they change during runtime, e.g. if the maximum current changes because the hardware gets too hot.
There is an extended definition for this object here.
ac_pp_ampacity:object (board_support_common-ProximityPilot)
Current carrying capacity of the connected cable in ampere for AC charging with a socket. Publish whenever it changes. This has no meaning for DC or AC charging with a fixed attached cable, it does not need to be implemented and the returned value is not used in those cases.
There is an extended definition for this object here.
request_stop_transaction:object (evse_manager-StopTransactionRequest)
Publish to stop the transaction gracefully (e.g. user pressed the stop button)
There is an extended definition for this object here.
13.2.20.2. Commands¶
enable:void
Enables or disables the charging port. Typically disabled results in control pilot state F. It must not accept cars for new charging sessions if disabled.
value:boolean <required>
True: enabled, false: disabled.
pwm_on:void
Turns PWM on with duty cycle (in percent)
value:number <required>
PWM duty cycle (>0, <100)
pwm_off:void
Turns PWM off (constant high voltage)
pwm_F:void
Turns PWM off with Error F (constant negative voltage)
allow_power_on:void
Sets allow_power_on flag. If false, Relais must never be switched on.
value:object <required> (evse_board_support-PowerOnOff)
Flag and context
There is an extended definition for this object here.
ac_switch_three_phases_while_charging:void
Optional, in case of doubt do not implement. Report in hardware_capabilites if this command is supported. This command switches between one and three phase operation during an active charging session. Some cars can be permanently destroyed by that, so the bsp needs to implement a special sequence for the switching. The exact sequence can be defined by the BSP, but one example would be a C2->C1->B1->F->B1->B2->C2 or similar. Use with caution.
value:boolean <required>
True: switch to 3ph, False: switch to 1ph
evse_replug:void
Optional, in case of doubt do not implement. Special command initiate a virtual replug sequence without restarting session. Emits a EvseReplugStarted event if supported and started. BSP will take care to not emit other events such as CarPluggedIn/Out during that time. Once finished it will emit a EvseReplugFinished. This is mainly for testing purposes, don’t implement for production use.
value:integer <required>
Time in ms for the duration of the replug sequence
ac_read_pp_ampacity:object
Read the current carrying capacity of the connected cable in ampere for AC charging with a socket. This function will be used by EvseManager to get the PP value at a distinct time. You should also publish the var pp_ampacity whenever the PP ampacity reading changes to signal changes e.g. during the charging time. This has no meaning for DC or AC charging with a fixed attached cable, it does not need to be implemented and the returned value is not used in those cases.
Result:object (board_support_common-ProximityPilot)
Returns the current carrying capacity of the connected cable
There is an extended definition for this object here.
ac_set_overcurrent_limit_A:void
Many chargers implement a fast over current shutdown directly in the hardware that triggers if the EV draws more current than the PWM allows. If the hardware does not have this functionality, just ignore this command. Do not use it to set the PWM duty cycle. Otherwise this command reports a value that should be used for the overcurrent detection. A margin needs to be added to avoid false triggers. Do not use the PWM duty cycle to infer the current limit in the BSP, as this will not work with HLC.
value:number <required>
Ampere current limit value