Adaptive photodetectors: novel approach for vibration measurements