12.2. Bourns SAS driver - BrnsSteerWhlAgSnsrDrvr
Id |
BrnsSteerWhlAgSnsrDrvr |
Version |
main |
Title |
Bourns SAS driver |
System |
Steering |
Document Type |
Application Software Component Specification Preview |
12.2.1. Overview
The Bourns steering angle sensor (SAS) software component provides steering wheel angle data to other subsystems. Its main purpose is to read the raw sensor data from the CAN bus, process it, and output the steering wheel angle and the corresponding rate. The component also handles the calibration routine for the Bourns SAS.
12.2.2. Functions
Title |
Description |
|---|---|
Process Bourns SAS Data |
Reads the raw Bourns SAS data from the CAN bus, applies the configured steering angle sign convention, and outputs the processed steering wheel angle and rate. Also determines if the angle data is valid. |
Manage Bourns SAS Calibration |
Controls the calibration routine for the Bourns SAS. Starts calibration when requested, monitors progress, and indicates when calibration is complete. Outputs calibration status information. |
12.2.3. Ports
Id |
Direction |
Data Type |
Dimensions |
Unit |
Keywords |
|
|---|---|---|---|---|---|---|
1 |
CanInpBrns |
Incoming |
Bus: CAN_Bourns_Tx_t |
[-1] |
inherit |
Can Input Bourns |
2 |
CanInpBrnsVld |
Incoming |
boolean |
[1] |
inherit |
Can Input Bourns Valid |
3 |
SasCalStrtReq |
Incoming |
boolean |
[1] |
inherit |
Sas Calibration Start Request |
4 |
SasCalResReq |
Incoming |
boolean |
[1] |
inherit |
Sas Calibration Result Request |
5 |
SteerAgSnsrTyp |
Incoming |
uint8 |
[1] |
inherit |
Steering Angle Sensor Type |
6 |
BrnsSteerWhlAg |
Outgoing |
single |
[-1] |
inherit |
Bourns Steering Wheel Angle |
7 |
BrnsSteerWhlAgRate |
Outgoing |
single |
[-1] |
inherit |
Bourns Steering Wheel Angle Rate |
8 |
BrnsSteerWhlAgIsOk |
Outgoing |
boolean |
[-1] |
inherit |
Bourns Steering Wheel Angle Is Ok |
9 |
BrnsSteerWhlAgIsCal |
Outgoing |
boolean |
[-1] |
inherit |
Bourns Steering Wheel Angle Is Calibration |
10 |
CanSndBrnsCfg |
Outgoing |
Bus: CAN_Bourns_Config_t |
[-1] |
inherit |
Can Send Bourns Configuration |
11 |
CansndOutBrnsCfg |
Outgoing |
boolean |
[-1] |
inherit |
|
12 |
BrnsSasCalStrtInfo |
Outgoing |
uint8 |
[1] |
inherit |
Bourns Sas Calibration Start Information |
13 |
BrnsSasCalResReq |
Outgoing |
boolean |
[1] |
inherit |
Bourns Sas Calibration Result Request |
14 |
BrnsSteerAgSnsrCalProgs |
Outgoing |
uint8 |
[1] |
inherit |
Bourns Steering Angle Sensor Calibration Progress |
15 |
BrnsSasCalResInfo |
Outgoing |
uint8 |
[1] |
inherit |
Bourns Sas Calibration Result Information |
12.2.4. Parameters
Id |
Data Type |
Dimensions |
Range |
Unit |
Description |
Keywords |
|
|---|---|---|---|---|---|---|---|
1 |
SasbrnsCalTi |
single |
[1,1] |
Min: , Max: |
s |
Bourns Angle Sensor Calibration Time Interval |
Sasbrns Calibration Time |
2 |
SasbrnsSteerWhlAgSign |
boolean |
[1,1] |
Min: , Max: |
Bourns Steering Angle Sign convention: true - positive; false - negative |
Sasbrns Steering Wheel Angle Sign |