Battery Backup for SRAM or Microcontroller

Advertise in delabs

This circuit can be used as a low cost SRAM and Microcontroller or Microprocessor Battery Backup. All the diodes are 1N4148, The diodes prevent battery discharge back to power source. D8 gives a one way path to charge Battery thru R13 which limits current. D4 ensures a one way path of supply to chip when power is present. D5 is backup supply on power failure.

Battery Backup for SRAM or Microcontroller

The chip a real time clock, RAM or Processor can be put to standby or sleep on power failure. If it is not a smart chip then make sure on power failure all outputs of chip are high impedance or floating. do not use any pullups or resistor dividers to Vbat, which is the supply to chip. There should be no leakage path from Vbat, decoupling cap of chip must be plastic.

Microcontroller in Process Control

If you want to use this circuit for short term retention or for CMOS logic chips then you can use a 4700uF Cap in place of battery. This works for many hours but the cap has big footprint on PCB. For long duration use more battery AH Ampere-Hour. Vcc is 5V DC regulated.

The Vbat and Vcc can be monitored with comparator like LM339, this circuit can generate the reset or low battery signals. The power on reset and power down reset can corrupt data on brown outs or black outs or even spikes and EMI. So back up data on flash. For Rapid writing and reading SRAM is better and if write-read cycles are high SRAM is best. But if you need to store values and refer to them like a look-up table flash is better.

Serial Interface a 80C31 to ICL7135

The power fluctuations can hang the chip, so a watchdog chip may be required. The conventional way was the to monitor the keyboard-display scan on a i/o port. If the pulses are coming at the rate you programmed the cpu is alive and kicking and doing its job. If the CPU is taking a nap, then the pulses stop coming and it needs to be reset.

More delabs Schematic Diagrams

  • Analog Dial  Amps-Volts-Ohms meterAnalog Dial Amps-Volts-Ohms meter
    This was designed, keeping in mind, that sometimes we have few components available and you could not carry your DMM somewhere, but you have to [...]
  • 80C39 and MCS48 based Process Controller80C39 and MCS48 based Process Controller
    The Early Microcontroller : 80C39 is a CMOS Version of 8048 the one that preceded 8031-8051. MCS48 is the set for that, MCS51 is the [...]
  • Voltage to Frequency Converter AD InterfaceVoltage to Frequency Converter AD Interface
    This is the Analog front end of the 80C39 Process Controller. The analog input is protected by a Zener barrier, low leakage. You could use clamping diodes [...]
  • Digital to Analog Converter with uC WatchdogDigital to Analog Converter with uC Watchdog
    This is the continuation of the earlier post. Part of 80C39 based Process Controller. In this schematic you can see the Watchdog and D/A Converter. [...]
  • Analog mV Switch for Digital MetersAnalog mV Switch for Digital Meters
    Let us assume you have to Measure Amps and Volts in four independent circuits. This becomes a Multi Channel Voltmeter and Ammeter. This circuit uses [...]
  • Simple Thermocouple AmplifierSimple Thermocouple Amplifier
    The OP07 is in a non inverting amplifier so as not load the mV of thermocouple, the zeners are to protect circuit if junction contacts [...]
  • Constant Current Source for LEDConstant Current Source for LED
    This article will explain the way a simple transistor based current source is designed, this will give an idea on how some components can be [...]
  • Function Generator using ICL8038Function Generator using ICL8038
    ICL8038 and XR-2206 can help you build a Function Generator or Wavform Generator. It is needed along with the Oscilloscope and Power Supply on the [...]
About delabs 152 Articles
Product Design - Industrial Automation and Instrumentation. -

Be the first to comment

Leave a Reply