TRQ – Torque sensor
Table of Contents
The torque sensor (TRQ) block reads the voltage output of a torque sensor and converts it to torque. It targets drive applications.
The B-Box RCP supports a single torque sensor through the Motor Interface for B-Box RCP. The sensor’s output must be a voltage proportional to the applied torque. The TRQ block will then read the input voltage and convert it to torque, using the specified sensitivity and offset of the sensor.
Simulink block
Signal specification
- The output signal is the measured torque in [Nm].
- The
sim
input signal is used in simulation and represents the actual torque, computed by the simulation plant model. - The
>
input signal needs to be connected to the sampling clock generated by the CONFIG block to account for the exact sampling instant in simulation.
![Screenshot of the torque sensor block for Simulink.](../wp-content/uploads/2022/03/TRQ-simulink.png)
Parameters
Device ID
selects which B-Box/B-Board to address when used in a multi-device configuration.Sensor sensitivity [V/Nm]
defines the sensitivity of the sensor.Sensor offset [V]
defines the voltage offset of the sensor.
![Screenshot of the torque sensor parameters for the Simulink block.](../wp-content/uploads/2022/03/TRQ-simulink-params.png)
PLECS block
Signal specification
- The output signal is the measured torque in [Nm].
- The
sim
input signal is used in simulation and represents the actual torque, computed by the simulation plant model. - The
>
input signal needs to be connected to the sampling clock generated by the CONFIG block to account for the exact sampling instant in simulation.
![Screenshot of the torque sensor block for PLECS.](../wp-content/uploads/2022/04/TRQ-1.png)
Parameters
Device ID
selects which B-Box/B-Board to address when used in a multi-device configuration.Sensor sensitivity [V/Nm]
defines the sensitivity of the sensor.Sensor offset [V]
defines the voltage offset of the sensor.
![Screenshot of the torque sensor parameters for the PLECS block (addressing).](../wp-content/uploads/2022/03/TRQ-plecs-params-1.png)
![Screenshot of the parameters for the PLECS block.](../wp-content/uploads/2022/03/TRQ-plecs-params-2.png)