Using piezoelectric sensor and actuator for ultrasonic assisted system