Grain quality detection device and method, control device and storage medium

By designing a grain quality inspection device, comprehensive non-destructive testing of grain appearance, bulk weight, internal quality and safety indicators is achieved, and the problems of low detection efficiency and single indicators in the existing technology are solved, and the accuracy and value of the test results are improved.

CN119827494APending Publication Date: 2025-04-15HUNAN YINGCHUN STEEL SILO MFG CO LTD +2
View PDF 0 Cites 4 Cited by

Patent Information

Application Number
CN202510087316.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-20
Publication Date
2025-04-15

AI Technical Summary

Technical Problem

The existing technology of grain quality testing methods have strong subjectivity, low testing efficiency and single testing indicators, resulting in inaccurate testing results and cannot meet the needs of grain purchase under the new situation.

Method used

Design a grain quality testing device, including a grain sample sampling device, an appearance quality testing device, a bulk weight testing device, an internal quality testing device and a safety index testing device. Through sample separation and dividing inspection, a comprehensive non-destructive testing of the appearance, bulk weight, internal quality and safety indicators of grain is achieved.

Benefits of technology

It improves the efficiency of food testing and the accuracy of test results, provides more comprehensive and high-quality testing indicators, and can more accurately evaluate the quality and safety of food.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119827494A_ABST
    Figure CN119827494A_ABST
Patent Text Reader

Abstract

The invention discloses a grain quality detection device and method, a control device and a storage medium, and the device comprises a grain sample separation device which is used for dividing a target grain sample into two paths and conveying the target grain sample to a first discharge port and a second discharge port; the appearance quality detection device is used for detecting an appearance detection result; a volume weight detection device for detecting a target volume weight; the internal quality detection device is used for detecting an internal quality detection result; the safety index detection device is used for detecting a safety index detection result; a recovery device; the conveying device is used for sequentially conveying the target grain sample among the first discharge port, the appearance quality detection device and the recovery device and among the second discharge port, the volume weight detection device, the internal quality detection device, the safety index detection device and the recovery device; and the control device is used for determining grade information of the target grain sample according to the appearance detection result, the target volume weight, the internal quality detection result and the safety index detection result. The detection efficiency and the accuracy of the detection result can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field related to grain quality detection, and in particular to a grain quality detection device, method, control device and storage medium. Background Art

[0002] At present, most of the grain purchases in my country come from small and scattered farmers, and bulk grains of varying quality are mixed in storage. Bulk grains have both general index requirements (i.e. internal quality) and specific processing quality requirements (i.e. appearance quality). The traditional detection method is manual detection, and the detection results are highly subjective, inaccurate, and time-consuming, which cannot meet the needs of grain purchases under the new situation. In addition, at the grain storage site, there are problems such as lagging grain quality and safety information and insufficient process control capabilities. At the same time, due to the lack of effective supervision and information early warning, in the case of "quantity" loss of grain, it will also lead to "quality" reduction problems such as reduced grain freshness and loss of grain-specific aroma. The existing machine detection method has low detection efficiency, which will also lead to "quality" reduction problems such as reduced grain freshness and loss of grain-specific aroma. In addition, the current machine detection method has a single detection index, resulting in low accuracy of the detection results. Summary of the invention

[0003] The present invention aims to solve at least one of the technical problems existing in the prior art. To this end, the present invention provides a grain quality detection device, which can realize rapid and non-destructive detection of grain quality, improve grain detection efficiency and the accuracy of grain quality detection results.

[0004] The present invention also provides a grain quality detection method, a control device for executing the grain quality detection method, and a computer-readable storage medium.

[0005] A grain quality detection device according to a first aspect of the present invention includes: A grain sample sorting device, comprising a feed inlet, a first discharge outlet and a second discharge outlet, wherein the grain sample sorting device is used to separate the target grain sample input through the feed inlet into two paths and transmit them to the first discharge outlet and the second discharge outlet respectively; An appearance quality detection device, used to detect the appearance detection result of the target grain sample; A bulk density detection device, used for detecting a target bulk density of the target grain sample; An internal quality detection device, used to detect the internal quality detection result of the target grain sample; A safety index detection device, used to detect the safety index detection results of harmful chemical substances in the target food sample; A recovery device, used for recovering the target grain sample after the grain quality test; A conveying device, used to sequentially convey the target grain sample between the first discharge port, the appearance quality detection device and the recovery device, and used to sequentially convey the target grain sample between the second discharge port, the bulk density detection device, the internal quality detection device, the safety index detection device and the recovery device; The control device is electrically connected to the grain sample sorting device, the appearance quality detection device, the bulk density detection device, the internal quality detection device, the safety index detection device and the conveying device, respectively. The control device is used to control the conveying status of the grain sample sorting device and the conveying device, and to determine the grade information of the target grain sample according to the appearance detection result, the target bulk density, the internal quality detection result and the safety index detection result.

[0006] The grain quality detection device according to the embodiment of the present invention has at least the following beneficial effects: On the one hand, the embodiment of the present invention can perform nondestructive testing on the appearance, bulk density, internal quality and safety indicators of harmful chemical substances of the target grain sample through the appearance quality testing device, bulk density testing device, internal quality testing device and safety index testing device. Compared with the testing indicators in the existing testing methods, the testing indicators are more comprehensive, the test results are more accurate and the gold content is higher. On the other hand, the embodiment of the present invention can detect the target grain sample in two ways through the grain sample sorting device and the conveying device. The appearance quality testing device that takes a relatively long time is tested separately, and the bulk density testing device, internal quality testing device and safety index testing device that take a relatively short time are tested separately. The two ways are tested simultaneously, which can improve the detection efficiency.

[0007] The grain quality detection method according to the second aspect of the present invention is applied to the grain quality detection device described in the first aspect of the present invention, and the method includes: Obtaining the appearance inspection result, the target bulk density, the internal quality inspection result and the safety index inspection result; The grade information of the target grain sample is determined according to the appearance inspection result, the target bulk density, the internal quality inspection result and the safety index inspection result.

[0008] The grain quality detection method according to the embodiment of the present invention has at least the following beneficial effects: The grain quality detection device applied to the first embodiment, on the one hand, can perform non-destructive detection on the appearance, bulk density, internal quality and safety indicators of harmful chemical substances of the target grain sample respectively through the appearance quality detection device, bulk density detection device, internal quality detection device and safety index detection device. Compared with the detection indicators in the existing detection methods, the detection indicators are more comprehensive, the detection results are more accurate and the gold content is higher. On the other hand, the target grain sample is detected in two ways through the grain sample sorting device and the conveying device. The appearance quality detection device that takes a relatively long time is detected separately, and the bulk density detection device, the internal quality detection device and the safety index detection device that take a relatively short time are detected separately. The two paths are detected simultaneously, which can improve the detection efficiency.

[0009] According to some embodiments of the present invention, the appearance detection result is obtained by the following steps: Acquiring image data of the target grain sample; extracting a plurality of target grain regions from the image data, each of the target grain regions comprising a plurality of target contours; Determining the contour area, perimeter and aspect ratio of each of the target contours; Identify the type labeling result of each target contour according to the contour area, perimeter and aspect ratio of each target contour; The appearance detection result of the target grain sample is calculated according to the type marking results of each of the target contours.

[0010] According to some embodiments of the present invention, the internal quality detection result is obtained by the following steps: Acquiring infrared spectrum data of the target grain sample; Determining a characteristic spectrum corresponding to each internal quality parameter in the infrared spectrum data; The internal quality detection result is determined according to the characteristic spectra corresponding to each of the internal quality parameters.

[0011] According to some embodiments of the present invention, the safety indicator detection result is obtained by the following steps: Acquiring a nano-biosensor array image of the target food sample; Determining, based on the nano-biosensor array image, deterioration data of characteristic volatile compounds released after the target grain sample undergoes quality deterioration; The safety index detection result is determined based on the deterioration data of the characteristic volatile compounds released after the target grain sample undergoes quality deterioration.

[0012] According to some embodiments of the present invention, determining the grade information of the target grain sample according to the appearance detection result, the target bulk density, the internal quality detection result and the safety index detection result includes: Determining a target detection score according to the appearance detection result, the target bulk density, the internal quality detection result, the safety index detection result and a preset weight distribution parameter; The grade information of the target grain sample is determined according to the target detection score.

[0013] According to some embodiments of the present invention, the appearance inspection result includes an imperfect grain index, the internal quality inspection result includes a gluten index, a protein index and a moisture index, and the safety index inspection result includes a vomitoxin index.

[0014] According to some embodiments of the present invention, the weight allocation parameters include a first weight, a second weight, a third weight, a fourth weight, a fifth weight, and a sixth weight, and determining the target detection score according to the appearance detection result, the target bulk density, the internal quality detection result, the safety index detection result, and the preset weight allocation parameters includes: determining a first score according to the imperfect grain index and the first weight; determining a second score according to the target volume density and the second weight; determining a third score according to the gluten index and the third weight; determining a fourth score according to the protein index and the fourth weight; determining a fifth score according to the moisture index and the fifth weight; determining a sixth score based on the DON index and the sixth weight; The object detection score is determined based on the first score, the second score, the third score, the fourth score, the fifth score, and the sixth score.

[0015] The control device according to the third aspect of the present invention comprises a memory, a processor and a computer program stored in the memory and executable on the processor, and the processor implements the grain quality detection method as described in the second aspect of the present invention when executing the computer program. Since the control device adopts all the technical solutions of the grain quality detection method of the above embodiment, it has at least all the beneficial effects brought by the technical solutions of the above embodiment.

[0016] According to the computer-readable storage medium of the fourth aspect embodiment of the present invention, computer-executable instructions are stored, and the computer-executable instructions are used to execute the grain quality detection method as described in the second aspect embodiment. Since the computer-readable storage medium adopts all the technical solutions of the grain quality detection method of the above embodiment, it has at least all the beneficial effects brought by the technical solutions of the above embodiment.

[0017] Other features and advantages of the present invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] The above and / or additional aspects and advantages of the present invention will become apparent and easily understood from the description of the embodiments in conjunction with the following drawings, in which: Figure 1 is a flow chart of a grain quality detection method according to an embodiment of the present invention; Figure 2 It is a schematic diagram of the appearance detection result in the grain quality detection method according to an embodiment of the present invention. DETAILED DESCRIPTION

[0019] Embodiments of the present invention are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention, and cannot be understood as limiting the present invention.

[0020] In the description of the present invention, if there is a description of first, second, etc., it is only for the purpose of distinguishing technical features, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features or implicitly indicating the order of the indicated technical features.

[0021] In the description of the present invention, it should be understood that descriptions involving orientation, such as orientation or positional relationship indicated as up, down, etc., are based on the orientation or positional relationship shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as a limitation on the present invention.

[0022] In the description of the present invention, it should be noted that, unless otherwise clearly defined, terms such as setting, installing, connecting, etc. should be understood in a broad sense, and technicians in the relevant technical field can reasonably determine the specific meanings of the above terms in the present invention in combination with the specific content of the technical solution.

[0023] The grain quality detection device according to the embodiment of the present invention will be described clearly and completely below. Obviously, the embodiment described below is only a part of the embodiments of the present invention, not all of the embodiments.

[0024] According to the first aspect of the present invention, the grain quality detection device includes a grain sample sorting device, an appearance quality detection device, a bulk density detection device, an internal quality detection device, a safety index detection device, a recovery device, a conveying device and a control device.

[0025] The grain sample sorting device has a feed inlet, a first discharge port, and a second discharge port. The grain sample sorting device is used to separate the target grain sample input through the feed inlet into two paths and transmit them to the first discharge port and the second discharge port respectively. Appearance quality detection device, used to detect the appearance detection results of target grain samples; A bulk density detection device, used to detect a target bulk density of a target grain sample; An internal quality detection device, used to detect the internal quality detection result of the target grain sample; A safety index detection device, used to detect safety index detection results of harmful chemical substances in target food samples; A recovery device, used for recovering target grain samples after grain quality testing; A conveying device, used to sequentially convey the target grain sample between the first discharge port, the appearance quality detection device and the recovery device, and to sequentially convey the target grain sample between the second discharge port, the bulk density detection device, the internal quality detection device, the safety index detection device and the recovery device; The control device is electrically connected to the grain sample sorting device, the appearance quality detection device, the bulk density detection device, the internal quality detection device, the safety index detection device and the conveying device, respectively. The control device is used to control the transmission status of the grain sample sorting device and the conveying device, and to determine the grade information of the target grain sample according to the appearance detection result, the target bulk density, the internal quality detection result and the safety index detection result.

[0026] The grain sample sorting device can be a two-way conveyor belt device, which is controlled by a motor to transmit the target grain sample. The conveying device can also be a conveyor belt device, which is controlled by a stepper motor to move the target grain sample. When the conveying device transmits the target grain sample to the appearance quality detection device, the bulk density detection device, the internal quality detection device and the safety index detection device, it is necessary to wait until the corresponding device detection is completed before transmitting to the next node.

[0027] It should be noted that the specific structures of the grain sample sorting device and the conveying device can be selected according to actual conditions, as long as the corresponding functions can be achieved, and no specific limitation is made here.

[0028] The appearance quality detection device is based on image sensing technology for detection. It collects image data of target grain samples and performs image preprocessing (i.e. Gaussian blur and color space conversion) on the image data to reduce noise and improve analysis accuracy. Then, multiple target grain areas (i.e., regions of interest) are extracted from the image data. Each target grain area includes multiple target contours, which are morphologically processed to produce better separation and segmentation effects on the objects. The contour area, perimeter, and aspect ratio of each target contour are determined. The type labeling results of each target contour are identified based on the contour area, perimeter, and aspect ratio of each target contour. Different types such as grain, insects, and impurities are accurately identified. Finally, the appearance detection results of the target grain sample are calculated based on the type labeling results of each target contour. The appearance detection results include but are not limited to the imperfect grain index, impurity rate, and quality rate. Figure 2 As shown, Figure 2 It is a schematic diagram of the appearance inspection result in the grain quality inspection method according to an embodiment of the present invention, and the type marking result is directly marked in the image data.

[0029] It should be noted that the specific structure of the appearance quality inspection device can be selected according to actual needs and is not specifically limited here.

[0030] The bulk density detection device is based on piezoelectric sensing technology for measurement. The bulk density of grain is an important indicator for measuring grain quality and storage stability, and can reflect the density, dryness and overall quality of grain. It should be noted that the specific structure of the bulk density detection device can be selected according to actual needs and is not specifically limited here.

[0031] The internal quality detection device is based on spectral sensing technology for detection. By obtaining the infrared spectrum data of the target grain sample, the characteristic spectrum corresponding to each internal quality parameter in the infrared spectrum data is determined, and the internal quality detection result is determined according to the characteristic spectrum corresponding to each internal quality parameter. Among them, the characteristic spectrum corresponding to each internal quality parameter is obtained through the following steps: collecting multiple batches of multi-type grain spectrum data, studying the light transmission law of different detection indicators (i.e., internal quality parameters), and then performing signal preprocessing, feature area screening, and variable intelligent search, and comparing with the national standard method for measuring moisture, starch, and protein (i.e., internal quality parameters) content, and determining the characteristic spectrum related to the content of moisture, starch, and protein.

[0032] It should be noted that the specific structure of the internal quality inspection device can be selected according to actual needs and is not specifically limited here.

[0033] The safety index detection device is based on nanobiosensor technology. By designing a nanobiosensor array, it captures the characteristic volatile compounds released when grain quality deteriorates, thereby achieving rapid detection of safety indicators such as aflatoxin, vomitoxin, pesticide residues and heavy metals.

[0034] It should be noted that the specific structure of the safety indicator detection device can be selected according to actual needs and is not specifically limited here.

[0035] In some embodiments, the relevant software system design of the control device is a NIRQuest512 application software system compiled in C# language on the Visual Studio 2017 development platform, which realizes the communication between the host computer and the stepper motor and the spectrometer, data transmission, serial port and instrument parameter setting, spectrum acquisition, data storage and other functions; and uses chemometric methods to pre-process the spectrum data, and calls the relevant built-in model to detect the appearance detection results, target bulk density, internal quality detection results and safety index detection results of the target grain samples at the grain storage site. Among them, the relevant built-in models include pre-trained appearance detection models, internal quality detection models and safety index detection models.

[0036] In some embodiments, the embodiments of the present invention also have a rapid grain quality detection information sharing system and a data exchange interface. The present invention decouples the device-collected sensor data from the model analysis, constructs a cloud computing model resource library for images and spectral data, deploys the user management webpage and the computing model resource library on the server, realizes the construction of the cloud computing model resource library and the remote call of the verification data, alleviates the high coupling between the device and the computer, significantly improves the data processing efficiency and simplifies the operation steps, realizes the implantation of multiple chemometric algorithms in the server, and significantly improves the applicability of the detection system. The server can store experimental data, prediction models and test results, and can realize the sharing of server data.

[0037] In some embodiments, the grain quality detection device of the embodiment of the present invention is a mobile device, which can realize rapid classification and grading of raw grain at the purchase site, screen high-quality grain, and significantly improve the flexibility of temporary measures for abnormal situations.

[0038] The control device has a data communication module, which is connected to the host computer through a serial port to USB interface to complete the control of the stepper motor and the equipment and realize the communication function.

[0039] In some embodiments, the embodiments of the present invention can also use a smart handheld terminal as a control terminal to control related devices, and the functions mainly include: (1) Control the parameter settings of each detection device in the grain quality detection device. The specific parameter settings are shown in Table 1: Table 1 Related parameter settings

[0040] (2) Data transfer: collect and upload image data, infrared spectroscopy data, and nano-biosensor array images; (3) Result display: Displays appearance test results, target bulk density, internal quality test results and safety index test results, as well as grade information of target grain samples.

[0041] In a specific embodiment, ten kinds of wheat are selected, namely durum wheat (C24379), Canadian wheat (C24455), SDB Jinan 17A (24209), American white soft wheat (24370), JSH Zhenmai 168 (24270), American red soft wheat (SRW24408), Hebei white wheat (24393), AHB middle wheat (24208), Australian white wheat (24429) and SDB Jinan 17A (24331). By testing mixed samples of multiple varieties of wheat, the actual testing process of the grain quality testing device of the embodiment of the present invention on grains of different qualities is simulated.

[0042] The grain sample sorting device transports the sample wheat to the first discharge port and the second discharge port in two ways. The first detection process is: the conveying device transports the sample wheat from the second discharge port to the bulk density detection device for detection. After the control device receives the target bulk density uploaded by the bulk density detection device, the conveying device then transports the sample wheat from the bulk density detection device to the internal quality detection device for detection. After the control device receives the internal quality detection result uploaded by the internal quality detection device, the conveying device then transports the sample wheat from the internal quality detection device to the safety index detection device for detection. After the control device receives the safety index detection result uploaded by the safety index detection device, the conveying device then transports the sample wheat from the safety index detection device to the recovery device for recovery. The second detection process is: the conveying device transports the sample wheat from the first discharge port to the appearance quality detection device for detection. The sample wheat is transported in batches and needs to be measured in multiple batches to avoid the accumulation of sample wheat, which leads to the inability to perform accurate appearance detection. After the control device receives the appearance detection results of multiple batches uploaded by the appearance quality detection device, the conveying device then transports the sample wheat from the appearance quality detection device to the recovery device for recovery.

[0043] After receiving the appearance inspection results, target bulk density, internal quality inspection results and safety index inspection results, the control device determines the target inspection score according to the preset weight distribution parameters, and then determines the grade information of the target grain sample according to the target inspection score. Specifically, the weight distribution parameters can be: imperfect grain index (3%), target bulk density (7%), gluten index (20%), protein index (20%), moisture index (10%), safety index (40%), so as to determine the score of each inspection index, thereby determining the target inspection score of the target grain sample and finally determining the grade information.

[0044] In some embodiments of the present invention, the grading standards are: Level 1 90-100 points; Level 2 80-89 points; Level 3 70-79 points; Level 4 65-69 points; Level 5 60-64 points; and Level 5 <60 points. See Table 2 for specific grading standards: Table 2 Grain quality classification standards

[0045] In some embodiments, the relevant detection data results of five of the ten wheats are shown in Table 3: Table 3 Test results of five wheat quality and safety indicators

[0046] In some embodiments, the actual value and predicted value data of the internal quality of the sample wheat (i.e., the internal quality detection results detected by the internal quality detection device of the embodiment of the present invention) are shown in Table 4: Table 4 Comparison of actual and predicted values ​​of internal quality of sample wheat

[0047] It can be seen from Table 4 that the detection result of the internal quality detection device of the embodiment of the present invention has a high accuracy.

[0048] In some embodiments, the actual value and predicted value data of the appearance detection of the sample white wheat (i.e., the appearance detection results detected by the appearance quality detection device of the embodiment of the present invention) are shown in Table 5: Table 5 White wheat appearance quality data

[0049] It can be seen from Table 5 that in the embodiment of the present invention, the detection accuracy of white wheat is as high as 97.5%, and the recall rate is 84.2%. The detection result of the appearance quality detection device of the embodiment of the present invention has high accuracy.

[0050] It should be noted that the appearance, internal quality and specific indicators of safety indicators of harmful chemical substances of the target grain samples mentioned above are only examples and cannot be regarded as limitations of the present invention.

[0051] According to the grain quality detection device of the embodiment of the present invention, on the one hand, the embodiment of the present invention can respectively perform non-destructive detection on the appearance, bulk density, internal quality and safety indicators of harmful chemical substances of the target grain sample through the appearance quality detection device, bulk density detection device, internal quality detection device and safety index detection device. Compared with the detection indicators in the existing detection methods, the detection indicators are more comprehensive, the detection results are more accurate and the gold content is higher. On the other hand, the embodiment of the present invention uses the grain sample sorting device and the conveying device to allow the target grain sample to be detected in two ways. The appearance quality detection device that takes a relatively long time is detected separately, and the bulk density detection device, internal quality detection device and safety index detection device that take a relatively short time are detected separately. The two paths are detected simultaneously, which can improve the detection efficiency.

[0052] The following will be combined Figure 1 and Figure 2 A clear and complete description is given of the grain quality detection method according to the embodiment of the present invention. Obviously, the embodiment described below is only a part of the embodiments of the present invention, but not all of the embodiments.

[0053] refer to Figure 1 and Figure 2 , Figure 1 is a flow chart of a method for detecting grain quality according to an embodiment of the present invention. Figure 2 It is a schematic diagram of the appearance detection result in the grain quality detection method according to an embodiment of the present invention.

[0054] The grain quality detection method according to the second aspect of the present invention is applied to the grain quality detection device of the first aspect of the present invention, and the method includes: Obtain appearance inspection results, target bulk density, internal quality inspection results and safety index inspection results; The grade information of the target grain sample is determined based on the appearance inspection results, target bulk density, internal quality inspection results and safety index inspection results.

[0055] The grain quality detection method of the embodiment of the present invention integrates the appearance detection results, target bulk density, internal quality detection results and safety index detection results to determine the grade information of the target grain sample. Compared with the detection indicators in the existing detection methods, the detection indicators are more comprehensive, the detection results are more accurate and the gold content is higher.

[0056] In some embodiments of the present invention, the appearance detection result is obtained by the following steps: Acquire image data of target grain samples; extracting a plurality of target grain regions from the image data, each target grain region including a plurality of target contours; Determine the contour area, perimeter, and aspect ratio of each target contour; Identify the type labeling results of each target contour according to the contour area, perimeter and aspect ratio of each target contour; The appearance detection results of the target grain sample are calculated based on the type labeling results of each target contour.

[0057] The appearance quality detection device is based on image sensing technology for detection. It collects image data of target grain samples and performs image preprocessing (i.e. Gaussian blur and color space conversion) on the image data to reduce noise and improve analysis accuracy. Then, multiple target grain areas (i.e., regions of interest) are extracted from the image data. Each target grain area includes multiple target contours, which are morphologically processed to produce better separation and segmentation effects on the objects. The contour area, perimeter, and aspect ratio of each target contour are determined. The type labeling results of each target contour are identified based on the contour area, perimeter, and aspect ratio of each target contour. Different types such as grain, insects, and impurities are accurately identified. Finally, the appearance detection results of the target grain sample are calculated based on the type labeling results of each target contour. The appearance detection results include but are not limited to the imperfect grain index, impurity rate, and quality rate. Figure 2 As shown, Figure 2 This is a schematic diagram of the appearance inspection result in the grain quality inspection method of an embodiment of the present invention, and the type marking result is directly marked in the image data. The type marking result of each target contour is identified by the contour area, perimeter and aspect ratio of each target contour, with high recognition efficiency and convenient calculation of the imperfect grain index, impurity rate and high quality rate.

[0058] In some embodiments of the present invention, the internal quality test results are obtained by the following steps: Obtain infrared spectrum data of target grain samples; Determine the characteristic spectrum corresponding to each internal quality parameter in the infrared spectrum data; The internal quality test result is determined according to the characteristic spectrum corresponding to each internal quality parameter.

[0059] The internal quality detection device is based on spectral sensing technology for detection. By obtaining the infrared spectrum data of the target grain sample, the characteristic spectrum corresponding to each internal quality parameter in the infrared spectrum data is determined, and the internal quality detection result is determined according to the characteristic spectrum corresponding to each internal quality parameter. Among them, the characteristic spectrum corresponding to each internal quality parameter is obtained through the following steps: collecting multiple batches of multi-type grain spectrum data, studying the light transmission law of different detection indicators (i.e., internal quality parameters), and then performing signal preprocessing, feature area screening, and variable intelligent search, and comparing with the national standard method for measuring moisture, starch, and protein (i.e., internal quality parameters) content, and determining the characteristic spectrum related to the content of moisture, starch, and protein.

[0060] Spectral sensing technology can complete the detection of grain in a short time. Compared with traditional chemical analysis methods, it does not require complicated pre-treatment processes. It only needs to put the grain sample directly into the instrument for scanning, which greatly improves the detection efficiency. Spectral sensing technology adopts non-destructive detection methods, which will not cause any damage to the grain sample, maintain the integrity and original state of the sample, and avoid errors and contamination problems introduced by improper sample handling. Spectral sensing technology uses the difference in the absorption characteristics of near-infrared light of different components in grain for detection, with high accuracy. By establishing an accurate correction model, it can accurately predict the content of key components in grain, such as protein, gluten, moisture, etc. Spectral sensing technology can simultaneously detect multiple components in grain, such as protein, gluten, moisture, starch, etc., which can reflect the quality of grain and is suitable for various types of grain detection. Spectral sensing technology does not produce harmful substances and waste during use, has low energy consumption, and meets environmental protection requirements.

[0061] In some embodiments of the present invention, the safety indicator detection result is obtained by the following steps: Acquire nanobiosensor array images of target grain samples; Determine the deterioration data of characteristic volatile compounds released after the target grain sample undergoes quality deterioration based on the nano-biosensor array image; The safety index test results are determined based on the deterioration data of characteristic volatile compounds released after the target grain sample undergoes quality deterioration.

[0062] The safety index detection device is based on nanobiosensor technology. By designing a nanobiosensor array, it captures the characteristic volatile compounds released when grain quality deteriorates, thereby achieving rapid detection of safety indicators such as aflatoxin, vomitoxin, pesticide residues and heavy metals.

[0063] Nanobiosensors have a large specific surface area, which can increase the contact area with the target substance and enhance the specific interaction with the target substance, thereby improving the sensitivity and selectivity of the detection, which enables the sensor to accurately detect trace amounts of harmful substances or microbial contamination. Nanobiosensors have the characteristics of rapid detection. Through simple operation and effective signal conversion, accurate detection results can be obtained in a short time, which is very important for timely discovery and treatment of food safety hazards. Nanobiosensors can monitor harmful substances and microbial contamination in food in real time to ensure the safety of food during production, processing and storage. Nanobiosensors are easy to operate and have a fast detection speed. They can complete the detection of a large number of samples in a short time, thereby reducing the unit detection cost. Nanobiosensors can detect different food safety indicators, such as heavy metals, pesticide residues, microbial contamination, etc., and have a wide range of applications.

[0064] In some embodiments of the present invention, the appearance inspection results include an imperfect kernel index, the internal quality inspection results include a gluten index, a protein index, and a moisture index, and the safety index inspection results include a vomitoxin index. It should be noted that the appearance inspection results, internal quality inspection results, and safety index inspection results mentioned above are only examples, and may include more indicators, and cannot be regarded as limitations of the present invention.

[0065] In some embodiments of the present invention, the grade information of the target grain sample is determined according to the appearance test result, the target bulk density, the internal quality test result and the safety index test result, including: Determine the target inspection score based on the appearance inspection results, target bulk density, internal quality inspection results, safety index inspection results and preset weight allocation parameters; The grade information of the target grain sample is determined based on the target detection score.

[0066] In some embodiments of the present invention, the weight allocation parameters include a first weight, a second weight, a third weight, a fourth weight, a fifth weight, and a sixth weight, and the target detection score is determined according to the appearance detection result, the target bulk density, the internal quality detection result, the safety index detection result, and the preset weight allocation parameters, including: determining a first score according to the imperfect grain index and the first weight; determining a second score based on the target volume density and the second weight; determining a tertiary score based on the gluten index and the tertiary weight; determining a fourth score based on the protein index and the fourth weight; determining a fifth score based on the moisture index and the fifth weight; The sixth score is determined based on the DON index and the sixth weight; An object detection score is determined based on the first score, the second score, the third score, the fourth score, the fifth score, and the sixth score.

[0067] The weight distribution parameters can be: imperfect grain index (3%), target bulk density (7%), gluten index (20%), protein index (20%), moisture index (10%), safety index (40%), so as to determine the score of each detection index, thereby determining the target detection score of the target grain sample and finally determining the grade information.

[0068] In some embodiments of the present invention, the grading standards are: Level 1: 90-100 points; Level 2: 80-89 points; Level 3: 70-79 points; Level 4: 65-69 points; Level 5: 60-64 points; and Level 5: <60 points. See Table 2 for specific grading standards.

[0069] The grain quality detection method according to the embodiment of the present invention is applied to the grain quality detection device of the first embodiment. On the one hand, the appearance, bulk density, internal quality and safety indicators of harmful chemical substances of the target grain sample can be non-destructively detected through the appearance quality detection device, bulk density detection device, internal quality detection device and safety index detection device. Compared with the detection indicators in the existing detection methods, the detection indicators are more comprehensive, the detection results are more accurate and the gold content is higher. On the other hand, the target grain sample is detected in two ways through the grain sample sorting device and the conveying device. The appearance quality detection device that takes a relatively long time is detected separately, and the bulk density detection device, the internal quality detection device and the safety index detection device that take a relatively short time are detected separately. The two paths are detected simultaneously, which can improve the detection efficiency.

[0070] In addition, an embodiment of the present invention further provides a control device, which includes: a memory, a processor, and a computer program stored in the memory and executable on the processor. The processor and the memory may be connected via a bus or other means.

[0071] The memory, as a non-transient computer-readable storage medium, can be used to store non-transient software programs and non-transient computer executable programs. In addition, the memory may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some embodiments, the memory may optionally include a memory remotely disposed relative to the processor, and these remote memories may be connected to the processor via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0072] The non-transient software program and instructions required to implement the grain quality detection method of the above embodiment are stored in the memory, and when executed by the processor, the grain quality detection method of the above embodiment is executed.

[0073] The device embodiments described above are merely illustrative, and the units described as separate components may or may not be physically separated, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0074] In addition, an embodiment of the present invention also provides a computer-readable storage medium, which stores computer-executable instructions, and the computer-executable instructions are executed by a processor or controller, for example, by the processor of the above embodiment, so that the above processor can execute the grain quality detection method in the above embodiment.

[0075] It will be appreciated by those skilled in the art that all or some of the steps and systems in the methods disclosed above may be implemented as software, firmware, hardware, and appropriate combinations thereof. Some or all physical components may be implemented as software executed by a processor, such as a central processing unit, a digital signal processor, or a microprocessor, or as hardware, or as an integrated circuit, such as an application-specific integrated circuit. Such software may be distributed on a computer-readable medium, which may include a computer storage medium (or non-transitory medium) and a communication medium (or transient medium). As known to those skilled in the art, the term computer storage medium includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data). Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disk (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, disk storage or other magnetic storage devices, or any other medium that can be used to store desired information and can be accessed by a computer. Furthermore, it is well known to those skilled in the art that communication media typically embodies computer readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.

[0076] The embodiments of the present invention are described in detail above in conjunction with the accompanying drawings, but the present invention is not limited to the above embodiments, and various changes can be made within the knowledge scope of ordinary technicians in the relevant technical field without departing from the purpose of the present invention.

Claims

1. A grain quality detection device, characterized in that: include: A grain sample sorting device, comprising a feed inlet, a first discharge outlet and a second discharge outlet, wherein the grain sample sorting device is used to separate the target grain sample input through the feed inlet into two paths and transmit them to the first discharge outlet and the second discharge outlet respectively; An appearance quality detection device, used to detect the appearance detection result of the target grain sample; A bulk density detection device, used for detecting a target bulk density of the target grain sample; An internal quality detection device, used to detect the internal quality detection result of the target grain sample; A safety index detection device, used to detect the safety index detection results of harmful chemical substances in the target food sample; A recovery device, used for recovering the target grain sample after the grain quality test; A conveying device, used to sequentially convey the target grain sample between the first discharge port, the appearance quality detection device and the recovery device, and used to sequentially convey the target grain sample between the second discharge port, the bulk density detection device, the internal quality detection device, the safety index detection device and the recovery device; The control device is electrically connected to the grain sample sorting device, the appearance quality detection device, the bulk density detection device, the internal quality detection device, the safety index detection device and the conveying device, respectively. The control device is used to control the conveying status of the grain sample sorting device and the conveying device, and to determine the grade information of the target grain sample according to the appearance detection result, the target bulk density, the internal quality detection result and the safety index detection result.

2. A method for detecting grain quality, characterized in that: Applied to the grain quality detection device according to claim 1, the method comprises: Obtaining the appearance inspection result, the target bulk density, the internal quality inspection result and the safety index inspection result; The grade information of the target grain sample is determined according to the appearance inspection result, the target bulk density, the internal quality inspection result and the safety index inspection result.

3. The method for detecting grain quality according to claim 2, characterized in that: The appearance inspection result is obtained by the following steps: Acquiring image data of the target grain sample; extracting a plurality of target grain regions from the image data, each of the target grain regions comprising a plurality of target contours; Determining the contour area, perimeter and aspect ratio of each of the target contours; Identify the type labeling result of each target contour according to the contour area, perimeter and aspect ratio of each target contour; The appearance detection result of the target grain sample is calculated according to the type marking results of each of the target contours.

4. The method for detecting grain quality according to claim 2, characterized in that: The internal quality test results are obtained by the following steps: Acquiring infrared spectrum data of the target grain sample; Determining a characteristic spectrum corresponding to each internal quality parameter in the infrared spectrum data; The internal quality detection result is determined according to the characteristic spectra corresponding to each of the internal quality parameters.

5. The method for detecting grain quality according to claim 2, characterized in that: The safety index detection result is obtained by the following steps: Acquiring a nano-biosensor array image of the target food sample; Determining, based on the nano-biosensor array image, deterioration data of characteristic volatile compounds released after the target grain sample undergoes quality deterioration; The safety index detection result is determined based on the deterioration data of the characteristic volatile compounds released after the target food sample undergoes quality deterioration.

6. The method for detecting grain quality according to claim 2, characterized in that: The step of determining the grade information of the target grain sample according to the appearance test result, the target bulk density, the internal quality test result and the safety index test result includes: Determining a target detection score according to the appearance detection result, the target bulk density, the internal quality detection result, the safety index detection result and a preset weight distribution parameter; The grade information of the target grain sample is determined according to the target detection score.

7. The grain quality detection method according to claim 6, characterized in that: The appearance inspection result includes an imperfect kernel index, the internal quality inspection result includes a gluten index, a protein index and a moisture index, and the safety index inspection result includes a vomitoxin index.

8. The method for detecting grain quality according to claim 7, characterized in that: The weight distribution parameters include a first weight, a second weight, a third weight, a fourth weight, a fifth weight and a sixth weight, and the target detection score is determined according to the appearance detection result, the target bulk density, the internal quality detection result, the safety index detection result and the preset weight distribution parameters, including: determining a first score according to the imperfect grain index and the first weight; determining a second score according to the target volume density and the second weight; determining a third score according to the gluten index and the third weight; determining a fourth score according to the protein index and the fourth weight; determining a fifth score according to the moisture index and the fifth weight; determining a sixth score based on the DON index and the sixth weight; The object detection score is determined based on the first score, the second score, the third score, the fourth score, the fifth score, and the sixth score.

9. A control device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the grain quality detection method as described in any one of claims 2 to 8 is implemented.

10. A computer-readable storage medium storing computer-executable instructions, characterized in that: The computer executable instructions are used to execute the grain quality detection method as described in any one of claims 2 to 8.

Citation Information

Cited By

  • Grain detection device and detection method

    CN121995016A

  • A cereal detection device and method

    CN121995016B

  • Grain condition detection method and system for grain quality safety

    CN122367342A

  • A grain quality safety grain condition detection method and system

    CN122367342B