DC contactors¶
Advantics controller can control DC contactors directly with its embedded H-Bridge driver. Or, if you use special types of contactors and/or want to add addition checks before closing/opening contactors, this generic interface will tell you when to close or open them. In such case, you have to provide feedback on their status.
These configuration entries are all under the [vehicle] section.
dc_contactors_use_ios¶
dc_contactors_use_ios = false
Specify if DC contactors control is done with the dedicated controller IOs or through the vehicle communication interface. If set to false, it means the communication interface is used. Otherwise, if set to true, the corresponding message in the communication interface are ignored.
Default to false.
dc_contactors_ios_has_feedback¶
dc_contactors_ios_has_feedback = true
Some contactors don't have any feedback wireable on Advantics controller dedicated digital input (it has to contact to ground when closed).
Default to true.
disable_e_stop_contactor_force_open_current_not_reliable¶
Note
This is an advanced configuration option.
disable_e_stop_contactor_force_open_current_not_reliable = false
Disables force opening the contactors during E-stop when the current measurement is not reliable (e.g. due to a CAN reporting failure).
By default, when the current measurement is not reliable during an E-stop, the contactors are
immediately force-opened to ensure safety. Setting this to true disables that behaviour.
Default to false.
delay_e_stop_contactor_force_open_current_not_reliable¶
Note
This is an advanced configuration option.
delay_e_stop_contactor_force_open_current_not_reliable = false
Instead of immediately force-opening the contactors when the current measurement is not reliable during an E-stop, this option introduces a configurable delay to give time for the system to stabilize before opening.
Only effective if disable_e_stop_contactor_force_open_current_not_reliable is set to false.
Default to false.
contactor_force_open_current_not_reliable_delay_ms¶
Note
This is an advanced configuration option.
contactor_force_open_current_not_reliable_delay_ms = 60000
Delay in milliseconds before force-opening the contactors during E-stop when the current measurement is not reliable.
Only effective if delay_e_stop_contactor_force_open_current_not_reliable is set to true and
disable_e_stop_contactor_force_open_current_not_reliable is set to false.
Default to 60000 ms (60 s).
enable_e_stop_contactor_force_open_timeout¶
Note
This is an advanced configuration option.
enable_e_stop_contactor_force_open_timeout = false
Enables a timeout after which the contactors are force-opened during E-stop even if the current is still above 5 A. This is a last-resort measure if the current does not drop after E-stop.
By default, the contactors are not force-opened while current is still flowing, to avoid damaging them.
Default to false.
contactor_force_open_timeout_ms¶
Note
This is an advanced configuration option.
contactor_force_open_timeout_ms = 60000
Timeout in milliseconds after which the contactors are force-opened during E-stop while current is still flowing (above 5 A).
Only effective if enable_e_stop_contactor_force_open_timeout is set to true.
Default to 60000 ms (60 s).
dc_contactors_ios_delay¶
Note
This is an advanced configuration option.
dc_contactors_ios_delay = 0
Delay, in seconds, between the moment the controller commands the contactors through its IOs and
the moment it considers them closed. It only applies when dc_contactors_use_ios is true and
dc_contactors_ios_has_feedback is false: with no feedback wired, the controller has no way to
observe the actual transition, so it waits this long instead.
Default to 0 s.
Possible Configurations¶
dc_contactors_ios_has_feedback == False |
dc_contactors_ios_has_feedback == True (default) |
|
|---|---|---|
dc_contactors_use_ios == False (default) |
|
|
dc_contactors_use_ios == True |
|
|