现代电子技术
現代電子技術
현대전자기술
MODERN ELECTRONICS TECHNIQUE
2014年
19期
102-104,107
,共4页
GPS%晶振时钟%回归分析%CPLD
GPS%晶振時鐘%迴歸分析%CPLD
GPS%정진시종%회귀분석%CPLD
GPS%crystal oscillator clock%regression analysis%CPLD
为解决普通晶振频率长期漂移量较大的问题,提出了一种用GPS秒脉冲对晶振脉冲在线自动测量及修正,从而产生本地高精度时钟的方法,据此设计了一种基于单片机和CPLD的智能自校准数字时钟系统。介绍了时钟产生及校准模块、鉴相及相差测量模块等硬件电路组成和数据采集、晶振误差补偿算法实现等软件设计。该系统在需要较高精度时间显示的场所具有实际应用价值。
為解決普通晶振頻率長期漂移量較大的問題,提齣瞭一種用GPS秒脈遲對晶振脈遲在線自動測量及脩正,從而產生本地高精度時鐘的方法,據此設計瞭一種基于單片機和CPLD的智能自校準數字時鐘繫統。介紹瞭時鐘產生及校準模塊、鑒相及相差測量模塊等硬件電路組成和數據採集、晶振誤差補償算法實現等軟件設計。該繫統在需要較高精度時間顯示的場所具有實際應用價值。
위해결보통정진빈솔장기표이량교대적문제,제출료일충용GPS초맥충대정진맥충재선자동측량급수정,종이산생본지고정도시종적방법,거차설계료일충기우단편궤화CPLD적지능자교준수자시종계통。개소료시종산생급교준모괴、감상급상차측량모괴등경건전로조성화수거채집、정진오차보상산법실현등연건설계。해계통재수요교고정도시간현시적장소구유실제응용개치。
To resolve the long term existing problem of long drift distance of crystal oscillator frequency,a method of pro-ducing local high-accuracy clock by automatically detecting and correcting the crystal oscillator pulse by means of GPS second pulse on line is put forward. According to this means,a CPLD and MCU based digital clock system with intelligent auto-calibra-tion was designed. The composition of the hardware circuits of clock production and emendation module,and phase discrimina-tion and phase difference measurement module,as well as design realization of the software for data acquisition and the crystal oscillator error compensation are introduced. The system has the actual application value in the site of needing high-accuracy time display.