13.10. Flap Bridge Driver - FlapBrdgDrvr

Id

FlapBrdgDrvr

Title

Flap Bridge Driver

System

Thermal

Document Type

Application Software Component Specification Preview

13.10.1. Overview

The Flap Bridge Driver component controls the position of a flap used in the climate management system by driving a motor through an H-bridge. It monitors the flap motor current to detect open circuit and short circuit faults. The component accepts flap position requests and outputs bridge control commands.

13.10.2. Functions

Title

Description

1

Flap Position Control

Controls the flap position based on the requested open/close state. Outputs H-bridge control commands to drive the flap motor.

2

Open Circuit Fault Detection

Monitors the flap motor current and detects an open circuit fault condition if current is below a minimum threshold when the flap is commanded to move.

3

Short Circuit Fault Detection

Monitors the flap motor current and detects a short circuit fault condition if current exceeds a maximum threshold.

13.10.3. Ports

Id

Direction

Data Type

Dimensions

Unit

1

FlapPosRequest

Incoming

single

[-1]

inherit

2

BrdgCmd

Outgoing

Enum: bridge_mode_t

[-1]

inherit

3

OpenCircFault

Outgoing

boolean

[-1]

inherit

4

ShortCircFault

Outgoing

boolean

[-1]

inherit

13.10.4. Parameters

Id

Data Type

Dimensions

Range

Unit

Description

1

FlapbrdrBrdgOpenFwrd

boolean

[1,1]

Min: 0, Max: 1

OPEN == FORWARD. For FACE DEFR

2

FlapbrdrClsdCurMax

single

[1,1]

Min: 0, Max: 100

A

The maximum motor current allowed when driving the flap closed

3

FlapbrdrClsdCurMin

single

[1,1]

Min: 0, Max: 100

A

The minimum motor current allowed when driving the flap closed

4

FlapbrdrDbgFlap

int8

[1,1]

Min: , Max:

If <-100 OR >100 then no debug, >0 - FORWARD, <0 - REVERSE, 0 - FREEWHEEL

5

FlapbrdrDbgFlapCmd

int8

[1,1]

Min: -1, Max: 3

-1 NO OVRIDE, 0 - NA, 1 - open, 2 - close, 3 - err

6

FlapbrdrDbgFlapModEna

boolean

[1,1]

Min: 0, Max: 1

7

FlapbrdrFlapCurMax

single

[1,1]

Min: 0, Max: 30

A

8

FlapbrdrFlapCurMin

single

[1,1]

Min: 0, Max: 30

A

9

FlapbrdrFlapFltDetnTi

single

[1,1]

Min: 0, Max: 10

sec

10

FlapbrdrFltQntyMax

uint8

[1,1]

Min: 1, Max:

11

FlapbrdrFltTiout

single

[1,1]

Min: 0, Max: 100

sec

12

FlapbrdrIvtOpenClsPin

boolean

[1,1]

Min: 0, Max: 1

Invert open close PINs

13

FlapbrdrMotOverCur

single

[1,1]

Min: 0, Max: 30

A

border current then we consider overcurrent

14

FlapbrdrMoveTiout

single

[1,1]

Min: 0, Max: 100

sec

15

FlapbrdrNewMoveTiout

single

[1,1]

Min: 0, Max: 10

sec

16

FlapbrdrOpenCurMax

single

[1,1]

Min: 0, Max: 100

A

The maximum motor current allowed when driving the flap open

17

FlapbrdrOpenCurMin

single

[1,1]

Min: 0, Max: 100

A

The minimum motor current allowed when driving the flap open

18

FlapbrdrOverCurHldTiout

single

[1,1]

Min: 0, Max: 100

sec

overcurrent timeout detection

19

FlapbrdrOverCurTioutDet

single

[1,1]

Min: 0, Max: 100

sec

overcurrent timeout detection

20

FlapbrdrRstFlt

boolean

[1,1]

Min: 0, Max: 1

21

FlapbrdrStDet

boolean

[1,1]

Min: 0, Max: 1