The invention provides an STM32-based autonomous
underwater robot intelligent
attitude control system and method, and relates to the technical field of
underwater robot control, and the
system comprises a sensor integration module which is used for collecting
robot state data and environment data, a model construction module which is used for outputting a state
estimation value and a disturbance force prediction value, and a control module which is used for controlling the state
estimation value and the disturbance force prediction value. The fuzzy control module is used for determining the PID parameter adjustment amount according to the target attitude and the state
estimation value, performing feed-forward compensation in combination with the disturbance force prediction value, and generating an
attitude control instruction; the electric quantity monitoring module is used for sending a charging trigger
signal, the fuzzy control module is further used for controlling the
underwater robot to be in a charging posture according to the charging trigger
signal, and the charging module is used for charging the power supply module when the wave energy power generation device reaches the optimal power generation position and sending a re-navigation
signal to the fuzzy control module after charging is completed. According to the invention, the problems of low
attitude control precision and low reliability of the
underwater robot in the prior art are solved.