Sin Cos Evaluation - MapleSim Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


Sin Cos Evaluation

Evaluation of the signals of a sin-cos-resolver

 

Description

Variables

Connections

Modelica Standard Library

Description

The Sin Cos Evaluation component

The Sin Cos Resolver provides four tracks:

• 

cosine

• 

minus sine

• 

sine

• 

minus cosine

All four tracks have the same amplitude and the same offset > amplitude. Offset is used to detect loss of a track. To remove offset, (minus sine) is subtracted from (sine) and (minus cosine) from (cosine), resulting in a cosine and a sine signal with doubled amplitude but without offset. Interpreting cosine and sine as real and imaginary part of a phasor, one could calculate the angle of the phasor (i.e., transform rectangular coordinates to polar coordinates). This is not very robust if the signals are superimposed with some noise. Therefore the phasor is rotated by an angle that is obtained by a controller. The controller aims at imaginary part equal to zero. The resulting angle is continuous, i.e. differentiating the angle results in 2πfrequency. If desired, the angle can be wrapped to the interval ]π,+π]. If the Sin-Cos Resolver provides one period of the tracks during a rotation of 2πp, the result is the angle with respect to one pole pair and can be directly used for field oriented control.

Variables

Name

Value

Units

Description

Modelica ID

feedbackCos

 

 

 

feedbackCos

feedbackSin

 

 

 

feedbackSin

rotator

 

 

 

rotator

integrator

 

 

 

integrator

der1

 

 

 

der1

Connections

Name

Description

Modelica ID

u

Signal from sin-cos-resolver

u

φ

Angle

phi

w

Angular velocity

w

Modelica Standard Library

The component described in this topic is from the Modelica Standard Library. To view the original documentation, which includes author and copyright information, click here.

See Also

Electrical Library

Electrical Machines

Electrical Machines Utilities