SinCos encoder and sincosofs
Posted: Sat May 29, 2021 8:47 pm
Hi,
The motor i am using has a RMB29AC01SS1 encoder (https://eveurope.eu/wp-content/uploads/rmb29d01.pdf) and i am using it with a Auris inverter with Damians block 4 board.
The encoder gives a sine wave with an output of 2.45V to 3.55V, which is obviously higher than the range of the inputs on the board (3.3V). To reduce this I have added 50k resistors across the 1nF filter caps. This gives me a voltage range at the ADC input of 2 - 2.9V.
I have set the sincosofs to 3040 (2.45V) which should be the midpoint of the signal. However when I spin the motor, I see a angle between 100 to 350 degress. I cannot seem to get a reading below 100 degrees.
Am i doing something wrong? Should this encoder work with this setup
FYI - Running V5.05 FOC
The motor i am using has a RMB29AC01SS1 encoder (https://eveurope.eu/wp-content/uploads/rmb29d01.pdf) and i am using it with a Auris inverter with Damians block 4 board.
The encoder gives a sine wave with an output of 2.45V to 3.55V, which is obviously higher than the range of the inputs on the board (3.3V). To reduce this I have added 50k resistors across the 1nF filter caps. This gives me a voltage range at the ADC input of 2 - 2.9V.
I have set the sincosofs to 3040 (2.45V) which should be the midpoint of the signal. However when I spin the motor, I see a angle between 100 to 350 degress. I cannot seem to get a reading below 100 degrees.
Am i doing something wrong? Should this encoder work with this setup
FYI - Running V5.05 FOC