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

Resolver Out

Block

Block

Mask

Mask

Description

This block generates output resolver signals: modulated sine and cosine, sine and cosine envelop and motor angle.

These signals can then be sent to an analog output module (see OP5330 DAC IFblock) and be sent to an external device with fast-sampling precision.

Generated output signals

Parameters

Reset Angle (rad)Used to reset angle when one complete round is done by the rotor. It also determines the initial angle of the rotor. This parameter must be between 0 and 2π.
Angle Resolution(bits width)Shows the depth of the SinCos table. Currently set at 14 bits deep (cannot be changed).
Sin-Cos table width (power of 2)Determines the width of Sin table used for internal carrier signal build. Currently set at 18 bits width (cannot be changed).

Inputs

CarrierSelectChooses between the internal carrier and external carrier coming from Analog In module. Its format is UFix1_0.
CarrierFreqIntegrationFactorInternal carrier frequency coming from the CPU model. Its format is UFix32_24. This input is a factor of the real value. The value at the input is the carrier frequency multiplied by 10x10^-9 (tsfpga) and 2^18 (integrator output maximum value).
CarrierAmpInternal carrier amplitude coming from the CPU model. Its format is Fix16_11.
SinAmpAmplitude (coming from CPU model) of the generated modulated sine signal. Its format is UFix16_11.
SinBiasBias (coming from CPU model) of the generated modulated sine signal. Its format is Fix16_11.
CosAmpAmplitude (coming from CPU model) of the generated modulated cosine signal. Its format is UFix16_11.
CosBiasBias (coming from CPU model) of the generated modulated cosine signal. Its format is Fix16_11.
SpeedIntegrationFactorSpeed coming from the CPU model. Its format is Fix32_25. This input is a factor of the real value. The value at the input is the speed multiplied by 10x10^-9 (tsfpga) and 2^18 (integrator output maximum value).
ExtCarrierExternal carrier coming from Analog In module. Its format is Fix16_10.
AlphaCosine of the phasing between the modulated sine signal and modulated cosine signal. This input comes from the CPU model. Its format is Fix18_16.
BetaSine of the phasing between the modulated sine signal and modulated cosine signal. This input comes from the CPU model. Its format is Fix18_16.


Note about the Integration FactorsThe Integration Factors are used to generate an angle of the motor's rotor. The method of calculation is based on a single addition block loopback on itself. The natural overflow from the addition of free runs produces a sawtooth wave between 0 and (2^18)-1. This is why you must factor the carrier frequency and speed.


Outputs

CarrierCarrier (either internal or external) used for modulated signals generation is the internal carrier frequency coming from CPU model. Its format is Fix16_11.
SinRESResolver modulated sine. Its format is Fix16_11.
CosRESResolver modulated cosine. Its format is Fix16_11.
ThetaEquivalent normalized speed angle. Its format is UFix18_18.
SinResolver sine envelope. Its format is Fix16_11.
CosResolver cosine envelope. Its format is Fix16_11.

Characteristics and Limitations

This block has no specific characteristics or limitations.

OPAL-RT TECHNOLOGIES, Inc. | 1751, rue Richardson, bureau 1060 | Montréal, Québec Canada H3K 1G6 | opal-rt.com | +1 514-935-2323
Follow OPAL-RT: LinkedIn | Facebook | YouTube | X/Twitter