Flying fish robot, control system and control method
The flying fish robot replicates the efficient movement of natural flying fish with a control system that integrates a pectoral fin and tail motion module, using a brushless DC motor and universal joint assembly for enhanced adaptability and extended hovering, addressing the limitations of existing water-air cross-domain robots.
Patent Information
- Application Number
- CN202411089297.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-09
- Publication Date
- 2024-12-13
- Estimated Expiration
- 2044-08-09
AI Technical Summary
Existing water-air cross-domain robots face challenges with high noise, low driving efficiency, poor flexibility, and difficult control, limiting their adaptability for multi-domain tasks, and current flying fish robot designs fail to replicate the efficient and flexible movement of natural flying fish.
A flying fish robot with a control system that integrates a pectoral fin motion module and a tail motion module, utilizing a three-phase brushless DC motor and a universal joint assembly to mimic the swimming and gliding motions of flying fish, along with a streamlined shell for reduced resistance and a control board that integrates multiple functional units for precise control.
The robot achieves a more realistic bionic effect with extended hovering time, improved electrical performance, and reduced size and power consumption through precise control and streamlined design.
Smart Images

Figure CN119117262A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of bionic fish, and more specifically, to a flying fish robot, a control system and a control method. Background Art
[0002] The water-air cross-domain robot refers to a robot system with dual functions in the water and in the air. It can switch from an underwater environment to the air, or from the air to an underwater environment, and has the ability to move in different media environments to adapt to different mission requirements. It combines the characteristics of underwater vehicles and aerial vehicles, and can perform tasks such as ocean surveys, seabed exploration, and underwater rescue underwater. It can also switch from underwater to the air to perform tasks such as aerial monitoring, search and rescue, and environmental monitoring. It has strong multi-domain adaptability and has a very broad application prospect.
[0003] In the field of water-air cross-domain robots, researchers at home and abroad have done a lot of exploratory research. At present, most robots are still in the laboratory stage, and related theories and functions need further breakthroughs. There are very few existing robots that can achieve water-air cross-domain, and most of them are driven by water jets or propellers to achieve the robot's water-air cross-domain movement. These driving methods have disadvantages such as high noise, low driving efficiency, poor flexibility and difficult control, and are difficult to adapt to the needs of multi-domain tasks. In order to improve the multi-domain adaptability of water-air cross-domain robots, it is urgent to propose a solution that can achieve efficient and flexible water-air cross-domain robots.
[0004] Since ancient times, nature has been the source of various technological ideas, engineering principles and major human inventions. There are many creatures in nature that can achieve water-air cross-medium movement, such as flying fish, dolphins, squids, manta rays, etc. Among these creatures, flying fish are representatives of cross-domain movement in water and air, and have very efficient and flexible movement capabilities. In thousands of years of natural selection, flying fish have evolved broad pectoral fins that help glide in the air, and tail fins that can provide power for jumping and high-speed swimming. During underwater movement, flying fish tighten their pectoral fins, and their tails swing at a frequency close to 35Hz, generating a large propulsion force to keep the flying fish close to the water surface. When the flying fish swims at a speed close to 10m / s, it jumps out of the water at a 30° angle to the water surface. During the process of jumping out of the water, the flying fish's tail fins continue to swing at a high frequency to provide power, and finally the flying fish leaves the water at a final speed of about 20m / s. When a flying fish reaches the highest point, it will spread its pectoral fins and glide in the air. After gliding for a certain distance, it will begin to descend. When its tail touches the water surface, it will begin to swing at a high frequency to gain power and achieve another sliding movement.
[0005] Because flying fish have excellent ability to move across water and air, they have become the object of imitation for researchers of water-to-air cross-domain robots. Researchers hope to provide new ideas for the current problems of water-to-air cross-domain robots by learning from the excellent movement ability of flying fish and applying it to the design of robots.
[0006] A Chinese patent discloses a flying fish-like robot driven by a dielectric elastomer, comprising a robot body and a flying fish-like structure arranged on the robot body, wherein the flying fish-like structure comprises driving elements of a tail fin and a pectoral fin and pectoral fins arranged on both sides of the robot body that can be deployed and retracted. The invention can realize both the deployment of the pectoral fins and the flapping of the pectoral fins. The pectoral fins on both sides adopt an deployable and retractable design, and the deployment adopts a dielectric elastomer intelligent material drive, which is conducive to the movement of the robot in water and in the air; the tail fin arranged at the tail of the robot body is mainly to provide initial power and adjust the angle for the robot in the water, and can provide greater lift for flying in the air. However, the tail of this flying fish robot is driven by a propeller, and the actual movement mode is quite different from that of a flying fish, and it is impossible to realize the characteristics of a flying fish in nature that moves flexibly underwater and swings its tail in the air to increase the airborne time. Summary of the invention
[0007] The purpose of the present invention is to overcome the shortcomings of the prior art and provide a flying fish robot which has a higher degree of bionics, flexible underwater movement and can prolong the hovering gliding time.
[0008] In order to solve the above technical problems, the technical solution adopted by the present invention is:
[0009] A flying fish robot is provided, comprising a control module, a pectoral fin motion module, a tail motion module and a shell, wherein the shell is a fish-shaped structure, the control module is electrically connected to the pectoral fin motion module and the tail motion module, the pectoral fin motion module is movably connected to the middle of the shell, and the pectoral fin motion module comprises two pectoral fins, which are arranged on both sides of the shell; the tail motion module comprises a first driving mechanism, a universal joint assembly and a tail swing assembly which are connected in sequence, the first driving mechanism is fixedly connected to the shell, the universal joint assembly and the tail swing assembly are movably connected to the shell, the universal joint assembly is used for converting the torque output by the first driving mechanism into a force for driving the tail swing assembly to swing back and forth, and the control module is electrically connected to the pectoral fin motion module and the tail motion module.
[0010] With this setting, when the flying fish robot moves, the control module comprehensively controls the movement of the pectoral fin motion module and the tail motion module, thereby realizing different movement modes. The pectoral fin motion module is used to control the opening and closing and pitch of the pectoral fins, thereby realizing underwater pitching movement and gliding in the air. The tail motion module is used to swing to generate propulsion, allowing the flying fish robot to achieve linear motion or turning. The shell serves as a seal and waterproof barrier to protect the remaining modules. The streamlined design of the shell can also reduce resistance.
[0011] Preferably, the first drive mechanism uses a three-phase brushless DC motor. Through this arrangement, the first drive mechanism has a fast response speed and a large starting torque, and can provide the torque of the required direction and magnitude of movement in a timely manner under the control of the control module.
[0012] Preferably, the universal joint assembly includes a first rotating member, a second rotating member, a third rotating member, a rotating rod and a fixed frame, one end of the first rotating member is connected to the first driving mechanism, the other end of the first rotating member is connected to the second rotating member, both ends of the third rotating member are rotatably penetrated in the second rotating member, the middle portion of the rotating rod is penetrated in the middle portion of the third rotating member and is fixedly connected, both ends of the rotating rod are rotatably connected to the fixed frame, and the fixed frame is fixedly mounted on the shell; the rotating axis of the first rotating member and the rotating axis of the third rotating member are perpendicular to each other, the rotating axis of the third rotating member and the rotating axis of the rotating rod are perpendicular to each other, the angle between the rotating axis of the first rotating member and the rotating axis of the rotating rod is less than 90°, and the rotating axes of the first rotating member, the third rotating member and the rotating axis of the rotating rod all intersect at one point.
[0013] With this arrangement, when the universal joint is working, the end of the first rotating member connected to the first driving mechanism moves along the first circle, and the end of the first rotating member connected to the second connecting member moves along the second circle. The diameter of the first circle is larger than that of the second circle. The first rotating member moves along a conical trajectory as a whole, and drives the rotating rod to reciprocate through the paths of the second rotating member and the third rotating member. The third rotating member is fixedly connected to the rotating rod and can be regarded as a whole. Through kinematic analysis, the conical rotation of the first rotating member can be decomposed into vertical movement and horizontal rotation. The second rotating member and the third rotating member have relative rotation in the up and down directions, and the remaining rotation in the horizontal direction is output to the rotating rod, so that the rotating rod can realize reciprocating rotation.
[0014] Preferably, the tail swing assembly includes a tail cage and a tail plate, one end of the tail cage is fixedly connected to the rotating rod, and the other end of the tail cage is fixedly connected to the tail plate, the tail cage is made of a rigid material, and the tail plate is made of an elastic material.
[0015] Through this arrangement, the reciprocating torque output from the rotating rod is transmitted to the tail cage, driving the tail cage and the tail plate to swing back and forth, thereby achieving the imitation of the flying fish movement.
[0016] Furthermore, the shell includes a head shell and a tail shell. The head shell is made of rigid material and has a streamlined structure. The pectoral fin motion module is movably connected to the head shell. The tail shell is made of flexible material and is sleeved on the outside of the tail cage. With this arrangement, the hard head shell will not deform under the resistance of water, which can better protect the internal components and reduce resistance. The tail shell can be partially deformed, but the deformation range will not be too large under the restriction of the internal tail cage, which is conducive to reducing resistance. At the same time, during the swinging process of the tail motion module, the gaps at each connection position will change in size. The flexible tail shell can eliminate this size fluctuation, ensure waterproofness, and thus increase the life of the equipment.
[0017] Preferably, the pectoral fin motion module includes a second drive mechanism, a third drive mechanism, an opening and closing transmission assembly and a pitch transmission assembly. The two pectoral fins are symmetrically arranged on both sides of the shell, the second drive mechanism is connected to the two pectoral fins through the opening and closing transmission assembly, and the third drive mechanism is connected to the two pectoral fins through the pitch transmission assembly.
[0018] Through this arrangement, the second drive mechanism can control the opening and closing of the pectoral fins through the opening and closing transmission assembly, and the third drive mechanism can adjust the angle of the pectoral fins through the pitch transmission assembly, thereby changing the water flow resistance and direction of the pectoral fins, thereby realizing the pitch adjustment of the flying fish robot.
[0019] Preferably, the opening and closing transmission assembly includes a rope winder, two traction ropes and two elastic members, the rope winder is connected to the first driving mechanism, one end of the two traction ropes are wound around the rope winder, and the other ends of the two traction ropes are respectively fixedly connected to the two pectoral fins; the two pectoral fins are also elastically connected to the shell through two elastic members.
[0020] With this arrangement, the elastic member has a tendency to bounce the pectoral fins open. When the pectoral fins need to be closed, the rope winder rotates forward, the traction rope is wound around the rope winder, and the traction rope drives the pectoral fins to close. When the pectoral fins need to be opened, the rope winder reverses, the traction rope detaches from the rope winder, and the elastic member bounces the pectoral fins to an open state. The degree of opening of the pectoral fins can be controlled by the length of the rope released by the rope winder.
[0021] Preferably, the pitch transmission assembly includes a driving gear, a driven gear and a rotating shaft, the driving gear is connected to the third driving mechanism, the driven gear is sleeved on the rotating shaft, the driving gear and the driven gear are meshed to form a gear transmission pair, and the two ends of the rotating shaft are respectively fixedly connected to two pectoral fins.
[0022] With this arrangement, the third driving mechanism drives the rotating shaft to rotate through the driving gear and the driven gear, and the rotation of the rotating shaft drives the pectoral fin to rotate, thereby changing the pitch angle of the pectoral fin.
[0023] Preferably, the pectoral fin includes a flexible membrane and a support rod, and the end of the support rod is rotatably connected to the outside of the shell; one end of the elastic member is connected to the shell, and the other end of the elastic member is connected to the support rod; the end of the traction rope is passed through the support rod, and the flexible membrane is installed between the support rod and the outside of the shell.
[0024] Preferably, the control module includes a posture sensor, a signal transceiver and a control board. The posture sensor and the signal transceiver are electrically connected to the control board. The control board is also electrically connected to the pectoral fin motion module and the tail motion module respectively.
[0025] Through this setting, the posture sensor can be used to monitor the posture of the flying fish robot itself, thereby providing data support for the PID control of the flying fish robot system, and the signal transceiver is used to communicate with external devices.
[0026] A flying fish robot control system is applied to the flying fish robot described in any one of the above items, and is provided with a control board, wherein the control board includes a microcontroller, a CAN transceiver, a first interface, a second interface, a wireless communication module, a gyroscope and an acceleration sensor, a USB virtual serial port and a download interface; the microcontroller is provided with a CAN controller, and the microcontroller is communicatively connected with a first drive mechanism through the CAN controller and the CAN transceiver in sequence; the microcontroller is also connected with the acceleration sensor through an I2C bus and a gyroscope; the microcontroller controls the operation of the second drive mechanism through the first interface, and controls the operation of the third drive mechanism through the second interface; the wireless communication module communicates with the microcontroller through an SPI bus to realize wireless control of robot movement; the USB virtual serial port is used to send motor feedback data to a computer, and the download interface is used to burn a program; the power supply unit is used to supply energy to the first drive mechanism, the second drive mechanism, the third drive mechanism and the control board.
[0027] The motors include but are not limited to the drive motors used by the first drive mechanism, the second drive mechanism and the third drive mechanism. Through this setting, the control board is simplified, and the control board integrates functional modules such as steering gear drive, wireless communication, attitude detection, numerous motor drives, and data transmission, which effectively reduces the occupied space and is conducive to reducing the size of the flying fish robot; in addition, it also reduces the transmission distance and resistance of the signal, which is conducive to improving electrical performance, reducing signal interference and transmission loss, and improving the safety of the control board.
[0028] Preferably, the microcontroller also includes a linear voltage regulator, a crystal oscillator circuit, a reset circuit and a breathing light.
[0029] Preferably, the wireless communication module adopts NRF24L01-R, the gyroscope and acceleration sensor adopt MPU6050, the linear voltage regulator adopts AMS1117-3.3, and the crystal oscillator circuit adopts 8MHz.
[0030] Preferably, the microcontroller also includes a timer, and the timer outputs PWM1 and PWM2 signals to the second drive mechanism and the third drive mechanism for rotation. Through this setting mode, the microcontroller controls the opening and closing of the pectoral fins and the pitch angle through the timer, and the microcontroller uses the speed and angular velocity of the three directions of X, Y, and Z fed back by the MPU6050 to adjust the amplitude of the opening and closing of the pectoral fins and the pitch, thereby controlling the motion posture of the flying fish robot; the flying fish robot can approach the water surface and jump out at a certain speed and angle with the cooperation of the tail swing assembly and the pectoral fins, and the pectoral fins are fully opened to obtain lift after entering the air, and the tail swing assembly continues to swing to generate propulsion, and the tail swing assembly stops swinging after it is completely out of the water, and finally the flying fish robot glides at a certain speed above the water surface, and when the speed of the flying fish robot decreases and is about to fall into the water, the tail swing assembly begins to swing to generate propulsion, and the flying fish robot continues to glide in the air after the speed increases, thereby realizing long-distance gliding motion.
[0031] Preferably, the software system in the microcontroller is configured to include a hardware driver layer, an intermediate layer and a user layer, wherein the hardware driver layer is responsible for driving various peripherals connected to the microcontroller, the intermediate layer adopts the embedded real-time operating system FreeRTOS, and the user layer includes several preset tasks.
[0032] Furthermore, the preset tasks of the user layer include the start task, the key mode setting task, the PWM control task, the protocol parsing task, the wireless communication module task and the MPU6050 task;
[0033] Furthermore, in starting the task, a plurality of subtasks and kernel objects are created respectively. The kernel objects include but are not limited to event flag groups, message queues, semaphores, and the like.
[0034] Further, in the initial state, the flying fish robot is set to the pause mode, and the operator can change the working mode of the flying fish robot through the wireless communication module task and the key mode setting task;
[0035] The key mode setting task is set as follows: after pressing the button, the controller interrupt will send a semaphore to the key mode setting task. The key mode setting task counts the semaphore. When pressed once within 3 seconds, it enters the PID setting mode, which is used to switch the PID controller of the Flying Fish robot. When the Flying Fish is in the PID setting mode, press the button twice within 3 seconds to enter the speed loop PID control; when the Flying Fish is in the PID setting mode, press the button 3 times within 3 seconds to enter the speed and position dual-loop PID control. Then the task will set the corresponding event flag, and the Flying Fish enters the running mode.
[0036] Furthermore, the MPU6050 task is used to obtain the posture data of the flying fish robot, and change the PWM of the second drive mechanism and the third drive mechanism through the posture data of the flying fish. At the same time, the wireless communication module task will encapsulate the posture data into a protocol frame and send it to the remote control device through the wireless communication module. The PC can send the control protocol frame to the microcontroller through the remote control device and the wireless communication module. When the microcontroller receives the protocol frame, the protocol parsing task will parse the received protocol and execute corresponding functions according to the parsed protocol, including but not limited to setting the position and speed of the first drive mechanism of the flying fish robot; setting the PWM of the second drive mechanism and the third drive servo; setting the working mode of the flying fish robot, etc.
[0037] A flying fish robot motion control method is applied to the above-mentioned flying fish robot control system, including underwater motion control and gliding motion control, wherein the underwater motion control includes linear control, acceleration / deceleration control, direction change control and pitch control; the gliding motion control includes the following steps:
[0038] S1, the controller receives the external leap signal and sends a leap command to the tail motion module and the pectoral fin motion module;
[0039] S2, the tail motion module receives the leap command, the first drive mechanism maintains a certain output frequency, so that the flying fish robot has an initial velocity V1; the pectoral fin motion module receives the leap command, the pectoral fins are partially unfolded and form an angle α with the motion direction; the flying fish robot obtains an upward swimming posture;
[0040] S3, after the control module detects that the pectoral fin motion module leaves the water surface, it outputs a gliding instruction to the pectoral fin motion module;
[0041] S3, the pectoral fin motion module receives the gliding command, and the pectoral fins are fully unfolded;
[0042] S4, after the control module detects that the tail motion module leaves the water surface, it sends a gliding command to the tail motion module;
[0043] S5, the tail motion module stops swinging after receiving the gliding command, and the flying fish robot glides in the air at a speed of V2;
[0044] S6, when the control module detects that V2 < 1m / s, it sends a working instruction to the tail motion module;
[0045] S7, the tail motion module swings again to generate propulsion force, extending the flying fish robot's hovering time;
[0046] S8. The control module detects that the flying fish robot falls into the water, the gliding motion control ends, and enters the underwater motion control.
[0047] Through this setting, the flying fish robot can truly restore the movement posture of flying fish in nature, thereby achieving a longer hovering time, which is conducive to improving simulation and concealment.
[0048] Preferably, in step S1, V1>2m / s, 20°<α<30°.
[0049] Preferably, in the gliding motion control, the first driving mechanism is a three-phase brushless DC motor, and is controlled by a double-cascade PID algorithm, specifically:
[0050] The control module obtains the rotation angle deviation of the first drive mechanism 31 as the first error. The first error is passed through the position loop PID algorithm to obtain the position loop output value. The position loop output value is passed through the speed loop PID algorithm to obtain the expected speed. The expected speed is output as the speed value of the first drive mechanism 31. At the same time, the expected speed is compared with the actual speed of the first drive mechanism to obtain the second error. The second error is then passed through the speed loop PID algorithm to obtain a new expected speed to complete the closed-loop control.
[0051] The PID algorithm is as follows:
[0052]
[0053] in:
[0054] u(k): The calculation result of the PID algorithm, that is, the control quantity,
[0055] Kp: The adjustment coefficient of the proportional term, used to adjust the performance of PID.
[0056] Ki: The adjustment coefficient of the integral term, used to adjust the performance of PID.
[0057] Kd: The adjustment coefficient of the differential term, used to adjust the performance of PID.
[0058] e(k): Error, i.e. target value - current state value of the controlled object,
[0059] [e(k)-e(k-1)]: Current error - last error.
[0060] The Kp, Ki, and Kd are all empirical values, which are manually adjusted and controlled. Through this setting method, the closed-loop control of the first drive mechanism is realized through the double-loop PID algorithm, and the control module can continuously adjust the speed value of the first drive mechanism based on the actual motion results, which greatly improves the accuracy of the flying fish robot motion control.
[0061] Compared with the prior art, the present invention has the following beneficial effects:
[0062] (1) Through the control module's control of the pectoral fin motion module and the tail motion module, as well as the structural setting of the universal joint assembly in the tail motion module, the flying fish robot can fully reproduce the gliding action of the flying fish, achieving a more realistic bionic effect and a longer hovering time.
[0063] (2) The circuit design is streamlined, and multiple functional units are integrated on the control board, which is conducive to reducing the size of the flying fish robot and reducing the signal transmission distance and resistance, which is conducive to improving electrical performance and improving the safety of the control board.
[0064] (3) The gliding motion is controlled by the PID algorithm, and the gliding posture of the flying fish robot is corrected and adjusted in real time, which improves the accuracy of the flying fish robot's bionic motion, helps to further reduce power consumption and improve gliding performance. BRIEF DESCRIPTION OF THE DRAWINGS
[0065] Figure 1 This is a schematic diagram of the appearance of a flying fish robot according to the present invention;
[0066] Figure 2 This is a schematic diagram of the internal structure of a flying fish robot of the present invention;
[0067] Figure 3 This is a schematic diagram of the structure of a tail motion module of a flying fish robot of the present invention;
[0068] Figure 4 This is a schematic structural diagram of a universal joint assembly of a flying fish robot of the present invention;
[0069] Figure 5 This is a schematic diagram of the structure of a pectoral fin motion module of a flying fish robot of the present invention;
[0070] Figure 6 This is a schematic diagram of a flying fish robot control system of the present invention;
[0071] Figure 7 A schematic diagram of a PDI algorithm of a flying fish robot control system of the present invention;
[0072] Figure 8 The figure is a schematic diagram of the software system of a flying fish robot according to the present invention.
[0073] The illustrations are as follows:
[0074] 1. Control module; 2. Pectoral fin motion module; 21. Pectoral fin; 211. Flexible membrane; 212. Support rod; 22. Second drive mechanism; 23. Third drive mechanism; 24. Opening and closing transmission assembly; 241. Rope winder; 242. Towing rope; 243. Elastic member; 25. Pitch transmission assembly; 251. Driving gear; 252. Driven gear; 253. Rotating shaft; 3. Tail motion module; 31. First drive mechanism; 32. Universal joint assembly; 321. First rotating member; 322. Second rotating member; 323. Third rotating member; 324. Rotating rod; 325. Fixed frame; 33. Tail swing assembly; 331. Tail cage; 332. Tail plate; 4. Shell; 41. Head shell; 42. Tail shell;
[0075] The dotted line a is the rotation axis of the first rotating member; the dotted line b is the rotation axis of the third rotating member; and the dotted line c is the rotation axis of the rotating rod. DETAILED DESCRIPTION
[0076] The present invention is further described below in conjunction with specific implementation methods. The accompanying drawings are only used for exemplary descriptions and are only schematic diagrams, not actual drawings, and cannot be understood as limiting this patent; in order to better illustrate the embodiments of the present invention, some parts of the accompanying drawings may be omitted, enlarged or reduced, and do not represent the size of the actual product; for those skilled in the art, it is understandable that some well-known structures and their descriptions in the accompanying drawings may be omitted.
[0077] The same or similar numbers in the drawings of the embodiments of the present invention correspond to the same or similar parts; in the description of the present invention, it should be understood that if the terms "upper", "lower", "left", "right" and the like indicate directions or positional relationships based on the directions or positional relationships shown in the drawings, it is only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific direction, be constructed and operated in a specific direction. Therefore, the terms describing the positional relationship in the drawings are only used for illustrative purposes and cannot be understood as limitations on this patent. For ordinary technicians in this field, the specific meanings of the above terms can be understood according to specific circumstances.
[0078] Example 1
[0079] like Figures 1 to 5The figure shows an embodiment of a flying fish robot of the present invention, comprising a control module 1, a pectoral fin motion module 2, a tail motion module 3 and a shell 4, wherein the shell 4 is a fish-shaped structure, the control module 1 is electrically connected to the pectoral fin motion module 2 and the tail motion module 3, the pectoral fin motion module 2 is movably connected to the middle of the shell 4, and the pectoral fin motion module 2 comprises two pectoral fins 21, and the two pectoral fins 21 are arranged on both sides of the shell 4; the tail motion module 3 comprises a first driving mechanism 31, a universal joint assembly 32 and a tail swing assembly 33 connected in sequence, the first driving mechanism 31 is fixedly connected to the shell 4, the universal joint assembly 32 and the tail swing assembly 33 are movably connected to the shell 4, the universal joint assembly 32 is used to convert the torque output by the first driving mechanism 31 into a force for driving the tail swing assembly 33 to swing back and forth, and the control module 1 is electrically connected to the pectoral fin motion module 2 and the tail motion module 3.
[0080] With this arrangement, when the flying fish robot moves, the control module 1 comprehensively controls the movements of the pectoral fin movement module 2 and the tail movement module 3, thereby realizing different movement modes. The pectoral fin movement module 2 is used to control the opening and closing and pitching of the pectoral fins 21, thereby realizing underwater pitching movement and gliding in the air. The tail movement module 3 is used to swing to generate propulsion force, so that the flying fish robot can achieve linear motion or turning. The shell 4 plays a role of sealing and waterproofing, and is used to protect the remaining modules. The streamlined design of the shell 4 can also reduce resistance.
[0081] As an embodiment of the present invention, a three-phase brushless DC motor is selected as the first drive mechanism 31. With this arrangement, the first drive mechanism 31 has a fast response speed and a large starting torque, and can provide a torque of the required direction and magnitude of movement in a timely manner under the control of the control module 1.
[0082] As an embodiment of the present invention, the universal joint assembly 32 includes a first rotating member 321, a second rotating member 322, a third rotating member 323, a rotating rod 324 and a fixed frame 325. One end of the first rotating member 321 is connected to the first driving mechanism 31, and the other end of the first rotating member 321 is connected to the second rotating member 322. Both ends of the third rotating member 323 are rotatably arranged in the second rotating member 322. The middle part of the rotating rod 324 is fixedly arranged in the middle part of the third rotating member 323. Both ends of the rotating rod 324 are rotatably connected to the fixed frame 325, and the fixed frame 325 is fixedly installed on the housing 4; the rotating axis of the first rotating member 321 and the rotating axis of the third rotating member 323 are perpendicular to each other, the rotating axis of the third rotating member 323 and the rotating axis of the rotating rod 324 are perpendicular to each other, the rotating axis of the first rotating member 321 moves along a conical trajectory, and the rotating axes of the first rotating member 321, the third rotating member 323 and the rotating axis of the rotating rod 324 all intersect at one point.
[0083] With this arrangement, when the universal joint is working, the end of the first rotating member 321 connected to the first driving mechanism 31 moves along the first circle, and the end of the first rotating member 321 connected to the second connecting member moves along the second circle. The diameter of the first circle is larger than that of the second circle. The first rotating member 321 moves along a conical trajectory as a whole, and drives the rotating rod 324 to reciprocate through the paths of the second rotating member 322 and the third rotating member 323. Among them, the third rotating member 323 is fixedly connected to the rotating rod 324 and can be regarded as a whole. Through kinematic analysis, the conical rotation of the first rotating member 321 can be decomposed into vertical movement and horizontal rotation. There is a relative rotation in the up and down directions between the second rotating member 322 and the third rotating member 323, and the remaining rotation in the horizontal direction is output to the rotating rod 324, so that the rotating rod 324 can realize reciprocating rotation.
[0084] As an embodiment of the present invention, the tail swing assembly 33 includes a tail cage 331 and a tail plate 332. One end of the tail cage 331 is fixedly connected to the rotating rod 324, and the other end of the tail cage 331 is fixedly connected to the tail plate 332. The tail cage 331 is made of a rigid material, and the tail plate 332 is made of an elastic material.
[0085] Through this arrangement, the reciprocating torque output from the rotating rod 324 is transmitted to the tail cage 331, driving the tail cage 331 and the tail plate 332 to reciprocate, thereby achieving the imitation of the flying fish movement.
[0086] As an embodiment of the present invention, the shell 4 includes a head shell 41 and a tail shell 42. The head shell 41 is made of rigid material and has a streamlined structure. The pectoral fin motion module 2 is movably connected to the head shell 41. The tail shell 42 is made of flexible material and is sleeved on the outside of the tail cage 331. Through this arrangement, the hard head shell 41 will not be deformed by the resistance of water, which can better protect the internal components and reduce resistance. The tail shell 42 can be partially deformed, but the deformation range will not be too large under the restriction of the internal tail cage 331, which is conducive to reducing resistance. At the same time, during the swinging process of the tail motion module 3, the gaps at each connection position will change in size. The flexible tail shell 42 can eliminate the size fluctuation, ensure waterproofness, and thus increase the life of the equipment.
[0087] As an embodiment of the present invention, the pectoral fin motion module 2 includes a second driving mechanism 22, a third driving mechanism 23, an opening and closing transmission assembly 24 and a pitch transmission assembly 25. The two pectoral fins 21 are symmetrically arranged on both sides of the shell 4. The second driving mechanism 22 is connected to the two pectoral fins 21 through the opening and closing transmission assembly 24, and the third driving mechanism 23 is connected to the two pectoral fins 21 through the pitch transmission assembly 25.
[0088] Through this arrangement, the second driving mechanism 22 can control the opening and closing of the pectoral fin 21 through the opening and closing transmission assembly 24, and the third driving mechanism 23 can adjust the angle of the pectoral fin 21 through the pitch transmission assembly 25, thereby changing the water flow resistance and direction of the pectoral fin 21, thereby realizing the pitch adjustment of the flying fish robot.
[0089] As an embodiment of the present invention, the opening and closing transmission assembly 24 includes a rope winder 241, two traction ropes 242 and two elastic members 243. The rope winder 241 is connected to the first driving mechanism 31, one end of the two traction ropes 242 are connected to the rope winder 241, and the other ends of the two traction ropes 242 are respectively fixedly connected to the two pectoral fins 21; the two pectoral fins 21 are also elastically connected to the shell 4 through two elastic members 243.
[0090] With this arrangement, the elastic member 243 tends to bounce the pectoral fin 21 to open. When the pectoral fin 21 needs to be closed, the rope winder 241 rotates forward, the traction rope 242 is wound around the rope winder 241, and the traction rope 242 drives the pectoral fin 21 to close; when the pectoral fin 21 needs to be opened, the rope winder 241 reverses, the traction rope 242 detaches from the rope winder 241, and the elastic member 243 bounces the pectoral fin 21 to an open state. The degree of opening of the pectoral fin 21 can be controlled by the length of the rope released by the rope winder 241.
[0091] As an embodiment of the present invention, the pitch transmission assembly 25 includes a driving gear 251, a driven gear 252 and a rotating shaft 253, the driving gear 251 is connected to the third driving mechanism 23, the driven gear 252 is sleeved on the rotating shaft 253, the driving gear 251 and the driven gear 252 are meshed to form a gear transmission pair, and the two ends of the rotating shaft 253 are respectively fixedly connected to the two pectoral fins 21.
[0092] With this arrangement, the third driving mechanism 23 drives the rotating shaft 253 to rotate through the driving gear 251 and the driven gear 252 . The rotation of the rotating shaft 253 drives the pectoral fin 21 to rotate, thereby changing the pitch angle of the pectoral fin 21 .
[0093] As an embodiment of the present invention, the pectoral fin 21 includes a flexible membrane 211 and a support rod 212, and the end of the support rod 212 is rotatably connected to the outer side of the shell 4; one end of the elastic member 243 is connected to the shell 4, and the other end of the elastic member 243 is connected to the support rod 212; the end of the traction rope 242 is passed through the support rod 212, and the flexible membrane 211 is arranged between the support rod 212 and the outer side of the shell 4.
[0094] Example 2
[0095] like Figures 6 to 8The figure shows an embodiment of a flying fish robot control system of the present invention, which is applied to the flying fish robot of Example 1, including a control board and a power supply unit, the control board including a microcontroller, a CAN transceiver, a first interface, a second interface, a wireless communication module, a gyroscope and an acceleration sensor, a USB virtual serial port and a download interface; the microcontroller is provided with a CAN controller, and the microcontroller is connected to the first drive mechanism 31 through the CAN controller and the CAN transceiver in turn; the microcontroller is also connected to the acceleration sensor through the I2C bus and the gyroscope; the microcontroller controls the second drive mechanism 22 to work through the first interface, and the microcontroller controls the third drive mechanism 23 to work through the second interface; the wireless communication module communicates with the microcontroller through the SPI bus to realize wireless control of the robot movement; the USB virtual serial port is used to send the motor feedback data to the computer, and the download interface is used to burn the program; the power supply unit is used to supply energy to the first drive mechanism 31, the second drive mechanism 22, the third drive mechanism 23 and the control board.
[0096] As an embodiment of the present invention, the first driving mechanism is driven by a brushless motor, and the second driving mechanism and the third driving mechanism are driven by a steering gear.
[0097] Through this setting method, the control board is streamlined. The control board integrates functional modules such as servo drive, wireless communication module, attitude detection, countless motor drives, data transmission, etc., which effectively reduces the occupied space and is conducive to reducing the size of the flying fish robot; in addition, it also reduces the transmission distance and resistance of the signal, which is conducive to improving electrical performance, reducing signal interference and transmission loss, and improving the safety of the control board.
[0098] As an embodiment of the present invention, the software system in the microcontroller is configured to include a hardware driver layer, an intermediate layer and a user layer. The hardware driver layer is responsible for driving various peripherals connected to the microcontroller, the intermediate layer adopts the embedded real-time operating system FreeRTOS, and the user layer includes several preset tasks.
[0099] As an embodiment of the present invention, the microcontroller further includes a linear voltage regulator, a crystal oscillator circuit, a reset circuit and a breathing lamp.
[0100] As an embodiment of the present invention, the wireless communication module adopts NRF24L01-R, the gyroscope and acceleration sensor adopt MPU6050, the linear voltage regulator adopts AMS1117-3.3, and the crystal oscillator circuit adopts 8MHz.
[0101] As an embodiment of the present invention, the microcontroller further includes a timer, and the timer outputs PWM1 and PWM2 signals to the second drive mechanism 22 and the third drive mechanism 23 for rotation. Through this setting mode, the microcontroller controls the opening and closing and pitch angle of the pectoral fin 21 through the timer, and the microcontroller simultaneously uses the speed and angular velocity of the three directions of X, Y, and Z fed back by the MPU6050 to adjust the amplitude of the opening and closing and pitch of the pectoral fin, thereby controlling the motion posture of the flying fish robot; the flying fish robot can approach the water surface and jump out at a certain speed and angle under the cooperation of the tail swing component 33 and the pectoral fin 21, and the pectoral fin 21 is fully opened to obtain lift after entering the air, and the tail swing component 33 continues to swing to generate propulsion, and the tail swing component 33 stops swinging after it is completely out of the water, and finally the flying fish robot glides at a certain speed above the water surface, and when the speed of the flying fish robot decreases and is about to fall into the water, the tail swing component 33 begins to swing to generate propulsion, and the flying fish robot continues to glide in the air after the speed increases, thereby realizing long-distance gliding motion.
[0102] As an embodiment of the present invention, the preset tasks of the user layer include a start task, a key mode setting task, a PWM control task, a protocol parsing task, a wireless communication module task and an MPU6050 task;
[0103] In the start task, multiple subtasks and kernel objects are created respectively. The kernel objects include but are not limited to event flag groups, message queues, semaphores, etc.
[0104] As an embodiment of the present invention, in the initial state, the flying fish robot is set to the pause mode, and the operator can change the working mode of the flying fish robot through the wireless communication module task and the key mode setting task;
[0105] The key mode setting task is set as follows: after pressing the button, the controller interrupt will send a semaphore to the key mode setting task. The key mode setting task counts the semaphore. When pressed once within 3 seconds, it enters the PID setting mode, which is used to switch the PID controller of the Flying Fish robot. When the Flying Fish is in the PID setting mode, press the button twice within 3 seconds to enter the speed loop PID control; when the Flying Fish is in the PID setting mode, press the button 3 times within 3 seconds to enter the speed and position dual-loop PID control. Then the task will set the corresponding event flag, and the Flying Fish enters the running mode.
[0106] As an embodiment of the present invention, the MPU6050 task is used to obtain the posture data of the flying fish robot, and change the PWM of the second drive mechanism 22 and the third drive mechanism 23 according to the posture data of the flying fish. At the same time, the wireless communication module task will encapsulate the posture data into a protocol frame and send it to the remote control device through the wireless communication module. The PC side can send the control protocol frame to the microcontroller through the remote control device and the wireless communication module. When the microcontroller receives the protocol frame, the protocol parsing task will parse the received protocol and execute corresponding functions according to the parsed protocol, including but not limited to setting the position and speed of the first drive mechanism 31 of the flying fish robot; setting the PWM of the second drive mechanism 22 and the third drive mechanism 23; setting the working mode of the flying fish robot, etc.
[0107] Example 3
[0108] The following is an embodiment of a flying fish robot motion control method of the present invention, which is applied to the flying fish robot control system of Example 2, including underwater motion control and gliding motion control, the pectoral fin motion module 2 includes pectoral fins 21, the underwater motion control includes linear control, acceleration / deceleration control, direction change control and pitch control; the gliding motion control includes the following steps:
[0109] S1, the controller receives the external leap signal and sends a leap command to the tail motion module 3 and the pectoral fin motion module 2;
[0110] S2, the tail motion module 3 receives the leap instruction, the first drive mechanism 31 maintains a certain output frequency, so that the flying fish robot has an initial velocity V1, V1 = 5m / s; the pectoral fin motion module 2 receives the leap instruction, the pectoral fin 21 is partially unfolded and forms an angle α with the motion direction, α = 25°; the flying fish robot obtains an upward swimming posture;
[0111] S3, after the control module 1 detects that the pectoral fin motion module 2 leaves the water surface, it outputs a gliding instruction to the pectoral fin motion module 2;
[0112] S3, the pectoral fin motion module 2 receives the gliding instruction, and the pectoral fin 21 is fully unfolded;
[0113] S4, after the control module 1 detects that the tail motion module 3 leaves the water surface, it sends a gliding instruction to the tail motion module 3;
[0114] S5, the tail motion module 3 stops swinging after receiving the gliding command, and the flying fish robot glides in the air at a speed of V2;
[0115] S6, when the control module 1 detects that V2 < 1m / s, it sends a working instruction to the tail motion module;
[0116] S7, the tail motion module 3 swings again to generate propulsion force, extending the flying fish robot's hovering time;
[0117] S8. The control module 1 detects that the flying fish robot falls into the water, the gliding motion control ends, and enters the underwater motion control.
[0118] Through this setting, the flying fish robot can truly restore the movement posture of flying fish in nature, thereby achieving a longer hovering time, which is conducive to improving simulation and concealment.
[0119] As an embodiment of the present invention, in the gliding motion control, the first driving mechanism 31 is a three-phase DC brushless motor, and is controlled by a double-cascade PID algorithm, specifically:
[0120] The control module obtains the rotation angle deviation of the first drive mechanism 31 as the first error. The first error is passed through the position loop PID algorithm to obtain the position loop output value. The position loop output value is passed through the speed loop PID algorithm to obtain the expected speed. The expected speed is output as the speed value of the first drive mechanism 31. At the same time, the expected speed is compared with the actual speed of the first drive mechanism to obtain the second error. The second error is then passed through the speed loop PID algorithm to obtain a new expected speed to complete the closed-loop control.
[0121] The PID algorithm is as follows:
[0122]
[0123] in:
[0124] u(k): The calculation result of the PID algorithm, that is, the control quantity,
[0125] Kp: The adjustment coefficient of the proportional term, used to adjust the performance of PID.
[0126] Ki: The adjustment coefficient of the integral term, used to adjust the performance of PID.
[0127] Kd: The adjustment coefficient of the differential term, used to adjust the performance of PID.
[0128] e(k): Error, that is, target value - current state value of the controlled object,
[0129] [e(k)-e(k-1)]: Current error - last error.
[0130] Kp, Ki, and Kd are all empirical values, which are manually adjusted and controlled. Through this setting method, the closed-loop control of the first drive mechanism 31 is realized through the double-loop PID algorithm, and the control module can continuously adjust the speed value of the first drive mechanism 31 based on the actual motion result, which greatly improves the accuracy of the flying fish robot motion control.
[0131] Obviously, the above embodiments of the present invention are merely examples for clearly illustrating the present invention, and are not intended to limit the embodiments of the present invention. For those skilled in the art, other different forms of changes or modifications can be made based on the above description. It is not necessary and impossible to list all the embodiments here. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the claims of the present invention.
Claims
1. A flying fish robot, characterized in that: The invention comprises a control module (1), a pectoral fin motion module (2), a tail motion module (3) and a shell (4), wherein the shell (4) is a fish-shaped structure, the control module (1) is electrically connected to the pectoral fin motion module (2) and the tail motion module (3), the pectoral fin motion module (2) is movably connected to the middle of the shell (4), and the pectoral fin motion module (2) comprises two pectoral fin pieces (21), and the two pectoral fin pieces (21) are respectively arranged on both sides of the shell (4); the tail motion module (3) comprises a plurality of pectoral fin pieces (21) connected in sequence; A first driving mechanism (31), a universal joint assembly (32) and a tail swing assembly (33), wherein the first driving mechanism (31) is fixedly connected to the housing (4), the universal joint assembly (32) and the tail swing assembly (33) are both movably connected to the housing (4), the universal joint assembly (32) is used to convert the torque output by the first driving mechanism (31) into a force for driving the tail swing assembly (33) to swing back and forth, and the control module (1) is electrically connected to the pectoral fin motion module (2) and the tail motion module (3).
2. The flying fish robot according to claim 1, characterized in that: The universal joint assembly (32) comprises a first rotating member (321), a second rotating member (322), a third rotating member (323), a rotating rod (324) and a fixed frame (325), wherein one end of the first rotating member (321) is connected to the first driving mechanism (31), the other end of the first rotating member (321) is connected to the second rotating member (322), both ends of the third rotating member (323) are rotatably inserted into the second rotating member (322), the middle part of the rotating rod (324) is inserted into the middle part of the third rotating member (323) and is fixedly connected, and the rotating rod (324) Both ends are rotatably connected to a fixing frame (325), and the fixing frame (325) is fixedly mounted on the housing (4); the rotation axis of the first rotating member (321) and the rotation axis of the third rotating member (323) are perpendicular to each other, the rotation axis of the third rotating member (323) and the rotation axis of the rotating rod (324) are perpendicular to each other, the angle between the rotation axis of the first rotating member (321) and the rotation axis of the rotating rod (324) is less than 90°, and the rotation axes of the first rotating member (321), the third rotating member (323) and the rotating rod (324) all intersect at one point.
3. The flying fish robot according to claim 2, characterized in that: The tail swing assembly (33) comprises a tail cage (331) and a tail plate (332), one end of the tail cage (331) is fixedly connected to the rotating rod (324), and the other end of the tail cage (331) is fixedly connected to the tail plate (332), the tail cage (331) is made of a rigid material, and the tail plate (332) is made of an elastic material.
4. The flying fish robot according to claim 1, characterized in that: The pectoral fin motion module (2) further comprises a second drive mechanism (22), a third drive mechanism (23), an opening and closing transmission assembly (24) and a pitch transmission assembly (25); the two pectoral fins (21) are symmetrically arranged on both sides of the shell (4); the second drive mechanism (22) is connected to the two pectoral fins (21) via the opening and closing transmission assembly (24); and the third drive mechanism (23) is connected to the two pectoral fins (21) via the pitch transmission assembly (25).
5. The flying fish robot according to claim 4, characterized in that: The opening and closing transmission assembly (24) comprises a rope winder (241), two traction ropes (242) and two elastic members (243); the rope winder (241) is connected to the first driving mechanism (31); one end of the two traction ropes (242) are both wound around the rope winder (241); the other ends of the two traction ropes (242) are respectively fixedly connected to the two pectoral fins (21); the two pectoral fins (21) are also respectively elastically connected to the housing (4) via the two elastic members (243).
6. The flying fish robot according to claim 4, characterized in that: The pitch transmission assembly (25) comprises a driving gear (251), a driven gear (252) and a rotating shaft (253); the driving gear (251) is connected to the third driving mechanism (23); the driven gear (252) is sleeved on the rotating shaft (253); the driving gear (251) and the driven gear (252) are meshed to form a gear transmission pair; and two ends of the rotating shaft (253) are respectively fixedly connected to two pectoral fins (21).
7. A control system, characterized in that: The flying fish robot as claimed in any one of claims 1 to 7 is provided with a control board, wherein the control board includes a microcontroller, a CAN transceiver, a first interface, a second interface, a wireless communication module, a gyroscope and an acceleration sensor, a USB virtual serial port and a download interface; The microcontroller is provided with a CAN controller, and the microcontroller is communicatively connected with the first driving mechanism (31) via the CAN controller and the CAN transceiver in sequence; The microcontroller also communicates with the acceleration sensor through the I2C bus and the gyroscope; The microcontroller controls the second driving mechanism (22) to work via the first interface, and the microcontroller controls the third driving mechanism (23) to work via the second interface; The wireless communication module communicates with the microcontroller via the SPI bus to achieve wireless control of the robot movement; The USB virtual serial port is used to send the motor feedback data to the computer, and the download interface is used to burn the program.
8. The flying fish robot control system according to claim 7, characterized in that: The software system in the microcontroller is configured to include a hardware driver layer, an intermediate layer and a user layer. The hardware driver layer is responsible for driving various peripherals connected to the microcontroller, the intermediate layer uses an embedded real-time operating system FreeRTOS, and the user layer includes several preset tasks.
9. A control method, characterized in that: A flying fish robot control system as claimed in claim 8, comprising underwater motion control and gliding motion control, wherein the underwater motion control comprises linear control, acceleration / deceleration control, direction change control and pitch control; the gliding motion control comprises the following steps: S1, the controller receives an external leap signal and sends a leap instruction to the tail motion module (3) and the pectoral fin motion module (2); S2, the tail motion module (3) receives the leap instruction, and the first drive mechanism (31) maintains a certain output frequency, so that the flying fish robot has an initial velocity V1; the pectoral fin motion module (2) receives the leap instruction, and the pectoral fin (21) is partially unfolded and forms an angle α with the motion direction; the flying fish robot obtains an upward swimming posture; S3, after the control module (1) detects that the pectoral fin motion module (2) leaves the water surface, it outputs a gliding instruction to the pectoral fin motion module (2); S3, the pectoral fin motion module (2) receives the gliding instruction, and the pectoral fin (21) is fully unfolded; S4, after the control module (1) detects that the tail motion module (3) leaves the water surface, it sends a gliding instruction to the tail motion module (3); S5, the tail motion module (3) stops swinging after receiving the gliding command, and the flying fish robot glides in the air at a speed V2; S6, when the control module (1) detects that V2 < 1 m / s, it sends a working instruction to the tail motion module (3); S7, the tail motion module (3) swings again to generate propulsion force, thereby extending the flying fish robot's hovering time; S8. The control module (1) detects that the flying fish robot falls into the water, the gliding motion control ends, and the underwater motion control begins.
10. A control method according to claim 9, characterized in that: The first driving mechanism (31) is a three-phase brushless DC motor and is controlled by a double-cascade PID algorithm, specifically: The control module obtains the rotation angle deviation of the first drive mechanism (31) as a first error, the first error is subjected to a position loop PID algorithm to obtain a position loop output value, the position loop output value is subjected to a speed loop PID algorithm to obtain a desired speed, the desired speed is output as the speed value of the first drive mechanism (31), and the desired speed is compared with the actual speed of the first drive mechanism to obtain a second error, the second error is then subjected to a speed loop PID algorithm to obtain a new desired speed, and closed-loop control is completed; The PID algorithm is as follows: in: u(k): The calculation result of the PID algorithm, that is, the control quantity, K p : The adjustment coefficient of the proportional term is used to adjust the performance of PID. K i : The adjustment coefficient of the integral term, used to adjust the performance of PID, K d : The adjustment coefficient of the differential term, used to adjust the performance of PID, e(k): error, that is, target value - current state value of the controlled object, [e(k)-e(k-1)]: current error - last error.
Citation Information
Patent Citations
Water-air amphibious cross-media bionic machine flying fish
CN110239712A
Robotic fish system driven by bionic tendon and operation control method
CN114919724A
Bionic robotic fish with rotatable tail fin
CN210618442U
Structure for driving tail fin of robotic fish to swing by brushless motor
CN219115698U
Water-air amphibious cross-medium bio-robotic flying fish
US20210354800A1
