![]() |
Exponential Motor Acceleration
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?
|
Re: Exponential Motor Acceleration
What does "accelerate and decelerate exponentially" mean? I know what the individual words mean, but putting them together like that makes me imagine a wheel turning faster at an ever-increasing rate, quickly reaching the point of rapid catastrophic disassembly.
If you can write what you want in a C-like language, I can show you how to translate that to LabVIEW. It could even be as easy as writing it verbatim in a formula node. |
Re: Exponential Motor Acceleration
If what you are looking for are functions for log and exp, they are in Mathematics >> Elementary Functions, right next to trig and hyperbolic. As Alan said, many of these are supported in the formula node too, using a C subset syntax.
Greg McKaskle |
Re: Exponential Motor Acceleration
1 Attachment(s)
Perhaps you are referring to contouring the joystick output exponentially? Here is a joystick exponential mapping function which maps a Joystick value between 0 and +1, inclusive, to an adjusted value in the same range: Joystick_adjusted = (1-bJoystick)/(1-b); For range -1 to 0, use this: Joystick_adjusted = -(1-b-Joystick)/(1-b); b≠1 is a tuning parameter. Example graph below with b=10 |
Re: Exponential Motor Acceleration
Quote:
|
Re: Exponential Motor Acceleration
Quote:
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 |
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.
|
Re: Exponential Motor Acceleration
Quote:
Quote:
|
| All times are GMT -5. The time now is 08:55. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi