9.12. Pin Power Driver - PinPwrDrvr

Id

PinPwrDrvr

Title

Pin Power Driver

System

Low Voltage Power

Document Type

Application Software Component Specification Preview

9.12.1. Overview

The Pin Power Driver software component controls the power supply to pins based on the vehicle state machine (VSM) state and load permission from the low voltage (LV) system. It monitors the VSM state and substate signals for faults. The component also performs rate limiting on the pin power PWM duty cycle.

9.12.2. Functions

Title

Description

1

VSM State Fault Detection

Detects faults in the VSM state signal based on signal change frequency and generates a fault flag.

2

VSM Substate Fault Detection

Detects faults in the VSM substate signal based on signal change frequency and generates a fault flag.

3

VSM State Conversion

Converts the VSM state and substate signals into an internal state index used for pin power control.

4

Pin Power Command

Determines the pin power on/off command based on the VSM state index and reboot command input.

5

Load Permission Check

Checks if pin power is allowed based on the load permission input from the LV system and the pin’s load class (critical/primary/secondary).

6

Pin Power PWM Rate Limiting

Limits the rate of change of the pin power PWM duty cycle to configurable ramp up/down rates.

9.12.3. Ports

Id

Direction

Data Type

Dimensions

Unit

1

VSMState

Incoming

Enum: VtSig_VSM_State_t

[-1]

inherit

2

VSMState_valid

Incoming

boolean

[-1]

inherit

3

VSMSubstate

Incoming

Enum: VtSig_VSM_Substate_t

[-1]

inherit

4

LVAllowedLoad

Incoming

Enum: VtSig_LVAllowedLoad_t

[-1]

inherit

5

LVAllowedLoad_valid

Incoming

boolean

[-1]

inherit

6

UIRebootCmd

Incoming

Enum: VtSig_RebootCmd_t

[-1]

inherit

7

UIRebootCmd_valid

Incoming

boolean

[-1]

inherit

9.12.4. Parameters

Id

Data Type

Dimensions

Range

Unit

Description

1

PnwdvDetFltTiout

single

[1,1]

Min: 0, Max: 120

s

Timeout to detect Silent fault if signal is not available

2

PnwdvLoaClass

uint8

[1,1]

Min: 0, Max: 2

Load Class for LV Power Management: 0-Critical, 1-Primary, 2-Secondary

3

PnwdvModSel

boolean

[1,1]

Min: 0, Max: 1

Select pin mode : false - HS , true - VREF

4

PnwdvNewIg

boolean

[1,1]

Min: 0, Max: 1

Perform re-ignition procedure after initial ignition turn on by Logical Power

5

PnwdvNewIgDly

single

[1,1]

Min: 0, Max: 120

s

Delay between ignition turn on by Logical Power and re-ignition procedure

6

PnwdvNewIgTi

single

[1,1]

Min: 0, Max: 120

s

Time that ignition is turned off during re-ignition procedure

7

PnwdvOvrdPinNo

boolean

[1,1]

Min: 0, Max: 1

Switches to custom (fixed) pin number (code)

8

PnwdvPinFltTiout

single

[1,1]

Min: 0, Max: 120

s

Timeout to detect pin fault

9

PnwdvPinNo

uint16

[1,1]

Min: 1001, Max: 2028

Pin number (code) that will be overrided by OverridePinNumber option

10

PnwdvPwrPwm

uint8

[1,1]

Min: 0, Max: 100

%

Logical Power PWM Duty

11

PnwdvPwrTbl

boolean

[5,1]

Min: 0, Max: 1

Logical Power Table

ROWS “Sleep

InvisibleAwake

Awake

Ready

Maintenance”

12

PnwdvSwtFltNo

uint16

[1,1]

Min: 1, Max: 255

Maximum number of signal switching

13

PnwdvSwtFltTi

single

[1,1]

Min: 0, Max: 60

s

Signal switching check time period

14

PnwdvTurnOffDur

single

[1,1]

Min: 0, Max: 120

sec

Duration to gradually turn off the pin (ramp-up time). 0 sec - switch will be instant

15

PnwdvTurnOnDur

single

[1,1]

Min: 0, Max: 120

sec

Duration to gradually turn on the pin (ramp-up time). 0 sec - switch will be instant