Go to Post (middle school age) One time I had a truly awful day at school and came home crying. My mother's response? "Do you want to go to the build session tonight? It will make you feel better.." And it did. It always does. - rachelholladay [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 Rating: Thread Rating: 3 votes, 5.00 average. Display Modes
  #16   Spotlight this post!  
Unread 06-11-2012, 10:44
Paul Copioli's Avatar Unsung FIRST Hero Woodie Flowers Award
Paul Copioli Paul Copioli is offline
President, VEX Robotics, Inc.
FRC #3310 (Black Hawk Robotics)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 2000
Location: Rockwall, TX
Posts: 1,381
Paul Copioli has a reputation beyond reputePaul Copioli has a reputation beyond reputePaul Copioli has a reputation beyond reputePaul Copioli has a reputation beyond reputePaul Copioli has a reputation beyond reputePaul Copioli has a reputation beyond reputePaul Copioli has a reputation beyond reputePaul Copioli has a reputation beyond reputePaul Copioli has a reputation beyond reputePaul Copioli has a reputation beyond reputePaul Copioli has a reputation beyond repute
Re: paper: Talon, Victor884, Victor888, and Jaguar speed vs torque tests

There seems to be some confusion regarding the input PWM signal period that VEX Robotics published. The 17ms input signal period in our documentation for the Victor 884 was the typical number used on the old IFI control system.

Both the Victor 884 and 888 can support (and has been tested to support) down to 2.1ms.

Sorry for the confusion.

Paul
__________________
In full disclosure I am the President of VEX Robotics, a division of Innovation First International.
Reply With Quote
  #17   Spotlight this post!  
Unread 06-11-2012, 11:02
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 7,995
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: paper: Talon, Victor884, Victor888, and Jaguar speed vs torque tests


Thanks for the info Paul. For completeness, do you know the minimum period that the Jag can support?


Reply With Quote
  #18   Spotlight this post!  
Unread 06-11-2012, 12:15
s1900ahon s1900ahon is offline
Registered User
AKA: Scott McMahon
FRC #2468 (Appreciate)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 155
s1900ahon has a brilliant futures1900ahon has a brilliant futures1900ahon has a brilliant futures1900ahon has a brilliant futures1900ahon has a brilliant futures1900ahon has a brilliant futures1900ahon has a brilliant futures1900ahon has a brilliant futures1900ahon has a brilliant futures1900ahon has a brilliant futures1900ahon has a brilliant future
Re: paper: Talon, Victor884, Victor888, and Jaguar speed vs torque tests

Quote:
Originally Posted by Ether View Post

Thanks for the info Paul. For completeness, do you know the minimum period that the Jag can support?

Unless Paul's team have changed it, the minimum PWM period for Jaguars is 5 ms (i.e. 200 Hz). This coincides with the cRIO capabilities. Jaguar was designed to work specifically with the cRIO for FIRST.

A period faster than 5 ms is great, but doesn't provide any benefit for FRC applications (unless jhersh updated the FPGA and I didn't get the memo).

-Scott
Reply With Quote
  #19   Spotlight this post!  
Unread 06-11-2012, 12:24
Paul Copioli's Avatar Unsung FIRST Hero Woodie Flowers Award
Paul Copioli Paul Copioli is offline
President, VEX Robotics, Inc.
FRC #3310 (Black Hawk Robotics)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 2000
Location: Rockwall, TX
Posts: 1,381
Paul Copioli has a reputation beyond reputePaul Copioli has a reputation beyond reputePaul Copioli has a reputation beyond reputePaul Copioli has a reputation beyond reputePaul Copioli has a reputation beyond reputePaul Copioli has a reputation beyond reputePaul Copioli has a reputation beyond reputePaul Copioli has a reputation beyond reputePaul Copioli has a reputation beyond reputePaul Copioli has a reputation beyond reputePaul Copioli has a reputation beyond repute
Re: paper: Talon, Victor884, Victor888, and Jaguar speed vs torque tests

Scott,

We did not change it. It is still 5ms.


All,

To be clear, we did not do anything new with regards to the PWM input on the Victor 888. It has always been 2.1ms on the 884, but we just did a bad job documenting that fact.

Paul
__________________
In full disclosure I am the President of VEX Robotics, a division of Innovation First International.
Reply With Quote
  #20   Spotlight this post!  
Unread 06-11-2012, 12:27
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: paper: Talon, Victor884, Victor888, and Jaguar speed vs torque tests

The Talon input is interrupt driven so it can be updated at ~2.1 ms. We published 3 ms to add conservatism for variations due to calibration points and non standard pulse widths.

If the input pulse produces a rising and falling edge the Talon will process it.
__________________
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
Reply With Quote
  #21   Spotlight this post!  
Unread 06-11-2012, 12:40
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 7,995
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: paper: Talon, Victor884, Victor888, and Jaguar speed vs torque tests

Quote:
Originally Posted by Paul Copioli View Post
All,

To be clear, we did not do anything new with regards to the PWM input on the Victor 888. It has always been 2.1ms on the 884, but we just did a bad job documenting that fact.

Paul
Paul, would it be useful to ask the folks at WPILib to change their 884 (and future 888) driver to use a period of 5ms instead of 10ms? I realize it probably makes little difference in the vast majority of cases, but there may be teams who want to close a loop at 10ms.



Last edited by Ether : 06-11-2012 at 15:01.
Reply With Quote
  #22   Spotlight this post!  
Unread 06-11-2012, 13:12
apalrd's Avatar
apalrd apalrd is offline
More Torque!
AKA: Andrew Palardy (Most people call me Palardy)
VRC #3333
Team Role: College Student
 
Join Date: Mar 2009
Rookie Year: 2009
Location: Auburn Hills, MI
Posts: 1,347
apalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond repute
Re: paper: Talon, Victor884, Victor888, and Jaguar speed vs torque tests

Quote:
Originally Posted by Ether View Post
Paul, would it be useful to ask the folks at WPILib to change their 884 (and future 888) driver to use a period of 5ms instead of 17ms? I realize it probably makes little difference in the vast majority of cases, but there may be teams who want to close a loop at 10ms.


The current PWM setup in WPIlib (at least in LabVIEW) is a PWM output with a 5s period and a 'period multiplier' of 1,2 or 4. It's enumerated, so 1x, 2x, and 4x correspond to 0,1,2 respectively (I don't think you can add more multipliers if you want).

The Jaguars use a period multiplier of 1, for a 5ms period. The Victors use 2, for a 10ms period. Servos use 4, for a 20ms period, and raw PWM channels can use whatever they want (of the three choices).

All it takes to add a new motor controller (in LabVIEW) is to duplicate one of the Open blocks and change the scaling and period multiplier parameters. The Write and Read blocks will adhere to the scaling set in the Open block, and the drivers will use the period multiplier set as well.

However, the fact that the driver (in LabVIEW) uses uint8's to store full-range pulse position, so the uint8 stores the widest pulse that the library can generate and devices using a narrower range perform the scaling before converting to uint8 essentially makes the uint8 sent to the fpga the bottleneck for resolution on the entire pwm output system. So, added input resolution on any new devices (e.g. 10bit internal vs 12bit internal) makes no difference due to the 8bit limit of the library.

Looking at the library (specifically WPI_PWMConvertDeadbandMillisecondTimeTo8Bit) it looks like the u8 is a number of DIO loop ticks to hold the pulse high, and the DIO loop runs every 261 ticks of the main clock (40mhz). That would make 40mhz/261ticks the smallest interval of a pulse change possible in the fpga.

I could be wrong, but that's what I get from reading the LV code.
__________________
Kettering University - Computer Engineering
Kettering Motorsports
Williams International - Commercial Engines - Controls and Accessories
FRC 33 - The Killer Bees - 2009-2012 Student, 2013-2014 Advisor
VEX IQ 3333 - The Bumble Bees - 2014+ Mentor

"Sometimes, the elegant implementation is a function. Not a method. Not a class. Not a framework. Just a function." ~ John Carmack
Reply With Quote
  #23   Spotlight this post!  
Unread 06-11-2012, 13:41
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,544
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: paper: Talon, Victor884, Victor888, and Jaguar speed vs torque tests

Quote:
Originally Posted by Ether View Post
Paul, would it be useful to ask the folks at WPILib to change their 884 (and future 888) driver to use a period of 5ms instead of 17ms? I realize it probably makes little difference in the vast majority of cases, but there may be teams who want to close a loop at 10ms.


The Victor 884 class runs at 10ms. It's hard to tell from the comment if it was tested at 5ms.

Code:
    /**
     * kDefaultPwmPeriod is "ticks" where each tick is 6.525us
     *
     * - 20ms periods (50 Hz) are the "safest" setting in that this works for all devices
     * - 20ms periods seem to be desirable for Vex Motors
     * - 20ms periods are the specified period for HS-322HD servos, but work reliably down
     *      to 10.0 ms; starting at about 8.5ms, the servo sometimes hums and get hot;
     *      by 5.0ms the hum is nearly continuous
     * - 10ms periods work well for Victor 884
     * - 5ms periods allows higher update rates for Luminary Micro Jaguar speed controllers.
     *      Due to the shipping firmware on the Jaguar, we can't run the update period less
     *      than 5.05 ms.
     *
     * kDefaultPwmPeriod is the 1x period (5.05 ms).  In hardware, the period scaling is implemented as an
     * output squelch to get longer periods for old devices.
Reply With Quote
  #24   Spotlight this post!  
Unread 06-11-2012, 15:00
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 7,995
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: paper: Talon, Victor884, Victor888, and Jaguar speed vs torque tests

Quote:
Originally Posted by Joe Ross View Post
The Victor 884 class runs at 10ms
Thanks for the correction. I will edit my previous post.


Reply With Quote
  #25   Spotlight this post!  
Unread 06-11-2012, 15:08
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,544
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: paper: Talon, Victor884, Victor888, and Jaguar speed vs torque tests

Quote:
Originally Posted by Joe Ross View Post
The Victor 884 class runs at 10ms.
And it's as easy to change as calling setPeriodMultiplier in C++ and Java.
Reply With Quote
  #26   Spotlight this post!  
Unread 06-11-2012, 15:27
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 7,995
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: paper: Talon, Victor884, Victor888, and Jaguar speed vs torque tests

Quote:
Originally Posted by Joe Ross View Post
And it's as easy to change as calling setPeriodMultiplier in C++ and Java.
So the 884 could be run at 5ms. Do you know of any teams that have done this?


Reply With Quote
  #27   Spotlight this post!  
Unread 06-11-2012, 20:12
AlexH AlexH is offline
Registered User
no team
Team Role: College Student
 
Join Date: Sep 2010
Rookie Year: 2010
Location: PA
Posts: 215
AlexH is a name known to allAlexH is a name known to allAlexH is a name known to allAlexH is a name known to allAlexH is a name known to allAlexH is a name known to all
Re: paper: Talon, Victor884, Victor888, and Jaguar speed vs torque tests

ether, can you share any info about the 888 such as operating voltage and amp rating?
__________________
My Instructables
Reply With Quote
  #28   Spotlight this post!  
Unread 07-11-2012, 00:38
Tom Line's Avatar
Tom Line Tom Line is offline
Raptors can't turn doorknobs.
FRC #1718 (The Fighting Pi)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 1999
Location: Armada, Michigan
Posts: 2,509
Tom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond repute
Re: paper: Talon, Victor884, Victor888, and Jaguar speed vs torque tests

Victor 888:

Nominal Voltage: 12V
Min/Max Voltage: 6-15V
PWM Input Pulse: 1-2 ms
PWM Input Rate: 2.1-500 ms
PWM Output Chop Rate: 1 KHz
Fan Voltage Range: 6V - 16V

No max current listing yet.

We'll be testing one to determine max current (failure current) over the next week along with a Talon.

Last edited by Tom Line : 07-11-2012 at 00:41.
Reply With Quote
  #29   Spotlight this post!  
Unread 07-11-2012, 01:09
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,345
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: paper: Talon, Victor884, Victor888, and Jaguar speed vs torque tests

Quote:
Originally Posted by Tom Line View Post
Victor 888:
No max current listing yet.

We'll be testing one to determine max current (failure current) over the next week along with a Talon.
Post video, or it didn't happen!
__________________
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
  #30   Spotlight this post!  
Unread 08-11-2012, 11:13
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 7,995
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: paper: Talon, Victor884, Victor888, and Jaguar speed vs torque tests



Links should be fixed now.

Here's an interesting visual. I wrote an awk script to read and convert the RPM vs Nm @ fixed IPW1 raw data into a family of closely-spaced RPM vs IPW @ fixed Nm curves and plotted it with gnuplot. You can really see the change in linearity of the 884 as the load on the CIM increases.

Also, FWIW, here's a graphic of the 884 driving a 1500 ohm resistive load. You can see how linear it is. The non-linearity (when connected to a motor) comes from the interaction of the (slow) frequency the 884's output with the motor's inductance.


1 input pulse width


Last edited by Ether : 08-11-2012 at 11:29. Reason: links were broken
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 17:20.

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