Moving Average Function - Mitsubishi Electric MELSEC iQ-R Series User Manual

Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

1.5

Moving average function

This function calculates the mean value by performing moving average processing on the sampling pulse number obtained
per count cycle for the specified number of times of averaging operations. Use this function in situations such as when
variations occur in the sampling pulse number.
Operation
Setting 'CH1 Movement averaging processing selection' (Un\G132) to Moving average processing (1) causes average
processing to be performed on the sampling pulse number. Use 'CH1 Number of movement averaging processing' (Un\G133)
to set the number of times to perform averaging on the sampling pulse number.
When 'CH1 Movement averaging processing selection' (Un\G132) is set to Sampling processing (0), the sampling pulse
number is calculated without averaging processing.
■Example
This section describes an operation example when 'CH1 Number of movement averaging processing' (Un\G133) is set to 4.
Until the set count of sampling pulse numbers is calculated, averaging processing is performed with the current count.
Sp
(3)
(2)
(1)
0
(a)
(1)
1
(d)
(1)+(2)+(3)+(4)
4
Sp: Sampling pulse number
t:
Time
1 FUNCTIONS
26
1.5 Moving average function
(4)
Count cycle
(5)
(8)
(6)
(7)
Data transition in buffer memory
(b)
(1)+(2)
2
(e)
(2)+(3)+(4)+(5)
4
(9)
(12)
(10)
(11)
First storage (a)
Second storage (b)
Third storage (c)
Fourth storage (d)
Fifth storage (e)
Sixth storage (f)
t
(c)
(1)+(2)+(3)
3
(f)
(3)+(4)+(5)+(6)
4

Advertisement

Table of Contents
loading

Table of Contents