Go to Post What I learned from week-1 is that once again my son has been inspired to the level that he came home after the BAE Systems Granite State FIRST Robotics Regional Competition with the biggest smile I have seen on his face for a long long time. I am truly grateful for that. - FIRST_Parent [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 Rating: Thread Rating: 13 votes, 5.00 average. Display Modes
  #46   Spotlight this post!  
Unread 25-12-2014, 19:42
slibert slibert is online now
Software Mentor
AKA: Scott Libert
FRC #2465 (Kauaibots)
Team Role: Mentor
 
Join Date: Oct 2011
Rookie Year: 2005
Location: Kauai, Hawaii
Posts: 359
slibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud of
Re: Best gyro for frc.

Quote:
Originally Posted by mman1506 View Post
Awesome, any plans to offer official Python support?
We'll be providing Java, C++ and Labview on the Roborio, and we also will provide sources for apps in Java (Processing) and C# on a PC.

If you would like to discuss Python development, please contact me at scott@kauailabs.com. You'll need to decide if you want to interface serially (UART/USB), I2C or SPI.
  #47   Spotlight this post!  
Unread 25-12-2014, 19:50
AdamHeard's Avatar
AdamHeard AdamHeard is offline
Lead Mentor
FRC #0973 (Greybots)
Team Role: Mentor
 
Join Date: Oct 2004
Rookie Year: 2004
Location: Atascadero
Posts: 5,526
AdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond reputeAdamHeard has a reputation beyond repute
Send a message via AIM to AdamHeard
Re: Best gyro for frc.

Quote:
Originally Posted by slibert View Post
Invensense MPU-9250 (9-axis sensor).

Plus an on-board 32-bit ARM microcontroller, providing motion processing and calibration algorithms for accelerometers, gyros and magnetometers. Minimal yaw drift due to filtering/fusion algorithms. UART, SPI, I2C and USB interfaces. Open source hardware and firmware. C++, Java and Labview libraries for the Roborio will be available, too.
What are you looking at price wise?

Available kickoff? Through andymark?
  #48   Spotlight this post!  
Unread 25-12-2014, 20:23
slibert slibert is online now
Software Mentor
AKA: Scott Libert
FRC #2465 (Kauaibots)
Team Role: Mentor
 
Join Date: Oct 2011
Rookie Year: 2005
Location: Kauai, Hawaii
Posts: 359
slibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud of
Re: Best gyro for frc.

Quote:
Originally Posted by AdamHeard View Post
What are you looking at price wise?

Available kickoff? Through andymark?
Available soon after kickoff. At Andymark. Pricing details to be announced on Jan. 3.
  #49   Spotlight this post!  
Unread 26-12-2014, 00:12
mman1506's Avatar
mman1506 mman1506 is offline
Hater of Tiny Molex Connectors
AKA: Marcus Quintilian
no team (WARP7)
Team Role: Alumni
 
Join Date: Mar 2012
Rookie Year: 2012
Location: Toronto
Posts: 808
mman1506 has a reputation beyond reputemman1506 has a reputation beyond reputemman1506 has a reputation beyond reputemman1506 has a reputation beyond reputemman1506 has a reputation beyond reputemman1506 has a reputation beyond reputemman1506 has a reputation beyond reputemman1506 has a reputation beyond reputemman1506 has a reputation beyond reputemman1506 has a reputation beyond reputemman1506 has a reputation beyond repute
Quote:
Originally Posted by slibert View Post
We'll be providing Java, C++ and Labview on the Roborio, and we also will provide sources for apps in Java (Processing) and C# on a PC.



If you would like to discuss Python development, please contact me at scott@kauailabs.com. You'll need to decide if you want to interface serially (UART/USB), I2C or SPI.

Cool, thanks. Out of interest what arm platform are you using (Si Labs, ST etc)?
__________________
2014-2015: FRC 865 Warp7 Team Captain
2016: FRC 865 Mentor

2017: Free Agent Mentor, Inspector
  #50   Spotlight this post!  
Unread 26-12-2014, 06:05
slibert slibert is online now
Software Mentor
AKA: Scott Libert
FRC #2465 (Kauaibots)
Team Role: Mentor
 
Join Date: Oct 2011
Rookie Year: 2005
Location: Kauai, Hawaii
Posts: 359
slibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud of
Re: Best gyro for frc.

Quote:
Originally Posted by mman1506 View Post
Cool, thanks. Out of interest what arm platform are you using (Si Labs, ST etc)?
STM32F411 @100 MHz; firmware developed in Eclipse C++, debuggable over SWD port with a ST/Link V2 adapter.
  #51   Spotlight this post!  
Unread 26-12-2014, 11:46
philso philso is offline
Mentor
FRC #2587
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Houston, Tx
Posts: 940
philso has a reputation beyond reputephilso has a reputation beyond reputephilso has a reputation beyond reputephilso has a reputation beyond reputephilso has a reputation beyond reputephilso has a reputation beyond reputephilso has a reputation beyond reputephilso has a reputation beyond reputephilso has a reputation beyond reputephilso has a reputation beyond reputephilso has a reputation beyond repute
Re: Best gyro for frc.

Quote:
Originally Posted by ayeckley View Post
Not to bust your chops, but that's true for electric fields -- not so much for magnetic fields. Effective magnetic shielding requires the use of a material with a high magnetic permeability such as Mu-metal (Carpenter Specialty Alloys). Rolled foil copper such as that found on PCBs has little effect.
Increasing the distance to the source of magnetic field interference is also very effective. The strength of the coupling is inversely proportional to the cube of the distance.
  #52   Spotlight this post!  
Unread 26-12-2014, 12:59
Jared's Avatar
Jared Jared is offline
Registered User
no team
Team Role: Programmer
 
Join Date: Aug 2013
Rookie Year: 2012
Location: Connecticut
Posts: 602
Jared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond repute
Re: Best gyro for frc.

Quote:
Originally Posted by ayeckley View Post
Not to bust your chops, but that's true for electric fields -- not so much for magnetic fields. Effective magnetic shielding requires the use of a material with a high magnetic permeability such as Mu-metal (Carpenter Specialty Alloys). Rolled foil copper such as that found on PCBs has little effect.
I don't think you'd need mu-metal to shield because it's a higher frequency magnetic field. The new victors switch at 15 kHz, so copper, aluminum or preferably steel may make an effective shield. That said, if your problem is due to the DC magnetic field from something like the battery cable, copper or aluminum won't do much. However, the DC magnetic field is much weaker than the fields from the motors, which are quite noisy. The motors brushes create lots of really high frequency em fields that can be blocked by copper.

The best way to solve the interference problem is to twist the gyros signal and return cable. The two conductors act like a loop which pick up the magnetic field from your motors. Twisting these two conductors will decrease the effective loop area and greatly reduce the interference. You can prevent common mode interference with a grounded shield on the conductors.

Increasing our switching frequency to 15khz makes interferences problems 15 times worse than the 1khz.
  #53   Spotlight this post!  
Unread 26-12-2014, 17:00
ayeckley's Avatar
ayeckley ayeckley is offline
Registered User
AKA: Alex Yeckley
FRC #2252 (Mavericks)
Team Role: Mentor
 
Join Date: Apr 2007
Rookie Year: 2007
Location: Sandusky, OH
Posts: 268
ayeckley has a reputation beyond reputeayeckley has a reputation beyond reputeayeckley has a reputation beyond reputeayeckley has a reputation beyond reputeayeckley has a reputation beyond reputeayeckley has a reputation beyond reputeayeckley has a reputation beyond reputeayeckley has a reputation beyond reputeayeckley has a reputation beyond reputeayeckley has a reputation beyond reputeayeckley has a reputation beyond repute
Re: Best gyro for frc.

Quote:
Originally Posted by Jared View Post
I don't think you'd need mu-metal to shield because it's a higher frequency magnetic field.
I intended to speak in very general terms only. I agree that mu-metal is of little benefit in the FRC context, but for different reasons than what you are referring to. Philso's approach (above) certainly offers the highest bang-to-buck ratio. The last time I had to buy mu-metal (~1994) I think the minimum order quantity was 1000 lb. It's also nearly the same density as lead.

Quote:
Originally Posted by Jared View Post
The motors brushes create lots of really high frequency em fields that can be blocked by copper.
Would there not also be a "low" frequency (<2 KHz-ish) magnetic field associated with the fundamental brush-pass frequency, in addition to the broad, higher-frequency spectrum you described? I'm being wishy-washy on the exact frequency because I don't recall the armature design of the CIM. I don't believe I've ever had one apart, personally.

Quote:
Originally Posted by Jared View Post
The best way to solve the interference problem is to twist the gyros signal and return cable. The two conductors act like a loop which pick up the magnetic field from your motors. Twisting these two conductors will decrease the effective loop area and greatly reduce the interference. You can prevent common mode interference with a grounded shield on the conductors.
Strongly agree. Also effective for E-field shielding.

Quote:
Originally Posted by Jared View Post
Increasing our switching frequency to 15khz makes interferences problems 15 times worse than the 1khz.
Not sure I agree there, but that's off-topic.
__________________

  #54   Spotlight this post!  
Unread 26-12-2014, 17:30
Jared's Avatar
Jared Jared is offline
Registered User
no team
Team Role: Programmer
 
Join Date: Aug 2013
Rookie Year: 2012
Location: Connecticut
Posts: 602
Jared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond repute
Re: Best gyro for frc.

Quote:
Originally Posted by ayeckley View Post
Would there not also be a "low" frequency (<2 KHz-ish) magnetic field associated with the fundamental brush-pass frequency, in addition to the broad, higher-frequency spectrum you described? I'm being wishy-washy on the exact frequency because I don't recall the armature design of the CIM. I don't believe I've ever had one apart, personally.
You're probably right here. I know that brushes can radiate a lot of electromagnetic fields over a large range of frequencies including some higher frequencies (well over 15kHz), but I don't know about the lower end and how strong different frequencies are. If the lower frequency fields are the problem, then I agree, twist and try to move farther away.

For higher RF frequency, you don't need to have a high permeability to block magnetic fields. I think the 15kHz frequency is in this higher range where it's easy to shield with conductive metals.

Quote:
Not sure I agree there, but that's off-topic.
A higher frequency magnetic field causes more interference, both common mode and differential mode.

The noise that's induced to the gyro's signal through differential mode interference (meaning your gyro's cable is acting like a loop, picking up the magnetic field) is proportional to the effective loop area, the strength of the magnetic field, and the frequency of the field. Each time the motor's power switches from on to off, faraday's law says that some voltage induced in your gyro's signal. If the event happens 15 times more often per unit of time, you get 15 times more noise.

For common mode interference, which is when both your return and signal are affected in the same way, a higher frequency magnetic field will provide more opportunity for parasitic capacitive coupling to ground.

However, the higher frequency may be easier to shield from, but I don't think I've ever seen an FRC team use shielded cables for anything before.
  #55   Spotlight this post!  
Unread 02-01-2015, 15:11
Bryce2471's Avatar
Bryce2471 Bryce2471 is online now
Alumnus
AKA: Bryce Croucher
FRC #2471 (Team Mean Machine)
Team Role: Mechanical
 
Join Date: Feb 2013
Rookie Year: 2007
Location: Camas, WA
Posts: 429
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: Best gyro for frc.

Quote:
Originally Posted by AustinSchuh View Post
Last time I benchmarked the Gyro class in 2011, I found a horrible lag between angle changes as measured by the encoders, and and angle changes measured by the Gyro class. I was seeing ~0.1 seconds of lag. This was destroying my phase margin and making it very hard to tune the loops. I banged my head against this for about a month before figuring out what was wrong. I've since become very cautious about gyros and how we use them. This was with the KOP gyro and WPILib Gyro class. That lead to us to use ADXRS453, and we have been very pleased since with it's performance.
Sorry I'm a little late to the party on this thread. As far as this gyro goes (ADXRS453), it looks like there are two packaging options (ADXRS453BEYZ and ADXRS453BRGZ), I'm wondering which one you would recommend, and how you interface with it.

Thanks in advance.
__________________
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
  #56   Spotlight this post!  
Unread 03-01-2015, 00:17
RyanCahoon's Avatar
RyanCahoon RyanCahoon is offline
Disassembling my prior presumptions
FRC #0766 (M-A Bears)
Team Role: Engineer
 
Join Date: Dec 2007
Rookie Year: 2007
Location: Mountain View
Posts: 689
RyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond reputeRyanCahoon has a reputation beyond repute
Re: Best gyro for frc.

Quote:
Originally Posted by Bryce2471 View Post
As far as this gyro goes (ADXRS453), it looks like there are two packaging options (ADXRS453BEYZ and ADXRS453BRGZ), I'm wondering which one you would recommend, and how you interface with it.
Unless you're designing your own PCB, you probably want to just get an evaluation board - EVAL-ADXRS453Z. The SPI interface pins are broken-out to through-hole contacts that are easy to solder to.

digikey product page
__________________
FRC 2046, 2007-2008, Student member
FRC 1708, 2009-2012, College mentor; 2013-2014, Mentor
FRC 766, 2015-, Mentor

Last edited by RyanCahoon : 03-01-2015 at 00:25.
  #57   Spotlight this post!  
Unread 03-01-2015, 04:28
seg9585's Avatar
seg9585 seg9585 is offline
Registered User
AKA: Eric
FRC #4276 (Surf City Vikings)
Team Role: Engineer
 
Join Date: Feb 2006
Rookie Year: 2001
Location: Boeing (Seal Beach, CA)
Posts: 520
seg9585 has a reputation beyond reputeseg9585 has a reputation beyond reputeseg9585 has a reputation beyond reputeseg9585 has a reputation beyond reputeseg9585 has a reputation beyond reputeseg9585 has a reputation beyond reputeseg9585 has a reputation beyond reputeseg9585 has a reputation beyond reputeseg9585 has a reputation beyond reputeseg9585 has a reputation beyond reputeseg9585 has a reputation beyond repute
Re: Best gyro for frc.

Quote:
Originally Posted by RyanCahoon View Post
Unless you're designing your own PCB, you probably want to just get an evaluation board - EVAL-ADXRS453Z. The SPI interface pins are broken-out to through-hole contacts that are easy to solder to.

digikey product page
And you'll have 6 wires in total (labeled on the breakout board): PDD, GND, CS, MISO, MOSI,CLK (Pdd = 3.3-5V). CS is held low during read/write operations, and the other pins are wired to the SPI interface on the roboRio (or Arduino, or cRio)
__________________
My FIRST legacy:

Team 204 Student 2001, 2002 (Voorhees, NJ)
Team 1493 College Mentor 2006 - 2008 (Troy, NY)
Team 2150 Intern/Professional Mentor 2007, 2009 (Palos Verdes)
Team 4123 Lead Engineering Mentor 2012 (Bellflower, CA)
Team 4276 Engineering Mentor 2012-2016 (Huntington Beach, CA)
  #58   Spotlight this post!  
Unread 03-01-2015, 16:03
Matt10010010010 Matt10010010010 is offline
Registered User
AKA: Matthew Rogers
FRC #2465 (Kaua'ibots)
Team Role: Programmer
 
Join Date: Jan 2015
Rookie Year: 2014
Location: Kauai, Hawaii
Posts: 2
Matt10010010010 has a little shameless behaviour in the past
Re: Best gyro for frc.

Quote:
Originally Posted by AdamHeard View Post
What are you looking at price wise?

Available kickoff? Through andymark?
Hey AdamHeard,

The NavX is on Andymark website for $99.00.
http://www.andymark.com/product-p/am-3060.htm
  #59   Spotlight this post!  
Unread 04-01-2015, 20:19
ayeckley's Avatar
ayeckley ayeckley is offline
Registered User
AKA: Alex Yeckley
FRC #2252 (Mavericks)
Team Role: Mentor
 
Join Date: Apr 2007
Rookie Year: 2007
Location: Sandusky, OH
Posts: 268
ayeckley has a reputation beyond reputeayeckley has a reputation beyond reputeayeckley has a reputation beyond reputeayeckley has a reputation beyond reputeayeckley has a reputation beyond reputeayeckley has a reputation beyond reputeayeckley has a reputation beyond reputeayeckley has a reputation beyond reputeayeckley has a reputation beyond reputeayeckley has a reputation beyond reputeayeckley has a reputation beyond repute
Re: Best gyro for frc.

Quote:
Originally Posted by Matt10010010010 View Post
The NavX is on Andymark website for $99.00.
They are currently showing "out of stock". Do you believe that is incorrect, or is it possible that they've sold out already? Will you be able to resupply them "quickly" if that's the case? To me, "quickly" (given that we're at the start of build season) would be within two weeks.
__________________

  #60   Spotlight this post!  
Unread 04-01-2015, 21:32
slibert slibert is online now
Software Mentor
AKA: Scott Libert
FRC #2465 (Kauaibots)
Team Role: Mentor
 
Join Date: Oct 2011
Rookie Year: 2005
Location: Kauai, Hawaii
Posts: 359
slibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud of
Re: Best gyro for frc.

Quote:
Originally Posted by ayeckley View Post
They are currently showing "out of stock". Do you believe that is incorrect, or is it possible that they've sold out already? Will you be able to resupply them "quickly" if that's the case? To me, "quickly" (given that we're at the start of build season) would be within two weeks.
They should be available at Andymark in about one week. Andymark is recommending interested parties click on the "email when available" link to be informed when they are available.
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 00:43.

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