[go: up one dir, main page]

CN100449302C - Method and device for rapid and non-destructive identification of bottled yellow rice wine marked wine age - Google Patents

Method and device for rapid and non-destructive identification of bottled yellow rice wine marked wine age Download PDF

Info

Publication number
CN100449302C
CN100449302C CNB2007100667212A CN200710066721A CN100449302C CN 100449302 C CN100449302 C CN 100449302C CN B2007100667212 A CNB2007100667212 A CN B2007100667212A CN 200710066721 A CN200710066721 A CN 200710066721A CN 100449302 C CN100449302 C CN 100449302C
Authority
CN
China
Prior art keywords
sample
wine
spectrum
age
characteristic
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.)
Expired - Fee Related
Application number
CNB2007100667212A
Other languages
Chinese (zh)
Other versions
CN101000303A (en
Inventor
应义斌
于海燕
徐惠荣
饶秀勤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang University ZJU
Original Assignee
Zhejiang University ZJU
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Zhejiang University ZJU filed Critical Zhejiang University ZJU
Priority to CNB2007100667212A priority Critical patent/CN100449302C/en
Publication of CN101000303A publication Critical patent/CN101000303A/en
Application granted granted Critical
Publication of CN100449302C publication Critical patent/CN100449302C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Investigating Or Analysing Materials By Optical Means (AREA)

Abstract

本发明公开了一种瓶装黄酒标注酒龄快速无损鉴别方法和装置。采集黄酒样品的空瓶的近红外光谱作为背景光谱,从生产厂家提供的瓶装黄酒样品的原始样本光谱中扣除背景光谱后作为真实样本光谱,采用主成份分析方法,计算出样本特征光谱矢量及同一酒龄样本的特征光谱矢量中心;计算待测样本到酒龄样本的特征光谱矢量中心马氏距离,并将其归类到距离最小的酒龄样本类中,以此判断标注酒龄是否合格。本发明是通过对待测样本近红外光谱的主成分进行马氏距离分析,减少了计算量,能简便、快速、无损地鉴别待测黄酒的标注酒龄,且鉴别正确率高。

Figure 200710066721

The invention discloses a method and a device for quickly and non-destructively identifying bottled rice wine marked wine age. The near-infrared spectrum of the empty bottle of rice wine sample was collected as the background spectrum, and the background spectrum was deducted from the original sample spectrum of the bottled rice wine sample provided by the manufacturer as the real sample spectrum. The characteristic spectrum vector center of the wine age sample; calculate the Mahalanobis distance from the sample to be tested to the characteristic spectrum vector center of the wine age sample, and classify it into the wine age sample class with the smallest distance, so as to judge whether the label wine age is qualified. The invention reduces the amount of calculation by performing Mahalanobis distance analysis on the main components of the near-infrared spectrum of the sample to be tested, and can easily, quickly and non-destructively identify the marked wine age of the rice wine to be tested, and has a high identification accuracy rate.

Figure 200710066721

Description

瓶装黄酒标注酒龄快速无损鉴别方法和装置 Method and device for rapid and non-destructive identification of bottled yellow rice wine marked wine age

技术领域 technical field

本发明涉及利用近红外光谱分析技术的一种瓶装黄酒标注酒龄快速无损鉴别方法和装置。The invention relates to a method and device for rapid and non-destructive identification of bottled yellow rice wine marked wine age by using near-infrared spectrum analysis technology.

背景技术 Background technique

黄酒酒龄是指酒的陈酿年份,以酒龄表示酒质优劣已成为黄酒行业的普遍方式。国家标准《黄酒》(GB/T 13662-2000)对黄酒的“酒龄”和“标注酒龄”予以了明确的定义。“酒龄”是指发酵后的成品原酒在酒坛、酒罐等容器中贮存的年限;“标注酒龄”是指销售包装标签上标注的酒龄,以勾兑酒的酒龄加权平均计算。酒龄为3年(或3年以上)的黄酒,应以优级酒(国标《黄酒》中将黄酒分为优级、一级和二级三个等级)为基酒,其中所注酒龄的基酒不低于50%。消费者普遍认为,黄酒越陈越香,越老越值钱。因而,不少商家利用消费者这一心理,在标注酒龄上做起文章。目前,在市售黄酒中不乏以低酒龄黄酒冒充高酒龄酒的所谓“五年陈酒”、“十年陈酒”。虚报酒龄不仅侵犯了消费者权益,扰乱了黄酒市场,且严重影响黄酒声誉。The wine age of rice wine refers to the aging year of the wine, and it has become a common way in the rice wine industry to indicate the quality of the wine with the wine age. The national standard "Yellow Wine" (GB/T 13662-2000) clearly defines the "wine age" and "marked wine age" of rice wine. "Wine age" refers to the number of years for the fermented finished raw wine to be stored in wine jars, wine tanks and other containers; "labeled wine age" refers to the age of the wine marked on the sales package label, which is calculated as the weighted average of the wine age of the blended wine. Yellow rice wine with a wine age of 3 years (or more than 3 years) should be based on high-grade wine (in the national standard "Yellow Wine", rice wine is divided into three grades: high-grade, first-grade and second-grade) as the base wine, and the wine age noted The base wine is not less than 50%. Consumers generally believe that the older the rice wine is, the more fragrant it is, and the older it is, the more valuable it is. Therefore, many merchants take advantage of the psychology of consumers to make a fuss about labeling the age of wine. At present, there are many so-called "five-year-old wines" and "ten-year-old wines" that use low-age yellow rice wines as high-age wines in the market. Falsely reporting the age of wine not only violates the rights and interests of consumers, disrupts the rice wine market, but also seriously affects the reputation of rice wine.

现有的酒龄鉴别方法有:The existing alcohol age identification methods are:

感官鉴定法,但其判定的准确性受情绪因素、感情因素、基本素质、身体健康状况、品评环境等诸多因素的影响。Sensory appraisal method, but the accuracy of its judgment is affected by many factors such as emotional factors, emotional factors, basic quality, physical health, and evaluation environment.

化学分析法,主要是采用高效液相色谱、气相色谱、质谱或毛细管电泳等现代仪器分析技术结合多元统计方法进行酒龄定性分析。这些方法的优点是作为常规仪器分析方法已经得到普遍认同,缺点则是需要复杂的制作测试样品的过程,分析周期长,成本高,效率低,且均需要对待测样品进行破坏性处理。Chemical analysis mainly uses modern instrumental analysis techniques such as high performance liquid chromatography, gas chromatography, mass spectrometry or capillary electrophoresis combined with multivariate statistical methods for qualitative analysis of wine age. The advantage of these methods is that they have been generally recognized as conventional instrumental analysis methods, but the disadvantages are the complicated process of making test samples, long analysis cycle, high cost, low efficiency, and destructive treatment of the samples to be tested.

近红外光谱分析技术具有分析速度快、成本低、绿色分析及适合在线检测等优点。随着近红外光谱仪器和化学计量学的发展,近红外光谱分析技术完全能实现瓶装黄酒酒龄的快速、无损鉴别。Near-infrared spectroscopy has the advantages of fast analysis speed, low cost, green analysis and suitable for online detection. With the development of near-infrared spectroscopy instruments and chemometrics, near-infrared spectroscopy analysis technology can fully realize the rapid and non-destructive identification of the age of bottled rice wine.

公开号为CN1789981的发明专利公开了一种基于近红外光谱的智能化黄酒酒龄快速鉴别装置。该检测装置采用发光二极管和滤光片式近红外光谱仪对黄酒瓶颈部位进行检测。The invention patent with the publication number CN1789981 discloses a device for rapidly identifying the age of intelligent yellow rice wine based on near-infrared spectroscopy. The detection device uses a light-emitting diode and a filter type near-infrared spectrometer to detect the neck of the rice wine bottle.

发明内容 Contents of the invention

本发明的目的在于提供一种瓶装黄酒标注酒龄快速无损鉴别方法和装置,即使用近红外光谱分析技术确定待鉴别黄酒的酒龄是否与其所标注的酒龄一致的方法和装置。The purpose of the present invention is to provide a method and device for fast and non-destructive identification of bottled rice wine marked wine age, that is, a method and device for determining whether the wine age of rice wine to be identified is consistent with the marked wine age by using near-infrared spectral analysis technology.

一、瓶装黄酒标注酒龄快速无损鉴别方法1. Rapid and non-destructive identification method for bottled yellow rice wine marked wine age

1)采集生产厂家提供的黄酒样品的空瓶的近红外光谱,作为背景光谱;1) collect the near-infrared spectrum of the empty bottle of the yellow rice wine sample that manufacturer provides, as background spectrum;

2)对一组由生产厂家提供的酒龄相同的瓶装黄酒样品S1分别采集近红外光谱,得到每一个样本的近红外光谱,作为原始样本光谱;全部样本的原始样本光谱构成样本光谱集;2) Collect near-infrared spectra for a group of bottled rice wine samples S1 with the same wine age provided by the manufacturer, and obtain the near-infrared spectra of each sample as the original sample spectrum; the original sample spectra of all samples constitute the sample spectrum set;

3)从每一个原始样本光谱中扣除背景光谱,得到每一个样本的样本光谱;3) subtract the background spectrum from each original sample spectrum to obtain the sample spectrum of each sample;

4)对每一个样本光谱进行21点平滑处理,得到每一个样本的真实样本光谱;4) Perform 21-point smoothing processing on each sample spectrum to obtain the real sample spectrum of each sample;

5)对全部真实样本光谱进行主成分分析,得到样本特征波长集;5) Perform principal component analysis on all real sample spectra to obtain the sample characteristic wavelength set;

6)取样本特征波长处的光谱值,构成特征光谱矢量Xs1,对全部特征光谱矢量Xs1作均值处理,得到样本特征光谱矢量中心Xso16) Take the spectral value at the characteristic wavelength of the sample to form the characteristic spectral vector X s1 , perform mean value processing on all the characteristic spectral vectors X s1 to obtain the sample characteristic spectral vector center X so1 ;

7)对其它组酒龄的瓶装黄酒样品Si分别按2)至6)处理,得到一组样本特征光谱矢量中心Xsoi7) Process the bottled rice wine samples S i of other groups of wine age according to 2) to 6) respectively to obtain a group of sample characteristic spectral vector centers X soi ;

8)采集待鉴别瓶装黄酒的近红外光谱,并按3)和4)处理其近红外光谱后,取其特征波长处的光谱值,构成待测黄酒的特征光谱矢量,计算待测黄酒的特征光谱矢量到样本特征光谱矢量中心的马氏距离值dj,记录dj取得最小值的样本特征光谱矢量中心Xsoj,则判断该样本与特征光谱矢量中心Xsoj所对应样本的酒龄相符合。8) Collect the near-infrared spectrum of the bottled yellow wine to be identified, and after processing its near-infrared spectrum according to 3) and 4), get the spectral value at its characteristic wavelength to form the characteristic spectrum vector of the yellow rice wine to be tested, and calculate the characteristic of the yellow rice wine to be tested The Mahalanobis distance value d j from the spectral vector to the sample characteristic spectral vector center, record the sample characteristic spectral vector center X soj with the minimum value of d j , then judge that the sample is consistent with the wine age of the sample corresponding to the characteristic spectral vector center X soj .

计算待测黄酒的特征光谱矢量到样本特征光谱矢量中心的马氏距离值dj的方法为:The method of calculating the Mahalanobis distance value d j from the characteristic spectrum vector of the rice wine to be tested to the center of the characteristic spectrum vector of the sample is:

dd (( SS ,, SS jj )) == ΣΣ ii == 11 NN (( xx SiSi -- xx SojiSoji )) 22 -- -- -- (( 11 ))

d(S,Sj)——待测样本S到样本Sj特征光谱矢量中心Xsoj的马氏距离;d(S, S j )——the Mahalanobis distance from the sample S to be tested to the center X soj of the characteristic spectrum vector of the sample S j ;

xSi——待测样本S的特征光谱矢量Xs第i个分量;x Si - the i-th component of the characteristic spectrum vector X s of the sample S to be tested;

xSoji——样本Sj的特征光谱矢量中心Xsoj第i个分量。x Soji ——the i-th component of the characteristic spectral vector center X soj of the sample S j .

二、瓶装黄酒标注酒龄快速无损鉴别装置2. Rapid and non-destructive identification device for labeling wine age in bottled rice wine

包括电脑、光源、入射光纤、入射光纤固定器、检测支架、样品定位夹紧台、接收透镜、接收光纤、光栅型光纤光谱仪、触发电路、反向器和工件检测传感器。光源的出射面与入射光纤的接收面连接,入射光纤与入射光纤固定器连接,入射光纤固定器固定在检测支架的一侧;入射光纤固定器与接收透镜呈同轴对向设置,接收透镜紧固在检测支架的另一侧;接收光纤的一端连接在接收透镜上,另一端连接在光栅型光纤光谱仪上,光栅型光纤光谱仪通过USB线与电脑连接;样品定位夹紧台紧固在检测支架底部;工件检测传感器安装在检测支架的底部且靠近入射光纤固定器的一侧;工件检测传感器输出端与反向器的输入端连接,反向器的输出端与触发电路的输入端连接,触发电路的输出端与光栅型光纤光谱仪连接。Including computer, light source, incident optical fiber, incident optical fiber holder, detection bracket, sample positioning and clamping table, receiving lens, receiving optical fiber, grating-type optical fiber spectrometer, trigger circuit, reverser and workpiece detection sensor. The outgoing surface of the light source is connected to the receiving surface of the incident fiber, the incident fiber is connected to the incident fiber holder, and the incident fiber holder is fixed on one side of the detection bracket; the incident fiber holder and the receiving lens are arranged coaxially opposite, and the receiving lens is tightly It is fixed on the other side of the detection bracket; one end of the receiving fiber is connected to the receiving lens, and the other end is connected to the grating-type fiber optic spectrometer, which is connected to the computer through a USB cable; the sample positioning and clamping table is fastened to the detection bracket Bottom; the workpiece detection sensor is installed at the bottom of the detection bracket and on the side close to the incident fiber holder; the output end of the workpiece detection sensor is connected to the input end of the reverser, and the output end of the reverser is connected to the input end of the trigger circuit to trigger The output end of the circuit is connected with the grating type fiber optic spectrometer.

所述的触发电路是由CB7555构成的触发电路,定时器CB7555的2引脚ui信号由工件检测传感器输出经反向器输入,电阻R、第一电容C1与5V电源及地构成充放电路,第二电容C2连接于定时器CB7555的1引脚与5引脚之间,4、8引脚接到UDD上,6,7引脚短接并连接在电阻R与第一电容C1之间,触发电路输出信号u0由定时器CB7555的3引脚输出。The trigger circuit is a trigger circuit composed of CB7555, the 2-pin u i signal of the timer CB7555 is output by the workpiece detection sensor and input through the inverter, and the resistor R, the first capacitor C1 and the 5V power supply and ground form a charge-discharge circuit , the second capacitor C2 is connected between pin 1 and pin 5 of the timer CB7555, pins 4 and 8 are connected to U DD , pins 6 and 7 are short-circuited and connected between the resistor R and the first capacitor C1 During, trigger circuit output signal u 0 is output by 3 pins of timer CB7555.

本发明具有的有益效果是:通过对待测样本近红外光谱的主成分进行马氏距离分析,减少了计算量,能简便、快速、无损地鉴别待测黄酒的标注酒龄,且鉴别正确率高。The beneficial effect of the present invention is: by performing the Mahalanobis distance analysis on the main components of the near-infrared spectrum of the sample to be tested, the amount of calculation is reduced, and the marked wine age of the rice wine to be tested can be easily, quickly and nondestructively identified, and the identification accuracy is high .

附图说明 Description of drawings

图1是瓶装黄酒标注酒龄快速无损鉴别分析流程图;Fig. 1 is a flow chart of fast and non-destructive identification and analysis of bottled yellow rice wine marked wine age;

图2是瓶装黄酒标注酒龄快速无损鉴别装置示意图;Fig. 2 is a schematic diagram of a fast and non-destructive identification device for labeling wine age in bottled rice wine;

图3是CB7555构成的触发电路图;Figure 3 is a trigger circuit diagram composed of CB7555;

图4是4年陈和5年陈样品集分类结果。Figure 4 shows the classification results of 4-year-old and 5-year-old sample sets.

图2中:1、电脑;2、光源;3、入射光纤;4、入射光纤固定器;5、检测支架;6、样品定位夹紧台;7、接收透镜;8、接收光纤;9、光栅型光纤光谱仪;10、触发电路;11、反向器;12、工件检测传感器。In Figure 2: 1. Computer; 2. Light source; 3. Incident optical fiber; 4. Incident optical fiber holder; Type fiber optic spectrometer; 10. Trigger circuit; 11. Inverter; 12. Workpiece detection sensor.

具体实施方式 Detailed ways

基于近红外光谱分析技术的瓶装黄酒标注酒龄快速无损鉴别方法:A rapid and non-destructive identification method for bottled rice wine marked wine age based on near-infrared spectroscopy analysis technology:

1)采集生产厂家提供的黄酒样品的空瓶的近红外光谱,作为背景光谱;1) collect the near-infrared spectrum of the empty bottle of the yellow rice wine sample that manufacturer provides, as background spectrum;

2)对一组由生产厂家提供的酒龄相同的瓶装黄酒样品S1分别采集近红外光谱,得到每一个样本的近红外光谱,作为原始样本光谱;全部样本的原始样本光谱构成样本光谱集;2) Collect near-infrared spectra for a group of bottled rice wine samples S1 with the same wine age provided by the manufacturer, and obtain the near-infrared spectra of each sample as the original sample spectrum; the original sample spectra of all samples constitute the sample spectrum set;

3)从每一个原始样本光谱中扣除背景光谱,得到每一个样本的样本光谱;3) subtract the background spectrum from each original sample spectrum to obtain the sample spectrum of each sample;

4)对每一个样本光谱进行21点平滑处理,得到每一个样本的真实样本光谱;4) Perform 21-point smoothing processing on each sample spectrum to obtain the real sample spectrum of each sample;

5)对全部真实样本光谱进行主成分分析,得到样本特征波长集;5) Perform principal component analysis on all real sample spectra to obtain the sample characteristic wavelength set;

6)取样本特征波长处的光谱值,构成特征光谱矢量Xs1,对全部特征光谱矢量Xs1作均值处理,得到样本特征光谱矢量中心Xso16) Take the spectral value at the characteristic wavelength of the sample to form the characteristic spectral vector X s1 , perform mean value processing on all the characteristic spectral vectors X s1 to obtain the sample characteristic spectral vector center X so1 ;

7)对其它组酒龄的瓶装黄酒样品Si分别按2)至6)处理,得到一组样本特征光谱矢量中心Xsoi7) Process the bottled rice wine samples S i of other groups of wine age according to 2) to 6) respectively to obtain a group of sample characteristic spectral vector centers X soi ;

8)采集待鉴别瓶装黄酒的近红外光谱,并按3)和4)处理其近红外光谱后,取其特征波长处的光谱值,构成待测黄酒的特征光谱矢量,计算待测黄酒的特征光谱矢量到样本特征光谱矢量中心的马氏距离值dj,记录dj取得最小值的样本特征光谱矢量中心Xsoj,则判断该样本与特征光谱矢量中心Xsoj所对应样本的酒龄相符合。8) Collect the near-infrared spectrum of the bottled yellow wine to be identified, and after processing its near-infrared spectrum according to 3) and 4), get the spectral value at its characteristic wavelength to form the characteristic spectrum vector of the yellow rice wine to be tested, and calculate the characteristic of the yellow rice wine to be tested The Mahalanobis distance value d j from the spectral vector to the sample characteristic spectral vector center, record the sample characteristic spectral vector center X soj with the minimum value of d j , then judge that the sample is consistent with the wine age of the sample corresponding to the characteristic spectral vector center X soj .

本发明采用主成分-马氏距离判别分析法建立基于近红外光谱分析技术的瓶装黄酒标注酒龄鉴别模型。The invention adopts a principal component-Mahalanobis distance discriminant analysis method to establish a wine age identification model based on near-infrared spectrum analysis technology for labeling bottled rice wine.

首先,进行主成分分析。First, principal component analysis is performed.

主成分分析是构造黄酒样品集的样本特征波长处的光谱值(m×n矩阵)的不相关的线性组合。在本发明中,选取方差贡献率最大的为10个主成分,其累积方差贡献率大于80%,Principal component analysis is an uncorrelated linear combination of spectral values (m×n matrix) at the characteristic wavelengths of the samples to construct the rice wine sample set. In the present invention, the 10 principal components with the largest variance contribution rate are selected, and the cumulative variance contribution rate is greater than 80%.

其次,采用马氏距离判别分析法对黄酒样品集的光谱信息阵X进行判别分析。Secondly, the Mahalanobis distance discriminant analysis method was used to conduct discriminant analysis on the spectral information array X of the rice wine sample set.

对p个标注酒龄的黄酒样品集黄酒样品集S1,S2,...,Sp,分别计算出它们的特征光谱矢量中心Xsoj。对于一个待测对象S,用公式1计算其到各样本特征光谱矢量中心Xsoj的马氏距离:For p yellow rice wine sample sets S 1 , S 2 ,..., S p marked with wine age, their characteristic spectrum vector centers X soj are calculated respectively. For an object S to be measured, use formula 1 to calculate its Mahalanobis distance to the center Xsoj of the characteristic spectrum vector of each sample:

dd (( SS ,, SS jj )) == ΣΣ ii == 11 NN (( xx SiSi -- xx SojiSoji )) 22 -- -- -- (( 11 ))

d(S,Sj)——待测样本S到样本Sj特征光谱矢量中心Xsoj的马氏距离d(S, S j )——the Mahalanobis distance from the sample S to be tested to the center X soj of the characteristic spectrum vector of the sample S j

xSi——待测样本S的特征光谱矢量Xs第i个分量x Si ——the i-th component of the characteristic spectrum vector X s of the sample S to be tested

xSoji——样本Sj的特征光谱矢量中心Xsoj第i个分量x Soji - the i-th component of the characteristic spectral vector center X soj of the sample S j

然后,根据待测对象S到黄酒样品集S1,S2,...,Sp的距离来确定样本的归属:Then, according to the distance between the object S to be tested and the rice wine sample set S 1 , S 2 ,..., S p to determine the belonging of the sample:

S∈Sj    如d(S,Sj)=min{d(S,S1),d(S,S2),...,d(S,Sp)}    (2)S∈S j such as d(S, S j )=min{d(S, S 1 ), d(S, S 2 ),..., d(S, S p )} (2)

当鉴别结果与待测瓶装黄酒标注酒龄相同时,判定标注酒龄正确。When the identification result is the same as the marked wine age of the bottled rice wine to be tested, it is determined that the marked wine age is correct.

本发明所述鉴别模型对于所述建模样品标注酒龄的判别正确率不小于95%,对于待测瓶装黄酒标注酒龄的判别正确率不小于90%。The identification model of the present invention has a correct rate of not less than 95% for labeling the wine age of the modeling sample, and not less than 90% for the labeling of the bottled rice wine to be tested.

用于实现基于近红外光谱分析技术的瓶装黄酒标注酒龄快速无损鉴别装置为:The device used to realize the rapid and non-destructive identification of bottled rice wine labeling wine age based on near-infrared spectral analysis technology is:

如图2所示,本发明的基于近红外光谱分析技术的瓶装黄酒标注酒龄快速无损鉴别装置,包括电脑1、光源2、入射光纤3、入射光纤固定器4、检测支架5、样品定位夹紧台6、接收透镜7、接收光纤8、光栅型光纤光谱仪9、触发电路10、反向器11、工件检测传感器12。光源2的出射面与入射光纤3的接收面连接,入射光纤3与入射光纤固定器4连接,入射光纤固定器4固定在检测支架5的一侧;入射光纤固定器4与接收透镜7呈同轴对向设置,接收透镜7紧固在检测支架5的另一侧;接收光纤8的一端连接在接收透镜7上,另一端连接在光栅型光纤光谱仪9上,光栅型光纤光谱仪9通过USB线与电脑1连接;样品定位夹紧台6紧固在检测支架5底部;工件检测传感器12安装在检测支架5的底部且靠近入射光纤固定器4的一侧;工件检测传感器12输出端与反向器11的输入端连接,反向器11的输出端与触发电路10的输入端连接,触发电路10的输出端与光栅型光纤光谱仪9连接。As shown in Figure 2, the bottled rice wine labeling wine age based on near-infrared spectral analysis technology of the present invention is quickly and non-destructively identified, including a computer 1, a light source 2, an incident optical fiber 3, an incident optical fiber holder 4, a detection bracket 5, and a sample positioning clip tight platform 6, receiving lens 7, receiving optical fiber 8, grating fiber optic spectrometer 9, trigger circuit 10, inverter 11, workpiece detection sensor 12. The outgoing surface of the light source 2 is connected to the receiving surface of the incident optical fiber 3, the incident optical fiber 3 is connected to the incident optical fiber holder 4, and the incident optical fiber holder 4 is fixed on one side of the detection bracket 5; the incident optical fiber holder 4 and the receiving lens 7 are in the same shape The shafts are oppositely arranged, and the receiving lens 7 is fastened on the other side of the detection bracket 5; one end of the receiving optical fiber 8 is connected to the receiving lens 7, and the other end is connected to the grating-type fiber optic spectrometer 9, and the grating-type fiber optic spectrometer 9 is connected through a USB cable. Connect with the computer 1; the sample positioning and clamping platform 6 is fastened on the bottom of the detection bracket 5; the workpiece detection sensor 12 is installed on the bottom of the detection bracket 5 and close to the side of the incident fiber holder 4; the output end of the workpiece detection sensor 12 is connected to the reverse The input end of the inverter 11 is connected, the output end of the inverter 11 is connected with the input end of the trigger circuit 10, and the output end of the trigger circuit 10 is connected with the grating type fiber optic spectrometer 9.

本发明的光源2选用美海洋光学公司(Ocean Optics Inc.,USA)的HL-2000-HP光源(HL-2000-HP Tungsten Halogen Light Source);入射光纤固定器4选用美海洋光学公司的74-UV透镜固定器件(74-UV Lens Fixtures);接收透镜7选用美海洋光学公司的84-UV-25透镜(84-UV-25 Lens Fixture);光栅型光纤光谱仪9采用CCD检测器,波段范围为600-1200nm;触发电路10选用555集成定时器构成的单稳态触发器;反向器11选用74LS14反向器;工件检测传感器12选用PL-P-Y压力变送器。The light source 2 of the present invention selects the HL-2000-HP light source (HL-2000-HP Tungsten Halogen Light Source) of American Ocean Optics Inc. (Ocean Optics Inc., USA) for use; UV lens fixture (74-UV Lens Fixtures); the receiving lens 7 selects the 84-UV-25 lens (84-UV-25 Lens Fixture) of American Ocean Optics; 600-1200nm; the trigger circuit 10 uses a monostable trigger composed of 555 integrated timers; the inverter 11 uses a 74LS14 inverter; the workpiece detection sensor 12 uses a PL-P-Y pressure transmitter.

如图3所示,所述的触发电路10是由CB7555构成的触发电路,定时器CB7555的2引脚ui信号由工件检测传感器12输出经反向器11输入,电阻R、第一电容C1与5V电源及地构成充放电路,第二电容C2连接于定时器CB7555的1引脚与5引脚之间,4、8引脚接到UDD上,6,7引脚短接并连接在电阻R与第一电容C1之间,触发电路输出信号u0由定时器CB7555的3引脚输出。As shown in Figure 3, described trigger circuit 10 is the trigger circuit that is made up of CB7555, and the 2 pin u i signals of timer CB7555 are output by workpiece detection sensor 12 and input through inverter 11, resistance R, first electric capacity C1 It forms a charging and discharging circuit with 5V power supply and ground, the second capacitor C2 is connected between pin 1 and pin 5 of the timer CB7555, pins 4 and 8 are connected to U DD , pins 6 and 7 are shorted and connected Between the resistor R and the first capacitor C1, the output signal u0 of the trigger circuit is output by pin 3 of the timer CB7555.

本发明结合图1、图2、图3说明具体工作过程:The present invention illustrates concrete work process in conjunction with Fig. 1, Fig. 2, Fig. 3:

开光源2,预热30分钟。打开电脑1并打开光谱采集软件,设置参数。Turn on light source 2 and preheat for 30 minutes. Turn on the computer 1 and open the spectrum acquisition software, and set the parameters.

根据待测瓶装黄酒的瓶子形状和尺寸选择适合相应形状和尺寸的样品定位夹紧台6,并将样品定位夹紧台6紧固在将检测支架5底部。然后,将待测样品(包括空瓶和待测瓶装黄酒)放置在样品定位夹紧台6中。According to the bottle shape and size of the bottled rice wine to be tested, select a sample positioning and clamping platform 6 suitable for the corresponding shape and size, and fasten the sample positioning and clamping platform 6 to the bottom of the detection bracket 5 . Then, the samples to be tested (including empty bottles and bottled rice wine to be tested) are placed in the sample positioning and clamping table 6 .

工件检测传感器12检测到样品的压力信号(高压信号)后,将该信号输出给反向器11;反向器11将高压信号转换成低压信号,并输出到触发电路10,作为触发电路10的输入信号ui。系统通过触发电路10触发光栅型光纤光谱仪9,光栅型光纤光谱仪9进入工作状态。当无样品的压力信号(低压信号)时,反向器11输出到触发电路10的信号为高压信号,触发电路10处于稳定状态,光栅型光纤光谱仪9不工作。After the workpiece detection sensor 12 detects the pressure signal (high voltage signal) of the sample, the signal is output to the inverter 11; the inverter 11 converts the high voltage signal into a low voltage signal, and outputs it to the trigger circuit 10 as the Input signal u i . The system triggers the grating-type fiber optic spectrometer 9 through the trigger circuit 10, and the grating-type fiber optic spectrometer 9 enters a working state. When there is no pressure signal (low voltage signal) of the sample, the signal output from the inverter 11 to the trigger circuit 10 is a high voltage signal, the trigger circuit 10 is in a stable state, and the grating-type fiber optic spectrometer 9 does not work.

首先采集空瓶光谱,然后采集待测瓶装黄酒的近红外光谱。First collect the spectrum of the empty bottle, and then collect the near-infrared spectrum of the bottled rice wine to be tested.

光源2发出的光通过入射光纤3和入射光纤固定器4照射到待测瓶装黄酒上,接收透镜7收集透过待测瓶装黄酒被检测部位的透射光,并映射到接收光纤8上。The light emitted by the light source 2 is irradiated onto the bottled rice wine to be tested through the incident optical fiber 3 and the incident optical fiber holder 4, and the receiving lens 7 collects the transmitted light passing through the detected part of the bottled rice wine to be tested, and maps it to the receiving optical fiber 8.

光纤8将光信号传给光栅型光谱仪9,光栅型光谱仪9将光信号转化成光谱数字信号,并输入电脑1。The optical fiber 8 transmits the optical signal to the grating-type spectrometer 9 , and the grating-type spectrometer 9 converts the optical signal into a spectral digital signal and inputs it into the computer 1 .

在电脑1中,安装按图1所示的瓶装黄酒标注酒龄快速无损鉴别分析流程图编制的软件,然后进行黄酒标注酒龄快速无损鉴别试验;In the computer 1, install the software compiled by the bottled rice wine labeling wine age fast nondestructive identification analysis flow chart shown in Figure 1, then carry out the yellow rice wine label wine age fast nondestructive identification test;

图4是4年陈和5年陈样品集的分类结果,其中有一个4年陈的酒样被标注为5年陈,在从图4上很清晰地表示出来了。Figure 4 is the classification result of the 4-year-old and 5-year-old sample sets, and one of the 4-year-old wine samples is marked as 5-year-old, which is clearly shown in Figure 4.

Claims (4)

1.一种瓶装黄酒标注酒龄快速无损鉴别方法,其特征在于该方法的步骤如下:1. A fast and non-destructive identification method for labeling wine age in bottled rice wine, characterized in that the steps of the method are as follows: 1)采集生产厂家提供的黄酒样品的空瓶的近红外光谱,作为背景光谱;1) collect the near-infrared spectrum of the empty bottle of the yellow rice wine sample that manufacturer provides, as background spectrum; 2)对一组由生产厂家提供的酒龄相同的瓶装黄酒样品S1分别采集近红外光谱,得到每一个样本的近红外光谱,作为原始样本光谱;全部样本的原始样本光谱构成样本光谱集;2) Collect near-infrared spectra for a group of bottled rice wine samples S1 with the same wine age provided by the manufacturer, and obtain the near-infrared spectra of each sample as the original sample spectrum; the original sample spectra of all samples constitute the sample spectrum set; 3)从每一个原始样本光谱中扣除背景光谱,得到每一个样本的样本光谱;3) subtract the background spectrum from each original sample spectrum to obtain the sample spectrum of each sample; 4)对每一个样本光谱进行21点平滑处理,得到每一个样本的真实样本光谱;4) Perform 21-point smoothing processing on each sample spectrum to obtain the real sample spectrum of each sample; 5)对全部真实样本光谱进行主成分分析,得到样本特征波长集;5) Perform principal component analysis on all real sample spectra to obtain the sample characteristic wavelength set; 6)取样本特征波长处的光谱值,构成特征光谱矢量Xs1,对全部特征光谱矢量Xs1作均值处理,得到样本特征光谱矢量中心Xso16) Take the spectral value at the characteristic wavelength of the sample to form the characteristic spectral vector X s1 , perform mean value processing on all the characteristic spectral vectors X s1 to obtain the sample characteristic spectral vector center X so1 ; 7)对其它组酒龄的瓶装黄酒样品Si分别按2)至6)处理,得到一组样本特征光谱矢量中心Xsoi7) Process the bottled rice wine samples S i of other groups of wine age according to 2) to 6) respectively to obtain a group of sample characteristic spectral vector centers X soi ; 8)采集待鉴别瓶装黄酒的近红外光谱,并按3)和4)处理其近红外光谱后,取其特征波长处的光谱值,构成待测黄酒的特征光谱矢量,计算待测黄酒的特征光谱矢量到样本特征光谱矢量中心的马氏距离值dj,记录dj取得最小值的样本特征光谱矢量中心Xsoj,则判断该样本与特征光谱矢量中心Xsoj所对应样本的酒龄相符合。8) Collect the near-infrared spectrum of the bottled yellow wine to be identified, and after processing its near-infrared spectrum according to 3) and 4), get the spectral value at its characteristic wavelength to form the characteristic spectrum vector of the yellow rice wine to be tested, and calculate the characteristic of the yellow rice wine to be tested The Mahalanobis distance value d j from the spectral vector to the sample characteristic spectral vector center, record the sample characteristic spectral vector center X soj with the minimum value of d j , then judge that the sample is consistent with the wine age of the sample corresponding to the characteristic spectral vector center X soj . 2.根据权利要求1所述的一种瓶装黄酒标注酒龄快速无损鉴别方法,其特征在于:计算待测黄酒的特征光谱矢量到样本特征光谱矢量中心的马氏距离值dj的方法为:2. a kind of bottled yellow rice wine labeling wine age fast non-destructive identification method according to claim 1 is characterized in that: the method for calculating the Mahalanobis distance value d j of the characteristic spectrum vector of yellow rice wine to be measured to the sample characteristic spectrum vector center is: dd (( SS ,, SS jj )) == ΣΣ ii == 11 NN (( xx SiSi -- xx SojiSoji )) 22 -- -- -- (( 11 )) d(S,Sj)——待测样本S到样本Sj特征光谱矢量中心Xsoj的马氏距离;d(S, S j )——the Mahalanobis distance from the sample S to be tested to the center X soj of the characteristic spectrum vector of the sample S j ; xSi——待测样本S的特征光谱矢量Xs第i个分量;x Si - the i-th component of the characteristic spectrum vector X s of the sample S to be tested; xSoji——样本Sj的特征光谱矢量中心Xsoj第i个分量。x Soji ——the i-th component of the characteristic spectral vector center X soj of the sample S j . 3.一种瓶装黄酒标注酒龄快速无损鉴别装置,其特征在于:包括电脑(1)、光源(2)、入射光纤(3)、入射光纤固定器(4)、检测支架(5)、样品定位夹紧台(6)、接收透镜(7)、接收光纤(8)、光栅型光纤光谱仪(9)、触发电路(10)、反向器(11)和工件检测传感器(12);光源(2)的出射面与入射光纤(3)的接收面连接,入射光纤(3)与入射光纤固定器(4)连接,入射光纤固定器(4)固定在检测支架(5)的一侧;入射光纤固定器(4)与接收透镜(7)呈同轴对向设置,接收透镜(7)紧固在检测支架(5)的另一侧;接收光纤(8)的一端连接在接收透镜(7)上,另一端连接在光栅型光纤光谱仪(9)上,光栅型光纤光谱仪(9)通过USB线与电脑(1)连接;样品定位夹紧台(6)紧固在检测支架(5)底部;工件检测传感器(12)安装在检测支架(5)的底部且靠近入射光纤固定器(4)的一侧;工件检测传感器(12)输出端与反向器(11)的输入端连接,反向器(11)的输出端与触发电路(10)的输入端连接,触发电路(10)的输出端与光栅型光纤光谱仪(9)连接。3. A fast and non-destructive identification device for labeling wine age in bottled rice wine, characterized in that it includes a computer (1), a light source (2), an incident optical fiber (3), an incident optical fiber holder (4), a detection bracket (5), a sample Positioning and clamping table (6), receiving lens (7), receiving optical fiber (8), grating type fiber optic spectrometer (9), trigger circuit (10), inverter (11) and workpiece detection sensor (12); light source ( 2) is connected to the receiving surface of the incident fiber (3), the incident fiber (3) is connected to the incident fiber holder (4), and the incident fiber holder (4) is fixed on one side of the detection bracket (5); The optical fiber holder (4) and the receiving lens (7) are coaxially oppositely arranged, and the receiving lens (7) is fastened on the other side of the detection bracket (5); one end of the receiving optical fiber (8) is connected to the receiving lens (7). ), the other end is connected to the grating-type fiber optic spectrometer (9), and the grating-type fiber optic spectrometer (9) is connected to the computer (1) through a USB cable; the sample positioning and clamping table (6) is fastened to the bottom of the detection bracket (5) The workpiece detection sensor (12) is installed on the bottom of the detection bracket (5) and near the side of the incident optical fiber holder (4); the output end of the workpiece detection sensor (12) is connected with the input end of the inverter (11), and the reverse The output end of the directing device (11) is connected with the input end of the trigger circuit (10), and the output end of the trigger circuit (10) is connected with the grating type optical fiber spectrometer (9). 4.根据权利要求3所述的一种瓶装黄酒标注酒龄快速无损鉴别装置,,其特征在于:所述的触发电路(10)是由CB7555构成的触发电路,定时器CB7555的2引脚ui信号由工件检测传感器(12)输出经反向器(11)输入,电阻R、第一电容C1与5V电源及地构成充放电路,第二电容C2连接于定时器CB7555的1引脚与5引脚之间,4、8引脚接到UDD上,6,7引脚短接并连接在电阻R与第一电容C1之间,触发电路输出信号u0由定时器CB7555的3引脚输出。4. A fast and non-destructive identification device for labeling wine age of bottled rice wine according to claim 3, characterized in that: the trigger circuit (10) is a trigger circuit composed of CB7555, and the 2-pin u of timer CB7555 The i signal is output by the workpiece detection sensor (12) and input through the inverter (11). The resistor R, the first capacitor C1 and the 5V power supply and ground form a charging and discharging circuit. The second capacitor C2 is connected to the 1 pin of the timer CB7555 and Between the 5 pins, the 4 and 8 pins are connected to U DD , the 6 and 7 pins are short-circuited and connected between the resistor R and the first capacitor C1, the output signal u0 of the trigger circuit is output by the pin 3 of the timer CB7555 pin output.
CNB2007100667212A 2007-01-15 2007-01-15 Method and device for rapid and non-destructive identification of bottled yellow rice wine marked wine age Expired - Fee Related CN100449302C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2007100667212A CN100449302C (en) 2007-01-15 2007-01-15 Method and device for rapid and non-destructive identification of bottled yellow rice wine marked wine age

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2007100667212A CN100449302C (en) 2007-01-15 2007-01-15 Method and device for rapid and non-destructive identification of bottled yellow rice wine marked wine age

Publications (2)

Publication Number Publication Date
CN101000303A CN101000303A (en) 2007-07-18
CN100449302C true CN100449302C (en) 2009-01-07

Family

ID=38692361

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2007100667212A Expired - Fee Related CN100449302C (en) 2007-01-15 2007-01-15 Method and device for rapid and non-destructive identification of bottled yellow rice wine marked wine age

Country Status (1)

Country Link
CN (1) CN100449302C (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102645502A (en) * 2012-04-23 2012-08-22 上海应用技术学院 Method for detecting age of yellow rice wine by using high-speed gas chromatography type electronic nose fingerprint analysis system
CN102967597A (en) * 2012-09-26 2013-03-13 江苏大学 Olfactory imaging sensing technology based yellow wine storage time identification method and identification system
CN103792221A (en) * 2014-02-07 2014-05-14 上海应用技术学院 Method for quickly identifying storage time of yellow rice wine based on Raman spectrum
CN103884705B (en) * 2014-04-08 2016-08-10 苏州优谱德精密仪器科技有限公司 Puree wine detection and packaging device
CN105510273B (en) * 2015-11-25 2018-08-31 中国农业大学 A kind of dregs of beans fidelity discrimination method based on microscopic spectrum feature
CN110108695B (en) * 2019-05-17 2021-11-02 广西科技大学 Background Dark Noise Subtraction Method for Raman Spectrometer Using Grating Array Detector
CN115032172A (en) * 2019-12-06 2022-09-09 天津中医药大学 Bottled oral liquid quality nondestructive rapid detection device based on near infrared spectrum
CN112730311A (en) * 2020-12-25 2021-04-30 北京领主科技有限公司 Object spectrum acquisition equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1214769A (en) * 1996-02-02 1999-04-21 量度测试设备股份有限公司 Method and apparatus for multi-spectral analysis in noninvasive NIR spectroscopy
CN1789981A (en) * 2005-12-16 2006-06-21 浙江大学 Intelligent device for quickly identifying age of Chinese rice wine based on near infrared spectrum

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1214769A (en) * 1996-02-02 1999-04-21 量度测试设备股份有限公司 Method and apparatus for multi-spectral analysis in noninvasive NIR spectroscopy
CN1789981A (en) * 2005-12-16 2006-06-21 浙江大学 Intelligent device for quickly identifying age of Chinese rice wine based on near infrared spectrum

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
多光谱图像技术在食品品质检测中的应用与发展. 叶昱程,应义斌.中国食品学报,第3卷第4期. 2003
多光谱图像技术在食品品质检测中的应用与发展. 叶昱程,应义斌.中国食品学报,第3卷第4期. 2003 *
现代近红外光谱技术及应用进展. 徐广通,袁洪福,陆婉珍.光谱学与光谱分析,第20卷第2期. 2000
现代近红外光谱技术及应用进展. 徐广通,袁洪福,陆婉珍.光谱学与光谱分析,第20卷第2期. 2000 *

Also Published As

Publication number Publication date
CN101000303A (en) 2007-07-18

Similar Documents

Publication Publication Date Title
CN100449302C (en) Method and device for rapid and non-destructive identification of bottled yellow rice wine marked wine age
CN106525759B (en) A method of honey types are identified based on decaying total reflection Terahertz dielectric spectra
CN104198388A (en) Online water quality monitoring device based on composite spectrum measurement
CN107703097A (en) Utilize the method and its application of decay total reflection probe and the model of near infrared spectrometer structure fast prediction oil property
CN106018332A (en) Near-infrared-spectrum citrus yellow shoot disease field detection method
CN105823752B (en) The method that near infrared spectroscopy quickly differentiates edible oil type
CN106841052A (en) A kind of method and system of quick detection meat freshness
CN113267466B (en) Non-destructive detection method for sugar content and acidity of fruit based on spectral wavelength optimization
CN104297206A (en) Quick liquid milk brand identifying method
CN106124445A (en) A kind of quick, Undamaged determination genetically engineered soybean method
CN108195895A (en) A kind of tea leaf nitrogen content rapid detection method based on electronic nose and spectrophotometric color measurement instrument
Dave et al. Optical sensing system for detecting water adulteration in milk
CN107860743A (en) Utilize the method and its application of the model of reflective near infrared fibre-optical probe structure fast prediction oil property
CN104764699A (en) Method for determination of edible oil acid value
CN112505010A (en) Transformer fault diagnosis device and method based on fluorescence spectrum
CN104318249A (en) Grinding surface roughness grade identification method based on multi-classification support vector machine
CN103234923A (en) On-line monitoring method of total sugar content during yellow wine fermentation process
CN109001182B (en) Raman spectrum nondestructive testing method for alcohol content in closed container
CN204008454U (en) Portable near infrared spectrometer for detection of mould index in storage paddy
CN110231328A (en) A kind of Raman spectrum quantitative analysis tech based on half peak height Furthest Neighbor
CN205015270U (en) Optical devices of short -term test biological fluids aspect article
CN108827925A (en) Edible vegetable oil true and false rapid detection method and detection device based on optical fiber type fluorescence spectroscopy technique
CN111766216A (en) A kind of liquor sample testing system and testing method based on near-infrared spectroscopy
CN208239409U (en) A kind of animal products quality inspection device
CN201072405Y (en) Spectral rapid non-destructive detection device for vitamin C content in fruits and vegetables

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: 20090107

Termination date: 20130115

CF01 Termination of patent right due to non-payment of annual fee