Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Image RemovedImage Added

Block



Panel
titleTable of Contents

Table of Contents
maxLevel3


Description

This block performs the control of up to 4 Resolvers and 4 Quadrature Encoders embedded in the machine model.


Mask Parameters

General tab

Block Mode: When selected Quad generic machine model, it controls 4 Resolver and 4 Quadrature Encoder blocks while when selected Dual PMSM Variable DQ it only controls 2 Resolver and 2 Quadrature Encoder blocks instead.

Resolver/Encoder Source Select: This parameter sets the resolver&encoder source.

Set all parameters from input ports: When selected, all other parameters will be disabled from the block mask and corresponding input ports will appear for dynamic access during the real-time simulation. Numerical value to send to the input port for the popup menus is written between square brackets in the description below.

Resolver Angle Offset: Offset apply to the rotor angle in degrees to adjust the phase of the resolver angle.

Resolver Pole Pairs: Number of pole pairs of the resolver emulator. This parameter should be an integer number between 0 and 128.

Resolver Reverse Speed: When selected [1], this option reverse the resolver sine/cosine modulation direction

Resolver Initial Angle: Offset apply to the rotor angle in degrees to adjust the starting phase of the resolver angle.

Resolver Carrier Select: This parameter selects the resolver carrier source, between the internal carrier generator [1] or an external source (generally from an analog input channel) [0].

Resolver Force Angle: When selected the rotor angle of the resolver stops rotating.

Resolver Carrier Frequency: Internal carrier generator frequency, in hertz.

Encoder Resolution: The quadrature encoder resolution, in pulses per revolution.

Encoder Polarity: This parameter sets the encoder polarity, Active-High [1] or Active-Low [0].

Encoder AleadsB: This parameter sets the BleadsA [1] or AleadsB [0].

Resolver External Carrier Shift:Offset apply to the delayed time of external resolver excitation, in second. Max value is 2.5e-6*2^10 = 0.00256s.

Encoder Angle Offset: Offset apply to the rotor angle in degrees to adjust the phase of the encoder angle.

Encoder Pole Pairs: Number of pole pairs of the encoder emulator. This parameter should be an integer number between 0 and 128.

Resolver Sine Modulator Sine Gain: The sine modulation output sine component amplitude. Default value is 1.

Resolver Sine Modulator Cosine Gain: The sine modulation output cosine component amplitude. Default value is 0.

Resolver Cosine Modulator Sine Gain: The cosine modulation output sine component amplitude. Default value is 0.

Resolver Cosine Modulator Cosine Gain: The cosine modulation output cosine component amplitude. Default value is 1.


Inputs

The input ports description is equivalent to the parameter description above.


Outputs

DataFrame: This output is a Simulink composite signal containing all outputs from the resolvers and encoders emulated by the block and should be connected to the loadin port of Generic Machine block.


Characteristics and limitations

This block has no special characteristics.

Direct Feed-throughNO
Discrete sample timeYES
XHP supportYES
Works off-lineNO


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