高精度PCI授時板卡的設計與實現(xiàn)
發(fā)布時間:2018-01-11 13:29
本文關鍵詞:高精度PCI授時板卡的設計與實現(xiàn) 出處:《計算機應用》2017年S1期 論文類型:期刊論文
更多相關文章: 參考時鐘源 本地時鐘 實際頻率 中斷信號 授時誤差 頻率誤差 自守時誤差 同步誤差
【摘要】:針對普通計算機自身時間頻率穩(wěn)定性較差、準確度較低的問題,提出一種利用外部硬件授時板卡同步計算機時間的設計方案。首先,將國際通用的美國靶場儀器組B型時間碼(IRIG-B)或全球定位系統(tǒng)(GPS)信號接收機輸出的時間信息作為參考時鐘源來同步授時板卡的本地時鐘;其次,利用參考時鐘源準時秒脈沖和板卡上晶振頻率在時間誤差上互補的特點,對多個連續(xù)秒脈沖間的晶振計數(shù)脈沖計數(shù)值進行動態(tài)平均,周期性求取晶振的實際頻率;最后,利用分頻模塊結(jié)合晶振實際頻率產(chǎn)生1 k Hz的外設部件互連(PCI)總線中斷信號來將計算機時間同步到毫秒級。實際測試結(jié)果表明,當外部參考時鐘源有效時,授時板卡本地時鐘授時誤差約為250 ns,利用晶振實際頻率產(chǎn)生的PCI中斷信號頻率誤差比直接利用晶振標稱頻率產(chǎn)生的PCI中斷信號頻率誤差小40 Hz以上;當外部參考時鐘源失效時,利用晶振實際頻率產(chǎn)生的本地時鐘自守時誤差比利用晶振標稱頻率產(chǎn)生的本地時鐘自守時誤差小約20μs/min。利用晶振實際頻率的設計方案相比直接利用晶振標稱頻率的設計方案能夠有效減小計算機時間同步誤差。
[Abstract]:In order to solve the problem of poor time frequency stability and low accuracy of common computer, a design scheme of synchronizing computer time using external hardware timing card is proposed. The local clock of the time service card is synchronized with the time information output from the international common American range instrument Group B time code IRIG-B or the GPS signal receiver as a reference clock source. Secondly, using the characteristics of the reference clock source just-in-time second pulse and the crystal frequency on the board to complement each other in the time error, the counting value of the crystal oscillator counting pulse between several continuous second pulses is dynamically averaged. Periodic calculation of the actual frequency of the crystal oscillator; Finally, the time of the computer is synchronized to millisecond by the frequency division module combined with the actual frequency of the crystal oscillator to generate the 1 kHz interrupt signal of the PCI bus. The actual test results show that the time of the computer is synchronized to the millisecond level. When the external reference clock source is valid, the local clock timing error of the timing card is about 250 ns. The frequency error of PCI interrupt signal generated by crystal oscillator is more than 40 Hz lower than that of PCI interrupt signal produced by using crystal oscillator nominal frequency directly. When the external reference clock source fails. The local clock self-punctuality error generated by the crystal oscillator is about 20 渭 s / min lower than that by the crystal oscillator nominal frequency. Compared with the design scheme of the actual frequency of the crystal oscillator, it is more direct. The time synchronization error of computer can be effectively reduced by using the design scheme of crystal oscillator nominal frequency.
【正文快照】: 收稿日期: 2016-06-27 ; 修回日期: 2016-08-23。 基金項目: 國家自然科學基金資助項目( 61473021 ) 。 作者簡介: 師啟軍( 1991— ) ,男,山西大同人,碩士研究生,主要研究方向: 測試系統(tǒng)與儀器 、 航電檢測技術 、 無線傳感器網(wǎng)絡; 于寧 ( 1980— ,
本文編號:1409722
本文鏈接:http://sikaile.net/kejilunwen/jisuanjikexuelunwen/1409722.html
最近更新
教材專著