3.11. Window Controller - WinCtlr
Id |
WinCtlr |
Title |
Window Controller |
System |
Closure |
Document Type |
Application Software Component Specification Preview |
3.11.1. Overview
The Window Controller component controls the movement of the driver and passenger side windows based on user input from the window switches and door handles. It interfaces with the window motor drivers to actuate the windows. The component monitors window position feedback and has obstruction detection and short drop functionality.
3.11.2. Functions
Title |
Description |
|
|---|---|---|
1 |
Control Window Movement |
Controls raising and lowering of the driver and passenger windows based on switch inputs. Sends actuation requests to the window motor drivers. |
2 |
Monitor Window Position |
Monitors the current position of the driver and passenger windows in percentage open based on feedback from the window motor drivers. |
3 |
Obstruction Detection |
Detects if an obstruction is preventing window movement based on motor current monitoring and stops/reverses the window if an obstruction occurs. |
4 |
Short Drop |
Automatically lowers the windows slightly when the door is opened to prevent window seal binding. Raises the window back up when door is closed. |
5 |
Calibration |
Performs a calibration sequence on window motors at vehicle start-up or on-demand to set the 0% and 100% window positions. |
3.11.3. Ports
Id |
Direction |
Data Type |
Dimensions |
Unit |
|
|---|---|---|---|---|---|
1 |
DriverPositionPercent |
Incoming |
uint8 |
[-1] |
inherit |
2 |
DriverDoorAjarState |
Incoming |
Enum: VtSig_sigLatchAjarState_t |
[-1] |
inherit |
3 |
DriverSide_DrvWindUpBtn |
Incoming |
Enum: VtSig_OpenDoorSwSta_t |
[-1] |
inherit |
4 |
DriverSide_DrvWindDownBtn |
Incoming |
Enum: VtSig_OpenDoorSwSta_t |
[-1] |
inherit |
5 |
PassSide_PassWindUpBtn |
Incoming |
Enum: VtSig_OpenDoorSwSta_t |
[-1] |
inherit |
6 |
PassSide_PassWindDownBtn |
Incoming |
Enum: VtSig_OpenDoorSwSta_t |
[-1] |
inherit |
7 |
DriverSide_OpenDoorStatus |
Incoming |
Enum: VtSig_sigIntOpenReq_t |
[-1] |
inherit |
8 |
PassengerDoorAjarState |
Incoming |
Enum: VtSig_sigLatchAjarState_t |
[-1] |
inherit |
9 |
PassengerPositionPercent |
Incoming |
uint8 |
[-1] |
inherit |
10 |
GS_Est_State |
Incoming |
Enum: VtSig_GS_Est_State_t |
[-1] |
inherit |
11 |
DriverMotorStatus |
Incoming |
Enum: VtSig_MotorStatus_t |
[-1] |
inherit |
12 |
PassengerMotorStatus |
Incoming |
Enum: VtSig_MotorStatus_t |
[-1] |
inherit |
13 |
PassSide_OpenDoorStatus |
Incoming |
Enum: VtSig_sigIntOpenReq_t |
[-1] |
inherit |
14 |
DriverSide_PassWindUpBtn |
Incoming |
Enum: VtSig_OpenDoorSwSta_t |
[-1] |
inherit |
15 |
DriverSide_PassWindUpBtn_valid |
Incoming |
boolean |
[-1] |
inherit |
16 |
DriverSide_PassWindDownBtn |
Incoming |
Enum: VtSig_OpenDoorSwSta_t |
[-1] |
inherit |
17 |
DriverSide_PassWindDownBtn_valid |
Incoming |
boolean |
[-1] |
inherit |
18 |
VSMActualState |
Incoming |
Enum: VtSig_VSM_State_t |
[-1] |
inherit |
19 |
VSMActualState_valid |
Incoming |
boolean |
[-1] |
inherit |
20 |
DriverDoorActuateReq |
Outgoing |
Enum: VtSig_MotorReq_t |
[-1] |
inherit |
21 |
DriverDoorActuateReq_send |
Outgoing |
boolean |
[-1] |
inherit |
22 |
PassengerDoorActuateReq |
Outgoing |
Enum: VtSig_MotorReq_t |
[-1] |
inherit |
23 |
PassengerDoorActuateReq_send |
Outgoing |
boolean |
[-1] |
inherit |
24 |
DriverWindowUpStatus_CAN |
Outgoing |
Enum: VtSig_SwiSta_t |
[-1] |
inherit |
25 |
DriverWindowUpStatus_CAN_send |
Outgoing |
boolean |
[-1] |
inherit |
26 |
PassengerWindowUpStatus_CAN |
Outgoing |
Enum: VtSig_SwiSta_t |
[-1] |
inherit |
27 |
PassengerWindowUpStatus_CAN_send |
Outgoing |
boolean |
[-1] |
inherit |
28 |
DriverWindowDownStatus_CAN |
Outgoing |
Enum: VtSig_SwiSta_t |
[-1] |
inherit |
29 |
DriverWindowDownStatus_CAN_send |
Outgoing |
boolean |
[-1] |
inherit |
30 |
PassengerWindowDownStatus_CAN |
Outgoing |
Enum: VtSig_SwiSta_t |
[-1] |
inherit |
31 |
PassengerWindowDownStatus_CAN_send |
Outgoing |
boolean |
[-1] |
inherit |
32 |
DriverWindowCmd_CAN |
Outgoing |
Enum: VtSig_PasWindowCmd_t |
[-1] |
inherit |
33 |
DriverWindowCmd_CAN_send |
Outgoing |
boolean |
[-1] |
inherit |
34 |
PassengerWindowCmd_CAN |
Outgoing |
Enum: VtSig_PasWindowCmd_t |
[-1] |
inherit |
35 |
PassengerWindowCmd_CAN_send |
Outgoing |
boolean |
[-1] |
inherit |
36 |
DriverWindowMoveStatus_CAN |
Outgoing |
Enum: VtSig_PasWindowMoveSta_t |
[-1] |
inherit |
37 |
DriverWindowMoveStatus_CAN_send |
Outgoing |
boolean |
[-1] |
inherit |
38 |
PassengerWindowStatus_CAN |
Outgoing |
Enum: VtSig_PasWindowMoveSta_t |
[-1] |
inherit |
39 |
PassengerWindowStatus_CAN_send |
Outgoing |
boolean |
[-1] |
inherit |
40 |
DriverWindowMotorFault_CAN |
Outgoing |
Enum: VtSig_PasWindowMotorFlt_t |
[-1] |
inherit |
41 |
DriverWindowMotorFault_CAN_send |
Outgoing |
boolean |
[-1] |
inherit |
42 |
PassengerWindowMotorFault_CAN |
Outgoing |
Enum: VtSig_PasWindowMotorFlt_t |
[-1] |
inherit |
43 |
PassengerWindowMotorFault_CAN_send |
Outgoing |
boolean |
[-1] |
inherit |
44 |
DriverWindowObstructionStatus_CAN |
Outgoing |
Enum: VtSig_PasWindowObstructionSta_t |
[-1] |
inherit |
45 |
DriverWindowObstructionStatus_CAN_send |
Outgoing |
boolean |
[-1] |
inherit |
46 |
PassengerWindowObstructionStatus_CAN |
Outgoing |
Enum: VtSig_PasWindowObstructionSta_t |
[-1] |
inherit |
47 |
PassengerWindowObstructionStatus_CAN_send |
Outgoing |
boolean |
[-1] |
inherit |
48 |
DriverWindowPosition1_CAN |
Outgoing |
int16 |
[-1] |
inherit |
49 |
DriverWindowPosition1_CAN_send |
Outgoing |
boolean |
[-1] |
inherit |
50 |
PassengerWindowPosition2_CAN |
Outgoing |
int16 |
[-1] |
inherit |
51 |
PassengerWindowPosition2_CAN_send |
Outgoing |
boolean |
[-1] |
inherit |
52 |
DriverWindowPosition2_CAN |
Outgoing |
int16 |
[-1] |
inherit |
53 |
DriverWindowPosition2_CAN_send |
Outgoing |
boolean |
[-1] |
inherit |
54 |
PassengerWindowPosition1_CAN |
Outgoing |
int16 |
[-1] |
inherit |
55 |
PassengerWindowPosition1_CAN_send |
Outgoing |
boolean |
[-1] |
inherit |
56 |
WinDropZoneStateDriver |
Outgoing |
Enum: VtSig_sigWinDropZone_t |
[-1] |
inherit |
57 |
WinDropZoneStateDriver_send |
Outgoing |
boolean |
[-1] |
inherit |
58 |
WinDropZoneStatePassenger |
Outgoing |
Enum: VtSig_sigWinDropZone_t |
[-1] |
inherit |
59 |
WinDropZoneStatePassenger_send |
Outgoing |
boolean |
[-1] |
inherit |
3.11.4. Parameters
Id |
Data Type |
Dimensions |
Range |
Unit |
Description |
|
|---|---|---|---|---|---|---|
1 |
WINDOW_CONTROL_AutoMoveDelay |
single |
[1,1] |
Min: 0, Max: 60 |
sec |
Time delay within which auto mode can be activated (short click) |
2 |
WINDOW_CONTROL_BypassButtonCommands |
boolean |
[1,1] |
Min: 0, Max: 1 |
Used to bypass control logeic, and control directly from buttons |
|
3 |
WINDOW_CONTROL_EnableSeparateLogic |
boolean |
[1,1] |
Min: 0, Max: 1 |
enable handler for contradictory behavior |
|
4 |
WINDOW_CONTROL_IgnoreUpperStopLevel |
boolean |
[1,1] |
Min: 0, Max: 1 |
If True, the window will be considered closed only after upper end stop is detected |
|
5 |
WINDOW_CONTROL_IgnoreVSMState |
boolean |
[1,1] |
Min: 0, Max: 1 |
ignore VSM state in folding logic |
|
6 |
WINDOW_CONTROL_InvertPositionFb |
boolean |
[1,1] |
Min: 0, Max: 1 |
If True, position from driver inverted 0==100, 100=0 |
|
7 |
WINDOW_CONTROL_LowerStopLevel |
uint8 |
[1,1] |
Min: 0, Max: 100 |
% |
size of end stop lower tolerance (of window movement) |
8 |
WINDOW_CONTROL_ShortdropLevel |
uint8 |
[1,1] |
Min: 0, Max: 100 |
% |
Level in percents of short drop zone (medium value) |
9 |
WINDOW_CONTROL_ShortdropTolerance |
uint8 |
[1,1] |
Min: 0, Max: 100 |
% |
Size in percents of short drop zone limits (plus/minus meduim value) |
10 |
WINDOW_CONTROL_UpperStopLevel |
uint8 |
[1,1] |
Min: 0, Max: 100 |
% |
Level above which window will be considered closed |