Go to Post I cannot inspire greatness with mediocrity! - Jim Zondag [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 30-01-2015, 15:28
anthonygraff24 anthonygraff24 is offline
Registered User
FRC #2872 (CyberCats)
Team Role: Programmer
 
Join Date: Jan 2013
Rookie Year: 2012
Location: Long Island
Posts: 38
anthonygraff24 is an unknown quantity at this point
Locking a Motor

If I set a motor to 0 power, will that lock the motor? We are picking up the recycling bin with a winch and pulley mechanism, so if the motor driving the winch is allowed to free-spool we are worried that when the weight of the recycling bin is placed on the free-spooling winch the bin will move down. I'm not sure if simply setting the motor to 0 power will lock the motor, or if there is another command to lock a motor.
Reply With Quote
  #2   Spotlight this post!  
Unread 30-01-2015, 15:35
kgzak's Avatar
kgzak kgzak is online now
Registered User
AKA: Kris
FRC #4392 (Decievers) FRC #2075 (Enigma)
Team Role: College Student
 
Join Date: Dec 2008
Rookie Year: 2008
Location: Grand Rapids, Michigan
Posts: 418
kgzak is a splendid one to beholdkgzak is a splendid one to beholdkgzak is a splendid one to beholdkgzak is a splendid one to beholdkgzak is a splendid one to beholdkgzak is a splendid one to beholdkgzak is a splendid one to behold
Re: Locking a Motor

No, setting the output of a motor to 0 will not lock the motor in place, it will just not output anything to the motor. The motor controllers have a brake/coast jumper/function that can cause the motor to brake which may or may not be enough to keep the motor from moving. You could also drive the motor at a very slow speed that counteracts the force of the totes. otherwise a simple mechanical brake can be used to hold the motor in place.
Reply With Quote
  #3   Spotlight this post!  
Unread 30-01-2015, 19:13
ozrien's Avatar
ozrien ozrien is online now
Omar Zrien
AKA: Omar
no team
Team Role: Mentor
 
Join Date: Sep 2006
Rookie Year: 2003
Location: Sterling Heights, MI
Posts: 523
ozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond repute
Re: Locking a Motor

kgzak is correct. Talon SR, Jaguar, and Victor 888s have a brake/coast jumper.
Victor SP has a button to select brake vs coast in neutral mode.
Talon SRX has a button to select brake vs coast, and can be software selected over CAN bus.

See Talon SR User's Manual for more info for original Talon and Talon SR.
See Talon SRX User's Guide for more info.
See Victor SP's Quick Start for more info.

"Brake during neutral" simply means that when 0 the motor leads are connected together. I wouldn't say it's "locked", but the generated back electromotive force will resist the rotation of the motor.
Reply With Quote
  #4   Spotlight this post!  
Unread 30-01-2015, 19:26
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,089
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: Locking a Motor

Quote:
Originally Posted by ozrien View Post
I wouldn't say it's "locked", but the generated back electromotive force will resist the rotation of the motor.
The braking torque is proportional to speed.


Reply With Quote
  #5   Spotlight this post!  
Unread 01-02-2015, 22:33
DonRotolo's Avatar
DonRotolo DonRotolo is offline
Back to humble
FRC #0832
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Atlanta GA
Posts: 7,006
DonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond repute
Re: Locking a Motor

Quote:
Originally Posted by Ether View Post
The braking torque is proportional to speed.
Yes, because the 'brake' is simply a short across the motor which is acting as a generator, causing the generator to have a load which slows it down. But only when it is moving, and when moving slow the effect is minimal.

Anthony, you need to find a different solution to lock the motor in place, in general adding a little power to hold the motor still is not good for the motor (it gets hot, sometimes too hot).
__________________

I am N2IRZ - What's your callsign?

Last edited by DonRotolo : 02-02-2015 at 08:41.
Reply With Quote
  #6   Spotlight this post!  
Unread 02-02-2015, 00:31
Poseidon5817's Avatar
Poseidon5817 Poseidon5817 is offline
Founder and CEO, DeadMemes Studios
AKA: Mitchel Stokes
FRC #5817 (Uni-Rex)
Team Role: Mentor
 
Join Date: Aug 2013
Rookie Year: 2014
Location: Clovis, CA
Posts: 392
Poseidon5817 has much to be proud ofPoseidon5817 has much to be proud ofPoseidon5817 has much to be proud ofPoseidon5817 has much to be proud ofPoseidon5817 has much to be proud ofPoseidon5817 has much to be proud ofPoseidon5817 has much to be proud ofPoseidon5817 has much to be proud ofPoseidon5817 has much to be proud ofPoseidon5817 has much to be proud of
Re: Locking a Motor

You could do it mechanically or set it to hold its position with a PID loop.
__________________
My FRC History:

2014 - Team 1671: Central Valley Regional Finalist and Chairman's Award Winner, Sacramento Regional Finalist, Archimedes Quarterfinalist
2015 - Team 1671: Central Valley Regional Semifinalist, Sacramento Regional Semifinalist and Chairman's Award Winner, Newton Winner, Einstein Winner
2016 - Team 5817: Central Valley Regional Finalist and Rookie All-Star, Orange County Regional Quarterfinalist and Rookie All-Star, Newton Division
2017 - Team 5817: Return of the bench grinder


Reply With Quote
  #7   Spotlight this post!  
Unread 02-02-2015, 08:41
DonRotolo's Avatar
DonRotolo DonRotolo is offline
Back to humble
FRC #0832
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Atlanta GA
Posts: 7,006
DonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond repute
Re: Locking a Motor

Quote:
Originally Posted by DonRotolo View Post
to hold the motor still is not good for the motor (it gets hot, sometimes too hot).
Quote:
Originally Posted by Poseidon1671 View Post
You could do it mechanically or set it to hold its position with a PID loop.
Mechanically is a good idea. PID loop maybe not so much.
__________________

I am N2IRZ - What's your callsign?
Reply With Quote
  #8   Spotlight this post!  
Unread 02-02-2015, 10:14
Michael Hill's Avatar
Michael Hill Michael Hill is offline
Registered User
FRC #3138 (Innovators Robotics)
Team Role: Mentor
 
Join Date: Jul 2004
Rookie Year: 2003
Location: Dayton, OH
Posts: 1,575
Michael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond repute
Re: Locking a Motor

Quote:
Originally Posted by DonRotolo View Post
Mechanically is a good idea. PID loop maybe not so much.
I like mechanical. Take a look at the CAD of 118's robot from a couple years ago (don't remember exactly which year). They had a mechanical gear brake in their drive system.
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 13:38.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi