Active stability observer using artificial neural network for intuitive physical human–robot interaction