A speed measurement method for soft robotic fish and soft robotic fish
By setting up pressure sensors and fluid dynamics simulation on the software robotic fish, the problem of low speed measurement accuracy of the software robotic fish in complex environments is solved, and precise speed measurement and control under deep sea conditions are achieved.
Patent Information
- Application Number
- CN202311727499.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-15
- Publication Date
- 2024-10-15
- Estimated Expiration
- 2043-12-15
AI Technical Summary
Existing software robotic fish speed measurement methods have low accuracy in complex environments and deep-sea conditions, making it difficult to achieve precise control.
By acquiring the steering gear control signals of each joint of the software robotic fish, the body swing equation is established, fluid dynamics simulation is performed, pressure sensors are set up to form an artificial lateral line sensing array, the force between the fish body and the flow field is measured, and the swimming speed is calculated.
It achieves accurate speed measurement of the software robotic fish in a complex environment, improves the accuracy of speed measurement, and enhances the bionics and environmental perception capabilities of the robotic fish.
Smart Images

Figure CN117723771B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of underwater robots, and in particular to a speed measurement method of a soft robotic fish and the soft robotic fish. Background Art
[0002] In recent years, with the continuous development of marine technology, more and more underwater detection instruments have emerged, including autonomous underwater vehicles (AUV), remote operated vehicles (ROV), uncrewed underwater vehicles (UUV) and other underwater vehicles.
[0003] Compared with traditional rigid underwater detection equipment, the flexibility and plasticity of soft robots in complex and extreme environments have made them play an important role in ocean exploration. Among them, soft robotic fish inspired by biological fish is the main bionic form of soft underwater robots.
[0004] The existing methods for measuring the speed of soft robot fish include video speed measurement and accelerometer integral speed measurement. Video speed measurement requires continuous recording of a video of the robot fish's swimming process, and extracting and calculating the average speed through key frames. Accelerometer speed measurement requires integrating the collected acceleration values to obtain the speed over a period of time. However, video speed measurement relies on the recording of high-definition video, which is difficult to achieve in complex environments and deep sea where visible light is very low, while accelerometer integral speed measurement will produce cumulative errors. Therefore, the speed measurement accuracy of soft robot fish is low. If the accurate speed cannot be obtained, it is difficult to accurately control the soft robot fish. Summary of the invention
[0005] The purpose of the present invention is to provide a speed measurement method of a soft robotic fish and a soft robotic fish, which can solve the problem of improving the speed measurement accuracy of the soft robotic fish.
[0006] To achieve the above object, the present invention adopts the following technical solutions:
[0007] A method for measuring the speed of a soft robotic fish is provided, comprising the following steps:
[0008] S1, obtaining a steering control signal of each joint of the soft robotic fish, wherein the steering control signal is generated by a central pattern generator control network;
[0009] S2, obtaining a body swing equation of the soft robotic fish according to the steering gear control signal;
[0010] S3, performing fluid dynamics simulation on the body swing equation of the soft robotic fish to obtain the force relationship between the body of the soft robotic fish and the surrounding flow field;
[0011] S4. According to the force relationship between the body of the soft robotic fish and the surrounding flow field, three or more pressure sensors are arranged on the left and right sides of the soft robotic fish to form an artificial lateral line sensor array on the side of the soft robotic fish, and the force of the flow field environment on the body of the soft robotic fish when the soft robotic fish swims is measured by the artificial lateral line sensor array;
[0012] S5. Determine the swimming speed of the soft robotic fish according to the force exerted by the flow field environment on the body of the soft robotic fish.
[0013] In some embodiments of the present invention, the soft robotic fish is encapsulated by a silicone mold on the outside and consists of a serial servo and a skeleton on the inside. The output shaft of the servo is connected to the next joint through a 3D printed joint, and the servo is driven to drive the fish body to swing and generate propulsion.
[0014] In some embodiments of the present invention, in step S2, the body swing equation of the soft robotic fish is as follows:
[0015]
[0016] Among them, i and j represent the serial numbers of neurons, x i ,y i Represent the current excitation and inhibition states of the i-th neuron, respectively. Represent the excitation and inhibition states of the i-th neuron at the next moment, ω i represents the oscillation frequency of the i-th neuron, G i represents the maximum oscillation amplitude of the i-th oscillation unit; Determines the convergence speed of the oscillator; is the phase difference between the two nearest coupled oscillators, α i is the coupling coefficient of the phase difference of the nearest coupled oscillator; P(f k ) represents the response of different sensor signals f k Normalization and smoothing functions.
[0017] In some embodiments of the present invention, the oscillation frequency ω of the i-th neuron i It is represented by the following equation:
[0018]
[0019] The different sensing signals f k The normalization and smoothing function P(f k ) is represented by the following equation:
[0020]
[0021] Among them, ω R and ω D are constants respectively, and a fast oscillation rate ω is used to provide swimming lift R , use a slow oscillation rate ω to reduce swimming resistance D , Determines the convergence speed of the oscillator, η is used to distinguish between two different speed oscillation frequencies ω R and ω D The proportion of k is the feedback signal of each pressure sensor, sgn is the sign function, which defines the threshold of the sensor feedback signal.
[0022] In some embodiments of the present invention, in step S2, the body swing equation of the soft robotic fish is fitted with the data points generated by the CPG equation to obtain the motion equations of each joint, and then the motion equations of each joint are fitted by piecewise function until convergence.
[0023] In some embodiments of the present invention, step S3 specifically includes: writing a UDF according to the body swing equation of the soft robotic fish and importing it into the Fluent software, performing CFD simulation on the body swing equation of the soft robotic fish in the Fluent software, and obtaining the force relationship and force curve of the fish body and the surrounding flow field.
[0024] In some embodiments of the present invention, the pressure sensor in step S4 is made of carbon nanotube ink made by mixing polyvinyl pyrrolidone and carbon nanotubes, which is introduced into a 3D printed microchannel model, and a directional liquid diffusion method is used to form an out-of-plane pressure resistor in the microchannel, and the resistor is encapsulated with dimethyl silicone oil.
[0025] In some embodiments of the present invention, step S5 specifically comprises: substituting the force of the flow field environment on the body of the soft robotic fish when the soft robotic fish swims, measured by the artificial lateral line sensor array, into the Lagrangian hydrodynamic analysis equation to obtain the swimming speed of the soft robotic fish. The Lagrangian hydrodynamic analysis equation is as follows:
[0026]
[0027] In the formula, E k is the kinetic energy of the system, E p is the potential energy of the system, θ i is the generalized coordinate, Q i It is a general force.
[0028] In some embodiments of the present invention, the relative angular displacements of the three body joints are taken as the generalized coordinates of the Lagrangian hydrodynamic analysis equation, and the joint driving torque T is taken as iThe interaction force F between the fluid and the fish body measured by the pressure sensor i is the generalized force of the Lagrangian hydrodynamic analysis equation.
[0029] The present invention also provides a soft robotic fish, comprising a processor and a memory, wherein the memory stores computer-readable instructions, and when the computer-readable instructions are executed by the processor, the steps in the above method are executed.
[0030] The present invention has the following beneficial effects:
[0031] The present invention obtains the body swing equation of the soft robotic fish through the servo control signal generated by the central pattern generator control network, and performs fluid dynamics simulation on the body swing equation of the soft robotic fish to obtain the setting of the force relationship between the soft robotic fish body and the surrounding flow field. It can closely link the servo control signal and fluid dynamics simulation of the central pattern generator control network to achieve the combination of algorithm improvement and fluid simulation; the force relationship when the soft robotic fish swims is obtained through fluid dynamics simulation, and pressure sensors are set on the side of the soft robotic fish to form an array-distributed artificial lateral line, which simulates the body lateral line of the fish to perceive the surrounding flow field, and can accurately measure the changes in the surrounding flow field, thereby accurately obtaining the swimming speed of the soft robotic fish.
[0032] In some embodiments, the following benefits are achieved:
[0033] The pressure sensor of the present invention is made of carbon nanotube ink made by mixing polyvinyl pyrrolidone and carbon nanotubes, which is introduced into a 3D printed microchannel model, and a directional liquid diffusion method is used to form a planar external pressure resistor in the microchannel. The pressure sensor is encapsulated with dimethyl silicone oil. The pressure sensor forms an artificial lateral line array on the left and right sides of the body of the soft robotic fish. Compared with traditional rigid sensors, the flexible pressure sensor of the present invention can keep the fish body in a stable fit when swinging, is more flexible and lightweight, can sense shear forces in two aspects, and improves the bionics and environmental perception capabilities of the robotic fish.
[0034] Other beneficial effects of the embodiments of the present invention will be further described below. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] Figure 1 is a flow chart of a method for measuring speed of a soft robotic fish in an embodiment of the present invention;
[0036] Figure 2 is a specific flow chart of the speed measurement method of the soft robotic fish in an embodiment of the present invention;
[0037] Figure 3 is a schematic diagram of a soft robotic fish model in an embodiment of the present invention;
[0038] Figure 4is a schematic diagram of a central pattern generator control network generating a joint servo control signal in an embodiment of the present invention;
[0039] Figure 5 is a diagram of the joint swing signal of the soft robotic fish fitted by the MATLAB software in an embodiment of the present invention;
[0040] Figure 6a is a curve diagram showing the relationship between the body length and the swing angle of the soft robotic fish when the fish body swings upward at the 2nd second in an embodiment of the present invention;
[0041] Figure 6b is a curve diagram showing the relationship between the body length and the swing angle of the soft robotic fish when the fish body swings upward at 2.5 seconds in an embodiment of the present invention;
[0042] Figure 6c is a curve diagram showing the relationship between the body length and the swing angle of the soft robotic fish when the fish body swings downward at the 4th second in an embodiment of the present invention;
[0043] Figure 6d is a curve diagram showing the relationship between the body length and the swing angle when the body of the soft robotic fish stops swinging and is at the center line of the body at the 5th second in an embodiment of the present invention;
[0044] Figure 7a is a schematic diagram of the simulation of the swimming speed of a fish body and a flow field in an embodiment of the present invention;
[0045] Figure 7b is a schematic diagram of simulation of the force between a fish body and a flow field in an embodiment of the present invention;
[0046] Figure 8 is a schematic diagram of a pressure sensor fitted to a fish body in an embodiment of the present invention;
[0047] Fig. 9 is a schematic diagram of the structure of a pressure sensor in an embodiment of the present invention;
[0048] Fig.10 It is a schematic diagram comparing the simulated speed, theoretical speed, and actual speed of the swimming soft robotic fish in an example of the present invention.
[0049] Description of reference numerals:
[0050] 1-first pressure sensor position, 2-second pressure sensor position, 3-third pressure sensor position, 4-pressure sensor, 41-out-of-plane pressure resistor disc, 42-microchannel, 43-sensing node, 5-copper wire. DETAILED DESCRIPTION
[0051] The following is a detailed description of the embodiments of the present invention. It should be emphasized that the following description is only exemplary and is not intended to limit the scope and application of the present invention.
[0052] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of the embodiments of the present invention, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.
[0053] The flow chart of the speed measurement method of the soft robotic fish according to the embodiment of the present invention is as follows: Figure 1 As shown, the following steps are included:
[0054] S1, obtaining the servo control signals of each joint of the soft robotic fish, where the servo control signals are generated by the central pattern generator control network;
[0055] S2, obtaining the body swing equation of the soft robotic fish according to the steering gear control signal;
[0056] S3. Perform fluid dynamics simulation on the body swing equation of the soft robotic fish to obtain the force relationship between the body of the soft robotic fish and the surrounding flow field;
[0057] S4. According to the force relationship between the body of the soft robotic fish and the surrounding flow field, more than three pressure sensors are arranged on the left and right sides of the soft robotic fish to form an artificial lateral line sensor array on the side of the soft robotic fish. The force of the flow field environment on the body of the soft robotic fish when the soft robotic fish swims is measured through the artificial lateral line sensor array;
[0058] S5. Determine the swimming speed of the soft robotic fish according to the force exerted by the flow field environment on the body of the soft robotic fish.
[0059] There are surface neuromasts on both sides of the fish's body to sense changes in the water environment to help it find food and avoid predators. Artificial lateral line technology uses the principle of bionics to attach pressure sensors to the sides of underwater vehicles to obtain flow field environment information when the vehicle moves underwater. Based on this, the embodiment of the present invention proposes a speed measurement method for a soft robotic fish and a soft robotic fish. The pressure sensor is used to measure the interaction force between the robotic fish and the flow field when it swims, and the relationship between the swimming speed of the robotic fish and the pressure sensor array is measured, compared with the actual swimming speed, and the error is analyzed and further optimized.
[0060] The specific flow chart of this embodiment is as follows Figure 2 As shown, the specific embodiments of the present invention are further described below in conjunction with the accompanying drawings.
[0061] S1, obtaining the servo control signals of each joint of the soft robotic fish, where the servo control signals are generated by the central pattern generator control network;
[0062] Specifically, step S1 is that the soft robotic fish in the embodiment of the present invention is driven by a multi-joint servo. The exterior of the soft robotic fish is encapsulated by a silicone mold, and the interior is composed of a serial servo and a skeleton. The output shaft of the servo is connected to the next joint through a 3D printed joint, and the servo is driven to drive the fish body to swing and generate propulsion.
[0063] S2, obtaining the swing equation of the soft robot fish body according to the steering gear control signal;
[0064] Step S2 is specifically that the central pattern generator control network in the embodiment of the present invention adopts a central pattern generator (CPG) network improved based on the Hopf model, referred to as an improved CPG network, which can control the multi-mode free switching of the soft robot fish through a wireless device. The body swing equation of the soft robot fish is obtained by fitting the data points generated by the CPG equation through MATLAB to obtain the motion equations of each joint, and then the motion equations of each joint are fitted by piecewise functions until convergence. The body swing equation expression is as follows:
[0065]
[0066] In formula (1), x i ,y i Represent the current excitation and inhibition states of the i-th neuron, respectively. Represent the excitation and inhibition states of the i-th neuron at the next moment, ω i represents the oscillation frequency of the i-th neuron, G i represents the maximum oscillation amplitude of the i-th oscillation unit; Determines the convergence speed of the oscillator; is the phase difference between the two nearest coupled oscillators, α i is the coupling coefficient of the phase difference of the nearest coupled oscillator; P(f k ) represents the response of different sensor signals f k The normalized and smoothed function of . Specifically, the oscillation frequency ω of the i-th neuron i It is represented by the following equation:
[0067]
[0068] For different sensor signals f k The normalization and smoothing function P(f k ) is represented by the following equation:
[0069]
[0070] In formula (2) and formula (3), ω R and ω Dare constants respectively, and a fast oscillation rate ω is used to provide swimming lift R , use a slow oscillation rate ω to reduce swimming resistance D , Determines the convergence speed of the oscillator, η is used to distinguish between two different speed oscillation frequencies ω R and ω D The proportion of k is the feedback signal of each pressure sensor 4, sgn is the sign function, which defines the threshold of the sensor feedback signal.
[0071] The body swing equation of the soft robot fish is generated by the improved CPG network and can be obtained by setting the piecewise function and fitting with MATLAB software. Figure 3 As shown, the control signals of the three joints generated by the improved CPG network are as follows Figure 4 shown.
[0072] S3. Perform fluid dynamics simulation on the swing equation of the soft robotic fish to obtain the force relationship between the soft robotic fish and the surrounding flow field;
[0073] Step S3 is specifically as follows: a user defined function (udf) is written according to the body swing equation of the soft robotic fish and imported into the Fluent software, and a Computational Fluid Dynamics (CFD) fluid dynamics simulation is performed on the body swing equation of the soft robotic fish in the Fluent software to obtain the force relationship and force curve of the fish body and the surrounding flow field.
[0074] The motion equations of each joint are fitted by piecewise function until convergence, and the following motion equations of each joint are obtained by fitting the data points: Figure 5 , reference to the swing equation of the soft robot fish Figure 6a , 6b , 6c, 6d, 6a, 6b, 6c, 6d are the body length and swing angle relationship curves corresponding to the swinging images of the soft robot fish expressed in time sequence, specifically, 6a is the body length and swing angle relationship curve when the robot fish body swings upward at the 2nd second, 6b is the body length and swing angle relationship curve when the robot fish body swings upward at the 2.5th second, 6c is the body length and swing angle relationship curve when the robot fish body swings downward at the 4th second, 6d is the body length and swing angle relationship curve when the robot fish body stops swinging and is at the center line of the body at the 5th second, and the motion equations of each joint are imported into the Fluent software through udf, and the expressions of the motion equations of each joint are as follows:
[0075]
[0076] In formula (4), θ1 ,θ 2 ,θ 3 Represents the relative angular displacement of the three body joints.
[0077] Furthermore, CFD simulation can obtain the swimming speed of the fish body and the flow field when the soft robot fish swims. Figure 7a As shown in Figure 2, the simulation of the interaction between the fish body and the flow field is as follows: Figure 7b shown.
[0078] Step S3 can closely link the control signal of the CPG model with the CFD simulation to achieve the combination of algorithm improvement and fluid simulation.
[0079] S4, according to the force relationship between the body of the soft robotic fish and the surrounding flow field, more than three pressure sensors 4 are arranged on the left and right sides of the soft robotic fish, forming an artificial lateral line sensor array on the side of the soft robotic fish, and the force of the flow field environment on the body of the soft robotic fish when the soft robotic fish swims is measured by the artificial lateral line sensor array;
[0080] Step S4 specifically includes attaching a plurality of flexible pressure sensors 4 made of carbon nanotubes and nanosilver particles to the places where the force is greater on the left and right sides of the body of the soft robotic fish obtained by simulation, forming an artificial lateral line sensor array on the side of the robotic fish, and obtaining the force of the flow field environment on the fish body when the robotic fish swims.
[0081] refer to Figure 8 , Fig. 9 In this embodiment, pressure sensors 4 are attached to the first pressure sensor position 1, the second pressure sensor position 2, and the third pressure sensor position 3 on the left side of the fish body. Pressure sensors 4 are also attached to the fourth pressure sensor position, the fifth pressure sensor position, and the sixth pressure sensor position on the right side of the fish body, which are symmetrical to the first pressure sensor position 1, the second pressure sensor position 2, and the third pressure sensor position 3, to simulate the lateral line of the fish body to sense the surrounding flow field. In this embodiment, the range of the place with greater force is from the maximum force value to 90% of the maximum force value. An artificial lateral line sensor array is formed on the side of the robot fish to obtain the force of the flow field environment on the fish body when the robot fish swims. In this embodiment, 3-5 pressure sensors 4 are attached to each side of the body;
[0082] refer to Fig. 9The pressure sensor 4 is made of a mixture of polyvinyl pyrrolidone (PVP) and carbon nanotubes to make carbon nanotube ink, which is introduced into the 3D printed microchannel 42 model, and a plane-outside pressure resistor is formed in the microchannel 42 by using a directional liquid diffusion (Dynamic light scattering, DLS) method. In the embodiment of the present invention, the plane-outside pressure resistor is a plane-outside pressure resistor disc 41. The data collected by multiple plane-outside pressure resistor discs 41 are connected to the sensing node 43, and are encapsulated with dimethyl silicone oil (Polydimethylsiloxane, PDMS) to form a pressure sensor 4. Copper wires 5 are led out on both sides of the pressure sensor as power supply terminals, and subsequently connected to a single-chip computer. The pressure sensor 4 can be attached to the surface of the soft shell of the robot fish, forming a linearly arranged artificial lateral line array on the left and right sides of the body, simulating the body lateral line of the fish to perceive the surrounding flow field.
[0083] S5. determining the swimming speed of the soft robotic fish according to the force exerted by the flow field environment on the body of the soft robotic fish;
[0084] Step S5 is specifically as follows: conducting a swimming experiment, substituting the force of the flow field environment on the body of the soft robotic fish measured by the artificial lateral line sensor array into the Lagrangian hydrodynamic analysis equation to obtain the swimming speed of the soft robotic fish, and obtaining a more accurate theoretical swimming speed and comparing it with the actual swimming performance. The Lagrangian hydrodynamic analysis equation is as follows:
[0085]
[0086] In formula (5), E k is the kinetic energy of the system, E p is the potential energy of the system, θ i is the generalized coordinate, Q i is a generalized force,
[0087] When constructing the Lagrangian hydrodynamic analysis equation of the soft robotic fish, the relative angular displacement θ of the three body joints is taken as 1 ,θ 2 ,θ 3 , are generalized coordinates, and the joint driving torque T i The interaction force F between the fluid and the fish body measured by the pressure sensor 4 ij It is a general force.
[0088] Since the soft robotic fish swims in water, its potential energy can be ignored, so E p =0, the kinetic energy expression is as follows:
[0089]
[0090] In formula (6), v xi 、v yi is the middle point of each joint (x i ,y i )’s instantaneous velocity, x i ,y i is the X-axis and Y-axis position of each joint, m i , l i is the mass and length of each joint;
[0091]
[0092]
[0093] In formula (7) and formula (8), let ζ a = l 2 sinθ 3 +l 1 sin(θ 2 +θ 3 ), b = l 2 cosθ 3 +l 1 cos(θ 2 +θ 3 ), c = l 2 sinθ 3 , d = l 2 cosθ 3 According to the principle of virtual work, the force Jacobian matrix and motion Jacobian matrix of the soft robotic fish swimming propulsion system are in a transposed relationship. The motion Jacobian of the swimming propulsion system can be obtained by rotating the homogeneous transformation matrix and the differential method. The Jacobian matrix of the force of the soft robotic fish propulsion system can be obtained by transposition. The expression is as follows:
[0094]
[0095] The force of the eddy current on the fish body can be expressed as a vector as shown below:
[0096] D=[F x F y 0 0 0 M z ] T (10)
[0097] In formula (9) and formula (10), F x 、F y The X-axis lateral force and Y-axis longitudinal force generated by the swing of the fish body in the fluid and the flow field can be measured by the flexible pressure sensor 4. zis the moment. Therefore, the expression of the flow field force T on the tail fin after mapping by the Jacobian matrix is as follows:
[0098]
[0099] The Lagrangian hydrodynamic analysis equation can be further written as:
[0100]
[0101] In the swimming experiment of the soft robotic fish, for the convenience of calculation, the surrounding fluid is assumed to be non-rotating, non-viscous, and incompressible. Considering the uniform distribution of joint mass, the fluid force can be regarded as acting on the center of mass of each joint (x i ,y i ). Therefore, the expressions of the additional mass force and viscous resistance of all joints are:
[0102]
[0103] Where m ξi Represents the additional mass coefficient, which is a dimensionless constant that is only related to the joint material. ξxi , F ξyi Represent the additional mass forces generated by the movement of the x-axis and y-axis respectively. The force of the fluid is related to the acceleration of the joint swing. and Represents the velocity derivative along the x-axis and y-axis respectively
[0104]
[0105] In formula (14), F σi represents the total viscous resistance of the i-th joint, F σxi represents the viscous resistance on the XOZ surface of the i-th joint, F σyi represents the viscous resistance of the YOZ surface of the i-th joint, S xi , S yi and Δ xi , Δ yi Respectively represent the cross-sectional area of the joint XOZ surface and YOZ surface and the friction of the fluid on the surface, ρ represents the density of the swimming environment fluid, v xi 、v yi is the middle point of each joint (x i ,y i ) instantaneous speed. It is worth noting that the forward direction of the soft robotic fish in the embodiment of the present invention is the negative direction of the x-axis. In order to simplify the calculation, only the force on the first joint along the x-axis can be considered. The resistance expression of the soft robotic fish when swimming is as follows:
[0106]
[0107] In formula (15), S B Indicates the force area, x and y represent the x-axis and y-axis units respectively, and the bow thrust coefficient C of the tail fin x , lateral force coefficient C y , C MZ The moment coefficient about the z-axis. n x and n y represents the x-axis and y-axis components of the unit normal vector on the tail fin surface, C p is the pressure coefficient on the tail fin surface. The expression of the pressure coefficient on the tail fin surface is as follows:
[0108]
[0109] In formula (16), F x 、F y The X-axis lateral force and Y-axis longitudinal force generated by the swing of the fish body in the fluid and the flow field can be measured by the pressure sensor 4. z is the moment, ρ is the density of the fluid, B is the length of the tail fin, C 0 V is the characteristic chord length of the tail fin, and α is the angle between the tail and the incoming flow that forms lift. cx , V cy , V ω They respectively represent the velocity of the fish tail in the world coordinate system, and finally the final form of the Lagrangian hydrodynamic analysis equation of the system can be obtained.
[0110] According to the above dynamic analysis, the expressions of thrust along the x-axis and y-axis can be obtained as follows:
[0111]
[0112] The relationship between the propulsion force and swimming speed of the soft robotic fish is analyzed using Newton's second law, and the expression of the theoretical swimming speed can be obtained as follows:
[0113]
[0114] In formula (18), V c represents the theoretical swimming speed, represents the drag coefficient, C x is the bow thrust coefficient of the tail fin, ρ represents the density of the fluid, S x1 Represents the mapped area of the XOZ plane of the first joint.
[0115] Finally, the theoretical swimming speed can be obtained by substituting the flow field pressure measured by the artificial lateral line sensor array based on flexible pressure sensors into the aforementioned Lagrangian hydrodynamic analysis equation.
[0116] After 50 measurements, Fig.10 The images of theoretical swimming speed, simulated swimming speed and real swimming speed are shown in Figure 2. After calculation, the theoretical swimming speed is less than 10% of the real swimming speed. Therefore, the swimming speed of the soft robotic fish under different flow fields can be estimated through the flow field data sensed by the soft robotic fish and sent remotely wirelessly, thereby obtaining the swimming state of the soft robotic fish.
[0117] The embodiment of the present invention further provides a soft robotic fish, comprising a processor and a memory, wherein the memory stores computer-readable instructions, and when the computer-readable instructions are executed by the processor, the speed measurement method of the soft robotic fish of the embodiment of the present invention is executed. In this embodiment, the soft robotic fish adopts an improved CPG control algorithm to realize multi-mode wireless switching.
[0118] The embodiment of the present invention adopts a self-made multi-joint soft robotic fish and an improved CPG network based on the Hopf model, and can control the multi-mode free switching of the soft robotic fish through a wireless device; the signal of the improved CPG network can be obtained by setting a piecewise function and fitting with MATLAB software to obtain the body swing equation of the soft robotic fish, and the body swing equation of the soft robotic fish is programmed with a udf plug-in and then imported into the Fluent software to perform CFD simulation on the swimming posture of the soft robotic fish, which can closely link the control signal of the CPG model and the CFD simulation to achieve the combination of algorithm improvement and fluid simulation.
[0119] The embodiment of the present invention can obtain the force curve diagram of the soft robot fish when swimming through CFD simulation, and fix the self-made flexible pressure sensor 4 on the side of the soft robot fish where the force is obvious, forming a linear array distribution of "artificial lateral line" to obtain the changes of the surrounding flow field; the flexible pressure sensor 4 is made of polyvinyl pyrrolidone (PVP) and carbon nanotubes to make carbon nanotube ink, which is introduced into the 3D printed microchannel 42, and the directional liquid diffusion (DLS) method is used to form a plane out-of-plane pressure resistor in the microchannel 42. In this embodiment, the plane out-of-plane pressure resistor is a resistor disc 41, and the data collected by multiple plane out-of-plane pressure resistor discs 41 are connected to the sensor node 43, and are encapsulated with dimethyl silicone oil (PDMS) to form a pressure sensor 4, and copper wires 5 are led out on both sides of the pressure sensor 4 as power supply ends, which are subsequently connected to the single-chip computer. The pressure sensor 4 can be attached to the surface of the soft shell of the soft robot fish, forming a linear array of artificial lateral lines on the left and right sides of the body, and the fish body remains stable when swinging, simulating the body lateral line of the fish to perceive the surrounding flow field. Compared with traditional rigid sensors, the pressure sensor 4 of this embodiment is more flexible and lightweight, and can sense shear forces in two aspects. The "artificial lateral line" array greatly improves the bionics and environmental perception capabilities of the soft robotic fish.
[0120] The embodiment of the present invention substitutes the data obtained by the "artificial lateral line" pressure sensor array into the constructed Lagrangian hydrodynamic analysis equation, analyzes the swimming performance of the soft robotic fish, obtains the relationship between the swimming speed and the sensor measurement value, and compares it with the actual speed to analyze the error and improve the performance.
[0121] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0122] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0123] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.
[0124] The above content is a further detailed description of the present invention in combination with specific / preferred embodiments, and it cannot be determined that the specific implementation of the present invention is limited to these descriptions. For ordinary technicians in the technical field to which the present invention belongs, without departing from the concept of the present invention, it can also make several substitutions or modifications to these described embodiments, and these substitutions or modifications should be regarded as belonging to the protection scope of the present invention. In the description of this specification, the description of the reference terms "an embodiment", "some embodiments", "preferred embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials or characteristics described in combination with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily target the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner. In the absence of mutual contradiction, those skilled in the art can combine and combine the different embodiments or examples described in this specification and the features of different embodiments or examples. Although the embodiments of the present invention and their advantages have been described in detail, it should be understood that various changes, substitutions and modifications can be made herein without departing from the scope of protection of the patent application.
Claims
1. A method for measuring the speed of a soft robotic fish, characterized in that: The following steps are involved: S1, obtaining a steering control signal of each joint of the soft robotic fish, wherein the steering control signal is generated by a central pattern generator control network; S2, obtaining a body swing equation of the soft robotic fish according to the steering gear control signal; S3, performing fluid dynamics simulation on the body swing equation of the soft robotic fish to obtain the force relationship between the body of the soft robotic fish and the surrounding flow field; S4. According to the force relationship between the body of the soft robotic fish and the surrounding flow field, three or more pressure sensors are arranged on the left and right sides of the soft robotic fish to form an artificial lateral line sensor array on the side of the soft robotic fish, and the force of the flow field environment on the body of the soft robotic fish when the soft robotic fish swims is measured by the artificial lateral line sensor array; S5. Determine the swimming speed of the soft robotic fish according to the force exerted by the flow field environment on the body of the soft robotic fish; Step S5 specifically includes: substituting the force of the flow field environment on the body of the soft robotic fish measured by the artificial lateral line sensor array into the Lagrangian hydrodynamic analysis equation to obtain the swimming speed of the soft robotic fish. The Lagrangian hydrodynamic analysis equation is as follows: In the formula, E k is the kinetic energy of the system, E p is the potential energy of the system, θ i is the generalized coordinate, Q i is a general force; Among them, the relative angular displacement of the three body joints is taken as the generalized coordinates of the Lagrangian hydrodynamic analysis equation, and the joint driving torque T is taken as i The interaction force F between the fluid and the fish body measured by the pressure sensor i is the generalized force of the Lagrangian hydrodynamic analysis equation; In step S2, the body swing equation of the soft robotic fish is as follows: Among them, i and j represent the serial numbers of neurons, x i ,y i Represent the current excitation and inhibition states of the i-th neuron, respectively. Represent the excitation and inhibition states of the i-th neuron at the next moment, ω i represents the oscillation frequency of the i-th neuron, G i represents the maximum oscillation amplitude of the i-th oscillation unit; θ determines the convergence speed of the oscillator; is the phase difference between the two nearest coupled oscillators, α i is the coupling coefficient of the phase difference of the nearest coupled oscillator; P(f k ) represents the response of different sensor signals f k Normalization and smoothing functions of ; The oscillation frequency ω of the i-th neuron i It is represented by the following equation: The different sensing signals f k The normalization and smoothing function P(f k ) is represented by the following equation: Among them, ω R and ω D are constants respectively, and a fast oscillation rate ω is used to provide swimming lift R , use a slow oscillation rate ω to reduce swimming resistance D , θ determines the convergence speed of the oscillator, and η is used to distinguish between two different speed oscillation frequencies ω R and ω D The proportion of k is the feedback signal of each pressure sensor, sgn is the sign function, which defines the threshold of the sensor feedback signal.
2. The method for measuring the speed of a soft robotic fish as claimed in claim 1, wherein: The exterior of the soft robotic fish is encapsulated by a silicone mold, and the interior is composed of a serial servo and a skeleton. The output shaft of the servo is connected to the next joint through a 3D printed joint, and the servo is driven to drive the fish body to swing to generate propulsion.
3. The method for measuring the speed of a soft robotic fish as claimed in claim 1, characterized in that: In step S2, the body swing equation of the soft robotic fish is fitted with the data points generated by the CPG equation to obtain the motion equations of each joint, and then the motion equations of each joint are fitted by piecewise function until convergence.
4. The method for measuring the speed of a soft robotic fish as claimed in claim 1, wherein: Step S3 is specifically as follows: according to the body swing equation of the soft robot fish, a UDF is written and imported into the Fluent software, and the body swing equation of the soft robot fish is simulated by CFD in the Fluent software to obtain the force relationship and force curve of the fish body and the surrounding flow field.
5. The method for measuring the speed of a soft robotic fish as claimed in claim 1, characterized in that: The pressure sensor in step S4 is made of carbon nanotube ink made by mixing polyvinyl pyrrolidone and carbon nanotubes, which is introduced into a 3D printed microchannel model, and a directional liquid diffusion method is used to form an out-of-plane piezoresistor in the microchannel, and the piezoresistors are encapsulated with dimethyl silicone oil.
6. A soft robotic fish, comprising a processor and a memory, wherein the memory stores computer-readable instructions, and when the computer-readable instructions are executed by the processor, the steps in the method according to any one of claims 1 to 5 are executed.
