SDC2160 Closed loop counter pos mode

6 years 1 week ago #29529355 by alexm
Hi all, I messing with cloosed loop modes. I'm using single motor fw version, I want move the motor to a counter position, so I assume what this mode it's ok (closed loop counter pos).

Then, I reset the counter setting open loop mode and sending "!C 1 0", later set "closed loop counter pos", and I send "!PR 1 10000" and the motor spins counterclockwise and anticlockwise indefinetly. Speed RPM and motor command is the same dir.

some advice?

Thank you

Please Log in or Create an account to join the conversation.

6 years 1 week ago - 6 years 1 week ago #29529356 by alexm
Replied by alexm on topic SDC2160 Closed loop counter pos mode



I guess something related by PID tuning, it's possible?

attached some pics
Attachments:

Please Log in or Create an account to join the conversation.

6 years 1 week ago - 6 years 1 week ago #29529358 by Griffin Baker
Replied by Griffin Baker on topic SDC2160 Closed loop counter pos mode
nevermind.

Please Log in or Create an account to join the conversation.

6 years 1 week ago #29529359 by Griffin Baker
Replied by Griffin Baker on topic SDC2160 Closed loop counter pos mode
The position mode is going to utilize the P gain over the I gain. So your PID should have more P gain than I.

Please Log in or Create an account to join the conversation.

6 years 1 week ago #29529360 by alexm
Replied by alexm on topic SDC2160 Closed loop counter pos mode
Thank you, works like a charm!!

Please Log in or Create an account to join the conversation.

Moderators: tonysantoni
Time to create page: 0.180 seconds