A parallel type of contrast fish passing test platform

By designing a parallel control fish passage test platform, the uniformity of the fish passage test environment and the high-precision acquisition and analysis of data were achieved, solving the problem of environmental influence in traditional fish passage model tests and improving the optimization efficiency of fish passage design.

CN120739040BActive Publication Date: 2025-11-07TIANJIN RES INST FOR WATER TRANSPORT ENG M O T
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202511188083.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-08-25
Publication Date
2025-11-07
Estimated Expiration
2045-08-25

AI Technical Summary

Technical Problem

In traditional fishway hydraulic model experiments, the ecological behavior characteristics of migratory fish are easily affected by the indoor environment, resulting in a lack of representativeness in the experimental results and making it difficult to identify problems and make targeted optimizations in a timely manner during the model experiment.

Method used

Design a parallel control fish passage test platform, which includes n parallel fish passage channels and shared inlet and outlet boundaries. Combined with real-time control and data processing at the software layer, it can achieve uniformity of the test environment and high-precision data acquisition and analysis.

Benefits of technology

By eliminating differences in indoor environments, the reliability of experiments is ensured, supporting parallel monitoring and data comparison across multiple experimental segments, meeting the high-precision requirements of fish migration research, and improving the optimization efficiency of fishway design.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120739040B_ABST
    Figure CN120739040B_ABST
Patent Text Reader

Abstract

The application discloses a parallel type contrast over-fish test platform and belongs to the field of fishway engineering, and comprises a physical layer, which is used for constructing n over-fish channels in parallel and with consistent bottom slopes, sequentially forming a shared entrance boundary at an upstream end, forming a shared exit boundary at a downstream end, and implementing a contrast test under a single variable condition; and a software layer, which is in communication connection with the physical layer and is used for initializing the physical layer, setting a boundary condition, performing real-time control, collecting data, processing data and visually displaying. The test platform provides simultaneous and synchronous test conditions for over-fish test in a hydraulic model, can guarantee that operating conditions, indoor environments and feeding conditions are all the same during over-fish test research, eliminates the difference in migration behaviors of the ecological behavior characteristics of migratory fishes caused by indoor environment stress and other defects, perfects test results of a fishway hydraulic model, and guides fishway engineering design of a water conservancy hub.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application belongs to the field of fishway engineering, and particularly relates to a parallel type fish passing test platform. BACKGROUND

[0002] The water conservancy projects such as sluices and dams built on rivers have brought great economic and social benefits to human beings, but also have destroyed the original connectivity of the rivers, blocked the fish migration channel, and had adverse effects on fish resources, river biodiversity and ecological system. The fishway is a fish passing structure set at the water conservancy projects such as sluices and dams or natural obstacles to connect the fish migration channel, and the construction of the fishway engineering can alleviate the blocking effect of the obstacles to a certain extent.

[0003] In order to ensure the effectiveness of the fishway design, the fishway engineering design needs to fully coordinate the hydraulic characteristics in the fishway and the migration habits of the target fish. According to the technical specification requirements, the supporting fishway hydraulic model test needs to be carried out on the basis of ecological investigation. At present, the traditional fishway hydraulic model is based on the actual engineering design, meets the similarity criterion of Froude number, establishes a normal hydraulic model by reasonably selecting the geometric scale, and carries out the fishway hydraulic participating demonstration and optimization in a single fishway model on the basis of the swimming ability test results of the target fish passing object, and takes the target object response, preference and swimming limit flow rate as the technical index of the hydraulic model test.

[0004] Many researchers believe that by reasonably selecting the test target fish in the hydraulic model, the purpose of accurately reflecting the effectiveness of the fishway engineering demonstration and optimization can be achieved. However, the ecological behavior characteristics of the migratory fish are easily affected by the stress of the indoor environment, and the test conditions of different times and different geometric scales will aggravate the randomness of the fish releasing test. Therefore, when the model test is carried out at different times and the light conditions change, the representative of the migratory behavior characteristics of the test target fish is also insufficient. Therefore, the traditional fishway hydraulic model test does not support the fish releasing test, so that the fishway hydraulic model test result lacks the entity verification link of the research target object, which is not conducive to finding problems and making targeted optimization in the model test process, and a new type of test platform is urgently needed. SUMMARY

[0005] In order to solve the above technical problems, the present application provides a parallel type fish passing test platform, which comprises:

[0006] A physical layer is used to build n parallel fish passing channels with consistent bottom slope, form a shared entrance boundary at the upstream end and a shared exit boundary at the downstream end in sequence, and implement a control test under a single variable condition.

[0007] A software layer is in communication connection with the physical layer, and is used for initialization, boundary condition setting, real-time control, data acquisition, data processing and visual display of the physical layer.

[0008] Preferably, the physical layer comprises:

[0009] a physical model for constructing n fish passage channels;

[0010] a fish passage grid actuator for forming controllable fish passage / blocking states between the shared entrance boundary and the shared exit boundary;

[0011] a measurement device for synchronously acquiring flow, water level, and fish migration trajectory data.

[0012] Preferably, the physical model comprises an upstream inflow boundary control system, a transition section with a bottom slope i1, a second fixed fish blocking grid, n parallel fish passage channels with a bottom slope i2, an adaptation section with a bottom slope i3, a temporary rearing section with a bottom slope i4, a first fixed fish blocking grid, and a downstream outflow boundary control system.

[0013] Preferably, the fish passage grid actuator comprises a second electrically operated lifting fish blocking grid and a first electrically operated lifting fish blocking grid.

[0014] Preferably, the measurement device comprises a fish migration behavior monitoring camera device, a flow meter, and a pressure type water level gauge.

[0015] Preferably, the software layer comprises:

[0016] an interface interaction layer for receiving user input and displaying real-time states;

[0017] a core control layer for converting user instructions into control signals for physical layer devices and marking the sources of measurement data;

[0018] a data storage layer for storing and querying original and historical data;

[0019] a data processing layer for cleaning collected data, calculating trajectories, and coupling with external flow field data;

[0020] a data display layer for visualizing processed data in the form of charts, trajectories, and / or files.

[0021] Preferably, the interface interaction layer comprises:

[0022] an operation interface for providing boundary condition settings, electrically operated lifting fish blocking grid control buttons, and test section selection drop-down menus;

[0023] a state monitoring unit for displaying test section operation states, device states, and fish quantity statistical information in real time.

[0024] Preferably, the core control layer comprises:

[0025] An instruction scheduling unit is configured to convert the user operation into a physical device instruction, and control the fish screen motor through a Modbus protocol;

[0026] A data synchronization unit is configured to collect sensor data in real time, and mark the data source according to the test section number;

[0027] The data storage layer comprises:

[0028] An original data storage unit is configured to store real-time sensor data, video clips and user setting parameters;

[0029] A historical data storage unit is configured to query historical records according to the test section and time range.

[0030] Preferably, the data processing layer comprises:

[0031] A trajectory analysis unit is configured to collect images on the platform, pre-process the images, detect the test target fish and associate the target, generate the migration path of the test target fish, and calculate the migration speed and cumulative migration distance of the test target fish;

[0032] A hydrological analysis unit is configured to record the measured data of the pressure measuring point, convert the measured data into water level data of the measuring point, and generate a water level-time curve;

[0033] A model coupling unit is configured to import the calculation results of a mathematical model, and couple and display the migration trajectory and the flow field data.

[0034] Preferably, the data display layer comprises:

[0035] A visual chart unit is configured to draw a distance-time curve, a speed distribution histogram, and render a trajectory heat map;

[0036] A multi-section comparison unit is configured to support simultaneous display of data curves of multiple test sections for comparative analysis;

[0037] A file analysis unit is configured to support import of flow data, test section structure drawings and flow field calculation results;

[0038] A coupling display unit is configured to superimpose a flow field vector diagram on a trajectory diagram, and present the relationship between the fish behavior and the water flow.

[0039] Compared with the prior art, the present application has the following advantages and technical effects:

[0040] The parallel type fish passing test platform proposed in the present application has the following advantages:

[0041] (1) The platform sets n parallel fish passage channels, sets a shared entrance and an exit boundary control system, and sets a unified temporary breeding environment, so as to ensure that the test environment is the same (laboratory environment temperature, water temperature in the fishway), the test target fish is bred, and the temporary breeding environment is the same, thereby eliminating the indoor environment difference in the fish release test process, and only adjusting the fishway slot structure as a single variable for testing, so as to ensure the reliability of the indoor fish release test;

[0042] (2) The platform includes a high-definition camera, a pressure type water level measuring instrument and an integrated measurement and control platform, realizes a full-process closed loop of physical equipment control, data acquisition, analysis and processing and visualization, supports parallel monitoring and data comparison of multiple test sections, and meets the high-precision demand of fish migration research. BRIEF DESCRIPTION OF DRAWINGS

[0043] The accompanying drawings, which form a part of this application, are included to provide a further understanding of the application and are incorporated in and constitute a part of this application. The embodiments of this application, and their

[0044] Figure 1 is a parallel control fish passage test platform architecture of an embodiment of the application;

[0045] Figure 2 is a physical layer plane general layout of an embodiment of the application;

[0046] Figure 3 is a longitudinal section view of the A-A section in the physical layer plane general layout of an embodiment of the application;

[0047] 1, an upstream inflow boundary control system; 2, a second fixed fish blocking grid; 3, n parallel fish passage channels; 4, a second electric lifting fish blocking grid; 5, a first electric lifting fish blocking grid; 6, a first fixed fish blocking grid; 7, a downstream outflow boundary control system; 8, a fish migration behavior monitoring camera device; 9, a flow meter; 10, a pressure type water level measuring instrument; 11, a transition section bottom slope i1; 12, a fish passage test section bottom slope i2; 13, an adaptation section bottom slope i3; 14, a temporary breeding section bottom slope i4. DETAILED DESCRIPTION

[0048] It should be noted that the embodiments in the present application and the features in the embodiments can be combined with each other without conflict. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.

[0049] It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a group of computer executable instructions, and although the logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0050] As Figure 1 shown in the embodiment, a parallel control fish passing test platform is provided, comprising:

[0051] a physical layer, configured to construct n parallel fish passing channels with consistent bottom slopes, form a shared entrance boundary at an upstream end and a shared exit boundary at a downstream end in sequence, and implement a control test under a single variable condition; wherein the single variable condition refers to that the platform is configured to set n parallel fish passing channels, set a shared entrance and exit boundary control system, and unify a temporary breeding environment, so as to ensure that the test environment is the same (laboratory environment temperature, water temperature in the fishway), the test target fish is bred in the same temporary breeding environment, and thus the indoor environment difference in the fish release test is eliminated, the test is performed by adjusting only the fishway slot structure as a single variable, and the reliability of the indoor fish release test is ensured;

[0052] a software layer in communication connection with the physical layer, configured to initialize the physical layer, set a boundary condition, perform real-time control, collect data, process data, and perform visual display.

[0053] Further, the physical layer comprises:

[0054] a physical model, configured to construct n fish passing channels;

[0055] a fish passing grid actuator, configured to form a controllable fish passing / blocking state between the shared entrance boundary and the shared exit boundary;

[0056] the shared entrance boundary: between the upstream inflow boundary control system 1 and the second fixed fish blocking grid 2, all channels share the same inflow condition.

[0057] the shared exit boundary: between the downstream outflow boundary control system 7 and the first fixed fish blocking grid 6, all channels share the same outflow condition.

[0058] the electric lifting fish blocking grid, including the second electric lifting fish blocking grid 4 and the first electric lifting fish blocking grid 5, located inside the channel, configured to control fish passing / blocking, rather than the boundary itself.

[0059] a measuring device, configured to synchronously acquire flow, water level, and fish migration trajectory data.

[0060] Further, as shown in Figure 2 and Figure 3 , the physical model comprises the upstream inflow boundary control system 1, the transition section bottom slope i111, the second fixed fish blocking grid 2, the parallelly arranged n fish passing channels 3 of the fish passing test section bottom slope i212, the adaptation section bottom slope i313, the temporary breeding section bottom slope i414, the first fixed fish blocking grid 6, and the downstream outflow boundary control system 7.

[0061] Further, the fish-passage grid actuator includes a second-stage electrically operated lifting fish-passage grid 4 and a first-stage electrically operated lifting fish-passage grid 5.

[0062] Further, the measuring device includes a fish migration behavior monitoring camera 8, a flow meter 9, and a pressure-type water level gauge 10.

[0063] Further, the software layer includes:

[0064] an interface interaction layer for receiving user input and displaying real-time status;

[0065] a core control layer for converting user instructions into control signals for physical layer devices and marking the source of measurement data;

[0066] a data storage layer for storing and querying raw and historical data;

[0067] a data processing layer for cleaning collected data, calculating trajectories, and coupling with external flow field data;

[0068] a data display layer for visualizing processed data in the form of charts, trajectories, and / or files.

[0069] Further, the interface interaction layer includes:

[0070] an operation interface for providing boundary condition settings, electrically operated lifting fish-passage grid control buttons, and test section selection drop-down menus;

[0071] a status monitoring unit for displaying test section operation status, device status (such as fish-passage grid lifting time), and fish quantity statistical information in real time.

[0072] Further, the core control layer includes:

[0073] an instruction scheduling unit for converting user operations into physical device instructions and controlling fish-passage grid motors through Modbus protocol;

[0074] a data synchronization unit for collecting sensor data in real time and marking data sources (such as "test section 1_P1 water level") by test section number;

[0075] The data storage layer includes:

[0076] a raw data storage unit for storing sensor real-time data, video clips, and user setting parameters;

[0077] a historical data storage unit for querying historical records by test section and time range.

[0078] Further, the data processing layer includes:

[0079] Trajectory analysis unit for platform image preprocessing, test target fish detection and target association, generating test target fish migration path, calculating test target fish migration speed, cumulative migration distance calculation;

[0080] Hydrological analysis unit for recording pressure measurement point measured data and converting into measurement point water level data, generating water level-time curve;

[0081] Model coupling unit for importing mathematical model calculation results, coupling migration trajectory and flow field data coupling display.

[0082] Further, the data display layer includes:

[0083] Visual chart unit for drawing distance-time curve, speed distribution histogram, and rendering trajectory heat map;

[0084] Multi-segment comparison unit for supporting simultaneous display of multiple test segment data curves for comparative analysis;

[0085] File analysis unit for supporting import of flow data, test segment structural drawing, and flow field calculation results;

[0086] Coupling display unit for superimposing flow field vector diagram on trajectory diagram to present the relationship between fish behavior and water flow.

[0087] As an additional embodiment, the parallel control fish passing test platform operation process of the present embodiment is as follows:

[0088] (1) Physical layer;

[0089] Physical model making: test personnel reasonably determine the number of parallel fish passing channels n and the length of fish passing test segment L according to the test content and test site conditions; select the fishway engineering to be demonstrated section and geometric scale based on the design scheme, and make normal model according to the gravity similarity criterion; among the n fish passing channels, reserve 1 reference fish passing channel (design scheme) and n-1 optimized fish passing channels; the bottom slope i of the n fish passing channels is consistent. 2n (n=1, 2……)

[0090] In order to ensure the stability of the water flow conditions of the fish passing test segment, a transition segment with a length of about 1~2 times the bottom width of the test segment is set at the upstream segment of the test segment, L1=(1~3)b, b refers to the bottom width of a single fish passing channel, which is used to calculate the transition / adaptive segment length L1=(1~3)b.

[0091] In order to eliminate the stress of migratory fish during the test, an adaptation section and a temporary breeding section with the width of (1-1.5)b times the average width of the test section are arranged downstream of the test section; the transition section, the fish passing test section and the adaptation section have the same bottom slope i1=i2=i3, the bottom slope i4=0 of the temporary breeding section is 0 (horizontal state), which is used for temporary breeding of fish and ensures that the water flow in the rest area is static;

[0092] Fish passing grid actuator: the target fish migrates in the opposite direction of the incoming flow, in order to ensure the uniform and controllable test opening time, a first-stage electric lifting fish barrier 5 and a second-stage electric lifting fish barrier 4 are arranged in sequence at the downstream end of the adaptation section and the fish passing test section.

[0093] In order to control the uniform and controllable fish passing test distance, a first-stage fixed fish barrier 6 and a second-stage fixed fish barrier 2 are arranged in sequence at the downstream end of the temporary breeding section and the upstream end of the fish passing test section.

[0094] Measuring equipment: the fish passing test needs to accurately control and measure the fish passing channel flow, water level, test target fish migration trajectory, etc., the test personnel reasonably design the upstream inflow boundary control system 1 and the downstream outflow boundary control system 7, and set a flowmeter 9 at the inflow end of the upstream inflow boundary control system 1, so as to ensure that the upper and lower streams of the n parallel arranged fish passing channels 3 have a stable and uniform water level difference on the basis of controlling a certain inflow flow; according to the test purpose and research content requirements, fish migration behavior monitoring camera equipment 8, pressure type water level measuring meter 10 and other measuring equipment are arranged in a kind of parallel control fish passing test platform.

[0095] (2) Software layer;

[0096] Initialization phase:

[0097] System parameter loading:

[0098] After the platform is started, the core parameters in the configuration file are first read:

[0099] Fish passing test section configuration: the total number n of test sections and the basic information of each test section, such as length, width and other physical properties, are obtained, which provide basic parameters for subsequent data collection and analysis.

[0100] Pressure measuring point information: the test personnel pre-input pressure measuring point number, position coordinates are loaded, these measuring points are the key nodes of water level data collection, the accuracy of their position directly affects the reliability of the water level monitoring curve. Considering that the water level difference between the fishway pool rooms is a key parameter for fishway design, 2 pressure measuring points need to be arranged at the relatively stable water flow of the upper and lower pool rooms corresponding to a fish passing hole / joint.

[0101] Device parameters: read the initialization parameters of devices such as electric screen, flow meter, camera, etc., such as the initial height of the screen (default lowered state), the range of the flow meter, etc., to ensure that the device is in a normal working state.

[0102] Device self-test and calibration:

[0103] The system conducts a comprehensive self-test on the physical layer devices;

[0104] Sensor communication detection: by sending test instructions, check whether the flow meter, pressure sensor, etc. can respond normally and return data, if communication abnormalities are detected, the platform interface will display the corresponding device with a red warning mark, and record the fault information in the log.

[0105] Screen motor state check: verify whether the motor of the electric screen is working normally, ensure that it can accurately execute the lifting instruction, and record the initial position of the motor for subsequent test control.

[0106] Camera picture test: start the camera, check whether the video stream is clear and stable, test whether the video capture function is normal, if there are problems such as lag or black screen, feedback to the maintenance personnel in time.

[0107] Interface initialization:

[0108] After completing parameter loading and device self-test, the interactive interface is initialized and rendered;

[0109] Test section state display: in the "test section state" module, mark all test section states as "preparing", and display the normal state of the device with a green icon, to facilitate the operator to intuitively understand the system readiness.

[0110] Parameter setting area loading: according to the number of pressure measurement points, dynamically generate input boxes in the "pressure measurement point setting" area, support test personnel to temporarily adjust or supplement the measurement point information.

[0111] Default parameter filling: in the boundary condition setting area, automatically fill in the default flow and water level values, such as setting the flow to 1m³ / s, the inlet water level to 0.41m, and the outlet water level to 0.25m, to provide initial reference data for the operator.

[0112] Boundary condition setting stage:

[0113] Parameter input and verification:

[0114] The operator sets the model inlet flow and outlet water level parameters through the interface slider or input box;

[0115] Flow setting: In the "Model Inlet Flow" slider area, drag the slider to adjust the flow value within the range of 0-10 m³ / s. The input box displays the current setting value in real time, and the input data is format and range verified to ensure the input value is within a reasonable range.

[0116] Water level setting: Set the water level height within the range of 0-5 m through the "Model Inlet Water Level" and "Model Outlet Water Level" sliders. Similarly, data verification is performed to prevent illegal input from causing system abnormalities.

[0117] Parameter synchronization and delivery:

[0118] When the parameter setting is completed, click the "Set Boundary Conditions" button, and the system performs the following operations:

[0119] Parameter packaging: Package the set flow and water level parameters to generate instruction data packets containing parameter values, timestamps, and other information.

[0120] Global delivery: The core control layer sends parameter instructions to the total water inlet valve and drainage system control module of the physical model, ensuring that all test sections share the same boundary conditions and achieve unified test environment control.

[0121] State update: The interface displays the current flow and water level values in real time and marks the boundary condition state as "Set", while recording parameter setting operations and time in the log.

[0122] Test start and real-time monitoring phase:

[0123] Test start operation:

[0124] The operator selects the target test section (single or multiple selection) and sets the sampling frequency (e.g., 1-60 Hz), then clicks the "Start Collection" button to start the test.

[0125] Instruction analysis: After receiving the start instruction, the core control layer analyzes the selected test section number and sampling frequency parameters to generate a corresponding collection task list.

[0126] Device triggering: Send a start instruction to the sensors, cameras, and netting equipment of the selected test section. The electric netting rises to the preset height, the sensors start collecting data at the set frequency, and the camera starts video recording.

[0127] State switching: The interface updates the corresponding test section state to "Running", and displays real-time monitoring data such as current flow, water level, fish quantity, and other information.

[0128] Real-time data collection and transmission:

[0129] During the test running process, sensors and cameras continuously collect data;

[0130] Flow meter data collection: Real-time monitoring of total import flow, collected data includes flow value, collection timestamp, and is marked as "global-timestamp-Q" format, ensuring data traceability.

[0131] Pressure sensor data collection: Collect data according to the combination of measurement point number (such as P1, P2) and test section number (such as S1, S2), data format is "S1-P1-timestamp-H", each measurement point's water level data has a clear physical identification, facilitating subsequent analysis and processing.

[0132] Camera video collection: Video stream files are named according to test section number (such as camera_S1.mp4), while recording video, real-time extraction of fish position coordinates (x, y) is performed through built-in algorithm, and is associated with timestamp.

[0133] Data transmission: Collected data is transmitted in real time to the core control layer through wired or wireless communication network, data encryption and verification mechanism is adopted during transmission to ensure data integrity and security.

[0134] Real-time data display and feedback:

[0135] The core control layer processes the received data and pushes it to the interactive interface for display;

[0136] State monitoring: The "test section state" module updates the running state of each test section in real time, displays current flow, water level, monitoring duration, fish quantity and other key indicators, and presents them in the form of a dashboard.

[0137] Real-time trajectory rendering: In the trajectory display module, fish movement trajectory points are drawn in real time according to the coordinates extracted by the camera, and fish trajectories in different test sections are distinguished by different colors, facilitating observation of fish activity in each test section.

[0138] Abnormal alarm: When monitoring data exceeds the preset threshold (such as sudden large flow fluctuation, abnormal water level rise), the system immediately triggers the alarm mechanism, the interface flashes in red and sounds to notify the operator, and records the abnormal event in the log.

[0139] Data processing and storage stage:

[0140] Data cleaning and preprocessing:

[0141] The core control layer transmits the collected raw data to the data processing layer for cleaning and preprocessing;

[0142] Outlier rejection: The fishway model involves water flow parameters and test target fish migration parameters collection. The data has its own properties, (1) the water flow in the fish passage is basically constant, but it is non-uniformly distributed in space; (2) fish migration behavior is random, and the migration route and speed change greatly in space and time. Based on the characteristics of the test data, the box plot method is embedded in the platform software, such as formula (1a) and formula (1b), to determine and process outliers.

[0143] (1a);

[0144] or then the outlier is determined (1b);

[0145] wherein, is the interquartile range; is the first quartile of the collected data; is the third quartile of the collected data; is the collected data point.

[0146] Data filtering: Considering the distribution characteristics of the fishway water flow, which is basically constant and non-uniform, the moving average filtering method of formula (2) is used for data filtering of continuous data such as pressure and flow, to reduce the influence of data noise on the analysis results.

[0147] (2);

[0148] wherein, x i is the original collected data; x n is the filtered data; N is the window size.

[0149] Video analysis: Through image recognition and trajectory calculation algorithm, the dynamic behavior quantitative analysis of the test target fish is realized, which includes the following steps:

[0150] Image enhancement: Gaussian filter is used to remove video noise, and histogram equalization is used to enhance image contrast, the formula is:

[0151] (3);

[0152] wherein, is the gray value of the enhanced image, r is the gray value of the original image, is the gray scale transformation function, which ensures that the gray difference between fish and background is significant.

[0153] Target detection: The fish bounding box is predicted through the anchor box mechanism, and the intersection ratio (IOU) calculation is used for target detection, the intersection ratio threshold can be set to 0.5, the formula is:

[0154] (4);

[0155] wherein, , B1∩B2 is the intersection area of two bounding boxes; B1∪B2 is the union area of two bounding boxes.

[0156] Target association: Hungarian algorithm is adopted to realize cross-frame target association by constructing a cost matrix, and the cost function comprehensively considers spatial distance and appearance features, and the formula is:

[0157] (5);

[0158] wherein, is the Euclidean distance of pixel coordinates of the i-th frame and the j-th frame target; is the HOG feature cosine distance, is the weight coefficient, .

[0159] Trajectory matching: Kalman filter is adopted to predict the motion state of the target and to smooth the trajectory, and the formula is:

[0160] (6);

[0161] wherein, is the state prediction value of the k-th frame; is the state prediction value of the k-1-th frame; is the state transition matrix; is the Kalman gain; is the observation value; is the observation matrix; is the error covariance matrix of the k-th frame; is the error covariance matrix of the k-1-th frame; is the transpose of the state transition matrix F.

[0162] Coordinate conversion: Zhang's calibration method is adopted to obtain the camera intrinsic matrix K and the extrinsic matrix [R∣T], and the pixel coordinate to world coordinate conversion formula is:

[0163] (7);

[0164] wherein, is the scale factor; is the pixel coordinate; is the world coordinate, and the physical coordinate is restored by inverse matrix operation; is the transpose of the zero vector; is the rotation matrix; is the translation vector.

[0165] Instantaneous velocity calculation:

[0166] (8);

[0167] wherein, is physical coordinates at time t i is a relative timestamp, ;f ramei is a current frame number (starting from 0);f ps is a video frame rate (f ps = 30).

[0168] (7) Cumulative migration distance calculation:

[0169] (9);

[0170] wherein, k is the kth frame; is the X-axis direction coordinate of the target in the k+1th frame; is the X-axis direction coordinate of the target in the kth frame; is the Y-axis direction coordinate of the target in the k+1th frame; is the Y-axis direction coordinate of the target in the kth frame.

[0171] (8) Abnormal trajectory filtering: combining the test target fish length threshold and the motion continuity constraint to filter the abnormal trajectory.

[0172] Test target fish length threshold determination: (10);

[0173] wherein, is the physical length of the fish calculated by the pixel coordinate conversion formula, ; s is a scale factor; , is the head-tail pixel coordinate of the test target fish; is the minimum length threshold, ; is the maximum length threshold, , b is the width of the bottom of a single fish passage, is the body length of the test target fish; is the inverse matrix of the camera intrinsic matrix.

[0174] Motion continuity threshold determination: (11);

[0175] wherein, is the historical average flow rate; is the velocity mutation threshold , is the flow rate value at time t i .

[0176] (9) Flow field-trajectory overlay:

[0177] The flow field vector data calculated by CFD was imported through the mathematical model interface, and the fish trajectory points were associated to establish a "trajectory-flow velocity" coupling dataset:

[0178] (12);

[0179] wherein, is the CFD-calculated flow velocity component at the coordinate ; is the coordinate of the i-th trajectory point in the X-axis direction; is the coordinate of the i-th trajectory point in the Y-axis direction; is the time corresponding to the i-th trajectory point; is the target velocity corresponding to the i-th trajectory point.

[0180] (10) Analysis of the correlation between migration behavior and water flow:

[0181] The correlation between migration velocity and local flow velocity was calculated using the Spearman rank correlation coefficient, and the formula is:

[0182] (13a);

[0183] (13b);

[0184] wherein, is the correlation coefficient, ; is the sample size (the number of paired trajectory points and corresponding flow velocity); is the difference between the rank of the migration velocity and the rank of the local flow velocity in the i-th sample.

[0185] Number of pairs: refers to the number of matching between the coordinates of fish trajectory points and the flow velocity data at their corresponding positions (such as 100 trajectory points corresponding to 100 flow velocity values).

[0186] Rank difference: using Spearman rank correlation analysis, the difference between the rank of fish migration velocity and the rank of local flow velocity is calculated by formula (13a) to evaluate the monotonic relationship between the two.

[0187] Pressure-water level conversion: the pressure data is converted to water level data by formula (14).

[0188] (14);

[0189] wherein, ρ is the water density (kg / m3); g is the acceleration of gravity (m / s2); P0 is the atmospheric pressure, is the measured value of the pressure at the n-th measuring point.

[0190] Data Storage:

[0191] The pre-processed data is stored in the time-series database of the data storage layer.

[0192] Table Structure Design: The database table contains fields such as timestamp, section_id, sensor_type, sensor_id, and measurement value. The composite primary key is timestamp + section_id + sensor_id, ensuring data uniqueness and queryability.

[0193] Curve Generation and Analysis:

[0194] The data processing layer generates various analysis curves based on the stored data.

[0195] Flow-Time Curve: Based on global flow data, it shows the trend of flow changes over time during the test, used to monitor the stability of boundary conditions.

[0196] Water Level-Time Curve: For each test section's pressure measurement point, an independent water level-time curve is generated. By comparing curves of different measurement points, the distribution and changes of water level within the test section are analyzed.

[0197] Speed Distribution Curve: Based on fish trajectory coordinates and time data, the fish migration speed per unit distance is calculated, generating a speed distribution curve to visually display the speed differences of fish at different locations.

[0198] Test End and Report Generation Phase:

[0199] Test Termination:

[0200] Test termination is divided into manual termination and automatic termination.

[0201] Manual Termination: During the test, the operator clicks the "Stop Collection" button. After receiving the instruction, the core control layer sends a stop instruction to all test section devices. The electric barrier net is lowered, the sensor stops collecting, the camera stops recording video, and the test section status is updated to "Stopped".

[0202] Automatic Termination: When the test reaches the preset duration (e.g., 24 hours) or other termination conditions (e.g., data storage capacity reaches the upper limit), the system automatically triggers the termination process and completes the test end operation.

[0203] Data Analysis and Report Generation:

[0204] After the test is completed, the system performs data analysis and generates a report.

[0205] Deep analysis: Calculate the key indicators of fish migration speed (calculated by trajectory distance and time), passage rate (the ratio of the number of fish successfully crossing the net to the total number of fish released), etc. At the same time, the results of the mathematical model (such as the flow field flow velocity distribution) are coupled to analyze the correlation between fish behavior and water flow conditions.

[0206] For example, taking a typical natural fishway project as an example, the egg gravel combination structure in the fishway design scheme needs to be demonstrated and optimized, and the main fish passing object of the prototype fishway is "four major carp". Considering the purpose and site conditions of the model test, the fishway local physical model test and supporting fish release test are carried out on the parallel control fish passing test platform of the embodiment. Among them, the demonstration and optimization of the egg gravel combination structure in the fishway design scheme includes:

[0207] Optimization variables: The egg gravel combination structure (such as the distance between the baffles and the size of the stones) is used as a single variable, and 3 groups of optimization schemes are set in 2-4 channels, compared with 1 reference channel.

[0208] Demonstration method: Through fish migration trajectory, passage rate, speed and other data, combined with flow field coupling analysis, the influence of egg gravel structure on fish behavior is quantified.

[0209] Specifically, according to the operation process of the parallel control fish passing test platform proposed in the embodiment:

[0210] (1) Physical model making:

[0211] Determine the number of parallel fish passing channels n, n is less than or equal to 4, and the length of the physical model fish passing test section L = 10m (including 14 groups of baffle structures formed by egg gravel combination); The parallel fish passing channels correspond to 4 fishway local physical models with a geometric scale of 1:4, of which 1 fish passing channel is a reference design scheme, and 2-4 fish passing channels are 3 optimization schemes; 1-4 fish passing channels maintain the same bottom slope as the design scheme 21 =i 22 =i 23 =i 24 =1%。

[0212] The bottom width of the model fish passing channel is 1m, and a transition section with a length of L1 = b = 1m is set at the upstream end of the test section; A transition section with a length of L2 = L3 = b = 1m is set at the downstream end of the test section; The transition section bottom slope 1n = the fish passing test section bottom slope 2n = the transition section bottom slope 3n = 1%, and the temporary breeding section bottom slope 4n = 0%, wherein the ratio of the bottom slope height to the length.

[0213] The first-stage electrically-driven lifting fish-blocking grid and the second-stage electrically-driven lifting fish-blocking grid are arranged in sequence at the downstream end of the adaptation section and the fish passage test section.

[0214] According to the test research content, an upstream inflow boundary control system (electromagnetic flowmeter and automatic water level overflow plate) and a downstream outflow boundary control system (automatic water level overflow plate) are designed to ensure that the downstream of the 1-4 fish passage channels has a water head difference of 0.16 m; four groups of high-definition cameras for monitoring fish migration behavior and 20 groups of pressure type water level gauges are arranged.

[0215] (2) Platform software operation:

[0216] The test personnel open the platform software, and the system completes the initialization setting;

[0217] The test personnel set the boundary conditions:

[0218] The "model import flow" is set to 1 m³ / s;

[0219] The "model inlet water level" is set to 1.6 m, and the "model outlet water level" is set to 1 m;

[0220] Test start:

[0221] After the target test fish meets the temporary nursing conditions, the test personnel select the target test section (which can be single or multiple selected), set the sampling frequency (such as 1-60 Hz), and click the "start collection" button to start the test;

[0222] The test personnel issue the "raise" command of the first-stage electrically-driven lifting fish-blocking grid, and after the target test fish enters the adaptation area from the temporary nursing area, the test personnel issue the "lower" command of the first-stage electrically-driven lifting fish-blocking grid;

[0223] After the target test fish adapts to the test water flow conditions without stress reaction, the test personnel issue the "raise" command of the second-stage electrically-driven lifting fish-blocking grid;

[0224] Data collection and transmission are carried out synchronously during the test;

[0225] Real-time data display and feedback; after meeting the test requirements, the test personnel issue the "stop collection" command;

[0226] Data processing and storage provide the test personnel with key indicators such as fish migration speed (calculated by trajectory distance and time), passage rate (the ratio of the number of fish successfully crossing the blocking net to the total number of fish released), and the like, while coupling the mathematical model results (such as flow field flow velocity distribution) to analyze the correlation between fish behavior and water flow conditions.

[0227] Specifically, water flow control: the flow rate (0-10 m³ / s) and water level (0-5 m) are regulated by upstream inflow boundary control system 1 and downstream outflow boundary control system 7, all channels apply the same boundary conditions synchronously.

[0228] Behavior correlation analysis: the data processing layer couples the fish trajectory with the flow field data calculated by the mathematical model, and calculates the correlation coefficient by formula (12), formula (13a) and formula (13b), combined with the "trajectory-flow rate" data set, to analyze the relationship between the fish migration behavior and the local flow rate.

[0229] The above is only a preferred specific embodiment of the present application, but the protection scope of the present application is not limited to this. Any person skilled in the art can easily think of changes or replacements within the technical scope disclosed by the present application, which should be covered within the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.

Claims

1. A parallel type of control over fish test platform, characterized in that, The parallel fish passage test platform comprises a physical layer and a software layer. The physical layer is used to build n parallel fish passages with consistent bottom slope, and sequentially forms a shared entrance boundary at the upstream end and a shared exit boundary at the downstream end, and implements a controlled test under a single variable condition. The physical layer comprises a physical model, a fish passage grid execution mechanism, and a measurement device. The physical model is used to build n fish passages. The fish passage grid execution mechanism is used to form a controllable fish passage / blocking state between the shared entrance boundary and the shared exit boundary. The measurement device is used to synchronously acquire flow, water level, and fish migration trajectory data. The physical model comprises an upstream inflow boundary control system, a transition section with a bottom slope i1, a second fixed fish blocking grid, n parallel fish passages with a bottom slope i2, an adaptation section with a bottom slope i3, a temporary breeding section with a bottom slope i4, a first fixed fish blocking grid, and a downstream outflow boundary control system. The software layer comprises an interface interaction layer, a core control layer, a data storage layer, a data processing layer, and a data display layer. The interface interaction layer is used to receive user input and display real-time status. The core control layer is used to convert user instructions into control signals for the physical layer devices and mark the source of measurement data. The data storage layer is used to store and query original and historical data. The data processing layer is used to clean, calculate trajectories, and couple with external flow field data for the collected data. The data display layer is used to visualize the processed data in the form of charts, trajectories, and / or files.

2. The parallel fish passage test platform according to claim 1, wherein the fish passage grid execution mechanism comprises a second electrically operated lifting fish blocking grid and a first electrically operated lifting fish blocking grid.

3. The parallel fish passage test platform according to claim 1, wherein the measurement device comprises a fish migration behavior monitoring camera device, a flow meter, and a pressure type water level measuring meter.

4. The parallel fish passage test platform according to claim 1, wherein the interface interaction layer comprises an operation interface and a state monitoring unit.

5. The parallel fish passage test platform according to claim 1, wherein the core control layer comprises an instruction scheduling unit and a data synchronization unit.

6. The parallel fish passage test platform according to claim 1, wherein the data processing layer comprises a trajectory calculation unit and a flow field coupling unit. ​ ​ ​ ​ ​ ​ ​ ​ ​ ​ ​ ​ ​ Trajectory analysis unit, for platform image preprocessing, test target fish detection and target association, generating test target fish migration path, calculating test target fish migration speed, cumulative migration distance calculation; Hydrological analysis unit, for recording pressure measurement point measured data, and converting to measurement point water level data, generating water level-time curve; Model coupling unit, for importing mathematical model calculation results, coupling migration trajectory and flow field data coupling display.

7. The parallel control fish test platform according to claim 1, wherein the data display layer comprises: Visual chart unit, for drawing distance-time curve, speed distribution histogram, and rendering trajectory heat map; Multi-section comparison unit, for supporting simultaneous display of multiple test section data curves for comparison analysis; File analysis unit, for supporting import of flow data, test section structure drawing, flow field calculation results; Coupling display unit, for superimposing flow field vector diagram on trajectory diagram, presenting the relationship between fish behavior and water flow. ​

Citation Information

Patent Citations

  • Structure, construction method and design method of canal fishway

    CN119962020A

  • Gate control hub regulation and control method adaptive to up and down migration of multi-target fishes

    CN120061301A