The control unit consists of a main function, sub-function, self-diagnostic function and fail-safe function.