Go to Post Now, most of the replies are very tactful when they are questioning a teams' design... but some are simply stupid. Keep your heads. - Andy Baker [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 22-01-2015, 14:06
The_Waffleing's Avatar
The_Waffleing The_Waffleing is offline
The Horse Shaman
AKA: Mitchel
FRC #0753 (The High Desert Droids)
Team Role: Mentor
 
Join Date: Jan 2015
Rookie Year: 2012
Location: Bend
Posts: 32
The_Waffleing is an unknown quantity at this point
Re: Exponential Motor Acceleration

Quote:
Originally Posted by The_Waffleing View Post
I'm trying to create a motor control that will accelerate and decelerate exponentially and of course I can solve that mathematically but am having troubles in taking that idea and inputting it into Labview. I can do it in just about any other text based language but I can't seem to figure it out in Labview. Any thoughts?
I chuckled with your ending bit there. What I'm trying to get at is if you fully throttle the joysticks forward instead of a sudden increase from 0 to 1 in a fraction of a second have it gradually increase over the course of 2 seconds or something of that nature. Ether I believe has answered my question however I haven't tried it yet so I will report back later if it's right.
Reply With Quote
  #2   Spotlight this post!  
Unread 22-01-2015, 14:16
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,065
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: Exponential Motor Acceleration

Quote:
Originally Posted by The_Waffleing View Post
What I'm trying to get at is if you fully throttle the joysticks forward instead of a sudden increase from 0 to 1 in a fraction of a second have it gradually increase over the course of 2 seconds or something of that nature. Ether I believe has answered my question
What I posted is a joystick mapping; it won't do what you just described above.

What you want is some sort of rate limiter.

http://thinktank.wpi.edu/article/140 (look for the section titled Slew Rate – How do I limit the rate of change?)

http://www.chiefdelphi.com/forums/sh...23&postcount=2




Last edited by Ether : 22-01-2015 at 14:28.
Reply With Quote
  #3   Spotlight this post!  
Unread 22-01-2015, 14:36
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Exponential Motor Acceleration

What you want is called "rate limiting". Searching with that keyword phrase will give you lots of useful information. Here is one document that ought to help.
Reply With Quote
  #4   Spotlight this post!  
Unread 22-01-2015, 15:25
The_Waffleing's Avatar
The_Waffleing The_Waffleing is offline
The Horse Shaman
AKA: Mitchel
FRC #0753 (The High Desert Droids)
Team Role: Mentor
 
Join Date: Jan 2015
Rookie Year: 2012
Location: Bend
Posts: 32
The_Waffleing is an unknown quantity at this point
Talking Re: Exponential Motor Acceleration

Quote:
Originally Posted by Ether View Post
What I posted is a joystick mapping; it won't do what you just described above.

What you want is some sort of rate limiter.

http://thinktank.wpi.edu/article/140 (look for the section titled Slew Rate – How do I limit the rate of change?)

http://www.chiefdelphi.com/forums/sh...23&postcount=2



Quote:
Originally Posted by Alan Anderson View Post
What you want is called "rate limiting". Searching with that keyword phrase will give you lots of useful information. Here is one document that ought to help.
Okay got it figured out now. Thanks a bunch for the input.
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:55.

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