Hello there.

I bought a used servo electric motor last week.

The motor contains a sin-cos encoder and is single-turn. There are 1024 periods sin and cos signal outputs per turn. The signals have a 2.5V offset voltage and are the highest 3V, the lowest 2V. that is, at 8V input voltage, 1V peak to peak is the amplitude of the output signal.

I wrote a FOC algorithm(pretty simple) for the servo I bought and I want to test this algorithm. But in order for the algorithm to function properly, I need to know at what degree the rotor position is in its starting position. this is not possible with sin cos encoders as far as I know. Since the encoder of the motor does not provide an index output, I am stuck. at least I have to take the motor to zero rotor angle at the beginning (before I activate the algorithm). But how can I know the zero angle in such motors?

I bought a used servo electric motor last week.

The motor contains a sin-cos encoder and is single-turn. There are 1024 periods sin and cos signal outputs per turn. The signals have a 2.5V offset voltage and are the highest 3V, the lowest 2V. that is, at 8V input voltage, 1V peak to peak is the amplitude of the output signal.

I wrote a FOC algorithm(pretty simple) for the servo I bought and I want to test this algorithm. But in order for the algorithm to function properly, I need to know at what degree the rotor position is in its starting position. this is not possible with sin cos encoders as far as I know. Since the encoder of the motor does not provide an index output, I am stuck. at least I have to take the motor to zero rotor angle at the beginning (before I activate the algorithm). But how can I know the zero angle in such motors?