[go: up one dir, main page]

CN103616814A - Synchronous sampling clock closed loop correcting method and system based on FPGA - Google Patents

Synchronous sampling clock closed loop correcting method and system based on FPGA Download PDF

Info

Publication number
CN103616814A
CN103616814A CN201310661429.0A CN201310661429A CN103616814A CN 103616814 A CN103616814 A CN 103616814A CN 201310661429 A CN201310661429 A CN 201310661429A CN 103616814 A CN103616814 A CN 103616814A
Authority
CN
China
Prior art keywords
pulse signal
pps
error
baund
heavily
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
CN201310661429.0A
Other languages
Chinese (zh)
Other versions
CN103616814B (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.)
Southeast University
Original Assignee
Southeast University
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 Southeast University filed Critical Southeast University
Priority to CN201310661429.0A priority Critical patent/CN103616814B/en
Publication of CN103616814A publication Critical patent/CN103616814A/en
Application granted granted Critical
Publication of CN103616814B publication Critical patent/CN103616814B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Stabilization Of Oscillater, Synchronisation, Frequency Synthesizers (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)

Abstract

本发明公开了一种基于FPGA的同步采样时钟闭环校正方法和系统。该方法首先采用了对PPS脉冲信号脉冲持续时间与相邻脉冲触发周期分别进行判断,来检测其脉冲信号的正确性;然后实时接收并检测PPS判断模块发送的动作信号,以作出相应的反应;接着通过误差校正模块对本地晶振时钟的频率进行校正并根据动作信号的状态对同步重采信号的相位误差进行测量和校正;最后通过倍频计算模块生成同步重采信号,同时将输出信号反馈给误差校正模块形成了一个闭环系统,并根据校正信息校正信息对输出自动进行调整。该方法解决了在研究基于GPS采样数据同步的基础上,合并单元同步采样时钟对晶振依赖性强,以致在晶振老化、频率准确度降低的情况下,输出误差较大的问题。

Figure 201310661429

The invention discloses an FPGA-based method and system for closed-loop correction of a synchronous sampling clock. The method firstly judges the pulse duration of the PPS pulse signal and the adjacent pulse trigger period to detect the correctness of the pulse signal; then receives and detects the action signal sent by the PPS judgment module in real time to make a corresponding response; Then, the frequency of the local crystal oscillator clock is corrected by the error correction module, and the phase error of the synchronous reacquisition signal is measured and corrected according to the state of the action signal; finally, the synchronous reacquisition signal is generated by the frequency multiplication calculation module, and the output signal is fed back to the The error correction module forms a closed-loop system, and automatically adjusts the output according to the correction information. This method solves the problem that the synchronous sampling clock of the merging unit has a strong dependence on the crystal oscillator on the basis of the research on the synchronization of the sampling data based on GPS, so that the output error is relatively large when the crystal oscillator is aging and the frequency accuracy is reduced.

Figure 201310661429

Description

A kind of closed-loop corrected method and system of synchronized sampling clock based on FPGA
Technical field
The invention belongs to electrical technology field, be specifically related to a kind of closed-loop corrected method of synchronized sampling clock based on FPGA.
Background technology
Intelligent substation is standardized as basic demand with the information digitalization of entirely standing, communications platform networking, information sharing; realize the functions such as information acquisition, measurement, control, protection, monitoring and metering; and station domain information real-time synchronization acquisition technique is the basis of realizing the various application functions of intelligent substation; it requires electronic mutual inductor to reach per second thousands of time to the data sampling of power network current and voltage, and in sampling just can be by a plurality of intelligent substations, each intelligent electronic device (IED) is shared.But no matter control, protect, or the computing of monitoring, measuring all requires sampled data at the same time, to gather, in order to avoid phase place and amplitude produce error.
For protections such as overcurrent protections, because the short-term stability of the local crystal oscillator clock of merging unit of electronic transformer is very high, can not impact the operation precision of protection.But for differential protection and metering; because the local crystal oscillator clock of merge cells is very inaccurate; through long error accumulation, can cause across the different phase errors of merge cells of compartment and the expansion gradually of amplitude error, cause the gross error of misoperation and the metering of differential protection.
Therefore, invent that a kind of performance is more superior, range of application more widely the closed-loop corrected new method of synchronized sampling clock become the problem of needing solution badly.
Summary of the invention
For the problems referred to above, the present invention proposes the design of synchronized sampling clock in a kind of merging unit of electronic transformer, be devoted to solve merge cells synchronized sampling clock strong to crystal oscillator dependence, aging at crystal oscillator, in the situation that frequency accuracy reduces, the deficiency that output error is larger.
For achieving the above object, the technical scheme that the present invention takes is:
In merging unit of electronic transformer, a design for synchronized sampling clock, comprises the steps:
1) by PPS judge module, PPS pulse signal duration of pulse and the adjacent pulse cycle of triggering are judged respectively, detect the correctness of its pulse signal;
2) by wrong processing module, receive in real time and detect the actuating signal that PPS judge module sends, to make corresponding reaction;
3) by error correction module, the frequency of local crystal oscillator clock is proofreaied and correct and heavily frequency error and the phase error of the number of accepting and believing are measured and proofreaied and correct to synchronous according to the state of actuating signal;
4) by frequency multiplication computing module, generate the synchronously heavily number of accepting and believing of 80 points/cycle, output signal is fed back to error correction module simultaneously and formed a closed-loop system, the control information of sending according to error correction module is adjusted exporting automatically.
In step 1, adopt PPS judge module to judge respectively PPS pulse signal duration of pulse and the adjacent pulse cycle of triggering, detect the correctness of pulse signal, after merge cells system starts, FPGA just starts constantly circulation and reads PPS pulse signal input pin signal, until detect, after pulse signal rising edge arrives, trigger two counters simultaneously and start counting, by local clock source, PPS pulse signal is detected.Then the judgement of carrying out two counter values judges the validity of pulse signal.
In step 3, adopt cumulative method to measure 4000 interval T of synchronously heavily adopting pulse signal c, and guarantee T by frequency multiplication computing module c=T peven to have avoided in the maximized situation of Crystal Oscillator Errors, its two subsynchronous heavy number of accepting and believing interval error also only has 0.25Hz, be difficult to detected problem.
In step 4, adopted a kind of frequency-doubling method of realizing by totalizer, the reg that can define a bit wide W in FPGA deposits type totalizer Baund_acc and accumulated value variable Baund_inc.Totalizer Baund_acc capacity 2 wthe digital quantization value that represents synchronously heavily to adopt the signal period, accumulated value Baund_inc represents the digital quantization value in crystal oscillator cycle.Therefore have:
F cry/F res=2 w/Baund_inc
Consider
Figure BDA0000433024280000021
f res=4000Hz, can try to achieve
Baund _ inc = 4000 · 2 w / M ‾
When each arrives in crystal oscillator cycle, totalizer Baund_acc can add Baund_inc, carries out one-accumulate calculating, and to be dutycycle be 50% the synchronously heavily number of accepting and believing to the output of the most significant digit of totalizer.Zero moment output error that the method is the synchronous heavily number of accepting and believing of realization is proofreaied and correct and is needed maximum duration to be
t s=F cry/(500·F res)=25s
After the access of PPS pulse signal, add the PPS judgement time of 3s, need at most 28s, can be completely achieved the synchronous output of the heavily number of accepting and believing.The method has overcome when local oscillator frequency deviation is larger, the error of the synchronous heavily number of accepting and believing is larger, can not realize the synchronous heavily uniformly-spaced output of the number of accepting and believing, the accuracy class of crystal oscillator is had relatively high expectations, and be unfavorable for zero problem that output error is proofreaied and correct constantly to the synchronous heavily number of accepting and believing.
With respect to prior art, beneficial effect of the present invention mainly contains: the method, when improving output accuracy, has reduced the impact of crystal oscillation frequency error on synchronized sampling clock, has saved production cost, has guaranteed the long-term stability operation of synchronized sampling clock.The method also can be applicable to the realization of synchronous clock in other IED equipment simultaneously, realizes the collection of information real-time synchronization lay a good foundation for intelligent substation.
Accompanying drawing explanation
Fig. 1 FB(flow block) of the present invention;
Fig. 2 PPS pulse input oscillogram;
Fig. 3 PPS pulse detection process flow diagram;
Fig. 4 error correction schematic diagram;
Fig. 5 frequency multiplication computing module operational flow diagram;
Fig. 6 synchronized sampling clock sequential analogous diagram;
Fig. 7 (a) experimental error angular difference test pattern;
Fig. 7 (b) experimental error ratio test pattern.
Embodiment
Below in conjunction with drawings and Examples, the invention will be further described.
As shown in Figure 1, in a kind of merging unit of electronic transformer, the design of synchronized sampling clock, comprises the steps:
1) PPS judgement.PPS pulse signal trigger characteristic as shown in Figure 2, when light intensity rise reach amplitude 50% time trigger constantly and arrive, its duration of pulse t h>10 μ s, interpulse period t i>500ms, adjacent pulse triggers period T p=1s.Therefore can be by its duration of pulse and the adjacent pulse cycle of triggering be judged respectively, detect the correctness of PPS pulse signal, PPS judge module overhaul flow chart is as shown in Figure 3.
After merge cells system starts, FPGA just starts constantly circulation and reads PPS pulse signal input pin signal, until detect, after pulse signal rising edge arrives, trigger two counters simultaneously and start counting, by local clock source, PPS pulse signal is detected.Select herein precision be the common quartz crystal oscillator of 50MHz of 20ppm as local clock source, the actual vps of crystal oscillator is 5 * 10 7between ± 1000.Start counter 1, local crystal oscillator vibration number in PPS pulse signal high level lasting time is carried out to accumulation calculating, as the count value N of negative edge arrival hour counter 1 1be latched, then carry out judgement 1, judgement N 1whether be greater than 500, i.e. t h>10 μ s.If but N 1count down to 25 * 10 6also at counting, i.e. t h>500ms, stops counting automatically, carries out judgement 1 and makes mistakes.Start counter 2, local crystal oscillator vibration number in the PPS pulse signal adjacent pulse triggering cycle is carried out to accumulation calculating, the count value N of counter 2 after the arrival of next pulse signal rising edge being detected 2be latched, then carry out judgement 2, judgement N 2whether be greater than 4.9999 * 10 7, i.e. T p≈ 1s.If but N2 count down to 5.0001 * 10 7also at counting, i.e. T p>1s, stops counting automatically, carries out judgement 2 and makes mistakes.When judgement 1 or judge that 2 when make mistakes, automatically enter error handler, by all register zero clearings of PPS judge module, get back to the original state of waiting for PPS pulse signal rising edge.If judge, 1 can meet simultaneously and enter judgement 3 with judgement 2, need to think that PPS pulse signal is effective through continuous three correct judgments, output synchronous mark signal syn=1, and the while, no matter whether correct judgment was by the value zero clearing of counter 1 sum counter 2.
2) mistake is processed.Mistake processing module receives and detects the syn signal that PPS judge module sends in real time, if its value is 0, outwards send synchronous abnormal bright light alarm signal, synchronized sampling clock carries out asynchronous punctual output, until PPS pulse signal correctly accesses again and judgement in continuous three seconds is effective, syn signal value is 1, and wrong processing module is reset.
3) error correction.Error correction schematic diagram as shown in Figure 4.IEC61850-9-2LE standard-required merge cells sampling rate is 80 points/cycle or 256 points/cycle (50Hz), and the 80 points/cycle often using of take is herein example, requires synchronously the heavily number of accepting and believing output speed to be fixed as for 4000 point/seconds.Because the adjacent synchronous heavily time interval between the number of accepting and believing is very short, even therefore in the maximized situation of Crystal Oscillator Errors, its two subsynchronous heavy number of accepting and believing interval error also only has 0.25Hz, is difficult to detect.So can adopt accumulative, measure 4000 interval T of synchronously heavily adopting pulse signal c, and guarantee T by frequency multiplication computing module c=T p.When error correction module detects syn signal value and is 1, after judging that in PPS judge module 2 conditions meet, to first three count value N in counter 2 2carry out mean value computation and obtain mean value
Figure BDA0000433024280000041
and the actual vibration frequency using it as crystal oscillator sends to frequency multiplication computing module to proofread and correct processing.When error correction module detects syn signal value and is 0, by losing, calculate before synchronous
Figure BDA0000433024280000042
value sends to frequency multiplication computing module, enters asynchronous punctual state.
When PPS pulse signal arrives, when rising edge triggers, error correction module starts timing.First of after this or this moment times frequency module output of definition simultaneously synchronously heavily the number of accepting and believing be No. 0, when No. 0 heavily the number of accepting and believing arrive after error correction module stop timing, measure PPS pulse signal and synchronize the heavily mistiming t between the number of accepting and believing with No. 0 0, i.e. t 0crystal oscillator vibration number K in time, and send to frequency multiplication computing module to carry out correcting process K, the output that guarantees the synchronous heavily number of accepting and believing with this is without phase deviation.When error correction module detects syn signal value and is 0, by the zero clearing of K value, enter asynchronous punctual state.
4) frequency multiplication is calculated.Frequency multiplication computing module operational flow diagram as shown in Figure 5.
Because reg in FPGA deposits type variable, can freely define bit wide, the reg that therefore can define a bit wide W deposits type totalizer Baund_acc and accumulated value variable Baund_inc.Totalizer Baund_acc capacity 2 wthe digital quantization value that represents synchronously heavily to adopt the signal period, accumulated value Baund_inc represents the digital quantization value in crystal oscillator cycle.Therefore have
F cry/F res=2 w/Baund_inc (3)
Consider f res=4000Hz, can try to achieve
Baund _ inc = 4000 · 2 w / M ‾ - - - ( 4 )
When frequency multiplication computing module receives the crystal oscillator frequency corrected value that error correction module sends
Figure BDA0000433024280000053
after, can through type (4) round downwards and calculate accumulated value Baund_inc.Because totalizer Baund_acc is unsigned int, therefore can ignore it and overflow, constantly do cycle accumulor.When each arrives in crystal oscillator cycle, totalizer Baund_acc can add Baund_inc, carries out one-accumulate calculating, and to be dutycycle be 50% the synchronously heavily number of accepting and believing to the output of the most significant digit of totalizer.
Because Baund_inc rounds downwards when calculating, cause interior accumulator count value of a period of time less than normal, can in proofreading and correct, to count value, revise in zero moment output error to the synchronous heavily number of accepting and believing.When frequency multiplication computing module receive that error correction module sends zero constantly during output error value K, now the most significant digit of totalizer Baund_acc has just completed by 0 to 1 transformation, generates No. 0 heavily number of accepting and believing.Baund_inc is multiplied by K and obtains t odigital quantization value Baund_err.Due to the attach most importance to time value of the number of accepting and believing lag output of Baund_err, therefore can be by accumulator count value Baund_acc be added to Baund_err carries out compensation of delay.Consider that the synchronous heavily adjustment of the number of accepting and believing need to realize a smooth transition, for preventing adjacent two heavy interval too small between the number of accepting and believing, cause program run-time error, need to be limited Baund_err, when K is greater than 500, Baund_err is 500Baund_inc.The zero output error correction constantly that realizes the synchronous heavily number of accepting and believing needs maximum duration to be
t s=F cry/(500·F res)=25s (5)
After the access of PPS pulse signal, add the PPS judgement time of 3s, need at most 28s, can be completely achieved the synchronous output of the heavily number of accepting and believing.
Embodiment:
The error analysis of synchronized sampling clock:
While calculating due to Baund_inc in this synchronized sampling clock, round operation, can n synchronously heavily the number of accepting and believing locate to produce error:
ξ 2 = | n F res - n · 2 W Baund _ inc · 1 F cry | - - - ( 6 )
When synchronous, the error correction of the counterweight per second number of accepting and believing once, so get maximal value 4000 and Baund_inc round-off error is 1 to the maximum as n, i.e. n=4000,
Figure BDA0000433024280000062
time, ξ 2there is maximal value to be
ξ 2 max = M ‾ 4000 · 2 W - M ‾ - - - ( 7 )
The synchronously heavy number of the accepting and believing output error ξ that is different from traditional frequency-doubling method in formula (2) 1only be subject to the impact of crystal oscillator precision, from formula (7), maximum error ξ is exported in synchronously heavily accepting and believing of realizing by this paper method 2maxbe subject to the impact of crystal oscillator precision and totalizer bit wide W simultaneously.Therefore can be not high in crystal oscillator precision, crystal oscillator actual vibration frequency
Figure BDA0000433024280000064
when larger, strengthen bit wide W, reduce ξ 2max.For further studying and exist
Figure BDA0000433024280000065
get maximal value 5.0001 * 10 7time, the different values of bit wide W are to ξ 2maxthe situation that affects, Baund_inc calculated value and round-off error number percent δ thereof are observed simultaneously, as shown in table 1.
Impact (M=5.0001 * 10 of table 1 bit wide W different value on error amount 7)
W Baund_inc δ(%) ξ 2max(μs)
32 343590 1.48977×10 -4 2.91045
40 87959171 4.39513×10 -8 1.1369×10 -2
41 175918342 4.39513×10 -8 5.6845×10 -3
48 2.25175×10 10 3.98250×10 -9 4.4410×10 -5
64 1.47571×10 15 1.34631×10 -14 6.7764×10 -10
By table 1, can find out, when bit wide W is larger, the calculated value that Baund_inc is corresponding is also larger, and the round-off error number percent δ that ignores fraction part generation when it calculates is also corresponding less, the ξ therefore causing corresponding to round-off error 2maxalso less.
The experimental study of synchronized sampling clock:
Utilize Quartus II to carry out programming simulation to synchronized sampling clock, as shown in Figure 6, wherein clk is local crystal oscillator clock input in its sequential emulation, and PPS_clk is the input of PPS pulse signal, resample_clk is the synchronously heavily number of accepting and believing output, and syn and K are internal register variable.When PPS judge module detects PPS pulse signal when effective, synchronous regime syn becomes 1, represents synchronous.Error correction module is heavily adopted pulse signal to No. 0 and is proofreaied and correct subsequently, obtains its output error value K, records the heavily number of accepting and believing lag output PPS pulse signal 17.12 μ s with timebar instrument simultaneously.Because K is 856, be greater than 500, so only compensated 500 when compensating for the first time, after next PPS pulse signal arrives, being again corrected to the output error of heavily adopting pulse signal is 356, and compensates.Finally synchronously heavily the number of accepting and believing is carved triggering at the same time with PPS pulse signal, and its output phase error value K is 0.
This synchronized sampling clock is downloaded in electronic current mutual inductor merge cells, adopt Jiangsu to insult wound NT702 electronic mutual inductor steady state check system and carried out operation test.Crystal oscillator is the common quartz crystal oscillator of 20ppm, and specified measurement electric current is 5A, and the synchronously sampled data error of the merge cells under different strength of current as shown in Figure 7.The ratio that can find out synchronously sampled data distributes and comparatively evenly to concentrate, and at electric current hour, because the burr of white noise disturbs, angular difference fluctuation is larger, but can meet generally the accuracy requirement of IEEE60044 standard 0.2S level, reflects good synchronism.
Those skilled in the art can carry out various changes and modification and not depart from the spirit and scope of the present invention the present invention.Like this, if within of the present invention these are revised and modification belongs to the scope of the claims in the present invention and equivalent technologies thereof, the present invention is also intended to comprise these changes and modification interior.

Claims (8)

1. the closed-loop corrected method of synchronized sampling clock based on FPGA, is characterized in that: comprise the steps:
1) PPS determining step, judged respectively PPS pulse signal duration of pulse and the adjacent pulse cycle of triggering, and detected the correctness of its pulse signal;
2) mistake treatment step, receives and detects the actuating signal that PPS judge module sends, in real time to make corresponding reaction;
3) error correction step, proofreaies and correct and heavily frequency error and the phase error of the number of accepting and believing are measured and proofreaied and correct to synchronous according to the state of actuating signal the frequency of local crystal oscillator clock;
4) frequency multiplication calculation procedure, generates the synchronously heavily number of accepting and believing of 80 points/cycle, output signal is fed back to error correction step simultaneously and forms closed loop, according to the frequency error in error correction step and phase error, to exporting automatically, adjusts.
2. the closed-loop corrected method of synchronized sampling clock according to claim 1, it is characterized in that: in PPS determining step, adopt PPS judge module to judge respectively PPS pulse signal duration of pulse and the adjacent pulse cycle of triggering, detect the correctness of pulse signal, after merge cells system starts, FPGA just starts constantly circulation and reads PPS pulse signal input pin signal, until pulse signal rising edge detected, arrive, just trigger two counters simultaneously and start counting, by local clock source, PPS pulse signal is detected, then by the numerical value of two counters, judge the validity of pulse signal.
3. the closed-loop corrected method of synchronized sampling clock according to claim 1, is characterized in that: in error correction step, adopt cumulative method to measure a plurality of interval T of synchronously heavily adopting pulse signal c, and guarantee T by frequency multiplication computing module c=T p, after thereby judge module is set up, try to achieve first three count value N in counter 2 2carry out mean value computation and obtain mean value in the hope of frequency error; PPS pulse signal arrives, when rising edge triggers, error correction module starts timing, first of after this or this moment times frequency module output synchronously heavily the number of accepting and believing arrive after error correction module stop timing, measure PPS pulse signal and synchronize the heavily mistiming t between the number of accepting and believing with No. 0 0, obtain t 0in time, crystal oscillator vibration number K, to obtain phase error, carries out error correction by frequency error and phase error.
4. the closed-loop corrected method of synchronized sampling clock according to claim 1, it is characterized in that: in frequency multiplication calculation procedure, by totalizer, realize frequency multiplication, the reg that can define a bit wide W in FPGA deposits type totalizer Baund_acc and accumulated value variable Baund_inc, totalizer Baund_acc capacity 2w represents synchronously heavily to adopt the digital quantization value of signal period, accumulated value Baund_inc represents the digital quantization value in crystal oscillator cycle, so
F cry/F res=2 w/Baund_inc
When each arrives in crystal oscillator cycle, totalizer Baund_acc can add Baund_inc, carries out one-accumulate calculating, and to be dutycycle be 50% the synchronously heavily number of accepting and believing to the output of the most significant digit of totalizer.
5. the closed-loop corrected system of synchronized sampling clock based on FPGA, is characterized in that: comprise as lower module:
1) PPS judge module, for PPS pulse signal duration of pulse and the adjacent pulse cycle of triggering are judged respectively, detects the correctness of its pulse signal;
2) mistake processing module, the actuating signal sending for receiving in real time and detect PPS judge module, to make corresponding reaction;
3) error correction module, for proofreading and correct the frequency of local crystal oscillator clock and heavily frequency error and the phase error of the number of accepting and believing are measured and proofreaied and correct to synchronous according to the state of actuating signal;
4) frequency multiplication computing module, for generating the synchronously heavily number of accepting and believing of 80 points/cycle, feeds back to output signal error correction module simultaneously and forms closed-loop system, and the frequency error and the phase error that according to error correction module, send are adjusted exporting automatically.
6. the closed-loop corrected system of synchronized sampling clock according to claim 1, it is characterized in that: PPS judge module, be used for adopting PPS judge module to judge respectively PPS pulse signal duration of pulse and the adjacent pulse cycle of triggering, detect the correctness of pulse signal, after merge cells system starts, FPGA just starts constantly circulation and reads PPS pulse signal input pin signal, until pulse signal rising edge detected, arrive, just trigger two counters simultaneously and start counting, by local clock source, PPS pulse signal is detected, then by the numerical value of two counters, judge the validity of pulse signal.
7. the closed-loop corrected method of synchronized sampling clock according to claim 1, is characterized in that: error correction module, and for adopting cumulative method to measure a plurality of interval T of synchronously heavily adopting pulse signal c, and guarantee T by frequency multiplication computing module c=T p, after thereby judge module is set up, try to achieve first three count value N in counter 2 2carry out mean value computation and obtain mean value
Figure FDA0000433024270000021
in the hope of frequency error; PPS pulse signal arrives, when rising edge triggers, error correction module starts timing, first of after this or this moment times frequency module output synchronously heavily the number of accepting and believing arrive after error correction module stop timing, measure PPS pulse signal and synchronize the heavily mistiming t between the number of accepting and believing with No. 0 0, obtain t 0in time, crystal oscillator vibration number K, to obtain phase error, carries out error correction by frequency error and phase error.
8. the closed-loop corrected method of synchronized sampling clock according to claim 1, it is characterized in that: frequency multiplication computing module, for realizing frequency multiplication by totalizer, the reg that can define a bit wide W in FPGA deposits type totalizer Baund_acc and accumulated value variable Baund_inc, totalizer Baund_acc capacity 2 wthe digital quantization value that represents synchronously heavily to adopt the signal period, accumulated value Baund_inc represents the digital quantization value in crystal oscillator cycle, so
F cry/F res=2 w/Baund_inc
When each arrives in crystal oscillator cycle, totalizer Baund_acc can add Baund_inc, carries out one-accumulate calculating, and to be dutycycle be 50% the synchronously heavily number of accepting and believing to the output of the most significant digit of totalizer.
CN201310661429.0A 2013-12-09 2013-12-09 A kind of synchronized sampling closed-loop corrected method and system of clock based on FPGA Expired - Fee Related CN103616814B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310661429.0A CN103616814B (en) 2013-12-09 2013-12-09 A kind of synchronized sampling closed-loop corrected method and system of clock based on FPGA

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310661429.0A CN103616814B (en) 2013-12-09 2013-12-09 A kind of synchronized sampling closed-loop corrected method and system of clock based on FPGA

Publications (2)

Publication Number Publication Date
CN103616814A true CN103616814A (en) 2014-03-05
CN103616814B CN103616814B (en) 2016-09-07

Family

ID=50167518

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310661429.0A Expired - Fee Related CN103616814B (en) 2013-12-09 2013-12-09 A kind of synchronized sampling closed-loop corrected method and system of clock based on FPGA

Country Status (1)

Country Link
CN (1) CN103616814B (en)

Cited By (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
CN104133729A (en) * 2014-07-29 2014-11-05 中国电子科技集团公司第四十一研究所 Method for correcting random error in high-speed dead-zone-free frequency measurement
CN104391464A (en) * 2014-11-06 2015-03-04 电子科技大学 FPGA-based hardware equivalent synchronous sampling device
CN104639042A (en) * 2014-12-24 2015-05-20 聚辰半导体(上海)有限公司 Low-power-consumption adjustable frequency multiplier
CN106357361A (en) * 2015-07-17 2017-01-25 陕西千山航空电子有限责任公司 Onboard record system time synchronization method
CN107395123A (en) * 2017-07-19 2017-11-24 中国人民解放军国防科学技术大学 A kind of 2 power side's frequency-doubling method based on GPS second pulse
CN108459239A (en) * 2018-03-22 2018-08-28 中国南方电网有限责任公司超高压输电公司检修试验中心 Distributed traveling wave monitoring terminal time deviation calculating and compensation method and system
CN109031368A (en) * 2018-07-19 2018-12-18 大连理工大学 Method for reading GPS receiving output effective data by combining PPS signal
CN109375139A (en) * 2018-11-06 2019-02-22 国网内蒙古东部电力有限公司电力科学研究院 A device and method for automatically testing fiber optic current transformers
CN109425844A (en) * 2017-08-30 2019-03-05 北京智云芯科技有限公司 A kind of calibration method and system of data sampling
CN109738954A (en) * 2019-03-14 2019-05-10 南方科技大学 Clock synchronization circuit, clock synchronization method and ocean bottom seismograph
CN109765583A (en) * 2019-03-04 2019-05-17 华通信安(北京)科技发展有限公司 A kind of clock synchronizing method based on GNSS receiver pulse per second (PPS)
CN110187237A (en) * 2019-06-13 2019-08-30 国网江苏省电力有限公司淮安供电分公司 Real-time detection and the synchronized acquisition method and its device for adjusting crystal oscillator output frequency
CN110501728A (en) * 2018-05-16 2019-11-26 清华大学 Frequency Discrimination Method and Frequency Discrimination Device for Positioning Base Station Time Hopping Signal
CN110908272A (en) * 2019-12-20 2020-03-24 昆明理工大学 A 1pps Pulse Signal Timing Method
CN111598727A (en) * 2020-07-23 2020-08-28 国网江西省电力有限公司电力科学研究院 A method for improving the synchronization of metering clocks in smart substations based on the code phase counting method
CN111711445A (en) * 2020-06-24 2020-09-25 中国地质科学院地球物理地球化学勘查研究所 Method and device for correcting nominal frequency error and electronic equipment
CN112286034A (en) * 2020-10-31 2021-01-29 武汉中海庭数据技术有限公司 Whole vehicle data time synchronization method and device, electronic equipment and storage medium
CN113359191A (en) * 2021-06-01 2021-09-07 中国科学院地质与地球物理研究所 Real-time correction method of constant-temperature crystal oscillator and electromagnetic receiver
CN114089020A (en) * 2021-11-10 2022-02-25 许继集团有限公司 A high-resolution remote signal acquisition device and method based on dual MCUs
CN114200815A (en) * 2021-11-15 2022-03-18 秦佳电气有限公司 Method and system for improving timing precision of common timer
US11545933B2 (en) 2021-06-01 2023-01-03 Institute Of Geology And Geophysics, Chinese Academy Of Sciences Real-time correction method for oven controlled crystal oscillator and electromagnetic receiver
CN116541668A (en) * 2023-07-06 2023-08-04 杭州光粒科技有限公司 Swimming stroke number determining method, device, equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4213006A (en) * 1976-12-21 1980-07-15 Siemens Aktiengesellschaft Circuit arrangement for the coarse synchronization of carrier signals and pulse signals with data signals in a data receiver
JPH07287083A (en) * 1993-12-27 1995-10-31 Hyundai Electron Ind Co Ltd Apparatus and method for synchronization of time by making use of global positioning satellite system
CN1207616A (en) * 1997-08-02 1999-02-10 三星电子株式会社 Method for keeping clock synchronization in synchronous distributed network system and synchronization device implementing the method
CN101420225A (en) * 2008-12-03 2009-04-29 中国航天科技集团公司第五研究院第五〇四研究所 High precision time difference calibrating method based on FPGA
CN201892740U (en) * 2010-10-28 2011-07-06 国网电力科学研究院 GPS (global position system) wireless calibration test device for electronic mutual inductor

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4213006A (en) * 1976-12-21 1980-07-15 Siemens Aktiengesellschaft Circuit arrangement for the coarse synchronization of carrier signals and pulse signals with data signals in a data receiver
JPH07287083A (en) * 1993-12-27 1995-10-31 Hyundai Electron Ind Co Ltd Apparatus and method for synchronization of time by making use of global positioning satellite system
CN1207616A (en) * 1997-08-02 1999-02-10 三星电子株式会社 Method for keeping clock synchronization in synchronous distributed network system and synchronization device implementing the method
CN101420225A (en) * 2008-12-03 2009-04-29 中国航天科技集团公司第五研究院第五〇四研究所 High precision time difference calibrating method based on FPGA
CN201892740U (en) * 2010-10-28 2011-07-06 国网电力科学研究院 GPS (global position system) wireless calibration test device for electronic mutual inductor

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
晏玲,李伟,曹津平: "采用FPGA实现合并单元同步采样的方案", 《电力自动化设备》, vol. 30, no. 10, 31 October 2010 (2010-10-31) *
段雄英等: "电子式互感器合并单元同步时钟模块的设计", 《低压电器》, no. 15, 15 August 2011 (2011-08-15) *
赵晴: "基于FPGA的电子式互感器采集和同步技术研究与设计", 《中国优秀硕士学位论文全文数据库 工程科技II辑》, 15 January 2013 (2013-01-15) *

Cited By (40)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103941622B (en) * 2014-04-28 2016-06-08 国家电网公司 Occur frequently again the method for sampling pulse based on the high accuracy pulse per second (PPS) of FPGA
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
CN104133729A (en) * 2014-07-29 2014-11-05 中国电子科技集团公司第四十一研究所 Method for correcting random error in high-speed dead-zone-free frequency measurement
CN104133729B (en) * 2014-07-29 2017-06-20 中国电子科技集团公司第四十一研究所 The modification method of random error when a kind of high speed is without dead band frequency measurement
CN104391464A (en) * 2014-11-06 2015-03-04 电子科技大学 FPGA-based hardware equivalent synchronous sampling device
CN104391464B (en) * 2014-11-06 2017-04-05 电子科技大学 A kind of hardware equivalent synchronized sampling unit based on FPGA
CN104639042A (en) * 2014-12-24 2015-05-20 聚辰半导体(上海)有限公司 Low-power-consumption adjustable frequency multiplier
CN104639042B (en) * 2014-12-24 2017-11-17 聚辰半导体(上海)有限公司 Low-power consumption is adjustable frequency multiplier
CN106357361B (en) * 2015-07-17 2018-07-24 陕西千山航空电子有限责任公司 A kind of airborne record method, system time synchronization
CN106357361A (en) * 2015-07-17 2017-01-25 陕西千山航空电子有限责任公司 Onboard record system time synchronization method
CN107395123B (en) * 2017-07-19 2020-05-08 中国人民解放军国防科学技术大学 A Power-of-2 Frequency Multiplication Method Based on GPS Second Pulse
CN107395123A (en) * 2017-07-19 2017-11-24 中国人民解放军国防科学技术大学 A kind of 2 power side's frequency-doubling method based on GPS second pulse
CN109425844A (en) * 2017-08-30 2019-03-05 北京智云芯科技有限公司 A kind of calibration method and system of data sampling
CN109425844B (en) * 2017-08-30 2022-01-18 北京智云芯科技有限公司 Calibration method and system for data sampling
CN108459239A (en) * 2018-03-22 2018-08-28 中国南方电网有限责任公司超高压输电公司检修试验中心 Distributed traveling wave monitoring terminal time deviation calculating and compensation method and system
CN110501728A (en) * 2018-05-16 2019-11-26 清华大学 Frequency Discrimination Method and Frequency Discrimination Device for Positioning Base Station Time Hopping Signal
CN110501728B (en) * 2018-05-16 2022-03-29 清华大学 Frequency discrimination method and device for time hopping signal of positioning base station
CN109031368B (en) * 2018-07-19 2022-05-13 大连理工大学 Method for reading GPS receiving output effective data by combining PPS signal
CN109031368A (en) * 2018-07-19 2018-12-18 大连理工大学 Method for reading GPS receiving output effective data by combining PPS signal
CN109375139A (en) * 2018-11-06 2019-02-22 国网内蒙古东部电力有限公司电力科学研究院 A device and method for automatically testing fiber optic current transformers
CN109765583A (en) * 2019-03-04 2019-05-17 华通信安(北京)科技发展有限公司 A kind of clock synchronizing method based on GNSS receiver pulse per second (PPS)
CN109738954A (en) * 2019-03-14 2019-05-10 南方科技大学 Clock synchronization circuit, clock synchronization method and ocean bottom seismograph
CN109738954B (en) * 2019-03-14 2024-03-15 南方科技大学 Clock synchronization circuit, clock synchronization method and submarine seismograph
CN110187237A (en) * 2019-06-13 2019-08-30 国网江苏省电力有限公司淮安供电分公司 Real-time detection and the synchronized acquisition method and its device for adjusting crystal oscillator output frequency
CN110187237B (en) * 2019-06-13 2020-10-23 国网江苏省电力有限公司淮安供电分公司 Grid synchronization acquisition method and device for real-time detection and adjustment of crystal oscillator output frequency
CN110908272A (en) * 2019-12-20 2020-03-24 昆明理工大学 A 1pps Pulse Signal Timing Method
CN110908272B (en) * 2019-12-20 2021-04-13 昆明理工大学 1pps pulse signal timing method
CN111711445A (en) * 2020-06-24 2020-09-25 中国地质科学院地球物理地球化学勘查研究所 Method and device for correcting nominal frequency error and electronic equipment
CN111711445B (en) * 2020-06-24 2024-05-10 中国地质科学院地球物理地球化学勘查研究所 Correction method and device for nominal frequency error and electronic equipment
CN111598727A (en) * 2020-07-23 2020-08-28 国网江西省电力有限公司电力科学研究院 A method for improving the synchronization of metering clocks in smart substations based on the code phase counting method
CN112286034A (en) * 2020-10-31 2021-01-29 武汉中海庭数据技术有限公司 Whole vehicle data time synchronization method and device, electronic equipment and storage medium
WO2022252614A1 (en) * 2021-06-01 2022-12-08 中国科学院地质与地球物理研究所 Real-time correction method for constant-temperature crystal oscillator, and electromagnetic receiver
CN113359191B (en) * 2021-06-01 2022-04-19 中国科学院地质与地球物理研究所 A real-time calibration method of constant temperature crystal oscillator and electromagnetic receiver
US11545933B2 (en) 2021-06-01 2023-01-03 Institute Of Geology And Geophysics, Chinese Academy Of Sciences Real-time correction method for oven controlled crystal oscillator and electromagnetic receiver
CN113359191A (en) * 2021-06-01 2021-09-07 中国科学院地质与地球物理研究所 Real-time correction method of constant-temperature crystal oscillator and electromagnetic receiver
CN114089020B (en) * 2021-11-10 2023-11-14 许继集团有限公司 High-resolution remote signaling acquisition device and method based on double MCUs
CN114089020A (en) * 2021-11-10 2022-02-25 许继集团有限公司 A high-resolution remote signal acquisition device and method based on dual MCUs
CN114200815A (en) * 2021-11-15 2022-03-18 秦佳电气有限公司 Method and system for improving timing precision of common timer
CN116541668A (en) * 2023-07-06 2023-08-04 杭州光粒科技有限公司 Swimming stroke number determining method, device, equipment and storage medium
CN116541668B (en) * 2023-07-06 2023-09-22 杭州光粒科技有限公司 Swimming stroke number determining method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN103616814B (en) 2016-09-07

Similar Documents

Publication Publication Date Title
CN103616814A (en) Synchronous sampling clock closed loop correcting method and system based on FPGA
CN103713552B (en) Based on self-adaptation dynamic synchronization controlling of sampling device and the method thereof of pulse per second (PPS)
CN106154816B (en) A kind of punctual method of automatic device high-precision
CN102590784B (en) Single-phase intelligent energy meter distributed correction method
CN102914697A (en) Micro-grid harmonic impedance measuring method based on three-phase symmetrical square wave current injection
CN106411295B (en) A kind of IRIG-B keeps time clock drift compensation method and circuit
CN104793053A (en) DFT (discrete Fourier transform) based synchronous phaser phase angle measurement method
CN105224811A (en) PMU dynamic data processing method based on feedback iterative frequency tracking
CN105573106A (en) Smart meter RTC timing precision correction circuit and method thereof
TW201506412A (en) Method for estimating voltage stability
CN104460311A (en) Time calibration method and device
CN103138677B (en) A kind of calibration of baud rate, Apparatus and system
CN104734127B (en) Method and system for self-adaptive ground distance protection
CN102169138A (en) Method for processing correction of phase difference of power grid test or counting device
CN103684358A (en) Sampling pulse generation method and device
CN103698598A (en) Ammeter and low-error pulse output method thereof
CN203301152U (en) Active electric power filter based on FPGA phase lock control
CN102611134B (en) Network voltage phase-frequency tracking method based on capturing unit
CN110138491A (en) GPS clock compensation method based on generalized weighted least square method
CN103178837A (en) A single-phase phase-locked loop delay elimination method based on look-up table compensation
CN109472509A (en) A Reliability Interval Evaluation Method for HVDC Transmission System
CN111830348B (en) Method and device for dynamic synchronized phasor measurement under low-frequency oscillation
CN102789192A (en) Feedback control system and frequency response measuring device thereof
CN118130895A (en) Power distribution cabinet monitoring method and system
CN104460313A (en) GPS time service device for providing high-precision large-step time synchronizing signals

Legal Events

Date Code Title Description
PB01 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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20160907

Termination date: 20191209

CF01 Termination of patent right due to non-payment of annual fee