Configuration for brake release

5 years 4 months ago #29533731 by msacarny
We have a BLDC with integrated brake and 2000 line encoder controlled by MBL1660A. We have configured DOUT1 as Brake Release. Our intention is to drive the motor to specific counter locations, stop, and have brake applied automatically. I have _not_ found a simple way to do this in closed loop mode.

If I set the motor to open loop in the Motor Control Utility and drive it, I see the Brake Release line become active until the motor stops, when it becomes inactive, just as expected. In closed loop mode (we prefer closed loop count position), however, Brake Release becomes and stays active even after the motor has reached the desired position. If I manually change to open loop, then Brake Release turns off. Is there a simple way to specify a target location, have the motor drive to that location, stop and deactivate Brake Release?

Thank you

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

5 years 4 months ago #29533736 by Gabriel_Isko
Replied by Gabriel_Isko on topic Configuration for brake release
In closed loop count position mode, the controller is still trying to maintain the desired position through the PID controller, so it is correct operation for the brake to remain unreleased. You can experiment with setting your P gain to zero, which will shut off output on the controller, however you still might have to manually flip the Dout if you are in count position mode, which is the recommended approach.

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

5 years 4 months ago #29533739 by msacarny
Thank you for your prompt reply. What is the recommended approach for determining when the the target has been reached? MicroBasic poll of DREACHED or is there some other internal flag?

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

5 years 4 months ago #29533741 by Gabriel_Isko
Replied by Gabriel_Isko on topic Configuration for brake release
The DREACHED flag is a pretty good way, but you could also just monitor the loop error.

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

Moderators: tonysantoni
Time to create page: 0.085 seconds