dnarenderreddy
Junior Member level 2

hello everybody, my name is narender, a b.tech final year degree.
iam doing my project on pre piad energy meter. i am facing a trouble with the design. brief about my project. there will be an energy meter ic which wil be converting the instantaneeous load into pulses and a microcontroller which will be counting those pulses and when ever the count becomes 1500 pulses then some counter is incremented and is written into the serisl eeprom chip. now when ever the counter is just to less than 1500 pulses and there is a power outage, then all the ram contents are lost. i,e a total of 1 kwh is lost. so for this i have to design a power back up unit(from batery) which will detect a power outage and swith on very quickly whenever there is power outage and i will write a interrup service routine to write the contents of the counter into the serial eeprom and after that my back up(from battery) unit also should shut down. and on power resumption i should take the values from the serial eeprom and then start counting from there.
how can this be done, a non volatile ram is not an economical one so i cant go for it. can anyone help me with some other low cost circuit and get my purpose solved.
sorry for my english.
thanks in advance.
iam doing my project on pre piad energy meter. i am facing a trouble with the design. brief about my project. there will be an energy meter ic which wil be converting the instantaneeous load into pulses and a microcontroller which will be counting those pulses and when ever the count becomes 1500 pulses then some counter is incremented and is written into the serisl eeprom chip. now when ever the counter is just to less than 1500 pulses and there is a power outage, then all the ram contents are lost. i,e a total of 1 kwh is lost. so for this i have to design a power back up unit(from batery) which will detect a power outage and swith on very quickly whenever there is power outage and i will write a interrup service routine to write the contents of the counter into the serial eeprom and after that my back up(from battery) unit also should shut down. and on power resumption i should take the values from the serial eeprom and then start counting from there.
how can this be done, a non volatile ram is not an economical one so i cant go for it. can anyone help me with some other low cost circuit and get my purpose solved.
sorry for my english.
thanks in advance.