實(shí)時(shí)時(shí)鐘補(bǔ)償(Real Time Clock Compensation)
資料介紹
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).?
- TPS65950實(shí)時(shí)時(shí)鐘時(shí)序補(bǔ)償分析
- stm32f4 RTC實(shí)時(shí)時(shí)鐘解析
- MSP430單片機(jī)實(shí)時(shí)時(shí)鐘模塊的詳細(xì)介紹和使用代碼免費(fèi)下載
- 實(shí)時(shí)時(shí)鐘RTC的程序應(yīng)用設(shè)計(jì)和詳細(xì)資料免費(fèi)下載 13次下載
- AN1155中文手冊之時(shí)鐘晶振的實(shí)時(shí)校準(zhǔn) 0次下載
- dsPIC33E/PIC24E之實(shí)時(shí)時(shí)鐘和日歷(RTCC)
- TPS65950實(shí)時(shí)時(shí)鐘定時(shí)補(bǔ)償分析 12次下載
- 時(shí)鐘晶振的實(shí)時(shí)校準(zhǔn) 7次下載
- TB3124 - 實(shí)時(shí)時(shí)鐘和日歷技術(shù)簡介 0次下載
- I2C總線實(shí)時(shí)時(shí)鐘/日歷? 和EEPROM,ISL12026 25次下載
- 實(shí)時(shí)時(shí)鐘X12xx的特性及應(yīng)用
- 實(shí)時(shí)時(shí)鐘X12xx的特性及應(yīng)用
- Xicor實(shí)時(shí)時(shí)鐘系列用戶指南
- X1226 pdf datasheet (Real Time
- X1228 pdf datasheet (Real Time
- 基于FPGA的實(shí)時(shí)時(shí)鐘設(shè)計(jì) 530次閱讀
- TCXO RTC實(shí)時(shí)時(shí)鐘模塊的特性 415次閱讀
- RTC實(shí)時(shí)時(shí)鐘的基本概念和工作原理 3913次閱讀
- 基于FPGA的RTC實(shí)時(shí)時(shí)鐘系統(tǒng)設(shè)計(jì) 1325次閱讀
- 業(yè)界轉(zhuǎn)向MEMS以獲得精確的實(shí)時(shí)時(shí)鐘 1370次閱讀
- 使用實(shí)時(shí)時(shí)鐘IC DS1307制作精確時(shí)鐘的方法 6654次閱讀
- 實(shí)時(shí)時(shí)鐘的硬件結(jié)構(gòu)_實(shí)時(shí)時(shí)鐘故障怎么解決 7224次閱讀
- 實(shí)時(shí)時(shí)鐘的單片機(jī)項(xiàng)目需要學(xué)習(xí)什么知識 3574次閱讀
- STM32單片機(jī)中RTC的秒中斷的原理解析 1.4w次閱讀
- 一文看懂rtc實(shí)時(shí)時(shí)鐘和單片機(jī)時(shí)鐘的區(qū)別 6.1w次閱讀
- 關(guān)于實(shí)時(shí)時(shí)鐘模塊DS1302的介紹 1.9w次閱讀
- 實(shí)時(shí)時(shí)鐘芯片有哪些_實(shí)時(shí)時(shí)鐘芯片選型介紹 4w次閱讀
- 基于MicroBlaze的AXI總線實(shí)時(shí)時(shí)鐘IP核設(shè)計(jì) 3946次閱讀
- 實(shí)時(shí)時(shí)鐘芯片應(yīng)用設(shè)計(jì)時(shí)必須要考慮的事項(xiàng) 5546次閱讀
- MC9S08MG64實(shí)時(shí)時(shí)鐘的校準(zhǔn)和補(bǔ)償 8264次閱讀
下載排行
本周
- 1電子電路原理第七版PDF電子教材免費(fèi)下載
- 0.00 MB | 1490次下載 | 免費(fèi)
- 2單片機(jī)典型實(shí)例介紹
- 18.19 MB | 92次下載 | 1 積分
- 3S7-200PLC編程實(shí)例詳細(xì)資料
- 1.17 MB | 27次下載 | 1 積分
- 4筆記本電腦主板的元件識別和講解說明
- 4.28 MB | 18次下載 | 4 積分
- 5開關(guān)電源原理及各功能電路詳解
- 0.38 MB | 10次下載 | 免費(fèi)
- 6基于AT89C2051/4051單片機(jī)編程器的實(shí)驗(yàn)
- 0.11 MB | 4次下載 | 免費(fèi)
- 7藍(lán)牙設(shè)備在嵌入式領(lǐng)域的廣泛應(yīng)用
- 0.63 MB | 3次下載 | 免費(fèi)
- 89天練會電子電路識圖
- 5.91 MB | 3次下載 | 免費(fèi)
本月
- 1OrCAD10.5下載OrCAD10.5中文版軟件
- 0.00 MB | 234313次下載 | 免費(fèi)
- 2PADS 9.0 2009最新版 -下載
- 0.00 MB | 66304次下載 | 免費(fèi)
- 3protel99下載protel99軟件下載(中文版)
- 0.00 MB | 51209次下載 | 免費(fèi)
- 4LabView 8.0 專業(yè)版下載 (3CD完整版)
- 0.00 MB | 51043次下載 | 免費(fèi)
- 5555集成電路應(yīng)用800例(新編版)
- 0.00 MB | 33562次下載 | 免費(fèi)
- 6接口電路圖大全
- 未知 | 30320次下載 | 免費(fèi)
- 7Multisim 10下載Multisim 10 中文版
- 0.00 MB | 28588次下載 | 免費(fèi)
- 8開關(guān)電源設(shè)計(jì)實(shí)例指南
- 未知 | 21539次下載 | 免費(fèi)
總榜
- 1matlab軟件下載入口
- 未知 | 935053次下載 | 免費(fèi)
- 2protel99se軟件下載(可英文版轉(zhuǎn)中文版)
- 78.1 MB | 537791次下載 | 免費(fèi)
- 3MATLAB 7.1 下載 (含軟件介紹)
- 未知 | 420026次下載 | 免費(fèi)
- 4OrCAD10.5下載OrCAD10.5中文版軟件
- 0.00 MB | 234313次下載 | 免費(fèi)
- 5Altium DXP2002下載入口
- 未知 | 233045次下載 | 免費(fèi)
- 6電路仿真軟件multisim 10.0免費(fèi)下載
- 340992 | 191183次下載 | 免費(fèi)
- 7十天學(xué)會AVR單片機(jī)與C語言視頻教程 下載
- 158M | 183277次下載 | 免費(fèi)
- 8proe5.0野火版下載(中文版免費(fèi)下載)
- 未知 | 138039次下載 | 免費(fèi)
評論