10.3. Horn Controller - HornCtlr

Id

HornCtlr

Title

Horn Controller

System

Passive Safety

Document Type

Application Software Component Specification Preview

10.3.1. Overview

The Horn Controller component is responsible for managing the activation and deactivation of the vehicle’s horn based on various input signals and configuration parameters. It handles both manual horn requests from the driver and security alert horn requests.

10.3.2. Functions

Title

Description

1

Manage Horn Activation

This function processes the input signals, such as the horn switch request and the alarm horn request, and determines whether the horn should be activated or deactivated based on the configured parameters. It also handles the duration and timing of the horn activation for both manual and security alert scenarios.

2

Send Horn Actuation Request

This function sends the horn actuation request signal to the appropriate output, indicating whether the horn should be turned on or off based on the decision made by the Manage Horn Activation function.

10.3.3. Ports

Id

Direction

Data Type

Dimensions

Unit

1

HornSwitchReq

Incoming

Enum: VtSig_SensorState_t

[-1]

inherit

2

AlarmHornReq

Incoming

Enum: VtSig_AlarmHornReq_t

[-1]

inherit

3

HornActuationReq

Outgoing

Enum: vtHornSwtReq_t

[-1]

inherit

4

HornActuationReq_send

Outgoing

boolean

[-1]

inherit

10.3.4. Parameters

Id

Data Type

Dimensions

Range

Unit

Description

1

HornctrlAlrmCfg

boolean

[1,1]

Min: 0, Max: 1

Usage of security alarm 0 - Security Alarm installed 1 - Security Alarm NOT installed

2

HornctrlAlrmCycDur

single

[1,1]

Min: 0, Max: 10

s

Half cycle of the Alarm horn

3

HornctrlAlrmMinDur

single

[1,1]

Min: 0, Max: 10

s

Minimum request duration for enabling Alarm horn

4

HornctrlMaxDur

single

[1,1]

Min: 0, Max: 1000

s

Maximum horn Manual enabled duration

5

HornctrlMinDly

single

[1,1]

Min: 0, Max: 10

s

Minimum delay between horn Manual enablings

6

HornctrlMinDur

single

[1,1]

Min: 0, Max: 10

s

Minimum horn Manual enabled duration