- 1、本文档共37页,可阅读全部内容。
- 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 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
您可能关注的文档
- 《管类零件或小型圆柱型物件的内壁喷涂跟踪机构设计》-毕业设计论文(学术).doc
- 《广西平果铝厂一期工程厂区岩溶勘察研究与分析》-毕业设计论文(学术).doc
- 《广州地铁2号线首期工程计划和进度控制管理》-毕业设计论文(学术).doc
- 《广州地铁3号线最高行车速度的确定》-毕业设计论文(学术).doc
- 《广州地铁客村-大塘区间隧道建筑物桩基托换技术》-毕业设计论文(学术).doc
- 《广州地铁三号线连拱隧道微震爆破设计》-毕业设计论文(学术).doc
- 《广州地铁四号线高架车站钢结构安装》-毕业设计论文(学术).doc
- 《广州地铁四号线高架车站钢结构施工技术》-毕业设计论文(学术).doc
- 《广州地铁四号线蕉门至冲尾段软土施工方法》-毕业设计论文(学术).doc
- 《广州地铁五号线文冲站折返线暗挖段房屋保护方案设计》-毕业设计论文(学术).doc
- 英语人教PEP版八年级(上册)Unit4+writing+写作.pptx
- 人美版美术四年级(上册)8 笔的世界 课件 (1).pptx
- 人美版美术七年级(上册)龙的制作.pptx
- 英语人教PEP版六年级(上册)Unit 2 第一课时.pptx
- 数学苏教版三年级(上册)3.3 长方形和正方形周长的计算 苏教版(共12张PPT).pptx
- 音乐人教版八年级(上册)青春舞曲 课件2.pptx
- 音乐人教版四年级(上册) 第一单元 音乐知识 附点四分音符|人教版.pptx
- 英语人教PEP版四年级(上册)Unit 6 Part B let's learn 1.pptx
- 道德与法治人教版二年级(上册)课件-3.11大家排好队部编版(共18张PPT).pptx
- 人美版美术七年级(上册)《黄山天下奇》课件1.pptx
文档评论(0)