The control objective of Pendubot is to stabilise the system in a vertically upward position by swinging up from a vertically downward position. Facing various physical constraints in practical applications, this paper proposes a swing-up stabil-isation control strategy based on a nonlinear model prediction method to accomplish the above control objective. On the basis of the system dynamics model, the forward Euler method is used to construct a nonlinear prediction model of the system. According to the control objectives and physical constraints of the system, the performance index function is designed, and then the control inputs of each sampling cycle are obtained through rolling optimisation and feedback correction, so that the system state gradually converges to the target trajectory, thus achieving the motion control objective. Based on the simulation results, it can be seen that the strategy proposed in this paper is efficient and robust under external disturbances.