Go to Post Ok, according to this, I am a hacker...Now will someone please come fix my computer??? - Beth Sweet [more]
Home
Go Back   Chief Delphi > Technical > Technical Discussion
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 29-01-2012, 21:57
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,100
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: Resilience of Motors using PID

Quote:
Originally Posted by Spirator View Post
... PG71 gearmotor. Our shooter requires 6Nm of torque to be held up and the PG71 is capable of approximately 22Nm.

...will the motor draw stall current as it's holding an angle or will it only draw current required to move 6Nm? Is this a reliable way to run the motor?
This is the kind of problem I wrote the motor calculator for.

See attached PDF. To hold 6Nm at zero RPM will take about 3.3 volts. The motor will be generating about 20 watts of waste heat at that operating point.

To get some idea of what this means, the motor is generating 21 watts of waste heat when it is running at 12 volts at maximum efficiency. Of course, at that operating point the motor's internal fan is spinning quite fast and cooling the motor's innards.

If you stall the PG71 at 12 volts, the waste heat is 264 watts. So your scenario is generating only 7.5% of that.

Bottom line, I don't think it will smoke immediately. How long do you intend to hold it like that? Could you add some surgical tubing to relieve some of the load?

Attached Files
File Type: pdf pg71.pdf (31.1 KB, 33 views)

Last edited by Ether : 29-01-2012 at 22:01.
  #2   Spotlight this post!  
Unread 29-01-2012, 22:07
Spirator Spirator is offline
Registered User
AKA: Munaum Muhammad
FRC #3132 (The Thunder Down Under)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Sydney, Australia
Posts: 109
Spirator is a jewel in the roughSpirator is a jewel in the roughSpirator is a jewel in the rough
Re: Resilience of Motors using PID

We'll hold the position momentarily for shooting, but when we don't need to hold an angle, the motor will rest on a hard stop.
__________________
  #3   Spotlight this post!  
Unread 29-01-2012, 22:13
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,100
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: Resilience of Motors using PID

Quote:
Originally Posted by Spirator View Post
We'll hold the position momentarily for shooting, but when we don't need to hold an angle, the motor will rest on a hard stop.
Another thing you can do to reduce the waste heat in the motor is to make your software smarter.

The PG71 is a gearmotor, which means there's a potentially usable amount of friction. You want that friction to help you hold the position. So if you could figure out a way to back off the motor command just a bit once you're at the desired position, and let the friction take some of the load, you'd reduce the heat generated in the motor.

  #4   Spotlight this post!  
Unread 29-01-2012, 22:15
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,011
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: Resilience of Motors using PID

Quote:
Originally Posted by CNettles11 View Post
use the brake function on your motor controller to keep the motor from turning while it is stopped.
Of course, the brake function on the motor controller will have absolutely no effect upon a motor that is not moving. If you want to know why this is true, PM me.

Many teams will use some kind of mechanical brake or locking mechanism, or gear their motor down so that it won't move unless the motor moves it. But having it stalled for 10 seconds every 30, for 3 minutes, shouldn't smoke it. Have spares in case it does, though...

(I cannot speak for the KoP motors, but some window lifter motors have an internal thermal circuit breaker that will cut power to prevent overheating)
__________________

I am N2IRZ - What's your callsign?
  #5   Spotlight this post!  
Unread 30-01-2012, 19:27
Oldbikerider's Avatar
Oldbikerider Oldbikerider is offline
Registered User
AKA: Graham
FRC #3132 (Thunder Down Under)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2011
Location: Australia
Posts: 22
Oldbikerider will become famous soon enough
Re: Resilience of Motors using PID

The rated torque for the PG71 gearmotor is 1.5Nm. Manufacturers' rated figures are usually those that the motor can handle continuously, and are therefore much lower than the peak figures. They are what the motor could be run at all day long without overheating.

The 6Nm that you've calculated is needed to support this shooter is 4 times the rated torque, so the motor will definitely heat up. The question is how long will it take the motor to get to an unacceptable temperature. A clue to the answer is the relatively short thermal time constant that this motor will have - it is a small motor. The brush and armature assembly will also be small, and these are the parts that will heat up and fry. Small means they will heat up fast.

As others have said above, the motor is stationary in this application with no circulating air cooling, the rated torque under these conditions will be even lower than the manufacturer's quoted figure of 1.5Nm.

The other thing to consider is the dynamic loading (as the robot bobs up and down and accelerates) that will be present and must be added to your calculated 6Nm figure. Plus there is friction in the gearbox and shooter pivot mechanism. Plus there is the reaction force from the ball being ejected from the shooter. All up, the motor could be seeing double the static torque.

My guess is that it will work, but only for a limited time, then it will fry and go open circuit.

Graham.
  #6   Spotlight this post!  
Unread 02-02-2012, 14:23
CNettles11's Avatar
CNettles11 CNettles11 is offline
Registered User
AKA: Chris Nettles
FRC #3502 (Octo-Pi-Rates)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Tallahassee, FL
Posts: 122
CNettles11 is a jewel in the roughCNettles11 is a jewel in the roughCNettles11 is a jewel in the roughCNettles11 is a jewel in the rough
Re: Resilience of Motors using PID

Quote:
Originally Posted by DonRotolo View Post
Of course, the brake function on the motor controller will have absolutely no effect upon a motor that is not moving. If you want to know why this is true, PM me.
I was assuming that they would be applying a constant voltage to the motor to keep it at a constant position for a while. You know what assuming does, From what I've been told, the brake function of a motor controller shorts out the leads of the motor to take advantage of the motor's magnetism in order to hold the motor's position.
__________________

  #7   Spotlight this post!  
Unread 02-02-2012, 14:45
Daniel_LaFleur's Avatar
Daniel_LaFleur Daniel_LaFleur is offline
Mad Scientist
AKA: Me
FRC #2040 (DERT)
Team Role: Engineer
 
Join Date: Apr 2005
Rookie Year: 2003
Location: Peoria, IL
Posts: 1,968
Daniel_LaFleur has a reputation beyond reputeDaniel_LaFleur has a reputation beyond reputeDaniel_LaFleur has a reputation beyond reputeDaniel_LaFleur has a reputation beyond reputeDaniel_LaFleur has a reputation beyond reputeDaniel_LaFleur has a reputation beyond reputeDaniel_LaFleur has a reputation beyond reputeDaniel_LaFleur has a reputation beyond reputeDaniel_LaFleur has a reputation beyond reputeDaniel_LaFleur has a reputation beyond reputeDaniel_LaFleur has a reputation beyond repute
Send a message via MSN to Daniel_LaFleur
Re: Resilience of Motors using PID

Quote:
Originally Posted by CNettles11 View Post
I was assuming that they would be applying a constant voltage to the motor to keep it at a constant position for a while. You know what assuming does, From what I've been told, the brake function of a motor controller shorts out the leads of the motor to take advantage of the motor's magnetism in order to hold the motor's position.
A motor thats moving generates a current. In brake mode(you are correct) the controller shorts the leads of the motor, allowing the current generated by the motor to flow backwards back into that motor ... driving it the opposite direction and slowing the motor.

A motor thats not turning generates no current, and thus cannot stop (or hold in place) the motor.
__________________
___________________
"We are not now that strength which in old days moved earth and heaven; that which we are, we are;
One equal temper of heroic hearts, Made weak by time and fate, but strong in will
To strive, to seek, to find, and not to yield. "
- Tennyson, Ulysses
  #8   Spotlight this post!  
Unread 03-02-2012, 14:50
theprgramerdude theprgramerdude is offline
WPI Freshman
AKA: Alex
FRC #2503 (Warrior Robotics)
Team Role: Mentor
 
Join Date: Feb 2010
Rookie Year: 2008
Location: Brainerd, Minnesota
Posts: 347
theprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud of
Re: Resilience of Motors using PID

Quote:
Originally Posted by Daniel_LaFleur View Post
A motor thats moving generates a Reverse voltage. In brake mode(you are correct) the controller shorts the leads of the motor, allowing the current generated by the motor to flow backwards back into that motor ... driving it the opposite direction and slowing the motor.

A motor thats not turning generates no reverse voltage, and thus cannot stop (or hold in place) the motor.
Fixed. And the last statement isn't entirely accurate.
__________________
Attending: MN Duluth Regional
  #9   Spotlight this post!  
Unread 03-02-2012, 14:51
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,100
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: Resilience of Motors using PID

Quote:
Originally Posted by Daniel_LaFleur View Post
A motor thats not turning generates no current, and thus cannot stop (or hold in place) the motor.
Quote:
Originally Posted by theprgramerdude View Post
the last statement isn't entirely accurate.
@ prgramerdude: Please elaborate.


Last edited by Ether : 03-02-2012 at 15:40.
  #10   Spotlight this post!  
Unread 03-02-2012, 16:01
theprgramerdude theprgramerdude is offline
WPI Freshman
AKA: Alex
FRC #2503 (Warrior Robotics)
Team Role: Mentor
 
Join Date: Feb 2010
Rookie Year: 2008
Location: Brainerd, Minnesota
Posts: 347
theprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud of
Re: Resilience of Motors using PID

Quote:
Originally Posted by Ether View Post
@ prgramerdude: Please elaborate.

The ideal motor equations don't always hold up in the real world. Every motor in the FRC context has some internal friction that opposes rotation. Thus, while a non-spinning motor may be able to prevent another from moving in certain cases, it could also have enough friction, and thus torque, to prevent another motor from moving.

High gearing stages on said non-moving motor would amplify this effect (Have you ever tried spinning a CIM connected to a tough box via the tough box output shaft?). If the motor happens to be non-moving, like it was stated in the original post, then the static friction from such a motor could prevent movement. It also could easily slow down a running motor, even with open leads, although the how-much depends on context.

Although, I do agree with the original's rough intent: the back-EMF from a motor shorting into itself DOES NOT apply to a non-moving motor (no EMF overall), and so brake/coast mode does not apply. The "motor", though, isn't just an electrical energy transducer.
__________________
Attending: MN Duluth Regional
  #11   Spotlight this post!  
Unread 03-02-2012, 16:11
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,100
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: Resilience of Motors using PID


The context of the sentence to which you were responding was about motor-generated current, so it wasn't clear you were referring to friction instead.

Ok, so let's talk about friction.

Take a toughbox with CIM attached. With the motor leads unshorted, measure the breakaway torque with an appropriately-sized torque wrench. Now short the leads and repeat the same test.

If you see any difference, it's probably due to cogging torque in the motor, not motor friction. The lion's share of the friction is in the gearbox, not the motor.

Your conclusion is correct though. A motor with high cogging torque, connected to a high-ratio gearbox, may be capable of supporting a static load.


Last edited by Ether : 03-02-2012 at 16:44.
  #12   Spotlight this post!  
Unread 03-02-2012, 17:15
theprgramerdude theprgramerdude is offline
WPI Freshman
AKA: Alex
FRC #2503 (Warrior Robotics)
Team Role: Mentor
 
Join Date: Feb 2010
Rookie Year: 2008
Location: Brainerd, Minnesota
Posts: 347
theprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud oftheprgramerdude has much to be proud of
Re: Resilience of Motors using PID

Quote:
Originally Posted by Ether View Post

The context of the sentence to which you were responding was about motor-generated current, so it wasn't clear you were referring to friction instead.

Ok, so let's talk about friction.

Take a toughbox with CIM attached. With the motor leads unshorted, measure the breakaway torque with an appropriately-sized torque wrench. Now short the leads and repeat the same test.

If you see any difference, it's probably due to cogging torque in the motor, not motor friction. The lion's share of the friction is in the gearbox, not the motor.

Your conclusion is correct though. A motor with high cogging torque, connected to a high-ratio gearbox, may be capable of supporting a static load.

Thats actually what I was primarily thinking of, but I had no idea about the proper term, and so I grouped that effect in with the "motor" friction due to bearings, etc, as both end up achieving the same effect in such a test.
__________________
Attending: MN Duluth Regional
  #13   Spotlight this post!  
Unread 02-02-2012, 18:32
cgmv123's Avatar
cgmv123 cgmv123 is offline
FRC RI/FLL Field Manager
AKA: Max Vrany
FRC #1306 (BadgerBOTS)
Team Role: College Student
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Madison, WI
Posts: 2,081
cgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond repute
Re: Resilience of Motors using PID

Quote:
Originally Posted by DonRotolo View Post
(I cannot speak for the KoP motors, but some window lifter motors have an internal thermal circuit breaker that will cut power to prevent overheating)
The KoP Window Motors have locking pins, defeating the purpose of stalling it.

Original Poster: Building on what I said above, I would recommend replacing the PG71 with a window motor. The window motors have a similar power, RPM and torque output to the gear motor, along with locking pins, which essentially means that the shaft won't spin unless electrons are applied to the window motor. That sounds like what you are looking for.

Since you will want to use the locking pins, you can't use the motor with a Jaguar. Spike or Victor only.
__________________
BadgerBOTS Robotics|@team1306|Facebook: BadgerBOTS
2016 FIRST Championship Tesla Division | 2016 Wisconsin Regional Engineering Inspiration Award

2015 FIRST Championship Carson Division | 2015 Wisconsin Regional Chairman's Award

2013 FIRST Championship Curie Division | 2013 Wisconsin Regional Chairman's Award

2012 FIRST Championship Archimedes Division | 2012 Wisconsin Regional Engineering Inspiration Award, Woodie Flowers Finalist Award (Lead Mentor Ben Senson)

  #14   Spotlight this post!  
Unread 02-02-2012, 20:05
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,100
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: Resilience of Motors using PID

Quote:
Originally Posted by cgmv123 View Post
The window motors have a similar power, RPM and torque output to the [PG71] gear motor...

Code:
Data from FRC motor data table "MotorInfo4.1.pdf" as of 1/18/2012 12:30pm

am-0914 (PG71) MotorInfo4.1.pdf [spec Option #3] @ 12.00 volts:


@ stall:
   oz-in      Nm     rpm    rpm%    amps   watts out    watts in    eff%
  3101.0  21.898       0     0.0    22.0         0.0       264.0     0.0

@ max power:
   oz-in      Nm     rpm    rpm%    amps   watts out    watts in    eff%
  1550.5  10.949      42    50.0    11.3        48.2       135.6    35.5



DensoL 262100-3040 @ 12.00 volts:


@ stall:
   oz-in      Nm     rpm    rpm%    amps   watts out    watts in    eff%
  1501.1  10.600       0     0.0    21.0         0.0       252.0     0.0

@ max power:
   oz-in      Nm     rpm    rpm%    amps   watts out    watts in    eff%
   750.5   5.300      42    50.0    11.4        23.3       136.8    17.0
  #15   Spotlight this post!  
Unread 03-02-2012, 07:35
cgmv123's Avatar
cgmv123 cgmv123 is offline
FRC RI/FLL Field Manager
AKA: Max Vrany
FRC #1306 (BadgerBOTS)
Team Role: College Student
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Madison, WI
Posts: 2,081
cgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond repute
Re: Resilience of Motors using PID

I tend to use the term similar lightly. A window motor should do the job though. Also, since there are left and right hand motors you could gang to of them together doubling the output. You may or may not have to account for the different power levels for left and right hands.
__________________
BadgerBOTS Robotics|@team1306|Facebook: BadgerBOTS
2016 FIRST Championship Tesla Division | 2016 Wisconsin Regional Engineering Inspiration Award

2015 FIRST Championship Carson Division | 2015 Wisconsin Regional Chairman's Award

2013 FIRST Championship Curie Division | 2013 Wisconsin Regional Chairman's Award

2012 FIRST Championship Archimedes Division | 2012 Wisconsin Regional Engineering Inspiration Award, Woodie Flowers Finalist Award (Lead Mentor Ben Senson)

Closed Thread


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 02:12.

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