11.1. Alarm Driver - AlrmDrvr
Id |
AlrmDrvr |
Title |
Alarm Driver |
System |
Security |
Document Type |
Application Software Component Specification Preview |
11.1.1. Overview
The Alarm Driver software component handles the vehicle alarm system functionality. It interfaces with the Alarm Control Unit (ACU) to arm, disarm and trigger the alarm based on various vehicle states and user inputs. The component monitors door ajar states, ignition status and intrusion detection to control the alarm state.
11.1.2. Functions
Title |
Description |
|
|---|---|---|
1 |
Alarm Arm Disarm Control |
Controls arming and disarming of the alarm system based on user requests and vehicle state. Interfaces with the ACU to activate or deactivate the alarm. |
2 |
Alarm Trigger Monitoring |
Monitors vehicle signals like door ajar, ignition state, and intrusion detection to trigger the alarm when armed if an intrusion is detected. Activates the siren and indication when the alarm is triggered. |
11.1.3. Ports
Id |
Direction |
Data Type |
Dimensions |
Unit |
|
|---|---|---|---|---|---|
1 |
reqAlarmState |
Incoming |
Bus: CAN_reqAlarmState_t |
[-1] |
inherit |
2 |
reqAlarmState_valid |
Incoming |
boolean |
[-1] |
inherit |
3 |
VSM_State |
Incoming |
Enum: VtSig_VSM_State_t |
[-1] |
inherit |
4 |
VSM_State_valid |
Incoming |
boolean |
[-1] |
inherit |
5 |
MS_ALARM_STA |
Incoming |
Bus: CAN_MS_ALARM_STA_t |
[-1] |
inherit |
6 |
MS_ALARM_STA_valid |
Incoming |
boolean |
[-1] |
inherit |
7 |
DriverDoorAjar |
Incoming |
Enum: VtSig_sigLatchAjarState_t |
[-1] |
inherit |
8 |
DriverDoorAjar_valid |
Incoming |
boolean |
[-1] |
inherit |
9 |
PassDoorAjar |
Incoming |
Enum: VtSig_sigLatchAjarState_t |
[-1] |
inherit |
10 |
PassDoorAjar_valid |
Incoming |
boolean |
[-1] |
inherit |
11 |
BonnetAjar |
Incoming |
Enum: VtSig_sigLatchAjarState_t |
[-1] |
inherit |
12 |
BonnetAjar_valid |
Incoming |
boolean |
[-1] |
inherit |
13 |
BootAjar |
Incoming |
Enum: VtSig_sigLatchAjarState_t |
[-1] |
inherit |
14 |
BootAjar_valid |
Incoming |
boolean |
[-1] |
inherit |
15 |
ChargeFlapAjar |
Incoming |
Enum: AcdcPortSt_t |
[-1] |
inherit |
16 |
ChargeFlapAjar_valid |
Incoming |
boolean |
[-1] |
inherit |
17 |
VehAlarmState |
Outgoing |
Bus: CAN_VehAlarmState_t |
[-1] |
inherit |
18 |
VehAlarmState_send |
Outgoing |
boolean |
[-1] |
inherit |
19 |
AlarmRequest |
Outgoing |
Bus: CAN_MS_ALARM_REQ_t |
[-1] |
inherit |
20 |
AlarmRequest_send |
Outgoing |
boolean |
[-1] |
inherit |
11.1.4. Parameters
Id |
Data Type |
Dimensions |
Range |
Unit |
Description |
|
|---|---|---|---|---|---|---|
1 |
AlarmdrvAlrmArmMaxCt |
uint8 |
[1,1] |
Min: 0, Max: 10 |
Max number of retries to try and arm the alarm if the alarm fails to arm |
|
2 |
AlarmdrvAlrmArmThd |
single |
[1,1] |
Min: 0, Max: 50 |
V |
Voltage threshold for conversion to bool |
3 |
AlarmdrvAlrmOpEfcTioutCh |
single |
[1,1] |
Min: 25, Max: 300 |
s |
Parameter which defines the time duration of optical effects |
4 |
AlarmdrvAlrmReqTxTi |
single |
[1,1] |
Min: 0, Max: 20 |
s |
CAN transmit time for alarm request message |
5 |
AlarmdrvAlrmTrigThd |
single |
[1,1] |
Min: 0, Max: 50 |
V |
Voltage threshold for conversion to bool |
6 |
AlarmdrvAlrmTrigThdTiout |
single |
[1,1] |
Min: 0, Max: 10 |
s |
Time duration for conversion flapping voltage signal to bool |
7 |
AlarmdrvDoorCfg |
boolean |
[1,5] |
Min: 0, Max: 1 |
Doors available according to vehicle configuration |
|
8 |
AlarmdrvPtlArmModSel |
boolean |
[1,1] |
Min: 0, Max: 1 |
0 - Fully Armed; 1 - Partially Armed |
|
9 |
AlarmdrvUseACUAnIf |
boolean |
[1,1] |
Min: 0, Max: 1 |
Use ACU analog interface instead CAN |