Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Relay switching time control using capacitor

Status
Not open for further replies.

Naveed Ahmed

Member level 4
Member level 4
Joined
Aug 31, 2008
Messages
77
Helped
9
Reputation
18
Reaction score
9
Trophy points
1,288
Location
Singapore
Activity points
1,862
Hello dears!

I have designed Energy meter using ATMEGA32 MCU. For powering it, i have used separate power supply. When power is loss, MCU is turned off and all parameters are erased.

So, i have used a separate battery, which is used incase of power failure. The switching between power supply and battery is done using 5 pin SPDT relay using following config...

NO------Power supply
NC------Battery
C--------Output given to my circuit

When power is switched from battery to power supply, there is no problem :). But when power is switched from power supply to the battery then MCU restarts, and all the static RAM parameters are lost :(

my circuit current consumption is 300mA at 5V.

I think i have to use Farad capacitor. so that it can maintain power for some time when relay switches???

I have 1F capacitor (5.5V) available at market.



Thank you...

Suggestions and ideas plz...........



Regards

Naveed Khowaja
 

power it always from the battery, no relay.

Just charge the battery when mains is on, use diodes to isolate charger from battery.

That way you do not lose anything except for when the battery goes flat.
 

Thanks dear.

But will it be a problem when we switch from Power supply to the battery??
 
  • Like
Reactions: MAHABA

    MAHABA

    Points: 2
    Helpful Answer Positive Rating
Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top