EEPROM can be a right and royal pain
EEPROM with Micro and Capacitor
The circuit shown above is the memory sub-system that you would need to store data on power fail. The key components are a microcontroller for processing, an EEPROM for nonvolatile data storage, and a capacitor to provide enough power to give the micro enough time to finish writing as the power fails.
F-RAM and Microcontroller
Above is an equivalent circuit design using F-RAM. As you can see, the capacitor is no longer required for two simple reasons:
- F-RAM writes 50 to 100 times faster than EEPROM, allowing the data to be written as the main power supply fails without support from capacitors
- F-RAM uses about 1/100th the power of an EEPPROM so, in effect, the power that is dying lasts much longer
So why is this important? F-RAM allows for simpler, cost effective, and more reliable designs in automotive applications. Although F-RAM compoments are more expensive than EEPROMs, when you add up the solution cost including the EEPROM, extra capacitor, assembly issues, and extra board area, F-RAM becomes a compelling high-performance design alternative.
Also, the more data you need to write, the larger the capacitor needs to be in both size and Farads. One recent application that comes to mind needed capacitance of around 0.1F. This amount of capacitance does not come cheap. Another spec that engineers need to look at is the capacitance at max temperature. Capacitors leak and the leakage increases with temperature. Low-leakage capacitors are readily available but, again, they are more expensive.
I recommend taking the time tocalculate the amount of capacitance you actually need with your EEPROM at the maximum operating temperature and ask yourself if F-RAM actually allows a cheaper and more effective solution.