A perturbation scheme to solve a bi-stable energy harvester