BLDC.Sensors.SinCosResolver

# .BLDC.Sensors.SinCosResolver

Sin/Cos-Resolver

## Information

This is a model of sin/cos-encoder. It senses the angle of the flange `phi` (w.r.t. the optional support), providing 4 analog signals:

- `y[1] = offset + amplitude*cos(p*(phi - phi0))`
- `y[2] = offset - amplitude*cos(p*(phi - phi0))`
- `y[3] = offset + amplitude*sin(p*(phi - phi0))`
- `y[4] = offset - amplitude*sin(p*(phi - phi0))`

It is used to measure angular velocity and rotor angle of electric drives. The offset of the output is used to sense whether the sensor is working or defect. It can easily be removed by subtracting `y[1] - y[2]` and `y[3] - y[4]`.

#### Note:

Usually the number of pole pairs `p` matches the number of pole pairs of the permanent magnet synchronous machine. The sensor directly provides the electrical rotor angle, i.e. `p*phiMechancial`, and the electrial angular velocity, i.e. `p*wMechancial`, if block SinCosEvaluation is used.

Generated at 2026-05-12T20:19:03Z by OpenModelicaOpenModelica 1.26.7 using GenerateDoc.mos