Go to Post Another year, another picture of a Tytus injury. - Andy Baker [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 15-02-2015, 09:57
ShaneWong ShaneWong is offline
Registered User
no team
 
Join Date: Aug 2014
Location: Thunder Bay
Posts: 12
ShaneWong is an unknown quantity at this point
Question Locking Winch Motor

Hi, my team recently did a test of our winch system on our robot and we found that when it wasn't being moved by any code we could move it freely by hand. Is there any way I could lock the winch in place using code? We're using Talon motor controllers if it makes any difference.
Reply With Quote
  #2   Spotlight this post!  
Unread 15-02-2015, 10:00
Ozuru's Avatar
Ozuru Ozuru is offline
It's always the programmer's fault.
no team
 
Join Date: May 2013
Rookie Year: 2010
Location: Earth
Posts: 268
Ozuru is a splendid one to beholdOzuru is a splendid one to beholdOzuru is a splendid one to beholdOzuru is a splendid one to beholdOzuru is a splendid one to beholdOzuru is a splendid one to beholdOzuru is a splendid one to behold
Re: Locking Winch Motor

This year we've chosen to take a mechanical approach rather than a software approach because it's a lot easier than programming it to hold the motors. If you want to lock them programmatically you need to constantly supply a voltage of just enough to keep tension.
Reply With Quote
  #3   Spotlight this post!  
Unread 15-02-2015, 14:17
Arhowk's Avatar
Arhowk Arhowk is offline
FiM CSA
AKA: Jake Niman
FRC #1684 (The Chimeras) (5460 Mentor)
 
Join Date: Jan 2013
Rookie Year: 2013
Location: Lapeer
Posts: 542
Arhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to beholdArhowk is a splendid one to behold
Re: Locking Winch Motor

One possible solution would be to put your talon from "Coast" mode to "Brake" mode (http://www.crosstheroadelectronics.c...anual_1_1.pdf). Another would be to increase the gear ratio on the winch motor. If neither work and it is truly a problem, than the only solution would be to attach an encoder and use a PID loop.
Reply With Quote
  #4   Spotlight this post!  
Unread 15-02-2015, 15:43
matthewdenny's Avatar
matthewdenny matthewdenny is offline
Registered User
FRC #6054 (Dukes)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2012
Location: United States
Posts: 308
matthewdenny has a brilliant futurematthewdenny has a brilliant futurematthewdenny has a brilliant futurematthewdenny has a brilliant futurematthewdenny has a brilliant futurematthewdenny has a brilliant futurematthewdenny has a brilliant futurematthewdenny has a brilliant futurematthewdenny has a brilliant futurematthewdenny has a brilliant futurematthewdenny has a brilliant future
As I understand (someone can elaborate if they know more) the braking force is proportional to the speed, so at slow speeds their isn't much of a braking force.
Reply With Quote
  #5   Spotlight this post!  
Unread 15-02-2015, 22:17
GeeTwo's Avatar
GeeTwo GeeTwo is offline
Technical Director
AKA: Gus Michel II
FRC #3946 (Tiger Robotics)
Team Role: Mentor
 
Join Date: Jan 2014
Rookie Year: 2013
Location: Slidell, LA
Posts: 3,574
GeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond repute
Re: Locking Winch Motor

Quote:
Originally Posted by matthewdenny View Post
As I understand (someone can elaborate if they know more) the braking force is proportional to the speed, so at slow speeds their isn't much of a braking force.
That is essentially correct for the electric braking triggered by setting the motor controller in "brake" mode. It quite simple to add "always on" braking force to a system, just by applying pressure on an shaft or wheel, or even just silghtly mis-aligning a sprocket. Active braking is most commonly provided by pneumtics, because it is great at going right up to the stop and applying constent pressure without experiencing undue stress. It is also possible to do an electrically actuated brake, for example by driving a screw with a motor to clamp a bicycle brake onto a wheel, disk, or even just a hub.

The active feedback (PID) approach requires that you put a sensor on the winch to determine how fast it is moving, and if you want to stop it at defined locations, where it is at any given time. Encoders and potentiometers are the two favorite solutions for this, though at certain ranges an optical rangefinder could be used. This method also requires that you apply a steady voltage to hold a load at a given altitude. The specific amount is dependent on the motor and gearbox; calculate the torque placed on the motor by the load (working down through the gear reductions) and find out how much current your motor needs to apply the appropriate counter-torque. Note that since it isn't doing any work, ALL of the energy used to drive the motor turns into heat. Do not do this with any small motor that has a built-in fan; these almost certainly will build up heat quickly when run in a stall condition. CIMs are pretty good for this sort of work; they have a high heat capacity and are designed for (relatively) high torque. This year, we added a second CIM to our lift not for lifting, but to better disperse the heat for holding.
__________________

If you can't find time to do it right, how are you going to find time to do it over?
If you don't pass it on, it never happened.
Robots are great, but inspiration is the reason we're here.
Friends don't let friends use master links.
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 09:11.

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