Go to Post FIRST games are complex and rely on design and intellectual capability much more than the average sport. - Chris is me [more]
Home
Go Back   Chief Delphi > FIRST > General Forum
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rating: Thread Rating: 2 votes, 5.00 average. Display Modes
  #1   Spotlight this post!  
Unread 18-03-2013, 21:27
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,071
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
idea for Arduino off-season project


Inexpensive and portable wheel speed controller for use during shooter development. Use for exploring, developing, demonstrating, and tuning speed control algorithms:
Decode the signal from a counter on a spinning wheel, compute RPM, feed the computed RPM and a setpoint into a control algorithm which computes motor command, and generate an output PWM signal corresponding to that motor command.
Does an Arduino have what it takes to do this?


Reply With Quote
  #2   Spotlight this post!  
Unread 18-03-2013, 21:41
ToddF's Avatar
ToddF ToddF is offline
mechanical engineer
AKA: Todd Ferrante
FRC #2363 (Triple Helix)
Team Role: Mentor
 
Join Date: Apr 2011
Rookie Year: 2011
Location: Newport News, VA
Posts: 599
ToddF has a reputation beyond reputeToddF has a reputation beyond reputeToddF has a reputation beyond reputeToddF has a reputation beyond reputeToddF has a reputation beyond reputeToddF has a reputation beyond reputeToddF has a reputation beyond reputeToddF has a reputation beyond reputeToddF has a reputation beyond reputeToddF has a reputation beyond reputeToddF has a reputation beyond repute
Re: idea for Arduino off-season project

Funny, I was thinking of doing the same sort of thing with a Raspberry Pi.

I also want our team to work on implementing a pneumatic based position control based on the whitepaper. We could really have used this to vary the elevation of our shooter.
__________________
Todd F.
mentor, FIRST team 2363, Triple Helix
Photo gallery
video channel
Triple Helix mobile
Reply With Quote
  #3   Spotlight this post!  
Unread 18-03-2013, 22:03
mman1506's Avatar
mman1506 mman1506 is online now
Focusing on Combat Robots!
AKA: Marcus Quintilian
no team (WARP7)
Team Role: Alumni
 
Join Date: Mar 2012
Rookie Year: 2012
Location: Toronto
Posts: 800
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
Re: idea for Arduino off-season project

Quote:
Originally Posted by Ether View Post

Inexpensive and portable wheel speed controller for use during shooter development. Use for exploring, developing, demonstrating, and tuning speed control algorithms:
Decode the signal from a counter on a spinning wheel, compute RPM, feed the computed RPM and a setpoint into a control algorithm which computes motor command, and generate an output PWM signal corresponding to that motor command.
Does an Arduino have what it takes to do this?


Certainly, the arduino has more than enough power to run a simple PI loop for speed. It is actually better than a raspberry pi as it is a real time
Reply With Quote
  #4   Spotlight this post!  
Unread 18-03-2013, 22:12
billbo911's Avatar
billbo911 billbo911 is offline
I prefer you give a perfect effort.
AKA: That's "Mr. Bill"
FRC #2073 (EagleForce)
Team Role: Mentor
 
Join Date: Mar 2005
Rookie Year: 2005
Location: Elk Grove, Ca.
Posts: 2,355
billbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond repute
Re: idea for Arduino off-season project

Quote:
Originally Posted by Ether View Post

Inexpensive and portable wheel speed controller for use during shooter development. Use for exploring, developing, demonstrating, and tuning speed control algorithms:
Decode the signal from a counter on a spinning wheel, compute RPM, feed the computed RPM and a setpoint into a control algorithm which computes motor command, and generate an output PWM signal corresponding to that motor command.
Does an Arduino have what it takes to do this?


I guess there really is only one way to tell

There are several approaches to measuring and determining RPM. Figuring out which approach is optimal is going to have to be included in a project like this.

In fact, that might be a Whitepaper all by it's self....hint hint.

I have used an Aduino with a fairly low speed motor, (vex motor) to drive a low CRP quad encoder (100 CRP) and it worked very well. Higher speeds and CPR's may prove challenging, but heck, what fun is it when everything is easy??

Count me in.
__________________
CalGames 2009 Autonomous Champion Award winner
Sacramento 2010 Creativity in Design winner, Sacramento 2010 Quarter finalist
2011 Sacramento Finalist, 2011 Madtown Engineering Inspiration Award.
2012 Sacramento Semi-Finals, 2012 Sacramento Innovation in Control Award, 2012 SVR Judges Award.
2012 CalGames Autonomous Challenge Award winner ($$$).
2014 2X Rockwell Automation: Innovation in Control Award (CVR and SAC). Curie Division Gracious Professionalism Award.
2014 Capital City Classic Winner AND Runner Up. Madtown Throwdown: Runner up.
2015 Innovation in Control Award, Sacramento.
2016 Chezy Champs Finalist, 2016 MTTD Finalist
Reply With Quote
  #5   Spotlight this post!  
Unread 18-03-2013, 23:51
mman1506's Avatar
mman1506 mman1506 is online now
Focusing on Combat Robots!
AKA: Marcus Quintilian
no team (WARP7)
Team Role: Alumni
 
Join Date: Mar 2012
Rookie Year: 2012
Location: Toronto
Posts: 800
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
Re: idea for Arduino off-season project

a hall effect sensors would probably work best for a wide range of speed and applications.
Reply With Quote
  #6   Spotlight this post!  
Unread 19-03-2013, 06:54
Roger Roger is offline
Registered User
FRC #1153
 
Join Date: Jan 2006
Rookie Year: 1900
Location: Walpole MA
Posts: 685
Roger has a reputation beyond reputeRoger has a reputation beyond reputeRoger has a reputation beyond reputeRoger has a reputation beyond reputeRoger has a reputation beyond reputeRoger has a reputation beyond reputeRoger has a reputation beyond reputeRoger has a reputation beyond reputeRoger has a reputation beyond reputeRoger has a reputation beyond reputeRoger has a reputation beyond repute
Re: idea for Arduino off-season project

I think it Archimedes that said "Give me a place for a microprocessor and with sensors and motors I will move the whole world."

Or something like that.
Reply With Quote
  #7   Spotlight this post!  
Unread 19-03-2013, 09:52
Mike Bortfeldt Mike Bortfeldt is offline
Registered User
FRC #1126 (& 1511)
Team Role: Mentor
 
Join Date: Oct 2004
Rookie Year: 2004
Location: Rochester, NY
Posts: 119
Mike Bortfeldt has much to be proud ofMike Bortfeldt has much to be proud ofMike Bortfeldt has much to be proud ofMike Bortfeldt has much to be proud ofMike Bortfeldt has much to be proud ofMike Bortfeldt has much to be proud ofMike Bortfeldt has much to be proud ofMike Bortfeldt has much to be proud of
Re: idea for Arduino off-season project

Quote:
Originally Posted by Ether View Post

Does an Arduino have what it takes to do this?
Ether,

The Arduino absolutely has the capabilities of doing this. We are using one this year to monitor our drive encoders (approximately 5000 counts/sec each - ISR triggering only on 'A' phase change, 'B' phase just for direction). I've also used it to determine RPM on our shooting wheel using a 256 count encoder on a wheel spinning at over 8000 rpm ('A' phase counter only). An internal 0.5 microsecond resolution timer was used in the RPM calculation. While I am not using it at the moment, I have code to drive 8 PWM signals off a timer (ISR driven). I've also ported the PID code we used to use on the IFI controller to the Arduino, but haven't had a chance to debug it. So your project is definately feasible. This is being done on a Mega, only because it is what I happened to have available, but a smaller Arduino would also suffice.

Mike
Reply With Quote
  #8   Spotlight this post!  
Unread 19-03-2013, 14:25
billbo911's Avatar
billbo911 billbo911 is offline
I prefer you give a perfect effort.
AKA: That's "Mr. Bill"
FRC #2073 (EagleForce)
Team Role: Mentor
 
Join Date: Mar 2005
Rookie Year: 2005
Location: Elk Grove, Ca.
Posts: 2,355
billbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond repute
Re: idea for Arduino off-season project

I'm attaching the "Servo.cpp" file from the Arduino servo library. Reading through it seems to indicate a 1uS resolution for generating the PWM signals. That is far more than enough resolution to control any of the FRC motor controllers. Combine that with the comments above and it looks like this project just might be a winner.
Attached Files
File Type: cpp Servo.cpp (12.2 KB, 4 views)
__________________
CalGames 2009 Autonomous Champion Award winner
Sacramento 2010 Creativity in Design winner, Sacramento 2010 Quarter finalist
2011 Sacramento Finalist, 2011 Madtown Engineering Inspiration Award.
2012 Sacramento Semi-Finals, 2012 Sacramento Innovation in Control Award, 2012 SVR Judges Award.
2012 CalGames Autonomous Challenge Award winner ($$$).
2014 2X Rockwell Automation: Innovation in Control Award (CVR and SAC). Curie Division Gracious Professionalism Award.
2014 Capital City Classic Winner AND Runner Up. Madtown Throwdown: Runner up.
2015 Innovation in Control Award, Sacramento.
2016 Chezy Champs Finalist, 2016 MTTD Finalist
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 07:27.

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