Documentation Home Page eHS Toolbox Home Page
Pour la documentation en FRANÇAIS, utilisez l'outil de traduction de votre navigateur Chrome, Edge ou Safari. Voir un exemple.

Angle Sensor Emulator block - efs_xsgAngleSensors

Block


Table of Contents

Description

The Angle Sensor emulator is used to mimic the behavior of a resolver and a quadrature encoder according to an input rotation speed. This block implements the emulator for two independent speed values.


Mask Parameters

This block has no parameter.


Inputs

Theta ({i}): This input is used to provide the angle for each resolver/encoder pair. The angle should be provided as a turn ratio, between 0 and 1. The recomended numerical format for such angle is UFix24_24.

Ext. Carrier ({i}): This input is used to provide an external carrier for each of the resolvers.

Ext. Carrier Valid: This input is used to provide an internal write enable for the external carrier values. In the case the external carrier is recovered from an analog input channel, this signal should be connected to the "valid" flag of the analog input interface.

Params: This input should be connected to the LoadIN block through an "AngleSensors Unpacking" block. It receives all necessary parameter info from the RT-LAB model.


Outputs

AngleSensorsOut: This output is a Simulink composite signal containing all outputs from the resolvers and encoders emulated by the block.These signals are:

  • Theta_sensor: Angle of the resolver/encoder pair as received from the Theta (i) input.
  • sin_res, cos_res, car_res: The resolver sine modulation, cosine modulation and carrier, respectively.
  • A, B, Z: The encoder A and B quadrature-encoded digital signals, and Z the revolution reset flag. One "Z" pulse occurs per turn, when the angle is close to zero.

Characteristics and limitations

This block has no special characteristics.

Direct FeedthroughN/A
Discrete sample timeN/A
XHP supportN/A
Work offlineNO


If you require more information, please contact https://www.opal-rt.com/contact-technical-support/.

OPAL-RT TECHNOLOGIES, Inc. | 1751, rue Richardson, bureau 1060 | Montréal, Québec Canada H3K 1G6 | opal-rt.com | +1 514-935-2323