Fish swimming metabolism determination system and method
By employing a dual-cavity curved hydraulic design and multi-sensor synchronous acquisition technology, combined with a camera and a flow meter, automated closed-loop feedback control of fish swimming metabolism is achieved. This solves the problems of insufficient automation and water flow environment control in existing technologies for fish swimming metabolism measurement, and improves the accuracy and precision of the measurement.
Patent Information
- Application Number
- CN202511291094.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-09-10
- Publication Date
- 2026-02-17
AI Technical Summary
Existing fish swimming metabolism measurement devices lack automated control mechanisms and rely on simplistic water flow environment control, resulting in low data acquisition efficiency and insufficient accuracy.
It adopts a dual-cavity curved hydraulic design, multi-sensor synchronous acquisition and multi-view behavior recognition, combined with cameras and flow meters to achieve closed-loop feedback control. The top and side cameras achieve full coverage of vertical and horizontal views, identify fish behavior patterns and adjust the water flow environment.
It significantly improves the accuracy and precision of fish swimming metabolism measurement, supports multi-sensor-controller-actuator linkage, realizes high-precision and dynamic metabolism-motor coupling analysis, and avoids metabolic rate calculation deviation caused by time delay.
Smart Images

Figure CN121533358A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of fish ecological measurement. BACKGROUND
[0002] There is a runway type fish swimming metabolism measuring device in the prior art, but the measuring means for fish swimming metabolism in the prior art is too single, and the control of the water flow environment is too simple. Generally speaking, the following problems exist: 1. The fish behavior mainly depends on the human eye observation, lacks automatic control mechanism, and the data acquisition efficiency is low; 2. The control of the water flow environment only depends on the motor driven propeller, lacks effective feedback mechanism, the control mode is single, also lacks linkage mechanism, which is not conducive to precise operation. SUMMARY
[0003] The purpose of the present application is to provide a fish swimming metabolism measuring system and method, so that the automatic closed-loop feedback control of fish swimming metabolism measuring problem can be successfully realized.
[0004] To solve the above technical problems, the present application provides a fish swimming metabolism measuring system, which comprises a box body constituting a square cavity, a middle partition plate is fixed in the middle of the box body to divide the inner cavity of the box body into two strip cavities, namely a clean water cavity and a test cavity, a water inlet bend with a semicircular structure cavity is connected to the clean water cavity and the test cavity at the left end of the box body, and a water outlet bend with a semicircular structure cavity is connected to the clean water cavity and the test cavity at the right side of the box body; a measuring instrument is installed at the top of the water inlet bend, the measuring instrument is a dissolved oxygen measuring instrument, a thermometer or a pH meter, a flowmeter is installed at the top of the water outlet bend, a water inlet paddle is fixed at the position where the clean water cavity is connected to the water outlet bend, and the water inlet paddle is driven by a motor; the box body is made of transparent material, a top camera and a side camera are respectively fixed at the top and the outside of the test cavity; the measuring instrument, the flowmeter and the motor are connected and controlled by a control execution module, the top camera and the side camera are connected and controlled by a behavior recognition module, and the control execution module and the behavior recognition module are connected and controlled by a central control module.
[0005] The top camera is fixed on a top mounting bracket, the top mounting bracket is fixed on the middle partition plate, and the top mounting bracket is a right-angle bent structure so that the top camera is perpendicular downward; the side camera is fixed on a side mounting bracket, the side mounting bracket is fixed on the outer wall of the box body, and the side mounting bracket is a right-angle bent structure so that the side camera is horizontally facing the middle part of the test cavity; the number of the top camera and the side camera is more than one, and the field of view of the top camera and the side camera completely covers the test cavity.
[0006] The clean water cavity also has a temperature sensor and a heating assembly, and the temperature sensor and the heating assembly are connected and controlled by the control execution module.
[0007] A filter plate is fixedly installed at the connection between the test cavity and the water inlet bend, and a water outlet filter screen is fixedly installed at the connection between the test cavity and the water outlet bend.
[0008] The inlet bend contains multiple inlet bend baffles, forming more than six water channels within the inlet bend. The outlet bend contains multiple outlet bend baffles, forming more than four water channels within the outlet bend. The inlet bend baffles are semi-circular plates, and the outlet bend baffles are quarter-circular plates. A secondary mounting bracket is provided at the connection between the inlet bend and the clean water chamber for installing a flow stabilizer plate, which is located at the intervals between the multiple inlet bend baffles.
[0009] The inlet bend has an inlet bend cover plate at the top, with multiple measuring instrument mounting holes for mounting measuring instruments. These mounting holes are all located on the extension line of the central partition and are evenly distributed and facing the middle of the water channel. The outlet bend has an outlet bend cover plate at the top, with a flow meter installed in the opening on the outlet bend cover plate. The flow meter is located on the extension line of the central partition and the flow meter mounting hole is located in the middle of the outlet bend cover plate. A heating rod is placed in the clean water chamber.
[0010] A limiting slope is placed near the water inlet bend in the water purification chamber. The highest point of the limiting slope is higher than half the height of the water purification chamber, and the lowest point of the limiting slope is lower than half the height of the water purification chamber.
[0011] The present invention also provides a method for measuring fish swimming metabolism, using the fish swimming metabolism measurement system described above, including the following steps: S1. Initialization: System power-on initialization, self-testing device status; S2. Obtain setting parameters: Obtain the user-set control parameters from the storage space and put them into the system constant space; the control parameters include multi-stage speed, time and temperature; the speed is the rotation speed of the motor; S3. Obtain operating parameters: Obtain the operating parameters corresponding to the stage identifier from the control parameters and put them into the system variable space. If the operating parameters are empty, read the first item of the control parameters and assign the stage identifier a value of 1. Then proceed to steps S4 and S5 simultaneously. The operating parameters include the current speed, the current stage running time, and the current temperature. S4. Execution control: After controlling the motor according to the operating parameters, adjust the operating parameters according to the control parameters, and determine whether the total running time of the current stage in the operating parameters is not less than the total time in the control parameters. If so, proceed to step S6; otherwise, return to step S3. S5. Behavior recognition: Obtain the current image from the top camera and side camera, identify and classify all visible objects in the test cavity based on the current image, locate the visible objects by comparing the current image, identify the behavior pattern of the visible objects based on the location result, record and store the behavior pattern result in the storage space, and then return to step S3. S6. End and Standby: Exit the control process and maintain the motor's rotation speed at the preset standby speed.
[0012] Step S4 is executed by the control execution module and specifically includes the following steps: S41. Operation control: Control the motor according to the operating parameters for one machine cycle, with one machine cycle lasting 0.01 seconds. S42. Determine if shutdown is required: Determine if the behavior mode warning flag of the previous machine cycle is true. If so, assign a value to the shutdown flag based on the behavior mode and the corresponding stage of the running parameters. If the shutdown flag is assigned a true value, proceed to the next step. Otherwise, jump to step S44. S43. Emergency handling: Clear the system variable space, record the error information to the storage space, issue an alarm, and jump to step S6; S44. Adjust operating parameters: Add the machine cycle time to the current stage running time. If the current stage running time is greater than the time of the corresponding stage in the control parameters, increment the stage identifier by 1. S45. Determine if the operating parameters have reached the limit: Determine if the total running time of the current stage in the operating parameters is not less than the total time in the control parameters. If so, proceed to step S6; otherwise, return to step S3.
[0013] Step S5 is executed by the behavior recognition module and specifically includes the following steps: S51. Image Acquisition: Acquire top image from top camera, acquire side image from side camera; S52. Identify objects: Mark visible objects based on the color difference in the top and side images. Each continuous block is a visible object. Mark each visible object as a unique object based on its pixel size. Objects include pebbles, fish, and food. S53. Comparison and positioning: Position the visible object according to the position ratio of the visible object in the top image and the side image; S54. Behavior recognition: Based on the position of visible objects in multiple machine cycles, the behavior of fish is recognized and calculated to obtain a behavior pattern; S55. Determine the warning range: Determine whether the recognition result of the behavior pattern is within the warning range. If so, set the behavior pattern warning flag to true and send the behavior pattern to the control execution module. S55. Behavior record storage: Store the results of the behavior pattern in the storage space, and then return to step S3.
[0014] Compared to existing technologies, this invention achieves full coverage of both vertical and horizontal perspectives, simultaneously capturing fish swimming postures and spatial positions, significantly improving the accuracy of motion trajectory reconstruction. Furthermore, based on the setup of the measuring instrument and the current meter, the measuring instrument facilitates the calculation of fish oxygen consumption, while the current meter, combined with a camera, facilitates the calculation of fish swimming speed. This enables metabolic-motor coupling analysis, allowing for more precise monitoring and control of the aquatic environment, thereby greatly improving the accuracy of fish swimming metabolism measurements. It also provides excellent support for closed-loop feedback control, facilitating better multi-sensor-controller-actuator linkage and automatic calibration of temperature / flow rate / dissolved oxygen. It also makes it easier to synchronize dissolved oxygen, flow rate, temperature, and behavioral data, avoiding metabolic rate calculation errors caused by time delays.
[0015] In addition, through the design of a double-cavity curved hydraulic system, simultaneous acquisition by multiple sensors, and design of multi-view behavior, it is possible to achieve high-precision, dynamic, and holographic measurement of fish swimming metabolism, providing a new generation of standardized platform for fish ecological adaptability research, endangered species protection, and biomimetic robot design.
[0016] The above description is merely an overview of the technical solution of the present invention. In order to better understand the technical means of the present invention and to implement it in accordance with the contents of the specification, and to make the above and other objects, features and advantages of the present invention more apparent and understandable, specific embodiments of the present invention are described below. Attached Figure Description
[0017] One or more embodiments are illustrated by way of example with the corresponding pictures in the accompanying drawings. These illustrations do not constitute a limitation on the embodiments. Elements with the same reference numerals in the drawings are denoted as similar elements. Unless otherwise stated, the figures in the drawings do not constitute a limitation on scale.
[0018] Figure 1 This is a structural schematic diagram of at least one embodiment of the present invention; Figure 2 yes Figure 1 A schematic diagram of the structure without the inlet and outlet bend covers; Figure 3 This is a schematic diagram of module connections according to at least one embodiment of the present invention; Figure 4 This is a flowchart illustrating at least one embodiment of the present invention.
[0019] In the diagram: 11-Box body, 12-Middle partition, 13-Inlet bend cover, 14-Outlet bend cover, 15-Inlet bend partition, 16-Outlet bend partition, 17-Secondary mounting bracket, 18-Limiting slope, 19-Flow stabilizer plate, 21-Clean water chamber, 22-Test chamber, 23-Filter plate, 24-Outlet filter screen, 25-Inlet paddle, 26-Motor, 27-Measuring instrument, 28-Flow meter, 29-Heating rod, 31-Measuring instrument mounting hole, 32-Plug, 33-Top mounting bracket, 34-Top camera, 35-Side mounting bracket, 36-Side camera. Detailed Implementation
[0020] To make the objectives, technical solutions, and advantages of this invention clearer, the various embodiments of this invention will be described in detail below with reference to the accompanying drawings. However, those skilled in the art will understand that many technical details have been provided in the various embodiments of this invention to facilitate a better understanding of this application. However, the technical solutions claimed in this application can be implemented even without these technical details and with various variations and modifications based on the following embodiments. The division of the following embodiments is for ease of description and should not constitute any limitation on the specific implementation of this invention. The embodiments can be combined with and referenced by each other without contradiction.
[0021] Example 1 like Figures 1 to 3 The system shown includes a box 11 forming a rectangular cavity. A partition 12 is fixed in the middle of the box 11, dividing the inner cavity of the box 11 into two strip-shaped cavities: a clean water cavity 21 and a test cavity 22. A semi-circular inlet bend at the left end of the box 11 connects the clean water cavity 21 and the test cavity 22, and a semi-circular outlet bend at the right end of the box 11 connects the clean water cavity 21 and the test cavity 22. A measuring instrument 27, which is a dissolved oxygen meter, a thermometer, or a pH meter, is installed on the top of the inlet bend. A flow meter is installed on the top of the water outlet bend. An inlet paddle 25 is installed and fixed at the right end of the water purification chamber 21 where it connects to the water outlet bend. The inlet paddle 25 is driven by a motor 26. The housing 11 is made of transparent material. A top camera 34 and a side camera 36 are installed and fixed on the top and outside of the test chamber 22, respectively. The measuring instrument, flow meter, and motor 26 are connected and controlled by a control execution module. The top camera 34 and the side camera 36 are connected and controlled by a behavior recognition module. The control execution module and the behavior recognition module are connected and controlled by a central control module.
[0022] Therefore, based on the setup of the top camera 34 and the side camera 36, full coverage of both vertical and horizontal perspectives is achieved, simultaneously capturing the swimming posture and spatial position of fish. This significantly improves the accuracy of motion trajectory reconstruction. Simultaneously, based on the setup of the measuring instrument and the flow meter, the oxygen consumption rate of fish can be calculated more easily using the measuring instrument, while the swimming speed of fish can be calculated more easily using the flow meter combined with the cameras. This enables metabolic-motor coupling analysis, allowing for more precise monitoring and control of the aquatic environment, thereby greatly improving the accuracy of fish swimming metabolism measurement. Furthermore, the separate control and execution module (for motor and heating component regulation), behavior recognition module (for camera data processing), and central control module (for global decision-making) provide excellent support for closed-loop feedback control, facilitating better multi-sensor-controller-actuator linkage and automatic calibration of temperature / flow rate / dissolved oxygen. It also makes it easier to synchronize dissolved oxygen, flow rate, temperature, and behavioral data, avoiding metabolic rate calculation errors caused by time delays.
[0023] It is worth mentioning that all modules involved in this embodiment are logical modules. In practical applications, a logical unit can be a physical unit, a part of a physical unit, or a combination of multiple physical units. Furthermore, to highlight the innovative aspects of this invention, this embodiment does not introduce units that are not closely related to solving the technical problem proposed by this invention; however, this does not mean that other units are absent from this embodiment.
[0024] Example 2 Based on Embodiment 1, the top camera 34 is fixed on the top mounting bracket 33, which is fixed on the middle partition 12. The top mounting bracket 33 has a right-angle bend structure, so that the top camera 34 is vertically downward. The side camera 36 is fixed on the side mounting bracket 35, which is fixed to the outer wall of the housing 11. The side mounting bracket 35 has a right-angle bend structure, so that the side camera 36 is horizontally facing the middle of the test cavity 22. There are more than one top camera 34 and one side camera 36, and the fields of view of the top camera 34 and the side camera 36 completely cover the test cavity 22.
[0025] Furthermore, the water purification chamber 21 is also equipped with a temperature sensor and a heating component, both of which are connected and controlled by the control execution module.
[0026] Furthermore, a filter plate 23 is fixedly installed at the connection between the test chamber 22 and the inlet bend, and an outlet filter screen 24 is fixedly installed at the connection between the test chamber 22 and the outlet bend.
[0027] Furthermore, the inlet bend contains multiple inlet bend baffles 15, forming more than six water channels within the inlet bend, and the outlet bend contains multiple outlet bend baffles 16, forming more than four water channels within the outlet bend. The inlet bend baffles 15 are semi-circular plates, and the outlet bend baffles 16 are quarter-circular plates. At the connection between the inlet bend and the clean water chamber 21, there is a secondary mounting bracket 17 for installing a flow stabilizer plate 19, which is located at the intervals between the multiple inlet bend baffles 15.
[0028] Preferably, the top of the inlet bend has an inlet bend cover plate 13, on which multiple measuring instrument mounting holes 31 are opened for mounting measuring instruments 27. The multiple measuring instrument mounting holes 31 are all located on the extension line of the middle partition plate 12, and the multiple measuring instrument mounting holes 31 are evenly distributed and face the middle of the water channel; the top of the outlet bend has an outlet bend cover plate 14, on which a flow meter 28 is installed. The flow meter 28 is located on the extension line of the middle partition plate 12, and the flow meter mounting hole 32 is located in the middle of the outlet bend cover plate 14; a heating rod 29 is placed in the clean water chamber 21.
[0029] Generally, when the measuring instrument mounting hole 31 and the flow meter mounting hole 32 are not installed with the measuring instrument 27 and / or the flow meter 28, they are covered with a plug 32.
[0030] Furthermore, a limiting slope 18 is placed near the inlet bend in the water purification chamber 21. The highest point of the limiting slope 18 is higher than half the height of the water purification chamber 21, and the lowest point of the limiting slope 18 is lower than half the height of the water purification chamber 21. Thus, by using the bend baffle to channelize the water and the limiting slope to rectify the flow, the velocity variation coefficient can be reduced to below 8%, which is significantly beneficial for precise control of the water flow.
[0031] Example 3 like Figure 4 The method for determining fish swimming metabolism, as shown in Example 1 or Example 2, includes the following steps: S1. Initialization: System power-on initialization, self-testing device status; S2. Obtain setting parameters: Obtain the user-set control parameters from the storage space and put them into the system constant space; the control parameters include multi-stage speed, time and temperature; the speed is the rotation speed of motor 26; S3. Obtain operating parameters: Obtain the operating parameters corresponding to the stage identifier from the control parameters and put them into the system variable space. If the operating parameters are empty, read the first item of the control parameters and assign the stage identifier a value of 1. Then proceed to steps S4 and S5 simultaneously. The operating parameters include the current speed, the current stage running time, and the current temperature. S4. Execution control: After controlling the motor 26 according to the operating parameters, adjust the operating parameters according to the control parameters, and determine whether the total running time of the current stage in the operating parameters is not less than the total time in the control parameters. If so, proceed to step S6; otherwise, return to step S3. S5. Behavior recognition: Obtain the current image from the top camera 34 and the side camera 36, and identify and classify all visible objects in the test cavity 22 based on the current image. Then, locate the visible objects by comparing the current image. Identify the behavior pattern of the visible objects based on the location result, record and store the behavior pattern result in the storage space, and then return to step S3. S6. End and standby: Exit the control process and maintain the rotation speed of motor 26 at the preset standby speed (generally set to the minimum speed that can maintain water flow, depending on the actual situation).
[0032] The system separates its constant space (preset parameters) and variable space (real-time data) (S2-S3) to ensure the stability of control commands and effectively prevent experimental failures caused by runtime parameter tampering. By presetting multi-stage rotation speed, temperature, and time parameters, the system can achieve stepped metabolic load testing. Furthermore, through steps S3-S4, multi-stage time-sequential adjustment of rotation speed and temperature is achieved, better simulating natural water flow gradient changes and more closely reflecting the dynamic characteristics of fish metabolism. Standby mode not only reduces energy consumption and extends equipment lifespan but also ensures basic water flow, effectively preventing metabolic abnormalities in fish caused by cessation of flow. Real-time identification of fish movement trajectories via top / side cameras facilitates direct correlation between fish swimming behavior and metabolic data. Image comparison algorithms can be used for multi-target tracking, avoiding interference from traditional labeling methods on the fish body, making it particularly suitable for group swimming metabolic studies.
[0033] The steps of the various methods described above are only for clarity. In practice, they can be combined into one step or some steps can be split into multiple steps. As long as they include the same logical relationship, they are all within the scope of protection of this patent. Adding insignificant modifications or introducing insignificant designs to the algorithm or process, but without changing the core design of the algorithm and process, are also within the scope of protection of this patent.
[0034] Example 4 Based on Example 3, step S4 is executed by the control execution module, and specifically includes the following steps: S41, Operation Control: Control the motor 26 according to the operating parameters for one machine cycle, the duration of which is 0.01 seconds; S42. Determine if shutdown is required: Determine if the behavior mode warning flag of the previous machine cycle is true. If so, assign a value to the shutdown flag based on the behavior mode and the corresponding stage of the running parameters. If the shutdown flag is assigned a true value, proceed to the next step. Otherwise, jump to step S44. S43. Emergency handling: Clear the system variable space, record the error information to the storage space, issue an alarm, and jump to step S6; S44. Adjust operating parameters: Add the machine cycle time to the current stage running time. If the current stage running time is greater than the time of the corresponding stage in the control parameters, increment the stage identifier by 1. S45. Determine if the operating parameters have reached the limit: Determine if the total running time of the current stage in the operating parameters is not less than the total time in the control parameters. If so, proceed to step S6; otherwise, return to step S3.
[0035] This facilitates real-time adjustment of motor speed, ensuring water flow stability and more accurately reflecting the metabolic response of fish under varying speed and temperature conditions. It avoids metabolic data distortion caused by static environments. When abnormal behavior is detected, an emergency shutdown is triggered, which can effectively avoid metabolic data deviation caused by fish stress. This embodiment can significantly improve the accuracy, repeatability, and ecological relevance of fish swimming metabolic data.
[0036] Example 5 Based on Example 3, step S5 is executed by the behavior recognition module, and specifically includes the following steps: S51. Image acquisition: Acquire a top image from the top camera 34 and a side image from the side camera 36; S52. Identify objects: Mark visible objects based on the color difference in the top and side images. Each continuous block is a visible object. Mark each visible object as a unique object based on its pixel size. Objects include pebbles, fish, and food. S53. Comparison and positioning: Position the visible object according to the position ratio of the visible object in the top image and the side image; S54. Behavior recognition: Based on the position of visible objects in multiple machine cycles, the behavior of fish is recognized and calculated to obtain a behavior pattern; S55. Determine the warning range: Determine whether the recognition result of the behavior pattern is within the warning range. If so, set the behavior pattern warning flag to true and send the behavior pattern to the control execution module. S55. Behavior record storage: Store the results of the behavior pattern in the storage space, and then return to step S3.
[0037] By simultaneously acquiring images through top-view and side-view dual cameras, combined with color difference marker recognition and positional scaling, it is possible to effectively track the three-dimensional movement trajectory of fish in all directions. Furthermore, by identifying "pebbles, food, and fish" (S52) by pixel size, interference from non-target objects in the behavior analysis is eliminated, ensuring a significantly lower computational load compared to existing neural network recognition technologies, effectively avoiding control delays caused by excessive computation. Behavioral patterns are identified based on continuous periodic positional changes, and an "alert range" is set. Abnormal acceleration or stagnation can be immediately fed back to the control system to adjust experimental conditions. Thus, behavioral patterns (such as explosive swimming and constant-speed cruising) serve as dynamic metabolic indicators, enhancing the data dimensionality. The behavioral patterns are stored in an independent space, greatly facilitating subsequent source tracing and further refined analysis, providing significantly more favorable data support for the determination of fish swimming metabolism. Therefore, this embodiment deeply integrates machine vision, closed-loop control, and behavioral metabolic model to achieve fully automated, high-precision, and multi-dimensional measurement of fish swimming metabolism; it pioneers a real-time feedback mechanism for behavioral patterns, effectively avoiding metabolic data distortion, breaking through the limitations of traditional single oxygen consumption measurement, and constructing a "dynamic behavior-energy consumption" correlation system, which can provide a scalable intelligent platform for fish physiological ecology research.
[0038] Those skilled in the art will understand that the above embodiments are specific examples of implementing the present invention, and in practical applications, various changes in form and detail may be made without departing from the spirit and scope of the present invention.
Claims
1. A system for measuring fish swimming metabolism, characterized in that, The enclosure includes a box (11) forming a rectangular cavity. A partition (12) is fixed in the middle of the box (11) to divide the inner cavity of the box (11) into two strip-shaped cavities: a water purification cavity (21) and a test cavity (22). A semi-circular water inlet bend at the left end of the box (11) connects the water purification cavity (21) and the test cavity (22), and a semi-circular water outlet bend at the right end of the box (11) connects the water purification cavity (21) and the test cavity (22). A measuring instrument (27) is installed on the top of the water inlet bend. The measuring instrument (27) is a dissolved oxygen meter, a thermometer, or a pH meter. The water outlet bend... A flow meter is installed on the top. A water inlet paddle (25) is installed and fixed at the right end of the water purification chamber (21) where it connects to the water outlet bend. The water inlet paddle (25) is driven by a motor (26). The box body (11) is made of transparent material. A top camera (34) and a side camera (36) are installed and fixed on the top and outside of the test chamber (22), respectively. The measuring instrument, flow meter and motor (26) are connected and controlled by the control execution module. The top camera (34) and side camera (36) are connected and controlled by the behavior recognition module. The control execution module and the behavior recognition module are connected and controlled by the central control module.
2. The system for measuring fish swimming metabolism as described in claim 1, characterized in that, The top camera (34) is fixed on the top mounting bracket (33), which is fixed on the middle partition (12). The top mounting bracket (33) has a right-angle bend structure, so that the top camera (34) is vertically downward. The side camera (36) is fixed on the side mounting bracket (35), which is fixed to the outer wall of the box (11). The side mounting bracket (35) has a right-angle bend structure, so that the side camera (36) is horizontally facing the middle of the test cavity (22). There are more than one top camera (34) and one side camera (36), and the field of view of the top camera (34) and the side camera (36) completely covers the test cavity (22).
3. The fish swimming metabolism measurement system as described in claim 1, characterized in that, The water purification chamber (21) is also equipped with a temperature sensor and a heating component, both of which are connected and controlled by the control execution module.
4. The system for measuring fish swimming metabolism as described in claim 1, characterized in that, A filter plate (23) is fixedly installed at the connection between the test chamber (22) and the inlet bend, and an outlet filter screen (24) is fixedly installed at the connection between the test chamber (22) and the outlet bend.
5. The system for measuring fish swimming metabolism as described in claim 1, characterized in that, The inlet bend contains multiple inlet bend baffles (15), forming more than six water channels within the inlet bend. The outlet bend contains multiple outlet bend baffles (16), forming more than four water channels within the outlet bend. The inlet bend baffles (15) are semi-circular plates, and the outlet bend baffles (16) are quarter-circular plates. A secondary mounting bracket (17) is provided at the connection between the inlet bend and the clean water chamber (21) for installing a flow stabilizer plate (19). The flow stabilizer plate (19) is located at the intervals between the multiple inlet bend baffles (15).
6. The system for measuring fish swimming metabolism as described in claim 5, characterized in that, The top of the inlet bend has an inlet bend cover plate (13), and the inlet bend cover plate (13) has multiple measuring instrument mounting holes (31) for mounting measuring instruments (27). The multiple measuring instrument mounting holes (31) are all located on the extension line of the middle partition plate (12), and the multiple measuring instrument mounting holes (31) are evenly distributed and face the middle of the waterway. The top of the outlet bend has an outlet bend cover plate (14), and the outlet bend cover plate (14) has a hole for mounting a flow meter (28). The flow meter (28) is located on the extension line of the middle partition plate (12), and the flow meter mounting hole (32) is located in the middle of the outlet bend cover plate (14). A heating rod (29) is placed in the clean water chamber (21).
7. The system for measuring fish swimming metabolism as described in claim 1, characterized in that, A limiting slope (18) is placed near the water inlet bend in the water purification chamber (21). The highest point of the limiting slope (18) is higher than half the height of the water purification chamber (21), and the lowest point of the limiting slope (18) is lower than half the height of the water purification chamber (21).
8. A method for determining the metabolism of fish swimming, characterized in that, The method for measuring fish swimming metabolism using the system described in any one of claims 1 to 8 includes the following steps: S1. Initialization: System power-on initialization, self-testing device status; S2. Obtain setting parameters: Obtain the user-set control parameters from the storage space and put them into the system constant space; the control parameters include multi-stage speed, time and temperature; The rotational speed is the speed of the motor (26); S3. Obtain operating parameters: Obtain the operating parameters corresponding to the stage identifier from the control parameters and put them into the system variable space. If the operating parameters are empty, read the first item of the control parameters and assign the stage identifier a value of 1. Then proceed to steps S4 and S5 simultaneously. The operating parameters include the current speed, the current stage running time, and the current temperature. S4. Execution control: After controlling the motor (26) according to the operating parameters, adjust the operating parameters according to the control parameters, and determine whether the total running time of the current stage in the operating parameters is not less than the total time in the control parameters. If so, proceed to step S6; otherwise, return to step S3. S5. Behavior recognition: Obtain the current image from the top camera (34) and the side camera (36), and identify and classify all visible objects in the test cavity (22) according to the current image. Then, locate the visible objects by comparing the current image. Identify the behavior pattern of the visible objects according to the location result, record and store the behavior pattern result in the storage space, and then return to step S3. S6, End and Standby: Exit the control process and maintain the rotation speed of the motor (26) at the preset standby speed.
9. The method for determining fish swimming metabolism as described in claim 8, characterized in that, Step S4 is executed by the control execution module and specifically includes the following steps: S41, Operation control: Control the motor (26) according to the operating parameters for one machine cycle, the duration of which is 0.01 seconds; S42. Determine if shutdown is required: Determine if the behavior mode warning flag of the previous machine cycle is true. If so, assign a value to the shutdown flag based on the behavior mode and the corresponding stage of the running parameters. If the shutdown flag is assigned a true value, proceed to the next step. Otherwise, jump to step S44. S43. Emergency handling: Clear the system variable space, record the error information to the storage space, issue an alarm, and jump to step S6; S44. Adjust operating parameters: Add the machine cycle time to the current stage running time. If the current stage running time is greater than the time of the corresponding stage in the control parameters, increment the stage identifier by 1. S45. Determine if the operating parameters have reached the limit: Determine if the total running time of the current stage in the operating parameters is not less than the total time in the control parameters. If so, proceed to step S6; otherwise, return to step S3.
10. The method for determining fish swimming metabolism as described in claim 8, characterized in that, Step S5 is executed by the behavior recognition module and specifically includes the following steps: S51. Acquire images: Acquire top images from the top camera (34) and side images from the side camera (36); S52. Identify objects: Mark visible objects based on the color difference in the top and side images. Each continuous block is a visible object. Mark each visible object as a unique object based on its pixel size. Objects include pebbles, fish, and food. S53. Comparison and positioning: Position the visible object according to the position ratio of the visible object in the top image and the side image; S54. Behavior recognition: Based on the position of visible objects in multiple machine cycles, the behavior of fish is recognized and calculated to obtain a behavior pattern; S55. Determine the warning range: Determine whether the recognition result of the behavior pattern is within the warning range. If so, set the behavior pattern warning flag to true and send the behavior pattern to the control execution module. S55. Behavior record storage: Store the results of the behavior pattern in the storage space, and then return to step S3.