2.1. Bosch Brake Pedal Sensor Driver - BosBrkPedlSnsrDrvr

Id

BosBrkPedlSnsrDrvr

Title

Bosch Brake Pedal Sensor Driver

System

Braking

Document Type

Application Software Component Specification Preview

2.1.1. Overview

The Bosch Brake Pedal Sensor Driver component reads the analog inputs from the Bosch brake pedal sensor, performs diagnostics, and outputs the brake pedal position percentage and validity status. It supports dual channel redundancy for safety.

2.1.2. Functions

Title

Description

1

Read Analog Inputs

Reads the analog voltage inputs from the two channels of the Bosch brake pedal sensor.

2

Convert To Pedal Position

Converts the analog input voltages to brake pedal position percentage using calibration lookup tables for each channel.

3

Perform Diagnostics

Performs diagnostics on the analog inputs, supply voltage, and compares the two channel positions to detect faults. Sets DTCs if any faults are detected.

4

Determine Validity

Determines the overall validity of the brake pedal position based on the diagnostics results. Outputs valid state only if no faults are detected.

5

Output Pedal Position

Outputs the brake pedal position percentage and the validity status for use by other components.

2.1.3. Ports

Id

Direction

Data Type

Dimensions

Unit

1

BrkAnInpURef

Incoming

single

[1]

V

2

BrkChn1Pwm

Incoming

single

[1]

%

3

BrkChn2Pwm

Incoming

single

[1]

V

4

BrkAnInp1

Incoming

single

[1]

V

5

BrkAnInp2

Incoming

single

[1]

V

6

BrkChn1Vld

Incoming

boolean

[1]

V

7

BrkChn2Vld

Incoming

boolean

[1]

V

8

BosbpsBrkPedlPushPerc

Outgoing

single

[1]

%

9

BosbpsBrkPushARate

Outgoing

single

[1]

%/sec

10

BosbpsBrkPsdSt

Outgoing

Enum: com_vOnOff_t

[1]

11

BosbpsBrkStVld

Outgoing

boolean

[1]

12

BosbpsBrkIsCald

Outgoing

boolean

[1]

13

BosbpsChn1Vld

Outgoing

boolean

[1]

inherit

14

BosbpsChn2Vld

Outgoing

boolean

[1]

inherit

15

BosbpsDiagcFmidURef

Outgoing

uint8

[1]

inherit

16

BosbpsDiagcFmidChn1

Outgoing

uint8

[1]

inherit

17

BosbpsDiagcFmidChn2

Outgoing

uint8

[1]

inherit

18

BosbpsDiagcFmidCald

Outgoing

uint8

[1]

inherit

19

BosbpsChn1Pwm

Outgoing

single

[1]

inherit

20

BosbpsChn2Pwm

Outgoing

single

[1]

inherit

2.1.4. Parameters

Id

Data Type

Dimensions

Range

Unit

Description

1

BosbpsConURef

single

[1,1]

Min: 0.01, Max: 100

V

Constant voltage reference for Bosch Brake Pedal Sensor

2

BosbpsUseExtURef

boolean

[1,1]

Min: , Max:

Use external voltage reference measurement for Bosch Brake Pedal Sensor

3

BosbpsBrkPedMapChn1

single

[1,2]

Min: 0, Max: 100

%

Brake pedal channel1 map conversion input PWM signal into pedal position from 0 to 100 %

4

BosbpsBrkPedMapChn1Tbl

single

[1,2]

Min: 0, Max: 100

%

Brake pedal channel1 map conversion xdat, strictly monotonical

5

BosbpsBrkPedMapChn2

single

[1,2]

Min: 0, Max: 100

%

Brake pedal channel2 map conversion input PWM signal into pedal position from 0 to 100 %

6

BosbpsBrkPedMapChn2Tbl

single

[1,2]

Min: 0, Max: 100

%

Brake pedal channel1 map conversion xdat, strictly monotonical

7

BosbpsBrkPedPosnErrDetn

single

[1,1]

Min: 0, Max: 100

%

Diagnostics brake pedal position difference error detection between channel 1 and 2

8

BosbpsBrkPedRngAnInp2URef

single

[1,2]

Min: -1, Max: 101

%

Diagnostics Brake pedal output voltage/Vref range

9

BosbpsBrkPedRngPwm

single

[1,2]

Min: -1, Max: 101

%

Diagnostics PWM RANGE: Brake pedal channel1 allowed PWM range

10

BosbpsBrkPedRngURef

single

[1,2]

Min: 0, Max: 32

V

Diagnostics Vref RANGE: Brake pedal Supply Voltage normal operation range

11

BosbpsBrkPedUseAnInp2Pwm

boolean

[1,1]

Min: 0, Max: 1

use PWM estimation based on AIN

12

BosbpsBrkPedlIsPsdThd

single

[1,1]

Min: 0, Max: 100

%

Threshold pressed state detection