Main Content

Resolver

Measure position of resolver sensor

Since R2024a

  • Resolver block

Libraries:
Embedded Coder Support Package for Infineon AURIX TC4x Microcontrollers / AURIX TC4x

Description

The Resolver block measures the position of a resolver sensor and also capable of generating the excitation carrier signal for the resolver sensor.

The Resolver block outputs the angle of the resolver sensor in either radians (default) or degrees. The block outputs a measurement based on the sensed sine and cosine voltages of the resolver sensor.

Enabling the timestamp option creates an additional output port that outputs the timestamp in seconds from the last conversion as a signed value.

Ports

Output

expand all

The block outputs the position of the resolver sensor in radians (default) or degrees. The size of θₘ output depends on the Enable timestamp parameter.

Selecting the Enable timestamp parameter results in θₘ of size 2x1 and disabling Enable timestamp parameter results in θₘ of size 1x1.

Data Types: single

The port outputs the timestamp indicating the time elapsed in seconds from the last conversion.

Dependencies

To enable this port, select the Enable timestamp parameter.

Data Types: single

Parameters

expand all

Select the position measurement unit for the resolver sensor.

Select to enable the timestamp.

When you select the Enable timestamp parameter, the block configures an additional output port timestamp.

Selecting of this parameter enables options in the Timestamp tab and Timestamp event (under Events tab) in the Resolver Peripheral Configuration window.

Specify in seconds how often the block must read the position of the resolver sensor.

When you specify this parameter as -1, Simulink® determines the best sample time for the block based on the block context within the model.

Version History

Introduced in R2024a