A reconfigurable switched-capacitor DC-DC converter for millimiter-scale energy harvesting sensor nodes