Go to Post Then you might have a 1902 (oink oink BOOM) which could result in a 418 (Purple Haze). - JaneYoung [more]
Home
Go Back   Chief Delphi > Technical > Electrical
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 19-01-2013, 20:00
lemonzap lemonzap is offline
Head Programmer
FRC #2928 (Viking Robotics)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2010
Location: United States
Posts: 33
lemonzap is on a distinguished road
motor controller profiles

My programmer team and I just collected some data on the operation of all 3 motor controllers. Jaguars, Victors, and Talons. We put a motor on a wheel with a gearbox and an encoder. We collected the minimum value that had to be sent to the controller to start the motor moving forward and reverse, the maximum forward and reverse speeds, and a graph of speed over time. We had the program increase the value sent to the controller by 0.01 every 0.5 seconds until it reached full power then decrease the value by 0.01 until it reached full reverse power, then increases again until it reached a stop. I've made sure the controllers were properly calibrated and used the correct class for each.

Jaguar:
Start value: 0.110
Reverse start value: -0.060
Top speed: 543.478 units/sec
Reverse top speed: -543.478 units/sec


Victor 884:
Start value: 0.090
Reverse start value: -.060
Top speed: 657.895 units/sec
Reverse top speed: -568.182 units/sec


Talon:
Start value: 0.070
Reverse start value: -.060
Top speed: 543.478 units/sec
Reverse top speed: -568.182 units/sec

Last edited by lemonzap : 20-01-2013 at 17:30.
  #2   Spotlight this post!  
Unread 19-01-2013, 20:04
Mike Copioli's Avatar
Mike Copioli Mike Copioli is offline
You make it pretty We make it dance
no team (Retired(3539, 217))
Team Role: Engineer
 
Join Date: Jan 2006
Rookie Year: 2001
Location: Romeo
Posts: 453
Mike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond repute
Re: motor controller profiles

Were you using the correct class for each controller? Each motor controller has different input timing requirements.
__________________
Mike Copioli
CTRE Hardware Engineer
http://www.ctr-electronics.com

Team 3539 The Byting Bull Dogs
2013 Michigan State Champions
Team 217 The Thunder Chickens
2006 World Champions
2008 World Champions
2009 Michigan State Champions
  #3   Spotlight this post!  
Unread 19-01-2013, 20:08
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,044
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: motor controller profiles


1) Was each motor controller properly calibrated?

2) Did you use the proper driver for each motor controller?

3) You didn't mention which model Victor you tested. It looks like the older 884, not the new 888.


  #4   Spotlight this post!  
Unread 19-01-2013, 22:22
lemonzap lemonzap is offline
Head Programmer
FRC #2928 (Viking Robotics)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2010
Location: United States
Posts: 33
lemonzap is on a distinguished road
Re: motor controller profiles

Ah. ya I noticed that there were different classes for the different controllers but forgot to swap out the code at the time. The talon was properly calibrated and I'm fairly sure the Victor was. Ill correct the data when I re-run the tests tomorrow.
  #5   Spotlight this post!  
Unread 19-01-2013, 22:43
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,044
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: motor controller profiles

Quote:
Originally Posted by lemonzap View Post
The talon was properly calibrated and I'm fairly sure the Victor was.
Since you're not using a joystick, can you please describe your calibration procedure ?

(I know how I'd do it with a test like this, but for completeness it would be helpful if you'd document how you did it)


  #6   Spotlight this post!  
Unread 19-01-2013, 23:16
lemonzap lemonzap is offline
Head Programmer
FRC #2928 (Viking Robotics)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2010
Location: United States
Posts: 33
lemonzap is on a distinguished road
Re: motor controller profiles

The reason I believe the Victor may have been improperly calibrated is because the lights didn't light up exactly how the instructions said they should. I think that on the Victor we may have just done a factory reset. I will confirm that everything has been properly calibrated before the test tomorrow so we can get more accurate data.
  #7   Spotlight this post!  
Unread 19-01-2013, 23:21
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,073
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: motor controller profiles

Here's the data that's present overlaid on top of each other (as best I can) for comparison:

Click image for larger version

Name:	SpeedControllerComparisons.jpg
Views:	128
Size:	115.0 KB
ID:	13585
__________________
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)

  #8   Spotlight this post!  
Unread 20-01-2013, 22:01
lemonzap lemonzap is offline
Head Programmer
FRC #2928 (Viking Robotics)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2010
Location: United States
Posts: 33
lemonzap is on a distinguished road
Re: motor controller profiles

I re-ran the tests with the motor controllers properly calibrated and using the correct classes. the graphs have been updated but there was no significant change. I hope this data will be useful. also keep in mind that the values will change depending on the motor, gearbox, encoder, and battery life. These values are fairly arbitrary on their own and are mainly useful for seeing the comparison between the different types of motor controllers. For instance the dead zone around zero for talons seems to be significantly smaller than the the dead zone for the other 2.
  #9   Spotlight this post!  
Unread 20-01-2013, 22:20
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,044
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: motor controller profiles

Quote:
Originally Posted by lemonzap View Post
I re-ran the tests with the motor controllers properly calibrated and using the correct classes. the graphs have been updated but there was no significant change.
Is this a typo? It doesn't agree with the graph.


Attached Thumbnails
Click image for larger version

Name:	vic884.png
Views:	104
Size:	4.0 KB
ID:	13591  
  #10   Spotlight this post!  
Unread 22-01-2013, 01:51
lemonzap lemonzap is offline
Head Programmer
FRC #2928 (Viking Robotics)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2010
Location: United States
Posts: 33
lemonzap is on a distinguished road
Re: motor controller profiles

I believe it was a fluke in the data. A random sudden spike.
  #11   Spotlight this post!  
Unread 22-01-2013, 10:03
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,044
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: motor controller profiles


If you have a Victor 888 and would be willing to run your test with that, it would make your data set complete and help put things in perspective.


  #12   Spotlight this post!  
Unread 23-01-2013, 01:49
lemonzap lemonzap is offline
Head Programmer
FRC #2928 (Viking Robotics)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2010
Location: United States
Posts: 33
lemonzap is on a distinguished road
Re: motor controller profiles

I definitely would but I sadly don't have any, and I don't think that we'll be getting any because the talons seem pretty reliable. I do wish we did though so I'll probably have someone order them after this season.
  #13   Spotlight this post!  
Unread 23-01-2013, 02:56
slijin's Avatar
slijin slijin is offline
Pockets
AKA: Samuel Lijin
FRC #0694 (StuyPulse)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2010
Location: New York City
Posts: 537
slijin is a splendid one to beholdslijin is a splendid one to beholdslijin is a splendid one to beholdslijin is a splendid one to beholdslijin is a splendid one to beholdslijin is a splendid one to beholdslijin is a splendid one to behold
Re: motor controller profiles

Quote:
Originally Posted by lemonzap View Post
I definitely would but I sadly don't have any, and I don't think that we'll be getting any because the talons seem pretty reliable. I do wish we did though so I'll probably have someone order them after this season.
If you haven't used your IFI PDV yet, you can get two 888s or two Jags with it.
__________________

2010-12 CT Chairman's
2011 Galileo 5th seed
2010 NY Regional Winners
  #14   Spotlight this post!  
Unread 23-01-2013, 13:01
MisterG's Avatar
MisterG MisterG is offline
Think twice post once.
AKA: Alan Gilgenbach
FRC #2062 (C.O.R.E. - Community of Robotics Engineers)
Team Role: Team Spirit / Cheering
 
Join Date: Mar 2011
Rookie Year: 2011
Location: Waukesha, WI
Posts: 120
MisterG is a name known to allMisterG is a name known to allMisterG is a name known to allMisterG is a name known to allMisterG is a name known to allMisterG is a name known to all
Re: motor controller profiles

Quote:
Originally Posted by lemonzap View Post
I definitely would but I sadly don't have any, and I don't think that we'll be getting any because the talons seem pretty reliable. I do wish we did though so I'll probably have someone order them after this season.
Lemonzap,

Thanks for posting, this data looks very interesting.

Would you consider sharing the code that you used for the comparison? If you did, perhaps someone else could repeat the test with the 888.

Al G.
__________________
Alan Gilgenbach
C.O.R.E 2062
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 03:40.

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