Rice qualification rate field spot sampling inspection system and method

文档序号:1435025 发布日期:2020-03-20 浏览:8次 中文

阅读说明:本技术 稻米合格率现场抽检系统以及方法 (Rice qualification rate field spot sampling inspection system and method ) 是由 樊俊利 于 2019-11-12 设计创作,主要内容包括:本发明涉及一种稻米合格率现场抽检系统以及方法,所述系统包括:检验罐体,为一封闭式圆柱体,内放置当前批次稻米的抽检稻米颗粒,所述抽检稻米颗粒由多颗稻米堆积而成;底部搅拌设备,设置在所述检验罐体的底部,用于对抽检稻米颗粒进行搅拌以使得抽检稻米颗粒内的多颗稻米在所述检验罐体内翻滚;顶部摄像机构,包括摄像头和辅助照明设备,所述摄像头用于对检验罐体内部执行摄像操作,以获得相应的罐体采集图像。本发明的稻米合格率现场抽检系统以及方法数据可靠、结构紧凑。由于采用视觉检测模式对每一颗稻米的径向长度进行现场检测,进而能够基于各颗稻米的径向长度执行对当前批次稻米是否合格的有效判断。(The invention relates to a field spot inspection system and a method for the qualification rate of rice, wherein the system comprises: the detection tank body is a closed cylinder, and is internally provided with the selective detection rice particles of the current batch of rice, wherein the selective detection rice particles are formed by stacking a plurality of rice; the bottom stirring device is arranged at the bottom of the inspection tank body and is used for stirring the sampled rice particles so as to enable a plurality of rice in the sampled rice particles to roll in the inspection tank body; the top camera shooting mechanism comprises a camera and auxiliary lighting equipment, wherein the camera is used for executing camera shooting operation on the interior of the tank body to be inspected so as to obtain a corresponding tank body acquisition image. The rice qualification rate on-site spot sampling inspection system and method provided by the invention have the advantages of reliable data and compact structure. As the radial length of each rice is detected on site in a visual detection mode, effective judgment on whether the current batch of rice is qualified or not can be carried out based on the radial length of each rice.)

1. A rice qualification rate field spot selective examination system is characterized by comprising:

the inspection tank body is a closed cylinder, and is internally provided with the selective inspection rice particles of the current batch of rice, wherein the selective inspection rice particles are formed by stacking a plurality of rice.

2. The rice yield spot check system of claim 1, further comprising:

and the bottom stirring equipment is arranged at the bottom of the inspection tank body and is used for stirring the sampled rice particles so as to enable a plurality of rice in the sampled rice particles to roll in the inspection tank body.

3. The rice yield spot check system of claim 2, further comprising:

the top camera mechanism comprises a camera and auxiliary lighting equipment, and the camera is used for performing camera shooting operation on the interior of the tank to be inspected so as to obtain a corresponding tank collected image;

the parameter analysis equipment is used for acquiring each brightness value of each pixel unit of the top camera shooting mechanism and calculating the mean square error of each brightness value;

the threshold comparison equipment is respectively connected with the parameter analysis equipment and the top camera shooting mechanism and is used for increasing the starting number of pixel units in the top camera shooting mechanism when the mean square error of each brightness value is smaller than a preset mean square error threshold;

the threshold comparison device is further configured to reduce the number of turned-on pixel units in the top camera when the mean square error of each luminance value exceeds the preset mean square error threshold by twenty percent;

the threshold comparison device is further configured to keep the number of the turned-on pixel units in the top camera when the mean square error of each brightness value is greater than or equal to the preset mean square error threshold and does not exceed twenty percent of the preset mean square error threshold;

the rice grain extraction equipment is connected with the top camera shooting mechanism and used for extracting each rice grain area where each rice grain object in the tank body collected image is located based on rice grain imaging characteristics and acquiring the real-time depth of field of each rice grain object in the tank body collected image;

a data analysis device connected with the rice grain extraction device and used for executing the following actions for each rice grain object: calculating the actual radial length of the rice grain objects based on the area proportion of the rice grain regions corresponding to the rice grain objects occupying the tank body collected images and the real-time depth of field corresponding to the rice grain objects;

and the qualified rate analysis equipment is connected with the data analysis equipment, and sends out a batch unqualified instruction when the percentage of the total number of the rice grain objects occupied by the number of the rice grain objects with the actual radial length smaller than the preset length threshold exceeds the limit, or sends out a batch qualified instruction.

4. The rice yield spot check system of claim 3, further comprising:

and the first analysis equipment is connected with the top camera shooting mechanism and used for receiving the tank body collected image and measuring the signal-to-noise ratio of the tank body collected image so as to obtain and output a corresponding current signal-to-noise ratio.

5. The rice yield spot check system of claim 4, further comprising:

and the second analysis device is connected with the first analysis device and is used for performing average macro block processing on the tank collected image based on the current signal-to-noise ratio to obtain each image macro block, wherein the smaller the current signal-to-noise ratio is, the larger each image macro block obtained by performing average macro block processing on the tank collected image is.

6. The rice yield spot check system of claim 5, further comprising:

and the signal selection equipment is connected with the second analysis equipment and is used for receiving each image macro block of the image collected by the tank body, and selecting four image macro blocks of the upper left corner, the upper right corner, the lower left corner and the lower right corner of the image collected by the tank body as four image macro blocks to be analyzed and outputting the four image macro blocks.

7. The rice yield spot check system of claim 6, further comprising:

and the parameter output equipment is connected with the signal selection equipment and used for detecting the sensitivities of the four image macro blocks to be analyzed and taking the average value of the sensitivities of the four image macro blocks to be analyzed as the sensitivity to be processed.

8. The rice yield spot check system of claim 7, further comprising:

the data adjusting equipment is respectively connected with the rice grain extracting equipment and the parameter outputting equipment and is used for carrying out sensitivity adjusting operation on the tank collected image based on the sensitivity to be processed, and the larger the difference value of the sensitivity to be processed from a preset sensitivity threshold value is, the larger the amplitude of the sensitivity adjusting operation on the tank collected image is;

and the data adjusting equipment is also used for replacing the tank body collecting image with the processed image obtained after the sensitivity adjusting operation and sending the processed image to the rice grain extracting equipment.

9. A field spot inspection method for rice yield is characterized by comprising the following steps: the rice qualification site spot check system according to any one of claims 1 to 8 is used to judge whether the batch of rice is qualified based on the percentage of the number of rice grain objects in the spot-checked rice grains, the number of which is smaller than a preset length threshold, occupying the total number of the rice grain objects.

Technical Field

The invention relates to the field of grain storage, in particular to a rice qualification rate field spot sampling inspection system and a method.

Background

Grain (grain) is a general name of various plant seeds in cooking food, is also called as grain, and contains rich nutrient substances, mainly protein, vitamins, dietary fibers, fat and the like. Ancient times, the way of going is called grain, and the rest is called food. The product is also called raw grain and finished grain for eating such as cereals, beans and potatoes. The grain concept of the food and agriculture organization (hereinafter referred to as the food and agriculture organization) of the united nations refers to grains, including wheat, beans, coarse grains, rice, grains and the like.

The moisture content of the harvested grain is very important for commercial use or seed use. The ideal water content of the grain is to dry the grain to the vicinity of the critical point of the growth of the grain storage microorganisms, under the water content condition, the storage safety of the grain can be ensured, the freshness and the eating quality of the grain can be maintained to the maximum extent, and the germination rate and the quality of the seed products of the grain can be maintained to the maximum extent.

Moisture and temperature are main factors influencing the respiration of the grains, but the moisture and the temperature are not isolated and are mutually restricted. When the moisture content of the grain is low, the influence of the temperature on the respiration is small; when the moisture content of the grain is increased, the respiration intensity change caused by the temperature is very violent. According to the experiment, the grain with the moisture meter of 18% -23% suddenly weakens after the breath sharply rises at the temperature of 50-55 ℃. But the grain with 14% -16% of water passes through several days and nights at the same temperature, and the respiratory capacity is hardly changed.

Disclosure of Invention

In order to solve the related problems in the prior art, the invention provides a rice qualification rate field spot selective inspection system which can use the radial length of rice as a judgment basis, and when the percentage of the number of rice grain objects with the radial length smaller than a preset length threshold value in the selective inspection rice grains occupying the total number of the rice grain objects exceeds a threshold value, judge that the rice in the batch is unqualified; and calculating the radial length of the rice grain objects based on the area proportion of the rice grain regions corresponding to the rice grain objects occupying the customized processing image and the real-time depth of field corresponding to the rice grain objects.

According to an aspect of the present invention, there is provided a rice yield spot sampling system, the system comprising:

the inspection tank body is a closed cylinder, and is internally provided with the selective inspection rice particles of the current batch of rice, wherein the selective inspection rice particles are formed by stacking a plurality of rice.

Next, the detailed construction of the rice yield spot inspection system of the present invention will be further described.

The rice qualification rate field spot sampling system also comprises:

and the bottom stirring equipment is arranged at the bottom of the inspection tank body and is used for stirring the sampled rice particles so as to enable a plurality of rice in the sampled rice particles to roll in the inspection tank body.

The rice qualification rate field spot sampling system also comprises:

the top camera mechanism comprises a camera and auxiliary lighting equipment, and the camera is used for performing camera shooting operation on the interior of the tank to be inspected so as to obtain a corresponding tank collected image;

the parameter analysis equipment is used for acquiring each brightness value of each pixel unit of the top camera shooting mechanism and calculating the mean square error of each brightness value;

the threshold comparison equipment is respectively connected with the parameter analysis equipment and the top camera shooting mechanism and is used for increasing the starting number of pixel units in the top camera shooting mechanism when the mean square error of each brightness value is smaller than a preset mean square error threshold;

the threshold comparison device is further configured to reduce the number of turned-on pixel units in the top camera when the mean square error of each luminance value exceeds the preset mean square error threshold by twenty percent;

the threshold comparison device is further configured to keep the number of the turned-on pixel units in the top camera when the mean square error of each brightness value is greater than or equal to the preset mean square error threshold and does not exceed twenty percent of the preset mean square error threshold;

the rice grain extraction equipment is connected with the top camera shooting mechanism and used for extracting each rice grain area where each rice grain object in the tank body collected image is located based on rice grain imaging characteristics and acquiring the real-time depth of field of each rice grain object in the tank body collected image;

a data analysis device connected with the rice grain extraction device and used for executing the following actions for each rice grain object: calculating the actual radial length of the rice grain objects based on the area proportion of the rice grain regions corresponding to the rice grain objects occupying the tank body collected images and the real-time depth of field corresponding to the rice grain objects;

and the qualified rate analysis equipment is connected with the data analysis equipment, and sends out a batch unqualified instruction when the percentage of the total number of the rice grain objects occupied by the number of the rice grain objects with the actual radial length smaller than the preset length threshold exceeds the limit, or sends out a batch qualified instruction.

According to another aspect of the present invention, there is also provided a field spot inspection method for rice yield, the method comprising: and (3) using a rice qualification rate field spot sampling system to judge whether the batch of rice is qualified based on the percentage of the number of rice grain objects with the radial length smaller than a preset length threshold value in the sampled rice grains to the total number of the rice grain objects.

The rice qualification rate on-site spot sampling inspection system and method provided by the invention have the advantages of reliable data and compact structure. As the radial length of each rice is detected on site in a visual detection mode, effective judgment on whether the current batch of rice is qualified or not can be carried out based on the radial length of each rice.

Therefore, the invention needs to have the following three main points:

(1) when the mean square error of each brightness value of each pixel unit in the imaging equipment is smaller than a preset mean square error threshold value, judging that the dynamic range of an imaging image of the imaging equipment is narrow, and increasing the starting number of the pixel units in the image acquisition equipment to expand the dynamic range of the imaging image of the imaging equipment;

(2) taking the radial length of rice as a judgment basis, and judging that the rice in the batch is unqualified when the percentage of the number of rice grain objects with the radial length smaller than a preset length threshold value in the rice grains in the spot inspection exceeds the total number of the rice grain objects;

(3) calculating the radial length of the rice grain object based on the area proportion of the rice grain region corresponding to the rice grain object occupying the customized processed image and the real-time depth of field corresponding to the rice grain object.

Detailed Description

The following will describe in detail embodiments of the rice yield spot inspection system and method of the present invention.

Rice, commonly known as rice, is an annual aquatic herb of the family gramineae. The stalks are upright, the height is 0.5 to 1.5 meters, and the stalks are different according to varieties. The leaf sheath is hairless and loose; the leaves and tongues are in a needle shape; the leaves are linear and needle-shaped, have a width of about 1 cm, and are unhaired and coarse. The large-scale sparse and spread of the panicle and the rough edge; the spikelet contains 1 mature flower; the glumes are extremely small, and half-moon-shaped traces are left at the front ends of the small ear stems only and are in a conical thorn shape; the perichloa of the pregnant flower on both sides is thick, has 5 veins, the middle vein is ridged, the surface has latticed small milky protrusion, the surface is thick paper, the hair is dense all over the thin hair end, and the flower has awns or no awns; the palea is homogeneous with the palea, and has 3 veins, and the tip is sharp without beak; stamen anthers are 2-3 mm long. The caryopsis is about 5 mm in length and about 2 mm in width; the embryo ratio was 1/4 about caryopsis long.

Rice is an important grain widely planted in tropical zone of Asia, southern China is a main rice-producing area, and northern China is planted in all provinces. The subspecies are mainly divided into 2 subspecies, indica rice and japonica rice. Subspecies include many cultivars. The mature caryopsis is used as the medicine. Sweet and warm in flavor. Regulate middle warmer, promote digestion, invigorate spleen and stimulate appetite.

Currently, the qualification rate of each batch of rice is generally manually detected by adopting a spot check mode, however, because the granules of the spot check are limited, and the manual detection mode is too based on rough judgment of naked eyes, the qualification rate detection effectiveness is poor. Therefore, an automatic and efficient detection mechanism is needed, which can rapidly judge the yield of each batch of rice.

In order to overcome the defects, the invention builds the field spot inspection system and the field spot inspection method for the rice yield, and can effectively solve the corresponding technical problems.

The rice qualification rate spot sampling system shown according to the embodiment of the invention comprises:

the inspection tank body is a closed cylinder, and is internally provided with the selective inspection rice particles of the current batch of rice, wherein the selective inspection rice particles are formed by stacking a plurality of rice.

Next, the detailed construction of the rice yield spot inspection system of the present invention will be further described.

The rice qualification rate field spot sampling system also comprises:

and the bottom stirring equipment is arranged at the bottom of the inspection tank body and is used for stirring the sampled rice particles so as to enable a plurality of rice in the sampled rice particles to roll in the inspection tank body.

The rice qualification rate field spot sampling system also comprises:

the top camera mechanism comprises a camera and auxiliary lighting equipment, and the camera is used for performing camera shooting operation on the interior of the tank to be inspected so as to obtain a corresponding tank collected image;

the parameter analysis equipment is used for acquiring each brightness value of each pixel unit of the top camera shooting mechanism and calculating the mean square error of each brightness value;

the threshold comparison equipment is respectively connected with the parameter analysis equipment and the top camera shooting mechanism and is used for increasing the starting number of pixel units in the top camera shooting mechanism when the mean square error of each brightness value is smaller than a preset mean square error threshold;

the threshold comparison device is further configured to reduce the number of turned-on pixel units in the top camera when the mean square error of each luminance value exceeds the preset mean square error threshold by twenty percent;

the threshold comparison device is further configured to keep the number of the turned-on pixel units in the top camera when the mean square error of each brightness value is greater than or equal to the preset mean square error threshold and does not exceed twenty percent of the preset mean square error threshold;

the rice grain extraction equipment is connected with the top camera shooting mechanism and used for extracting each rice grain area where each rice grain object in the tank body collected image is located based on rice grain imaging characteristics and acquiring the real-time depth of field of each rice grain object in the tank body collected image;

a data analysis device connected with the rice grain extraction device and used for executing the following actions for each rice grain object: calculating the actual radial length of the rice grain objects based on the area proportion of the rice grain regions corresponding to the rice grain objects occupying the tank body collected images and the real-time depth of field corresponding to the rice grain objects;

and the qualified rate analysis equipment is connected with the data analysis equipment, and sends out a batch unqualified instruction when the percentage of the total number of the rice grain objects occupied by the number of the rice grain objects with the actual radial length smaller than the preset length threshold exceeds the limit, or sends out a batch qualified instruction.

The rice qualification rate field spot sampling system also comprises:

and the first analysis equipment is connected with the top camera shooting mechanism and used for receiving the tank body collected image and measuring the signal-to-noise ratio of the tank body collected image so as to obtain and output a corresponding current signal-to-noise ratio.

The rice qualification rate field spot sampling system also comprises:

and the second analysis device is connected with the first analysis device and is used for performing average macro block processing on the tank collected image based on the current signal-to-noise ratio to obtain each image macro block, wherein the smaller the current signal-to-noise ratio is, the larger each image macro block obtained by performing average macro block processing on the tank collected image is.

The rice qualification rate field spot sampling system also comprises:

and the signal selection equipment is connected with the second analysis equipment and is used for receiving each image macro block of the image collected by the tank body, and selecting four image macro blocks of the upper left corner, the upper right corner, the lower left corner and the lower right corner of the image collected by the tank body as four image macro blocks to be analyzed and outputting the four image macro blocks.

The rice qualification rate field spot sampling system also comprises:

and the parameter output equipment is connected with the signal selection equipment and used for detecting the sensitivities of the four image macro blocks to be analyzed and taking the average value of the sensitivities of the four image macro blocks to be analyzed as the sensitivity to be processed.

The rice qualification rate field spot sampling system also comprises:

the data adjusting equipment is respectively connected with the rice grain extracting equipment and the parameter outputting equipment and is used for carrying out sensitivity adjusting operation on the tank collected image based on the sensitivity to be processed, and the larger the difference value of the sensitivity to be processed from a preset sensitivity threshold value is, the larger the amplitude of the sensitivity adjusting operation on the tank collected image is;

and the data adjusting equipment is also used for replacing the tank body collecting image with the processed image obtained after the sensitivity adjusting operation and sending the processed image to the rice grain extracting equipment.

Meanwhile, in order to overcome the defects, the invention also provides a field spot inspection method for the rice qualification rate, which comprises the following steps: and (3) using a rice qualification rate field spot sampling system to judge whether the batch of rice is qualified based on the percentage of the number of rice grain objects with the radial length smaller than a preset length threshold value in the sampled rice grains to the total number of the rice grain objects.

In addition, the data analysis equipment is also internally provided with a power line communication interface. The Power line carrier-PLC communication is a special communication mode for carrying out voice or data transmission by using a Power line as an information transmission medium. The power lines are generally classified into high, medium and low 3 types in the field of power carrier, generally, a high-voltage power line refers to a voltage class of 35kV or more, a medium-voltage power line refers to a voltage class of 10kV, and a low-voltage distribution line refers to 380/220V subscriber lines.

Power Line Carrier (PLC) is a communication method specific to a Power system, and Power Line Carrier communication is a technology for transmitting analog or digital signals at high speed by a Carrier method using an existing Power Line. The method has the greatest characteristic that data transmission can be carried out only by wires without erecting a network again.

The power line carrier technology breaks through the limitation of being limited to the application of a single chip microcomputer, has entered the digital era, and with the continuous development of the power line carrier technology and the social needs, the technical development and application of medium/low voltage power line carrier communication are still emerging.

It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.

It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.

The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc. Although embodiments of the present invention have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present invention, and that variations, modifications, substitutions and alterations can be made to the above embodiments by those of ordinary skill in the art within the scope of the present invention.

8页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种一字轴类工件的连续运载检测装置

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!