Go to Post Please teams I implore you obey the no saving seats rule. Or at least be very friendly in inviting people to sit with you. - IndySam [more]
Home
Go Back   Chief Delphi > ChiefDelphi.com Website > Extra Discussion
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #31   Spotlight this post!  
Unread 10-05-2015, 14:49
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,051
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: pic: Small CIM in wheel swerve

Quote:
Originally Posted by Ether View Post
6) incorrect programming (resetting the counts rather than letting the FPGA accumulator run freely).
Quote:
Originally Posted by Bryce2471 View Post
We used the WPI lib encoder software, so I'll hope it wasn't #6.
Using the WPILib doesn't rule out #6. #6 refers to using the reset() function repeatedly in your software in the roboRIO.

Code:
/**
 * Reset the Encoder distance to zero. Resets the current count to zero on
 * the encoder.
 */
public void reset() {
	if (m_counter != null) {
		m_counter.reset();
	} else {
		ByteBuffer status = ByteBuffer.allocateDirect(4);
		// set the byte order
		status.order(ByteOrder.LITTLE_ENDIAN);
		EncoderJNI.resetEncoder(m_encoder, status.asIntBuffer());
		HALUtil.checkStatus(status.asIntBuffer());
	}
}
I've seen code where the counts are read and then reset() every cycle. You can miss counts that way. I'm not saying that's what your code is doing... but if it is, that might explain your "drift".


Reply With Quote
  #32   Spotlight this post!  
Unread 10-05-2015, 15:28
bobcroucher's Avatar
bobcroucher bobcroucher is offline
Registered User
FRC #2471 (Team Mean Machine)
Team Role: Mentor
 
Join Date: Feb 2013
Rookie Year: 2008
Location: United States
Posts: 33
bobcroucher has a spectacular aura aboutbobcroucher has a spectacular aura about
Re: pic: Small CIM in wheel swerve

Deleted

Last edited by bobcroucher : 10-05-2015 at 15:32. Reason: Posted in wrong account.
Reply With Quote
  #33   Spotlight this post!  
Unread 10-05-2015, 15:35
Bryce2471's Avatar
Bryce2471 Bryce2471 is offline
Alumnus
AKA: Bryce Croucher
FRC #2471 (Team Mean Machine)
Team Role: Mechanical
 
Join Date: Feb 2013
Rookie Year: 2007
Location: Camas, WA
Posts: 424
Bryce2471 has much to be proud ofBryce2471 has much to be proud ofBryce2471 has much to be proud ofBryce2471 has much to be proud ofBryce2471 has much to be proud ofBryce2471 has much to be proud ofBryce2471 has much to be proud ofBryce2471 has much to be proud ofBryce2471 has much to be proud of
Re: pic: Small CIM in wheel swerve

Quote:
Originally Posted by Ether View Post
I've seen code where the counts are read and then reset() every cycle. You can miss counts that way. I'm not saying that's what your code is doing... but if it is, that might explain your "drift".
Oh, I see what you mean now. Although I have never heard of that issue before, we were not reseting the counts each cycle. We only reset them when necessary.
__________________
FLL Team Future imagineers
2010 Oregon State Championships: Winners
2011 International Invite: First place Robot design, Second Place Robot Performance
FRC Team Mean Machine
2012 Seattle: Winning alliance
2013 Portland: Winning alliance
2013 Spokane: Winning alliance
2014 Wilsonville: Winning alliance
2014 Worlds: Deans List Winner
Reply With Quote
  #34   Spotlight this post!  
Unread 10-05-2015, 22:19
Chinske4296 Chinske4296 is offline
Registered User
FRC #4296
 
Join Date: Jan 2015
Location: Illinois
Posts: 40
Chinske4296 is an unknown quantity at this point
Never trust inventors weight simulation. We tried it for our robot with correct materials and it was off by about 20 lbs
Reply With Quote
  #35   Spotlight this post!  
Unread 11-05-2015, 00:00
Navid Shafa Navid Shafa is offline
FIRST Hiatus/Retired?
no team
Team Role: Alumni
 
Join Date: Oct 2007
Rookie Year: 2007
Location: Seattle, WA
Posts: 1,525
Navid Shafa has a reputation beyond reputeNavid Shafa has a reputation beyond reputeNavid Shafa has a reputation beyond reputeNavid Shafa has a reputation beyond reputeNavid Shafa has a reputation beyond reputeNavid Shafa has a reputation beyond reputeNavid Shafa has a reputation beyond reputeNavid Shafa has a reputation beyond reputeNavid Shafa has a reputation beyond reputeNavid Shafa has a reputation beyond reputeNavid Shafa has a reputation beyond repute
Re: pic: Small CIM in wheel swerve

Quote:
Originally Posted by Chinske4296 View Post
Never trust inventors weight simulation. We tried it for our robot with correct materials and it was off by about 20 lbs
Look for individual parts or sub-assemblies that you may have missed. Make sure Electronics, KOP-items, COTS and downloaded models are all correct. I've never had any problems, but it is pain-staking work to get all the details right.
__________________
2015 & 2016 Fantasy FIRST Champions [Rotten Fruit Alliance]
Elgin Clock Award Winners: '13, '15, '16

Team 1983 | Alumnus, Former Mentor| Team_ 360 | Former Coach | Team 5803 | Former Mentor

"Once a Skunk, Always a Skunk"

Founding Member
Reply With Quote
  #36   Spotlight this post!  
Unread 11-05-2015, 00:08
asid61's Avatar
asid61 asid61 is offline
Registered User
AKA: Anand Rajamani
FRC #0115 (MVRT)
Team Role: Mechanical
 
Join Date: Jan 2014
Rookie Year: 2013
Location: Cupertino, CA
Posts: 2,221
asid61 has a reputation beyond reputeasid61 has a reputation beyond reputeasid61 has a reputation beyond reputeasid61 has a reputation beyond reputeasid61 has a reputation beyond reputeasid61 has a reputation beyond reputeasid61 has a reputation beyond reputeasid61 has a reputation beyond reputeasid61 has a reputation beyond reputeasid61 has a reputation beyond reputeasid61 has a reputation beyond repute
Re: pic: Small CIM in wheel swerve

Quote:
Originally Posted by Chinske4296 View Post
Never trust inventors weight simulation. We tried it for our robot with correct materials and it was off by about 20 lbs
Off above or off below?
We were about 10 lbs under the real weight in the CAD. Next year I'm planning for 100lb bot, to leave a wide margin.
__________________
<Now accepting CAD requests and commissions>

Reply With Quote
  #37   Spotlight this post!  
Unread 11-05-2015, 00:11
Dunngeon Dunngeon is offline
Pumped
AKA: Ryan
FRC #0973 (Greybots)
Team Role: College Student
 
Join Date: Mar 2014
Rookie Year: 2012
Location: Cal Poly San Luis Obispo
Posts: 299
Dunngeon has a reputation beyond reputeDunngeon has a reputation beyond reputeDunngeon has a reputation beyond reputeDunngeon has a reputation beyond reputeDunngeon has a reputation beyond reputeDunngeon has a reputation beyond reputeDunngeon has a reputation beyond reputeDunngeon has a reputation beyond reputeDunngeon has a reputation beyond reputeDunngeon has a reputation beyond reputeDunngeon has a reputation beyond repute
Re: pic: Small CIM in wheel swerve

Quote:
Originally Posted by InFlight View Post
If you could work out the incremental encoder setup, it would free you up to put a slip ring module at the top. That trade off would solve the motor wiring issue, and not restrict you to partial rotations.
Which slip ring would you use? Mercotac's are banned.
__________________
(2015-?): 973
(2012-2015): 955

Last edited by Dunngeon : 11-05-2015 at 00:19.
Reply With Quote
  #38   Spotlight this post!  
Unread 11-05-2015, 00:30
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,589
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: pic: Small CIM in wheel swerve

Quote:
Originally Posted by Dunngeon View Post
Which slip ring would you use? Mercotac's are banned.
I was thinking of a custom solution when I suggested a module no taller than the wheel diameter. A quadrature encoder or a CAN controller wired in the traditional method would require 6 wires. Is it possible to make a CAN talon work with only two control wires that branch a bit away from the talon? If so, you could reduce the connection to four wires, if you could figure out a place to park the talon on the far side of the sliprings with the motor, gearbox, encoder, and wheel.
__________________

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
  #39   Spotlight this post!  
Unread 11-05-2015, 01:24
InFlight's Avatar
InFlight InFlight is online now
3574 - The King's of Bling
AKA: Jim
FRC #3574 (High Tekerz)
Team Role: Mentor
 
Join Date: Mar 2014
Rookie Year: 2012
Location: Seattle Area
Posts: 164
InFlight is an unknown quantity at this point
Re: pic: Small CIM in wheel swerve

Quote:
Originally Posted by Dunngeon View Post
Which slip ring would you use? Mercotac's are banned.
There are quite a few Gold on Gold, or Silver on Silver contact designs that don't contain Mercury. The Wind turbine industry has lots of low cost high current options.

http://www.amazon.com/Sunwin-Wires-2...ords=Slip+ring

Company Specs
http://www.moflon.com/mw.php?a=1

Just one option, lots of other low cost (no-mercury) models. Moog would be nice, but really expensive.
__________________

Thank you 2016 Alliance Partners - 948, 1510, 2046, 2521, 2980, 2990, 4911, 4683
Reply With Quote
  #40   Spotlight this post!  
Unread 11-05-2015, 01:26
Rachel Lim Rachel Lim is offline
Registered User
FRC #1868 (Space Cookies)
Team Role: Student
 
Join Date: Sep 2014
Rookie Year: 2014
Location: Moffett Field
Posts: 248
Rachel Lim has a reputation beyond reputeRachel Lim has a reputation beyond reputeRachel Lim has a reputation beyond reputeRachel Lim has a reputation beyond reputeRachel Lim has a reputation beyond reputeRachel Lim has a reputation beyond reputeRachel Lim has a reputation beyond reputeRachel Lim has a reputation beyond reputeRachel Lim has a reputation beyond reputeRachel Lim has a reputation beyond reputeRachel Lim has a reputation beyond repute
Re: pic: Small CIM in wheel swerve

Quote:
Originally Posted by Chinske4296 View Post
Never trust inventors weight simulation. We tried it for our robot with correct materials and it was off by about 20 lbs
I've found the weight estimates in SolidWorks to be pretty good (and I'd be surprised if Inventor is significantly worse). What I have realized is all the "small" parts we don't add in really add up. Doing a weight calculation for our intake arms this year, I realized that just the fact that we don't add bolts/nuts to assemblies made my estimate under by ~0.6-0.8lbs.

My preferred method (if we're cutting it close), since I think we're unlikely to get complete enough assemblies to just use the CAD model, is to create a spreadsheet and list out every part and its weight. For custom parts I get the weights off the CAD parts, and for COTs ones I just look at the supplier's website. This way I can ensure I'm not missing a part that ends up to weigh a ton.

In all, even if we have the proper weights for all COTs parts that we add into CAD, and the correct materials for all custom parts, I wouldn't be surprised if the CAD was several pounds under because of the bolts / nuts / wires / pneumatic tubing / chain / belts / all other parts we don't add in.
Reply With Quote
  #41   Spotlight this post!  
Unread 11-05-2015, 11:37
Dunngeon Dunngeon is offline
Pumped
AKA: Ryan
FRC #0973 (Greybots)
Team Role: College Student
 
Join Date: Mar 2014
Rookie Year: 2012
Location: Cal Poly San Luis Obispo
Posts: 299
Dunngeon has a reputation beyond reputeDunngeon has a reputation beyond reputeDunngeon has a reputation beyond reputeDunngeon has a reputation beyond reputeDunngeon has a reputation beyond reputeDunngeon has a reputation beyond reputeDunngeon has a reputation beyond reputeDunngeon has a reputation beyond reputeDunngeon has a reputation beyond reputeDunngeon has a reputation beyond reputeDunngeon has a reputation beyond repute
Re: pic: Small CIM in wheel swerve

Quote:
Originally Posted by InFlight View Post
There are quite a few Gold on Gold, or Silver on Silver contact designs that don't contain Mercury. The Wind turbine industry has lots of low cost high current options.

http://www.amazon.com/Sunwin-Wires-2...ords=Slip+ring

Company Specs
http://www.moflon.com/mw.php?a=1

Just one option, lots of other low cost (no-mercury) models. Moog would be nice, but really expensive.
That slip ring you linked is only rated for 30A per the website, FRC rules require that it be rated for 40A if it's on the 40A breaker. I wouldn't want to put it on the 20A, for obvious power reasons. Which is why I've been looking for a low cost 40A Slip Ring. Unfortunately, I haven't been able to find any legal ones.
__________________
(2015-?): 973
(2012-2015): 955
Reply With Quote
  #42   Spotlight this post!  
Unread 11-05-2015, 11:53
Andrew Schreiber Andrew Schreiber is offline
Joining the 900 Meme Team
FRC #0079
 
Join Date: Jan 2005
Rookie Year: 2000
Location: Misplaced Michigander
Posts: 4,059
Andrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond repute
Re: pic: Small CIM in wheel swerve

Quote:
Originally Posted by Dunngeon View Post
That slip ring you linked is only rated for 30A per the website, FRC rules require that it be rated for 40A if it's on the 40A breaker. I wouldn't want to put it on the 20A, for obvious power reasons. Which is why I've been looking for a low cost 40A Slip Ring. Unfortunately, I haven't been able to find any legal ones.
There's a few out there, I don't have any links handy right now though. I'll see if I can scrounge up a part number when I get home.

Out of curiosity, why would you ignore the fact that 30A breakers are totally a thing and also require your drive to be on a 40A breaker?
__________________




.
Reply With Quote
  #43   Spotlight this post!  
Unread 11-05-2015, 15:14
Bryce2471's Avatar
Bryce2471 Bryce2471 is offline
Alumnus
AKA: Bryce Croucher
FRC #2471 (Team Mean Machine)
Team Role: Mechanical
 
Join Date: Feb 2013
Rookie Year: 2007
Location: Camas, WA
Posts: 424
Bryce2471 has much to be proud ofBryce2471 has much to be proud ofBryce2471 has much to be proud ofBryce2471 has much to be proud ofBryce2471 has much to be proud ofBryce2471 has much to be proud ofBryce2471 has much to be proud ofBryce2471 has much to be proud ofBryce2471 has much to be proud of
Re: pic: Small CIM in wheel swerve

Quote:
Originally Posted by Rachel Lim View Post
I've found the weight estimates in SolidWorks to be pretty good (and I'd be surprised if Inventor is significantly worse). What I have realized is all the "small" parts we don't add in really add up. Doing a weight calculation for our intake arms this year, I realized that just the fact that we don't add bolts/nuts to assemblies made my estimate under by ~0.6-0.8lbs.
I think that Inventor gets pretty good estimates too. Many of the designs I posted on Delphi have never been built, but my team did use the manually machinable swerve that I posted here before the season. The CAD for that said that It would weigh 6.85 lbs, and the real thing weighed in at 7 lbs even (and the real module had long motor wires on it when we weighed it). So I wouldn't say it's perfect, but it can be pretty close.
__________________
FLL Team Future imagineers
2010 Oregon State Championships: Winners
2011 International Invite: First place Robot design, Second Place Robot Performance
FRC Team Mean Machine
2012 Seattle: Winning alliance
2013 Portland: Winning alliance
2013 Spokane: Winning alliance
2014 Wilsonville: Winning alliance
2014 Worlds: Deans List Winner
Reply With Quote
  #44   Spotlight this post!  
Unread 11-05-2015, 15:40
InFlight's Avatar
InFlight InFlight is online now
3574 - The King's of Bling
AKA: Jim
FRC #3574 (High Tekerz)
Team Role: Mentor
 
Join Date: Mar 2014
Rookie Year: 2012
Location: Seattle Area
Posts: 164
InFlight is an unknown quantity at this point
Re: pic: Small CIM in wheel swerve

You may be able to find 40 amp slip rings, but all the ones I've seen are large and very expensive.

Both the M1330 and the MW1440 (4 wires, 30 amp per contact) both use 12 gage wire. Thus the wire size meets the R38 requirement for 40 amps.

R 37 states that you may use up to a 40 amp breaker for motor controllers, thus a 30 amp breaker to match the contacts is thus also permitted and fully compliant.

For a 40 amp rating; It seems like it could be permissible (R39) to splice two contacts in parallel (w/ MW1440) to achieve the 40+ amp load rating. Would be a good area for a rule interpretation, as it would make slip rings a more available and useable device.

[U]R39 Branch circuits may include intermediate elements such as COTS connectors, splices, COTS flexible/rolling/sliding contacts,
and COTS slip rings, as long as the entire electrical pathway is via appropriately gauged/rated elements.[/u]


Probably enough hijacking of this Swerve Drive thread on encoders and slip rings.
__________________

Thank you 2016 Alliance Partners - 948, 1510, 2046, 2521, 2980, 2990, 4911, 4683
Reply With Quote
  #45   Spotlight this post!  
Unread 11-05-2015, 18:25
Andrew Schreiber Andrew Schreiber is offline
Joining the 900 Meme Team
FRC #0079
 
Join Date: Jan 2005
Rookie Year: 2000
Location: Misplaced Michigander
Posts: 4,059
Andrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond reputeAndrew Schreiber has a reputation beyond repute
Re: pic: Small CIM in wheel swerve

Quote:
Originally Posted by InFlight View Post
You may be able to find 40 amp slip rings, but all the ones I've seen are large and very expensive.

Both the M1330 and the MW1440 (4 wires, 30 amp per contact) both use 12 gage wire. Thus the wire size meets the R38 requirement for 40 amps.

R 37 states that you may use up to a 40 amp breaker for motor controllers, thus a 30 amp breaker to match the contacts is thus also permitted and fully compliant.

For a 40 amp rating; It seems like it could be permissible (R39) to splice two contacts in parallel (w/ MW1440) to achieve the 40+ amp load rating. Would be a good area for a rule interpretation, as it would make slip rings a more available and useable device.

[U]R39 Branch circuits may include intermediate elements such as COTS connectors, splices, COTS flexible/rolling/sliding contacts,
and COTS slip rings, as long as the entire electrical pathway is via appropriately gauged/rated elements.[/u]


Probably enough hijacking of this Swerve Drive thread on encoders and slip rings.
The last sentence in R39 is what makes these illegal despite being the appropriate size wire. They are not RATED for 40A. (I've been trying to find a way around this for a while). I'd be especially hesitant with the splicing.


As promised: http://www.ebay.com/itm/200661012580

As with most things: Light, Cheap, Legal. Pick 2.
__________________




.
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 10:55.

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