If you have a problem or need to report a bug please email : support@dsprobotics.com
There are 3 sections to this support area:
DOWNLOADS: access to product manuals, support files and drivers
HELP & INFORMATION: tutorials and example files for learning or finding pre-made modules for your projects
USER FORUMS: meet with other users and exchange ideas, you can also get help and assistance here
NEW REGISTRATIONS - please contact us if you wish to register on the forum
Users are reminded of the forum rules they sign up to which prohibits any activity that violates any laws including posting material covered by copyright
time derivative
3 posts
• Page 1 of 1
time derivative
First off, you guys are awesome.
Second, just wanted to add this into the user database, it might be useful to someone at some point. It's a simple time derivative that stores incoming numbers in a queue after a given interval. It then divides the difference of the stored number and current number with respect to the time step. Pretty basic.
Thanks!
Second, just wanted to add this into the user database, it might be useful to someone at some point. It's a simple time derivative that stores incoming numbers in a queue after a given interval. It then divides the difference of the stored number and current number with respect to the time step. Pretty basic.
Thanks!
- Attachments
-
dv_dt.fsm
- (3.13 KiB) Downloaded 1006 times
- brownts
- Posts: 8
- Joined: Fri Nov 13, 2015 4:58 am
Re: time derivative
Fascinating!
This apparently gives a greater output when the rate of change of the input is higher (I tested with a simple knob using 0-10000 as the range).
I'm no maths guy but from my college days in the last century I would say it's a differentiator. Am I right?
Now I just need to think of an application for this! Is this part of a larger project and if so what does it do in your project?
Thanks for sharing this
Cheers
Spogg
This apparently gives a greater output when the rate of change of the input is higher (I tested with a simple knob using 0-10000 as the range).
I'm no maths guy but from my college days in the last century I would say it's a differentiator. Am I right?
Now I just need to think of an application for this! Is this part of a larger project and if so what does it do in your project?
Thanks for sharing this
Cheers
Spogg
-
Spogg - Posts: 3368
- Joined: Thu Nov 20, 2014 4:24 pm
- Location: Birmingham, England
Re: time derivative
Spogg wrote:Fascinating!
This apparently gives a greater output when the rate of change of the input is higher (I tested with a simple knob using 0-10000 as the range).
I'm no maths guy but from my college days in the last century I would say it's a differentiator. Am I right?
Now I just need to think of an application for this! Is this part of a larger project and if so what does it do in your project?
Thanks for sharing this
Cheers
Spogg
Hi Spogg,
You nailed it! I made this for calculating rates of change. So if you feed it position, it will return the speed. If you feed it speed, it will output acceleration. So if your knob represents position, and it changes in relation to the position of your mouse, it will return the speed of your mouse when you move it.
I use it for time steps, (speed/work/power/etc) but I don't think it would be too difficult to set it up to measure two inputs and calculate the rate of change with respect to each other. I haven't had the need to do that, yet, though.
Thanks!
Trent
- brownts
- Posts: 8
- Joined: Fri Nov 13, 2015 4:58 am
3 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 15 guests