3.6. Latch Manager - LtchMgr
Id |
LtchMgr |
Title |
Latch Manager |
System |
Closure |
Document Type |
Application Software Component Specification Preview |
3.6.1. Overview
The Latch Manager component controls the locking and unlocking of the vehicle doors, bonnet and boot based on central lock commands and door open requests. It detects mislock events and vehicle movement to determine the appropriate latch states.
3.6.2. Functions
Title |
Description |
|
|---|---|---|
1 |
Central Lock Control |
Controls the locking and unlocking of all doors based on the central lock command. Sends latch requests to individual door latch components. |
2 |
Mislock Event Detection |
Detects mislock events where a door, bonnet or boot is ajar when attempting to lock. Sends a mislock event signal if detected. |
3 |
Vehicle Movement Detection |
Detects if the vehicle is moving based on vehicle speed and a configurable threshold and timeout. Sends a vehicle moving status. |
4 |
Bonnet and Boot Lock Control |
Controls the locking and unlocking of the bonnet and boot based on open requests, vehicle lock status and configuration parameters. |
3.6.3. Ports
Id |
Direction |
Data Type |
Dimensions |
Unit |
|
|---|---|---|---|---|---|
1 |
CentralLockCommand |
Incoming |
Enum: VtSig_CentralLockCommand_t |
[-1] |
inherit |
2 |
CentralLockCommand_valid |
Incoming |
boolean |
[-1] |
inherit |
3 |
VehicleSpeed |
Incoming |
single |
[-1] |
inherit |
4 |
VehicleSpeed_valid |
Incoming |
boolean |
[-1] |
inherit |
5 |
BonnetOpenReq |
Incoming |
Enum: VtSig_OpenReq_t |
[-1] |
inherit |
6 |
BonnetOpenReq_valid |
Incoming |
boolean |
[-1] |
inherit |
7 |
BootOpenReq |
Incoming |
Enum: VtSig_OpenReq_t |
[-1] |
inherit |
8 |
BootOpenReq_valid |
Incoming |
boolean |
[-1] |
inherit |
9 |
ExteriorDriverDoorOpenSwitch |
Incoming |
Enum: VtSig_SensorState_t |
[-1] |
inherit |
10 |
ExteriorDriverDoorOpenSwitch_valid |
Incoming |
boolean |
[-1] |
inherit |
11 |
InteriorDriverDoorOpenSwitch |
Incoming |
Enum: VtSig_sigIntOpenReq_t |
[-1] |
inherit |
12 |
InteriorDriverDoorOpenSwitch_valid |
Incoming |
boolean |
[-1] |
inherit |
13 |
ExteriorPassDoorOpenSwitch |
Incoming |
Enum: VtSig_SensorState_t |
[-1] |
inherit |
14 |
ExteriorPassDoorOpenSwitch_valid |
Incoming |
boolean |
[-1] |
inherit |
15 |
InteriorPassDoorOpenSwitch |
Incoming |
Enum: VtSig_sigIntOpenReq_t |
[-1] |
inherit |
16 |
InteriorPassDoorOpenSwitch_valid |
Incoming |
boolean |
[-1] |
inherit |
17 |
BootLatchState |
Incoming |
Enum: VtSig_sigLatchState_t |
[-1] |
inherit |
18 |
BootLatchState_valid |
Incoming |
boolean |
[-1] |
inherit |
19 |
BonnetLatchState |
Incoming |
Enum: VtSig_sigLatchState_t |
[-1] |
inherit |
20 |
BonnetLatchState_valid |
Incoming |
boolean |
[-1] |
inherit |
21 |
DriverDoorLatchState |
Incoming |
Enum: VtSig_sigLatchState_t |
[-1] |
inherit |
22 |
DriverDoorLatchState_valid |
Incoming |
boolean |
[-1] |
inherit |
23 |
PassDoorLatchState |
Incoming |
Enum: VtSig_sigLatchState_t |
[-1] |
inherit |
24 |
PassDoorLatchState_valid |
Incoming |
boolean |
[-1] |
inherit |
25 |
WinDropZoneStatePassenger |
Incoming |
Enum: VtSig_sigWinDropZone_t |
[-1] |
inherit |
26 |
WinDropZoneStatePassenger_valid |
Incoming |
boolean |
[-1] |
inherit |
27 |
WinDropZoneStateDriver |
Incoming |
Enum: VtSig_sigWinDropZone_t |
[-1] |
inherit |
28 |
WinDropZoneStateDriver_valid |
Incoming |
boolean |
[-1] |
inherit |
29 |
ExteriorBootOpenReq |
Incoming |
Enum: VtSig_SensorState_t |
[-1] |
inherit |
30 |
ExteriorBootOpenReq_valid |
Incoming |
boolean |
[-1] |
inherit |
31 |
ChargeFlapAjarState |
Incoming |
Enum: AcdcPortSt_t |
[-1] |
inherit |
32 |
ChargeFlapAjarState_valid |
Incoming |
boolean |
[-1] |
inherit |
33 |
VehicleIsMoving |
Outgoing |
Enum: VtSig_sigVehicleMoving_t |
[-1] |
inherit |
34 |
DriverDoorLocked |
Outgoing |
Enum: VtSig_sigVehicleLocked_t |
[-1] |
inherit |
35 |
DriverDoorLatchRequest |
Outgoing |
Enum: VtSig_sigLatchRequest_t |
[-1] |
inherit |
36 |
PassDoorLocked |
Outgoing |
Enum: VtSig_sigVehicleLocked_t |
[-1] |
inherit |
37 |
BonnetLocked |
Outgoing |
Enum: VtSig_sigVehicleLocked_t |
[-1] |
inherit |
38 |
BootLocked |
Outgoing |
Enum: VtSig_sigVehicleLocked_t |
[-1] |
inherit |
39 |
PassDoorLatchRequest |
Outgoing |
Enum: VtSig_sigLatchRequest_t |
[-1] |
inherit |
40 |
BonnetLatchRequest |
Outgoing |
Enum: VtSig_sigLatchRequest_t |
[-1] |
inherit |
41 |
BootLatchRequest |
Outgoing |
Enum: VtSig_sigLatchRequest_t |
[-1] |
inherit |
42 |
DriverDoorLatchStateExternal |
Outgoing |
Enum: VtSig_DoorLatchState_t |
[-1] |
inherit |
43 |
PassDoorLatchStateExternal |
Outgoing |
Enum: VtSig_DoorLatchState_t |
[-1] |
inherit |
44 |
DoorsOpenState |
Outgoing |
Enum: VtSig_DoorsOpenState_t |
[-1] |
inherit |
45 |
BulkheadDoorLatchState |
Outgoing |
Enum: VtSig_DoorLatchState_t |
[-1] |
inherit |
46 |
CargoRearDoorLatchState |
Outgoing |
Enum: VtSig_DoorLatchState_t |
[-1] |
inherit |
47 |
CargoSideDoorLatchState |
Outgoing |
Enum: VtSig_DoorLatchState_t |
[-1] |
inherit |
48 |
ServiceHatchLatchState |
Outgoing |
Enum: VtSig_ServiceHatchLatchState_t |
[-1] |
inherit |
49 |
DoorsSleepReadyState |
Outgoing |
Enum: VtSig_DoorsSleepReadyState_t |
[-1] |
inherit |
50 |
MislockEvent |
Outgoing |
Enum: VtSig_MislockEvent_t |
[-1] |
inherit |
51 |
MS_SEC_ST1 |
Outgoing |
Bus: CAN_MS_SEC_ST1_t |
[-1] |
inherit |
3.6.4. Parameters
Id |
Data Type |
Dimensions |
Range |
Unit |
Description |
|
|---|---|---|---|---|---|---|
1 |
MSLTCHMNGR_BootBonnetCentralLockInvalid |
uint8 |
[1,1] |
Min: 0, Max: 2 |
Lock/unlock status when central lock command is invalid: 0 - the latest, 1 - lock, 2 - unlock |
|
2 |
MSLTCHMNGR_CabinUnlatchInAnyState |
boolean |
[1,1] |
Min: 0, Max: 1 |
If 1 - send unlatch request even if the cabin latch is opened |
|
3 |
MSLTCHMNGR_DoublePressTimout |
single |
[1,1] |
Min: 0, Max: 3 |
sec |
Timeour for double pressing inside door button |
4 |
MSLTCHMNGR_EnableInternalSpeedLogic |
boolean |
[1,1] |
Min: 0, Max: 1 |
If true vehicle moving is used |
|
5 |
MSLTCHMNGR_ForceUnlockBonnet |
boolean |
[1,1] |
Min: 0, Max: 1 |
If 1 - force unlock bonnet |
|
6 |
MSLTCHMNGR_ForceUnlockBoot |
boolean |
[1,1] |
Min: 0, Max: 1 |
If 1 - force unlock boot |
|
7 |
MSLTCHMNGR_ForceUnlockDriverDoor |
boolean |
[1,1] |
Min: 0, Max: 1 |
If 1 - force unlock driver door |
|
8 |
MSLTCHMNGR_ForceUnlockPassDoor |
boolean |
[1,1] |
Min: 0, Max: 1 |
If 1 - force unlock pass door |
|
9 |
MSLTCHMNGR_IgnoreBonnetDoorLatchState |
boolean |
[1,1] |
Min: 0, Max: 1 |
If 1 - bonnet door latch state ignored in mislock event |
|
10 |
MSLTCHMNGR_IgnoreBootDoorLatchState |
boolean |
[1,1] |
Min: 0, Max: 1 |
If 1 - boot door latch state ignored in mislock event |
|
11 |
MSLTCHMNGR_IgnoreDriverDoorLatchState |
boolean |
[1,1] |
Min: 0, Max: 1 |
If 1 - driver door latch state ignored in mislock event |
|
12 |
MSLTCHMNGR_IgnorePassDoorLatchState |
boolean |
[1,1] |
Min: 0, Max: 1 |
If 1 - pass door latch state ignored in mislock event |
|
13 |
MSLTCHMNGR_MislockEventTimeout |
single |
[1,1] |
Min: 0, Max: 5 |
sec |
Timeout for detect is Mislock Event |
14 |
MSLTCHMNGR_UnlatchInAnyState |
boolean |
[1,1] |
Min: 0, Max: 1 |
If 1 - send unlatch request even if the boot / bonnet latch is opened |
|
15 |
MSLTCHMNGR_VehicleIsMovingThrs |
single |
[1,1] |
Min: 0, Max: 255 |
kph |
Vehicle Speed threshold for detect is vehicle moving |
16 |
MSLTCHMNGR_VehicleIsMovingTimeout |
single |
[1,1] |
Min: 0, Max: 5 |
sec |
Timeout for detect is vehicle moving |