Hi and thank you for reading my question.
I have a small experimental solar panel setup which charges a deep-cycle battery using an MPPT converter. I would like to power some garage and garden lights using this setup and would like to include some low-power computers like the Raspberry pi.
Because the setup will not generate enough power during the dark winter months and during multiple days of bad weather I would like to build in a back-up power supply.
The setup is simple: I'm using a XH-M602 battery monitoring module that will switch on a relay when the voltage drops below a configurable voltage and will switch off the relay when the power has reached another configurable threshold. Using this module I want to power a 230v 30AH DPDT relay that switches between the 12V battery and a 12V AC to DC transformer.
When using this setup however there will be a voltage drop/spike, partially because it's switching from a low battery to a transformer and partially because of contact bounce.
What is the best way to mitigate these voltage drops? I was thinking about using capacitors, but i'm not sure how to incorporate this into my project.
TLDR: Want to switch from power sources using a DPDT relay, want to mitigate the voltage drops during that transition.
I wanted to include some images from my oscilloscope, but it somehow refuses to save them to USB atm, but i'm sure most of you know what i'm talking about.