### 360° endless with quadro encoders (closed loop)

Posted:

**Thu Nov 12, 2020 3:15 pm**Hi there!

I like to buy the MCP2206 Dual 200A, 60VDC Advanced Motor Controller.

But i have question about the control scripting:

I like to know if there is already a solution for 360°position controlling (endless), using Feedback from a quadro encoder (with index).

To explain the problem: The TTL Input Signal goas from 0 rad to 6,28 rad, so the actuator follows right turning from 0 to 360° - fine.

But when the TTL Input gets over 6.28 rad it is 0 rad again! So the actuator follows the signal and turns left (with fullspeed) to meet the 0 rad - and this is wrong.

Instead the controller must note the "turnover" and add a value of 6.28 rad to maintain correct position e.g. +380°.

I use a analog 5V absolute Sensor at the moment:

https://youtu.be/QI70pLFY7gQ

But this comes along with many problems, so i like to change to the MCP2206.

I like to buy the MCP2206 Dual 200A, 60VDC Advanced Motor Controller.

But i have question about the control scripting:

I like to know if there is already a solution for 360°position controlling (endless), using Feedback from a quadro encoder (with index).

To explain the problem: The TTL Input Signal goas from 0 rad to 6,28 rad, so the actuator follows right turning from 0 to 360° - fine.

But when the TTL Input gets over 6.28 rad it is 0 rad again! So the actuator follows the signal and turns left (with fullspeed) to meet the 0 rad - and this is wrong.

Instead the controller must note the "turnover" and add a value of 6.28 rad to maintain correct position e.g. +380°.

I use a analog 5V absolute Sensor at the moment:

https://youtu.be/QI70pLFY7gQ

But this comes along with many problems, so i like to change to the MCP2206.