高精度PCI授時(shí)板卡的設(shè)計(jì)與實(shí)現(xiàn)
發(fā)布時(shí)間:2018-01-11 13:29
本文關(guān)鍵詞:高精度PCI授時(shí)板卡的設(shè)計(jì)與實(shí)現(xiàn) 出處:《計(jì)算機(jī)應(yīng)用》2017年S1期 論文類(lèi)型:期刊論文
更多相關(guān)文章: 參考時(shí)鐘源 本地時(shí)鐘 實(shí)際頻率 中斷信號(hào) 授時(shí)誤差 頻率誤差 自守時(shí)誤差 同步誤差
【摘要】:針對(duì)普通計(jì)算機(jī)自身時(shí)間頻率穩(wěn)定性較差、準(zhǔn)確度較低的問(wèn)題,提出一種利用外部硬件授時(shí)板卡同步計(jì)算機(jī)時(shí)間的設(shè)計(jì)方案。首先,將國(guó)際通用的美國(guó)靶場(chǎng)儀器組B型時(shí)間碼(IRIG-B)或全球定位系統(tǒng)(GPS)信號(hào)接收機(jī)輸出的時(shí)間信息作為參考時(shí)鐘源來(lái)同步授時(shí)板卡的本地時(shí)鐘;其次,利用參考時(shí)鐘源準(zhǔn)時(shí)秒脈沖和板卡上晶振頻率在時(shí)間誤差上互補(bǔ)的特點(diǎn),對(duì)多個(gè)連續(xù)秒脈沖間的晶振計(jì)數(shù)脈沖計(jì)數(shù)值進(jìn)行動(dòng)態(tài)平均,周期性求取晶振的實(shí)際頻率;最后,利用分頻模塊結(jié)合晶振實(shí)際頻率產(chǎn)生1 k Hz的外設(shè)部件互連(PCI)總線中斷信號(hào)來(lái)將計(jì)算機(jī)時(shí)間同步到毫秒級(jí)。實(shí)際測(cè)試結(jié)果表明,當(dāng)外部參考時(shí)鐘源有效時(shí),授時(shí)板卡本地時(shí)鐘授時(shí)誤差約為250 ns,利用晶振實(shí)際頻率產(chǎn)生的PCI中斷信號(hào)頻率誤差比直接利用晶振標(biāo)稱(chēng)頻率產(chǎn)生的PCI中斷信號(hào)頻率誤差小40 Hz以上;當(dāng)外部參考時(shí)鐘源失效時(shí),利用晶振實(shí)際頻率產(chǎn)生的本地時(shí)鐘自守時(shí)誤差比利用晶振標(biāo)稱(chēng)頻率產(chǎn)生的本地時(shí)鐘自守時(shí)誤差小約20μs/min。利用晶振實(shí)際頻率的設(shè)計(jì)方案相比直接利用晶振標(biāo)稱(chēng)頻率的設(shè)計(jì)方案能夠有效減小計(jì)算機(jī)時(shí)間同步誤差。
[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。 基金項(xiàng)目: 國(guó)家自然科學(xué)基金資助項(xiàng)目( 61473021 ) 。 作者簡(jiǎn)介: 師啟軍( 1991— ) ,男,山西大同人,碩士研究生,主要研究方向: 測(cè)試系統(tǒng)與儀器 、 航電檢測(cè)技術(shù) 、 無(wú)線傳感器網(wǎng)絡(luò); 于寧 ( 1980— ,
本文編號(hào):1409722
本文鏈接:http://sikaile.net/kejilunwen/jisuanjikexuelunwen/1409722.html
最近更新
教材專(zhuān)著