CN102340313A - Sampling point loss testing method, device and system for sampling equipment - Google Patents

Sampling point loss testing method, device and system for sampling equipment Download PDF

Info

Publication number
CN102340313A
CN102340313A CN2010106177948A CN201010617794A CN102340313A CN 102340313 A CN102340313 A CN 102340313A CN 2010106177948 A CN2010106177948 A CN 2010106177948A CN 201010617794 A CN201010617794 A CN 201010617794A CN 102340313 A CN102340313 A CN 102340313A
Authority
CN
China
Prior art keywords
section
reference value
detection reference
signal
sampling
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2010106177948A
Other languages
Chinese (zh)
Other versions
CN102340313B (en
Inventor
鲍妍
李立
孙春光
李彬
王玮
范振伟
余建华
付华丰
姜帆
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
HANGZHOU PAX ELECTRONIC TECHNOLOGY Co Ltd
Original Assignee
HANGZHOU PAX ELECTRONIC TECHNOLOGY Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by HANGZHOU PAX ELECTRONIC TECHNOLOGY Co Ltd filed Critical HANGZHOU PAX ELECTRONIC TECHNOLOGY Co Ltd
Priority to CN201010617794.8A priority Critical patent/CN102340313B/en
Publication of CN102340313A publication Critical patent/CN102340313A/en
Application granted granted Critical
Publication of CN102340313B publication Critical patent/CN102340313B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Tests Of Electronic Circuits (AREA)

Abstract

The invention discloses a sampling point loss testing method, a sampling point loss testing device and a sampling point loss testing system for sampling equipment. The method comprises the following steps of: continuously sampling a single-carrier signal output by a signal source to obtain a plurality of pieces of sampling point data; dividing N sampling points into N/M sections of which each comprises M sampling points; performing fast Fourier transform on the sampling point data in each section, and calculating an absolute value to obtain a spectrum set of the sampling point data of each section; calculating a detection reference value set of the pth section by taking the signal spectrum of the pth section as a reference; obtaining a coordinate distribution graph of detection reference values according to the detection reference value set of the pth section; and judging whether the detection reference values of the pth section are regularly distributed on the coordinate distribution diagraph. By the method, the device and the system, testing efficiency is improved, the signal source is simple and high testing accuracy is achieved.

Description

A method of testing and Apparatus and system are lost in the collecting device sampling
Technical field
The present invention relates to a kind of collecting device sampling processing technical field, particularly, a method of testing and Apparatus and system are lost in the collecting device sampling that is specifically related to a kind of all analog signal digital equipment and analog signal digital functional module.
Background technology
Along with the arrival of information age and the appearance of sampling thheorem, the digitlization of information seems more and more important.Application relates to video, image, monitor signal or the like.Data acquisition equipment is digitized core means.And the losing whether to put and be directly connected to its effect of collecting device.Especially under to the exigent scene of sampled point continuity, collecting device is lost the success or failure that dot characteristics will directly determine acquisition applications.
So the dot characteristics test of losing of collecting device is the most important thing of collecting device test.
Usually a kind of method of testing of using is human eye observation.Promptly use capture card to be tested to a regular waveform signal sampling, then sampled point is printed at plane coordinate system in order, observe this waveform whether consistent with original waveform.The problem that this method exists is: owing to after losing the sampled point of small number, be not obvious especially to the waveform influence of printing, and the subjectivity of human eye in addition; Feasible test can not judge whether lose a little and lose a position accurately; The more important thing is that the sampled point data volume is very big,, require great effort during with the human eye test fee to be unit necessarily; Sometimes or even can not accomplish, efficient is very low.
Another kind of method of testing is to adopt a special signal source, and this signal source is sent a Serial No. with the certain frequency circulation, and digital value is by the range value decision of signal, this cyclic sequence of collecting device synchronous acquisition.Only needing to observe sampled point knows just impassable for same cyclic sequence.
But adopt the shortcoming of the method that special signal source tests to be: the first, need the signal source of independent design special; The second, relate to stationary problem, promptly the sample frequency of collecting device and phase place need with the signal source strict conformance.
Summary of the invention
The object of the present invention is to provide a kind of collecting device sampling to lose a method of testing and Apparatus and system, it has improved testing efficiency, and signal source is simple, and test accuracy is high.
To achieve these goals, the invention provides a kind of collecting device sampling and lose a method of testing, comprise the steps:
Step S1 carries out continuous sampling to the single-carrier signal of signal source output, obtains a plurality of sampling number certificates;
Step S2 is divided into the N/M section with N sampled point, every section M sampled point; Wherein, N is an integer, and N is the integral multiple of M, and M is 2 integral number power;
Step S3 does fast Fourier transform with the sampled point signal data in each section respectively, takes absolute value then, obtains each section sampled point data spectrum collection;
Step S4 is a benchmark with p segment signal frequency spectrum, calculates the detection reference value set of p section;
Wherein, p is 1,2 ... one of any value among the N/M;
Step S5 according to the detection reference value set of p section, obtains the coordinate distribution map of detection reference value; Whether rule distributes the detection reference value of judging the p section on the coordinate distribution map;
Step S6, if rule distributes, then the signal of other each sections except that the p segment signal is continuous, a situation do not occur losing, promptly the band signal of other each sections except that the p section is continuous;
If the detection reference value of p section occurs unusual, then the j segment signal occurs losing a little, and whole band signal is discontinuous.
More excellent ground, a method of testing is lost in said collecting device sampling, also comprises the steps:
Step S7 if the whole wave band beyond the p section is continuous, is a benchmark with q segment signal frequency spectrum then, calculates the detection reference value of q section; Wherein, q is 1,2 ... any value among the N/M, and q ≠ p;
Step S8 according to the detection reference value set of q section, obtains the coordinate distribution map of detection reference value; Whether rule distributes the detection reference value of judging the q section on the coordinate distribution map;
Step S9, if rule distributes, then the signal of other each sections except that the q segment signal is continuous, a situation do not occur losing, the wave band of judging whole detection does not occur losing a little unusual; If the detection reference value of q section occurs unusual, then the j segment signal occurs losing a little, and whole band signal is discontinuous.
More excellent ground, among the said step S1, the single-carrier signal of said collecting device output is cos (2 π f 0T), wherein, f 0Be the single-carrier signal frequency, π=3.1415926... is a constant; T is the sampling time; Cos () representes cosine function;
Sample frequency is f s
Said f sAnd f 0Between need satisfy Nyquist sampling theorem;
Among the said step S2; Every segment length after the said segmentation surpasses one-period, i.e.
Figure BSA00000405338200031
More excellent ground among the said step S4, calculates the detection reference value set of p section, is specially:
With p segment signal frequency spectrum S p(k) be benchmark, calculate the detection reference value set of p section Sump j = Σ k = 0 M - 1 | S j ( k ) - S p ( k ) | , j = 1 , · · · , N M , j ≠ p .
More excellent ground among the said step S7, calculates the detection reference value set of q section, is specially: with q segment signal frequency spectrum S q(k) be benchmark, calculate the detection reference value of q section Sumq j = Σ k = 0 M - 1 | S j ( k ) - S q ( k ) | , j = 1, · · · , N M , j ≠ q .
For realizing that the object of the invention also provides a kind of collecting device sampling to lose a testing apparatus, comprise memory module, segmentation module, the sampled data conversion module, detection reference value computing module, judge module, wherein:
Said memory module, the single-carrier signal that is used to store signal source output is carried out continuous sampling, the N that obtains continuous sampling number certificate; Wherein, N is an integer;
Said segmentation module is used for N sampled point of a plurality of sampled points being divided into the N/M section, every section M sampled point; Wherein, N is the integral multiple of M, and M is 2 integral number power;
Said sampled data conversion module, the sampled point signal data of each section that is used for respectively said segmentation module segmentation is obtained is done fast Fourier transform, takes absolute value then, obtains the frequency spectrum set of each section sampling number certificate;
Said detection reference value computing module, the p segment signal frequency spectrum that is used for obtaining with said sampled data conversion module is a benchmark, calculates the detection reference value set of p section;
Wherein, p is 1,2 ... one of any value among the N/M;
Said judge module is used for obtaining according to the detection reference value set of p section the coordinate distribution map of detection reference value; Whether rule distributes the detection reference value of judging the p section on the coordinate distribution map; If rule distributes, then the signal of other each sections except that the p segment signal is continuous, a situation do not occur losing, and promptly the band signal of other each sections except that the p section is continuous; If the detection reference value of p section occurs unusual, then the j segment signal occurs losing a little, and whole band signal is discontinuous.
For realizing that the object of the invention more provides a kind of collecting device sampling test macro, comprise signal generator, signal collecting device, a testing apparatus is lost in the collecting device sampling;
A testing apparatus is lost in said collecting device sampling, comprises memory module, segmentation module, and the sampled data conversion module, detection reference value computing module, judge module, wherein:
Said memory module, the single-carrier signal that is used to store said collecting device output is carried out continuous sampling, the N that obtains continuous sampling number certificate; Wherein, N is an integer;
Said segmentation module is used for N sampled point of a plurality of sampled points being divided into the N/M section, every section M sampled point; Wherein, N is the integral multiple of M, and M is 2 integral number power;
Said sampled data conversion module, the sampled point signal data of each section that is used for respectively said segmentation module segmentation is obtained is done fast Fourier transform, takes absolute value then, obtains each section sampled point data spectrum collection;
Said detection reference value computing module, the p segment signal frequency spectrum that is used for obtaining with said sampled data conversion module is a benchmark, calculates the detection reference value set of p section;
Wherein, p is 1,2 ... one of any value among the N/M;
Said judge module is used for obtaining according to the detection reference value set of p section the coordinate distribution map of detection reference value; Whether rule distributes the detection reference value of judging the p section on the coordinate distribution map; If rule distributes, then the signal of other each sections except that the p segment signal is continuous, a situation do not occur losing, and promptly the band signal of other each sections except that the p section is continuous; If the detection reference value of p section occurs unusual, then the j segment signal occurs losing a little, and whole band signal is discontinuous.
Beneficial effect of the present invention: a method of testing and Apparatus and system are lost in collecting device sampling of the present invention; Need not the direct observed samples point of human eye; Whether distribution of results occurs getting final product unusually after only needing to observe computing, and " unusually " has very obvious characteristics, easily identification; Feasible test is more objective, and has improved testing efficiency; Signal source is simple, as long as with signal generator commonly used; Test accuracy is high, as long as lose a sampled point, and will be by very significantly showing to have very strong operability on operation result.
Description of drawings
Fig. 1 is that a method of testing flow chart is lost in the collecting device sampling of the embodiment of the invention;
Fig. 2 is an embodiment test result regularity of distribution sketch map;
Fig. 3 is the embodiment test result unusual sketch map that distributes;
Fig. 4 is the structural representation that a testing apparatus is lost in the collecting device sampling of the embodiment of the invention;
Fig. 5 is the structural representation that a test macro is lost in the collecting device sampling of the embodiment of the invention.
Embodiment
In order to make the object of the invention, technical scheme and advantage clearer, below in conjunction with accompanying drawing and embodiment, sampling is lost a method of testing and Apparatus and system is further elaborated to collecting device of the present invention.Should be appreciated that specific embodiment described herein only in order to explanation the present invention, and be not used in qualification the present invention.
To combine each accompanying drawing below, the practical implementation method of successively a method of testing and Apparatus and system are lost in collecting device sampling of the present invention is done and is described in further detail.
A method of testing is lost in collecting device sampling of the present invention, and is as shown in Figure 1, comprises the steps:
Step S1 carries out continuous sampling to the single-carrier signal of signal source output, obtains N sampling number certificate;
But as a kind of execution mode, to single-carrier signal cos (the 2 π f of signal source (like signal generator) output 0T) carry out continuous sampling, sample frequency is f s, obtain N sampling number according to S set iI=1,2 ..., N; Wherein, f 0Be the single-carrier signal frequency, π=3.1415926... is a constant; T is the sampling time; Cos () representes cosine function.
Preferably, said f sAnd f 0Between need to satisfy be Qwest (Nyquist) sampling thheorem.
Said collecting device includes but not limited to various signal generator of the prior art.
Step S2 is divided into the N/M section with N sampled point, every section M sampled point s k, k=0,1 ..., M-1;
Preferably, wherein, N is the integral multiple of M, and M is 2 integral number power; Every segment length surpasses one-period, i.e.
Figure BSA00000405338200051
But, can use f as a kind of execution mode 0The cosine signal of=100kHz is selected sample frequency f as signal source sBe numerical value greater than 5MHz; Sampled point N is chosen as 20480000, and section length M is 2048.Should it is understandable that; Each parameters such as signal source that the embodiment of the invention is selected for use are only as a kind of enforcement reference; It is not intended protection range of the present invention is limited; Those skilled in the art can without any need for creative work, and select corresponding satisfactory detected parameters according to detecting requirement.
Step S3, (Fast Fourier Transformation FFT), takes absolute value then, obtains the set of each section sampled point data spectrum, i.e. the frequency spectrum collection respectively the sampled point signal data in each section to be done fast Fourier transform;
But as a kind of execution mode, particularly, respectively the sampled point signal data in each section is done fast Fourier transform (FFT), take absolute value then, obtain each section sampled point data spectrum collection S j(k); K=0,1 ..., M-1; j = 1,2 , · · · , N M .
Step S4 is a benchmark with p segment signal frequency spectrum, calculates the detection reference value set of p section;
Wherein, p is 1,2 ... one of any value among the N/M.
Particularly, with p segment signal frequency spectrum S p(k) be benchmark, calculate the detection reference value set of p section Sump j = Σ k = 0 M - 1 | S j ( k ) - S p ( k ) | , j = 1,2 , · · · , N M , j ≠ p ;
Step S5 is according to the detection reference value set sump of p section j,
Figure BSA00000405338200063
Obtain the coordinate distribution map of detection reference value; Judge the detection reference value sump of p section jWhether rule distributes on the coordinate distribution map;
Step S6, if rule distributes, then the signal of other each sections except that the p segment signal is continuous, a situation do not occur losing, promptly the band signal of other each sections except that the p section is continuous;
If the detection reference value sump of p section jOne of (be in the detection reference value set) occurs unusual, and then the j segment signal occurs losing a little, and whole band signal is discontinuous.
In the embodiment of the invention, said rule distributes and is meant each detection reference value sumP in the coordinate distribution map jJunction curve between the point is level and smooth under rectangular coordinate system, if exist certain point significantly to be in outside this smoothed curve, then thinks unusual, and promptly non-rule distributes, and the diagram of level and smooth and unusual two kinds of situation as shown in Figures 2 and 3.
The embodiment of the invention proves through repetition test, in case wave band occurs utilizing the method for the embodiment of the invention unusually, just can be easy to distinguished unusual wave band, has operability.
Whether preferably, occur losing a little in order further to detect the p section, and be that benchmark is lost a reliability that detects the result with the p section, a method of testing is lost in collecting device sampling of the present invention, also comprises the following steps:
Step S7, if the whole wave band beyond the p section is continuous, i.e. the detection reference value sumP of p section jRule distributes on the coordinate distribution map, then with q segment signal frequency spectrum S q(k) be benchmark, calculate the detection reference value of q section Wherein, q is 1,2 ... any value among the N/M, and q ≠ p;
Step S8 is according to the detection reference value set sumq of q section j,
Figure BSA00000405338200072
Obtain the coordinate distribution map of detection reference value; Judge the detection reference value sumq of q section jWhether rule distributes on the coordinate distribution map;
Step S9; If rule distributes; Then the signal of other each sections except that the q segment signal is continuous; A situation does not appear losing; Promptly the band signal of other each sections except that the q section is continuous, because of q ≠ p, so; The wave band that can judge whole detection does not occur losing a little unusual, has further checked a reliability that detects the result of losing of p section yet;
If the detection reference value sumq of q section jOne of (be in the detection reference value set) occurs unusual; Then the j segment signal occurs losing a little, and whole band signal is discontinuous, and it shows or the p section is deposited a situation of a little losing; Or the testing result of p section is unreliable, needs further to detect or detect again.
Illustrate collecting device of the present invention sampling below and lose a method of testing step 4,5 implementation procedure, as shown in Figure 1:
With the 1st segment signal is benchmark, calculates the 1st section detection reference value set Sum 1 j = Σ k = 0 M - 1 | S j ( k ) - S 1 ( k ) | , j = 2 · · · , N M ;
Detection reference value set sum1 according to the 1st section j,
Figure BSA00000405338200074
Obtain the coordinate distribution map of detection reference value;
Judge the 1st section detection reference value sum1 jWhether rule distributes on the coordinate distribution map;
If rule distributes, then the signal of other each sections except that the 1st segment signal is continuous, a situation do not occur losing, and promptly the band signal of other each sections except that the 1st section is continuous;
If the 1st section detection reference value sum1 jOne of (be in the detection reference value set) occurs unusual, and then the j segment signal occurs losing a little, and whole band signal is discontinuous.
If the whole wave band beyond the 1st section is continuous, i.e. the 1st section detection reference value sum1 jRule distributes on the coordinate distribution map, is benchmark with the 2nd segment signal then, calculates the 2nd section detection reference value Sum 2 j = Σ k = 0 M - 1 | S j ( k ) - S 2 ( k ) | , j = 1 , 3 , · · · , N M ;
Detection reference value set sum2 according to the 2nd section j,
Figure BSA00000405338200082
Obtain the coordinate distribution map of detection reference value;
Judge the 2nd section detection reference value sum2 jWhether rule distributes on the coordinate distribution map;
If rule distributes; Then the signal of other each sections except that the 2nd segment signal is continuous; A situation does not appear losing; Promptly the band signal of other each sections except that the 2nd section is continuous; The wave band that then can judge whole detection does not occur losing a little unusually, has further checked the 1st section a reliability that detects the result of losing yet;
If the 2nd section detection reference value sum2 jOne of (be in the detection reference value set) occurs unusual; Then the j segment signal occurs losing a little, and whole band signal is discontinuous, its show or the 1st section deposit and a little lose a situation; Or the 1st section testing result is unreliable, needs further to detect or detect again.
But as a kind of execution mode, wherein the 1st section, the 2nd section also can be other section and realize the method for testing of the embodiment of the invention.
As a kind of enforceable mode, the present invention also loses a method of testing according to described collecting device sampling, provides a kind of collecting device sampling to lose a testing apparatus 1; As shown in Figure 4, it comprises memory module 11, segmentation module 12; Sampled data conversion module 13; Detection reference value computing module 14, judge module 15, wherein:
Memory module 11 is used for storage the single-carrier signal of signal source (like signal generator) output is carried out continuous sampling, the N that obtains continuous sampling number certificate;
Segmentation module 12 is used for N sampled point of a plurality of sampled points being divided into the N/M section, every section M sampled point s k, k=0,1 ..., M-1;
Sampled data conversion module 13, the sampled point signal data of each section that is used for respectively the segmentation module segmentation is obtained is done fast Fourier transform (FFT), takes absolute value then, obtains each section sampled point data spectrum collection;
Detection reference value computing module 14, the p segment signal frequency spectrum that is used for obtaining with sampled data conversion module 13 is a benchmark, calculates the detection reference value set of p section;
Wherein, p is 1,2 ... one of any value among the N/M.
Judge module 15 is used for obtaining according to the detection reference value set of p section the coordinate distribution map of detection reference value; Whether rule distributes the detection reference value of judging the p section on the coordinate distribution map; If rule distributes, then the signal of other each sections except that the p segment signal is continuous, a situation do not occur losing, and promptly the band signal of other each sections except that the p section is continuous; If the detection reference value of p section occurs unusual, then the j segment signal occurs losing a little, and whole band signal is discontinuous.
Preferably, said detection reference value computing module 14, if the whole wave band that also is used for beyond the p section is continuous, promptly the detection reference value of p section rule on the coordinate distribution map distributes, and is benchmark with q segment signal frequency spectrum then, calculates the detection reference value of q section;
Wherein, q is 1,2 ... any value among the N/M, and q ≠ p;
Said judge module 15 also is used for obtaining according to the detection reference value set of q section the coordinate distribution map of detection reference value; Whether rule distributes the detection reference value of judging the q section on the coordinate distribution map; If rule distributes, then the signal of other each sections except that the q segment signal is continuous, a situation do not occur losing, and promptly the band signal of other each sections except that the q section is continuous; If the detection reference value of q section occurs unusual, then the j segment signal occurs losing a little, and whole band signal is discontinuous.
But as a kind of execution mode; A testing apparatus 1 is lost in collecting device sampling in the embodiment of the invention; To lose the identical process work of a method of testing with collecting device sampling of the present invention, therefore, in embodiments of the present invention; A testing apparatus is lost in collecting device sampling to the embodiment of the invention, no longer is repeated in this description in detail one by one.
But as a kind of implementation, a testing apparatus 1 is lost in the sampling of the collecting device of the embodiment of the invention, can be the Computing platform.But as the another kind execution mode; The Computing platform that a testing apparatus is realized is lost in the collecting device sampling of the embodiment of the invention; The arithmetic unit that other also can be arranged, like FPGA system or single-chip microcomputer or dsp chip, substituting for computer Platform Implementation calculating process.
As shown in Figure 5, for the collecting device sampling test system structure sketch map that a testing apparatus 1 and signal generator 2 (signal source), signal collecting device 3 are formed is lost in the sampling of the collecting device of the embodiment of the invention.
Signal generator 2 is signal source, and its effect is to produce single-carrier signal; This single-carrier signal is through the image data of signal collecting device 3 sampling post-sampling points, and acquisition data storage is lost in the memory module 11 of a testing apparatus 1 to the collecting device sampling.
The collecting device sampling is lost a testing apparatus 1 and is the Computing platform; It is sampled signal collecting device 3 sampled datas and loses a test; And can operation result be shown at the display through the Computing platform, judge collecting device and lose a test result thereby utilize.
Likewise; But as a kind of execution mode, a test macro is lost in the collecting device sampling in the embodiment of the invention, and sampling is wherein lost a testing apparatus to lose the identical process work of a method of testing with collecting device sampling of the present invention; Therefore; In embodiments of the present invention, a test macro is lost in the collecting device sampling of the embodiment of the invention, no longer be repeated in this description in detail one by one.
A method of testing and Apparatus and system are lost in the collecting device sampling of the embodiment of the invention; Need not the direct observed samples point of human eye; Whether distribution of results occurs getting final product unusually after only needing to observe computing, and " unusually " has very obvious characteristics, easily identification; Feasible test is more objective, and has improved testing efficiency; Signal source is simple, as long as with signal generator commonly used; Test accuracy is high, as long as lose a sampled point, and will be by very significantly showing to have very strong operability on operation result.
Should be noted that at last that obviously those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, if of the present invention these revise and modification belongs within the scope of claim of the present invention and equivalent technologies thereof, then the present invention also is intended to comprise these changes and modification.

Claims (10)

1. a method of testing is lost in a collecting device sampling, it is characterized in that: comprise the steps:
Step S1 carries out the continuous sampling storage with collecting device to the single-carrier signal of signal source output, obtains a plurality of sampling number certificates;
Step S2 is divided into the N/M section with N sampled point, every section M sampled point; Wherein, N is an integer, and N is the integral multiple of M, and M is 2 integral number power;
Step S3 does fast Fourier transform with the sampled point signal data in each section respectively, takes absolute value then, obtains the frequency spectrum collection of each section sampling number certificate;
Step S4 is a benchmark with p segment signal frequency spectrum, calculates the detection reference value set of p section;
Wherein, p is 1,2 ... one of any value among the N/M;
Step S5 according to the detection reference value set of p section, obtains the coordinate distribution map of detection reference value; Whether rule distributes the detection reference value of judging the p section on the coordinate distribution map;
Step S6, if rule distributes, then the signal of other each sections except that the p segment signal is continuous, a situation do not occur losing, promptly the band signal of other each sections except that the p section is continuous;
If the detection reference value of p section occurs unusual, then the j segment signal occurs losing a little, and whole band signal is discontinuous.
2. a method of testing is lost in collecting device sampling according to claim 1, it is characterized in that: also comprise the steps:
Step S7 if the whole wave band beyond the p section is continuous, is a benchmark with q segment signal frequency spectrum then, calculates the detection reference value of q section; Wherein, q is 1,2 ... any value among the N/M, and q ≠ p;
Step S8 according to the detection reference value set of q section, obtains the coordinate distribution map of detection reference value; Whether rule distributes the detection reference value of judging the q section on the coordinate distribution map;
Step S9, if rule distributes, then the signal of other each sections except that the q segment signal is continuous, a situation do not occur losing, the wave band of judging whole detection does not occur losing a little unusual; If the detection reference value of q section occurs unusual, then the j segment signal occurs losing a little, and whole band signal is discontinuous.
3. a method of testing is lost in collecting device sampling according to claim 1 and 2, it is characterized in that:
Among the said step S1, the single-carrier signal of said collecting device output is COS (2 π f 0T), wherein, f 0Be the single-carrier signal frequency, π=3.1415926... is a constant; T is the sampling time; COS () representes cosine function;
Sample frequency is f s
Said f sAnd f 0Between need satisfy the Nyquist sampling thheorem;
Among the said step S2; Every segment length after the said segmentation surpasses one-period, i.e.
Figure FSA00000405338100021
4. a method of testing is lost in collecting device sampling according to claim 3, it is characterized in that:
Among the said step S4, calculate the detection reference value set of p section, be specially:
With p segment signal frequency spectrum S p(k) be benchmark, calculate the detection reference value set of p section Sump j = Σ k = 0 M - 1 | S j ( k ) - S p ( k ) | , j = 1,2 , · · · , N M , j ≠ p .
5. a method of testing is lost in collecting device sampling according to claim 4, it is characterized in that: among the said step S7, calculate the detection reference value set of q section, be specially:
With q segment signal frequency spectrum S Q-1(k) be benchmark, calculate the detection reference value of q section Sumq j = Σ k = 0 M - 1 | S j ( k ) - S q ( k ) | , j = 1,2 , · · · , N M , j ≠ q .
6. a testing apparatus is lost in a collecting device sampling, it is characterized in that: comprise memory module, and segmentation module, the sampled data conversion module, detection reference value computing module, judge module, wherein:
Said memory module, the single-carrier signal that is used to store signal source output is carried out continuous sampling, the N that obtains continuous sampling number certificate; Wherein, N is an integer;
Said segmentation module is used for N sampled point of a plurality of sampled points being divided into the N/M section, every section M sampled point; Wherein, N is the integral multiple of M, and M is 2 integral number power;
Said sampled data conversion module, the sampled point signal data of each section that is used for respectively said segmentation module segmentation is obtained is done fast Fourier transform, takes absolute value then, obtains each section sampled point data spectrum collection;
Said detection reference value computing module, the p segment signal frequency spectrum that is used for obtaining with said sampled data conversion module is a benchmark, calculates the detection reference value set of p section;
Wherein, p is 1,2 ... one of any value among the N/M;
Said judge module is used for obtaining according to the detection reference value set of p section the coordinate distribution map of detection reference value; Whether rule distributes the detection reference value of judging the p section on the coordinate distribution map; If rule distributes, then the signal of other each sections except that the p segment signal is continuous, a situation do not occur losing, and promptly the band signal of other each sections except that the p section is continuous; If the detection reference value of p section occurs unusual, then the j segment signal occurs losing a little, and whole band signal is discontinuous.
7. a testing arrangement is lost in described collecting device sampling based on claim 6; It is characterized in that: said detection reference value computing module; If the whole wave band that also is used for beyond the p section is continuous; Promptly the detection reference value of p section rule on the coordinate distribution map distributes, and is benchmark with q segment signal frequency spectrum then, calculates the detection reference value of q section;
Wherein, q is 1,2 ... any value among the N/M, and q ≠ p;
Said judge module also is used for obtaining according to the detection reference value set of q section the coordinate distribution map of detection reference value; Whether rule distributes the detection reference value of judging the q section on the coordinate distribution map; If rule distributes, then the signal of other each sections except that the q segment signal is continuous, a situation do not occur losing, and promptly the band signal of other each sections except that the q section is continuous; If the detection reference value of q section occurs unusual, then the j segment signal occurs losing a little, and whole band signal is discontinuous.
8. lose a testing apparatus according to claim 6 or 7 described collecting device samplings, it is characterized in that: it is the Computing platform that a testing apparatus is lost in said collecting device sampling, perhaps is the FPGA system, perhaps is single-chip microcomputer, perhaps is dsp chip.
9. collecting device sampling test macro comprises signal source, signal collecting device, it is characterized in that, comprises that also collecting device sampling loses a testing apparatus;
A testing apparatus is lost in said collecting device sampling, comprises memory module, segmentation module, and the sampled data conversion module, detection reference value computing module, judge module, wherein:
Said memory module, the single-carrier signal that is used to store signal source output is carried out continuous sampling, the N that obtains continuous sampling number certificate; Wherein, N is an integer;
Said segmentation module is used for N sampled point of a plurality of sampled points being divided into the N/M section, every section M sampled point; Wherein, N is the integral multiple of M, and M is 2 integral number power;
Said sampled data conversion module, the sampled point signal data of each section that is used for respectively said segmentation module segmentation is obtained is done fast Fourier transform, takes absolute value then, obtains the frequency spectrum collection of each section sampling number certificate;
Said detection reference value computing module, the p segment signal frequency spectrum that is used for obtaining with said sampled data conversion module is a benchmark, calculates the detection reference value set of p section;
Wherein, p is 1,2 ... one of any value among the N/M;
Said judge module is used for obtaining according to the detection reference value set of p section the coordinate distribution map of detection reference value; Whether rule distributes the detection reference value of judging the p section on the coordinate distribution map; If rule distributes, then the signal of other each sections except that the p segment signal is continuous, a situation do not occur losing, and promptly the band signal of other each sections except that the p section is continuous; If the detection reference value of p section occurs unusual, then the j segment signal occurs losing a little, and whole band signal is discontinuous.
10. collecting device sampling test macro according to claim 9; It is characterized in that; Said detection reference value computing module, if the whole wave band that also is used for beyond the p section is continuous, promptly the detection reference value of p section rule on the coordinate distribution map distributes; Be benchmark then, calculate the detection reference value of q section with q segment signal frequency spectrum;
Wherein, q is 1,2 ... any value among the N/M, and q ≠ p;
Said judge module also is used for obtaining according to the detection reference value set of q section the coordinate distribution map of detection reference value; Whether rule distributes the detection reference value of judging the q section on the coordinate distribution map; If rule distributes, then the signal of other each sections except that the q segment signal is continuous, a situation do not occur losing, and promptly the band signal of other each sections except that the q section is continuous; If the detection reference value of q section occurs unusual, then the j segment signal occurs losing a little, and whole band signal is discontinuous.
CN201010617794.8A 2010-12-31 2010-12-31 Sampling point loss testing method, device and system for sampling equipment Active CN102340313B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010617794.8A CN102340313B (en) 2010-12-31 2010-12-31 Sampling point loss testing method, device and system for sampling equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010617794.8A CN102340313B (en) 2010-12-31 2010-12-31 Sampling point loss testing method, device and system for sampling equipment

Publications (2)

Publication Number Publication Date
CN102340313A true CN102340313A (en) 2012-02-01
CN102340313B CN102340313B (en) 2014-07-02

Family

ID=45515849

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010617794.8A Active CN102340313B (en) 2010-12-31 2010-12-31 Sampling point loss testing method, device and system for sampling equipment

Country Status (1)

Country Link
CN (1) CN102340313B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60135772A (en) * 1983-12-23 1985-07-19 Hitachi Ltd Signal analyzing device
US5706202A (en) * 1995-03-08 1998-01-06 Anritsu Corporation Frequency spectrum analyzing apparatus and transmitter characteristics measuring apparatus using the same
CN1195277A (en) * 1996-04-17 1998-10-07 精工爱普生株式会社 Arrhythmia detector
CN101308175A (en) * 2008-07-14 2008-11-19 北京航大智慧科技有限公司 Phase spectrum analyzer

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60135772A (en) * 1983-12-23 1985-07-19 Hitachi Ltd Signal analyzing device
US5706202A (en) * 1995-03-08 1998-01-06 Anritsu Corporation Frequency spectrum analyzing apparatus and transmitter characteristics measuring apparatus using the same
CN1195277A (en) * 1996-04-17 1998-10-07 精工爱普生株式会社 Arrhythmia detector
CN101308175A (en) * 2008-07-14 2008-11-19 北京航大智慧科技有限公司 Phase spectrum analyzer

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
安振军 等: "外弹道测量数据采集与处理技术", 《飞行器测控学报》, vol. 24, no. 2, 30 April 2005 (2005-04-30), pages 56 - 60 *

Also Published As

Publication number Publication date
CN102340313B (en) 2014-07-02

Similar Documents

Publication Publication Date Title
CN103454495B (en) Self-adaptation high-precision fast spectral analytical approach
CN102508031A (en) Fourier series based measurement method of phase angle of partial discharge pulse
CN101806832A (en) Measuring method for frequencies of low-frequency signals
CN102288807A (en) Method for measuring electric network voltage flicker
US20180335517A1 (en) Method and Device for Detecting Discontinuous Body with Ground Penetrating Radar
CN106093908A (en) A kind of radar target detection method based on piecemeal segmentation AIC model
Zheng et al. Study on harmonic detection method based on FFT and wavelet transform
CN102707143B (en) Method for extracting harmonic components from electromagnetic spectrum by using gray multi-cycle model
CN106534014A (en) Accurate detection and separation method for multi-component LFM signal
CN102809687B (en) Digital measurement method for alternating-current frequency
CN106845334A (en) A kind of innovative noise extracting method based on mathematical morphology
CN102269803B (en) Method for correcting low-frequency components in discrete spectrum based on time delay
US9600445B2 (en) Precision measurement of waveforms
EP2391895B1 (en) Precision measurement of waveforms
CN106323447A (en) Portable laser vibrometer based on mobile phone and method thereof
CN102801459A (en) Multi-mode satellite signal receiving device and method thereof
CN106371072B (en) A kind of spacing wave frequency spectrum census method based on single pulse frequency domain sample
CN103575979A (en) Method for digital measuring of alternating current frequency
CN102340313B (en) Sampling point loss testing method, device and system for sampling equipment
CN204719133U (en) A kind of Piezoelectric Impedance measuring equipment for monitoring structural health conditions
CN102072987A (en) Phase estimation method for short-interval sinusoidal signal and experimental device thereof
CN105745550A (en) Analog to information converter
Chauhan et al. Sensor data analysis using moving average filter and 256-point fft for wireless sensor networks
CN105842536A (en) Improved ZoomFFT and ApFFT algorithm integrated method for analyzing dense harmonics and inter-harmonics
CN110083884A (en) Long data sequence multiple spot slides quick spectral analysis method under a kind of embedded environment

Legal Events

Date Code Title Description
DD01 Delivery of document by public notice

Addressee: Hangzhou PAX Electronic Technology Co., Ltd.|Hangzhou Fu Fu Electronic Technology Co., Ltd., Bao, Li Li, et al

Document name: Notice of non patent agency

Addressee: Hangzhou PAX Electronic Technology Co., Ltd.|Hangzhou Fu Fu Electronic Technology Co., Ltd., Bao, Li Li, et al

Document name: Notification to Make Rectification

C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant