CN115165772B - Device and method for detecting impurity content of grains based on hyperspectrum - Google Patents
Device and method for detecting impurity content of grains based on hyperspectrum Download PDFInfo
- Publication number
- CN115165772B CN115165772B CN202210876239.XA CN202210876239A CN115165772B CN 115165772 B CN115165772 B CN 115165772B CN 202210876239 A CN202210876239 A CN 202210876239A CN 115165772 B CN115165772 B CN 115165772B
- Authority
- CN
- China
- Prior art keywords
- light source
- processing system
- seeds
- reflected light
- conveying device
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 239000012535 impurity Substances 0.000 title claims abstract description 62
- 238000000034 method Methods 0.000 title claims abstract description 14
- 238000001514 detection method Methods 0.000 claims abstract description 49
- 238000012545 processing Methods 0.000 claims abstract description 39
- 238000002310 reflectometry Methods 0.000 claims abstract description 34
- 238000005070 sampling Methods 0.000 claims abstract description 33
- 238000012544 monitoring process Methods 0.000 claims abstract description 22
- 238000005192 partition Methods 0.000 claims description 14
- 238000013528 artificial neural network Methods 0.000 claims description 7
- 230000003595 spectral effect Effects 0.000 claims description 4
- 239000011248 coating agent Substances 0.000 claims description 3
- 238000000576 coating method Methods 0.000 claims description 3
- 239000000463 material Substances 0.000 claims description 3
- PMGQWSIVQFOFOQ-YKVZVUFRSA-N clemastine fumarate Chemical class OC(=O)\C=C\C(O)=O.CN1CCC[C@@H]1CCO[C@@](C)(C=1C=CC(Cl)=CC=1)C1=CC=CC=C1 PMGQWSIVQFOFOQ-YKVZVUFRSA-N 0.000 claims 1
- 230000031700 light absorption Effects 0.000 claims 1
- 238000000926 separation method Methods 0.000 claims 1
- 238000003306 harvesting Methods 0.000 abstract description 6
- 238000010521 absorption reaction Methods 0.000 abstract description 4
- 238000001228 spectrum Methods 0.000 description 6
- 238000005259 measurement Methods 0.000 description 4
- 238000003756 stirring Methods 0.000 description 4
- 238000012360 testing method Methods 0.000 description 4
- 238000004891 communication Methods 0.000 description 3
- 229910052736 halogen Inorganic materials 0.000 description 3
- 101001121408 Homo sapiens L-amino-acid oxidase Proteins 0.000 description 2
- 102100026388 L-amino-acid oxidase Human genes 0.000 description 2
- 101100233916 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) KAR5 gene Proteins 0.000 description 2
- 238000004140 cleaning Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 238000000605 extraction Methods 0.000 description 2
- 150000002367 halogens Chemical class 0.000 description 2
- 239000007769 metal material Substances 0.000 description 2
- 241001124569 Lycaenidae Species 0.000 description 1
- 101100012902 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) FIG2 gene Proteins 0.000 description 1
- 238000009825 accumulation Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000003860 storage Methods 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01N—INVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
- G01N21/00—Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
- G01N21/17—Systems in which incident light is modified in accordance with the properties of the material investigated
- G01N21/25—Colour; Spectral properties, i.e. comparison of effect of material on the light at two or more different wavelengths or wavelength bands
- G01N21/31—Investigating relative effect of material at wavelengths characteristic of specific elements or molecules, e.g. atomic absorption spectrometry
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01N—INVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
- G01N21/00—Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
- G01N21/17—Systems in which incident light is modified in accordance with the properties of the material investigated
- G01N21/55—Specular reflectivity
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02A—TECHNOLOGIES FOR ADAPTATION TO CLIMATE CHANGE
- Y02A40/00—Adaptation technologies in agriculture, forestry, livestock or agroalimentary production
- Y02A40/10—Adaptation technologies in agriculture, forestry, livestock or agroalimentary production in agriculture
Landscapes
- Physics & Mathematics (AREA)
- Health & Medical Sciences (AREA)
- Life Sciences & Earth Sciences (AREA)
- Chemical & Material Sciences (AREA)
- Analytical Chemistry (AREA)
- Biochemistry (AREA)
- General Health & Medical Sciences (AREA)
- General Physics & Mathematics (AREA)
- Immunology (AREA)
- Pathology (AREA)
- Spectroscopy & Molecular Physics (AREA)
- Investigating Or Analysing Materials By Optical Means (AREA)
Abstract
Description
技术领域Technical Field
本发明涉及农业机械收获领域,特别涉及一种基于高光谱下籽粒含杂率检测装置及其检测方法。The invention relates to the field of agricultural machinery harvesting, and in particular to a device and a method for detecting impurity content of grains based on a hyperspectral spectrum.
背景技术Background Art
联合收获机作物籽粒含杂量的检测有助于驾驶员实时了解作物籽粒的含杂率,有助于农民通过含杂率的大小判断收获质量,从而调整作业速度及清选装置的工作参数,含杂率过高导致粮食后续加工工作量增加,增加了粮食的加工成本。The detection of impurity content in crop grains of combine harvesters helps drivers understand the impurity content of crop grains in real time, and helps farmers judge the quality of harvest by the size of the impurity content, thereby adjusting the operating speed and working parameters of the cleaning device. Excessively high impurity content leads to an increase in the workload of subsequent grain processing and increases the processing cost of grain.
在现有作物籽粒含杂率检测装置与方法中,大多采用工业相机配合图像识别的方式检测籽粒含杂率,此方法不能将空壳排除,造成测量误差,测量时还需要对图像进行分割处理,工作量大。在装置进行取样时,多为单次取样,样品释放后再进行下一次取样检测,这样难免会造成样品释放不完全造成堆积,使检测结果误差较大。In the existing crop seed impurity detection devices and methods, most of them use industrial cameras in combination with image recognition to detect the impurity content of seeds. This method cannot exclude empty shells, resulting in measurement errors. The image needs to be segmented during measurement, which is a lot of work. When the device is sampling, it is mostly a single sampling. After the sample is released, the next sampling test is performed. This will inevitably cause incomplete sample release and accumulation, resulting in large errors in the test results.
发明内容Summary of the invention
针对现有技术中存在的不足,本发明提供了一种基于高光谱下籽粒含杂率检测装置及其检测方法,可实现对作物收获时籽粒含杂率的实时采样监测,并依据籽粒与含杂物对光源吸收率不同和反射率的不同,计算其含杂率,提高了检测精度,有助于驾驶员实时了解籽粒的含杂率,有助于机手通过含杂率的大小判断收获质量,从而调整作业速度及清选装置的工作参数,提高收获质量。In view of the deficiencies in the prior art, the present invention provides a device and method for detecting the impurity content of grains based on a hyperspectral spectrum, which can realize real-time sampling and monitoring of the impurity content of grains during crop harvesting, and calculate the impurity content according to the different absorption rates and reflectivity of the light source between the grains and the impurities, thereby improving the detection accuracy, helping the driver to understand the impurity content of the grains in real time, and helping the operator to judge the harvest quality by the size of the impurity content, thereby adjusting the operating speed and the working parameters of the cleaning device to improve the harvest quality.
本发明是通过以下技术手段实现上述技术目的的。The present invention achieves the above technical objectives through the following technical means.
一种基于高光谱下籽粒含杂率检测装置,包括高光谱相机、光源处理系统和光源;A device for detecting impurity content of grains based on hyperspectral, comprising a hyperspectral camera, a light source processing system and a light source;
所述高光谱相机和光源位于输送装置附近,所述输送装置用于输送籽粒;所述输送装置上设有检测区,所述光源用于产生入射光,所述入射光对准检测区;所述高光谱相机用于采集经过籽粒反射的反射光;所述光源处理系统根据采集的籽粒的反射光确定反射光强度,所述光源处理系统根据反射光强度和入射光强度确定反射率,所述光源处理系统根据确定的反射率和纯籽粒的反射率确定检测周期内的籽粒含杂率。The hyperspectral camera and the light source are located near a conveying device, and the conveying device is used to convey grains. A detection area is provided on the conveying device, and the light source is used to generate incident light, and the incident light is aimed at the detection area. The hyperspectral camera is used to collect reflected light reflected by the grains. The light source processing system determines the intensity of the reflected light according to the collected reflected light of the grains, and the light source processing system determines the reflectivity according to the reflected light intensity and the incident light intensity. The light source processing system determines the impurity content of the grains within the detection period according to the determined reflectivity and the reflectivity of the pure grains.
进一步,所述输送装置上至少安装一个采样器,所述采样器跟随输送装置同步输送;当采样器进入检测区时,所述光源处理系统控制高光谱相机采集采样器内籽粒反射的反射光。Furthermore, at least one sampler is installed on the conveying device, and the sampler is conveyed synchronously with the conveying device; when the sampler enters the detection area, the light source processing system controls the hyperspectral camera to collect reflected light reflected by the grains in the sampler.
进一步,所述输送装置上方设有隔板,将检测装置划分为接料区和监测区;所述输送装置输入端位于接料区,所述输送装置输出端位于监测区,所述高光谱相机、光源处理系统和光源位于监测区;所述隔板与输送装置上的输送籽粒之间设有间隙,用于使进入监测区内的籽粒按顺序分布。Furthermore, a partition is provided above the conveying device, dividing the detection device into a material receiving area and a monitoring area; the input end of the conveying device is located in the material receiving area, the output end of the conveying device is located in the monitoring area, and the hyperspectral camera, light source processing system and light source are located in the monitoring area; a gap is provided between the partition and the conveyed grains on the conveying device, so as to distribute the grains entering the monitoring area in sequence.
进一步,位于监测区的壁面上设有吸光涂层;所述隔板为非金属材料。Furthermore, a light-absorbing coating is provided on the wall surface located in the monitoring area; and the partition is made of non-metallic material.
进一步,所述光源产生的入射光强度为lf,所述光源处理系统根据采集的籽粒的反射光确定反射光强度为lz,反射率α为lz/lf。Furthermore, the incident light intensity generated by the light source is 1 f , and the light source processing system determines the reflected light intensity as l z according to the collected reflected light of the grains, and the reflectivity α is l z /1 f .
一种基于高光谱下籽粒含杂率检测装置的检测方法,包括如下步骤:A detection method based on a hyperspectral seed impurity detection device comprises the following steps:
确定纯籽粒的反射率区间(αmin,αmax);Determine the reflectance interval (α min , α max ) of pure kernels;
通过所述高光谱相机采集第i次采样的籽粒反射的反射光,并通过光源处理系统确定第i次采样的反射光强度lzi和第i次采样入射光强度lfi;The reflected light reflected by the i-th sampled grain is collected by the hyperspectral camera, and the reflected light intensity l zi of the i-th sample and the incident light intensity l fi of the i-th sample are determined by the light source processing system;
光源处理系统根据第i次采样的反射光强度lzi和第i次采样的入射光强度lfi,得出第i次采样的反射率αi;N为采样总次数,采样周期为T,i∈[1,N];The light source processing system obtains the reflectivity α i of the i-th sampling according to the reflected light intensity l zi of the i-th sampling and the incident light intensity l fi of the i-th sampling; N is the total number of samplings, and the sampling period is T, i∈[1,N];
当αi≥0.9时,则第i次采样的反射光未被籽粒或含杂物吸收,另无效采样次数d=d+1;When α i ≥ 0.9, the reflected light of the i-th sampling is not absorbed by the grains or impurities, and the invalid sampling times d = d + 1;
当αi<0.9时,若区间,则含杂物次数j=j+1,采样次数i=i+1;若αi∈(αmin,αmax)区间,则采样次数i=i+1;When α i <0.9, if If the interval is α i ∈ (α min , α max ), the number of times it contains impurities is j=j+1, and the number of samplings is i=i+1; if the interval is α i ∈ (α min , α max ), the number of samplings is i=i+1;
当i>N时,所述光源处理系统计算含杂率m=j/(N-d)×100%。When i>N, the light source processing system calculates the impurity rate m=j/(N-d)×100%.
进一步,所述确定纯籽粒的反射率区间(αmin,αmax)具体为:Furthermore, the reflectance interval (α min , α max ) of the pure grains is determined as follows:
通过所述高光谱相机采集纯籽粒的光谱波长,得到纯籽粒反射光波长范围(λmin,λmax),假设入射光的波长为λ0,纯籽粒的初始的反射率区间(α’min,α’max)可表征为 The spectral wavelength of pure grains is collected by the hyperspectral camera to obtain the wavelength range of pure grain reflected light (λ min , λ max ). Assuming that the wavelength of incident light is λ 0 , the initial reflectivity range of pure grains (α' min , α' max ) can be characterized as:
通过神经网络对初始的反射率区间进行修正:The initial reflectivity interval is corrected by the neural network:
将初始的反射率区间划分为四个区间分别为: 和 The initial reflectivity interval is divided into four intervals: and
通过神经网络预测纯籽粒光源反射率落入四个区间的分布概率分别为A、B、C和D;The neural network predicts that the distribution probability of pure grain light source reflectance falling into four intervals is A, B, C and D respectively;
用A和B修正α’min,得到修正后的αmin为:Use A and B to correct α' min , and the corrected α min is:
用C和D修正α’max,得到修正后的αmax为:Use C and D to correct α' max , and the corrected α max is:
进一步,含杂率在光源处理系统中通过RS485通信系统传输至显示器显示并保存。Furthermore, the impurity rate is transmitted to the display through the RS485 communication system in the light source processing system for display and storage.
本发明的有益效果在于:The beneficial effects of the present invention are:
1.本发明所述的基于高光谱下籽粒含杂率检测装置及其检测方法,可实现对作物收获时籽粒含杂率的实时采样监测,并依据籽粒与含杂物对光源吸收率不同和反射率的不同,计算其含杂率,提高了监测精度。1. The device and method for detecting impurity content in grains based on hyperspectral light described in the present invention can realize real-time sampling and monitoring of impurity content in grains when crops are harvested, and calculate the impurity content based on the different light source absorption and reflectivity of grains and impurities, thereby improving the monitoring accuracy.
2.本发明所述的基于高光谱下籽粒含杂率检测装置及其检测方法,通过隔板将检测装置划分为接料区和监测区,一方面可以防止接料区内的其他光源产生散射光对高光谱相机采集反射光造成影响,另一方面,将隔板底部与输送装置上的输送籽粒之间设有间隙,这样隔板可以当做刮板,将输送装置上无序或者堆积的籽粒变成一定厚度排列籽粒集,使进入监测区内的籽粒按顺序分布,可以实现检测更准确。2. The device and method for detecting impurity content of grains based on hyperspectral conditions described in the present invention divide the detection device into a receiving area and a monitoring area by a partition. On the one hand, this can prevent scattered light from other light sources in the receiving area from affecting the reflected light collected by the hyperspectral camera. On the other hand, a gap is provided between the bottom of the partition and the conveyed grains on the conveying device, so that the partition can be used as a scraper to convert disordered or accumulated grains on the conveying device into a set of grains arranged in a certain thickness, so that the grains entering the monitoring area are distributed in order, thereby achieving more accurate detection.
3.本发明所述的基于高光谱下籽粒含杂率检测装置及其检测方法,通过神经网络对初始的反射率区间进行修正,可以获得比较准确的纯籽粒的反射率区间(αmin,αmax)。3. The device and method for detecting impurity content of grains based on hyperspectral data of the present invention can obtain a relatively accurate reflectance interval (α min , α max ) of pure grains by correcting the initial reflectance interval through a neural network.
4.本发明所述的基于高光谱下籽粒含杂率检测装置及其检测方法,通过反射率来判断其籽粒中是否有含杂,本发明可适用于不同作物籽粒含杂率的检测,且不需要测量其含水率,因为不同含水率的纯籽粒会在检测前确定反射率区间,并根据反射率分布概率进行反射率区间的修正,且在测量中能够将空壳自动归为含杂物,进一步提高了检测效率与精度。4. The device and method for detecting impurities in grains based on hyperspectral light described in the present invention determine whether there are impurities in the grains by reflectivity. The present invention is applicable to the detection of impurities in grains of different crops, and does not require the measurement of moisture content, because pure grains with different moisture contents will have a determined reflectivity range before detection, and the reflectivity range will be corrected according to the reflectivity distribution probability, and empty shells can be automatically classified as impurities during measurement, further improving detection efficiency and accuracy.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单介绍,描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,显而易见地还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. The drawings in the description are some embodiments of the present invention. For ordinary technicians in this field, it is obvious that other drawings can be obtained based on these drawings without paying any creative work.
图1为本发明所述基于高光谱下籽粒含杂率检测装置示意图。FIG1 is a schematic diagram of a device for detecting impurity content in grains based on hyperspectral information according to the present invention.
图2为本发明所述基于高光谱下籽粒含杂率检测装置控制原理图。FIG. 2 is a control principle diagram of the device for detecting impurity content in grains based on hyperspectral information according to the present invention.
图3为本发明所述基于高光谱下籽粒含杂率检测装置的检测方法流程图。FIG3 is a flow chart of the detection method of the device for detecting impurity content in grains based on hyperspectral information according to the present invention.
图中:In the figure:
101-卸粮搅拢;102-带轮;103-采样器;104-输送带;105-高光谱相机;106-光源处理系统;107-卤素灯。101- unloading grain stirring; 102- pulley; 103- sampler; 104- conveyor belt; 105- hyperspectral camera; 106- light source processing system; 107- halogen lamp.
具体实施方式DETAILED DESCRIPTION
下面结合附图以及具体实施例对本发明作进一步的说明,但本发明的保护范围并不限于此。The present invention is further described below in conjunction with the accompanying drawings and specific embodiments, but the protection scope of the present invention is not limited thereto.
下面详细描述本发明的实施例,所述实施例的示例在附图中示出,其中自始至终相同或类似的标号表示相同或类似的元件或具有相同或类似功能的元件。下面通过参考附图描述的实施例是示例性的,旨在用于解释本发明,而不能理解为对本发明的限制。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 intended to be used to explain the present invention, and should not be construed as limiting the present invention.
在本发明的描述中,需要理解的是,术语“中心”、“纵向”、“横向”、“长度”、“宽度”、“厚度”、“上”、“下”、“轴向”、“径向”、“竖直”、“水平”、“内”、“外”等指示的方位或位置关系为基于附图所示的方位或位置关系,仅是为了便于描述本发明和简化描述,而不是指示或暗示所指的装置或元件必须具有特定的方位、以特定的方位构造和操作,因此不能理解为对本发明的限制。此外,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括一个或者更多个该特征。在本发明的描述中,“多个”的含义是两个或两个以上,除非另有明确具体的限定。In the description of the present invention, it should be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "upper", "lower", "axial", "radial", "vertical", "horizontal", "inner", "outer" and the like indicate positions or positional relationships based on the positions or positional relationships shown in the accompanying 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 cannot be understood as limiting the present invention. In addition, the terms "first" and "second" are only used for descriptive purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the present invention, the meaning of "multiple" is two or more, unless otherwise clearly and specifically defined.
在本发明中,除非另有明确的规定和限定,术语“安装”、“相连”、“连接”、“固定”等术语应做广义理解,例如,可以是固定连接,也可以是可拆卸连接,或一体地连接;可以是机械连接,也可以是电连接;可以是直接相连,也可以通过中间媒介间接相连,可以是两个元件内部的连通。对于本领域的普通技术人员而言,可以根据具体情况理解上述术语在本发明中的具体含义。In the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", "fixed" and the like should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be an indirect connection through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
如图1所示,本发明所述的基于高光谱下籽粒含杂率检测装置,包括高光谱相机105、光源处理系统106、卤素灯107和显示器;所述高光谱相机105和光源位于输送装置附近,所述输送装置的一端与卸粮搅拢101连通,所述输送装置包括带轮102和输送带104,输送带104将籽粒从卸粮搅拢101出口输送至接粮袋内。所述输送装置上设有检测区,所述卤素灯107用于产生入射光,所述入射光对准检测区;所述高光谱相机105用于采集经过籽粒反射的反射光;所述光源处理系统106根据采集的籽粒的反射光确定反射光强度,所述光源处理系统106根据反射光强度和入射光强度确定反射率,所述光源处理系统106根据确定的反射率和纯籽粒的反射率确定检测周期内的籽粒含杂率。所述显示器用于显示周期内的籽粒含杂率。As shown in FIG1 , the hyperspectral-based impurity detection device of the present invention comprises a hyperspectral camera 105, a light source processing system 106, a halogen lamp 107 and a display; the hyperspectral camera 105 and the light source are located near the conveying device, one end of the conveying device is connected to the unloading grain stirring 101, the conveying device comprises a pulley 102 and a conveyor belt 104, and the conveyor belt 104 conveys the grain from the outlet of the unloading grain stirring 101 to the grain receiving bag. The conveying device is provided with a detection area, the halogen lamp 107 is used to generate incident light, and the incident light is aimed at the detection area; the hyperspectral camera 105 is used to collect reflected light reflected by the grain; the light source processing system 106 determines the reflected light intensity according to the reflected light of the collected grain, the light source processing system 106 determines the reflectivity according to the reflected light intensity and the incident light intensity, and the light source processing system 106 determines the impurity content of the grain within the detection period according to the determined reflectivity and the reflectivity of the pure grain. The display is used to display the impurity content of the grain within the period.
所述输送装置上至少安装一个采样器103,所述采样器103安装在输送带104上,跟随输送装置同步输送;当采样器103进入检测区时,所述光源处理系统106控制高光谱相机105采集采样器103内籽粒反射的反射光。实施例中输送带104上安装4个采样器103,采样器103按照顺序依次移动至检测区,高光谱相机105采集经过采样器103上的籽粒反射的反射光。采样器103随着带轮102转动到下方后,采样器103中的籽粒也会自动掉入接粮袋里,避免了籽粒的浪费。输送装置上还可以安装传感器,用来识别采样器103是否进入检测区,或者直接利用图像识别技术判断采样器103是否进入检测区。At least one sampler 103 is installed on the conveying device, and the sampler 103 is installed on the conveyor belt 104 and is conveyed synchronously with the conveying device; when the sampler 103 enters the detection area, the light source processing system 106 controls the hyperspectral camera 105 to collect the reflected light reflected by the grains in the sampler 103. In the embodiment, four samplers 103 are installed on the conveyor belt 104, and the samplers 103 move to the detection area in sequence, and the hyperspectral camera 105 collects the reflected light reflected by the grains on the sampler 103. After the sampler 103 rotates to the bottom with the pulley 102, the grains in the sampler 103 will automatically fall into the grain receiving bag, avoiding the waste of grains. A sensor can also be installed on the conveying device to identify whether the sampler 103 has entered the detection area, or directly use image recognition technology to determine whether the sampler 103 has entered the detection area.
本发明所述的基于高光谱下籽粒含杂率检测装置,可以不需要在输送带104上安装采样器103,只需要设定间隔时间,对每个周期进入检测区内的输送带104上籽粒进行检测即可。The device for detecting impurity content of grains based on hyperspectral light of the present invention does not need to install the sampler 103 on the conveyor belt 104 , and only needs to set the interval time to detect the grains on the conveyor belt 104 that enter the detection area in each cycle.
所述输送装置上方设有隔板,将检测装置划分为接料区和监测区;所述输送装置输入端位于接料区,所述输送装置输出端位于监测区,所述高光谱相机105、光源处理系统106和光源位于监测区;位于监测区的壁面上设有吸光涂层;设有隔板的目的在于可以防止接料区内的其他光源产生散射光对高光谱相机105采集反射光造成影响,这样导致高光谱相机105的采集反射光强不准确。设有隔板还有一个更重要的目的是解决因为卸粮搅拢101将籽粒输送到输送带104上,籽粒可能在输送带104上或者采样器103上堆积,这样会导致杂物可能隐藏在堆积的籽粒下方,无法识别;还有堆积的籽粒到达监测区后,表面的严重高度差使得反射光不能全部进入高光谱相机105的采集区域。因此本发明所述隔板底部与输送带104上的输送籽粒之间设有间隙,间隙一般可以是2-4层籽粒的厚度,这样堆积的籽粒通过隔板后变成一定高度的籽粒层,即可以认为进入监测区内的籽粒按顺序分布。防止隔板底部对籽粒表面造成损失,导致破损率增加,所述隔板为非金属材料。A partition is provided above the conveying device, dividing the detection device into a receiving area and a monitoring area; the input end of the conveying device is located in the receiving area, the output end of the conveying device is located in the monitoring area, and the hyperspectral camera 105, the light source processing system 106 and the light source are located in the monitoring area; a light-absorbing coating is provided on the wall surface in the monitoring area; the purpose of providing the partition is to prevent the scattered light generated by other light sources in the receiving area from affecting the reflected light collected by the hyperspectral camera 105, which results in inaccurate reflected light intensity collected by the hyperspectral camera 105. Another more important purpose of providing the partition is to solve the problem that the grains may be piled up on the conveyor belt 104 or on the sampler 103 because the grain unloading and stirring 101 conveys the grains to the conveyor belt 104, which may cause the debris to be hidden under the piled grains and cannot be identified; and after the piled grains reach the monitoring area, the serious height difference on the surface makes it impossible for all the reflected light to enter the collection area of the hyperspectral camera 105. Therefore, a gap is provided between the bottom of the partition and the conveyed grains on the conveyor belt 104. The gap can generally be the thickness of 2-4 layers of grains, so that the accumulated grains become a grain layer of a certain height after passing through the partition, that is, it can be considered that the grains entering the monitoring area are distributed in order. To prevent the bottom of the partition from causing damage to the surface of the grains, resulting in an increase in the breakage rate, the partition is made of non-metallic material.
利用入射光被籽粒或者含杂物吸收后,反射回去的光强会有所不同,提取反射光谱中每个像素点的光谱信息,通过数据降维并进行特征提取对高光谱就行特征提取,基于不同作物对于光谱的吸收与反射均存在差异,得出被作物籽粒获含杂物吸收反射过后的光强度。所述光源产生的入射光强度为lf,所述光源处理系统106根据采集的籽粒的反射光确定反射光强度为lz,反射率α为lz/lf。After the incident light is absorbed by the grains or impurities, the reflected light intensity will be different, the spectral information of each pixel in the reflection spectrum is extracted, and the hyperspectral feature extraction is performed through data dimension reduction and feature extraction. Based on the differences in the absorption and reflection of the spectrum by different crops, the light intensity after being absorbed and reflected by the crop grains or impurities is obtained. The incident light intensity generated by the light source is l f , and the light source processing system 106 determines the reflected light intensity as l z according to the collected reflected light of the grains, and the reflectivity α is l z /l f .
图2所示,本发明所述的基于高光谱下籽粒含杂率检测装置,输送装置将籽粒输送至检测区,高光谱相机105采集籽粒的反射光谱信息,光源处理系统106进行反射率以及含杂率的换算,最后通过RS485通信系统将检测的含杂率等信息传送至显示器显示。As shown in FIG2 , in the device for detecting impurity content of grains based on hyperspectral conditions of the present invention, the conveying device conveys the grains to the detection area, the hyperspectral camera 105 collects the reflected spectrum information of the grains, the light source processing system 106 converts the reflectivity and impurity content, and finally transmits the detected impurity content and other information to the display through the RS485 communication system.
图3所示,本发明所述的基于高光谱下籽粒含杂率检测装置的检测方法,包括如下步骤:As shown in FIG3 , the detection method of the seed impurity rate detection device based on the hyperspectral spectrum of the present invention comprises the following steps:
确定纯籽粒的反射率区间(αmin,αmax),具体为:Determine the reflectance interval (α min , α max ) of pure grains, specifically:
通过所述高光谱相机105采集纯籽粒的光谱波长,得到纯籽粒反射光波长范围(λmin,λmax),假设入射光的波长为λ0,纯籽粒的初始的反射率区间(α’min,α’max)可表征为 The spectral wavelength of pure grains is collected by the hyperspectral camera 105 to obtain the wavelength range of pure grain reflected light (λ min , λ max ). Assuming that the wavelength of incident light is λ 0 , the initial reflectivity range of pure grains (α' min , α' max ) can be characterized as:
通过神经网络对初始的反射率区间进行修正:The initial reflectivity interval is corrected by the neural network:
将初始的反射率区间划分为四个区间分别为: 和 The initial reflectivity interval is divided into four intervals: and
通过神经网络预测纯籽粒光源反射率落入四个区间的分布概率分别为A、B、C和D;The neural network predicts that the distribution probability of pure grain light source reflectance falling into four intervals is A, B, C and D respectively;
用A和B修正α’min,得到修正后的αmin为:Use A and B to correct α' min , and the corrected α min is:
用C和D修正α’max,得到修正后的αmax为:Use C and D to correct α' max , and the corrected α max is:
通过所述高光谱相机105采集第i次采样的籽粒反射的反射光,并通过光源处理系统106确定第i次采样的反射光强度lzi和第i次采样入射光强度lfi;The reflected light reflected by the i-th sampled grain is collected by the hyperspectral camera 105, and the reflected light intensity l zi of the i-th sample and the incident light intensity l fi of the i-th sample are determined by the light source processing system 106;
光源处理系统106根据第i次采样的反射光强度lzi和第i次采样的入射光强度lfi,得出第i次采样的反射率αi;N为采样总次数,采样周期为T,i∈[1,N];The light source processing system 106 obtains the reflectivity α i of the i-th sampling according to the reflected light intensity l zi of the i-th sampling and the incident light intensity l fi of the i-th sampling; N is the total number of samplings, and the sampling period is T, i∈[1,N];
当αi≥0.9时,则第i次采样的反射光未被籽粒或含杂物吸收,另无效采样次数d=d+1;When α i ≥ 0.9, the reflected light of the i-th sampling is not absorbed by the grains or impurities, and the invalid sampling times d = d + 1;
当αi<0.9时,若区间,则含杂物次数j=j+1,采样次数i=i+1;若αi∈αmin,αmax区间,则采样次数i=i+1;When α i <0.9, if If the interval is α i ∈ α min , α max , the sampling number i = i + 1;
当i>N时,所述光源处理系统106计算含杂率m=j/(N-d)×100%。When i>N, the light source processing system 106 calculates the impurity rate m=j/(N-d)×100%.
采样检测结束后,通过判断是否进行下一次采样检测,若继续采样,则带轮继续运动,若结束,则带轮停止运动。After the sampling test is completed, it is determined whether to perform the next sampling test. If the sampling continues, the pulley continues to move. If the sampling is completed, the pulley stops moving.
本发明采用高光谱相机进行作物籽粒含杂率监测,提高了监测的精度,可实时对作物籽粒进行采样监测,通过带轮将籽粒输送至高光谱系统就行监测,随后能自动将被监测的籽粒掉入接样袋中避免损失,提高了含杂监测效率。通过将反射光源的强度转换为反射率来判断是否含杂物。The invention uses a hyperspectral camera to monitor the impurity content of crop seeds, which improves the monitoring accuracy and can sample and monitor crop seeds in real time. The seeds are transported to the hyperspectral system through a pulley for monitoring, and then the monitored seeds are automatically dropped into a sample receiving bag to avoid loss, thereby improving the monitoring efficiency of impurities. Whether there are impurities is determined by converting the intensity of the reflected light source into reflectivity.
应当理解,虽然本说明书是按照各个实施例描述的,但并非每个实施例仅包含一个独立的技术方案,说明书的这种叙述方式仅仅是为清楚起见,本领域技术人员应当将说明书作为一个整体,各实施例中的技术方案也可以经适当组合,形成本领域技术人员可以理解的其他实施方式。It should be understood that although this specification is described according to various embodiments, not every embodiment contains only one independent technical solution. This narrative method of the specification is only for the sake of clarity. Those skilled in the art should regard the specification as a whole. The technical solutions in each embodiment may also be appropriately combined to form other implementation methods that can be understood by those skilled in the art.
上文所列出的一系列的详细说明仅仅是针对本发明的可行性实施例的具体说明,它们并非用以限制本发明的保护范围,凡未脱离本发明技艺精神所作的等效实施例或变更均应包含在本发明的保护范围之内。The series of detailed descriptions listed above are only specific descriptions of feasible embodiments of the present invention. They are not intended to limit the scope of protection of the present invention. All equivalent embodiments or changes that do not deviate from the technical spirit of the present invention should be included in the scope of protection of the present invention.
Claims (5)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210876239.XA CN115165772B (en) | 2022-07-25 | 2022-07-25 | Device and method for detecting impurity content of grains based on hyperspectrum |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210876239.XA CN115165772B (en) | 2022-07-25 | 2022-07-25 | Device and method for detecting impurity content of grains based on hyperspectrum |
Publications (2)
Publication Number | Publication Date |
---|---|
CN115165772A CN115165772A (en) | 2022-10-11 |
CN115165772B true CN115165772B (en) | 2024-11-01 |
Family
ID=83497792
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210876239.XA Active CN115165772B (en) | 2022-07-25 | 2022-07-25 | Device and method for detecting impurity content of grains based on hyperspectrum |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115165772B (en) |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113820325A (en) * | 2021-09-13 | 2021-12-21 | 农业农村部南京农业机械化研究所 | A kind of online detection system and method of corn kernel direct harvesting impurity content and broken rate |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100523787C (en) * | 2006-12-26 | 2009-08-05 | 重庆大学 | Method for measuring reflectivity of mineral and composition of mineral phase |
CN108107049A (en) * | 2018-01-15 | 2018-06-01 | 江苏大学 | Combined harvester tanker seed percentage of impurity and percentage of damage real-time monitoring device and method |
US10481097B1 (en) * | 2018-10-01 | 2019-11-19 | Guardian Glass, LLC | Method and system for detecting inclusions in float glass based on spectral reflectance analysis |
CN110542658A (en) * | 2019-09-10 | 2019-12-06 | 中国烟草总公司郑州烟草研究院 | A classification method of tobacco non-smoke substances based on hyperspectral imaging technology |
CN113260882B (en) * | 2020-07-20 | 2024-03-12 | 深圳大学 | Metal foreign matter detection method and device and terminal equipment |
CN112189877B (en) * | 2020-10-13 | 2021-07-02 | 燕山大学 | On-line detection method for cut tobacco impurities in tobacco production line |
CN114136920A (en) * | 2021-12-02 | 2022-03-04 | 华南农业大学 | A method for identification of single-grain hybrid rice seed species based on hyperspectral |
-
2022
- 2022-07-25 CN CN202210876239.XA patent/CN115165772B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113820325A (en) * | 2021-09-13 | 2021-12-21 | 农业农村部南京农业机械化研究所 | A kind of online detection system and method of corn kernel direct harvesting impurity content and broken rate |
Non-Patent Citations (1)
Title |
---|
"谷物联合收割机收获小麦含杂率高光谱反演研究";陈满 等;《农业工程学报》;20190731;第35卷(第14期);第22-29页 * |
Also Published As
Publication number | Publication date |
---|---|
CN115165772A (en) | 2022-10-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CA3092996C (en) | Systems and methods for imaging seeds using multiple cameras | |
CN101905215B (en) | Digital rice plant testing machine | |
CN1329731C (en) | Fiber strength testing system | |
US5917927A (en) | Grain inspection and analysis apparatus and method | |
CN1153062C (en) | Subsampling fiber testing system | |
CN113820325B (en) | A kind of online detection system and method of corn kernel direct harvesting impurity content and broken rate | |
CN112544242B (en) | AI cloud computing-based full-automatic rice threshing and yield analysis system | |
CN101650316B (en) | Device for on line detecting tobacco strip structure | |
JPH0727718A (en) | Continuous monitor device of thin web of fibrous substance in two dimension | |
US7372034B2 (en) | Agricultural measurement device with movable detector head | |
US6400833B1 (en) | Method and apparatus for discrimination of product units from spread spectrum images of thin portions of product units | |
CN104155312A (en) | Method for detecting pests in food grains based on near infrared machine vision, and apparatus thereof | |
CN208297178U (en) | A grain moisture content on-line monitoring sampling testing mechanism | |
US7316322B2 (en) | Quality evaluation apparatus for fruits and vegetables | |
CN115165772B (en) | Device and method for detecting impurity content of grains based on hyperspectrum | |
CN207408272U (en) | Rice grain shape parameter measuring apparatus based on linear array camera and X-ray Double-mode imaging | |
CN110462375A (en) | Spectroscopic probe for sampling bulk materials and an autosampler for sampling equipped with the probe | |
Wu et al. | Development of a lightweight online detection system for impurity content and broken rate in rice for combine harvesters | |
CN104596877A (en) | Nondestructive testing method and device for stem ratio in tobacco leaves | |
US11371930B2 (en) | Method, apparatus and system for examination of a free-flowing sample | |
Zhang et al. | Study on the quantitative assessment of impact damage of yellow peaches using the combined hyperspectral technology and mechanical parameters | |
CN109827925B (en) | Online continuous pesticide droplet deposition characteristic detection device and method | |
CN118090531A (en) | Appearance quality detector and detection method for grains | |
CN204746905U (en) | Automatic check out system of solid seed grain | |
CN107764767A (en) | The method of the corn protein and moisture of detection united reaper in real time |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |