A digital filtering device and method thereof
A digital filtering and filtering output technology, applied in the direction of digital technology network, electrical components, impedance network, etc., can solve the problems of PID system pulse interference, not suitable for pulse interference, etc., and achieve the effect of reducing pulse interference
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0032] This embodiment provides a digital filtering method, which can digitally control the input signal of the PID system, and then output it to the PID system after processing, so as to reduce the serious pulse interference caused by the abnormal input signal to the PID system.
[0033] This method is mainly based on the signal smoothing technology (that is, the output cycle of the control filter output is greater than the sampling cycle of the input signal of the PID system), and the PID input signal within the set duration (that is, the time interval for outputting the first n filter output values) Observation, according to the sampling value of the input signal during the observation period, determine the sampling value increase threshold P of the input signal add and sampled value reduction threshold P dec , and initially set the corresponding filter output values (that is, the first n filter output values) within the set duration as the first sampling value of the inp...
Embodiment 2
[0040] This embodiment provides a digital filtering method, the input of which is the sampling value and the historical filtering output value, the historical filtering output value: Y(k-n), if this time k(k-1,k) The number of samples of the input signal, and the set ratio, assuming the output time interval T (k-1,k) The inner connection of m sampling values exceeds the range of Y(k-n)+Padd and Y(k-n)-Pdec, that is, the average value of these m sampling values needs to be calculated and assigned to Y(k). In this embodiment, j is set as the number of sampled values that are continuously greater than Y(k-n)+Padd, and i is the number of sampled values that are continuously smaller than Y(k-n)-Pdec, thereby judging whether there are m continuous filter output values exceeding scope. Specifically, the digital filtering process is as figure 1 shown, including the following steps:
[0041] Step 1: Initialize, assign the first to nth filter output values as the first sam...
Embodiment 3
[0055] This embodiment introduces a digital filtering device, which is applied to a proportional-integral-derivative (PID) system, and can realize the filtering methods of the above-mentioned embodiments 1 and 2. Specifically, the device as image 3 As shown, the following units are included.
[0056] The sampling unit samples the input signal of the PID system;
[0057] Set the unit to determine the sampling value increase threshold P of the input signal in the time interval of outputting the first n filtered output values add and sampled value reduction threshold P dec , and set the first n filter output values as the first sampling value of the input signal;
[0058] The filtering processing unit, starting from the n+1th filtering output value, when calculating the current filtering output value Y(k), according to the historical filtering output value Y(k-n), the previous filtering output value Y(k-1) and the current The output time interval T of the filtered output v...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 