Yuxin Liu, N. Tan, Xiaohui Xiao, Junhu Xia, Wanrong Hu, Yan Ding
{"title":"Design and UVM Verification of an RTC Subsystem with Temperature Compensation","authors":"Yuxin Liu, N. Tan, Xiaohui Xiao, Junhu Xia, Wanrong Hu, Yan Ding","doi":"10.1109/ICICM54364.2021.9660348","DOIUrl":null,"url":null,"abstract":"The real-time clock (RTC) integrated circuit is a special-purpose accurate clock generating circuit that is used in many microcontroller units (MCUs). In this paper, we design an ultra-low power and high-precision RTC subsystem used in general purpose MCUs. A temperature compensation scheme is designed to improve the accuracy of the RTC. The RTC uses a 1Hz clock for generating the accurate time and a 32768-Hz clock for the temperature compensation, which can reduce power consumption while maintaining high accuracy. To get the temperature from the analog-to-digital (ADC), we design an ADC controller. A power management unit (PMU) is designed to control the MCU to enter or exit the ultra-low power mode. We also build a subsystem-level verification environment for the RTC using the universal verification methodology (UVM) platform. The results show that the functions of the RTC under various conditions are correct and coverage reaches 98% in the regression test, the frequency error within the industrial temperature range is ± 1 ppm after calibration, and the accuracy meets the requirement of most MCUs.","PeriodicalId":6693,"journal":{"name":"2021 6th International Conference on Integrated Circuits and Microsystems (ICICM)","volume":"11 1","pages":"384-389"},"PeriodicalIF":0.0000,"publicationDate":"2021-10-22","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2021 6th International Conference on Integrated Circuits and Microsystems (ICICM)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ICICM54364.2021.9660348","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
The real-time clock (RTC) integrated circuit is a special-purpose accurate clock generating circuit that is used in many microcontroller units (MCUs). In this paper, we design an ultra-low power and high-precision RTC subsystem used in general purpose MCUs. A temperature compensation scheme is designed to improve the accuracy of the RTC. The RTC uses a 1Hz clock for generating the accurate time and a 32768-Hz clock for the temperature compensation, which can reduce power consumption while maintaining high accuracy. To get the temperature from the analog-to-digital (ADC), we design an ADC controller. A power management unit (PMU) is designed to control the MCU to enter or exit the ultra-low power mode. We also build a subsystem-level verification environment for the RTC using the universal verification methodology (UVM) platform. The results show that the functions of the RTC under various conditions are correct and coverage reaches 98% in the regression test, the frequency error within the industrial temperature range is ± 1 ppm after calibration, and the accuracy meets the requirement of most MCUs.