The application relates to a manta
ray robot fish roll control method based on
Q learning and pectoral fin amplitude bias, compared with a traditional control method, the application does not need to establish a control
object model, collects experimental data, trains a Q table offline, then transplants the table into a prototype controller, obtains a
control variable through table lookup, and controls the prototype to swim at a fixed depth. Compared with other
reinforcement learning control methods, the application has low requirements on hardware resources, small space demand, low
power consumption and convenient realization. The application has the beneficial effects that the application has low requirements on the hardware of a controller, and an ordinary single-
chip microcomputer can be used for realization, thereby saving cost, space and energy. The application does not need to establish a
mathematical model of a control object, can save a large amount of
time cost, and is difficult to establish a bionic model. The application can realize roll control of the
robot fish without expert experience for establishing a rule base, and the Q table can learn "expert experience" during training.