Realization of an adaptive voltage driver for voice coil motor