7.10. High Voltage Power System State Machine - HvPwrSysStMac

Id

HvPwrSysStMac

Version

main

Title

High Voltage Power System State Machine

System

High Voltage Power

Document Type

Application Software Component Specification Preview

7.10.1. Overview

The High Voltage Power System State Machine (HVPSSM) is responsible for managing the state of the high voltage power system. It interfaces with the Battery Management System (BMS), Vehicle State Machine (VSM), and other HV components to control activation, deactivation, and fault handling of the HV system.

7.10.2. Functions

Title

Description

1

HV System State Management

Manages the overall state of the high voltage system, including initialization, activation, deactivation, and fault handling. Interfaces with BMS and VSM to coordinate HV system state transitions.

2

HV System Integrity Monitoring

Monitors the integrity of the HV system, including insulation resistance, contactors, and interlock loop. Detects faults and triggers appropriate actions based on fault severity.

7.10.3. Ports

Id

Direction

Data Type

Dimensions

Unit

Description

Keywords

1

HvComSt

Incoming

Enum: CmnenaOprtgSt

[1]

Hv Communication State

2

HvIntgySt

Incoming

Enum: CmnenaOprtgSt

[1]

Hv Integrity State

3

HvInsulnSt

Incoming

Enum: CmnenaSysNotifSt

[1]

Hv Insulation State

4

VehSpdAct

Incoming

single

[1]

kph

Vehicle Speed Actual

5

VehSpdActVld

Incoming

boolean

[1]

Vehicle Speed Actual Valid

6

CrashTyp

Incoming

uint8

[1]

Crash Type

7

CrashTypVld

Incoming

boolean

[1]

Crash Type Valid

8

BatStVld

Incoming

boolean

[1]

Battery State Valid

9

ManSrvDiConnSt

Incoming

Enum: CmnenaSwtNotifSt

[1]

Manual Service Disable Connection State

10

BatSt

Incoming

Enum: CmnenaBatSt

[1]

Battery State

11

HvCritFlt

Incoming

boolean

[1]

Hv Critical Fault

12

HvPwrNetVolt

Incoming

single

[1]

V

Hv Power Network Volt

13

HvBatSoc

Incoming

single

[1]

%

Hv Battery Soc

14

HvBatSocVld

Incoming

boolean

[1]

Hv Battery Soc Valid

15

GearSeldActPosn

Incoming

Enum: CmnenaGearSt

[1]

Gear Selected Actual Position

16

GearSeldActPosnVld

Incoming

boolean

[1]

Gear Selected Actual Position Valid

17

ChrgAcPortPlugTyp

Incoming

Enum: CmnenaChrgPortPlugTyp

[1]

Charging Ac Port Plug Type

18

ChrgAcPortPlugTypVld

Incoming

boolean

[1]

Charging Ac Port Plug Type Valid

19

ChrgAcDcPortPlugTyp

Incoming

Enum: CmnenaChrgPortPlugTyp

[1]

Charging Ac Dc Port Plug Type

20

ChrgAcDcPortPlugTypVld

Incoming

boolean

[1]

Charging Ac Dc Port Plug Type Valid

21

VehSt

Incoming

Enum: CmnenaVehSt

[1]

Vehicle State

22

VehStVld

Incoming

boolean

[1]

Vehicle State Valid

23

HvBatThermEve

Incoming

Enum: CmnenaSysNotifSt

[1]

Hv Battery Thermal Event

24

HvBatThermEveVld

Incoming

boolean

[1]

Hv Battery Thermal Event Valid

25

HvSysStReq

Outgoing

Enum: CmnenaHvReq

[1]

Hv System State Request

26

HvSysStReqSnd

Outgoing

boolean

[1]

Hv System State Request Send

27

HvActSysSt

Outgoing

Enum: CmnenaHvSt

[1]

Hv Actual System State

28

HvBadVsm

Outgoing

boolean

[1]

Hv Bad Vsm

29

HvRdyToDrv

Outgoing

boolean

[1]

Hv Ready To Drive

30

HvRdyToSlp

Outgoing

boolean

[1]

Hv Ready To Sleep

31

HvVld

Outgoing

boolean

[1]

Hv Valid

32

Diagc

Outgoing

Bus: HvpssmDiagc

[-1]

inherit

Diagnostic

7.10.4. Parameters

Id

Data Type

Dimensions

Range

Unit

Description

Keywords

1

HvpssmChrgCanNoOfCrclToChk

single

[1,1]

Min: 1, Max: 100

Number of CAN cycles to check to detct osciallation

Hvpssm Charging Can Number Of Circle To Check

2

HvpssmChrgCanRxTiStep

single

[1,1]

Min: 0.01, Max: 5

s

CAN receive time step for CCI signals

Hvpssm Charging Can Receive Time Step

3

HvpssmChrgChkTiout

single

[1,1]

Min: 0, Max: 300

s

Timeout for insufficient charging check

Hvpssm Charging Check Timeout

4

HvpssmChrgOscnDetnThd

single

[1,1]

Min: 0.5, Max: 1

Oscillation detection threshold

Hvpssm Charging Oscillation Detection Threshold

5

HvpssmChrgStopByInsulnFlt

boolean

[1,1]

Min: 0, Max: 1

HV system deactivation when charging plug connected in an event of an insulation fault

Hvpssm Charging Stop By Insulation Fault

6

HvpssmChrgStopByInsulnWarn

boolean

[1,1]

Min: 0, Max: 1

HV system deactivation when charging plug connected in an event of an insulation warning

Hvpssm Charging Stop By Insulation Warning

7

HvpssmCrashDetnCanNoOfCrclToChk

single

[1,1]

Min: 1, Max: 100

Number of CAN cycles to check to detct osciallation

Hvpssm Crash Detection Can Number Of Circle To Check

8

HvpssmCrashDetnCanRxTiStep

single

[1,1]

Min: 0.01, Max: 5

s

CAN receive time step for Crash detection signals

Hvpssm Crash Detection Can Receive Time Step

9

HvpssmCrashDetnOscnDetnThd

single

[1,1]

Min: 0.5, Max: 1

Oscillation detection threshold

Hvpssm Crash Detection Oscillation Detection Threshold

10

HvpssmCritHvMin

uint16

[1,1]

Min: 0, Max: 1000

V

Defines the minimum HV voltage threshold for Active HV state. If HV voltage drops below the threshold the system will activate the Fault state

Hvpssm Critical Hv Minimum

11

HvpssmCritHvTiout

single

[1,1]

Min: 0, Max: 60

s

Timeout for detection of low HV voltage in Active HV state

Hvpssm Critical Hv Timeout

12

HvpssmEmrgDiConnTiout

single

[1,1]

Min: 0, Max: 2

s

timeout between HV Powernet system failure detected and the Emergency disconnect request send to Battery management system

Hvpssm Emergency Disable Connection Timeout

13

HvpssmGearSeldCanNoOfCrclToChk

single

[1,1]

Min: 1, Max: 100

Number of CAN cycles to check to detct osciallation

Hvpssm Gear Selected Can Number Of Circle To Check

14

HvpssmGearSeldCanRxTiStep

single

[1,1]

Min: 0.01, Max: 5

s

CAN receive time step for GS signals

Hvpssm Gear Selected Can Receive Time Step

15

HvpssmGearSeldOscnDetnThd

single

[1,1]

Min: 0.5, Max: 1

Oscillation detection threshold

Hvpssm Gear Selected Oscillation Detection Threshold

16

HvpssmHvCanNoOfCrclToChk

single

[1,1]

Min: 1, Max: 100

Number of CAN cycles to check to detct osciallation

Hvpssm Hv Can Number Of Circle To Check

17

HvpssmHvCanRxTiStep

single

[1,1]

Min: 0.01, Max: 5

s

CAN receive time step for HVPS_HVStates signals

Hvpssm Hv Can Receive Time Step

18

HvpssmHvDeacParkConnFlt

boolean

[1,1]

Min: 0, Max: 1

Automatic HV system shutdown if HV system connection failure is detected

Hvpssm Hv Deactivation Park Connection Fault

19

HvpssmHvDeacParkInsulnFlt

boolean

[1,1]

Min: 0, Max: 1

Automatic HV system shutdown if HV system insulation failure is detected

Hvpssm Hv Deactivation Park Insulation Fault

20

HvpssmHvDeacParkInsulnWarn

boolean

[1,1]

Min: 0, Max: 1

Automatic HV system shutdown if HV system insulation warning is detected

Hvpssm Hv Deactivation Park Insulation Warning

21

HvpssmHvOscnDetnThd

single

[1,1]

Min: 0, Max: 1

Oscillation detection threshold

Hvpssm Hv Oscillation Detection Threshold

22

HvpssmIntgyFltDeacTiout

single

[1,1]

Min: 0, Max: 100

s

Maximum time HV system waiting before deactivation

Hvpssm Integrity Fault Deactivation Timeout

23

HvpssmPwrNetVoltDifMax

single

[1,1]

Min: 0, Max: 60

V

Maximum allowed voltage difference between the parts of HV powernet

Hvpssm Power Network Volt Difference Maximum

24

HvpssmVehSpdCanNoOfCrclToChk

single

[1,1]

Min: 1, Max: 100

Number of CAN cycles to check to detct osciallation

Hvpssm Vehicle Speed Can Number Of Circle To Check

25

HvpssmVehSpdCanRxTiStep

single

[1,1]

Min: 0.01, Max: 5

s

CAN receive time step for Vehicle Speed signals

Hvpssm Vehicle Speed Can Receive Time Step

26

HvpssmVehSpdLowrLim

single

[1,1]

Min: , Max:

kph

Vehicle Speed Min out of range detection

Hvpssm Vehicle Speed Lower Limit

27

HvpssmVehSpdOscnDetnThd

single

[1,1]

Min: 0, Max: 1

Oscillation detection threshold

Hvpssm Vehicle Speed Oscillation Detection Threshold

28

HvpssmVehSpdUpprLim

single

[1,1]

Min: , Max:

kph

Vehicle Speed Max out of range detection

Hvpssm Vehicle Speed Upper Limit

29

HvpssmVsmTioutReq

single

[1,1]

Min: 0, Max: 60

s

Bad VSM timeout

Hvpssm Vsm Timeout Request

30

HvpssmChrgStopByIntgySt

boolean

[1,1]

Min: 0, Max: 1

HV system deactivation when charging plug connected in an event of the HV Powernet integrity check failed

Hvpssm Charging Stop By Integrity State

31

HvpssmVehSpdAbsvJmp

single

[1,1]

Min: , Max:

kph

Abnormal jump Value

Hvpssm Vehicle Speed Absolute Jump

32

HvpssmShutDwnTiout

single

[1,1]

Min: 0, Max: 100

s

ShuttingDown state timeout

Hvpssm Shut Down Timeout

33

HvpssmAcvnTiout

single

[1,1]

Min: 0, Max: 100

s

Activation state timeout

Hvpssm Activation Timeout

34

HvpssmAcvnIntgyChkDur

single

[1,1]

Min: 0, Max: 2

s

Duration of checking integrity before HV battery connection request

Hvpssm Activation Integrity Check Duration

35

HvpssmSwtFltTi

single

[1,1]

Min: 0, Max: 60

Signal switching check time period

Hvpssm Switch Fault Time

36

HvpssmDchaTiout

single

[1,1]

Min: 0, Max: 100

s

Discharging state timeout

Hvpssm Discharge Timeout

37

HvpssmHvDeacParkComFlt

boolean

[1,1]

Min: 0, Max: 1

Automatic HV system shutdown if HV system communication failure is detected

Hvpssm Hv Deactivation Park Communication Fault

38

HvpssmHvtrdFeatAcv

boolean

[1,1]

Min: 0, Max: 1

Parameter activates HVSO reaction to HVBattThermalEventDetected signal

Hvpssm Hvtrd Feature Active

39

HvpssmIninTiout

single

[1,1]

Min: 0, Max: 300

s

Initialization state timeout

Hvpssm Initialization Timeout

40

HvpssmSwtFltNo

uint8

[1,1]

Min: 1, Max: 255

Maximum number of signal switching

Hvpssm Switch Fault Number

41

HvpssmWarnLoSoc

single

[1,1]

Min: 0, Max: 50

%

Battery SoC low warning limit

Hvpssm Warning Low Soc

42

HvpssmShutDwnLoSoc

single

[1,1]

Min: 0, Max: 50

%

Battery SoC shutdown limit

Hvpssm Shut Down Low Soc