设计了一种基于软硬件双重保障的RTC电池电量监测电路,在硬件上设定低压检测阈值,利用比较器将电池电压与阈值电压进行比较,从而判断电量状态,在软件上监测和记录RTC电池工作时间,与评估的电池理论工作时间进行对比后判断电量状态。软硬件上只要其中一种方式达到低电量判断标准,即认为RTC电池电量低,需要更换电池。实验结果表明,该软硬件双重保障的RTC电池电量监测电路可有效监测电池状态,避免电池出现馈电。
Abstract
In the paper,a RTC battery power monitoring circuit based on hardware and software dual protection is designed.The low voltage detection threshold is set on the hardware,and the battery voltage is compared with the threshold voltage by using the comparator to judge the power state.The working time of the RTC battery is detected and recorded on the software,and the power state is judged after comparing with the theoretical working time of the evaluated battery.On the hardware and software,as long as one of the methods reaches the low power judgment standard,that is,the RTC battery power is low and the battery needs to be replaced.The experiment results show that,the hardware and software dual protection RTC battery power monitoring circuit can effectively detect the battery status and avoid battery feed.
关键词
RTC电池 /
实时时钟 /
电量监测
Key words
RTC battery /
real-time clock /
battery power monitor
{{custom_sec.title}}
{{custom_sec.title}}
{{custom_sec.content}}
参考文献
[1] 周飚.嵌入式RTC的设计与实现[J].工业控制计算机,2008(4):89-90,92.
[2] 张凯,何赟泽,于湛.锂电池状态监控与报警系统设计[J].实验技术与管理,2018,35(3):91-94.
[3] 郭利进,曹学思.电池剩余电量的监控方法研究与优化[J].计算机仿真,2016,33(8):101-104.
[4] 宁东平,张志强,黄茨.装载操作系统国产化板卡复位系统的研究[J].电子与封装,2022,22(6):64-67.
[5] 龙芯中科技术股份有限公司.龙芯2K0500处理器数据手册V1.0,2021.
[6] 惠州亿纬锂能股份有限公司.CR2450HT Technical Data Sheet,2021.
[7] 周云松,黄维雄,刘骁知,等.FPGA分布式系统的固件升级设计[J].电子与封装,2022,22(10):30-34.