4.8.2 The Digital Filter of MagicScan
The digital filter is a
average
filter.
Filter value = (V_1+V_2+……+V_n)/n
, where n is average factor
If the input signal is very noisy, this filter can be used to remove these noises.
4.8.3 The Different Sampling Rate of MagicScan
The MagicScan controller scans the analog inputs in
fixed-sampling-rate
. The
different sampling rate
is implemented with
averaging
technique.
This technique is the
same as the digital filter
described in Sec. 4.8.2. If the user wishes to use the different
sampling rate, the digital filter will be active at the same time.
This is a situation of ALL
or NO.
You can use both the digital filter and the different sampling rate at the same
time or use neither of them.
P180X_ClearScan();
P180X_AddToScan(?,?,10,….);
Æ
only one channel scan
P180X_StartScan(?,24);
Æ
the AD sampling rate = 8 M/24=333 k
Æ
the factor=10
Æ
sampling rate=333 k/10=33.3 k
P180X_ClearScan();
P180X_AddToScan(A,?,1,….);
P180X_AddToScan(B,?,2,….);
P180X_AddToScan(C,?,3,….);
P180X_StartScan(?,24);
Æ
the AD sampling rate = 8 M/24=333 k
Æ
scan sampling rate=333 k/3=111 k
channel_A sampling rate=111 k/1=111 k
channel_B sampling rate=111 k/2=55.5 k
channel_C sampling rate=111 k/3=37 k
z
P1202_ClearScan(…) is designed for PCI-1202H/L/HU/LU
z
P1602_ClearScan(…) is designed for PCI-1602/F/U/FU
PCI-1202/1602/1800/1802 Hardware User’s Manual
(
Ver.4.2, Dec/2009, PMH-014-42)---- 74