Open latest posts
motion simulator DIY community 

dicovering the "mean value filter"

on 24.03.2012, 13:02

dicovering the "mean value filter"

Postby AldoZ on 24.03.2012, 13:02

Hi all, today I discovered the mean value filter math plugin. it was a great discovery for me but I have a little doubt about.


Ok, I am using my LEFT axis for this example and in this axis there was only the 26 vertical effect:

Not using this math plugin:
My profile vertical force order to my motor to go from pos-40 to pos100 and immediately after from pos100 to pos -10.
Ok, all work good but I notice that in this movement path I got a lot of positive and negative movement peaks. So the movement path was not linear but was full of peaks making the motor movement really disorderly.

Using this math plugin:
Using this mean value filter (with 30 as value requested from this math plugin):
Ok the ordered movement path was the same of previous case but this time I get a much more linear and "smooth" making the motor movement really orderly and above all, much more visible.

Ok, now my doubt:
So the example work great but now I have to test this plugin on my LEFT axis with ALL effects (lateral, longitudinal, vertical).
here the pic:


And finally my question! :uups: :
the mean value filter math plugin ask "choose a number of values to use".. ok I put 30.

Watching the pic, what mean this 30?
A) the "mean value filter" take the values of the last 30 cycles of the "26 effect" and it build an average value to use.
B) the "mean value filter" take the values of the last 30 cycles of ALL the effects (vertical, lateral,longitudinal) in the axis and it build an average value (I repeat, of all the effects!) to use.

So, can I get "mean value filter" working just on "26 effect" of my axis?
Or it will include all the effects of the axis (vertical, lateral, longitudinal) to make the average value?

Thank you so mutch and please.. use your best basic english possible! :?
Don't hesitate, don't wait, GO! :)
User avatar
AldoZ
X-SIMER
 
Posts: 287
Joined: 26.08.2010, 22:53
Location:Italy Italy
Local time: 19.05.2013, 09:29
Obtained thanks: 20


on 25.03.2012, 05:08
Re: dicovering the "mean value filter"

Postby rafael_design on 25.03.2012, 05:08

Hello AldoZ,
I think in your case the answer is "A". Thats because the 26 effect is above the filter in math table.

Now, how do we do if the effect we want to filter, or make something else with it, is in the middle or in the end of math table? The answer is probably "copy and combine" feature.
Here is the manual I wrote and how to use copy and combine:
operation-plugfree-t3301.html?hilit=operation plugfree&start=70
the download link @ page 8

And here is one example of how to make filers and limiters specific to certain effects:


This way the limiter will affect only inside the copy and combine segment. At least it was behaving this way on few tests I made with limiter math plugin. So it might work for mean value filter aswell.

I will run few more tests here but I think its failure proof. ;D

regards,
rafael.
User avatar
rafael_design
X-SIMER
 
Posts: 161
Joined: 17.02.2011, 04:48
Location:International Brasil
Local time: 19.05.2013, 05:29
Obtained thanks: 16
The following user would like to thank rafael_design for this post
AldoZ


on 25.03.2012, 10:28
Re: dicovering the "mean value filter"

Postby AldoZ on 25.03.2012, 10:28

Hi Rafael and thank you for answer. The profiler "math setup" section using precise rules and I would be happy if I were sure of these rules with no doubts.

then, if I would to apply a filter ONLY to a my precise effect so I have to add the filter just under the line effect.

EXAMPLE, Applying a filter to my 26 effect:
line 1 ------> effect 26
line 2 ------> filter


Please take a look to this pic to understand well what I mean :

In this example pic I am applying a precise "percent limiter" filter to each of my effect so I will obtain :
26 effect ----> 100% percent limiter (then no limit)
27 effect ----> 70% percent limiter
25 effect ----> 70% percent limiter

I am right about?
If yes so I don't understand why ,in your example, you are using the "copy and combine"..
you should still get the result of the "mean value" and "percent limiter" applied just to your "26 effect" because these filters are just below of your "26 effect"!
Or I missing something? :?

PS.
I think I have not understood yet the "copy and combine" plugin... :dntknw:
Don't hesitate, don't wait, GO! :)
User avatar
AldoZ
X-SIMER
 
Posts: 287
Joined: 26.08.2010, 22:53
Location:Italy Italy
Local time: 19.05.2013, 09:29
Obtained thanks: 20


on 26.03.2012, 05:38
Re: dicovering the "mean value filter"

Postby rafael_design on 26.03.2012, 05:38

Hello Aldoz!
Here another example:

Effect 26 (ex: big bumps) 1.000.000 from this line effect
limiter 50% from above line 1.000.000 = 500.000 result value so far with limiter
Effect 26 (ex: small bumps) 1.300.000 from this line effect + 500.000 from above line result
limiter 10% from above line 1.800.000 = 180.000 result value so far with limiter
Total = 180.000 or 0.18G

Now with copy and combine:
Effect 26 (ex: big bumps) 1.000.000 from this line effect
limiter 50% from above line 1.000.000 = 500.000 result value so far with limiter
Copy and combine store result so far (500.000)
Effect 26 (ex: small bumps) 1.300.000 from this line effect
limiter 10% from above line 1.300.000 = 130.000 result value so far with limiter
Copy an combine recall stored (500.000) and add to current value (130.000)
Total = 630.000 or 0.63G

regards!
Rafael
User avatar
rafael_design
X-SIMER
 
Posts: 161
Joined: 17.02.2011, 04:48
Location:International Brasil
Local time: 19.05.2013, 05:29
Obtained thanks: 16




Similar topics

Return to Force-Profiler Simulator Control


Add this Thread to:
Add this page to Mr. Wong Add this page to Del.icio.us Add this page to Webnews Add this page to Icio Add this page to Oneview Add this page to Linkarena Add this page to Newskick Add this page to Folkd Add this page to Yigg Add this page to Digg Add this page to Reddit Add this page to Simpy Add this page to StumbleUpon Add this page to Slashdot Add this page to Netscape Add this page to Furl Add this page to Yahoo Add this page to Spurl Add this page to Google Add this page to Blinklist Add this page to Blogmarks Add this page to Diigo Add this page to Technorati Add this page to Newsvine Add this page to Blinkbits Add this page to Ma.Gnolia Add this page to Smarking Add this page to Netvouz

Who is online

Users browsing this forum: No registered users and 1 guest

cron