I found a few resources and this question here: power-loss protection
I'm using an MCP16301 step down regulator to turn 12v to 3.3v
I'm having trouble determining I in this equation: C=I×t/ΔV
with a minimum of 6v input I get this
- ΔV = 12v-6v = 6v
- t = 5seconds
- I = ?
Question 1: If my output current is 1A max, and assuming 90% efficiency, does that mean the input current is 1A/.9 = 1.11A?
Question 2: What's the correct type of capacitor for this application?
Question 3: How do you actually detect the power loss? I'm aware than I can use an interrupt to handle the event, but what's the correct circuit?
simulate this circuit – Schematic created using CircuitLab