CN110061827A - A kind of collecting method at equal intervals and device based on synchronised clock - Google Patents
A kind of collecting method at equal intervals and device based on synchronised clock Download PDFInfo
- Publication number
- CN110061827A CN110061827A CN201810052026.9A CN201810052026A CN110061827A CN 110061827 A CN110061827 A CN 110061827A CN 201810052026 A CN201810052026 A CN 201810052026A CN 110061827 A CN110061827 A CN 110061827A
- Authority
- CN
- China
- Prior art keywords
- counting
- pulse signal
- regressive
- sampled point
- remainder
- 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
Links
Classifications
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03M—CODING; DECODING; CODE CONVERSION IN GENERAL
- H03M1/00—Analogue/digital conversion; Digital/analogue conversion
- H03M1/06—Continuously compensating for, or preventing, undesired influence of physical parameters
- H03M1/0617—Continuously compensating for, or preventing, undesired influence of physical parameters characterised by the use of methods or means not specific to a particular type of detrimental influence
- H03M1/0624—Continuously compensating for, or preventing, undesired influence of physical parameters characterised by the use of methods or means not specific to a particular type of detrimental influence by synchronisation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L7/00—Arrangements for synchronising receiver with transmitter
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L7/00—Arrangements for synchronising receiver with transmitter
- H04L7/0008—Synchronisation information channels, e.g. clock distribution lines
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L7/00—Arrangements for synchronising receiver with transmitter
- H04L7/0079—Receiver details
- H04L7/0087—Preprocessing of received signal for synchronisation, e.g. by code conversion, pulse generation or edge detection
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Theoretical Computer Science (AREA)
- Synchronisation In Digital Transmission Systems (AREA)
Abstract
A kind of collecting method at equal intervals based on synchronised clock, the method includes carrying out rational judgement to second pulse signal, it determines the counting of each sampled point in one second and is uploaded according to it to second pulse signal progress equal interval sampling and after buffering is numbered, then verify the counting of each sampled point in described one second after the number buffering.Technical solution provided by the invention can be realized data collected uniformly, it is stringent in 1 second according to time interval synchronized sampling, and be capable of the efficient and convenient control for realizing constant duration.
Description
Technical field
This application involves the constant duration collecting method and device of a kind of electric system, in particular to a kind of base
In the collecting method at equal intervals and device of synchronised clock.
Background technique
With the development of airmanship, make the synchronised clock technology based on satellite navigation system in many works such as power domain
Industry control system is widely used.For electric system, discontinuity surface when carrying out same, different space physics places
Data acquisition has important practical significance, and helps to carry out deep observation and analysis to the operation characteristic of power grid and preferably slap
Hold the complex characteristics of operation of power networks.But traditional data collection system is generally all without synchronised clock, it has not been convenient to carry out each
A station data carries out discontinuity surface on time and is analyzed, although there is the method for some acquisitions based on synchronised clock to come out,
It is not the constant duration of stricti jurise to equally spaced processing when carrying out data acquisition, it cannot be guaranteed that by adopting in each second
N number of sampling that sample rate carries out strictly was distributed as evenly as possible in one second.
Summary of the invention
The present invention provides a kind of collecting method at equal intervals and device based on synchronised clock, its purpose is to solve
Certainly when data acquire, constant duration handles inaccurate problem, improves the synchronism of sampled data, can be efficiently convenient
Control of the realization to constant duration.
The purpose of the present invention is adopt the following technical solutions realization:
A kind of collecting method at equal intervals based on synchronised clock, it is improved in that the method includes following
Step:
The counting of second pulse signal is determined according to the reasonability judging result of second pulse signal;
The counting of each sampled point in one second is determined according to the counting of the second pulse signal, and is based on respectively sampling in this second
The counting of point carries out equal interval sampling to the second pulse signal;
It is uploaded after the counting of each sampled point in described one second is numbered.
Further, the counting that second pulse signal is determined according to the reasonability judging result of second pulse signal, comprising:
If the counting M of the second pulse signal at current timebCounted with the second pulse signal of historical time and average value
Difference is no more than preset value, then the second pulse signal at current time is reasonable, and the counting of the second pulse signal of sampling takes Mb;Otherwise when
The second pulse signal at preceding moment is unreasonable, and the counting of the second pulse signal of sampling takes
Further, the counting that each sampled point in one second is determined according to the counting of the second pulse signal, and be based on
The counting of each sampled point carries out equal interval sampling to the second pulse signal in this second, comprising:
Using the second pulse signal counting plus remainder and regressive sample rate, until regressive value be less than the sampling
Rate, and be remainder when determining that next sampled point counts by the regressive value;
It is counted the counting of sampling interval counter as sampled point, wherein being counted as sampling interval counter is described
Utilize the counting of the second pulse signal plus the regressive number with regressive sample rate of remainder, initial remainder 0.
Further, the counting that each sampled point in one second is determined according to the counting of the second pulse signal, and be based on
The counting of each sampled point carries out equal interval sampling to the second pulse signal in this second, comprising:
If the second pulse signal shifts to an earlier date t1Time arrives, then is subtracted using the sum of the counting of the second pulse signal plus remainder
Remove t1, then regressive sample rate, it until regressive value is less than the sample rate, and is when determining that next sampled point counts by the regressive value
Remainder;
It is counted the counting of sampling interval counter as sampled point, wherein being counted as sampling interval counter is described
Utilize the counting of the second pulse signal plus the regressive number with regressive sample rate of remainder, initial remainder 0.
Further, the counting that each sampled point in one second is determined according to the counting of the second pulse signal, and be based on
The counting of each sampled point carries out equal interval sampling to the second pulse signal in this second, comprising:
If the second pulse signal is passing through t2It is just reached after time, then in t2In time, the second arteries and veins of upper one second is utilized
Rush signal counting plus remainder and regressive sample rate, until regressive value be less than the sample rate, and by the regressive value be determine
Remainder when next sampled point counts;
It is counted the counting of sampling interval counter as sampled point, wherein being counted as sampling interval counter is described
Utilize the counting of the second pulse signal plus the regressive number with regressive sample rate of remainder, initial remainder 0;
t2After time, then sample rate subtracts 1, subtracts t using the counting of the second pulse signal plus the sum of remainder2, then regressive
The regressive value until regressive value is less than the sample rate, and is remainder when determining that next sampled point counts by sample rate;
It is counted the counting of sampling interval counter as sampled point, wherein being counted as sampling interval counter is described
Utilize the counting of the second pulse signal plus the regressive number with regressive sample rate of remainder, initial remainder 0.
Further, the counting to the equal interval sampling uploads after being numbered, comprising:
The counting of each sampled point in described one second is numbered by sample rate and is stored in buffer area;After storage is full, by number
Upload the counting of each sampled point in the buffer area.
Further, the counting to the equal interval sampling uploads after being numbered, further includes:
If the counting of each sampled point does not upload successively by number in described one second, second pulse signal is reacquired.
A kind of data acquisition device at equal intervals based on synchronised clock, it is improved in that described device includes:
Judgment module: for carrying out rational judgement to second pulse signal and determining second pulse signal according to judging result
Counting;
Sampling module: the counting of each sampled point in one second is determined for the counting according to the second pulse signal, and is based on
The counting of each sampled point carries out equal interval sampling to the second pulse signal in this second;
Number module: it is uploaded after being numbered for the counting to each sampled point in described one second.
Preferably, the judgment module, is used for:
If the counting M of the second pulse signal at current timebCounted with the second pulse signal of historical time and average value
Difference is no more than preset value, then the second pulse signal at current time is reasonable, and the counting of the second pulse signal of sampling takes Mb;Otherwise when
The second pulse signal at preceding moment is unreasonable, and the counting of the second pulse signal of sampling takes
Preferably, the sampling module, is used for:
Using the second pulse signal counting plus remainder and regressive sample rate, until regressive value be less than the sampling
Rate, and be remainder when determining that next sampled point counts by the regressive value;
It is counted the counting of sampling interval counter as sampled point, wherein being counted as sampling interval counter is described
Utilize the counting of the second pulse signal plus the regressive number with regressive sample rate of remainder, initial remainder 0.
Preferably, the sampling module, is used for:
If the second pulse signal shifts to an earlier date t1Time arrives, then is subtracted using the sum of the counting of the second pulse signal plus remainder
Remove t1, then regressive sample rate, it until regressive value is less than the sample rate, and is when determining that next sampled point counts by the regressive value
Remainder;
It is counted the counting of sampling interval counter as sampled point, wherein being counted as sampling interval counter is described
Utilize the counting of the second pulse signal plus the regressive number with regressive sample rate of remainder, initial remainder 0.
Preferably, the sampling module, is used for:
If the second pulse signal is passing through t2It is just reached after time, then in t2In time, the second arteries and veins of upper one second is utilized
Rush signal counting plus remainder and regressive sample rate, until regressive value be less than the sample rate, and by the regressive value be determine
Remainder when next sampled point counts;
It is counted the counting of sampling interval counter as sampled point, wherein being counted as sampling interval counter is described
Utilize the counting of the second pulse signal plus the regressive number with regressive sample rate of remainder, initial remainder 0;
t2After time, then sample rate subtracts 1, subtracts t using the counting of the second pulse signal plus the sum of remainder2, then regressive
The regressive value until regressive value is less than the sample rate, and is remainder when determining that next sampled point counts by sample rate;
It is counted the counting of sampling interval counter as sampled point, wherein being counted as sampling interval counter is described
Utilize the counting of the second pulse signal plus the regressive number with regressive sample rate of remainder, initial remainder 0.
Preferably, the number module, is used for:
The counting of each sampled point in described one second is numbered by sample rate and is stored in buffer area;After storage is full, by number
Upload the counting of each sampled point in the buffer area.
Preferably, the number module, is also used to:
If the counting of each sampled point does not upload successively by number in described one second, second pulse signal is reacquired.
Compared with prior art, the invention has the following advantages:
1. a kind of collecting method at equal intervals and device based on synchronised clock provided by the invention, can be realized and adopted
The data of collection are uniform, stringent synchronize sampling according to time interval in 1 second.
2. a kind of collecting method at equal intervals and device based on synchronised clock provided by the invention, can utilize constant temperature
The high stability of crystal oscillator is kept time, and the synchronism for ensuring to sample is continued.
3. a kind of collecting method at equal intervals and device based on synchronised clock provided by the invention, can be with subtraction
Form realizes the process of division, being capable of the efficient and convenient control for realizing constant duration;
4. a kind of collecting method at equal intervals and device based on synchronised clock provided by the invention, by using number
According to numbering and being judged, the synchronism of the data of acquisition is further ensured.
Detailed description of the invention
Fig. 1 is a kind of collecting method flow chart at equal intervals based on synchronised clock provided by the invention;
Fig. 2 is a kind of data acquisition device figure at equal intervals based on synchronised clock provided by the invention.
Specific embodiment
It elaborates with reference to the accompanying drawing to a specific embodiment of the invention.
The present invention provides a kind of collecting method at equal intervals based on synchronised clock, as shown in Figure 1, the method packet
Include following steps:
The counting of second pulse signal is determined according to the reasonability judging result of second pulse signal;
The counting of each sampled point in one second is determined according to the counting of the second pulse signal, and is based on respectively sampling in this second
The counting of point carries out equal interval sampling to the second pulse signal;
It is uploaded after the counting of each sampled point in described one second is numbered.
The second pulse signal is that the IRIG_B signal that synchronised clock is sent or the miniature receiving module of big-dipper satellite are sent
Second pulse signal.
Specifically, the counting for determining second pulse signal according to the reasonability judging result of second pulse signal, comprising:
If the counting M of the second pulse signal at current timebCounted with the past 10 seconds second pulse signals and average value
Difference is no more than 1000, then the second pulse signal at current time is reasonable, and the counting of the second pulse signal of sampling takes Mb;Otherwise current
The second pulse signal at moment is unreasonable, and the counting of the second pulse signal of sampling takes
Specifically, the counting that each sampled point in one second is determined according to the counting of the second pulse signal, and being based on should
The counting of each sampled point carries out equal interval sampling to the second pulse signal in one second, comprising:
If second pulse signal is reached in preset time, the counting of the second pulse signal plus adopting with regressive for remainder are utilized
The regressive value until regressive value is less than the sample rate, and is remainder when determining that next sampled point counts by sample rate;
It is counted the counting of sampling interval counter as sampled point, wherein being counted as sampling interval counter is described
Utilize the counting of the second pulse signal plus the regressive number with regressive sample rate of remainder, initial remainder 0.
For example, second pulse signal is counted as 4100, sample rate 1000, then it is as follows to count calculating for first sampled point:
4100 regressive 1000 of counting to second pulse signal is until remaining 100, and regressive value is 4 at this time, then takes 4 for first sampled point meter
Number;
It is as follows that second sampled point counts calculating: taking the counting 4100 of second pulse signal to add the remainder 100 of upper one second, tires out
Subtract 1000 until regressive value is 4 at this time with 200, then taking 4 is that second sampled point counts;
It is as follows that third sampled point counts calculating: taking the counting 4100 of second pulse signal to add the remainder 200 of upper one second, tires out
Subtract 1000 until regressive value is 4 at this time with 300, then taking 4 is that third sampled point counts;
Remaining sampled point counting and so on.
Specifically, the counting that each sampled point in one second is determined according to the counting of the second pulse signal, and being based on should
The counting of each sampled point carries out equal interval sampling to the second pulse signal in one second, further includes:
If the second pulse signal reaches in advance compared with preset time, add remainder using the counting of the second pulse signal
With subtract t1(t1When being reached in advance for second pulse signal, the time difference of practical arrival time and preset time), then regressive sampling
The regressive value until regressive value is less than the sample rate, and is remainder when determining that next sampled point counts by rate;
It is counted the counting of sampling interval counter as sampled point, wherein being counted as sampling interval counter is described
Utilize the counting of the second pulse signal plus the regressive number with regressive sample rate of remainder, initial remainder 0.
Specifically, the counting that each sampled point in one second is determined according to the counting of the second pulse signal, and being based on should
The counting of each sampled point carries out equal interval sampling to the second pulse signal in one second, further includes:
If the second pulse signal is lagged compared with preset time and is reached, in t2(t in time2It lags and reaches for second pulse signal
When, the time difference of practical arrival time and preset time), the counting using the second pulse signal of upper one second adds remainder
With regressive sample rate, until regressive value be less than the sample rate, and by the regressive value be determine next sampled point count when more than
Number;
It is counted the counting of sampling interval counter as sampled point, wherein being counted as sampling interval counter is described
Utilize the counting of the second pulse signal plus the regressive number with regressive sample rate of remainder, initial remainder 0;
t2After time, then sample rate subtracts 1, subtracts t using the counting of the second pulse signal plus the sum of remainder2, then regressive
The regressive value until regressive value is less than the sample rate, and is remainder when determining that next sampled point counts by sample rate;
It is counted the counting of sampling interval counter as sampled point, wherein being counted as sampling interval counter is described
Utilize the counting of the second pulse signal plus the regressive number with regressive sample rate of remainder, initial remainder 0.
Specifically, the counting to the equal interval sampling uploads after being numbered, comprising:
The counting of each sampled point in described one second is numbered by sample rate and is stored in buffer area;After storage is full, by number
Upload the counting of each sampled point in the buffer area.
Specifically, the counting to the equal interval sampling uploads after being numbered, further includes:
If the counting of each sampled point does not upload successively by number in described one second, second pulse signal is reacquired.
The present invention provides a kind of data acquisition device at equal intervals based on synchronised clock, as shown in Fig. 2, described device packet
It includes:
Judgment module: for carrying out rational judgement to second pulse signal and determining second pulse signal according to judging result
Counting;
Sampling module: the counting of each sampled point in one second is determined for the counting according to the second pulse signal, and is based on
The counting of each sampled point carries out equal interval sampling to the second pulse signal in this second;
Number module: it is uploaded after being numbered for the counting to each sampled point in described one second.
Specifically, the judgment module, is used for:
If the counting M of the second pulse signal at current timebCounted with the past 10 seconds second pulse signals and average value
Difference is no more than 1000, then the second pulse signal at current time is reasonable, and the counting of the second pulse signal of sampling takes Mb;Otherwise current
The second pulse signal at moment is unreasonable, and the counting of the second pulse signal of sampling takes
Specifically, the sampling module, is used for:
Using the second pulse signal counting plus remainder and regressive sample rate, until regressive value be less than the sampling
Rate, and be remainder when determining that next sampled point counts by the regressive value;
It is counted the counting of sampling interval counter as sampled point, wherein being counted as sampling interval counter is described
Utilize the counting of the second pulse signal plus the regressive number with regressive sample rate of remainder, initial remainder 0.
Specifically, the sampling module, is also used to:
If the second pulse signal shifts to an earlier date t1Time arrives, then is subtracted using the sum of the counting of the second pulse signal plus remainder
Remove t1, then regressive sample rate, it until regressive value is less than the sample rate, and is when determining that next sampled point counts by the regressive value
Remainder;
It is counted the counting of sampling interval counter as sampled point, wherein being counted as sampling interval counter is described
Utilize the counting of the second pulse signal plus the regressive number with regressive sample rate of remainder, initial remainder 0.
Specifically, the sampling module, is also used to:
If the second pulse signal is passing through t2It is just reached after time, then in t2In time, the second arteries and veins of upper one second is utilized
Rush signal counting plus remainder and regressive sample rate, until regressive value be less than the sample rate, and by the regressive value be determine
Remainder when next sampled point counts;
It is counted the counting of sampling interval counter as sampled point, wherein being counted as sampling interval counter is described
Utilize the counting of the second pulse signal plus the regressive number with regressive sample rate of remainder, initial remainder 0;
t2After time, then sample rate subtracts 1, subtracts t using the counting of the second pulse signal plus the sum of remainder2, then regressive
The regressive value until regressive value is less than the sample rate, and is remainder when determining that next sampled point counts by sample rate;
It is counted the counting of sampling interval counter as sampled point, wherein being counted as sampling interval counter is described
Utilize the counting of the second pulse signal plus the regressive number with regressive sample rate of remainder, initial remainder 0.
Specifically, the number module, is used for:
The counting of each sampled point in described one second is numbered by sample rate and is stored in buffer area;After storage is full, by number
Upload the counting of each sampled point in the buffer area.
Specifically, the number module, is also used to:
If the counting of each sampled point does not upload successively by number in described one second, second pulse signal is reacquired.
Finally it should be noted that: the above embodiments are merely illustrative of the technical scheme of the present invention and are not intended to be limiting thereof, to the greatest extent
Invention is explained in detail referring to above-described embodiment for pipe, it should be understood by those ordinary skilled in the art that: still
It can be with modifications or equivalent substitutions are made to specific embodiments of the invention, and without departing from any of spirit and scope of the invention
Modification or equivalent replacement, should all cover within the scope of the claims of the present invention.
Claims (14)
1. a kind of collecting method at equal intervals based on synchronised clock, which is characterized in that the described method comprises the following steps:
The counting of second pulse signal is determined according to the reasonability judging result of second pulse signal;
The counting of each sampled point in one second is determined according to the counting of the second pulse signal, and based on each sampled point in this second
It counts and equal interval sampling is carried out to the second pulse signal;
It is uploaded after the counting of each sampled point in described one second is numbered.
2. the method as described in claim 1, which is characterized in that described to be determined according to the reasonability judging result of second pulse signal
The counting of second pulse signal, comprising:
If the counting M of the second pulse signal at current timebCounted with the second pulse signal of historical time and average valueDifference
No more than preset value, then the second pulse signal at current time is reasonable, and the counting of the second pulse signal of sampling takes Mb;Otherwise when current
The second pulse signal at quarter is unreasonable, and the counting of the second pulse signal of sampling takes
3. the method as described in claim 1, which is characterized in that the counting according to the second pulse signal determined in one second
The counting of each sampled point, and the counting based on each sampled point in this second carries out equal interval sampling, packet to the second pulse signal
It includes:
Using the second pulse signal counting plus remainder and regressive sample rate, until regressive value be less than the sample rate, and
By the remainder that the regressive value is when determining that next sampled point counts;
It is counted the counting of sampling interval counter as sampled point, wherein sampling interval counter is counted as the utilization
The counting of the second pulse signal plus the regressive number with regressive sample rate of remainder, initial remainder 0.
4. the method as described in claim 1, which is characterized in that the counting according to the second pulse signal determined in one second
The counting of each sampled point, and the counting based on each sampled point in this second carries out equal interval sampling, packet to the second pulse signal
It includes:
If the second pulse signal shifts to an earlier date t1Time arrives, then subtracts t using the sum of the counting of the second pulse signal plus remainder1,
Regressive sample rate again, until regressive value be less than the sample rate, and by the regressive value be determine next sampled point count when more than
Number;
It is counted the counting of sampling interval counter as sampled point, wherein sampling interval counter is counted as the utilization
The counting of the second pulse signal plus the regressive number with regressive sample rate of remainder, initial remainder 0.
5. the method as described in claim 1, which is characterized in that the counting according to the second pulse signal determined in one second
The counting of each sampled point, and the counting based on each sampled point in this second carries out equal interval sampling, packet to the second pulse signal
It includes:
If the second pulse signal is passing through t2It is just reached after time, then in t2In time, believed using the pulse per second (PPS) of upper one second
Number counting plus remainder and regressive sample rate, until regressive value be less than the sample rate, and by the regressive value be determination it is next
Remainder when sampled point counts;
It is counted the counting of sampling interval counter as sampled point, wherein sampling interval counter is counted as the utilization
The counting of the second pulse signal plus the regressive number with regressive sample rate of remainder, initial remainder 0;
t2After time, then sample rate subtracts 1, subtracts t using the counting of the second pulse signal plus the sum of remainder2, then regressive sampling
The regressive value until regressive value is less than the sample rate, and is remainder when determining that next sampled point counts by rate;
It is counted the counting of sampling interval counter as sampled point, wherein sampling interval counter is counted as the utilization
The counting of the second pulse signal plus the regressive number with regressive sample rate of remainder, initial remainder 0.
6. the method as described in claim 1, which is characterized in that the counting to the equal interval sampling be numbered after on
It passes, comprising:
The counting of each sampled point in described one second is numbered by sample rate and is stored in buffer area;After storage is full, upload by number
The counting of each sampled point in the buffer area.
7. method as described in claim 1 or 6, which is characterized in that the counting to the equal interval sampling is numbered
After upload, further includes:
If the counting of each sampled point does not upload successively by number in described one second, second pulse signal is reacquired.
8. a kind of data acquisition device at equal intervals based on synchronised clock, which is characterized in that described device includes:
Judgment module: by carrying out rational judgement to second pulse signal and being determined based on second pulse signal according to judging result
Number;
Sampling module: for according to the second pulse signal counting determine one second in each sampled point counting, and based on this one
The counting of each sampled point carries out equal interval sampling to the second pulse signal in second;
Number module: it is uploaded after being numbered for the counting to each sampled point in described one second.
9. device as claimed in claim 8, which is characterized in that the judgment module is used for:
If the counting M of the second pulse signal at current timebCounted with the second pulse signal of historical time and average valueDifference
No more than preset value, then the second pulse signal at current time is reasonable, and the counting of the second pulse signal of sampling takes Mb;Otherwise when current
The second pulse signal at quarter is unreasonable, and the counting of the second pulse signal of sampling takes
10. device as claimed in claim 8, which is characterized in that the sampling module is used for:
Using the second pulse signal counting plus remainder and regressive sample rate, until regressive value be less than the sample rate, and
By the remainder that the regressive value is when determining that next sampled point counts;
It is counted the counting of sampling interval counter as sampled point, wherein sampling interval counter is counted as the utilization
The counting of the second pulse signal plus the regressive number with regressive sample rate of remainder, initial remainder 0.
11. device as claimed in claim 8, which is characterized in that the sampling module is used for:
If the second pulse signal shifts to an earlier date t1Time arrives, then subtracts t using the sum of the counting of the second pulse signal plus remainder1,
Regressive sample rate again, until regressive value be less than the sample rate, and by the regressive value be determine next sampled point count when more than
Number;
It is counted the counting of sampling interval counter as sampled point, wherein sampling interval counter is counted as the utilization
The counting of the second pulse signal plus the regressive number with regressive sample rate of remainder, initial remainder 0.
12. device as claimed in claim 8, which is characterized in that the sampling module is used for:
If the second pulse signal is passing through t2It is just reached after time, then in t2In time, believed using the pulse per second (PPS) of upper one second
Number counting plus remainder and regressive sample rate, until regressive value be less than the sample rate, and by the regressive value be determination it is next
Remainder when sampled point counts;
It is counted the counting of sampling interval counter as sampled point, wherein sampling interval counter is counted as the utilization
The counting of the second pulse signal plus the regressive number with regressive sample rate of remainder, initial remainder 0;
t2After time, then sample rate subtracts 1, subtracts t using the counting of the second pulse signal plus the sum of remainder2, then regressive sampling
The regressive value until regressive value is less than the sample rate, and is remainder when determining that next sampled point counts by rate;
It is counted the counting of sampling interval counter as sampled point, wherein sampling interval counter is counted as the utilization
The counting of the second pulse signal plus the regressive number with regressive sample rate of remainder, initial remainder 0.
13. device as claimed in claim 8, which is characterized in that the number module is used for:
The counting of each sampled point in described one second is numbered by sample rate and is stored in buffer area;After storage is full, upload by number
The counting of each sampled point in the buffer area.
14. the device as described in claim 8 or 13, which is characterized in that the number module is also used to:
If the counting of each sampled point does not upload successively by number in described one second, second pulse signal is reacquired.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810052026.9A CN110061827B (en) | 2018-01-19 | 2018-01-19 | Equidistant data acquisition method and device based on synchronous clock |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810052026.9A CN110061827B (en) | 2018-01-19 | 2018-01-19 | Equidistant data acquisition method and device based on synchronous clock |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110061827A true CN110061827A (en) | 2019-07-26 |
CN110061827B CN110061827B (en) | 2023-07-18 |
Family
ID=67314901
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810052026.9A Active CN110061827B (en) | 2018-01-19 | 2018-01-19 | Equidistant data acquisition method and device based on synchronous clock |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110061827B (en) |
Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050041767A1 (en) * | 2003-08-20 | 2005-02-24 | Whitehead David E. | System for synchronous sampling and time-of-day clocking using an encoded time signal |
US7103125B1 (en) * | 2001-05-16 | 2006-09-05 | Lexmark International, Inc. | Method and apparatus for effecting synchronous pulse generation for use in serial communications |
JP2006254041A (en) * | 2005-03-10 | 2006-09-21 | Ikegami Tsushinki Co Ltd | Clock recovery information forming circuit and clock recovery circuit |
WO2007000498A1 (en) * | 2005-06-29 | 2007-01-04 | Abb Oy | Method for synchronizing an automation data communications network |
US20080069260A1 (en) * | 2006-09-19 | 2008-03-20 | Stmicroelectronics N.V. | Method and device for estimating the relative drift between two clocks, in particular for ranging applications in uwb-ldr technology |
CN101316160A (en) * | 2008-06-11 | 2008-12-03 | 南京磐能电力科技股份有限公司 | Multi-node synchronization sampling and data transmission method |
CN101540500A (en) * | 2009-04-28 | 2009-09-23 | 南京中德保护控制系统有限公司 | Data synchronization method of digital optical fiber differential protective clock by relay method |
CN101984538A (en) * | 2010-05-25 | 2011-03-09 | 国电南瑞科技股份有限公司 | Data synchronization processing method for electronic mutual inductor using Manchester encoding |
CN202256483U (en) * | 2011-10-26 | 2012-05-30 | 江西省电力公司超高压分公司 | GPS (Global Positioning System) second-based real-time self-adaptive evenly-spaced sampling synchronous data acquisition device |
CN103713552A (en) * | 2013-12-23 | 2014-04-09 | 国电南瑞科技股份有限公司 | Self-adaptive dynamic synchronous sampling control device and method based on pulse per second |
CN103941622A (en) * | 2014-04-28 | 2014-07-23 | 国家电网公司 | Method for adopting high-accuracy pulse per second frequency multiplication to produce sampling pulse based on FPGA |
CN104991440A (en) * | 2015-07-14 | 2015-10-21 | 中北大学 | High-precision IRIG-B(AC) code demodulation method and device |
CN105102991A (en) * | 2013-03-29 | 2015-11-25 | 三菱电机株式会社 | Signal processing device |
-
2018
- 2018-01-19 CN CN201810052026.9A patent/CN110061827B/en active Active
Patent Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7103125B1 (en) * | 2001-05-16 | 2006-09-05 | Lexmark International, Inc. | Method and apparatus for effecting synchronous pulse generation for use in serial communications |
US20050041767A1 (en) * | 2003-08-20 | 2005-02-24 | Whitehead David E. | System for synchronous sampling and time-of-day clocking using an encoded time signal |
JP2006254041A (en) * | 2005-03-10 | 2006-09-21 | Ikegami Tsushinki Co Ltd | Clock recovery information forming circuit and clock recovery circuit |
WO2007000498A1 (en) * | 2005-06-29 | 2007-01-04 | Abb Oy | Method for synchronizing an automation data communications network |
US20080069260A1 (en) * | 2006-09-19 | 2008-03-20 | Stmicroelectronics N.V. | Method and device for estimating the relative drift between two clocks, in particular for ranging applications in uwb-ldr technology |
CN101316160A (en) * | 2008-06-11 | 2008-12-03 | 南京磐能电力科技股份有限公司 | Multi-node synchronization sampling and data transmission method |
CN101540500A (en) * | 2009-04-28 | 2009-09-23 | 南京中德保护控制系统有限公司 | Data synchronization method of digital optical fiber differential protective clock by relay method |
CN101984538A (en) * | 2010-05-25 | 2011-03-09 | 国电南瑞科技股份有限公司 | Data synchronization processing method for electronic mutual inductor using Manchester encoding |
CN202256483U (en) * | 2011-10-26 | 2012-05-30 | 江西省电力公司超高压分公司 | GPS (Global Positioning System) second-based real-time self-adaptive evenly-spaced sampling synchronous data acquisition device |
CN105102991A (en) * | 2013-03-29 | 2015-11-25 | 三菱电机株式会社 | Signal processing device |
CN103713552A (en) * | 2013-12-23 | 2014-04-09 | 国电南瑞科技股份有限公司 | Self-adaptive dynamic synchronous sampling control device and method based on pulse per second |
CN103941622A (en) * | 2014-04-28 | 2014-07-23 | 国家电网公司 | Method for adopting high-accuracy pulse per second frequency multiplication to produce sampling pulse based on FPGA |
CN104991440A (en) * | 2015-07-14 | 2015-10-21 | 中北大学 | High-precision IRIG-B(AC) code demodulation method and device |
Also Published As
Publication number | Publication date |
---|---|
CN110061827B (en) | 2023-07-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103368676B (en) | A kind of strange land based on cyclic pulse signal synchronous data sampling method and system | |
CN104991440B (en) | High accuracy IRIG B(AC)Code demodulation method and device | |
CN111565084B (en) | Satellite time service time keeping system and method based on frequency estimation | |
CN102902879B (en) | A kind of synchronized phasor computational methods based on FPGA hardware DFT recursion | |
CN103269262B (en) | A kind of punctual method of time synchronism apparatus | |
CN104375006B (en) | A kind of Fast synchronization phase amount correction method | |
Romano et al. | An enhanced interpolated-modulated sliding DFT for high reporting rate PMUs | |
Shaw et al. | A Kalman-filter spectral envelope preprocessor | |
WO2011003347A1 (en) | Measureing device and measuring method for continuous physical quantity | |
CN103117972A (en) | Method and device for analyzing vector signals | |
CN103592843A (en) | Timestamp circuit and implement method | |
CN107192411A (en) | A kind of many telemetry parameter analysis window division methods of spacecraft | |
CN105759119B (en) | SDFT fundamental positive sequences phase synchronization method and system | |
CN109100674B (en) | Metering method based on distributed electric energy, error detection method and device | |
CN104391464B (en) | A kind of hardware equivalent synchronized sampling unit based on FPGA | |
CN103227643B (en) | A kind of method determining sampling instant according to the data receiver moment | |
CN109600665A (en) | Method and apparatus for handling data | |
CN110061827A (en) | A kind of collecting method at equal intervals and device based on synchronised clock | |
CN107144726B (en) | A kind of A step voltage transient state monitoring device, method and system | |
CN110061943A (en) | A kind of symbol timing synchronization method in mpsk signal demodulation | |
CN103905137B (en) | Lock-out pulse jitter suppression method based on FPGA and system | |
CN107870338B (en) | A kind of satellite navigation carrier wave tracing method of low update frequency | |
CN106209090A (en) | A kind of combining unit pulse per second (PPS) synchronism output system and method based on FPGA | |
CN103916341B (en) | Blind symbol rate estimation and timing method for MPSK signals formed through raised cosine | |
CN108957118A (en) | A kind of reactive power calculating method |
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 |