10.4. Horn Driver - HornDrvr
Id |
HornDrvr |
Title |
Horn Driver |
System |
Passive Safety |
Document Type |
Application Software Component Specification Preview |
10.4.1. Overview
This software component is responsible for controlling the operation of the vehicle’s horn. It monitors the horn switch input and the horn driver circuit to detect any faults or abnormal conditions. Based on the detected state, it activates or deactivates the horn and sets the appropriate diagnostic trouble codes (DTCs).
10.4.2. Functions
Title |
Description |
|
|---|---|---|
1 |
Actuate Horn |
This function controls the activation and deactivation of the horn based on the horn switch input. When the horn switch is pressed, it enables the horn driver circuit, allowing the horn to sound. When the horn switch is released, it disables the horn driver circuit, turning off the horn |
2 |
Fault Detection |
This function monitors the horn driver circuit for any faults or abnormal conditions. It checks for open circuit, short circuit, and other error conditions. Based on the detected fault, it sets the appropriate DTC and updates the horn status output |
3 |
Diagnostic Trouble Code Management |
This function manages the activation and deactivation of DTCs related to the horn system. It sets the appropriate DTC based on the detected fault condition and clears the DTC when the fault is resolved. |
10.4.3. Ports
Id |
Direction |
Data Type |
Dimensions |
Unit |
|
|---|---|---|---|---|---|
1 |
HornActuationReq |
Incoming |
Enum: vtHornSwtReq_t |
[-1] |
inherit |
10.4.4. Parameters
Id |
Data Type |
Dimensions |
Range |
Unit |
Description |
|
|---|---|---|---|---|---|---|
1 |
HorndrvFltDetnTiout |
single |
[1,1] |
Min: 0, Max: 10 |
s |
Horn fault detection timeout |
2 |
HorndrvRstFltTiout |
single |
[1,1] |
Min: 0, Max: 10 |
A |
Horn reset from fault timeout |
3 |
HorndrvThdOpenCirc |
single |
[1,1] |
Min: 0, Max: 10 |
A |
Horn open circuit detection current threshold |
4 |
HorndrvThdShoCirc |
single |
[1,1] |
Min: 0, Max: 10 |
A |
Horn short circuit detection current threshold |