Go to Post And remember, it's the fall semester. So FIRST isn't an excuse for a failing grade (not that it's ever an excuse)! - Billfred [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 13-02-2016, 15:47
Amit3339 Amit3339 is offline
B B BumleB
FRC #3339
Team Role: Leadership
 
Join Date: Dec 2013
Rookie Year: 2011
Location: Israel
Posts: 50
Amit3339 is a splendid one to beholdAmit3339 is a splendid one to beholdAmit3339 is a splendid one to beholdAmit3339 is a splendid one to beholdAmit3339 is a splendid one to beholdAmit3339 is a splendid one to behold
Talon Stable RPM Check

We used the code of the Talon CAN rpm to reach a certain rpm every time but having a problem to check if the rpm is stable. We programmed a block that check's if the rpm is stable for 4 times( with a clearance of +-100) but were wondering if there's a better for doing this check?
Thanks in advance!
__________________
2016- Team Captain, Driver & Programming Crew Member
Championship Curie Sub-division Winners| Curie division
Regional Winners | Israeli Regional
2015- Driver & Programming Crew Member
Championship Carson Sub-division Winners| Carson division
Regional Winners | Israeli Regional
Excellence in Engineering Award sponsored by Delphi | Israeli Regional
2014- Driver & Programming Crew Member
Excellence in Engineering Award sponsored by Delphi | Israeli Regional
Reply With Quote
  #2   Spotlight this post!  
Unread 13-02-2016, 21:19
GeeTwo's Avatar
GeeTwo GeeTwo is online now
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,558
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: Talon Stable RPM Check

The big question is whether four queries is enough to demonstrate stability. Plot the curves of your motor speed response over time to determine whether your system is underdamped (oscillates, though eventually converges) or critically or overdamped (does not oscillate). If you are critically or overdamped, your plan is proably adequate. If your system oscillates, measure the period of that oscillation (in terms of feedback counts), and make sure that your stability criterion includes at least that many samples.
__________________

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
  #3   Spotlight this post!  
Unread 13-02-2016, 21:24
rich2202 rich2202 is offline
Registered User
FRC #2202 (BEAST Robotics)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Wisconsin
Posts: 1,137
rich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond repute
Re: Talon Stable RPM Check

I am almost 100% certain your motor speed will NOT be stable. Especially when a different battery is put in your robot.

You are better off varying motor power to "maintain" a speed corridor.
Reply With Quote
  #4   Spotlight this post!  
Unread 13-02-2016, 22:25
GeeTwo's Avatar
GeeTwo GeeTwo is online now
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,558
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: Talon Stable RPM Check

Quote:
Originally Posted by rich2202 View Post
I am almost 100% certain your motor speed will NOT be stable. Especially when a different battery is put in your robot.

You are better off varying motor power to "maintain" a speed corridor.
From this, I understand that they are using the internal PID of the Talon to maintain speed, not depending on a voltage setting:

Quote:
Originally Posted by Amit3339 View Post
We used the code of the Talon CAN rpm to reach a certain rpm ..
__________________

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
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 08:08.

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