2.5. Emergency Deceleration Control - EmrgDeceCtl

Id

EmrgDeceCtl

Version

main

Title

Emergency Deceleration Control

System

Braking

Document Type

Application Software Component Specification Preview

2.5.1. Overview

This component is responsible for controlling the emergency deceleration feature of the vehicle. It monitors various inputs and determines when to activate or deactivate the emergency deceleration command based on predefined conditions and timeouts.

2.5.2. Functions

Title

Description

1

Activate Emergency Deceleration

This function activates the emergency deceleration command when certain conditions are met, such as the emergency deceleration request being active for a specified timeout, the vehicle speed exceeding a threshold, and the feature being allowed.

2

Deactivate Emergency Deceleration

This function deactivates the emergency deceleration command when the conditions for activation are no longer met or when a cooldown timeout has elapsed after the emergency deceleration request has been deactivated.

2.5.3. Ports

Id

Direction

Data Type

Dimensions

Unit

Keywords

1

EmrgDeceReq

Incoming

boolean

[1]

inherit

Emergency Deceleration Request

2

EmrgDeceReqVld

Incoming

boolean

[1]

inherit

Emergency Deceleration Request Valid

3

VehLgtSpd

Incoming

single

[1]

km/h

Vehicle Longitudinal Speed

4

VehLgtSpdVld

Incoming

boolean

[1]

inherit

Vehicle Longitudinal Speed Valid

5

GsctlGsSts

Incoming

Enum: CmnenaGearSt

[1]

inherit

Gsctl Gs Status

6

GsctlGsStsVld

Incoming

boolean

[1]

inherit

Gsctl Gs Status Valid

7

EmcdclEmrgDeceCmd

Outgoing

boolean

[1]

inherit

Emcdcl Emergency Deceleration Command

8

EmcdclEmrgDeceCmdVld

Outgoing

boolean

[1]

inherit

Emcdcl Emergency Deceleration Command Valid

2.5.4. Parameters

Id

Data Type

Dimensions

Range

Unit

Description

Keywords

1

EmcdclAcvnTiout

single

[1,1]

Min: 0, Max: 5

sec

Emergency deceleration activation timeout

Emcdcl Activation Timeout

2

EmcdclAllwd

boolean

[1,1]

Min: 0, Max: 1

Paramenter for turning on\off the feature

Emcdcl Allowed

3

EmcdclCoolDwnTiout

single

[1,1]

Min: 0, Max: 20

sec

Emergency deceleration cooldown timeout

Emcdcl Cool Down Timeout

4

EmcdclSwtOnSpdThd

single

[1,1]

Min: 0, Max: 20

km/h

Emergency deceleration switch on speed threshold

Emcdcl Switch On Speed Threshold

2.5.5. Configuration Guide

The EmrgDeceCtl should be configured from the desired specification on EmrgDeceReq behavior.

2.5.5.1. Step 1 - Enable EmrgDece

Set EmcdclAllwd to True to enable debounce algorithm for EmrgDece request. (works as Enable switch for component)

2.5.5.2. Step 2 - Configure EmrgDece Request Conditions

The EmrgDeceCtl allows commanding emergency deceleration at VehSpd (in module) above EmcdclSwtOnSpdThd threshold. Hence, EmcdclSwtOnSpdThd must be a positive number.
Configure EmcdclSwtOnSpdThd as a minimum vehicle speed above which EmrgDece can be applied.

2.5.5.3. Step 3 - Configure EmrgDece Request Timeouts

The EmrgDeceCtl provides separate timeouts for debounce algorithm:

  • latching EmrgDece command (EmcdclAcvnTiout) and

  • unlatching EmrgDece command (EmcdclCoolDwnTiout)