17.2. Fluid Level Driver - FldLvlDrvr

Id

FldLvlDrvr

Version

main

Title

Fluid Level Driver

System

Wiper Washer

Document Type

Application Software Component Specification Preview

17.2.1. Overview

This software component is responsible for detecting the level of washer fluid in the vehicle’s washer fluid reservoir. It utilizes input signals from a fluid level sensor and power supply pins to determine the fluid level and report it to other systems in the vehicle.

17.2.2. Functions

Title

Description

1

Detect Fluid Level

Reads the voltage from the fluid level sensor pin and determines if the fluid level is high or low based on predefined voltage thresholds.

2

Report Fluid Level

Sends the detected fluid level information to other systems in the vehicle, such as the instrument cluster or body control module, for display or further processing.

3

Monitor Sensor Status

Monitors the status of the fluid level sensor and power supply pins to detect any faults or errors. If a fault is detected, it sets a diagnostic trouble code (DTC) for further troubleshooting.

4

Configure Sensor Pins

Initializes and configures the fluid level sensor and power supply pins with the appropriate modes (input, pull-up, pull-down) based on the vehicle configuration.

17.2.3. Ports

Id

Direction

Data Type

Dimensions

Unit

Description

Keywords

1

FldLvlSnsSt

Incoming

Enum: InpoutPinSt

[1]

State of sensor pin

Fluid Level Sense State

2

FldLvlSnsU

Incoming

single

[1]

V

Voltage on sensor pin

Fluid Level Sense Voltage

3

FldLvlPwrSt

Incoming

Enum: InpoutPinSt

[1]

State of power pin

Fluid Level Power State

4

FldLvlPwrU

Incoming

single

[1]

V

Voltage on power pin

Fluid Level Power Voltage

5

LiqLvl

Outgoing

single

[1]

%

Liquid level

Liquid Level

6

LiqLvlVld

Outgoing

boolean

[1]

Liquid level valid

Liquid Level Valid

7

FldLvlPwrDuty

Outgoing

uint8

[1]

%

Duty on power pin

Fluid Level Power Duty

8

FldLvlSnsMod

Outgoing

Enum: InpoutPinMod

[1]

Sensor pin mode

Fluid Level Sense Mode

9

FldLvlSnsPuMod

Outgoing

Enum: InpoutPinPuMod

[1]

Sensor pin pull mode

Fluid Level Sense Pull Mode

10

FldLvlPwrMod

Outgoing

Enum: InpoutPinMod

[1]

Power pin mode

Fluid Level Power Mode

11

Diagc

Outgoing

Bus: FlvldrvDiagc

[-1]

Diagnostic bus that contains info about sensor failure

Diagnostic

17.2.4. Parameters

Id

Data Type

Dimensions

Range

Unit

Description

Keywords

1

FlvldrvFldLoAtHiU

boolean

[1,1]

Min: 0, Max: 1

TRUE to detect low level if voltage is high

Flvldrv Fluid Low At High Voltage

2

FlvldrvPinHiFldLvlU

single

[1,1]

Min: 0, Max: 32

V

PIN voltage when fluid level is HIGH

Flvldrv Pin High Fluid Level Voltage

3

FlvldrvPinLoFldLvlU

single

[1,1]

Min: 0, Max: 32

V

PIN voltage when fluid level is LOW

Flvldrv Pin Low Fluid Level Voltage

4

FlvldrvSnsPinMod

uint8

[1,1]

Min: 0, Max: 2

0 - input, 1 - pullUp, 2 - pullDown

Flvldrv Sense Pin Mode

5

FlvldrvPwrPinEna

boolean

[1,1]

Min: 0, Max: 1

Enabler of FluidLevelPower pin

Flvldrv Power Pin Enable

6

FlvldrvSnsrFltTiout

single

[1,1]

Min: 0, Max:

sec

Parameter which determine maximum duration to sensor error

Flvldrv Sensor Fault Timeout