《基于8051的实时时钟芯片PCF8563驱动程序的实现》-毕业设计论文(学术).doc

《基于8051的实时时钟芯片PCF8563驱动程序的实现》-毕业设计论文(学术).doc

  1. 1、本文档共37页,可阅读全部内容。
  2. 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
基于8051的实时时钟芯片PCF8563驱动程序的实现 摘要 实时时钟芯片是目前运用最广泛的消费类电子产品之一,需为系统提供精确的时间基准,当前实时时钟采用精度较高的晶体振荡器作为时钟源。但是由于晶体的频率会随温度的变化而改变,且晶体在常温下由于封装等原因其频率也会产生一个固定的频率偏差,导致了实时时钟计时精度的降低。 在常温下(25℃),实时时钟精度约为±20 ppm。本文针对晶体振荡器的温漂特性,参考微处理器温度补偿晶体振荡器原理,根据实时时钟的电路特点,设计了一种基于分频链的频率校准算法。该算法可通过一组数字校准寄存器校准分频后的时钟频率,在不改变晶体振荡器的情况下可调节分频后的时钟频率,校准精度达±0.25 ppm,校准范围±32 ppm,间接对时钟进行校准。当实时时钟和温度传感器及MCU一起工作时,可根据温度和出厂前的设置查表进行自校准。 本文在分析校准算法的基础上,采用自顶向下(TOP-DOWN)的设计方法,实现了实时时钟的设计和验证。文中在分析多时钟域同步的基础上,针对I2C接口和内部计时两个时钟域,设计了既可满足EDA工具要求,又不增加功耗的多时钟域数据传递方案,在综合和自动布局布线后通过多种验证方法证明其功能和时序均能满足要求... 关键词:实时时钟芯片,晶体,校准 Based on?real-time?clock chip?PCF8563?8051?Implementation of Driver Base on Ajax Abstract Real time clock chip?is currently?the most widely used?consumer electronics, one of?the system?must?provide accurate?time reference, the current?real-time clock?with?high precision?crystal oscillator?as the?clock source.?However, due to?the frequency of?the crystal?changes?with temperature?changes,?and crystal?at room temperature,?the frequency of?the?package?will also have?other reasons,?a fixed?frequency offset, resulting in?reduced?accuracy of?real-time clock?time.?At room temperature?(25 ℃),?real-time clock?accuracy is about?± 20 ppm.?In this paper,?characteristics of?crystal oscillatortemperature drift,?microprocessor?temperature compensated crystal oscillator?referenceprinciple, according to?characteristics of?real-time clock?circuit?design of a?frequencychain?based on?the frequency of?the calibration?algorithm.?The algorithm can becalibrated?by?a set of numbers?divided by?the calibration?register,?the clock?frequency, without changing?the case of?the crystal oscillator?frequency?can be adjusted?after theclock frequency, the calibration?accuracy of?± 0.25 ppm,?the calibration?range of?± 32 ppm,?indirectly?Clock?calibration.?When the?real-time clock?and temperature?sensor andMCU?work?together, according to?the setting?temperature and?factory?look-up table?forself-calibration.?Based on the analysis?on the basis of?the calibratio

您可能关注的文档

文档评论(0)

沙卡娜 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档