Positioning accuracy of micropositioning stage in scanning ion conductance microscopy is the key to obtain high-precision scanning model. Most piezoelectric ceramic micromotion platforms are used for that, and hysteresis characteristics are the main reason for the nonlinear characteristics of piezoelectric ceramics and the influence on the control accuracy. In order to solve this problem, backpropagation algorithm based on whale optimization algorithm is used to model the hysteresis, which is directly used as a feedforward controller to compensate the hysteresis effect, and the robust adaptive moving average control method is used for feedback control. The results show that the hysteresis model of backpropagation algorithm based on the whale optimization algorithm can fit the hysteresis curve well, and the maximum fitting error is 0.2050 μm, only 0.256%. By adopting feedforward and feedback, feedforward robust adaptive moving average control algorithm decreases the hysteresis from 17.64% to 2.51%, which enables the output of the piezoelectric ceramic controller to track the expected displacement well and makes it possible to improve the scanning accuracy.