Thread: "Stall" a motor
View Single Post
  #2   Spotlight this post!  
Unread 02-02-2016, 13:37
joelg236 joelg236 is offline
4334 Retired Mentor & Alumni
AKA: Joel Gallant
no team
Team Role: Mentor
 
Join Date: Dec 2011
Rookie Year: 2012
Location: Calgary
Posts: 733
joelg236 has a reputation beyond reputejoelg236 has a reputation beyond reputejoelg236 has a reputation beyond reputejoelg236 has a reputation beyond reputejoelg236 has a reputation beyond reputejoelg236 has a reputation beyond reputejoelg236 has a reputation beyond reputejoelg236 has a reputation beyond reputejoelg236 has a reputation beyond reputejoelg236 has a reputation beyond reputejoelg236 has a reputation beyond repute
Re: "Stall" a motor

You can use a sensor (potentiometer, encoder, etc) to determine where the motor is, and use a control loop (PID, bang-bang) to keep it at that position.

Now, if there is a lot of weight on that arm / mechanism, you likely don't want to be stalling your motor, gearbox, etc. You could easily damage the components or brown out, as you said.

From a programming perspective, the sensor+control loop works, from a design one, be cautious of an application that requires this to keep something in the air. Could be fine, but be sure you're not headed down the wrong road.
__________________
All opinions are my own.