CN109492185B - Method and device for processing sampled data - Google Patents

Method and device for processing sampled data Download PDF

Info

Publication number
CN109492185B
CN109492185B CN201811216752.6A CN201811216752A CN109492185B CN 109492185 B CN109492185 B CN 109492185B CN 201811216752 A CN201811216752 A CN 201811216752A CN 109492185 B CN109492185 B CN 109492185B
Authority
CN
China
Prior art keywords
sampling
data
original
time
equipment
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.)
Active
Application number
CN201811216752.6A
Other languages
Chinese (zh)
Other versions
CN109492185A (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.)
Nanjing Fengdao Electric Power Automation Co ltd
Original Assignee
Nanjing Fengdao Electric Power Automation 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 Nanjing Fengdao Electric Power Automation Co ltd filed Critical Nanjing Fengdao Electric Power Automation Co ltd
Priority to CN201811216752.6A priority Critical patent/CN109492185B/en
Publication of CN109492185A publication Critical patent/CN109492185A/en
Application granted granted Critical
Publication of CN109492185B publication Critical patent/CN109492185B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F17/00Digital computing or data processing equipment or methods, specially adapted for specific functions
    • G06F17/10Complex mathematical operations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/02Details
    • H04J3/06Synchronising arrangements
    • H04J3/0635Clock or time synchronisation in a network
    • H04J3/0638Clock or time synchronisation among nodes; Internode synchronisation
    • H04J3/0658Clock or time synchronisation among packet nodes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Data Mining & Analysis (AREA)
  • Mathematical Physics (AREA)
  • Mathematical Analysis (AREA)
  • General Health & Medical Sciences (AREA)
  • Software Systems (AREA)
  • Pure & Applied Mathematics (AREA)
  • Mathematical Optimization (AREA)
  • Computational Mathematics (AREA)
  • Algebra (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • Databases & Information Systems (AREA)
  • Medical Informatics (AREA)
  • Computer Hardware Design (AREA)
  • Evolutionary Computation (AREA)
  • Geometry (AREA)
  • Complex Calculations (AREA)
  • Transmission Systems Not Characterized By The Medium Used For Transmission (AREA)
  • Analogue/Digital Conversion (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)

Abstract

The invention discloses a method for processing sampling data, which comprises the following steps: (1) Sampling a signal to be sampled by utilizing a first sampling device and at least one second sampling device respectively according to a preset sampling frequency, wherein the preset sampling frequency is k times of the sampling frequency conforming to the Nyquist law, and k is not less than 1; (2) According to original sampling data collected by first sampling equipment, utilizing the corresponding relation of the first sampling equipment and second sampling equipment in sampling time to carry out first-order Lagrange interpolation processing on the original data collected by the second sampling equipment so as to obtain target sampling data of the second sampling equipment. The invention discloses a sampling data processing device. By applying the embodiment of the invention, on the basis of the first-order Lagrange interpolation algorithm, the sampling frequency is improved, the error range is reduced, and the interpolation precision can be further improved.

Description

Sampling data processing method and device
Technical Field
The present invention relates to a data processing method and device, and more particularly, to a sampled data processing method and device.
Background
Two methods for data synchronization of the electronic transformer are specified in the IEC60044-8 standard: unifying a clock synchronization method and an interpolation method; the unified clock synchronization method requires that the merging unit is connected with a sampling signal line to each electronic transformer, and requires that each switch station or ring main unit needs to be connected with IRIG-B codes or GPS signals in the power distribution network, so that the circuit mechanism is complex and the cost is high. The interpolation method saves synchronous signal lines, but requires a processing unit to have stronger data processing capacity, the data obtained by the interpolation algorithm has calculation errors with actual values, and the errors are different due to different algorithms. Common interpolation algorithms include lagrangian interpolation, newton interpolation and the like, but are considered from the factors of calculation amount, complexity, precision and the like.
At present, the IED (Intelligent Electronic Device) is most commonly used by the first-order lagrangian interpolation algorithm, but the accuracy of the first-order lagrangian interpolation algorithm is low, so that the technical problem of low accuracy of the interpolation algorithm exists in the prior art.
Disclosure of Invention
The invention aims to provide a method and a device for processing sampled data, so as to solve the technical problem of low accuracy of an interpolation algorithm in the prior art.
The invention solves the technical problems through the following technical scheme:
the embodiment of the invention provides a method for processing sampling data, which comprises the following steps:
(1) Sampling a signal to be sampled by utilizing a first sampling device and at least one second sampling device respectively according to a preset sampling frequency, wherein the preset sampling frequency is k times of the sampling frequency conforming to the Nyquist law, and k is not less than 1;
(2) According to original sampling data collected by first sampling equipment, utilizing the corresponding relation of the first sampling equipment and second sampling equipment in sampling time to carry out first-order Lagrange interpolation processing on the original data collected by the second sampling equipment so as to obtain target sampling data of the second sampling equipment.
Optionally, the step (2) includes:
a: according to the time sequence, extracting one original sample data from every k original sample data in the original sample data of the first sampling equipment to obtain a first sample data queue { A } 0 ,A k ,A 2k ,......,A mk };
B: for each sampling data in the first sampling data queue, taking the sampling data as current sampling data, and taking the sampling time of the current sampling data as a reference, and acquiring a preset number of original sampling data corresponding to the sampling time of the current sampling data from the original sampling data acquired by the second sampling equipment;
c: performing interpolation processing on the acquired original sampling data with the preset number to obtain an interpolation result of the second sampling equipment at a moment corresponding to the sampling moment;
d: and acquiring a second sampling data queue of second sampling equipment according to the interpolation result, and taking the second sampling data queue as target sampling data.
Optionally, the obtaining, from the original sampling data collected by the second sampling device, a preset number of original sampling data corresponding to the sampling time of the current sampling data includes:
and acquiring a preset number of original sampling data after the time corresponding to the sampling time of the current sampling data from the original sampling data acquired by the second sampling device.
Optionally, the obtaining, from the original sampling data collected by the second sampling device, a preset number of original sampling data corresponding to the sampling time of the current sampling data includes:
and acquiring a preset number of original sampling data before the time corresponding to the sampling time of the current sampling data from the original sampling data acquired by the second sampling device.
Optionally, the step (1) includes:
respectively carrying out asynchronous sampling on a signal to be sampled according to a preset sampling frequency by utilizing first sampling equipment and at least one second sampling equipment;
the time corresponding to the sampling time of the current sampling data comprises:
a time different from a sampling time of the current sample data.
The embodiment of the invention also provides a sampling data processing device, which comprises:
the sampling module is used for sampling a signal to be sampled by utilizing first sampling equipment and at least one second sampling equipment according to a preset sampling frequency respectively, wherein the preset sampling frequency is k times of the sampling frequency according with the Nyquist law, and k is not less than 1;
and the interpolation module is used for performing first-order Lagrange interpolation processing on the original data acquired by the second sampling equipment by utilizing the corresponding relation between the sampling moments of the first sampling equipment and the second sampling equipment according to the original sampling data acquired by the first sampling equipment to obtain target sampling data of the second sampling equipment.
Optionally, the interpolation module is used for
A: according to the time sequence, extracting one original sample data from every k original sample data in the original sample data of the first sampling equipment to obtain a first sample data queue { A } 0 ,A k ,A 2k ,......,A mk };
B: for each sampling data in the first sampling data queue, taking the sampling data as current sampling data, and taking the sampling time of the current sampling data as a reference, and acquiring a preset number of original sampling data corresponding to the sampling time of the current sampling data from original sampling data acquired by the second sampling equipment;
c: carrying out interpolation processing on the acquired original sampling data with preset quantity to obtain an interpolation result of the second sampling device at a moment corresponding to the sampling moment;
d: and acquiring a second sampling data queue of second sampling equipment according to the interpolation result, and taking the second sampling data queue as target sampling data.
Optionally, the interpolation module is further configured to:
and acquiring a preset number of original sampling data after the time corresponding to the sampling time of the current sampling data from the original sampling data acquired by the second sampling device.
Optionally, the interpolation module is further configured to:
and acquiring a preset number of original sampling data before the time corresponding to the sampling time of the current sampling data from the original sampling data acquired by the second sampling device.
Optionally, the sampling module is further configured to:
respectively carrying out asynchronous sampling on signals to be sampled by utilizing first sampling equipment and at least one second sampling equipment according to a preset sampling frequency;
the time corresponding to the sampling time of the current sampling data includes:
a time different from a sampling time of the current sample data.
Compared with the prior art, the invention has the following advantages:
by applying the embodiment of the invention, on the basis of the first-order Lagrange interpolation algorithm, the sampling frequency is improved, the error range is reduced, and the interpolation precision can be further improved.
Drawings
Fig. 1 is a schematic flowchart of a sample data processing method according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a sampling data processing apparatus according to an embodiment of the present invention.
Detailed Description
The following examples are given for the detailed implementation and specific operation of the present invention, but the scope of the present invention is not limited to the following examples.
The embodiment of the present invention provides a method and an apparatus for processing sample data, and first, a method for processing sample data provided in the embodiment of the present invention is described below.
Fig. 1 is a schematic flowchart of a sample data processing method according to an embodiment of the present invention, and as shown in fig. 1, the method includes:
s101: the method comprises the steps that a first sampling device and at least one second sampling device are utilized to sample signals to be sampled respectively according to a preset sampling frequency, wherein the preset sampling frequency is k times of the sampling frequency according with the Nyquist law, and k is not less than 1.
In practical application, from time T1, the first sampling device and the at least one second sampling device are used to perform asynchronous sampling on a signal to be sampled according to a preset sampling frequency, that is, the first sampling device and the second sampling device do not perform sampling at the same time until time T2.
The original sample data sequence acquired by the first sampling device may be { A } 0 ,A 1 ,A 2 ,......A n-1 };
The original sample data sequence acquired by the second sampling device may be { B } 0 ,B 1 ,B 2 ,......B n-1 };
Wherein n is the number of samples.
In practical applications, n = (T2-T1) × k × f, and f is the nyquist sampling frequency.
For example, the sampling result A in the original sampling data sequence 0 The corresponding sampling time may lag behind the sampling result B 0 The corresponding sampling time is 10ms; sampling result A in original sampling data sequence 0 The corresponding sampling instant may lead the sampling result B 0 The corresponding sampling time is 10ms; the embodiment of the present invention does not limit the difference between the sampling times respectively corresponding to the sampling results with the same serial numbers of the first sampling device and the second sampling device.
S102: according to original sampling data collected by first sampling equipment, utilizing the corresponding relation of the first sampling equipment and second sampling equipment in sampling time to carry out first-order Lagrange interpolation processing on the original data collected by the second sampling equipment so as to obtain target sampling data of the second sampling equipment.
Specifically, the step S102 may include: a: according to the time sequence, extracting one original sample data for every k original sample data in the original sample data of the first sampling equipment to obtain a first sample data queue { A } 0 ,A k ,A 2k ,......,A mk };
B: for each sampling data in the first sampling data queue, taking the sampling data as current sampling data, and taking the sampling time of the current sampling data as a reference, and acquiring a preset number of original sampling data corresponding to the sampling time of the current sampling data from the original sampling data acquired by the second sampling equipment;
c: carrying out interpolation processing on the acquired original sampling data with preset quantity to obtain an interpolation result of the second sampling device at a moment corresponding to the sampling moment;
d: and acquiring a second sampling data queue of second sampling equipment according to the interpolation result, and taking the second sampling data queue as target sampling data.
Specifically, a preset number of original sampling data after the time corresponding to the sampling time of the current sampling data may be acquired from the original sampling data acquired by the second sampling device.
Specifically, a preset number of original sampling data before the time corresponding to the sampling time of the current sampling data may be acquired from the original sampling data acquired by the second sampling device.
In practical applications, the A-th sample in the original sample data sequence can be obtained from the first sampling device 0 -A k-1 Any one of the original sample data or the original sample data of the selected position is used as A in the first sample data queue 0 Data; a < th > in a sequence of raw sample data obtainable from a first sampling device k -A 2k-1 Any one of the original sampling data or the original sampling data of the selected position is used as A in the first sampling data queue k Data, and so on.
If, A k For the kth data, A, in the original sampled data sequence acquired by the first sampling device 2k For the 2 k-th data in the original sampled data sequence acquired by the first sampling device.
Then, the first sampling data queue { A }is used 0 ,A k ,A 2k ,......,A mk Sample data A in (b) } k For example, how interpolation is performed using a first-order lagrange interpolation method:
will collect data A k As the current sampling data, acquisition data A is then acquired k The corresponding sampling time is t1; original sampling data { B) collected by the second sampling device 0 ,B 1 ,B 2 ,......B n-1 Acquiring original sampling data B corresponding to the same sampling time as the t1 time k Then according to B k-x To B k And the original data between the two is subjected to first-order LagrangeDaily interpolation processing is carried out to obtain and sample data A k Corresponding to B k '。
Then, the data A will be collected 2k As the current sampling data, acquisition data A is then acquired 2k The corresponding sampling time is t2; the original sampling data { B ] collected from the second sampling device 0 ,B 1 ,B 2 ,......B n-1 Acquiring original sampling data B corresponding to the same sampling time as the t1 time 2k Then according to B 2k-x To B 2k And performing first-order Lagrange interpolation processing on the original data between the two to obtain sampling data A 2k Corresponding to B 2k '. And so on, obtaining an interpolated sampling data sequence corresponding to the second sampling device:
{B 0 ',B k ',B 2k ',B 3k ',......,B mk ', where m = (T2-T1) × f.
It is to be noted that x may be an integer of not less than 1 and not more than k.
The collected data A can also be k As the current sampling data, acquisition data a is then acquired k The corresponding sampling time is t1; original sampling data { B) collected by the second sampling device 0 ,B 1 ,B 2 ,......B n-1 Acquiring original sample data B corresponding to the same sample time as the t1 time k Then according to B k To B k+x And performing first-order Lagrange interpolation processing on the original data between the two to obtain sampling data A k Corresponding to B k '。
Then, data A will be collected 2k As the current sampling data, acquisition data A is then acquired 2k The corresponding sampling time is t2; the original sampling data { B ] collected from the second sampling device 0 ,B 1 ,B 2 ,......B n-1 Acquiring original sampling data B corresponding to the same sampling time as the t1 time 2k Then according to B 2k To B 2k+x And performing first-order Lagrange interpolation processing on the original data between the two to obtain sampling data A 2k Corresponding to B 2k '. By analogy, obtaining an interpolated sampling data sequence corresponding to the second sampling device:
{B 0 ',B k ',B 2k ',B 3k ',......,B mk '}。
it should be noted that x may be an integer not less than 1 and not more than k.
The collected data A can also be k As the current sampling data, acquisition data A is then acquired k The corresponding sampling time is t1; the original sampling data { B ] collected from the second sampling device 0 ,B 1 ,B 2 ,......B n-1 Acquiring original sampling data B corresponding to the same sampling time as the t1 time k Then according to B k-x To B k+x And performing first-order Lagrange interpolation processing on the original data between the two to obtain sampling data A k Corresponding to B k '。
Then, data A will be collected 2k As the current sampling data, acquisition data a is then acquired 2k The corresponding sampling time is t2; the original sampling data { B ] collected from the second sampling device 0 ,B 1 ,B 2 ,......B n-1 Acquiring original sampling data B corresponding to the same sampling time as the t1 time 2k Then according to B 2k-x To B 2k+x And performing first-order Lagrange interpolation processing on the original data between the two to obtain sampling data A 2k Corresponding to B 2k '. And so on, obtaining an interpolated sampling data sequence corresponding to the second sampling device:
{B 0 ',B k ',B 2k ',B 3k ',......,B mk '}。
it should be noted that x may be an integer not less than 1 and not more than k.
Finally, the first sample data queue { A } 0 ,A k ,A 2k ,......,A mk And the interpolated sampled data sequence corresponding to the second sampling device { B } 0 ',B k ',B 2k ',B 3k ',......,B mk ' sends to the data application layer to carry outAnd (4) calculating.
By applying the embodiment of the invention, the data amount in the sampling data queue received by the application layer can be reduced by extracting the original sampling data, so that the calculation load of a CPU (central processing unit) cannot be caused by high operation load caused by high-frequency sampling.
By applying the embodiment shown in fig. 1 of the invention, on the basis of the first-order lagrange interpolation algorithm, the sampling frequency is improved, the error range is reduced, and the interpolation precision can be further improved.
In addition, by applying the embodiment shown in fig. 1 of the present invention, the accuracy of the first-order lagrangian interpolation algorithm can be improved on the basis of lower complexity of the first-order lagrangian interpolation algorithm.
Moreover, by applying the embodiment shown in fig. 1 of the present invention, compared with the second-order lagrangian algorithm, the complexity of the interpolation algorithm can be reduced on the basis of the similar interpolation precision, and the interpolation efficiency can be further improved.
Corresponding to the embodiment shown in fig. 1 of the present invention, an embodiment of the present invention further provides a sample data processing apparatus, and fig. 2 is a schematic structural diagram of the sample data processing apparatus provided in the embodiment of the present invention, and as shown in fig. 2, the apparatus includes:
the sampling module 201 is configured to sample, by using a first sampling device and at least one second sampling device, a signal to be sampled according to a preset sampling frequency, where the preset sampling frequency is k times of a sampling frequency according to a nyquist law, and k is not less than 1;
the interpolation module 202 is configured to perform, according to original sampling data acquired by a first sampling device, first-order lagrangian interpolation processing on the original data acquired by a second sampling device by using a corresponding relationship between sampling times of the first sampling device and the second sampling device, so as to obtain target sampling data of the second sampling device.
By applying the embodiment shown in fig. 2 of the invention, on the basis of the first-order lagrange interpolation algorithm, the sampling frequency is improved, the error range is reduced, and the interpolation precision can be further improved.
In a specific implementation manner of the embodiment of the present invention, the interpolation module 202 is configured to perform interpolation
A: according to the time sequence, extracting one original sample data for every k original sample data in the original sample data of the first sampling equipment to obtain a first sample data queue { A } 0 ,A k ,A 2k ,......,A mk };
B: for each sampling data in the first sampling data queue, taking the sampling data as current sampling data, and taking the sampling time of the current sampling data as a reference, and acquiring a preset number of original sampling data corresponding to the sampling time of the current sampling data from original sampling data acquired by the second sampling equipment;
c: carrying out interpolation processing on the acquired original sampling data with preset quantity to obtain an interpolation result of the second sampling device at a moment corresponding to the sampling moment;
d: and acquiring a second sampling data queue of second sampling equipment according to the interpolation result, and taking the second sampling data queue as target sampling data.
By applying the embodiment of the invention, the data amount in the sampling data queue received by the application layer can be reduced by extracting the original sampling data, so that the calculation load of a CPU (Central processing Unit) cannot be caused by high operation load brought by high-frequency sampling.
In a specific implementation manner of the embodiment of the present invention, the interpolation module 202 is further configured to:
and acquiring a preset number of original sampling data after the time corresponding to the sampling time of the current sampling data from the original sampling data acquired by the second sampling device.
In a specific implementation manner of the embodiment of the present invention, the interpolation module 202 is further configured to:
and acquiring a preset number of original sampling data before the time corresponding to the sampling time of the current sampling data from the original sampling data acquired by the second sampling device.
In a specific implementation manner of the embodiment of the present invention, the sampling module 201 is further configured to:
respectively carrying out asynchronous sampling on signals to be sampled by utilizing first sampling equipment and at least one second sampling equipment according to a preset sampling frequency;
the time corresponding to the sampling time of the current sampling data includes:
a time different from a sampling time of the current sample data.
The above description is intended to be illustrative of the preferred embodiment of the present invention and should not be taken as limiting the invention, but rather, the intention is to cover all modifications, equivalents, and alternatives falling within the spirit and scope of the invention.

Claims (10)

1. A method of processing sampled data, the method comprising:
(1) Sampling a signal to be sampled by utilizing a first sampling device and at least one second sampling device respectively according to a preset sampling frequency, wherein the preset sampling frequency is k times of the sampling frequency conforming to the Nyquist law, and k is not less than 1;
(2) According to original sampling data collected by first sampling equipment, utilizing the corresponding relation of the first sampling equipment and second sampling equipment in sampling time to carry out first-order Lagrange interpolation processing on the original data collected by the second sampling equipment so as to obtain target sampling data of the second sampling equipment.
2. A sampled data processing method according to claim 1, wherein said step (2) comprises:
a: according to the time sequence, extracting one original sample data for every k original sample data in the original sample data of the first sampling equipment to obtain a first sample data queue { A } 0 ,A k ,A 2k ,......,A mk };
B: for each sampling data in the first sampling data queue, taking the sampling data as current sampling data, and taking the sampling time of the current sampling data as a reference, and acquiring a preset number of original sampling data corresponding to the sampling time of the current sampling data from original sampling data acquired by the second sampling equipment;
c: performing interpolation processing on the acquired original sampling data with the preset number to obtain an interpolation result of the second sampling equipment at a moment corresponding to the sampling moment;
d: and acquiring a second sampling data queue of second sampling equipment according to the interpolation result, and taking the second sampling data queue as target sampling data.
3. The sampling data processing method according to claim 2, wherein the obtaining of a preset number of original sampling data corresponding to the sampling time of the current sampling data from the original sampling data collected by the second sampling device comprises:
and acquiring a preset number of original sampling data after the time corresponding to the sampling time of the current sampling data from the original sampling data acquired by the second sampling device.
4. The sampling data processing method according to claim 2, wherein the obtaining of a preset number of original sampling data corresponding to the sampling time of the current sampling data from the original sampling data collected by the second sampling device comprises:
and acquiring a preset number of original sampling data before the time corresponding to the sampling time of the current sampling data from the original sampling data acquired by the second sampling device.
5. A sampled data processing method according to claim 3 or 4, wherein the step (1) comprises:
respectively carrying out asynchronous sampling on a signal to be sampled according to a preset sampling frequency by utilizing first sampling equipment and at least one second sampling equipment;
the time corresponding to the sampling time of the current sampling data comprises:
a time different from a sampling time of the current sample data.
6. A sampled data processing apparatus, the apparatus comprising:
the sampling module is used for sampling a signal to be sampled by utilizing first sampling equipment and at least one second sampling equipment according to preset sampling frequency respectively, wherein the preset sampling frequency is k times of the sampling frequency according with the Nyquist law, and k is not less than 1;
and the interpolation module is used for performing first-order Lagrange interpolation processing on the original data acquired by the second sampling equipment by utilizing the corresponding relation between the sampling moments of the first sampling equipment and the second sampling equipment according to the original sampling data acquired by the first sampling equipment to obtain target sampling data of the second sampling equipment.
7. The sampled data processing apparatus of claim 6, wherein the interpolation module is configured to interpolate the sampled data according to the interpolation result of the interpolation module
A: according to the time sequence, extracting one original sample data from every k original sample data in the original sample data of the first sampling equipment to obtain a first sample data queue { A } 0 ,A k ,A 2k ,......,A mk };
B: for each sampling data in the first sampling data queue, taking the sampling data as current sampling data, and taking the sampling time of the current sampling data as a reference, and acquiring a preset number of original sampling data corresponding to the sampling time of the current sampling data from original sampling data acquired by the second sampling equipment;
c: carrying out interpolation processing on the acquired original sampling data with preset quantity to obtain an interpolation result of the second sampling device at a moment corresponding to the sampling moment;
d: and acquiring a second sampling data queue of second sampling equipment according to the interpolation result, and taking the second sampling data queue as target sampling data.
8. The sampled data processing apparatus of claim 7, wherein the interpolation module is further configured to:
and acquiring a preset number of original sampling data after the time corresponding to the sampling time of the current sampling data from the original sampling data acquired by the second sampling device.
9. The sampled data processing apparatus of claim 7, wherein the interpolation module is further configured to:
and acquiring a preset number of original sampling data before the time corresponding to the sampling time of the current sampling data from the original sampling data acquired by the second sampling device.
10. The sampled data processing apparatus of claim 8 or 9, wherein the sampling module is further configured to:
respectively carrying out asynchronous sampling on signals to be sampled by utilizing first sampling equipment and at least one second sampling equipment according to a preset sampling frequency;
the time corresponding to the sampling time of the current sampling data includes:
a time different from a sampling time of the current sample data.
CN201811216752.6A 2018-10-18 2018-10-18 Method and device for processing sampled data Active CN109492185B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811216752.6A CN109492185B (en) 2018-10-18 2018-10-18 Method and device for processing sampled data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811216752.6A CN109492185B (en) 2018-10-18 2018-10-18 Method and device for processing sampled data

Publications (2)

Publication Number Publication Date
CN109492185A CN109492185A (en) 2019-03-19
CN109492185B true CN109492185B (en) 2022-11-25

Family

ID=65691919

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811216752.6A Active CN109492185B (en) 2018-10-18 2018-10-18 Method and device for processing sampled data

Country Status (1)

Country Link
CN (1) CN109492185B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110782550B (en) * 2019-09-20 2021-08-31 腾讯科技(深圳)有限公司 Data acquisition method, device and equipment

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3890289B2 (en) * 2002-11-22 2007-03-07 ティーオーエー株式会社 Lagrange interpolation sampling rate converter
CN103116096B (en) * 2013-01-24 2014-09-03 广东电网公司电力科学研究院 Integration unit for electric energy quality monitoring and synchronous sampling method of integration unit
CN103324603B (en) * 2013-06-07 2016-03-30 山东山大电力技术有限公司 A kind of Interpolating transform method of different sampling rate
CN104065383A (en) * 2014-06-23 2014-09-24 中国工程物理研究院电子工程研究所 Analog information conversion method based on sampling control
CN105678072B (en) * 2016-01-04 2018-02-23 江苏省电力公司电力科学研究院 A kind of method for reducing electronic mutual inductor error under message effect of jitter
CN106774638B (en) * 2017-01-25 2019-09-10 深圳贝特莱电子科技股份有限公司 A kind of timer calibration method

Also Published As

Publication number Publication date
CN109492185A (en) 2019-03-19

Similar Documents

Publication Publication Date Title
WO2018188228A1 (en) High-precision frequency measuring system and method
CN102006159B (en) Multi-slave clock sampling value multi-interface synchronizing system based on IEEE1588
CN103117972B (en) A kind of Vector Signal Analysis method and apparatus
CN103368676B (en) A kind of strange land based on cyclic pulse signal synchronous data sampling method and system
US20080049880A1 (en) Systems and methods for resampling unreliable data
CN102510327B (en) Method and device for improving synchronous precision of long-range two-way time comparison modulator-demodulator
CN107306178A (en) clock data recovery device and method
CN103969508B (en) A kind of Electric Power Harmonic Analysis method high-accuracy in real time and device
CN109492185B (en) Method and device for processing sampled data
CN106452251B (en) A kind of motor AC electricity synchronized sampling unit for making full use of rotation to become orthogonal output
CN105261202B (en) Transmission delay measurement method based on B-spline interpolating wavelet Singularity detection
CN104717051A (en) Interpolation estimation method in parallel demodulation bit synchronization
Rodrigues et al. A Phasor Measurement Unit based on discrete fourier transform using digital signal processor
US8866517B2 (en) Power system data acquisition systems
CN107566199B (en) Signal processing device and method and electronic equipment comprising same
CN201018421Y (en) Rectifier synchronous signal processing equipment
CN103095249A (en) Median filtering circuit and method thereof
CN104061950A (en) Method for improving decoding precision of digital decoding system of rotary transformer
CN109768852B (en) Method, device and storage medium for realizing precise symbol synchronization processing based on computer software system
CN108490275B (en) Quick three-phase sequence digital detection method and device thereof
CN108871385B (en) Encoder, motor, encoder data processing method, and storage medium
CN111130648B (en) Optical communication signal receiving method, signal receiving device and electronic equipment
JP2001109781A (en) System for collecting data
CN103616580A (en) Data conversion angular difference test method of merging units
WO2013166005A1 (en) Power system data acquisition systems

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant