Method and device for avoiding abnormal signal oscillation in UVLO test