CN103487397A - Quick detecting method for hardness of phyllostachys pracecox shoots and device - Google Patents
Quick detecting method for hardness of phyllostachys pracecox shoots and device Download PDFInfo
- Publication number
- CN103487397A CN103487397A CN201310434774.0A CN201310434774A CN103487397A CN 103487397 A CN103487397 A CN 103487397A CN 201310434774 A CN201310434774 A CN 201310434774A CN 103487397 A CN103487397 A CN 103487397A
- Authority
- CN
- China
- Prior art keywords
- bamboo shoots
- hardness
- collection box
- thunder bamboo
- sample
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Landscapes
- Investigating Or Analysing Materials By Optical Means (AREA)
Abstract
本发明公开了一种雷竹笋硬度快速检测方法及装置,包括:1)采集特征波长所对应雷竹笋的反射率;2)将获取的各个波长下的反射率转化为吸光度值;3)将各吸光度分别带入多元线性回归方程计算得到雷竹笋的硬度。本发明还公开了实施上述检测方法的装置,包括载物台、样品固定仿形胶座、半球形光谱采集盒、光源系统、计算机、单片机模块,载物台和半球形光谱采集盒之间焊接设置有弹性支撑脚,半球形光谱采集盒底部中心一体成型设置有中心开孔,半球形光谱采集盒上还配合设置有手柄。本发明主要是通过特征波长快速准确的检测雷竹笋硬度,大大缩短了检测的时间,为雷竹笋的自动化切割提供基础。
The invention discloses a method and device for quickly detecting the hardness of bamboo shoots, comprising: 1) collecting the reflectance of bamboo shoots corresponding to characteristic wavelengths; 2) converting the obtained reflectances at each wavelength into absorbance values; 3) converting each The absorbance was brought into the multiple linear regression equation to calculate the hardness of Lei bamboo shoots. The invention also discloses a device for implementing the above-mentioned detection method, including a stage, a sample fixing profiling rubber seat, a hemispherical spectrum collection box, a light source system, a computer, a single-chip microcomputer module, and welding between the stage and the hemispherical spectrum collection box Elastic support feet are provided, the center of the bottom of the hemispherical spectrum collection box is integrally formed with a central opening, and the hemispherical spectrum collection box is also equipped with a handle. The invention mainly detects the hardness of the bamboo shoots quickly and accurately through the characteristic wavelength, greatly shortens the detection time, and provides a basis for the automatic cutting of the bamboo shoots.
Description
技术领域 technical field
本发明属于竹笋品质检测领域,具体涉及一种雷竹笋硬度快速检测方法及装置。 The invention belongs to the field of quality detection of bamboo shoots, and in particular relates to a rapid detection method and device for the hardness of thunder bamboo shoots.
背景技术 Background technique
竹笋含有人体所必须的氨基酸,以及各种微量元素和纤维素,是一种低糖、低脂、高蛋白、高纤维的绿色保健食品。硬度是竹笋品质评价的重要指标,对不同硬度的竹笋进行分切,可以物尽其用,创造更好的经济价值。传统的竹笋硬度检测方法通常是采用硬度仪进行穿孔检测,该方法为有损检测,且检测速度慢,无法满足竹笋切割加工过程中的大样品群体的快速检测需要。因此,研究无损、快速、准确检测竹笋硬度的方法对于竹笋的贮藏、自动化切割加工均具有重要的意义。 Bamboo shoots contain amino acids necessary for the human body, as well as various trace elements and cellulose. It is a low-sugar, low-fat, high-protein, high-fiber green health food. Hardness is an important indicator for evaluating the quality of bamboo shoots. Cutting bamboo shoots with different hardness can make the best use of them and create better economic value. The traditional bamboo shoot hardness testing method usually uses a hardness tester for perforation testing. This method is a destructive testing method, and the testing speed is slow, which cannot meet the rapid testing needs of large sample groups in the bamboo shoot cutting process. Therefore, it is of great significance to study the method of non-destructive, rapid and accurate detection of the hardness of bamboo shoots for the storage and automatic cutting of bamboo shoots.
近红外光的波长范围约为780 ~ 2500 nm,是介于可见光与中红外光之间的电磁波,通过与物质中有机分子的含氢基团如C-H、O-H、N-H键的作用,形成有机分子的倍频和合频吸收光谱。根据这些近红外光谱出现的位置、吸收强度等信息特征,结合化学计量学方法可对被测物品质特性进行定量或定性分析。近红外光谱技术具有操作简便、测定速度快、无污染等优点,已广泛应用于石油化工、食品、农业、制药等领域。 The wavelength range of near-infrared light is about 780 ~ 2500 nm. It is an electromagnetic wave between visible light and mid-infrared light. It forms organic molecules by interacting with hydrogen-containing groups of organic molecules in substances such as C-H, O-H, and N-H bonds. Doubling and combined frequency absorption spectra. According to information characteristics such as the location and absorption intensity of these near-infrared spectra, combined with chemometric methods, quantitative or qualitative analysis can be performed on the quality characteristics of the measured substance. Near-infrared spectroscopy has the advantages of simple operation, fast measurement speed, and no pollution, and has been widely used in petrochemical, food, agriculture, pharmaceutical and other fields.
发明内容 Contents of the invention
本发明的目的是提供一种雷竹笋硬度快速检测方法及装置。可快速采集雷竹笋某些特定波长的反射率,通过多元线性回归模型,快速准确检测雷竹笋硬度,为雷竹笋的自动化切割提供基础。 The purpose of the present invention is to provide a method and device for rapid detection of the hardness of thunder bamboo shoots. It can quickly collect the reflectance of certain specific wavelengths of bamboo shoots, and quickly and accurately detect the hardness of bamboo shoots through multiple linear regression models, providing a basis for automatic cutting of bamboo shoots.
所述的一种雷竹笋硬度的快速检测方法,其特征在于包括以下步骤: The rapid detection method of a kind of thunder bamboo shoot hardness is characterized in that comprising the following steps:
1)采集特征波长所对应雷竹笋的反射率,所述特征波长分别为:1181nm、1719 nm、 1867 nm、1494 nm、2296 nm、2122 nm、1144 nm、1441nm、1028 nm、 2416 nm、1164 nm、1909 nm、1000 nm、2448 nm和2037nm; 1) Collect the reflectance of thunder bamboo shoots corresponding to the characteristic wavelengths: 1181nm, 1719nm, 1867nm, 1494nm, 2296nm, 2122nm, 1144nm, 1441nm, 1028nm, 2416nm, 1164nm , 1909 nm, 1000 nm, 2448 nm and 2037 nm;
2)将获取的各个特征波长下的反射率转化为吸光度值; 2) Convert the obtained reflectance at each characteristic wavelength into an absorbance value;
3)将各吸光度值分别带入多元线性回归方程:y = -133.34 λ 1 + 92.17 λ 2 + 72.93λ 3 – 62.03 λ 4 – 33.60 λ 5 + 48.72 λ 6 – 71.16 λ 7 + 41.46 λ 8 + 66.87 λ 9 – 19.90λ 10 + 46.08 λ 11 +0.76λ 12 – 47.09λ 13 + 23.17 λ 14 - 25.21 λ 15 + 1.39,计算得到竹笋的硬度; 3) Bring each absorbance value into the multiple linear regression equation: y = -133.34 λ 1 + 92.17 λ 2 + 72.93 λ 3 – 62.03 λ 4 – 33.60 λ 5 + 48.72 λ 6 – 71.16 λ 7 + 41.46 λ 8 + 66.87 λ 9 – 19.90 λ 10 + 46.08 λ 11 +0.76 λ 12 – 47.09 λ 13 + 23.17 λ 14 - 25.21 λ 15 + 1.39, the hardness of the bamboo shoot is calculated;
方程中y为被测竹笋部位的硬度,λ 1 ~ λ 15分别为1811 nm、1719nm、1867 nm、1494 nm、2296 nm、2122 nm、1144 nm、1441 nm、1028 nm、 2416 nm、1164 nm、1909 nm、1000 nm、2448 nm和2037nm波长所对应的测试部位的吸光度。 In the equation, y is the hardness of the measured bamboo shoots, and λ 1 ~ λ 15 are 1811 nm, 1719 nm, 1867 nm, 1494 nm, 2296 nm, 2122 nm, 1144 nm, 1441 nm, 1028 nm, 2416 nm, 1164 nm, Absorbance of test sites corresponding to wavelengths of 1909 nm, 1000 nm, 2448 nm and 2037 nm.
由于竹笋为含多种有机成分的非透明介质,当光波照射在其表面时,除部分光被吸收外,大部分均发生反射,而光波吸收的多少与竹笋的化学成分或物理性质是相关的,而竹笋硬度属性与竹笋的化学成分或物理性质相关,特别是跟少数某些特征波长光波的反射率相关。 Since bamboo shoots are non-transparent media containing various organic components, when light waves are irradiated on its surface, most of the light is reflected except for part of the light being absorbed, and the amount of light wave absorption is related to the chemical composition or physical properties of bamboo shoots , while the bamboo shoot hardness attribute is related to the chemical composition or physical properties of the bamboo shoot, especially related to the reflectivity of a small number of light waves with certain characteristic wavelengths.
所述的一种雷竹笋硬度的快速检测方法,其特征在于所述特征波长的获取采用以下步骤: The fast detection method of described a kind of thunder bamboo shoot hardness is characterized in that the acquisition of described characteristic wavelength adopts the following steps:
1)雷竹笋样品原材料的采集:选取长度大于30cm、根部直径大于5cm的雷竹笋为样品原材料; 1) Collection of raw materials of bamboo shoot samples: choose bamboo shoots with a length greater than 30cm and a root diameter greater than 5cm as the sample raw materials;
2)将步骤1)中的样品原材料纵向剖开,用内径为1.5cm的叶片打孔器在雷竹笋的节间进行打孔取样,获得直径为1.5cm,厚度为1cm的样品; 2) The sample raw material in step 1) was cut longitudinally, and a leaf puncher with an inner diameter of 1.5 cm was used to punch holes in the internodes of the bamboo shoots to obtain a sample with a diameter of 1.5 cm and a thickness of 1 cm;
3)用Antraris II傅立叶变换近红外光谱仪采集步骤2)中样品的近红外漫反射光谱,采集条件为:室温20±2℃、扫描范围10000~4000 cm-1、扫描次数64次、分辨率为8 cm-1、扫描时光纤探头与雷笋圆形表面直接接触,将采集的近红外漫反射光谱数据用TQ Analyst 9.1软件进行采集和转换; 3) Use Antraris II Fourier transform near-infrared spectrometer to collect the near-infrared diffuse reflectance spectrum of the sample in step 2 ). 8 cm -1 , when scanning, the optical fiber probe is in direct contact with the circular surface of the bamboo shoot, and the collected near-infrared diffuse reflectance spectrum data is collected and converted with TQ Analyst 9.1 software;
4)用质构仪测定雷竹笋样品的纵向硬度数据,测定方法为:采用P2N针状探头对样品圆形平面间隔120°的三个测试点进行探针打入深度为5mm测量,对三点的硬度进行平均作为样品最终硬度。 4) Use a texture analyzer to measure the longitudinal hardness data of the thunder bamboo shoot sample. The measurement method is: use a P2N needle probe to measure the probe penetration depth of 5mm at three test points on the circular plane of the sample with an interval of 120°. The hardness is averaged as the final hardness of the sample.
5)采用蒙特卡罗采样算法剔除异常样本,确定样品集光谱数据; 5) Use the Monte Carlo sampling algorithm to eliminate abnormal samples and determine the spectral data of the sample set;
6)先采用自适应竞争性权重法在1000-2500nm波长范围内进行特征波长的初选,剔除无关变量,初步得到一些与雷竹笋硬度相关的变量,然后进一步采用连续投影算法进行特征波长的二次选择,得到这些。特征波长分别为1811 nm、1719 nm、 1867 nm、1494 nm、2296 nm、2122 nm、1144 nm、1441 nm、1028 nm、 2416 nm、1164 nm、1909 nm、1000 nm、2448 nm和2037 nm。以上述波长的雷竹笋的吸光度作为输入变量,以测量的雷竹笋硬度作为输出变量进行多元线性回归,得到上述回归方程。 6) Firstly, the adaptive competitive weighting method is used for the primary selection of the characteristic wavelength in the wavelength range of 1000-2500nm, and irrelevant variables are eliminated, and some variables related to the hardness of Lei bamboo shoots are initially obtained, and then the continuous projection algorithm is further used for the secondary selection of the characteristic wavelength. second choice, get these. The characteristic wavelengths are 1811 nm, 1719 nm, 1867 nm, 1494 nm, 2296 nm, 2122 nm, 1144 nm, 1441 nm, 1028 nm, 2416 nm, 1164 nm, 1909 nm, 1000 nm, 2448 nm and 2037 nm. Using the absorbance of the bamboo shoots at the above-mentioned wavelengths as an input variable and the hardness of the bamboo shoots measured as an output variable, multiple linear regression was performed to obtain the above regression equation.
所述的一种快速检测雷竹笋硬度的装置,包括载物台、配合设置在载物台上的样品固定仿形胶座、半球形光谱采集盒、光源系统、计算机、单片机模块,所述半球形光谱采集盒内部配合安装有环形光谱接收器支架,环形光谱接收器支架上均布设置有光谱接收器,所述光源系统配合设置在半球形光谱采集盒的顶部,所述光谱接收器及光源系统与单片机模块相连,单片机模块通过USB数据线与计算机相连,其特征在于所述载物台和半球形光谱采集盒之间焊接设置有弹性支撑脚,所述半球形光谱采集盒底部中心一体成型设置有中心开孔,半球形光谱采集盒上还配合设置有手柄。 The described device for rapidly detecting the hardness of thunder bamboo shoots comprises a stage, a sample fixing profiling rubber seat cooperating with the stage, a hemispherical spectrum collection box, a light source system, a computer, and a single-chip microcomputer module, and the hemispherical The inside of the shaped spectrum collection box is equipped with a ring-shaped spectrum receiver bracket, and the spectrum receivers are evenly distributed on the ring-shaped spectrum receiver bracket. The light source system is arranged on the top of the hemispherical spectrum collection box. The spectrum receiver and light source The system is connected with the single-chip microcomputer module, and the single-chip microcomputer module is connected with the computer through a USB data line, and it is characterized in that elastic supporting feet are welded between the stage and the hemispherical spectrum collection box, and the center of the bottom of the hemispherical spectrum collection box is integrally formed A central opening is provided, and a handle is provided on the hemispherical spectrum collection box.
所述的一种快速检测雷竹笋硬度的装置,其特征在于所述光谱接收器设置有16个。 The device for quickly detecting the hardness of bamboo shoots is characterized in that there are 16 spectral receivers.
所述的一种快速检测雷竹笋硬度的装置,其特征在于所述弹性支撑脚有3个,所述3个弹性支撑脚均匀120°与半球形光谱采集盒焊接设置。 The described device for quickly detecting the hardness of bamboo shoots is characterized in that there are 3 elastic supporting legs, and the 3 elastic supporting legs are evenly arranged at 120° to be welded with a hemispherical spectrum collection box.
所述的一种快速检测雷竹笋硬度的装置,其特征在于所述光谱接收器包括依次安装的光敏传感器、滤光片、第一菲涅尔透镜。 The device for quickly detecting the hardness of bamboo shoots is characterized in that the spectral receiver includes a photosensitive sensor, an optical filter, and a first Fresnel lens installed in sequence.
所述的一种快速检测雷竹笋硬度的装置,其特征在于所述光源系统包括LED光源及设置在LED光源下方的第二菲涅尔透镜,所述LED光源波长范围为1000-2500nm。 The device for quickly detecting the hardness of bamboo shoots is characterized in that the light source system includes an LED light source and a second Fresnel lens arranged under the LED light source, and the wavelength range of the LED light source is 1000-2500nm.
所述的一种快速检测雷竹笋硬度的装置,其特征在于所述半球形光谱采集盒内壁设置有白色图层。 The device for quickly detecting the hardness of bamboo shoots is characterized in that the inner wall of the hemispherical spectrum collection box is provided with a white layer.
所述的一种快速检测雷竹笋硬度的装置,其特征在于所述单片机模块可提供大小可调的横流信号,为光源供电,单片机模块内置进行雷竹笋硬度测量的多元线性回归方程,用于计算、显示并将数据和结果传输给计算机,进行数据的存储和再现。 The device for quickly detecting the hardness of bamboo shoots is characterized in that the single-chip microcomputer module can provide a cross-flow signal with adjustable size to supply power to the light source, and the single-chip microcomputer module is built-in. , Display and transfer data and results to computer for data storage and reproduction.
所述的一种快速检测雷竹笋硬度的装置,其特征在于所述多元线性回归方程为y = -133.34 λ 1 + 92.17 λ 2 + 72.93λ 3 – 62.03 λ 4 – 33.60 λ 5 + 48.72 λ 6 – 71.16 λ 7 + 41.46 λ 8 + 66.87 λ 9 – 19.90λ 10 + 46.08 λ 11 +0.76λ 12 – 47.09λ 13 + 23.17 λ 14 - 25.21 λ 15 + 1.39,方程中y为雷竹笋被测部位的硬度:λ 1 ~ λ 15分别为1811 nm、1719nm、1867 nm、1494 nm、2296 nm、2122 nm、1144 nm、1441 nm、1028 nm、 2416 nm、1164 nm、1909 nm、1000 nm、2448 nm和2037nm波长所对应的雷竹笋测试部位的吸光度。 The device for rapidly detecting the hardness of bamboo shoots is characterized in that the multiple linear regression equation is y = -133.34 λ 1 + 92.17 λ 2 + 72.93 λ 3 - 62.03 λ 4 - 33.60 λ 5 + 48.72 λ 6 - 71.16 λ 7 + 41.46 λ 8 + 66.87 λ 9 – 19.90 λ 10 + 46.08 λ 11 +0.76 λ 12 – 47.09 λ 13 + 23.17 λ 14 - 25.21 λ 15 + 1.39, y in the equation is the hardness of the measured part of the bamboo shoot: λ 1 ~ λ 15 are the wavelengths of 1811 nm, 1719 nm, 1867 nm, 1494 nm, 2296 nm, 2122 nm, 1144 nm, 1441 nm, 1028 nm, 2416 nm, 1164 nm, 1909 nm, 1000 nm, 2448 nm and 2037 nm respectively The absorbance of the corresponding test site of bamboo shoots.
本发明的有益效果是: The beneficial effects of the present invention are:
1.实现了雷竹笋硬度的快速便捷检测,测量准确度高; 1. The rapid and convenient detection of the hardness of thunder bamboo shoots is realized, and the measurement accuracy is high;
2.采用少数特征波长进行多元线性回归分析,抗干扰能力强,成本低; 2. Using a small number of characteristic wavelengths for multiple linear regression analysis, it has strong anti-interference ability and low cost;
3.适用范围广,可根据实际情况,选择其他中心波长的滤光片,通过修正多元线性回归模型,用于不同地区、不同品种竹笋硬度或其它品质指标的检测。 3. It has a wide range of applications. Filters with other central wavelengths can be selected according to the actual situation. By modifying the multiple linear regression model, it can be used to detect the hardness of bamboo shoots or other quality indicators in different regions and varieties.
4.本发明主要用于通过特征波长的光谱快速准确检测雷竹笋硬度,大大缩短了检测时间,降低了检测成本,为新鲜竹笋的贮藏以及自动化切割分级奠定了基础。 4. The present invention is mainly used to quickly and accurately detect the hardness of thunder bamboo shoots through the spectrum of characteristic wavelengths, which greatly shortens the detection time and reduces the detection cost, and lays the foundation for the storage and automatic cutting and grading of fresh bamboo shoots.
附图说明 Description of drawings
图1为雷竹笋硬度快速检测装置的结构示意图; Fig. 1 is the structural representation of bamboo shoot hardness rapid detection device;
图2为图1所示装置中光谱接收器的分布示意图; Fig. 2 is the distribution schematic diagram of spectral receiver in the device shown in Fig. 1;
图3为本发明实施例中校正集样品预测结果散点分布图; 3 is a scatter distribution diagram of the prediction results of the calibration set samples in the embodiment of the present invention;
图4为本发明实施例中测试集样品预测结构散点分布图; Fig. 4 is a scatter distribution diagram of the predicted structure of the test set samples in the embodiment of the present invention;
图中,1-载物台,2-弹性支撑脚,3-样品固定仿形胶座,4-半球形光谱采集盒,5-光谱接收器,6-计算机,7-单片机模块,8-光源系统,9-LED光源,10-第二菲涅尔透镜,11-手柄,12-环形光谱接收器支架,13-光敏传感器,14-滤光片,15-第一菲涅尔透镜,16-中心开孔。 In the figure, 1-stage, 2-elastic support feet, 3-sample fixed profiling rubber seat, 4-hemispherical spectrum collection box, 5-spectrum receiver, 6-computer, 7-single-chip microcomputer module, 8-light source System, 9-LED light source, 10-second Fresnel lens, 11-handle, 12-ring spectrum receiver bracket, 13-photosensitive sensor, 14-filter, 15-first Fresnel lens, 16- Center opening.
具体实施方式 Detailed ways
本发明下面结合附图及实施例予以进一步详述。 The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments.
如图1所示:一种快速检测竹笋硬度的装置,包括以下部件:载物台1、弹性支撑脚2、样品固定仿形胶座3、半球形光谱采集盒4、光谱接收器5、计算机6、单片机模块7、光源系统8、LED光源9、第二菲涅尔透镜10、手柄11、环形光谱接受器支架12、光敏传感器13、滤光片14、第一菲涅尔透镜15。光谱接受器5、光源系统8连接到单片机模块7,再通过USB数据线连接到计算机6上。半球形光谱采集盒4顶部嵌入光源系统8,光源系统8中放置LED光源9,半球形光谱采集盒4底部中心一体成型设置有中心开孔16,LED光源9发光后,通过第二菲涅尔透镜10将光汇聚到被测样品上。半球形光谱采集盒4上安装有手柄11,可用于移动式测量。三个弹性支撑脚2均匀120°分布并与半球形光谱采集盒4焊接,通过弹性支撑脚2可使被测部位紧贴半球形光谱采集盒4底部中心开孔16。半球形光谱采集盒4内壁为白色,使光照均匀。
As shown in Figure 1: a device for quickly detecting the hardness of bamboo shoots, including the following components: stage 1, elastic support feet 2, sample fixing profiling rubber seat 3, hemispherical spectrum collection box 4, spectrum receiver 5, computer 6. Single-chip microcomputer module 7, light source system 8, LED light source 9, second Fresnel lens 10, handle 11, ring
如图1和2所示,半球形光谱采集盒4内部安装有环形光谱接受支架12,环形光谱接受支架12上圆周均布有16个光谱接受器5,每个光谱接收器5的中心线交汇于光源系统8在中心开孔16的中心。每个光谱接受器5上安装有一个光敏传感器13、滤光片14和第一菲涅尔透镜15。其中15个滤光片的中心波长分别为1811 nm、1719 nm、 1867 nm、1494 nm、2296 nm、2122 nm、1144 nm、1441 nm、1028 nm、 2416 nm、1164 nm、1909 nm、1000 nm、2448 nm和2037 nm。16组滤光片和光敏传感器其中一组作为参考波长,其余15组参与计算。
As shown in Figures 1 and 2, a ring-shaped
光敏传感器13通过特征波长的滤光片14采集特征波长的光波反射率。所谓特征波长是指其反射率与竹笋硬度相关的那些波长。
The
实施例 Example
特征波长的获取: Acquisition of characteristic wavelengths:
1)选取长度于30cm、根部直径大于5cm的雷竹笋作为样品原材料,纵向剖开,用内径为1.5cm的叶片打孔器在竹笋的节间进行打孔取样,共获取直径1.5cm,厚度为1cm的样品113个; 1) Select bamboo shoots with a length of 30 cm and a root diameter of more than 5 cm as the sample raw material, cut them longitudinally, and use a blade puncher with an inner diameter of 1.5 cm to punch holes in the internodes of the bamboo shoots to obtain samples with a diameter of 1.5 cm and a thickness of 113 samples of 1cm;
2)用Antraris II傅立叶变换近红外光谱仪采集上述样品的近红外漫反射光谱。采集条件:室温:20±2℃;扫描范围:10000~4000 cm-1;扫描次数:64次;分辨率:8 cm-1;扫描时光纤探头与雷笋圆形表面直接接触,光谱数据由TQ Analyst 9.1(热电尼高力公司,美国)软件进行采集和转换; 2) An Antraris II Fourier transform near-infrared spectrometer was used to collect the near-infrared diffuse reflectance spectra of the above samples. Acquisition conditions: room temperature: 20±2°C; scanning range: 10000-4000 cm -1 ; scanning times: 64 times; resolution: 8 cm -1 ; the optical fiber probe was in direct contact with the circular surface of the bamboo shoot during scanning, and the spectral data were collected by TQ Analyst 9.1 (Thermoelectric Nicolis, USA) software for acquisition and conversion;
3)用质构仪(北京微寻超仪器技术有限公司)测定雷笋样品的纵向硬度数据,测定方法为:采用P2N针状探头对样品圆形平面间隔120°的3个测试点进行探针打入深度为5mm的测量,对3点的硬度进行平均并作为样品最终硬度; 3) Use a texture analyzer (Beijing Weixunchao Instrument Technology Co., Ltd.) to measure the longitudinal hardness data of the bamboo shoot sample. The measurement method is: use a P2N needle probe to probe three test points on the circular plane of the sample at intervals of 120° The penetration depth is measured at 5mm, and the hardness of the three points is averaged as the final hardness of the sample;
4)采用蒙特卡罗采样算法(Monte-Carlo Sampling, MCS)剔除异常样品,最终整个样品集光谱数据为108条; 4) Use Monte-Carlo Sampling (MCS) to eliminate abnormal samples, and finally the entire sample set has 108 spectral data;
5)先采用竞争性自适应权重法(Competitive Adaptive Reweighed Sampling, CARS)进行特征波长的初选,随后采用连续投影算法(Successive Projections Algorithm, SPA)进行特征波长的二次选择,这样不仅可以避免直接采用连续投影算法造成的时间过长等现象,还可以进一步剔除无关变量,提高模型的精度。本发明的特征波长分别为1811 nm、1719 nm、 1867 nm、1494 nm、2296 nm、2122 nm、1144 nm、1441 nm、1028 nm、 2416 nm、1164 nm、1909 nm、1000 nm、2448 nm和2037 nm。15个光敏组件分别接受着15个波长的光波; 5) Firstly, the Competitive Adaptive Reweighted Sampling (CARS) is used for the primary selection of the characteristic wavelength, and then the continuous projection algorithm (Successive Projections Algorithm, SPA) is used for the secondary selection of the characteristic wavelength, which can not only avoid the direct If the time is too long caused by the continuous projection algorithm, it can further eliminate irrelevant variables and improve the accuracy of the model. The characteristic wavelengths of the present invention are respectively 1811 nm, 1719 nm, 1867 nm, 1494 nm, 2296 nm, 2122 nm, 1144 nm, 1441 nm, 1028 nm, 2416 nm, 1164 nm, 1909 nm, 1000 nm, 2448 nm and 2037 nm nm. 15 photosensitive components receive light waves of 15 wavelengths respectively;
本发明先测定108个样品在1811 nm、1719 nm、 1867 nm、1494 nm、2296 nm、2122 nm、1144 nm、1441 nm、1028 nm、 2416 nm、1164 nm、1909 nm、1000 nm、2448 nm和2037 nm这些波长处的反射率,随后通过log(1/R) (R为反射率)将其转换成吸光度,然后采用浓度梯度法选择72个样品作为校正集,其余36份样品作为测试集,同时利用传统方法检测108个竹笋样品的硬度。将校正集样品的各特征波长所对应的吸光度值作为自变量,相应的实测量值作为因变量,利用多元线性回归方法(Multiple Linear Regression, MLR)得到如下多元线性回归方程:y = -133.34 λ 1 + 92.17 λ 2 + 72.93λ 3 – 62.03 λ 4 – 33.60 λ 5 + 48.72 λ 6 – 71.16 λ 7 + 41.46 λ 8 + 66.87 λ 9 – 19.90λ 10 + 46.08 λ 11 +0.76λ 12 – 47.09λ 13 + 23.17 λ 14 - 25.21 λ 15 + 1.39,计算得到竹笋的硬度。 The present invention first measures 108 samples at 1811 nm, 1719 nm, 1867 nm, 1494 nm, 2296 nm, 2122 nm, 1144 nm, 1441 nm, 1028 nm, 2416 nm, 1164 nm, 1909 nm, 1000 nm, 2448 nm and The reflectance at these wavelengths at 2037 nm is then converted into absorbance by log(1/ R ) ( R is the reflectance), and then 72 samples are selected as the calibration set by the concentration gradient method, and the remaining 36 samples are used as the test set, At the same time, the hardness of 108 bamboo shoot samples was detected by traditional method. Taking the absorbance value corresponding to each characteristic wavelength of the calibration set sample as the independent variable, and the corresponding measured value as the dependent variable, the following multiple linear regression equation is obtained by using the multiple linear regression method (Multiple Linear Regression, MLR): y = -133.34 λ 1 + 92.17 λ 2 + 72.93 λ 3 – 62.03 λ 4 – 33.60 λ 5 + 48.72 λ 6 – 71.16 λ 7 + 41.46 λ 8 + 66.87 λ 9 – 19.90 λ 10 + 46.08 λ 11 + 0.76 λ 309 – 4 23.17 λ 14 - 25.21 λ 15 + 1.39, calculated to get the hardness of bamboo shoots.
方程中y为被测竹笋部位硬度的预测值;λ 1 ~ λ 15分别为1811 nm、1719 nm、 1867 nm、1494 nm、2296 nm、2122 nm、1144 nm、1441 nm、1028 nm、 2416 nm、1164 nm、1909 nm、1000 nm、2448 nm和2037 nm波长所对应的竹笋测试部位的吸光度。 In the equation, y is the predicted value of the hardness of the measured bamboo shoots; λ 1 ~ λ 15 are 1811 nm, 1719 nm, 1867 nm, 1494 nm, 2296 nm, 2122 nm, 1144 nm, 1441 nm, 1028 nm, 2416 nm, Absorbance of bamboo shoot test sites corresponding to 1164 nm, 1909 nm, 1000 nm, 2448 nm and 2037 nm wavelengths.
然后利用上述多元线性回归方程分别对校正集和测试集样品的硬度进行预测,并对预测结果进行评价。评价指标中相关系数和斜率越接近于1,均方根误差、偏差的绝对值和截距越小,说明模型预测性能越好。预测结果如表1所示: Then use the above multiple linear regression equation to predict the hardness of the calibration set and test set samples respectively, and evaluate the prediction results. The closer the correlation coefficient and slope in the evaluation index are to 1, the smaller the root mean square error, the absolute value of the deviation and the intercept are, indicating the better the prediction performance of the model. The prediction results are shown in Table 1:
表1:校正集和测试集雷竹笋样品硬度预测评价 Table 1: Prediction and evaluation of hardness of bamboo shoot samples in calibration set and test set
如图3所示,为校正集建模分析时的预测结果,即校正集样品的预测值和真实值的对比,并将模型用于测试集样品预测,分析模型的精度。如图4所示是测试集样品预测结果的散点分布图。上述表中,竹笋硬度的预测值与真实值测量之间相关系数均大于0.9,校正集均方根误差和测试集均方根误差较小且二者相差不大,因此认为模型的预测性能较好。上述结果说明应用本发明的方法能够快速准确的实现累竹笋硬度的检测。 As shown in Figure 3, the prediction results of the calibration set modeling analysis, that is, the comparison between the predicted value of the calibration set samples and the real value, and the model is used for the prediction of the test set samples to analyze the accuracy of the model. As shown in Figure 4 is the scatter distribution diagram of the prediction results of the test set samples. In the above table, the correlation coefficient between the predicted value of bamboo shoot hardness and the actual value measurement is greater than 0.9, the root mean square error of the calibration set and the root mean square error of the test set are small and the difference between the two is not large, so it is considered that the predictive performance of the model is relatively good. good. The above results illustrate that the application of the method of the present invention can quickly and accurately realize the detection of the hardness of bamboo shoots.
上述装置检测雷竹笋硬度的方法如下: The method that above-mentioned device detects thunder bamboo shoot hardness is as follows:
将雷竹笋放置在样品固定仿形胶座3上,使雷竹笋被测部位对准半球形光谱采集盒4底部中心开孔16的中心,然后通过单片机模块7接通LED光源9,光照射到被测部位后,光敏传感器13通过滤光片14只接受特定波长下经第一菲涅尔透镜15反射回来的光,以第16个光敏传感器接受的光强作为参考,换算出另外15个特征波长下光波的反射率,单片机模块7接受数据并将其转化为吸光度值,带入到多元回归模型中,计算得到雷竹笋硬度。
Place the bamboo shoots on the sample fixed profiling rubber seat 3, align the measured part of the bamboo shoots with the center of the central opening 16 at the bottom of the hemispherical spectrum collection box 4, and then connect the LED light source 9 through the single-chip microcomputer module 7, and the light is irradiated to After the measured part, the
该装置适用范围较广,可用于测定不同种类竹笋的硬度,前提是只需要按照上述方法确定不同种类的特征波长,进而确定多元回归方程,将多元回归方程置入单片机模块即可。 The device has a wide range of applications and can be used to measure the hardness of different types of bamboo shoots. The premise is that it only needs to determine the characteristic wavelengths of different types according to the above method, and then determine the multiple regression equation, and then put the multiple regression equation into the single-chip microcomputer module.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310434774.0A CN103487397B (en) | 2013-09-23 | 2013-09-23 | A kind of thunder bamboo shoots hardness method for quick and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310434774.0A CN103487397B (en) | 2013-09-23 | 2013-09-23 | A kind of thunder bamboo shoots hardness method for quick and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103487397A true CN103487397A (en) | 2014-01-01 |
CN103487397B CN103487397B (en) | 2015-10-28 |
Family
ID=49827789
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310434774.0A Expired - Fee Related CN103487397B (en) | 2013-09-23 | 2013-09-23 | A kind of thunder bamboo shoots hardness method for quick and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103487397B (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104568623A (en) * | 2014-08-13 | 2015-04-29 | 南京汉旗新材料科技有限公司 | Method for measuring hardness of biomass material |
CN104833638A (en) * | 2015-04-15 | 2015-08-12 | 浙江大学 | Double-layer melon-fruit tissue optical property nondestructive detection method based on continuous wave and double-layer melon-fruit tissue optical property nondestructive detection apparatus based on continuous wave |
CN105866066A (en) * | 2015-05-29 | 2016-08-17 | 深圳市琨伦创业投资有限公司 | Crop-nutrition security detection device |
CN106769281A (en) * | 2016-11-25 | 2017-05-31 | 国家林业局竹子研究开发中心 | A kind of bamboo shoots bamboo shoot meat analyzes the method for making sample of sample |
CN105424653B (en) * | 2015-11-10 | 2018-04-20 | 浙江大学 | The fruit pulp tissue optical property detecting system and method popped one's head in integrated optical fiber |
CN110702637A (en) * | 2019-10-30 | 2020-01-17 | 石河子大学 | Near-infrared online fusion rapid discrimination method for hot fresh mutton and cold fresh mutton |
CN112584570A (en) * | 2018-12-29 | 2021-03-30 | 中国计量大学 | Movable and fixed light color detection module for open type office lighting system |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1430723A (en) * | 2000-03-13 | 2003-07-16 | 奥特莱有限公司 | Method and device for measuring and correlating characteristics of fruit with visible/near infra-red spectrum |
CN1648644A (en) * | 2005-03-24 | 2005-08-03 | 中国农业大学 | A portable non-destructive testing device for the internal quality of fruit |
JP2006226775A (en) * | 2005-02-16 | 2006-08-31 | Toyohashi Univ Of Technology | Fruit taste component evaluation method and evaluation apparatus |
CN102252971A (en) * | 2011-04-06 | 2011-11-23 | 食品行业生产力促进中心 | Rapid detection method for mango hardness |
CN203658256U (en) * | 2013-09-23 | 2014-06-18 | 浙江农林大学 | Quick bamboo shoot hardness detection device based on characteristic wavelength |
-
2013
- 2013-09-23 CN CN201310434774.0A patent/CN103487397B/en not_active Expired - Fee Related
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1430723A (en) * | 2000-03-13 | 2003-07-16 | 奥特莱有限公司 | Method and device for measuring and correlating characteristics of fruit with visible/near infra-red spectrum |
JP2006226775A (en) * | 2005-02-16 | 2006-08-31 | Toyohashi Univ Of Technology | Fruit taste component evaluation method and evaluation apparatus |
CN1648644A (en) * | 2005-03-24 | 2005-08-03 | 中国农业大学 | A portable non-destructive testing device for the internal quality of fruit |
CN102252971A (en) * | 2011-04-06 | 2011-11-23 | 食品行业生产力促进中心 | Rapid detection method for mango hardness |
CN203658256U (en) * | 2013-09-23 | 2014-06-18 | 浙江农林大学 | Quick bamboo shoot hardness detection device based on characteristic wavelength |
Non-Patent Citations (2)
Title |
---|
李桂峰 等: "苹果质地品质近红外无损检测和指纹分析", 《农业工程学报》, vol. 24, no. 6, 30 June 2008 (2008-06-30) * |
王琪: "竹笋采后保鲜及软包装笋贮藏品质变化的研究", 《中国优秀硕士学位论文全文数据库 工程科技Ⅰ辑》, no. 11, 15 November 2012 (2012-11-15), pages 27 - 34 * |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104568623A (en) * | 2014-08-13 | 2015-04-29 | 南京汉旗新材料科技有限公司 | Method for measuring hardness of biomass material |
CN104833638A (en) * | 2015-04-15 | 2015-08-12 | 浙江大学 | Double-layer melon-fruit tissue optical property nondestructive detection method based on continuous wave and double-layer melon-fruit tissue optical property nondestructive detection apparatus based on continuous wave |
CN104833638B (en) * | 2015-04-15 | 2017-10-20 | 浙江大学 | Double-deck melon and fruit tissue optical property lossless detection method and device based on continuous wave |
CN105866066A (en) * | 2015-05-29 | 2016-08-17 | 深圳市琨伦创业投资有限公司 | Crop-nutrition security detection device |
CN105424653B (en) * | 2015-11-10 | 2018-04-20 | 浙江大学 | The fruit pulp tissue optical property detecting system and method popped one's head in integrated optical fiber |
CN106769281A (en) * | 2016-11-25 | 2017-05-31 | 国家林业局竹子研究开发中心 | A kind of bamboo shoots bamboo shoot meat analyzes the method for making sample of sample |
CN112584570A (en) * | 2018-12-29 | 2021-03-30 | 中国计量大学 | Movable and fixed light color detection module for open type office lighting system |
CN112584570B (en) * | 2018-12-29 | 2023-09-19 | 中国计量大学 | Mobile and fixed light color detection modules for open office lighting systems |
CN110702637A (en) * | 2019-10-30 | 2020-01-17 | 石河子大学 | Near-infrared online fusion rapid discrimination method for hot fresh mutton and cold fresh mutton |
Also Published As
Publication number | Publication date |
---|---|
CN103487397B (en) | 2015-10-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103487397B (en) | A kind of thunder bamboo shoots hardness method for quick and device | |
CN101308086B (en) | On-line inspection device for fruit internal quality based on near-infrared spectroscopy | |
CN102879353B (en) | The method of content of protein components near infrared detection peanut | |
CN109669023A (en) | A kind of soil attribute prediction technique based on Multi-sensor Fusion | |
CN102636454A (en) | Method for quickly measuring content of low carbon number fatty acid in edible oil by near infrared spectrum | |
CN102590129B (en) | Method for detecting content of amino acid in peanuts by near infrared method | |
CN111157511B (en) | A method for nondestructive detection of egg freshness based on Raman spectroscopy | |
CN103234922A (en) | Rapid soil organic matter detection method based on large sample soil visible-near infrared spectrum classification | |
CN101975759A (en) | Transmission-type nondestructive measuring device and method of water content of plant leaves | |
CN102608057A (en) | Method for measuring contents of lamivudine and zidovudine in mixture | |
CN109540836A (en) | Near infrared spectrum pol detection method and system based on BP artificial neural network | |
CN102507480A (en) | Method for nondestructively and quickly measuring moisture content of tea leaf based on 12 characteristic wavelengths | |
CN101846617A (en) | Sterile detection method of cane sugar content in culture media based on spectrum analysis | |
CN106950192A (en) | A kind of method of Contents of Main Components quick detection in vegetable protein beverage based on near-infrared spectral analysis technology | |
CN109211829A (en) | A method of moisture content in the near infrared spectroscopy measurement rice based on SiPLS | |
CN103487399A (en) | Terahertz time-domain spectroscopy method for quantitatively detecting tetracycline hydrochloride solutions | |
CN104778349B (en) | One kind is used for rice table soil nitrogen application Classified Protection | |
CN101968443A (en) | Nondestructive detection device and method of water content of reflective near infrared plant leaf | |
CN101074927A (en) | Method for diagnosing fruit diseases based on visible and near-infrared spectral characteristic band | |
CN109932319A (en) | A kind of orchard soil available potassium content acquisition method, system and device | |
CN112179871A (en) | Method for nondestructive detection of caprolactam content in sauce food | |
CN104849234A (en) | Assay method for analyzing contents of principal components of imidacloprid based on near-infrared spectrum | |
CN110231306A (en) | A kind of method of lossless, the quick odd sub- seed protein content of measurement | |
CN109709042A (en) | A kind of information acquisition device and determination method for soil property determination | |
CN102829849B (en) | A device and method for measuring multi-index parameters of pears |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20151028 Termination date: 20180923 |
|
CF01 | Termination of patent right due to non-payment of annual fee |