Ship motion control based on AMBPS-PID algorithm