Go to Post How come the dropped tool ALWAYS rolls under the exact center of the workbench? - DonRotolo [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 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
  #2   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)

  #3   Spotlight this post!  
Unread 03-02-2012, 12:28
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 cgmv123 View Post
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.
You need to be very careful ganging window motors if you leave the locking pins in.
__________________
___________________
"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
  #4   Spotlight this post!  
Unread 03-02-2012, 13:04
EricVanWyk EricVanWyk is offline
Registered User
no team
 
Join Date: Jan 2007
Rookie Year: 2000
Location: Boston
Posts: 1,597
EricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond repute
Send a message via AIM to EricVanWyk
Re: Resilience of Motors using PID

You may want to consider using the Current Mode control of a CAN enabled Jaguar. This will create less waste heat in your motor, assuming you properly tune the PID parameters.

I'm using the parameters found here, please let me know if I'm looking at the wrong motor.

You should expect to use about 6 amps to develop 6 Nm with this motor. It uses 22 Amps to generate 22.5 Nm at stall, so a rough pass is 6 Nm * ((22 A) / (22.5Nm)) = ~6Amps. The no-load current (which is really just another word "the sum of the parasitic torques in the system") is small enough that I'm willing to ignore it for the time being.

With a "perfect" motor controller, you will apply a perfectly flat 6 amps. The motor's resistance is roughly half an ohm, so your best case is (6 A)^2 * .5 ohms = 18 Watts.

Any imperfections in the motor controller will cause that current to oscillate a bit and become less efficient. For example, lets take one that applies 12 Amps half the time, and 0 amps the other half. Then our heating becomes (12 A) ^2 * .5 ohms * .5 duty = 36 Watts.

Worst case scenario, we'd expect something approaching stall current: (22 A)^2 * .5 ohms * (6/22) duty cycle = 66 Watts. This is 3.6 times the heat output!

The "flatness" of the current is a function of the ratio of the time constants of the motor and the motor controller. The faster the controller is, with respect to the motor, the flatter the current waveform. The flatter the current waveform, the more efficient the use of that current.

I don't know what the time constant of this particular motor is, so I can not calculate where victors and jaguars fall on the continuum. However, the Jaguar's time constant is over a 100 times faster.

Note that for this, I've assumed that the mechanical time constants are WAY slower than all of the electrical time constants. As long as you don't see any twitching, this is likely a safe assumption.
  #5   Spotlight this post!  
Unread 03-02-2012, 14:01
EricVanWyk EricVanWyk is offline
Registered User
no team
 
Join Date: Jan 2007
Rookie Year: 2000
Location: Boston
Posts: 1,597
EricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond repute
Send a message via AIM to EricVanWyk
Re: Resilience of Motors using PID

Ether helpfully pointed out that the first sentence of my previous post makes a few too many leaps. The remainder of the post supports only that higher frequency motor controllers produce less waste heat. This in turn is based on the premise that torque is proportional the algebraic mean of current, but power is proportional to the geometric mean.

The comment on using Current Mode was unsupported, so let me take a whack at that now. If a PID is not well tuned, it can oscillate. These oscillations can create efficiency losses just like having a low frequency motor controller can. A pathologically mis-tuned loop can have efficiency as bad as a Victor.

Using CAN allows the Jaguar to do the PID itself, and runs at 1kHz. Running the PID on the cRIO introduces some communication time, so the loop runs a bit slower.

Using current mode removes several variables from the equations, and makes the effective loop quicker: The loop isn't waiting on anything mechanical, and can therefore respond on an electrical time line.

It is quite possible to achieve the same stability with other control modes, I just find it easier in current mode generally. For your application, CAN Position Mode might be easiest.
  #6   Spotlight this post!  
Unread 02-02-2012, 14:59
pfreivald's Avatar
pfreivald pfreivald is offline
Registered User
AKA: Patrick Freivald
FRC #1551 (The Grapes of Wrath)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2001
Location: Naples, NY
Posts: 2,296
pfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond reputepfreivald has a reputation beyond repute
Re: Resilience of Motors using PID

Quote:
Originally Posted by Ether View Post
Could you add some surgical tubing to relieve some of the load?

As usual, Ether is wise and full of knowy goodness. Achieving "neutral buoyancy" through the use of surgical tubing, springs, spring steel, or some other deformation is a great way to assist your motors so that they act more effectively, more efficiently, and more robustly.
__________________
Patrick Freivald -- Mentor
Team 1551
"The Grapes of Wrath"
Bausch & Lomb, PTC Corporation, and Naples High School

I write books, too!
  #7   Spotlight this post!  
Unread 03-02-2012, 17:05
BHOP BHOP is offline
Registered User
FRC #0399 (Eagle Robotics)
Team Role: Mentor
 
Join Date: Mar 2005
Rookie Year: 2003
Location: CA
Posts: 62
BHOP has much to be proud ofBHOP has much to be proud ofBHOP has much to be proud ofBHOP has much to be proud ofBHOP has much to be proud ofBHOP has much to be proud ofBHOP has much to be proud ofBHOP has much to be proud of
Re: Resilience of Motors using PID

I would recommend taking the load off the motor using a mechanical device like others have said.

I'm not sure which locking pins they are talking about in the window motor, but I do know they utilize a worm "drive".

You can read more about them on wikipedia (search worm drive), but if the window motor won't give you enough power to move the device using to hold your shooter(not hold it in place) then buy your own worm and worm gear(mcmaster,etc) and make your own worm drive with a more powerful motor.

"Worm gear configurations in which the gear can not drive the worm are said to be self-locking. Whether a worm and gear will be self-locking depends on the lead angle, the pressure angle, and the coefficient of friction; however, it is approximately correct to say that a worm and gear will be self-locking if the tangent of the lead angle is less than the coefficient of friction."

This is pretty much a super high gear ratio, but typically you will see self locking effects from a worm drive device meaning you DON'T have to provide a constant torque to hold your device in place.
__________________
BHOP

ME CoE University of Michigan
503 Frog Force 830 Rat Pack
399 Eagle Robotics
  #8   Spotlight this post!  
Unread 03-02-2012, 23:58
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 BHOP View Post
I would recommend taking the load off the motor using a mechanical device like others have said.

I'm not sure which locking pins they are talking about in the window motor, but I do know they utilize a worm "drive".

You can read more about them on wikipedia (search worm drive), but if the window motor won't give you enough power to move the device using to hold your shooter(not hold it in place) then buy your own worm and worm gear(mcmaster,etc) and make your own worm drive with a more powerful motor.

"Worm gear configurations in which the gear can not drive the worm are said to be self-locking. Whether a worm and gear will be self-locking depends on the lead angle, the pressure angle, and the coefficient of friction; however, it is approximately correct to say that a worm and gear will be self-locking if the tangent of the lead angle is less than the coefficient of friction."

This is pretty much a super high gear ratio, but typically you will see self locking effects from a worm drive device meaning you DON'T have to provide a constant torque to hold your device in place.
The locking pins are separate from the worm drive. The locking pins prevent the motor from turning unless electricity is applied to the motor, which makes the clear winner in my view for the original poster's design.

More on locking pins: http://wiki.team1640.com/index.php?t...r_Locking_Pins Removing the pins is legal, but for a non-backdriving design, it is essential to leave them in.
__________________
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