SensoWheel

This I/O device allows a model running in SimWB to communicate with Senso Wheel and Pedals through RTDB. Using this, users can provide steering and pedal input to their models via SensoWheel. We have tested the SD-LC wheel & SensoPedals Pro. While other devices are expected to work, they are not tested.

It also supports position and velocity control of SensoWheel (SensoWheel Active Position Control). Active position control is especially vital for ADAS applications.

Prerequisite for SensoWheel - PEAK-CAN

To run this I/O task, you need to have PEAK-CAN USB device.

Reference Information PEAK-CAN USB

I/O Card Model Number

CS-GC-CAN-USB

I/O Driver Model Number

WCS-GC-CAN-USB

I/O Module License:

ICS-SWB-1245.

SensoWheel.png 

SensoWheel Wheel Settings

This pane allows the user to set the wheel parameters to match that of the wheel that needs to be emulated.

Range

Rotation range of the Senso Wheel. Default is 720 Degrees. Allowed range is 90 to 1440 degrees.

Max torque

This defines the auto centering maximum torque that the Senso Wheel will output. Default is 100 %.

Damping

This defines the damping factor is used by the Senso Wheel in mNm/U/min. Default is 100 mNm/U/min. Allowed range is 0 to 500 mNm/U/min.

Friction

This defines the friction factor is used by the Senso Wheel. Default is 1 mNm. Allowed range is 0 to 5000 mNm.

Stiffness

This defines the stiffness factor is used by the Senso Wheel in mNm/deg. Default is 200 mNm/deg. Allowed range is 0 to 2500 mNm/deg.

Mapping Table

Field Column

Parameter of the SensoWheel program.

Type Column

Type of data the field contains.

Direction Column

Direction of the point. Can be input or output.

Description Coulmn

Description of the field.

Mapped Point(s) Column

Shows the mapped Input/Output point(s) of a field.

To map a field to a channel, select a field on the left side of the I/O Mappings form, then click on a check box for an I/O point on the right side of the form. See I/O Mappings... for details.

 

Fields and their meaning

wheel

Steering wheel Position (Radians).

wheel

Steering wheel Position (Radians).

wheelVel

Steering wheel Velocity.

accel

Accelerator pedal position (Raw values. Use EU conversions).

brake

Brake pedal position (Raw values. Use EU conversions).

clutch

Clutch pedal position (Raw values. Use EU conversions).

torque

Feedback torque (NM).

AdditivePosition.DesiredValues

Allows users to set the desired position. The factors kSW and kLW control the weight for normal mode and position control torques respectively. Superposition of both torques can be achieved by using non-zero values for these parameters. If this CAN message is not sent, the SENSO-Wheel SD-LC behaves like the standard model without additive position control. In other words, kSW = 100 and kLW = 0. If you are setting the values via RTViewer, it is recommended to use RTForms to set all the values simultaneously since we send CAN messages as soon as we detect any changes.

DesiredPosition

Desired Position (Degrees). Unit 0.01°. Range ±144000.

FactorSensoWheel

Factor SENSO-Wheel kSW. Unit %. Range 0-200.

FactorPostionControl

Factor Position Control kLW. Unit %. Range 0-200.

AdditivePosition.ActualValues

SensoWheel sends the actual position using this message. It usually sends one reply whenever we set a desired position. It is possible that the wheel did not reach the final position when we receive this message. The actual position can be read out from the CAN message of the SENSO-Wheel Normal Mode continuously. In other words, 'wheel' variable above should give the current position contiguously. Please note that wheel is in radians and desired position is in 0.01 degrees.

ActualPosition

Actual Position (Degrees). Unit 0.01°. Range ±144000.

DesiredTorqueSensoWheel

Desired Torque SENSO-Wheel. Unit mNm. Range -32768 - +32767.

DesiredTorquePostionControl

Desired Torque Position Control. Unit mNm. Range -32768 - +32767.

AdditivePosition.TargetVelocity

Allows users to set the desired velocity. When this message is received by SensoWheel, the position controller is switched off and a desired velocity is set. If you are setting the values via RTViewer, it is recommended to use RTForms to set all the values simultaneously since we send CAN messages as soon as we detect any changes.

TargetVelocity

Target Velocity. Unit RPM. Range ±500.

Mode

Target Velocity Mode. 0 = position controller, 1 = velocity controller.

AdditivePosition.ActualVelocity

SensoWheel sends the actual velocity using this message. It usually sends one reply whenever we set a desired velocity. The actual velocity can be read out from the CAN message of the SENSO-Wheel Normal Mode continuously. In other words, 'wheelVel' variable above should give the current velocity contiguously.

TargetVelocityLimited

Target velocity limited by maximum acceleration and maximum velocity . Unit U/min. Range ±500.

ActualVelocity

Actual Velocity. Unit U/min. Range ±32767.

AdditivePosition.SetControllerParameters

Allows users to set the desired parameters. If you are setting the values via RTViewer, it is recommended to use RTForms to set all the values simultaneously since we send CAN messages as soon as we detect any changes. Or you can change the parameter number first before changing the parameter value. This way, we will only change the desired parameter and not old parameter.

ParameterNumber

Parameter number. Range 1...n.

Parameters

Value of Parameter. See doc for acceptable values.

AdditivePosition.RequestControllerParameter

Allows users to request the value of a the parameter.

ParameterNumber

Parameter number. Range 1...n.

AdditivePosition.ControllerParameter

Sensowheel sends the requested parameter value and the parameter number.

ParameterNumber

Parameter number. Range 1...n.

Variable

Value of Parameter from SensoWheel.

Verifying and Configuring SensoWheel and Pedals

If there are issues with the Senso Wheel and Pedals not working or being detected by SimWorkbench, please verify that the Senso Wheel and Pedals are working correctly with these instructions here.