The invention discloses a UModel + NSTSM (U mode +
nonsingular terminal sliding mode) control method for self-balancing of an unmanned bicycle. According to the method, an internal optimization-external enhancement control framework is constructed, in the internal optimization link, two U-mode controllers of a transverse roller
system and a handlebar subsystem of the unmanned bicycle are linearly connected in series by introducing a
transition function, in the external enhancement link, a
nonsingular terminal sliding mode is adopted as a compensator of a UModel controller, and the non-singular
terminal sliding mode is adopted as the compensator of the UModel controller. And therefore, an
edge enhancement control system framework controlled by the UModel is constructed. According to the UModel control, a large number of nonlinear elements of a bicycle
system are absorbed by utilizing technologies such as
inverter dynamic inversion, the amplitude of a switching item of NSTSM control is reduced, and inherent buffeting of NSTSM control is reduced; the NSTSM designs a nonlinear sliding mode through a state error, so that the dependence of UModel control on the precision of a bicycle dynamics model is weakened; the interaction of the two effectively inhibits the nonlinearity and uncertainty of the self-balancing
system of the unmanned bicycle. According to the method, the balance robustness of the unmanned bicycle can be remarkably improved, the requirement for the precision of the bicycle
kinetic model is low, the control frame structure is clear,
engineering implementation is easy, and the method has very high
engineering significance.