Go to Post A good thing to do when thinking about designs like this, ask yourself "what do I gain?" - lemiant [more]
Home
Go Back   Chief Delphi > Technical > National Instruments LabVIEW and Data Acquisition
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 30-01-2006, 15:09
viewtyjoe viewtyjoe is offline
Code Monkey
AKA: Nathaniel Davis
no team
Team Role: Programmer
 
Join Date: Jan 2005
Rookie Year: 2003
Location: West Chester
Posts: 14
viewtyjoe is an unknown quantity at this point
Send a message via AIM to viewtyjoe
Exclamation Speed Controller Data

In order to control/limit the acceleration on our drivetrain, as well as seeing if we'll need some sort of PID control on our shooter, we took data samples to see what sort of voltage the Victors would give at each input value. What I'm posting here is the raw output of our data, duplicates removed. If I ever get around to it, I'll try and get a graph up showing the curves for the output voltages.
All data was gathered using the '06 Victors and a CIM motor under load attached to a gearbox (3 meshes).

Hope someone can use this data for their own purposes.
Attached Files
File Type: xls victors_2.xls (32.0 KB, 89 views)
Reply With Quote
  #2   Spotlight this post!  
Unread 30-01-2006, 16:45
Danny Diaz's Avatar
Danny Diaz Danny Diaz is offline
Smooth Operator
AKA: FrankenMentor
None #0418
Team Role: Alumni
 
Join Date: Apr 2005
Rookie Year: 2003
Location: Manchester, NH
Posts: 545
Danny Diaz has a reputation beyond reputeDanny Diaz has a reputation beyond reputeDanny Diaz has a reputation beyond reputeDanny Diaz has a reputation beyond reputeDanny Diaz has a reputation beyond reputeDanny Diaz has a reputation beyond reputeDanny Diaz has a reputation beyond reputeDanny Diaz has a reputation beyond reputeDanny Diaz has a reputation beyond reputeDanny Diaz has a reputation beyond reputeDanny Diaz has a reputation beyond repute
Send a message via AIM to Danny Diaz
Re: Speed Controller Data

Quote:
Originally Posted by viewtyjoe
If I ever get around to it, I'll try and get a graph up showing the curves for the output voltages.
Attached is the same Excel spreadsheet with the voltage plotted (plot attached as well, in case you don't have Excel - y-axis centered at PWM value 127) - using the chart wizard it takes about 24 seconds... Awesome work, though! We had always heard the voltage was non-linear, just never set out to prove it...

-Danny
Attached Thumbnails
Click image for larger version

Name:	VictorVoltage.JPG
Views:	98
Size:	50.0 KB
ID:	3920  
Attached Files
File Type: xls victors_2.xls (49.5 KB, 79 views)
__________________
Danny Diaz
Former Lead Technical Mentor, FRC 418
Reply With Quote
  #3   Spotlight this post!  
Unread 30-01-2006, 20:13
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,579
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: Speed Controller Data

The following thread goes into a lot about why the graph looks like that. http://www.chiefdelphi.com/forums/sh...tor+non-linear

The following graph shows the response of the speed controller when connected to a purely resistive load (and is linked towards the end of the above thread). http://www.saratogarobotics.com/php-...showpage&pid=1
Reply With Quote
  #4   Spotlight this post!  
Unread 02-02-2006, 15:54
viewtyjoe viewtyjoe is offline
Code Monkey
AKA: Nathaniel Davis
no team
Team Role: Programmer
 
Join Date: Jan 2005
Rookie Year: 2003
Location: West Chester
Posts: 14
viewtyjoe is an unknown quantity at this point
Send a message via AIM to viewtyjoe
Re: Speed Controller Data

A couple of nights ago, we were discussing why the output comes out like that, and the only conclusion we've come up with that makes sense is that if we graphed the power, it would be linear. Has anyone taken a look at it that way? I didn't see it in the discussion, so I'm throwing it out to see what everyone else thinks.
Reply With Quote
  #5   Spotlight this post!  
Unread 02-02-2006, 16:05
Unsung FIRST Hero
Al Skierkiewicz Al Skierkiewicz is offline
Broadcast Eng/Chief Robot Inspector
AKA: Big Al WFFA 2005
FRC #0111 (WildStang)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1996
Location: Wheeling, IL
Posts: 10,792
Al Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond repute
Re: Speed Controller Data

The data you logged is representative of the DC value of the output but not representative of the power delivered to the motor. The output of the speed controller is itself a PWM signal and only is a steady state battery voltage at PWM values of 0 or 255 when the speed controller is calibrated. All other times it is a pulsed DC output of varying width. The small voltage variations you see just outside the deadband are due to the very short pulses interacting with the complex impedance of the motor. The graphs linked by Joe Ross show current delivered to the motor which is more representative of the actual response of the motor.
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
TTL port to a serial port on a demo board ImmortalAres Programming 16 09-07-2005 23:44
PID control loops - closed loop feedback KenWittlief Technical Discussion 56 26-04-2004 21:27
heres the code. y this not working omega Programming 16 31-03-2004 15:18
not quite sure...speed controller...spike. tophq Programming 8 26-03-2004 13:43
Limiting PWM in pbasic archiver 2001 4 24-06-2002 00:38


All times are GMT -5. The time now is 21:57.

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