Design of Pitch Limit Detection Algorithm for Submarine (Journal of Ocean Engineering and Technology, 2016)