CN113951196A - Intelligent feeding method and device based on machine vision and environment dynamic coupling - Google Patents
Intelligent feeding method and device based on machine vision and environment dynamic coupling Download PDFInfo
- Publication number
- CN113951196A CN113951196A CN202111227095.7A CN202111227095A CN113951196A CN 113951196 A CN113951196 A CN 113951196A CN 202111227095 A CN202111227095 A CN 202111227095A CN 113951196 A CN113951196 A CN 113951196A
- Authority
- CN
- China
- Prior art keywords
- feeding
- time
- machine vision
- dissolved oxygen
- cultured organisms
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 28
- 230000008878 coupling Effects 0.000 title claims abstract description 15
- 238000010168 coupling process Methods 0.000 title claims abstract description 15
- 238000005859 coupling reaction Methods 0.000 title claims abstract description 15
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 claims abstract description 73
- QVGXLLKOCUKJST-UHFFFAOYSA-N atomic oxygen Chemical compound [O] QVGXLLKOCUKJST-UHFFFAOYSA-N 0.000 claims abstract description 39
- 229910052760 oxygen Inorganic materials 0.000 claims abstract description 39
- 239000001301 oxygen Substances 0.000 claims abstract description 39
- 230000008859 change Effects 0.000 claims abstract description 13
- 238000012544 monitoring process Methods 0.000 claims abstract description 8
- 230000033001 locomotion Effects 0.000 claims description 24
- 238000012806 monitoring device Methods 0.000 claims description 23
- 239000013598 vector Substances 0.000 claims description 15
- 238000005273 aeration Methods 0.000 claims description 12
- 238000005276 aerator Methods 0.000 claims description 12
- 230000037406 food intake Effects 0.000 claims description 12
- 239000002028 Biomass Substances 0.000 claims description 11
- 230000003031 feeding effect Effects 0.000 claims description 9
- 238000012545 processing Methods 0.000 claims description 9
- 238000005516 engineering process Methods 0.000 claims description 8
- 230000003287 optical effect Effects 0.000 claims description 6
- 238000006213 oxygenation reaction Methods 0.000 claims description 6
- 238000009360 aquaculture Methods 0.000 claims description 5
- 244000144974 aquaculture Species 0.000 claims description 5
- 235000012631 food intake Nutrition 0.000 claims description 3
- 230000008569 process Effects 0.000 claims description 3
- 239000004576 sand Substances 0.000 claims description 3
- 241000894007 species Species 0.000 claims description 2
- 238000005259 measurement Methods 0.000 claims 1
- 241000251468 Actinopterygii Species 0.000 abstract description 40
- 101100520231 Caenorhabditis elegans plc-3 gene Proteins 0.000 description 8
- 101100190618 Arabidopsis thaliana PLC3 gene Proteins 0.000 description 7
- 238000009395 breeding Methods 0.000 description 7
- 230000001488 breeding effect Effects 0.000 description 7
- 229910000831 Steel Inorganic materials 0.000 description 3
- 241000276707 Tilapia Species 0.000 description 3
- 238000012840 feeding operation Methods 0.000 description 3
- 239000010959 steel Substances 0.000 description 3
- 238000011161 development Methods 0.000 description 2
- 230000007613 environmental effect Effects 0.000 description 2
- 239000000284 extract Substances 0.000 description 2
- 239000002699 waste material Substances 0.000 description 2
- 108010028690 Fish Proteins Proteins 0.000 description 1
- 230000002411 adverse Effects 0.000 description 1
- 230000036528 appetite Effects 0.000 description 1
- 235000019789 appetite Nutrition 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000037396 body weight Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 208000010824 fish disease Diseases 0.000 description 1
- 235000013305 food Nutrition 0.000 description 1
- 230000005484 gravity Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 235000016709 nutrition Nutrition 0.000 description 1
- 230000035764 nutrition Effects 0.000 description 1
- 108090000623 proteins and genes Proteins 0.000 description 1
- 102000004169 proteins and genes Human genes 0.000 description 1
- 238000011002 quantification Methods 0.000 description 1
- 230000000630 rising effect Effects 0.000 description 1
- 239000000126 substance Substances 0.000 description 1
Images
Classifications
-
- A—HUMAN NECESSITIES
- A01—AGRICULTURE; FORESTRY; ANIMAL HUSBANDRY; HUNTING; TRAPPING; FISHING
- A01K—ANIMAL HUSBANDRY; AVICULTURE; APICULTURE; PISCICULTURE; FISHING; REARING OR BREEDING ANIMALS, NOT OTHERWISE PROVIDED FOR; NEW BREEDS OF ANIMALS
- A01K61/00—Culture of aquatic animals
- A01K61/80—Feeding devices
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02A—TECHNOLOGIES FOR ADAPTATION TO CLIMATE CHANGE
- Y02A40/00—Adaptation technologies in agriculture, forestry, livestock or agroalimentary production
- Y02A40/80—Adaptation technologies in agriculture, forestry, livestock or agroalimentary production in fisheries management
- Y02A40/81—Aquaculture, e.g. of fish
Landscapes
- Life Sciences & Earth Sciences (AREA)
- Environmental Sciences (AREA)
- Marine Sciences & Fisheries (AREA)
- Zoology (AREA)
- Animal Husbandry (AREA)
- Biodiversity & Conservation Biology (AREA)
- Feedback Control In General (AREA)
Abstract
The invention discloses an intelligent feeding method and device based on machine vision and environment dynamic coupling. And when the monitoring shows that the rainfall is rainfall, fuzzy control feeding is adopted, namely according to a pre-established fuzzy control module, the type and the weight of the fish school, the culture water temperature and the dissolved oxygen are used as input, the feeding rate and the feeding rate coefficient are used as output, and the feeding time and the feeding amount are determined. The method can automatically switch feeding control modes according to weather change so as to realize intelligent and accurate feeding.
Description
Technical Field
The invention belongs to the technical field of aquaculture, and relates to an intelligent feeding method and device based on machine vision and environment dynamic coupling.
Background
With the rapid development of economic society and the remarkable improvement of the living standard of people, the demand of people on fish protein is continuously increased, the global fish price is in a rising channel, the increase of the income of residents in aquatic product consumption markets and the increase of the demand of people on protein and other aquatic products are the main reasons for driving the price to rise due to the factors of population increase and farmland limitation. In addition, in order to ensure the sustainability of oceans and environments, the fishery policy in China gradually reduces the yield of wild fishing fishery, and simultaneously slows down the yield increase of breeding fishery under the condition that the cost (manpower, feed, energy and the like) continuously rises.
Currently, aquaculture modes in China mainly include industrial aquaculture, deep water cage culture, pond culture and the like. Wherein the influence of pond culture because environmental factor, degree of mechanization is on the low side, and common pond is thrown and is raised the mode and have two kinds: manual feeding and pond feeding machines.
The manual feeding mainly comprises the steps of manually throwing the feed by using manual tools such as a spoon and a shovel, and judging the amount of the feed required by a breeding object by eyes according to experience. In general, it is difficult to grasp the most suitable demand level of a culture subject. The manual feeding can not ensure the feeding uniformity, and has the disadvantages of time and labor consumption, high labor intensity, low efficiency, fish feed waste and pond water quality pollution. Influences the growth and development of the fish and increases the culture cost. The feeder integrates fixed point, timing and quantification, and has the advantages of wide feeding area, uniform feeding and the like. Not only reduces the labor intensity of fishermen, but also increases the yield of fish. However, the existing feeder mostly adopts a simple control system with mechanical timing, and the feeding amount cannot be automatically adjusted according to the actual feeding requirement of the fish. When the feeding amount is less than the actual feeding demand of the fishes, the serious snatching phenomenon can occur, so that the fishes collide with each other and even the surface of the fishes is damaged, and the fishes with damaged surfaces and weak and small fishes are easy to infect certain fish diseases, so that the aquaculture water environment bears larger pressure and the growth of the fishes is adversely affected; when the feeding amount is larger than the actual feeding demand of the fish, not only the breeding cost is increased, but also the breeding environment is seriously polluted by redundant feed. The feed is therefore fed in an amount as consistent as possible with the actual food intake requirements of the fish.
The computer vision technology is a technology which can judge the ingestion demand of fishes in real time and is convenient to match with a feeder to carry out feeding operation, but for pond feeding, the interference of environmental factors of rainy weather often exists, so that the feeding judgment carried out by a machine vision method is not very accurate. The fuzzy control feeding based on water quality monitoring can determine the feeding rate and the feeding rate coefficient of the fish according to the collected water temperature, dissolved oxygen, fish body weight, relevant literature experimental data and expert empirical data, and obtain the feeding amount of the fish for feeding.
Based on the problems, the invention provides a pond intelligent feeding method and device based on machine vision and environment dynamic coupling, which comprises the following steps: the machine vision is combined with the water quality monitoring technology, the control mode is automatically switched according to weather prediction so as to achieve accurate feeding operation, food and nutrition required by growth are provided for fish, labor cost is reduced, and pollution to water quality is reduced.
Disclosure of Invention
The invention provides an intelligent feeding method and device based on machine vision and environment dynamic coupling.
An intelligent feeding method based on machine vision and environment dynamic coupling is characterized in that a feeding mode is determined according to weather monitoring results, machine vision control feeding is adopted when no rain exists, and fuzzy control feeding is adopted when rain falls are monitored.
The machine vision control feeding is to adopt an image processing technology to analyze and obtain the real-time ingestion desire of the cultured organisms and judge the strength of the ingestion desire so as to determine the feeding time and the feeding amount. The method comprises the following steps:
firstly, carrying out conventional feeding twice, analyzing the feeding activity degree of the cultured organisms fed twice before, and then determining the subsequent feeding state, specifically: after feeding begins, shooting a feeding real-time video picture of a cultured organism, converting an image from an RGB color space into an HSV color space, respectively extracting color components of the image under a saturation S component and a brightness V component, and segmenting and extracting a light reflection area:
wherein Is(x, y) and Iv(x, y) denotes saturation and brightness of the image at (x, y), respectively, TsAnd TvRespectively representing a saturation threshold value and a brightness threshold value, wherein f (x, y) represents the value of the pixel point (x, y) after binarization processing;
extracting the change characteristics of the water surface light reflecting area generated by the movement of the cultured organisms by using an optical flow method, wherein the optical flow between the continuous 2 frames of images is set as F, and the change amplitude of the target area is expressed as(x, y) represents the coordinates of the reflection area of the current frame, and N is the total number of non-zero motion vectors in the current frame;
classifying the motion vectors in 2 continuous frames of target images into different intervals according to the velocity change amplitude v for statistics, dividing the velocity range into m intervals, and calculating the number of the motion vectors appearing at different velocitiesAnd a probability that the user will be able to access the content,wherein j is more than or equal to 0 and less than or equal to m, and k (j) is the number of motion vectors falling into the speed interval; p (j) is the probability of a motion vector falling within the velocity interval;
measuring the irregularity degree of the change characteristic distribution probability of the water reflection area by using the information entropy so as to realize the analysis of the irregularity degree of the movement of the cultured organisms;and establishing a modified kinetic energy model for analyzing the feeding activity intensity of the cultured organisms, Ek=CEv2,EkKinetic energy for the cultured organisms; cEDegree of irregularity of the target (light reflection) region variation;
according to the calculated time period t before feeding is started1The average value of kinetic energy E1 of the ingestion area and the feeding interval time t2The average kinetic energy E2 of the ingestion zone is compared:whereinIs the kinetic energy value of the alpha second,the kinetic energy value of theta second; if E2 is more than 1.3E1, carrying out the next feeding round; predicting the feed amount required to be fed by the current feeding node according to the correlation of the feeding activity degrees of the two adjacent feeding nodes in the single-round feeding:and n belongs to Z; q (n) and E (n) are respectively the predicted feeding amount and the movement kinetic energy of the cultured organisms of the current feeding node, and n is the feeding times; the feeding time is as follows:wherein, l is the feedFeeding rate of the machine, T1The preheating time is the preheating time when the feeder is started; and if the E2 is less than 1.3E1, stopping feeding and waiting for the start of the next feeding work.
The fuzzy control feeding specifically comprises the following steps:
firstly, establishing a fuzzy control module which takes the species and the weight of cultured organisms, the culture water temperature and the dissolved oxygen as input and takes the feeding rate and the feeding rate coefficient as output according to relevant literature experimental data and expert experience data;
the height A and the width B of the cultivated organisms are measured by an estimation device to calculate the quality of the cultivated organisms: m ═ aAb+cBd+e(A·B)f+ g; wherein M is the quality of the cultured organisms, and a, b, c, d, e, f and g are constants which are obtained by measuring under the experimental condition in advance and fitting by a least square method, wherein a, b, c, d and g>0, e, f and g have no range requirement; calculating the average weight of the cultured organisms:p is the number of the detected cultured organisms in 5 hours before feeding;
fuzzifying the real-time data of the average quality of the cultured organisms, the culture water temperature and the dissolved oxygen, inputting the fuzzified data into a fuzzy control module, fuzzifying and deducing the culture water temperature and the average quality output feeding rate K of the cultured organisms according to an established fuzzy rule table, and defzifying the obtained feeding rate and the feeding rate coefficient according to the culture water temperature and the dissolved oxygen output feeding rate coefficient R to calculate the feeding amount required by the pond: v is KjRjMpu; wherein the content of the first and second substances,jand RjThe feed rate and the feed rate coefficient obtained after the ambiguity resolution are shown in the specification, u is the number of the cultured organisms, and the feed time isWherein l is the feeding rate of the feeder, T1The preheating time is the preheating time when the feeder is started.
The water quality is monitored in real time in the whole breeding process, the oxygenation is closed 1 hour before feeding and during feeding, when the dissolved oxygen in a detected water body is lower than 3mg/L, the feeding is stopped, the aeration is carried out, when the dissolved oxygen is higher than 5mg/L, the aeration is stopped, the feeding is recovered, in other time, when the dissolved oxygen in the detected water body is lower than 3mg/L, the oxygenation is started, and when the dissolved oxygen is higher than 5mg/L, the oxygenation is closed.
The invention has the beneficial effects that:
the intelligent feeding method and device based on machine vision and environment dynamic coupling, disclosed by the invention, have the advantages of simple structure and simple and convenient control mode, not only can judge the actual appetite of the cultured organisms for feeding by utilizing a machine vision technology, but also can make a prejudgment on weather in advance by utilizing a meteorological monitoring device under the condition that the machine vision judgment is greatly influenced in rainy days, automatically switch the fuzzy control feeding mode in advance, effectively combine the water quality condition to finish feeding work, avoid the problems of feed waste, water quality pollution, yield influence and the like, and further achieve the purpose of intelligent and accurate feeding.
Drawings
The invention is described in detail below with reference to the drawings and the detailed description;
fig. 1 is a schematic structural diagram of an example of an intelligent feeding device based on machine vision and environment dynamic coupling according to the present invention.
FIG. 2 is a graph of membership function for water temperature in accordance with one embodiment of the present invention.
FIG. 3 is a graph of membership function for weight in one embodiment of the invention.
FIG. 4 is a graph of membership function for dissolved oxygen in one embodiment of the invention.
FIG. 5 is a graph of membership functions for feed rate in one embodiment of the invention.
FIG. 6 is a graph of membership functions for feed rate coefficients in accordance with one embodiment of the invention.
FIG. 7 is a graph of fuzzy variable input-output for feed rate in accordance with an embodiment of the present invention.
FIG. 8 is a graph of the feed rate coefficient fuzzy variable input-output relationship in accordance with one embodiment of the present invention.
In the figure: 1-high-definition waterproof camera 2-meteorological monitoring device 3-PLC 4-aerator 5-water quality monitoring device 6-grating biomass estimation device 7-aeration plate 8-feeder 9-steel wire hose 10-blower 11-frame 12-digital signal processor.
Detailed Description
The technical scheme of the invention is further explained by using pond culture fish in combination with the attached drawings.
As shown in fig. 1, the device of the invention comprises a high-definition waterproof camera 1, a meteorological monitoring device 2, a PLC3, an aerator 4, a water quality monitoring device 5, a grating biomass estimation device 6, an aeration disc 7, a feeder 8, a steel wire hose 9, a blower 10, a frame 11 and a digital signal processor 12;
the high-definition waterproof camera 1 is installed at the bank of the pond and fixed at the upper end of the rack 11, and the high-definition waterproof camera 1 is connected with the input end of the digital signal processor 12; the installation position of the camera can ensure that the camera can shoot the whole feeding area;
the weather monitoring device 2 is arranged on one side of the rack 11, and the output end of the weather monitoring device 2 is connected with the input end of the PLC 3; the weather monitoring device monitors weather environment conditions through a weather monitoring system and predicts whether rainfall occurs or not, a prediction result is input into a PLC, and the PLC switches and selects fuzzy control feeding under the rainfall condition and machine vision control feeding under the no-rain condition;
the water quality monitoring device 5 is arranged in a feeding area of the pond and floats on the water surface of the pond by virtue of a hollow sphere at the upper end, the water quality monitoring device comprises a water temperature sensor and a dissolved oxygen sensor, and the output end of the water quality monitoring device 5 is connected with the input end of the PLC 3;
the digital signal processor 12 and the PLC3 are both arranged on one side of the rack 11, and the output end of the digital signal processor 12 is connected with the input end of the PLC 3; under the condition of no rain, the digital signal processor receives image information input by the camera and sound information input by the hydrophone and performs corresponding processing, firstly, the real-time eating desire of the fish is analyzed through an image processing technology, whether the feeder performs feeding operation or not is determined, and if the digital signal processor determines that the eating desire is strong, the processing result is transmitted to the PLC to control the feeder to work, wherein the feeding time and the feeding amount are included; under the rainfall condition, the PLC receives water temperature and dissolved oxygen data output by the water quality monitoring device and average fish weight data output by the grating fish biomass estimation device, fuzzifies the data, outputs feeding rate and feeding rate coefficient through a fuzzy feeding model, defzifies the feeding rate and feeding rate coefficient, calculates feeding amount and feeding time, and controls the working time of the feeder;
the feeder 8 is arranged at the bank of the pond, and the feeder 8 is connected with the output end of the PLC 3;
the aerator 4 is arranged at the center of the pond, and the aerator 4 is connected with the output end of the PLC 3;
the blower 10 is arranged at the bank side of the pond, and the blower 10 is connected with the output end of the PLC 3;
one end of the steel wire hose 9 is connected with an air outlet of the blower 10, and the other end is connected with an air inlet of the aeration disc 7;
the aeration disc 7 is arranged at the position of half the water depth of the pond feeding area, and four long rods at the lower end of the aeration disc 7 are inserted into the bottom of the pond for fixing;
the grating biomass estimation device 6 is arranged on the upper side of the beam of the aeration disc 7, and the output end of the grating biomass estimation device 6 is connected with the input end of the PLC 3; the grating biomass estimating device estimates the weight of the fish body by measuring the length and the width of the fish body by the gratings on the left side and the right side.
The intelligent fish feeding method by using the device comprises the following steps:
1) predicting whether the feeding period is rained or not according to the weather monitoring device 2, if no rain exists, automatically closing fuzzy control feeding by the PLC3, and starting machine vision control feeding; if the rainfall occurs, the PLC automatically turns off the machine vision control feeding and turns on the fuzzy control feeding;
2) the blower aeration device, the aerator 4 and the water quality monitoring device 5 are combined through the PLC 3; in order to prevent water turbidity and fish stress during feeding, the automatic aerator is in a closed state 1 hour before feeding and during feeding, when the water quality monitoring device detects that the dissolved oxygen is lower than 3mg/L, the feeder 8 stops working, the PLC controls the aerator 10 to work, when the dissolved oxygen is higher than 5mg/L, the aerator stops working, the feeder recovers to a working state, and when the water quality monitoring device detects that the dissolved oxygen is lower than 3mg/L, the PLC controls to start the automatic aerator, and when the dissolved oxygen is higher than 5mg/L, the automatic aerator is closed;
3) if no rain exists, the PLC3 controls the feeder 8 to work at regular time, the feeding time is 10s, the feeding interval time is 50s, and the feeding work is finished by controlling the feeder at regular time by the PLC in the first two times of feeding; after 120s from the beginning of feeding, the digital signal processor 12 analyzes the feeding activity degrees of the previous two times to determine the subsequent working state of the feeder. After feeding begins, the high-definition waterproof camera 1 transmits shot real-time video pictures to the digital signal processor in real time; the digital signal processor converts the image from RGB color space to HSV color space, and respectively extracts the color components of the image under S component (saturation) and V component (brightness), and divides and extracts the light reflecting region:
wherein Is(x, y) and Iv(x, y) denotes saturation and brightness of the image at (x, y), respectively, TsAnd TvRespectively representing a saturation threshold value and a brightness threshold value, wherein f (x, y) represents the value of the pixel point (x, y) after binarization processing;
4) extracting the change characteristics of the water surface light reflecting area generated by the movement of the cultured organisms by using an optical flow method, wherein the optical flow between the continuous 2 frames of images is set as F, and the change amplitude of the target area is expressed as(x, y) represents the coordinates of the reflection area of the current frame, and N is the total number of non-zero motion vectors in the current frame;
5) classifying the motion vectors in 2 continuous frames of target images into different intervals according to the velocity change amplitude v for statistics, dividing the velocity range into m intervals, calculating the number and probability of the motion vectors appearing at different velocities,wherein j is more than or equal to 0 and less than or equal to m, and k (j) is the number of motion vectors falling into the speed interval; p (j) is the probability of a motion vector falling within the velocity interval;
6) measuring the irregularity degree of the change characteristic distribution probability of the water reflection area by using the information entropy so as to analyze the irregularity degree of the fish school movement;
7) establishing a modified kinetic energy model for analyzing the feeding activity intensity of the cultured organisms, Ek=CEv2,EkKinetic energy for the cultured organisms; cEDegree of irregularity of the target (light reflection) region variation;
8) according to the calculated time period t before feeding is started1The average value of kinetic energy E1 of the ingestion area and the feeding interval time t2The average kinetic energy E2 of the ingestion zone is compared:whereinIs the kinetic energy value of the alpha second,the kinetic energy value of theta second; if E2 is more than 1.3E1, carrying out the next feeding round; 9) predicting the feed amount required to be fed by the current feeding node according to the correlation of the feeding activity degrees of the two adjacent feeding nodes in the single-round feeding:and n belongs to Z; q (n) and E (n) are respectively the predicted feeding amount and the movement kinetic energy of the cultured organisms of the current feeding node, and n is the feeding times; the feeding time is as follows:wherein l is the feeding rate of the feeder, T1The preheating time is the preheating time when the feeder is started; if E2 < 1.3E1, stopFeeding, and waiting for the start of the next feeding work.
10) Predicting whether the feeding period is rained or not according to the weather monitoring device 2, if so, automatically closing the machine vision control feeding system by the PLC3, and starting the fuzzy control system for feeding;
11) establishing a fuzzy control module which takes the weight of a fish school, the water temperature of a pond and dissolved oxygen as input and takes the feeding rate and the feeding rate coefficient as output according to relevant literature experimental data and expert experience data;
12) the fish body mass is calculated by measuring the height A and the width B of the fish body by the grating fish biomass estimation device 6: m ═ aAb+cBd+e(A·B)f+ g; wherein M is the mass of the fish, and a, b, c, d, e, f and g are constants which are obtained by measuring under the experimental condition in advance and fitting by a least square method, wherein a, b, c, d>0, e, f and g have no range requirement;
13) the fish body mass data obtained by the grating fish biomass estimation device 6 is input into the PLC3 to calculate the average weight of the fish body:p is the number of the fish to be measured in 5 hours before feeding, and the average fish body mass is fuzzified and then input into a fuzzy control module;
14) the water quality monitoring device 5 transmits culture water temperature and dissolved oxygen real-time data to be fuzzified and then input into a fuzzy control module in the PLC3, culture water temperature and culture organism average quality output feeding rate K are fuzzified and inferred according to an established fuzzy rule table, the obtained feeding rate and feeding rate coefficient are defuzzified by the culture water temperature and the dissolved oxygen output feeding rate coefficient R, and the required feeding amount of the pond is calculated: v is Kj*Rj*MpU; wherein, KjAnd RjThe feed rate and the feed rate coefficient obtained after the ambiguity resolution are shown in the specification, u is the number of the cultured organisms, and the feed time isWherein l is the feeding rate of the feeder, T1The preheating time is the preheating time when the feeder is started.
15) Calculating the working time of the feeder 8 according to the feeding amount,wherein l is the feeding rate of the feeder, T1The preheating time is the preheating time when the feeder is started.
In clear weather, intelligent feeding based on a machine vision technology has universal applicability, and a fuzzy control feeding mode in rainy days needs to determine fuzzy feeding according to relevant literature experimental data and expert breeding data, taking tilapia as an example;
according to the monitoring of the tilapia breeding data, the discourse domain range of the water temperature is [15,40], and the temperature variable is divided into 4 fuzzy subsets according to grades, namely S1, S2, S3 and S4. Wherein, the S1 and S2 use triangle membership functions, and the S3 and S4 use trapezoid membership functions. (S1-trimf, S2-trimf, S3-trapmf, S4-trapmf), the membership function curve of water temperature is shown in FIG. 2.
Tilapia's weight determination universe [0,1000], again classified by rank into four fuzzy subsets, Z1, Z2, Z3, Z4. Wherein Z1, Z2, Z3 use triangle membership functions and Z4 use trapezoid membership functions. (Z1-trimf, Z2-trimf, Z3-trimf, Z4-trapmf), the weight membership function curve is shown in FIG. 3.
The discourse domain of dissolved oxygen is [1.5,12], and the dissolved oxygen is also classified into four fuzzy subsets according to grades, namely O1, O2, O3 and O4. Wherein O1, O2, O3 and O4 all use triangular membership functions (O1-trimf, O2-trimf, O3-trimf and O4-trimf), and the curve of the membership function of the dissolved oxygen is shown in FIG. 4.
The discourse field of the feeding rate is [0, 0.06 ]. The fuzzy subsets are divided into four fuzzy subsets according to grades, namely K1, K2, K3 and K4. Wherein K1 and K4 use trapezoidal membership functions, K2 and K3 use triangular membership functions (K1-trapmf, K2-trimf, K3-trimf and K4-trapmf). The membership function curve of the feeding rate is shown in FIG. 5.
The feed rate coefficient is the adjustment range of the basic feed amount during the feeding process, the domain of discourse is [0,1.2], and the four fuzzy subsets are classified according to grades and are respectively R1, R2, R3 and R4. Wherein R1, R2, R3 use triangle membership functions, R4 use trapezoid membership functions (R1-trimf, R2-trimf, R3-trimf, R4-trapnf). The membership function curve of the feeding rate coefficient is shown in FIG. 6.
Based on the water temperature and dissolved oxygen measured by the water quality monitoring device and the fish weight obtained by the raster fish biomass estimation device, the water temperature, dissolved oxygen and weight values are firstly fuzzified, and the fuzzy states of the feeding rate and the feeding rate coefficient are determined according to the corresponding IF-THEN type conditional statement rule table.
The IF-THEN type conditional statement rule is determined by establishing a fuzzy rule table, the fuzzy rule table is formulated based on relevant literature experimental data and expert experience data, input variables of water temperature, dissolved oxygen and weight are divided into 4 linguistic variables, and output variables of feeding rate and feeding rate coefficient are also divided into 4 linguistic variables. Therefore, the fuzzy inference system has 32 rules, and is composed of a series of IF-THEN type condition statements, wherein the input variable water temperature, the input variable weight and the output variable feeding rate IF-THEN type condition statements are as follows:
if (Water temperature is S1) and (weight is Z1) the (feed rate is K2)
If (Water temperature is S2) and (weight is Z1) the (feed rate is K3)
If (Water temperature is S3) and (weight is Z1) the (feed rate is K4)
If (water temperature is S4) and (weight is Z1) the (feed rate is K1)
If (Water temperature is S1) and (weight is Z2) the (feed rate is K1)
If (Water temperature is S2) and (weight is Z2) the (feed rate is K2)
……
The specific fuzzy rule table according to the rule sentence is shown in table 1, the input-output relationship of the feeding rate fuzzy variable is shown in fig. 7, and table 1 is an inference rule table of the feeding rate.
TABLE 1 inference rule table of feeding rate K
The input variables are water temperature, dissolved oxygen and output variable feeding rate coefficient IF-THEN type conditional statements are as follows:
if (water temperature is S1) and (dissolved oxygen is O1) the (feed rate coefficient is R1)
If (water temperature is S2) and (dissolved oxygen is O1) then (feed rate coefficient is R2)
If (water temperature is S3) and (dissolved oxygen is O1) then (feed rate coefficient is R2)
If (water temperature is S4) and (dissolved oxygen is O1) then (feed rate coefficient is R1)
If (water temperature is S1) and (dissolved oxygen is O2) the (feed rate coefficient is R1)
If (water temperature is S2) and (dissolved oxygen is O2) then (feed rate coefficient is R3)
……
The specific fuzzy rule table according to the rule sentence is shown in table 2, the input-output relationship of the fuzzy variable of the feeding rate coefficient is shown in fig. 8, and table 2 is an inference rule table of the feeding rate coefficient.
TABLE 1 inference rule table of feeding rate coefficient
Obtaining the feeding rate and the feeding rate coefficient according to a fuzzy rule table, and obtaining the feeding rate K by defuzzifying through a gravity center methodLAnd feeding rate coefficient RLActual feeding amount VL=KL*RL*MpU. The feeding time isWherein l is the feeding rate of the feeder, T1The preheating time is the preheating time when the feeder is started.
The above disclosure is only for the specific embodiment of the present invention, but the present invention is not limited thereto, and it should be understood by those skilled in the art that the modifications made without departing from the present invention shall fall within the protection scope of the present invention.
Claims (6)
1. An intelligent feeding method based on machine vision and environment dynamic coupling is characterized in that a feeding mode is determined according to weather monitoring results, machine vision control feeding is adopted when no rain exists, and fuzzy control feeding is adopted when rain falls.
2. The intelligent feeding method based on machine vision and environment dynamic coupling of claim 1, wherein the machine vision control feeding is to analyze and obtain real-time food intake desire of cultivated organisms by adopting an image processing technology, judge the strength of the food intake desire and determine feeding time and feeding amount.
3. A machine vision and environment dynamic coupling based intelligent feeding method as claimed in claim 1, wherein the machine vision control feeding comprises:
firstly, carrying out conventional feeding twice, analyzing the feeding activity degree of the cultured organisms fed twice before, and then determining the subsequent feeding state, specifically: after feeding begins, shooting a feeding real-time video picture of a cultured organism, converting an image from an RGB color space into an HSV color space, respectively extracting color components of the image under a saturation S component and a brightness V component, and segmenting and extracting a light reflection area:
wherein Is(x, y) and Iv(x, y) denotes saturation and brightness of the image at (x, y), respectively, TsAnd TvRespectively representing a saturation threshold value and a brightness threshold value, wherein f (x, y) represents the value of the pixel point (x, y) after binarization processing;
extracting the change characteristics of the water surface light reflecting area generated by the movement of the cultured organisms by using an optical flow method, wherein the optical flow between the continuous 2 frames of images is set as F, and the change amplitude of the target area is expressed as(x, y) representsThe coordinates of the light reflecting area of the current frame, wherein N is the total number of non-zero motion vectors in the current frame;
classifying the motion vectors in 2 continuous frames of target images into different intervals according to the velocity change amplitude v for statistics, dividing the velocity range into m intervals, calculating the number and probability of the motion vectors appearing at different velocities,wherein j is more than or equal to 0 and less than or equal to m, and k (j) is the number of motion vectors falling into the speed interval; p (j) is the probability of a motion vector falling within the velocity interval;
measuring the irregularity degree of the change characteristic distribution probability of the water reflection area by using the information entropy so as to realize the analysis of the irregularity degree of the movement of the cultured organisms;and establishing a modified kinetic energy model for analyzing the feeding activity intensity of the cultured organisms, Ek=CEv2,EkKinetic energy for the cultured organisms; cEDegree of irregularity of the target (light reflection) region variation;
according to the calculated time period t before feeding is started1The average value of kinetic energy E1 of the ingestion area and the feeding interval time t2The average kinetic energy E2 of the ingestion zone is compared:whereinIs the kinetic energy value of the alpha second,the kinetic energy value of theta second; if E2 is more than 1.3E1, carrying out the next feeding round; predicting the feed amount required to be fed by the current feeding node according to the correlation of the feeding activity degrees of the two adjacent feeding nodes in the single-round feeding:delta belongs to (0, 1), n is more than or equal to 3, and n belongs to Z; q (n) and E (n) are respectively the predicted feeding amount and the movement kinetic energy of the cultured organisms of the current feeding node, and n is the feeding times; the feeding time is as follows:wherein l is the feeding rate of the feeder, T1The preheating time is the preheating time when the feeder is started; and if the E2 is less than 1.3E1, stopping feeding and waiting for the start of the next feeding work.
4. An intelligent feeding method based on machine vision and environment dynamic coupling according to claim 1, wherein the fuzzy control feeding specifically comprises:
firstly, establishing a fuzzy control module which takes the species and the weight of cultured organisms, the culture water temperature and the dissolved oxygen as input and takes the feeding rate and the feeding rate coefficient as output according to relevant literature experimental data and expert experience data;
the height A and the width B of the cultivated organisms are measured by an estimation device to calculate the quality of the cultivated organisms: m ═ aAb+cBd+e(A·B)f+ g; wherein M is the quality of the cultured organisms, a, b, c, d, e, f and g are constants which are obtained by measurement under the experimental condition in advance and fitting by a least square method, wherein a, b, c and d are more than 0, and e, f and g have no range requirement; calculating the average weight of the cultured organisms:p is the number of the detected cultured organisms in 5 hours before feeding;
fuzzifying the real-time data of the average quality of the cultured organisms, the culture water temperature and the dissolved oxygen, inputting the fuzzified data into a fuzzy control module, fuzzifying and deducing the culture water temperature and the average quality output feeding rate K of the cultured organisms according to an established fuzzy rule table, and defzifying the obtained feeding rate and the feeding rate coefficient according to the culture water temperature and the dissolved oxygen output feeding rate coefficient R to calculate the feeding amount required by the pond: v is KjRjMpu; wherein, KjAnd RjThe feed rate and the feed rate coefficient obtained after the ambiguity resolution are shown in the specification, u is the number of the cultured organisms, and the feed time isWherein l is the feeding rate of the feeder, T1The preheating time is the preheating time when the feeder is started.
5. The intelligent feeding method based on machine vision and environment dynamic coupling of claim 1, characterized in that the water quality needs to be monitored in real time in the whole process, the oxygenation is closed 1 hour before feeding and during feeding, feeding is stopped and aeration is performed when the dissolved oxygen in the water body is detected to be lower than 3mg/L, the aeration is stopped and feeding is resumed when the dissolved oxygen is higher than 5mg/L, the oxygenation is started when the dissolved oxygen in the water body is detected to be lower than 3mg/L and the oxygenation is stopped when the dissolved oxygen is higher than 5mg/L in other time.
6. An intelligent feeding device based on machine vision and environment dynamic coupling is characterized by comprising a camera, a meteorological monitoring device, an aerator, a water quality monitoring device, a biomass estimation device, an aeration device, a feeder and a processor; the camera is used for shooting real-time pictures of the aquaculture water body, and the camera, the meteorological monitoring device, the water quality monitoring device and the biomass estimation device are all used for outputting monitoring results to the processor; controlling an aerator, feeder after processing the received data by a processor according to the method of any one of claims 1-5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111227095.7A CN113951196B (en) | 2021-10-21 | 2021-10-21 | Intelligent feeding method and device based on machine vision and environment dynamic coupling |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111227095.7A CN113951196B (en) | 2021-10-21 | 2021-10-21 | Intelligent feeding method and device based on machine vision and environment dynamic coupling |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113951196A true CN113951196A (en) | 2022-01-21 |
CN113951196B CN113951196B (en) | 2022-11-01 |
Family
ID=79465870
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111227095.7A Active CN113951196B (en) | 2021-10-21 | 2021-10-21 | Intelligent feeding method and device based on machine vision and environment dynamic coupling |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113951196B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115211410A (en) * | 2022-08-30 | 2022-10-21 | 四川农业大学 | Underwater grading fishing device and method for small-sized culture fishpond |
CN116616238A (en) * | 2023-04-10 | 2023-08-22 | 浙江大学 | Vision-based self-adaptive feeding device and method for prawns |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
NO20100718A1 (en) * | 2010-05-18 | 2011-11-21 | Havforskningsinstituttet | System and method for guided feeding of farmed fish |
CN106773721A (en) * | 2017-02-08 | 2017-05-31 | 南京渔管家物联网科技有限公司 | A kind of aquaculture intelligence feeding system and its control method based on fuzzy control |
CN107114300A (en) * | 2017-04-28 | 2017-09-01 | 中国水产科学研究院渔业机械仪器研究所 | A kind of regulation and control modification method of leg Shrimp Litopenaeus vannamei Culture Raceway-type Ponds pool substrate |
CN107535399A (en) * | 2017-09-13 | 2018-01-05 | 寿县绿园特种水产生态养殖加工有限责任公司 | A kind of method for being combined cultivation Macrobrachium rosenbergii with gas stone oxygenation using aeration oxygen replenishing |
CN108375906A (en) * | 2018-03-20 | 2018-08-07 | 北京农业信息技术研究中心 | A kind of aquatic fish feeding volume predictor method based on fuzzy algorithmic approach |
CN112213962A (en) * | 2020-08-21 | 2021-01-12 | 四川渔光物联技术有限公司 | Intelligent feeding system and method based on growth model and sonar feedback |
-
2021
- 2021-10-21 CN CN202111227095.7A patent/CN113951196B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
NO20100718A1 (en) * | 2010-05-18 | 2011-11-21 | Havforskningsinstituttet | System and method for guided feeding of farmed fish |
CN106773721A (en) * | 2017-02-08 | 2017-05-31 | 南京渔管家物联网科技有限公司 | A kind of aquaculture intelligence feeding system and its control method based on fuzzy control |
CN107114300A (en) * | 2017-04-28 | 2017-09-01 | 中国水产科学研究院渔业机械仪器研究所 | A kind of regulation and control modification method of leg Shrimp Litopenaeus vannamei Culture Raceway-type Ponds pool substrate |
CN107535399A (en) * | 2017-09-13 | 2018-01-05 | 寿县绿园特种水产生态养殖加工有限责任公司 | A kind of method for being combined cultivation Macrobrachium rosenbergii with gas stone oxygenation using aeration oxygen replenishing |
CN108375906A (en) * | 2018-03-20 | 2018-08-07 | 北京农业信息技术研究中心 | A kind of aquatic fish feeding volume predictor method based on fuzzy algorithmic approach |
CN112213962A (en) * | 2020-08-21 | 2021-01-12 | 四川渔光物联技术有限公司 | Intelligent feeding system and method based on growth model and sonar feedback |
Non-Patent Citations (1)
Title |
---|
赵建: "循环水养殖游泳型鱼类精准投喂研究", 《中国优秀博硕士学位论文全文数据库(博士)农业科技辑》 * |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115211410A (en) * | 2022-08-30 | 2022-10-21 | 四川农业大学 | Underwater grading fishing device and method for small-sized culture fishpond |
CN115211410B (en) * | 2022-08-30 | 2023-06-02 | 四川农业大学 | Underwater grading fishing device and method for small-sized aquaculture fish pond |
CN116616238A (en) * | 2023-04-10 | 2023-08-22 | 浙江大学 | Vision-based self-adaptive feeding device and method for prawns |
CN116616238B (en) * | 2023-04-10 | 2024-04-26 | 浙江大学 | Vision-based self-adaptive feeding method for prawns |
Also Published As
Publication number | Publication date |
---|---|
CN113951196B (en) | 2022-11-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN113951196B (en) | Intelligent feeding method and device based on machine vision and environment dynamic coupling | |
CN107094683B (en) | Automatic feeding and water quality monitoring control system for aquaculture | |
Zhou et al. | Near infrared computer vision and neuro-fuzzy model-based feeding decision system for fish in aquaculture | |
WO2021143783A1 (en) | Swimming-type fish self-adaptive feeding device and method based on light-sound coupling technique | |
CN110074030B (en) | Feedback type pond circulating water intelligent feeding system integrating machine vision and infrared detection technology | |
CN112213962A (en) | Intelligent feeding system and method based on growth model and sonar feedback | |
US20200113158A1 (en) | Data collection system and method for feeding aquatic animals | |
US5732655A (en) | Automatic feeding apparatus for aquatic life, and a method for using same | |
AU2011255706A1 (en) | System and method for controlling feeding of farmed fish | |
CN103761565B (en) | The juvenile crab quantity survey of fish and shrimp under water and behavior monitoring device and method based on computer vision | |
CN114467824B (en) | Intelligent bait casting boat | |
CN112883861B (en) | Feedback type bait casting control method based on fine-grained classification of fish school feeding state | |
CN111838027A (en) | Pure oxygen supply aquaculture system and method | |
CN112506120A (en) | Wisdom fishery management system based on thing networking | |
CN112400773B (en) | Greenhouse fry intelligent feeding device and method based on machine vision technology | |
CN113749030B (en) | Fish welfare self-adaptive feeding system suitable for circulating water aquaculture mode | |
TW202209965A (en) | A smart shrimp and/or crab feeding management system and the method thereof | |
CN110089477A (en) | A kind of fish welfare intelligent cultivation system and method for circulating water cultivation mode | |
CN111443744A (en) | Recirculating aquaculture variable-speed flow intelligent control system based on fish shoal behavior and ammonia discharge law feedback | |
CN107730495A (en) | A kind of fish pond anoxic detection method based on background modeling | |
CN114612454A (en) | Fish feeding state detection method | |
JPH0785080B2 (en) | Fish condition monitor | |
CN116307893B (en) | Fish proliferation releasing water area suitability evaluation system based on data analysis | |
CN114519538B (en) | Multi-nutrition-layer culture system capable of effectively controlling recycling of nutrients | |
CN216147034U (en) | Fish and rice symbiosis intelligent equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |