99精品伊人亚洲|最近国产中文炮友|九草在线视频支援|AV网站大全最新|美女黄片免费观看|国产精品资源视频|精彩无码视频一区|91大神在线后入|伊人终合在线播放|久草综合久久中文

電子發(fā)燒友App

硬聲App

0
  • 聊天消息
  • 系統(tǒng)消息
  • 評(píng)論與回復(fù)
登錄后你可以
  • 下載海量資料
  • 學(xué)習(xí)在線課程
  • 觀看技術(shù)視頻
  • 寫文章/發(fā)帖/加入社區(qū)
會(huì)員中心
創(chuàng)作中心

完善資料讓更多小伙伴認(rèn)識(shí)你,還能領(lǐng)取20積分哦,立即完善>

3天內(nèi)不再提示
創(chuàng)作
電子發(fā)燒友網(wǎng)>電子資料下載>模擬數(shù)字>實(shí)時(shí)時(shí)鐘補(bǔ)償(Real Time Clock Compensation)

實(shí)時(shí)時(shí)鐘補(bǔ)償(Real Time Clock Compensation)

2011-02-06 | exe | 82 KB | 次下載 | 5積分

資料介紹

Real Time Clock Compensation
This document describes how to use software to compensate the real time clock (RTC) in Teridian meter chips.
The sample code discussed is from the demonstration code for the 71M6521F, but similar principles may be used
with the 71M6511, 71M6513 and other Teridian Meter products.
The Challenge
The real-time clock (RTC) in Teridian energy meter chips is based on the external crystal connected to the XIN
and XOUT pins of the on-chip oscillator. Most uses require accuracy that is better than an uncompensated clock
crystal can provide. Commercially available crystals will have a slight deviation from the target frequency at room
temperature. In addition, the crystal frequency will change with temperature following a quadratic function. There-
fore, practical clocks require some sort of compensation to get adequate accuracy.
The RTC in the 71M6521D/F
The real-time clock in Teridian energy meter chips provided on-chip in the 71M6521D and 71M6521F chips con-
sists of an oscillator and divider chain that keeps track of the current time of day and date, as long as main power
or battery power is applied to the chip. Once set, the RTC tracks real time and date at the accuracy provided by
the external 32kHz oscillator.?
The hardware of the 71M6521 permits the seconds counter to be corrected by incrementing or decrementing it
using the RTC_INC_SEC or RTC_DEC_SEC registers of the I/O RAM.
Theory of Operation
Teridian offers a solution that uses software to compensate the RTC, permitting quadratic compensation for
temperature-induced drift. This solution is purely digital, with excellent accuracy and stability. It saves space on
the integrated circuit, providing very good value compared to more expensive solutions, such as temperature-
compensated oscillators, digital drift compensation logic, or programmable loading capacitors.
The digital compensation uses the RTC_INC_SEC or RTC_DEC_SEC registers of the I/O RAM to occasionally
correct the seconds counter. This correction occurs when the calculated deviation of the clock has reached one
second. The compensation code continuously adds up the fractional error, until it equals a second, and then adds
or subtracts one second of error to or from the RTC by incrementing or decrementing the seconds counter. This
mode of operation is shown in Figure 1. While this compensation methods works fine, it is better to correct the
RTC when the error exceeds ? seconds. That way, the deviation from ideal time is always less than 500ms (see? Figure 2).?

下載該資料的人也在下載 下載該資料的人還在閱讀
更多 >

評(píng)論

查看更多

下載排行

本周

  1. 1EMC電路設(shè)計(jì)工程師必備的EMC基礎(chǔ)
  2. 0.42 MB   |  4次下載  |  2 積分
  3. 2AU3116 2×60W模擬輸入雙通道Class-D 音頻功率放大器數(shù)據(jù)手冊(cè)
  4. 1.19 MB   |  1次下載  |  免費(fèi)
  5. 3低壓降肖特基整流管SR340L數(shù)據(jù)手冊(cè)
  6. 0.78 MB   |  1次下載  |  免費(fèi)
  7. 4ZX8002E 觸摸調(diào)光LED集成IC數(shù)據(jù)手冊(cè)
  8. 2.27 MB   |  次下載  |  免費(fèi)
  9. 5SOD-323塑料封裝ESD保護(hù)二極管SD05T系列規(guī)格書
  10. 1.07 MB   |  次下載  |  免費(fèi)
  11. 6SOT-23塑料封裝ESD保護(hù)二極管SMxx Series系列規(guī)格書
  12. 0.93 MB   |  次下載  |  免費(fèi)
  13. 7高效率整流二極管HER151 THRU HER158數(shù)據(jù)手冊(cè)
  14. 0.54 MB   |  次下載  |  免費(fèi)
  15. 8低壓降肖特基整流管SL22 THRU SL210數(shù)據(jù)手冊(cè)
  16. 1.03 MB   |  次下載  |  免費(fèi)

本月

  1. 1三相逆變主電路的原理圖和PCB資料合集免費(fèi)下載
  2. 27.35 MB   |  111次下載  |  1 積分
  3. 2運(yùn)算放大器基本電路中文資料
  4. 1.30 MB   |  16次下載  |  免費(fèi)
  5. 3蘋果iphone 11電路原理圖
  6. 4.98 MB   |  11次下載  |  5 積分
  7. 4TL494工業(yè)用開關(guān)電源原理圖資料
  8. 0.22 MB   |  10次下載  |  1 積分
  9. 5常用電子元器件介紹
  10. 3.21 MB   |  8次下載  |  免費(fèi)
  11. 6QW2893應(yīng)急燈專用檢測(cè)芯片
  12. 590.40 KB  |  4次下載  |  免費(fèi)
  13. 7相關(guān)協(xié)議信號(hào)總結(jié)
  14. 0.94 MB   |  4次下載  |  免費(fèi)
  15. 8EMC電路設(shè)計(jì)工程師必備的EMC基礎(chǔ)
  16. 0.42 MB   |  4次下載  |  2 積分

總榜

  1. 1matlab軟件下載入口
  2. 未知  |  935130次下載  |  10 積分
  3. 2開源硬件-PMP21529.1-4 開關(guān)降壓/升壓雙向直流/直流轉(zhuǎn)換器 PCB layout 設(shè)計(jì)
  4. 1.48MB  |  420064次下載  |  10 積分
  5. 3Altium DXP2002下載入口
  6. 未知  |  233089次下載  |  10 積分
  7. 4電路仿真軟件multisim 10.0免費(fèi)下載
  8. 340992  |  191390次下載  |  10 積分
  9. 5十天學(xué)會(huì)AVR單片機(jī)與C語(yǔ)言視頻教程 下載
  10. 158M  |  183344次下載  |  10 積分
  11. 6labview8.5下載
  12. 未知  |  81591次下載  |  10 積分
  13. 7Keil工具M(jìn)DK-Arm免費(fèi)下載
  14. 0.02 MB  |  73815次下載  |  10 積分
  15. 8LabVIEW 8.6下載
  16. 未知  |  65989次下載  |  10 積分