9.2. Low Voltage Battery Management System Driver - LvBatMngtSysDrvr

Id

LvBatMngtSysDrvr

Version

0.4.0.0

Title

Low Voltage Battery Management System Driver

System

Low Voltage Power

Document Type

Application Software Component Specification Preview

9.2.1. Overview

This is a software driver for the intelligent battery sensor from HELLA company. Low Voltage Battery Management System Driver is responsible for managing the low-voltage battery system in the vehicle. It receives input signals from the battery management system (BMS) and processes them to provide information about the battery’s state, such as the state of charge (SoC), state of health (SoH), voltage, current, and temperature. The component also sends commands to the BMS, such as a wake-up command, and reports faults related to the battery system.

9.2.2. Functions

Title

Description

1

Check Input Validity

This function checks the validity of the input signals from the BMS and generates the appropriate wake-up command for the BMS based on the wake-up status.

2

Process Invalid Frames

This function processes the received frames from the BMS and determines if any frame is invalid or corrupted. It also handles the case when no signal is received for a certain period.

3

Signal Saturation

This function applies saturation limits to the input signals from the BMS to ensure that the output values are within the valid range.

4

Fault Reporting

This function reports faults related to the battery system, such as communication loss with the BMS or battery defects.

5

Output Generation

This function generates the output signals based on the processed input signals from the BMS, including the battery’s SoC, SoH, voltage, current, and temperature.

9.2.3. Ports

Id

Direction

Data Type

Dimensions

Unit

Description

Keywords

1

Ts

Incoming

single

[1]

s

Sample time

Ts

2

IBS_UIT

Incoming

Bus: LIN_IBS_UIT_t

[1]

inherit

3

IBS_UIT_valid

Incoming

boolean

[1]

inherit

4

IBS_BZE1

Incoming

Bus: LIN_IBS_BZE1_t

[1]

inherit

5

IBS_BZE1_valid

Incoming

boolean

[1]

inherit

6

IBS_STATUS

Incoming

Bus: LIN_IBS_STATUS_t

[1]

inherit

7

IBS_STATUS_valid

Incoming

boolean

[1]

inherit

8

BmsFlt

Outgoing

boolean

[1]

BMS error

Bms Fault

9

BatFlt

Outgoing

boolean

[1]

Battery has defect

Battery Fault

10

BatU

Outgoing

single

[1]

V

Battery voltage

Battery Voltage

11

BatUSt

Outgoing

Enum: CmnenaQly

[1]

Validation of IBS_UIT message for BatU

Battery Voltage State

12

BatT

Outgoing

int16

[1]

degC

Battery temperature

Battery Temperature

13

BatTSt

Outgoing

Enum: CmnenaQly

[1]

Validation of IBS_STATUS message for BatT

Battery Temperature State

14

BatSoh

Outgoing

single

[1]

%

Battery state of health

Battery Soh

15

BatSohSt

Outgoing

Enum: CmnenaQly

[1]

Validation of IBS_BZE1 message for BatSoh

Battery Soh State

16

BatSoc

Outgoing

single

[1]

%

Battery state of charge

Battery Soc

17

BatSocSt

Outgoing

Enum: CmnenaQly

[1]

Validation of IBS_BZE1 message for BatSoc

Battery Soc State

18

BatCur

Outgoing

single

[1]

A

Battery Current

Battery Current

19

BatCurSt

Outgoing

Enum: CmnenaQly

[1]

Validation of IBS_UIT message for BatCur

Battery Current State

20

BmsWakeUpSt

Outgoing

boolean

[1]

BMS wake up status

Bms Wake Up State

21

MASTER_FRAME

Outgoing

Bus: LIN_MASTER_FRAME_t

[-1]

inherit

22

Diagc

Outgoing

Bus: LvbmsdrvDiagc

[-1]

inherit

Diagnostic information

Diagnostic

9.2.4. Parameters

Id

Data Type

Dimensions

Range

Unit

Description

Keywords

1

LvbmsdrvWakeUpSocThd

uint8

[1,1]

Min: 0, Max: 100

%

threshold of SoC for LV battery to WakeUp

Lvbmsdrv Wake Up Soc Threshold

2

LvbmsdrvFltTiout

uint8

[1,1]

Min: , Max:

s

timeout to detect fault

Lvbmsdrv Fault Timeout