4.27.2. Bender iso165c
4.27.2.1. Module Files
4.27.2.1.1. Driver
src/app/driver/imd/bender/iso165c/bender_iso165c.c
src/app/driver/imd/bender/iso165c/bender_iso165c.h
4.27.2.1.2. Configuration
src/app/driver/imd/bender/iso165c/bender_iso165c.c
src/app/driver/imd/bender/iso165c/bender_iso165c.h
4.27.2.1.3. Unit Test
tests/unit/app/driver/imd/bender/iso165c/test_bender_iso165c.c
4.27.2.2. Description
4.27.2.2.1. Communication
The Bender iso165C is connected to the BMS via CAN-bus, the handling of the messages is implemented in the can callback files.
4.27.2.2.2. Description of the IMD state machine
The Bender iso165C driver is interfaced and controlled by the superimposed IMD state machine. The required functionality, that needs to be provided by this driver is:
Initialize the Bender iso165C device
Activate the insulation measurement
Deactivate the insulation measurement
Measurement of the insulation resistance
Each functionality is implemented in a dedicated state machine that is explained in detail in the following.
4.27.2.2.2.1. Initialization procedure
The state flow diagram of the initialization procedure of the Bender iso165C state machine is depicted below.
The initialization process is implemented in function I165C_Initialize.
4.27.2.2.2.2. Activation of insulation measurement
The state flow diagram of the enabling procedure of the Bender iso165C state machine is depicted below.
The enabling process is implemented in function I165C_Enable.
4.27.2.2.2.3. Disable insulation measurement
The state flow diagram of the disabling procedure of the Bender iso165C state machine is depicted below.
The disabling process is implemented in function I165C_Disable.
4.27.2.2.2.4. Insulation measurement
The state flow diagram of the periodic insulation measurement procedure of the Bender iso165C state machine is depicted below.
The measurement process is implemented in function I165C_Running.