Académique Documents
Professionnel Documents
Culture Documents
INTRODUCTION When lithium cells fail due to age or leakage, the PCB
Many of Microchip’s RTCCs and SRAMs have a VBAT or surrounding circuits could be damaged. Lithium
pin intended for a backup source and are able to batteries are sometimes subject to transport
maintain the basic functions of the chip when the main restrictions owing to numerous examples of them being
power supply is absent. For RTCCs, this allows them to linked to explosions, however this is less restrictive
maintain operation of the clock for timekeeping, and for when these batteries are installed in the application. As
SRAMs, to keep data retention as long as possible. primary batteries cannot be recharged, no charging
circuit is required, saving cost.
The following application note offers guidance for
choosing the most suitable backup source for RTCC or
SRAM-based projects and for estimating the backup Rechargeable Nickel-Based Batteries
time, as well as calculating maximum charging current. (NiMH/NiCad)
Accordingly, this document describes several ways to
This type of battery needs an external, relatively
sustain clock and data in products that are susceptible
expensive charger which often requires monitoring the
to power interruptions.
charge current and the cell temperature. Alternatively,
the batteries might even be externally charged in order
COMPARISON OF BACKUP to avoid the increased cost of the basic application.
SOURCES After charging, the batteries may be installed in the
application and used as non-rechargeable batteries.
Several backup solutions will be compared below: These cells typically have a 1.2V nominal voltage. To
• Lithium primary batteries backup an RTCC or SRAM, two cells in series are
needed to get 2.4V. Standard AA and AAA cells are
• Rechargeable nickel-based batteries
popular and easy to be changed, but they need a
• Rechargeable lithium-based batteries battery holder. The cell ratings offer large capacity
• Supercapacitors relative to other battery types, suggesting long use as
backup, but their self-discharge rate is high and can
Lithium Primary Batteries greatly reduce practical backup time. An external
charging circuit will increase the cost while the usable
These common coin cells, types BR or CR, (e.g., temperature range may not be suitable for some
CR2032) with a lithium anode and a polycarbon applications.
fluoride cathode (BR type) or a manganese dioxide
cathode (CR type), work close to industrial temperature Since cadmium is a toxic heavy metal, NiCad batteries
range with a low self-discharge rate of about 1% per were gradually replaced by NiMH batteries. However,
year. Usable backup time can be very long, even NiMH batteries have some disadvantages:
exceeding ten years in some cases, depending on the • Complex chargers (trickle charging, V/ t and
application. T/ t)
• Self-discharge rate and battery life vary greatly
Note: Keep in mind that the self-discharge rate with temperature (a 20°C increase in temperature
increases (sometimes dramatically) with could halve battery life)
temperature.
After 2005, Sanyo introduced the reduced
Some lithium primary batteries are available with solder self-discharge NiMH battery, which has a 15-30%
tabs for direct soldering to a printed circuit board self-discharge rate/year (typical value:
(PCB). Panasonic = 20%/year).
If:
Accordingly, the backup time would be:
ILK = 0.8 µA
then
220 mAh/1.25 µA = 220,000/1.25h = 176,000h,
which is 7333 days, or around 20 years I2C RTCC (MCP7941X)
(IBAT 1 µA). IBAT (typical) = 0.925 µA
Backup Time = 65,000 µAh/1.725 µA, which
Typical rechargeable batteries such as NiMH and means 37,680 hours 1570 days, or about
NiCad have a higher capacity, but due to their larger 4.3 years.
size compared to the other backup options, they are
SPI RTCC (MCP795W1X/2X)
not suitable for basic backup for the very low currents
needed in RTCCs and SRAMs. These batteries are IBAT max = 0.7 µA
better suited for stand-alone and high-consumption Backup Time = 43,333h = 1805 days, or
applications, such as digital cameras and video about 4.9 years.
recorders.
SRAM (23LCV1024)
IBAT (typical) = 1 µA
CALCULATION OF THE BACKUP
TIME FOR RECHARGEABLE Backup Time = 36,111h = 1504 days, or
about 4.12 years.
BATTERIES
(COIN CELLS – LI-ION/LI-MN)
Li-Ion or Li-Mn coin cells from Hitachi-Maxell COMMENTS ON SUPERCAPACITOR
(CLB2032, ML2032) have a capacity of about 70 mAh CHARGING CIRCUIT
(Example 1). Note that this is one-third the rated
capacity compared to primary lithium coin cells The schematic for charging the supercapacitor is
CR2032 (Autec or Panasonic). presented in Figure 1.
R
VBAT
Supercap
EQUATION 3:
EXAMPLE 4: ILLUSTRATION OF
t SUPERCAPACITOR
V SC = V CC 1 – exp – --------
RC CHARGING TIME
tCHG = (-RC) x ln(0.1) = (-270 ohms x 1F) x (-2.3)
= 270sec x 2.3 = 621 sec > 10 minutes
Where:
R = 270 ohms
C = 1F The charging current will be at its maximum when the
supercapacitor is fully discharged.
Thus:
EQUATION 4:
Imax = (VCC - VDIODE)/R = 2.7V/270Ω = 10 mA
t V SC
1 – exp – -------- = ----------
RC V CC
EQUATION 5:
t V SC
exp – -------- = 1 – ----------
RC V CC
• Microchip believes that its family of products is one of the most secure families of its kind on the market today, when used in the
intended manner and under normal conditions.
• There are dishonest and possibly illegal methods used to breach the code protection feature. All of these methods, to our
knowledge, require using the Microchip products in a manner outside the operating specifications contained in Microchip’s Data
Sheets. Most likely, the person doing so is engaged in theft of intellectual property.
• Microchip is willing to work with the customer who is concerned about the integrity of their code.
• Neither Microchip nor any other semiconductor manufacturer can guarantee the security of their code. Code protection does not
mean that we are guaranteeing the product as “unbreakable.”
Code protection is constantly evolving. We at Microchip are committed to continuously improving the code protection features of our
products. Attempts to break Microchip’s code protection feature may be a violation of the Digital Millennium Copyright Act. If such acts
allow unauthorized access to your software or other copyrighted work, you may have a right to sue for relief under that Act.
QUALITY MANAGEMENT SYSTEM Microchip received ISO/TS-16949:2009 certification for its worldwide
headquarters, design and wafer fabrication facilities in Chandler and
CERTIFIED BY DNV Tempe, Arizona; Gresham, Oregon and design centers in California
and India. The Company’s quality system processes and procedures
== ISO/TS 16949 ==
are for its PIC® MCUs and dsPIC® DSCs, KEELOQ® code hopping
devices, Serial EEPROMs, microperipherals, nonvolatile memory and
analog products. In addition, Microchip’s quality system for the design
and manufacture of development systems is ISO 9001:2000 certified.