sys module) takes care of all system related tasks. Periodic system checks
can be implemented here. In the default configuration, it starts other
important statemachines (e.g.,
6.8.1. Module Files¶
- Driver Configuration:
Fig. 6.13 shows the statemachine implementing the
First, the following statemachines are initialized with state requests:
The state of these modules is checked to ensure that the initialization was
successful. A timeout mechanism is used: the
SYS statemachine goes into an
error state goes in case one of the initializations goes wrong.
The next step is to wait until a complete measurement cycle of the cell voltages and temperatures has taken place before enabling the periodic sending of values per CAN, to avoid the transmission of invalid data at startup.
The presence of a current sensor is then checked.
The last step is the initialization of
BMS state machine with a state
- After all these steps, the system is fully running. If necessary, additional
- periodic system checks can be implemented in the