Go to Post CAD pictures are cool, but hardware in hand is cooler. :) - ajlapp [more]
Home
Go Back   Chief Delphi > Competition > Championship Event
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 01-06-2011, 09:05
ajlapp ajlapp is offline
Registered User
AKA: Anthony Lapp
None #0118 (Team RUSH and Robonauts)
 
Join Date: Sep 2001
Rookie Year: 1996
Location: Ortonville, MI
Posts: 648
ajlapp has a reputation beyond reputeajlapp has a reputation beyond reputeajlapp has a reputation beyond reputeajlapp has a reputation beyond reputeajlapp has a reputation beyond reputeajlapp has a reputation beyond reputeajlapp has a reputation beyond reputeajlapp has a reputation beyond reputeajlapp has a reputation beyond reputeajlapp has a reputation beyond reputeajlapp has a reputation beyond repute
Re: Hibner: Software Testing Via Simulation

Thanks for the answers!

We typically use potentiometers for feedback. Any modeling recommendations for a potentiometer? It seems fairly straightforward to me.

Can you test for equivalent motor command? I.e. I could put the actual robot arm into a know position, say parallel with the ground.....then apply a known PWM to it's motor until it is held in place and not falling. Would this value then be equal to the equivalent motor command to simulate gravity??
__________________
Anthony Lapp
FIRST Engineering Mentor
Owner/Operator 221 Robotic Systems
221 Robotics Systems - Quality Hardware, Made in the USA
RobotOpen
anthony@221robotics.com
Twitter us: @221RobotSystems
Team 1 --> 94 --> 68 --> 221 --> 857 --> 27 --> 118
Design Engineer/Fabricator and 17 year vet
Team Rush (FRC27) and Robonauts (FRC118)
  #2   Spotlight this post!  
Unread 01-06-2011, 11:00
Chris Hibner's Avatar Unsung FIRST Hero
Chris Hibner Chris Hibner is offline
Eschewing Obfuscation Since 1990
AKA: Lars Kamen's Roadie
FRC #0051 (Wings of Fire)
Team Role: Engineer
 
Join Date: May 2001
Rookie Year: 1997
Location: Canton, MI
Posts: 1,488
Chris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond repute
Re: Hibner: Software Testing Via Simulation

Quote:
Originally Posted by ajlapp View Post
We typically use potentiometers for feedback. Any modeling recommendations for a potentiometer? It seems fairly straightforward to me.
I don't do anything to model potentiometers - I just use the angle calculated by the simple model as my sensor feedback. I do usually use a noise model (if you have your cRIO handy, use the noise testing method in my last post. If not, 2 degrees of noise is a good starting point).

Quote:
Can you test for equivalent motor command? I.e. I could put the actual robot arm into a know position, say parallel with the ground.....then apply a known PWM to it's motor until it is held in place and not falling. Would this value then be equal to the equivalent motor command to simulate gravity??
If your arm is already built, that is exactly how we do it. You only need to do the test in one position, and the rest is proportional to the sine of the angle from vertical. If you do the test with the arm horizontal, then the equivalent motor command is EquivAtHoriz * sin(angleFromVertical). If you look at the arm model example, this is exactly what was done.

If you don't have the arm already build, you can do some rough calculations to get a good starting point. If you don't feel like rough calculations, using 0.2 seems to work pretty well for getting your software debugged.
__________________
-
An ounce of perception is worth a pound of obscure.
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 19:53.

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