7.5. High Voltage Active Discharge Manager - HvAcvDchaMgr

Id

HvAcvDchaMgr

Version

main

Title

High Voltage Active Discharge Manager

System

High Voltage Power

Document Type

Application Software Component Specification Preview

7.5.1. Overview

This component manages the active discharge request for the high voltage system based on various conditions and inputs.

7.5.2. Functions

Title

Description

1

Manage Active Discharge Request

Determines the active discharge request based on the high voltage system state, battery pack state, and motor movement status.

2

Validate Torque And Speed Signals

Validates the torque and speed signals from the motor by checking for oscillations, out-of-range values, and communication faults.

3

Set Diagnostic Trouble Codes

Sets diagnostic trouble codes based on detected faults or invalid conditions.

7.5.3. Ports

Id

Direction

Data Type

Dimensions

Unit

Keywords

1

HvSysActSt

Incoming

Enum: CmnenaHvSt

[-1]

inherit

Hv System Actual State

2

BatSt

Incoming

Enum: CmnenaBatSt

[-1]

inherit

Battery State

3

TqOnMot

Incoming

single

[24]

inherit

Torque On Motor

4

MotSpdPrcsOut

Incoming

int16

[24]

inherit

Motor Speed Process Output

5

MotSpdPrcsOutVld

Incoming

boolean

[24]

inherit

Motor Speed Process Output Valid

6

TqOnMotVld

Incoming

boolean

[24]

inherit

Torque On Motor Valid

7

AcvDchaReq

Outgoing

Enum: CmnenaAcvnSt

[-1]

inherit

Active Discharge Request

8

Diagc

Outgoing

Bus: HvdchrgmDiagc

[-1]

inherit

Diagnostic

7.5.4. Parameters

Id

Data Type

Dimensions

Range

Unit

Description

Keywords

1

HvdchrgmMotChkTi

single

[1,1]

Min: 0, Max: 5

sec

If Motor moving - checking time

Hvdchrgm Motor Check Time

2

HvdchrgmMotToChk

boolean

[24,1]

Min: 0, Max: 1

MotorActTorque array output from driver

Hvdchrgm Motor To Check

3

HvdchrgmSpdCanNoOfCycToChk

single

[1,1]

Min: 1, Max: 10

Number of CAN cycles to check to detct osciallation

Hvdchrgm Speed Can Number Of Cycle To Check

4

HvdchrgmSpdCanRxTiStep

single

[1,1]

Min: 0.01, Max: 5

s

CAN receive time step for Speed signals

Hvdchrgm Speed Can Receive Time Step

5

HvdchrgmSpdLowrLim

single

[1,1]

Min: , Max:

rpm

Speed Min out of range detection

Hvdchrgm Speed Lower Limit

6

HvdchrgmSpdOscnDetnThd

single

[1,1]

Min: 0, Max: 1

Oscillation detection threshold

Hvdchrgm Speed Oscillation Detection Threshold

7

HvdchrgmSpdUpprLim

single

[1,1]

Min: , Max:

rpm

Speed Max out of range detection

Hvdchrgm Speed Upper Limit

8

HvdchrgmTqCanNoOfCycToChk

single

[1,1]

Min: 1, Max: 10

Number of CAN cycles to check to detct osciallation

Hvdchrgm Torque Can Number Of Cycle To Check

9

HvdchrgmTqOscnDetnThd

single

[1,1]

Min: 0, Max: 1

Oscillation detection threshold

Hvdchrgm Torque Oscillation Detection Threshold

10

HvdchrgmSpdAbsvJmp

single

[1,1]

Min: , Max:

rpm

Abnormal jump Value

Hvdchrgm Speed Absolute Jump

11

HvdchrgmMotSpdThd

uint8

[1,1]

Min: 0, Max: 70

rpm

Motor Speed Threshold

Hvdchrgm Motor Speed Threshold

12

HvdchrgmMotTqThd

single

[1,1]

Min: 0, Max: 10

N*m

Motor Torque Threshold

Hvdchrgm Motor Torque Threshold

13

HvdchrgmTqLowrLim

single

[1,1]

Min: , Max:

N*m

Torque Min out of range detection

Hvdchrgm Torque Lower Limit

14

HvdchrgmTqUpprLim

single

[1,1]

Min: , Max:

N*m

Torque Max out of range detection

Hvdchrgm Torque Upper Limit

15

HvdchrgmTqAbsvJmp

single

[1,1]

Min: , Max:

N*m

Abnormal jump Value

Hvdchrgm Torque Absolute Jump