▍1. 滤波法
A、名称:限幅滤波法(又称程序判断滤波法) B、方法: 根据经验判断,确定两次采样允许的最大偏差值(设为A), 每次检测到新值时判断: 如果本次值与上次值之差<=A,则本次值有效, 如果本次值与上次值之差>A,则本次值无效,放弃本次值,用上次值代替本次值。 C、优点: 能有效克服因偶然因素引起的脉冲干扰。 D、缺点: 无法抑制那种周期性的干扰。 平滑度差。(A. Name: Limited filter method (also known as program judgement filter method) B. Method: Based on experience, the maximum allowable deviation (set to A) of two sampling times is determined. Judge each time a new value is detected: If the difference between the current value and the previous value is <=A, the current value is valid. If the difference between the current value and the previous value is greater than A, then the current value is invalid, abandon the current value and replace the current value with the last value. C. Advantages: It can effectively overcome the impulse interference caused by accidental factors. D. Disadvantages: That periodic interference cannot be suppressed. The smoothness is poor.)