Disclosure of Invention
In order to overcome the defects in the prior art, the invention aims to provide a crop growth monitoring system and method for a greenhouse, which are used for accurately monitoring crops by acquiring environmental information and images of the crops in the greenhouse.
In order to achieve the purpose, the invention adopts the specific scheme that:
a crop growth monitoring system for a greenhouse comprises a framework, wherein the system comprises at least one environment monitoring device, a crop monitoring device and an upper computer;
the environment monitoring device comprises a bottom plate, a first connecting block and a second connecting block are respectively and fixedly connected with two ends of the bottom plate, the first connecting block and the second connecting block are both connected with a connecting unit for connecting with soil or the framework, a cavity is arranged in the middle of the bottom plate and communicated with a through groove, the through groove penetrates through the upper surface of the bottom plate, a lead screw is arranged in the cavity, one end of the lead screw penetrates through the first connecting block and then is connected with a motor, the other end of the screw rod is rotationally connected with the second connecting block, the screw rod is connected with a nut movable block in a matching way, the nut movable block comprises a movable part and an extending part which are integrally connected, the movable part is positioned in the cavity, the extending part extends out of the through groove, and an air induction assembly is fixedly arranged on the extending part;
the crop monitoring device comprises a plurality of cameras fixedly arranged on the framework, and the overlapping area of the coverage areas of two adjacent cameras is not more than 10% of the coverage area of a single camera;
the host computer with the air response subassembly with the equal electric connection of camera.
Preferably, jacks are formed in the first connecting block and the second connecting block, two ends of the lead screw respectively extend into the two jacks, and the extending end of the lead screw is connected with the inner walls of the jacks through bearings.
Preferably, the connecting unit is used for connecting soil, the connecting unit includes wear to establish first inserted bar on first connecting block or the second connecting block, the upper end fixedly connected with compact heap of first inserted bar, just compact heap with first connecting block or the laminating of second connecting block mutually, the lower extreme of first inserted bar inserts in the soil.
Preferably, a pressing plate is further sleeved on the first inserting rod and located between the soil and the first connecting block or the second connecting block.
Preferably, extension fixedly connected with the connecting plate that the bottom plate is parallel to each other, the fixed cylinder that is provided with on the connecting plate, the piston rod of cylinder passes behind the connecting plate towards soil, piston rod fixedly connected with second inserted bar, second inserted bar fixedly connected with soil response subassembly.
Preferably, one end, far away from the piston rod, of the second inserted bar is conical, and the soil sensing assembly is embedded on a conical side wall.
Preferably, the linkage unit is used for connecting the skeleton, the linkage unit is including wearing to establish connecting rod on the first connecting block perhaps the second connecting block, connecting block of each fixedly connected with in both ends of connecting rod, connecting block fixedly connected with elasticity extension rod, and two the elasticity extension rod is parallel to each other, elasticity extension rod fixedly connected with arc pole, arc pole fixedly connected with connection piece, two the connection piece is parallel to each other and can dismantle the connection through fastening assembly.
Preferably, the fastening assembly comprises a fastening nut and a connecting bolt which are matched with each other, and the connecting bolt penetrates through the two connecting sheets.
Preferably, the extension portion is fixedly connected with a mounting seat in a ladder shape, and the air induction assembly is fixedly arranged on the side wall of the mounting seat.
The invention also provides a crop growth monitoring method for the greenhouse, which is based on the system and comprises the following steps:
s1, the upper computer monitors environmental information in the greenhouse through the environment monitoring device;
s2, the upper computer obtains the image of the crop through the crop monitoring device;
and S3, the upper computer integrates the environmental information and the image into monitoring information.
According to the invention, the environment information in the greenhouse can be acquired through the environment monitoring device, the crop image is acquired through the crop monitoring device, then the growth state of the crop can be analyzed according to the image of the crop, and whether the current environment is favorable for the growth of the crop can be judged by combining the acquired environment information, so that a user is reminded whether to adjust the environment in the greenhouse, and finally the crop can grow vigorously.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be obtained by a person skilled in the art without making any creative effort based on the embodiments in the present invention, belong to the protection scope of the present invention.
Referring to fig. 1 to 5, fig. 1 is an overall structural schematic view of an embodiment of the present invention, fig. 2 is a structural schematic view of a connection unit used for connecting soil, fig. 3 is a structural schematic view of a connection unit used for connecting a framework, fig. 4 is a structural schematic view of a fastening assembly, and fig. 5 is a structural schematic view of a nut movable block.
A crop growth monitoring system for a greenhouse comprises a framework, and the system comprises at least one environment monitoring device, a crop monitoring device and an upper computer.
The environment monitoring device comprises a bottom plate 7, the both ends of bottom plate 7 are the first connecting block 2 of fixedly connected with and second connecting block 8 respectively, first connecting block 2 and second connecting block 8 all are connected with the linkage unit that is used for being connected with soil or skeleton, cavity 6 has been seted up at 7 middle parts of bottom plate, cavity 6 intercommunication has logical groove 5, and logical groove 5 link up the upper surface of bottom plate 7, be provided with lead screw 3 in the cavity 6, be connected with motor 1 after first connecting block 2 is passed to lead screw 3's one end, lead screw 3's other one end rotates with second connecting block 8 to be connected, the cooperation is connected with nut movable block 4 on the lead screw 3, nut movable block 4 includes the movable part 20 and the extension 22 of a body coupling, wherein movable part 20 is located cavity 6, extension 22 stretches out from leading to groove 5, the fixed air response subassembly 24 that is provided with on the extension 22.
The crop monitoring device comprises a plurality of cameras fixedly arranged on the framework, and the overlapping area of the coverage range of two adjacent cameras is not more than 10% of the coverage area of a single camera.
The upper computer is electrically connected with the air induction assembly 24 and the camera. The upper computer can adopt the existing mature products, such as a single chip microcomputer, a PLC or a PC, and the specific model is not limited.
When the air induction assembly 24 is connected to soil, the air induction assembly 24 is mainly used for sensing parameters such as humidity, temperature or carbon dioxide concentration of the surface layer of the soil close to a plant root system, and the corresponding air induction assembly 24 needs to comprise a temperature and humidity sensor, a carbon dioxide sensor and the like, the sensors can be the existing sensor products, and the specific models are not limited; when connected to the frame, the air sensing assembly 24 is primarily used to sense parameters such as humidity, temperature or carbon dioxide concentration of the upper layer within the greenhouse. After connecting, utilize motor 1 drive lead screw 3 to rotate, because nut movable block 4 and the cooperation of lead screw 3, so lead screw 3 can drive nut movable block 4 and remove along the length direction of bottom plate 7 at the pivoted in-process, and then drive 24 synchronous motion of air component, thereby make air induction assembly 24 can monitor the environment of the inside different positions of big-arch shelter, effectively reduced the quantity of sensor, the device cost is reduced, and it is less to be applicable to the scale, producer sensitive to the cost.
On the other hand, the camera of the crop monitoring device shoots the image of the crop regularly and transmits the image to the upper computer. The host computer can analyze the growth state of the crops according to the images of the crops, and can judge whether the current environment is favorable for the growth of the crops or not by combining the acquired environment information, so as to remind a user whether the environment in the greenhouse needs to be adjusted or not, and finally guarantee that the crops can thrive and grow. Through the overlapping area of controlling the coverage of the adjacent cameras, the use of the cameras can be reduced, the use cost is reduced, the image processing pressure of the upper computer is reduced, and dead angles are avoided.
In this embodiment, the lead screw 3 is specifically set as follows: jacks are formed in the first connecting block 2 and the second connecting block 8, two ends of the lead screw 3 extend into the two jacks respectively, and the extending end of the lead screw 3 is connected with the inner walls of the jacks through the bearing 12. It should be noted that, because the lead screw 3 needs to be connected with the motor 1, the insertion hole on the first connecting block 2 should be a through hole, and the insertion hole on the second connecting block 8 may be a blind hole.
In this embodiment, when the coupling unit is used for connecting soil, the coupling unit includes first inserted bar 10 of wearing to establish on first connecting block 2 or second connecting block 8, the upper end fixedly connected with compact heap 9 of first inserted bar 10, and compact heap 9 and first connecting block 2 or second connecting block 8 laminate mutually, and the lower extreme of first inserted bar 10 inserts in soil. It should be noted that, because the insertion hole on the first connecting block 2 is a through hole, the first insertion rod 10 needs to be staggered from the insertion hole to avoid interference with the screw rod 3.
In this embodiment, the first inserting rod 10 is further sleeved with a pressing plate 11, and the pressing plate 11 is located between the soil and the first connecting block 2 or the second connecting block 8. The pressing plate 11 is used for increasing the contact area of the first connecting block 2 or the second connecting block 8 and the soil, and sedimentation is avoided.
In this embodiment, when the connection unit is used for connecting soil, the extension 22 is fixedly connected with a connection plate 25 parallel to the bottom plate 7, an air cylinder 26 is fixedly arranged on the connection plate 25, a piston rod 27 of the air cylinder 26 passes through the connection plate 25 and then faces the soil, a second insertion rod 28 is fixedly connected to the piston rod 27, and a soil sensing assembly 29 is fixedly connected to the second insertion rod 28. When the connecting unit is used for connecting soil, the device is directly arranged on the ground, so that the soil environment can be monitored by using the soil sensing assembly 29, after the motor 1 and the screw rod 3 drive the nut moving block 4 to reach a target position, the air cylinder 26 pushes the second insertion rod 28 to be inserted into the soil, then the soil sensing assembly 29 is used for sensing parameters such as soil humidity, temperature and the like, the corresponding soil sensing assembly 29 needs to comprise a soil moisture sensor, a temperature sensor and the like, the sensors can adopt the existing sensor products, and the specific models are not limited; when the position of the nut block 4 needs to be changed after the completion of the monitoring, the air cylinder 26 needs to extract the second plunger 28 from the soil to avoid damage to the second plunger 28 during the movement of the nut block 4. The soil sensing assembly 29 is also electrically connected with the upper computer, so that the environmental parameters acquired by the upper computer comprise soil information.
In this embodiment, the end of the second plunger 28 remote from the piston rod 27 is tapered, and the soil sensing element 29 is embedded in the tapered side wall. Specifically, the taper includes a vertical surface and a plurality of inclined surfaces, and the soil sensing member 29 is embedded in the vertical surface, so that the second insertion rod 28 can be conveniently inserted into the soil, and the soil sensing member 29 can be prevented from directly colliding with foreign materials such as broken stones during the insertion of the second insertion rod 28 into the soil, thereby protecting the soil sensing member 29.
In this embodiment, when the linkage unit is used for connecting the skeleton, the linkage unit is including wearing to establish connecting rod 13 on first connecting block 2 or the second connecting block 8, connecting block 14 of each fixedly connected with in both ends of connecting rod 13, connecting block 14 fixedly connected with elasticity extension rod 15, and two elasticity extension rods 15 are parallel to each other, elasticity extension rod 15 fixedly connected with arc pole 16, 16 fixedly connected with connection pieces 17 of arc pole, two connection pieces 17 are parallel to each other and can dismantle the connection through fastening component. At first reverse wrench moves two arc poles 16, because elasticity extension rod 15 has elasticity, so distance between two arc poles 16 can increase, when the minimum distance between two arc poles 16 is greater than the skeleton width, walk around the skeleton and loosen two arc poles 16, make two arc poles 16 can catch the skeleton, utilize fastening assembly to couple together two connection pieces 17 at last and can hang the skeleton with the device, the installation is simple swift. The elastic extension rod 15 can be made of rubber, and the arc-shaped rod 16 can be made of metal.
In this embodiment, the fastening assembly comprises a fastening nut 18 and a connecting bolt 19 which cooperate with each other, the connecting bolt 19 passing through the two connecting pieces 17.
In this embodiment, a mounting seat 23 in a shape of a step is fixedly connected to the protruding portion 22, and the air induction assembly 24 is fixedly disposed on a sidewall of the mounting seat 23. The step-shaped mounting seat 23 has a plurality of sides with different directions, and the orientation of the air induction assembly 24 can be changed by controlling the position of the air induction assembly, so that air parameters in different directions can be monitored. In addition, an illumination sensor can be arranged on the side wall of the mounting seat 23 to monitor the illumination condition of the greenhouse.
A crop growth monitoring method for a greenhouse is based on the system and comprises the steps S1-S3.
And S1, monitoring environmental information in the greenhouse by the upper computer through the environment monitoring device. The environment information specifically includes soil environment information and air environment information, where the soil environment information may include soil temperature, soil humidity, soil salinity, water and soil retention capacity, and the air environment information may include air temperature, air humidity, carbon dioxide concentration, oxygen concentration, or illumination intensity.
And step S2, the upper computer acquires the image of the crop through the crop monitoring device. Because the coverage areas of different cameras are overlapped, different pictures have the same content, so that after the upper computer acquires the images shot by all the cameras, repeated parts need to be deleted firstly, and then the rest parts are spliced together, so that the images of the crops in the whole greenhouse are obtained. A specific method may comprise steps S2.1 to S2.4.
Step S2.1, the image is divided into a plurality of analysis regions. In general, the image taken by the camera is rectangular, so that m × n analysis regions can be adopted, and the number of pixels in each analysis region is p.
And S2.2, according to the distribution of the cameras, numbering the images, wherein the difference value of the numbering of two adjacent cameras is 1. Considering that the size of the greenhouse and the coverage area of the cameras are different, if all the cameras can be divided into a plurality of rows, and the number of each row is multiple, the difference between the numbers of the adjacent cameras in the same row is naturally 1, but the difference between the numbers of two adjacent cameras not in the same row is difficult to be 1, so the numbers are represented by two bits, namely XY, X and Y are natural numbers of 1-9, when the difference between the numbers is calculated, X and Y are respectively calculated, one of X or Y in the numbers of two adjacent cameras not in the same row is necessarily the same, and the difference between the other X or Y is 1, so that the condition that the difference between the numbers of two adjacent cameras is 1 can be met. In fact, the coverage area of a single camera is large, and the value range of X and Y is set to 1 to 9, which can be implemented as 81 camera numbers at most, enough to cover all the current greenhouses.
And S2.3, comparing adjacent areas in the images of the two adjacent cameras, and deleting the consistent area in one of the images if the comparison result is consistent. For management convenience, when the same area appears, the consistent area in the image of the camera with the larger number is deleted uniformly. When a consistent area appears, the coverage areas of the two cameras are overlapped, and the consistent area is an image of the overlapped part. The specific comparison method may be pixel value comparison, that is, analyzing the pixel value of each pixel point and comparing, and when the number of the pixel points with the same pixel value exceeds 75% of the total number of the pixel points in one region, determining that the comparison results are the same. Or pixel mean value comparison can be adopted, namely, the mean value of pixel values of pixel points in each area is calculated and then compared, and if the difference value is smaller than a set threshold value, the comparison result is determined to be consistent. The pixel value comparison is suitable for the situation that the area is large, high errors are generated by adopting the pixel mean value comparison, the pixel mean value comparison is suitable for the situation that the area is small but the number is large, and the comparison speed can be improved.
And S2.4, integrating the images shot by all the cameras into a total image. Because the same area in the images shot by different cameras has been deleted, the total image synthesized is the correct image of all crops in the greenhouse.
And step S3, integrating the environmental information and the image into monitoring information by the upper computer. The specific method comprises the following steps:
step S3.1, the environment information is converted into a plurality of overlay images, each parameter corresponding to an overlay image. Because the positions acquired by the information acquisition devices are different, each area in the greenhouse actually corresponds to a plurality of parameters, and the area can be the area in S2, or the total image can be divided again. When the superimposed image is generated, a plurality of blank images corresponding to the number of parameters one to one are generated and set to be transparent, then the parameters are converted into RGB color values and added into the blank images, the superimposed image with partial color opaqueness and the rest transparent is formed after the color is added, and the RGB color values in different superimposed images are different. For example, the air temperature is converted into an RGB color value interval corresponding to red, the higher the temperature is, the higher the value of R is, the soil temperature is converted into an RGB color value interval corresponding to blue, and the higher the temperature is, the higher the value of B is.
And S3.2, taking each superposed image as an independent layer, taking the total image as a background layer, and superposing all the independent layers and the background layer. And when checking, selecting and displaying the corresponding superposed layer.
By the method, the monitoring result can be converted into a visual image, and the visual image is displayed on the basis of a layer mode, so that the visual image is more convenient to observe, and is more intuitive compared with the traditional display mode of a curve graph or a line graph.
The embodiments in the present description are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.