Skip to Main Content
This paper introduces the design and implementation of a two-wheel inverted pendulum (TWIP) system with a fuzzy control scheme and the system-on-a-programmable-chip (SoPC) technology. The control scheme includes three kinds of fuzzy controls which are the fuzzy balanced standing control (FBSC), the fuzzy traveling and position control (FTPC), and the fuzzy yaw steering control (FYSC). Based on the Takagi-Sugeno fuzzy model of the TWIP, the FBSC is a structure of a parallel distributed compensator solved by the linear matrix inequality approach. Based on the motion characteristic of the TWIP, the FTPC and the FYSC are designed with Mamdani architecture if-then rules. Furthermore, the fuzzy control scheme for the real TWIP is implemented into an SoPC development board with an embedded reduced-instruction-set-computer soft-core processor and user intellectual property modules. Both the computer simulations and practical experiments demonstrate the effectiveness of the proposed control scheme.