Implementation of in-situ monitoring techniques for power reduction in smart sensors