5.8. HELLA Rain Light Sensor LIN Driver - HellaRainLiSnsrDrvr
Id |
HellaRainLiSnsrDrvr |
Version |
main |
Title |
HELLA Rain Light Sensor LIN Driver |
System |
Exterior Lighting |
Document Type |
Application Software Component Specification Preview |
5.8.1. Overview
The Hella Rain Light Sensor Driver component interfaces with the Hella rain and light sensor hardware. It reads sensor data over LIN and provides it to other components over CAN. It also allows configuration of the sensor via calibration parameters.
5.8.2. Functions
Title |
Description |
|
|---|---|---|
1 |
Read Sensor Data |
Reads rain intensity, light levels, glass temperature, dew point temperature and cabin humidity from the sensor over LIN and provides the data on CAN. |
2 |
Configure Sensor |
Allows configuration of the sensor behavior via calibration parameters such as light sensitivity, rain function activation, wiper type, etc. |
5.8.3. Ports
Id |
Direction |
Data Type |
Dimensions |
Unit |
Description |
Keywords |
|
|---|---|---|---|---|---|---|---|
1 |
LinSolDa |
Incoming |
Bus: LIN_SOLAR_DATA_t |
[1] |
Solar data |
Lin Solar Data |
|
2 |
LinSolDaVld |
Incoming |
boolean |
[1] |
Solar data validity |
Lin Solar Data Valid |
|
3 |
LinClimDa |
Incoming |
Bus: LIN_CLIMATE_DATA_t |
[1] |
Climate data from rain light sensor |
Lin Climate Data |
|
4 |
LinClimDaVld |
Incoming |
boolean |
[1] |
Climate data validity |
Lin Climate Data Valid |
|
5 |
LinLiDaRaw |
Incoming |
Bus: LIN_LIGHT_DATA_RAW_t |
[1] |
Light data from rain light sensor |
Lin Light Data Raw |
|
6 |
LinLiDaRawVld |
Incoming |
boolean |
[1] |
Light data validity |
Lin Light Data Raw Valid |
|
7 |
LinRainLiDa |
Incoming |
Bus: LIN_RAIN_LIGHT_DATA_t |
[1] |
Rain light data from rain light sensor |
Lin Rain Light Data |
|
8 |
LinRainLiDaVld |
Incoming |
boolean |
[1] |
Rain light data validity |
Lin Rain Light Data Valid |
|
9 |
VehSpd |
Incoming |
single |
[1] |
km/h |
Vehicle speed |
Vehicle Speed |
10 |
VehSpdVld |
Incoming |
boolean |
[1] |
Vehicle speed validity |
Vehicle Speed Valid |
|
11 |
VehSt |
Incoming |
Enum: CmnenaVehSt |
[1] |
Vehicle state |
Vehicle State |
|
12 |
VehStVld |
Incoming |
boolean |
[1] |
Vehicle state validity |
Vehicle State Valid |
|
13 |
WiprHomePosn |
Incoming |
boolean |
[1] |
Wiper in home position |
Wiper Home Position |
|
14 |
WshrSt |
Incoming |
Enum: CmnenaOprtgSt |
[1] |
Washer actual state |
Washer State |
|
15 |
WshrStVld |
Incoming |
boolean |
[1] |
Washer actual state validity |
Washer State Valid |
|
16 |
WiprHomePosnVld |
Incoming |
boolean |
[1] |
Wiper in home position validity |
Wiper Home Position Valid |
|
17 |
AmbAirT |
Incoming |
single |
[1] |
°C |
Ambient air temperature |
Ambient Air Temperature |
18 |
AmbAirTVld |
Incoming |
boolean |
[1] |
Ambient air temperature validity |
Ambient Air Temperature Valid |
|
19 |
WiprArbdReq |
Incoming |
Enum: CmnenaWiprMod |
[1] |
Wiper arbitrated request |
Wiper Arbitrated Request |
|
20 |
WiprArbdReqVld |
Incoming |
boolean |
[1] |
Wiper arbitrated request validity |
Wiper Arbitrated Request Valid |
|
21 |
LinSnsrCfgDa |
Outgoing |
Bus: LIN_SENS_CONFIG_DATA_t |
[-1] |
Sensor configuration |
Lin Sensor Configuration Data |
|
22 |
LinVehDa |
Outgoing |
Bus: LIN_VEH_DATA_t |
[-1] |
Vehicle data for sensor |
Lin Vehicle Data |
|
23 |
LinSnsrCfgDaSnd |
Outgoing |
boolean |
[1] |
Flag to send sensor configuration data |
Lin Sensor Configuration Data Send |
|
24 |
LinVehDaSnd |
Outgoing |
boolean |
[1] |
Flag to send vehicle data |
Lin Vehicle Data Send |
|
25 |
LiSnsrOnOffReq |
Outgoing |
Enum: CmnenaAcvnSt |
[1] |
Beam request from light sensor |
Light Sensor On Off Request |
|
26 |
LiSnsrErr |
Outgoing |
Enum: CmnenaSysNotifSt |
[1] |
Light sensor state (ok/fault) |
Light Sensor Error |
|
27 |
ScrT |
Outgoing |
single |
[1] |
°C |
Windscreen temperature |
Screen Temperature |
28 |
ScrTVld |
Outgoing |
boolean |
[1] |
Windscreen temperature validity |
Screen Temperature Valid |
|
29 |
ScrHum |
Outgoing |
single |
[1] |
% |
Windscreen humidity |
Screen Humidity |
30 |
ScrHumVld |
Outgoing |
boolean |
[1] |
Windscreen humidity validity |
Screen Humidity Valid |
|
31 |
SolLoa |
Outgoing |
uint16 |
[1] |
lux |
Ambient light level |
Solar Load |
32 |
SolLoaVld |
Outgoing |
boolean |
[1] |
Ambient light level validity |
Solar Load Valid |
|
33 |
RainDa |
Outgoing |
Enum: CmnenaWiprMod |
[1] |
Wiper requested mode from rain sensor |
Rain Data |
5.8.4. Parameters
Id |
Data Type |
Dimensions |
Range |
Unit |
Description |
Keywords |
|
|---|---|---|---|---|---|---|---|
1 |
HellarlsCalSigTiout |
uint8 |
[1,1] |
Min: 0, Max: 100 |
s |
Calibration value for determine signal corruption |
Hellarls Calibration Signal Timeout |
2 |
HellarlsHumSnsrCorrn |
uint8 |
[1,1] |
Min: 0, Max: 3 |
Calibration param : 0 - humidity sensor correction not active , 1 - humidity sensor correction active 1 , 2 - humidity sensor correction active 2 |
Hellarls Humidity Sensor Correction |
|
3 |
HellarlsEnaCfg |
boolean |
[1,1] |
Min: 0, Max: 1 |
0 - disable SENS_CONFIG_DATA msg Tx, 1 - enable |
Hellarls Enable Configuration |
|
4 |
HellarlsSteerWhlTyp |
uint8 |
[1,1] |
Min: 0, Max: 3 |
Calibration Steering wheel: 0 - left hand drive , 1 - right hand drive |
Hellarls Steering Wheel Type |
|
5 |
HellarlsSpdLi |
uint8 |
[1,1] |
Min: 0, Max: 3 |
Calibration param : 0 - speed light not active , 1 - speed light active |
Hellarls Speed Light |
|
6 |
HellarlsSpdThdHys |
single |
[1,1] |
Min: 0, Max: 250 |
kph |
Vehicle speed hysteresis |
Hellarls Speed Threshold Hysteresis |
7 |
HellarlsSpdThd |
single |
[1,1] |
Min: 0, Max: 250 |
kph |
Vehicle speed threshold between high and low |
Hellarls Speed Threshold |
8 |
HellarlsScrTyp |
uint8 |
[1,1] |
Min: 0, Max: 7 |
Determine installed windscreen type (0 - Green glas windscreen,1 - Clear glass windscreen,2 - Windscreen 2,3 - Windscreen 3) |
Hellarls Screen Type |
|
9 |
HellarlsRainFctAcv |
uint8 |
[1,1] |
Min: 0, Max: 3 |
Calibration param : 0 -rain function active , 1 - rain function not active |
Hellarls Rain Function Active |
|
10 |
HellarlsOvrdIg |
boolean |
[1,1] |
Min: 0, Max: 1 |
Overrride ingnition value: 1 - override |
Hellarls Override Ignition |
|
11 |
HellarlsLiS |
uint8 |
[1,1] |
Min: 0, Max: 7 |
Calibration light sensitivity, value between 0 and 5 |
Hellarls Light Sensitivity |
|
12 |
HellarlsOvrdWiprS |
uint8 |
[1,1] |
Min: 0, Max: 13 |
Wiper sensitivity that is sent to RLS, 0: very low; 1: low; 2: medium; 3: high; 4: very high |
Hellarls Override Wiper Sensitivity |
|
13 |
HellarlsWiperType |
uint8 |
[1,1] |
Min: 0, Max: 3 |
Calibration wiper type: 0 - 2-step wiper , 1 - multi-step wiper |
Hellarls Wiper Type |
|
14 |
HellarlsVehTyp |
uint8 |
[1,1] |
Min: 0, Max: 7 |
Calibration vehicle type value between 0 and 7 |
Hellarls Vehicle Type |