3.3. Central Lock Controller - CenLockCtlr

Id

CenLockCtlr

Version

main

Title

Central Lock Controller

System

Closure

Document Type

Application Software Component Specification Preview

3.3.1. Overview

The Central Lock Controller is responsible for controlling the locking and unlocking of the vehicle doors based on various inputs and conditions. It processes requests from the key fob, mobile app, and other sources to determine the appropriate lock/unlock command to send to the door lock actuators.

3.3.2. Functions

Title

Description

1

Process Lock/Unlock Requests

Receives lock and unlock requests from the key fob, mobile app, and other input sources. Determines the appropriate lock/unlock command based on the current vehicle state and configuration parameters.

2

Control Door Lock Actuators

Sends the determined lock/unlock command to the door lock actuators to physically lock or unlock the vehicle doors.

3

Manage Vehicle Sleep/Wake

Controls transitioning the vehicle into and out of sleep state based on key fob presence and lock/unlock activity to conserve power.

4

Handle Mislock Events

Detects mislock events where a door fails to lock properly and notifies the driver.

5

Speed Lock/Unlock

Automatically locks the doors when the vehicle exceeds a configured speed threshold and unlocks them when the vehicle stops, based on configuration.

3.3.3. Ports

Id

Direction

Data Type

Dimensions

Unit

Keywords

1

MobApplCenLockReq

Incoming

Enum: CnloktlCenLockReq

[-1]

inherit

Mobile Application Central Lock Request

2

MobApplCenLockReqVld

Incoming

boolean

[1]

inherit

Mobile Application Central Lock Request Valid

3

ActVehSpd

Incoming

single

[-1]

inherit

Actual Vehicle Speed

4

ActVehSpdVld

Incoming

boolean

[1]

inherit

Actual Vehicle Speed Valid

5

VehLockSt

Incoming

Enum: CmnenaLockSt

[-1]

inherit

Vehicle Lock State

6

VehLockStVld

Incoming

boolean

[1]

inherit

Vehicle Lock State Valid

7

KeyFobCenLockReq

Incoming

Enum: CnloktlCenLockReq

[-1]

inherit

Key Fob Central Lock Request

8

KeyFobCenLockReqVld

Incoming

boolean

[1]

inherit

Key Fob Central Lock Request Valid

9

CrashNotif

Incoming

uint8

[-1]

inherit

Crash Notification

10

CrashNotifVld

Incoming

boolean

[1]

inherit

Crash Notification Valid

11

VehSt

Incoming

Enum: CmnenaVehSt

[-1]

inherit

Vehicle State

12

VehStVld

Incoming

boolean

[1]

inherit

Vehicle State Valid

13

MislockEvent

Incoming

boolean

[-1]

inherit

Mislock Event

14

MislockEvent_valid

Incoming

boolean

[1]

inherit

15

NfcReq

Incoming

boolean

[-1]

inherit

Nfc Request

16

NfcReqVld

Incoming

boolean

[1]

inherit

Nfc Request Valid

17

HvBatThermEve

Incoming

boolean

[-1]

inherit

Hv Battery Thermal Event

18

HvBatThermEveVld

Incoming

boolean

[1]

inherit

Hv Battery Thermal Event Valid

19

KeyRng

Incoming

Enum: CnloktlKeyRng

[-1]

inherit

Key Range

20

KeyRngVld

Incoming

boolean

[1]

inherit

Key Range Valid

21

HmiCenLockReq

Incoming

Enum: CnloktlCenLockReq

[-1]

inherit

Hmi Central Lock Request

22

HmiCenLockReqVld

Incoming

boolean

[1]

inherit

Hmi Central Lock Request Valid

23

KeyCmd

Incoming

Enum: CnloktlKeyCmd

[-1]

inherit

Key Command

24

KeyCmdVld

Incoming

boolean

[1]

inherit

Key Command Valid

25

GearSt

Incoming

Enum: CmnenaGearSt

[-1]

inherit

Gear State

26

GearStVld

Incoming

boolean

[1]

inherit

Gear State Valid

27

DrvrSeatOccpySt

Incoming

Enum: CmnenaAcvnSt

[-1]

inherit

Driver Seat Occupancy State

28

DriverDoorLatchState

Incoming

Enum: CmnenaClsrSt

[-1]

inherit

Driver Door Latch State

29

PassDoorLatchState

Incoming

Enum: CmnenaClsrSt

[-1]

inherit

30

CenLockCmd

Outgoing

Enum: CmnenaCenLockCmd

[-1]

inherit

Central Lock Command

31

CenLockFaiSt

Outgoing

boolean

[-1]

inherit

Central Lock Failure State

32

CenLockError

Outgoing

boolean

[-1]

inherit

33

Diagc

Outgoing

Bus: CnloktlDiagc

[-1]

inherit

Diagnostic

34

CenLockSt

Outgoing

Enum: CmnenaLockSt

[-1]

inherit

Central Lock State

35

CenLockToVehSt

Outgoing

Enum: CmnenaAcvnSt

[-1]

inherit

Central Lock To Vehicle State

36

CenLockWelcmActn

Outgoing

boolean

[-1]

inherit

Central Lock Welcome Action

37

CenLockByeActn

Outgoing

boolean

[-1]

inherit

Central Lock Bye Action

38

CenLockFindCarActn

Outgoing

boolean

[-1]

inherit

Central Lock Find Car Action

3.3.4. Parameters

Id

Data Type

Dimensions

Range

Unit

Description

Keywords

1

CnloktlByeTiout

single

[1,1]

Min: 0, Max:

sec

Time for what Bye Action state is sending

Cnloktl Bye Timeout

2

CnloktlWayUnlock

uint8

[1,1]

Min: 1, Max: 3

How the vehicle is unlocked: 1 - by wireless key range detection and keyfob button action pressing, 2 - only by keyfob button action pressing, 3 - by simplified wireless key range detection and keyfob button

Cnloktl Way Unlock

3

CnloktlOutDetnTiout

single

[1,1]

Min: 0, Max:

sec

Timeout period during wireless key out from the operational zone means need to shut down the vehicle

Cnloktl Output Detection Timeout

4

CnloktlWakeUpDetnTiout

single

[1,1]

Min: 0, Max:

sec

Timeout period during wireless key present in the wake-up zone means the need to wake up the vehicle

Cnloktl Wake Up Detection Timeout

5

CnloktlWakeUpNowDetTiout

single

[1,1]

Min: 0, Max:

sec

Timeout period during wireless key present in the In-Use Range

Cnloktl Wake Up Now Detect Timeout

6

CnloktlAllOrOneDoor

uint8

[1,1]

Min: 1, Max: 2

Behaviour when lock/unlock requested then will be lock/unlocked all doors - 1 or only driver door - 2

Cnloktl All Or One Door

7

CnloktlDrvAwayLockSpd

single

[1,1]

Min: 0, Max:

kph

Driveaway locking vehicle speed threshold

Cnloktl Drive Away Lock Speed

8

CnloktlDrvAwayUnlckSpd

single

[1,1]

Min: 0, Max:

kph

Driveaway unlocking vehicle speed threshold

Cnloktl Drive Away Unlock Speed

9

CnloktlFltOnSigLoss

boolean

[1,1]

Min: 0, Max: 1

If True (1), then central lock fails is generated on signal losing

Cnloktl Fault On Signal Loss

10

CnloktlSrchCarTiout

single

[1,1]

Min: 0, Max:

sec

Time for what Find Car Action state is sending

Cnloktl Search Car Timeout

11

CnloktlIgnLossHvBatThermEve

boolean

[1,1]

Min: 0, Max: 1

1 - system ignores HVBattThermalEvent signal loss, 0 - will unlatch all door if signal is lost

Cnloktl Ignore Loss Hv Battery Thermal Event

12

CnloktlIgnNewKey

boolean

[1,1]

Min: 0, Max: 1

If true central lock controller ignore new key request message, only lock/unlock request used

Cnloktl Ignore New Key

13

CnloktlIgnVehSecu

boolean

[1,1]

Min: 0, Max: 1

If True (1), then VehicleSecurity message is ignored, vehicle can be unlocked anyway

Cnloktl Ignore Vehicle Security

14

CnloktlIniToUnlck

boolean

[1,1]

Min: 0, Max: 1

0 - central lock command initial state is ‘fully lock’, 1 - central lock command initial state is ‘unlock’

Cnloktl Initial To Unlock

15

CnloktlKeyLockInCbn

uint8

[1,1]

Min: 0, Max: 2

Keyfob behaviour when keyfob is in the cabin, if 0 keyfob doesn’t work, if 1 - int lock, if 2 - fully lock

Cnloktl Key Lock In Cabin

16

CnloktlKeyLockInDrv

uint8

[1,1]

Min: 0, Max: 2

Keyfob behaviour when GS state is D or R, if 0 keyfob doesn’t work, if 1 - int lock, if 2 - fully lock

Cnloktl Key Lock In Drive

17

CnloktlKeyLockOnSpd

uint8

[1,1]

Min: 0, Max: 2

Keyfob behaviour when speed is > CENTLOCKCTRL_SpeedThreshold, if 0 keyfob doesn’t work, if 1 - int lock, if 2 - fully lock

Cnloktl Key Lock On Speed

18

CnloktlKeyLockVsmRdy

uint8

[1,1]

Min: 0, Max: 2

Keyfob behaviour when VSM state is ready and driver seat is occuped, if 0 keyfob doesn’t work, if 1 - int lock, if 2 - fully lock

Cnloktl Key Lock Vsm Ready

19

CnloktlLockSigLoss

boolean

[1,1]

Min: 0, Max: 1

If True (1), then vehicle is locked when key signal lost, if False (0), then previous state is used

Cnloktl Lock Signal Loss

20

CnloktlOvrdUnlckCenLockCmd

boolean

[1,1]

Min: 0, Max: 1

If True (1), then central lock command is always ‘unlock’

Cnloktl Override Unlock Central Lock Command

21

CnloktlSpdLockCanUnlck

boolean

[1,1]

Min: 0, Max: 1

0 - if vehicle was unlocked on speed, it can be unlocke only when vehicle is stopped, 1 - locked by speed vehicle van be unlocked by user

Cnloktl Speed Lock Can Unlock

22

CnloktlUseCrashInfo

boolean

[1,1]

Min: 0, Max: 1

If true Central lock controller uses crash event, if false crash event is ignored

Cnloktl Use Crash Information

23

CnloktlUseVehSecu

boolean

[1,1]

Min: 0, Max: 1

If True (1), then VehicleSecurity message is used as an input request from Security System instead of CENTLOCKIN_KeyFob and CENTLOCKIN_MobApp

Cnloktl Use Vehicle Security

24

CnloktlVehSpdDeb

single

[1,1]

Min: 0, Max:

sec

Duration of ignoring changes in vehicle speed central lock request

Cnloktl Vehicle Speed Debounce

25

CnloktlWelcmTiout

single

[1,1]

Min: 0, Max:

sec

Time for what Welcome Action state is sending

Cnloktl Welcome Timeout

26

CnloktlUseNfc

boolean

[1,1]

Min: 0, Max: 1

1 - use NFC, 0 - not to use NFC

Cnloktl Use Nfc