Data filtering system, data filtering device and method
Technical field
The present invention relates to a kind of data filtering system, data filtering device and method.
Background technology
Refer to the schematic diagram that Fig. 1 show serial communication link under prior art.This serial communication link 1 includes sending
Machine 11, transmission channel 12 and receiver 13.Refer to Fig. 2 and show prior art measurement jig test serial communication link signal
Schematic diagram.This measurement jig 14 is connected to the outfan of transmission channel 12, for testing to the signal exporting.This test
Tool 14 is analyzed obtaining a Wave data file to the signal of output by a parameter model.Parameter mould under prior art
Type includes an insertion loss factor, and it is a transmission function, and for transmitting signal, but it is during to signal transmission
Certain loss can be produced to signal, thus affecting the accuracy of test result.
Content of the invention
Present invention is primarily targeted at providing a kind of data filtering system, device and method it is intended to solve above-mentioned test
The inaccurate problem of result.
The present invention provides a kind of data filtering system, for passing through s parameter model to serial communication link to measurement jig
Serial signal test gained Wave data file be filtered, this data filtering system includes:
Acquisition module, for obtaining the s parameter model of measurement jig;
Derivation module, for obtaining a frequency domain filter file to the s parameter model derivation obtaining;
Conversion module, obtains a time domain filtering file for frequency domain filter file is carried out with inverse fourier transform;
This acquisition module, is additionally operable to obtain Wave data file;
Convolution module, obtains a filter for the Wave data file of acquisition and time domain filtering file are carried out convolution algorithm
Wave data file after ripple;
Detecting module, for detecting whether this Wave data file can carry out convolution algorithm with time domain filtering file;And
Modular converter, the form for changing this Wave data file is a preset format, wherein, the ripple of this preset format
Graphic data file can carry out convolution algorithm with time domain filtering file.
The present invention also provides a kind of data filtering device, and this data filtering device is used for passing through s parameter mould to measurement jig
The Wave data file that type tests gained to the serial signal of serial communication link is filtered, and this data filtering device includes
Processing unit, this processing unit is used for obtaining the s parameter model of measurement jig, the s parameter model obtaining is differentiated and obtains one
Frequency domain filter file, carries out inverse fourier transform and obtains a time domain filtering file, obtain waveform to frequency domain filter file
Data file, the Wave data file of acquisition and time domain filtering file is carried out convolution algorithm and obtains a filtered waveform number
According to file, this processing unit is additionally operable to detect whether this Wave data file can carry out convolution algorithm with time domain filtering file,
When this Wave data file can not carry out convolution algorithm with time domain filtering file, the form changing this Wave data file is
One preset format, wherein, the Wave data file of this preset format can carry out convolution algorithm with time domain filtering, and by default lattice
The Wave data file of formula and time domain filtering file carry out convolution algorithm and obtain a filtered Wave data file.
The present invention also provides a kind of data filtering methods, and this data filtering methods is used for passing through s parameter mould to measurement jig
The Wave data file that type tests gained to the transmission information of serial communication interface is filtered, this data filtering methods include with
Lower step:
Obtain the s parameter model of measurement jig;
The s parameter model obtaining is differentiated and obtains a frequency domain filter file;
Frequency domain filter file is carried out with inverse fourier transform and obtains a time domain filtering file;
Obtain Wave data file;
The Wave data file of acquisition and time domain filtering file are carried out convolution algorithm and obtains a filtered waveform number
According to file;
Detect whether this Wave data file can carry out convolution algorithm with time domain filtering file;
When this Wave data file can not carry out convolution algorithm with time domain filtering file, change this Wave data file
Form be a preset format, wherein, the Wave data file of this preset format can carry out convolution fortune with time domain filtering file
Calculate;And
The Wave data file of preset format and time domain filtering file are carried out convolution algorithm and obtains a filtered ripple
Graphic data file.
Data filtering system that the present invention provides, device and method, by one is carried out to the s parameter model of measurement jig be
The process of row, the Wave data that the result of process and measurement jig are obtained carries out the Wave data after convolution algorithm is processed
File, reduces the impact to test result for the s parameter model in measurement jig, improves the accuracy of test.
Brief description
Fig. 1 is the schematic diagram of prior art serial communication link.
Fig. 2 tests the schematic diagram of serial communication link signal for prior art measurement jig.
Fig. 3 is a kind of hardware schematic of data filtering system.
Fig. 4 is prior art measurement jig test result schematic diagram.
Fig. 5 is existing filtered Software to corresponding result schematic diagram after the data filtering of measurement jig.
Fig. 6 is for the data filtering system in this case to corresponding result schematic diagram after the data filtering of measurement jig.
Fig. 7 is a kind of flow chart of data filtering methods.
Main element symbol description
Serial communication link |
1 |
Transmitter |
11 |
Transmission channel |
12 |
Receiver |
13 |
Measurement jig |
14 |
Display unit |
15 |
Data filtering device |
100 |
Processing unit |
20 |
Acquisition module |
21 |
Derivation module |
22 |
Conversion module |
23 |
Convolution module |
24 |
Display module |
25 |
Detecting module |
26 |
Modular converter |
27 |
Data filtering system |
200 |
Following specific embodiment will further illustrate the present invention in conjunction with above-mentioned accompanying drawing.
Specific embodiment
Refer to the schematic diagram that Fig. 3 show data filtering system 200 of the present invention.This data filtering system 200 runs on
On one data filtering device 100.This data filtering device 100 includes a processing unit 20 and a display unit 15.
This data filtering system 200 includes several modules, and this several module is processed performed by unit 20.This is some
Individual module includes an acquisition module 21, a derivation module 22, a conversion module 23, a convolution module 24 and a display module 25.
This acquisition module 21 is used for obtaining the s parameter model of measurement jig 14.In present embodiment, corresponding one of each measurement jig
S parameter model, this s parameter model is existing, will not be described in detail herein.This derivation module 22 is used for the s parameter model obtaining
Derivation obtains the file of a frequency domain filter.This conversion module 23 obtains for carrying out inverse fourier transform to frequency domain filter file
To a time domain filtering file.This acquisition module 21 is additionally operable to obtain Wave data file.This convolution module 24 is used for obtaining
Wave data file and time domain filtering file carry out convolution algorithm and obtain a filtered Wave data file.This display mould
Block 25 is used for showing filtered Wave data file in display unit 10.
It is illustrated in figure 4 the result schematic diagram that measurement jig under prior art tests serial signal, in this application interface
By elliptical coil live for eye pattern characteristic parameter in Wave data file, its corresponding numerical value is 331.39944, this application interface
Shown below for the corresponding oscillogram of Wave data file.It is illustrated in figure 5 existing filtered Software the data of measurement jig is filtered
Corresponding result schematic diagram after ripple, in this application interface, eye pattern characteristic parameter numerical value is 424.44260.It is illustrated in figure 6 this
Data filtering device in invention is to corresponding result schematic diagram after the data filtering of measurement jig, in this application interface, eye
The corresponding numerical value of figure characteristic parameter is 419.15372.Can be seen that the number using the present invention from above-mentioned data and oscillogram
Almost can reach according to filter, with existing filtered Software, identical effect be filtered to Wave data file.
Further, this processing unit 20 also includes a detecting module 26 and a modular converter 27.This detecting module 26
For detecting whether this Wave data file can carry out convolution algorithm with time domain filtering file.In present embodiment, test is controlled
The entitled .csv of suffix of Wave data file that tool test obtains, it is not the file of a clear data form, therefore cannot with when
Domain wave filter file carries out convolution algorithm.This modular converter 27 is used for can not be with time domain filtering file in this Wave data file
When carrying out convolution algorithm, the form changing this Wave data file is a preset format, wherein, the Wave data of this preset format
File can carry out convolution algorithm with time domain filtering file.In present embodiment, after the Wave data file of this preset format
Sew entitled .sp, it is the file of a clear data form, therefore can carry out convolution algorithm with time domain filtering file.
It is illustrated in figure 7 a kind of flow chart of data filtering methods.
Step s601, this acquisition module 21 obtains the parameter model of measurement jig 14.
Step s602, this derivation module 22 obtains the file of a frequency domain filter to the parameter model derivation obtaining.
Step s603, this conversion module 23 carries out inverse fourier transform to frequency domain filter file and obtains a time domain filtering
File.
Step s604, this acquisition module 21 obtains Wave data file.
Step s605, this detecting module 26 detects whether this Wave data file can carry out convolution with time domain filtering file
Computing.
Step s606, when this Wave data file can not carry out convolution algorithm with time domain filtering file, this modulus of conversion
The form that block 27 changes this Wave data file is a preset format.
Step s607, the Wave data file of preset format and time domain filtering file are carried out convolution by this convolution module 24
Computing obtains a filtered Wave data file.