I am looking into using a 12v leisure battery to supply my 12v lights in the kitchen. The battery would then be topped up using a PV panel during the daylight hours.
I want to use relays (?) to switch between the 12v transformer and the battery depending on the state of the battery.
I can design a setup where the mains to the transformer, from the light switch, enables the supply to a 12v relay from the battery to supply the lights. Using a zenner diode I think I can make the 12 volt relay disengage thereby reverting back to the transformer supply when the battery voltage starts to get low.
A problem I see is that as soon as the lights go back to mains the battery voltage will recover and switch back to battery, then voltage will fall, the relay will disengage,...... effectively setting up an oscillation.
What I think I need is either some form of delay circuit which will not allow the 12v relay to engage again for some time or a way where once the 12v has dis-engaged it cannot engage again until the lights have been turned off and the on again.
Thoughts from the group? Has anyone done this? Does something already exist to do this.
Obviously I want to keep costs low so no overcompliicated system.
Thanks, Brian