17.4. Wiper Controller - WiprCtlr

Id

WiprCtlr

Version

main

Title

Wiper Controller

System

Wiper Washer

Document Type

Application Software Component Specification Preview

17.4.1. Overview

The Wiper Controller component controls the vehicle’s windshield wipers based on user requests and feedback from the Wiper Driver. It implements a state machine to manage the wiper operation modes and transitions between them. The component also detects and reports faults related to the wiper system.

17.4.2. Functions

Title

Description

1

Wiper Control State Machine

Implements the main state machine that controls the wiper operation modes (OFF, ON) and the transitions between them based on user requests and wiper status feedback.

2

Wiper Command Generation

Generates the appropriate wiper command (turn off, low speed, high speed) to be sent to the Wiper Driver based on the current state and user request.

3

Wiper Home Position Management

Controls the wiper “stay in home position” command and manages faults related to the wiper failing to reach the home position.

4

Wiper Request Validation

Validates the wiper request signals and sets faults in case of invalid requests.

5

Wiper Status Monitoring

Monitors the wiper status feedback signals from the Wiper Driver and sets faults in case of errors or invalid states.

6

Fault Detection and Reporting

Detects and reports faults related to the wiper system, such as wiper control faults, home position faults, and communication faults.

17.4.3. Ports

Id

Direction

Data Type

Dimensions

Unit

Description

Keywords

1

WiprReq

Incoming

Enum: CmnenaWiprMod

[1]

Wiper actual request

Wiper Request

2

WiprReqVld

Incoming

boolean

[1]

Wiper actual request validity

Wiper Request Valid

3

WiprHomePosn

Incoming

boolean

[1]

Wiper at home position feedback

Wiper Home Position

4

WiprHomePosnVld

Incoming

boolean

[1]

Wiper at home position validity

Wiper Home Position Valid

5

WiprSt

Incoming

Enum: CmnenaWiprMod

[1]

Wiper actual state

Wiper State

6

WiprStVld

Incoming

boolean

[1]

Wiper actual state validity

Wiper State Valid

7

WiprCmd

Outgoing

Enum: CmnenaWiprMod

[1]

Wiper mode command

Wiper Command

8

WiprStayHomeCmd

Outgoing

boolean

[1]

Stay at home position command

Wiper Stay Home Command

9

Diagc

Outgoing

Bus: WprctrlDiagc

[-1]

Diagnostic bus that contains info about wiper faults:
- wiper request is not valid
- wiper feedback state is not valid
- home position fault
- wiper critical fault

Diagnostic

17.4.4. Parameters

Id

Data Type

Dimensions

Range

Unit

Description

Keywords

1

WprctrlCtlFltTiout

single

[1,1]

Min: 0, Max: 5

sec

Waiting time before control fault flag is raised

Wprctrl Control Fault Timeout

2

WprctrlIgnHome

boolean

[1,1]

Min: 0, Max: 1

Ignore home position input for wipers parking

Wprctrl Ignore Home

3

WprctrlIgnHomeDly

single

[1,1]

Min: 0, Max: 10

sec

Waiting time before wiper command is reset

Wprctrl Ignore Home Delay

4

WprctrlIntmDly

single

[1,1]

Min: 0, Max: 60

sec

Delay between wiper single strokes while in Intermittent Repeat mode

Wprctrl Intermittent Delay

5

WprctrlLtchCtlFlt

boolean

[1,1]

Min: 0, Max: 1

Latch Wiper Control Fault until the successful actuation

Wprctrl Latch Control Fault

6

WprctrlMaxHomePosnTi

single

[1,1]

Min: 0, Max: 60

sec

Maximum time for a wiper to reach home position

Wprctrl Maximum Home Position Time

7

WprctrlStuckHomeFltTiout

single

[1,1]

Min: 0, Max: 10

sec

Waiting time before stopping attempts to remove a wiper from home position

Wprctrl Stuck Home Fault Timeout