The CR2032 lithium-ion button cell was chosen because of its small footprint for portable applications, flat discharge curve for direct LCD driving without compensation, and low leakage for extended operating time. A typical CR2032 is rated at ~200mA, which allows several hours of operation. To achieve the design goal of 10 years of continuous operation, the average system current consumption should not exceed 2.28μA, calculated as the battery energy value divided by the application's operating life, as shown below:
The MCU was chosen for its extremely low standby current of only 0.8μA, and it also includes a crystal oscillator, integrated LCD driver, and interrupt-driven wake-up timer. A 3?-inch LCD display adds 1μA to the system current consumption. The total standby current consumption of the countdown timer during the entire operation period is as follows:
Normally, the MCU is operating in standby mode, and the timer with a clock crystal frequency of 32kHz triggers a one-second interrupt, which allows the MCU to return to the main loop of operation (Mainloop). The main loop uses direct BCD subtraction to decrement the software countdown register, which can significantly reduce software overhead. We add decimal 99h to the software countdown timer, and the actual number subtracted is 1. Direct BCD subtraction is not only effective, but also allows the countdown to be displayed directly on the LCD without the need for current-consuming binary BCD subtraction operations. The software then displays the value in the countdown register on the LCD. Finally, the value in the countdown register is compared with zero to determine whether the preprogrammed period has expired. If so, a timeout message is displayed. The main loop requires the CPU and the on-chip high-speed oscillator to operate at a current consumption of 250μA. However, since we have reduced the loop count to less than 100 when writing the software, that is, equivalent to 100μs at the default 1MHz CPU frequency, the current consumption added by the main loop is almost negligible in such a short operating time, which is calculated as follows:
The total current consumption of the countdown digital timer is the sum of the standby and main loop current consumption:
With an average current consumption of 1.8μA, this countdown timer easily achieves the design goal of less than 2.28μA, allowing continuous operation for more than 10 years. Since the battery life can reach 10 years, we can use a non-replaceable battery when designing the countdown timer, which simplifies the construction and reduces the unit cost. Since a large number of MCU functions and pins are not used, we can also use them to add additional features. The firmware required to implement the counter is quite small, occupying less than 250 bytes on the MCU's 8k bytes of flash memory.
Previous article:PTP2000 and its application in non-stop toll collection system
Next article:A new method of self-learning and restoration of infrared remote control signals based on single chip microcomputer
- Popular Resources
- Popular amplifiers
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- Innolux's intelligent steer-by-wire solution makes cars smarter and safer
- 8051 MCU - Parity Check
- How to efficiently balance the sensitivity of tactile sensing interfaces
- What should I do if the servo motor shakes? What causes the servo motor to shake quickly?
- 【Brushless Motor】Analysis of three-phase BLDC motor and sharing of two popular development boards
- Midea Industrial Technology's subsidiaries Clou Electronics and Hekang New Energy jointly appeared at the Munich Battery Energy Storage Exhibition and Solar Energy Exhibition
- Guoxin Sichen | Application of ferroelectric memory PB85RS2MC in power battery management, with a capacity of 2M
- Analysis of common faults of frequency converter
- In a head-on competition with Qualcomm, what kind of cockpit products has Intel come up with?
- Dalian Rongke's all-vanadium liquid flow battery energy storage equipment industrialization project has entered the sprint stage before production
- Allegro MicroSystems Introduces Advanced Magnetic and Inductive Position Sensing Solutions at Electronica 2024
- Car key in the left hand, liveness detection radar in the right hand, UWB is imperative for cars!
- After a decade of rapid development, domestic CIS has entered the market
- Aegis Dagger Battery + Thor EM-i Super Hybrid, Geely New Energy has thrown out two "king bombs"
- A brief discussion on functional safety - fault, error, and failure
- In the smart car 2.0 cycle, these core industry chains are facing major opportunities!
- Rambus Launches Industry's First HBM 4 Controller IP: What Are the Technical Details Behind It?
- The United States and Japan are developing new batteries. CATL faces challenges? How should China's new energy battery industry respond?
- Murata launches high-precision 6-axis inertial sensor for automobiles
- Ford patents pre-charge alarm to help save costs and respond to emergencies
- Soldering example of SMA coaxial connector to PCB board
- 100% duty design of buck chip
- Image Processing Based on FPGA
- Limited time download gift: "What you need to know about USB3.1"
- EEWORLD University Hall----Live Replay: [Arrow] Application of TI Sitara series chips in big data products
- [Evaluation and experience of Zhongke Yihaiwei EQ6HL45 development platform] + ip_pll routine and eLinx software debugging
- Let’s discuss the development trend and direction of RF GaN
- Today's live broadcast prize addition: Introduction to Keysight's new optical communication test solution
- Chat with Vicor engineers about how to improve throughput and uptime of automated test equipment?
- Solution to ARM debugging DAbt_Handler problem