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