CN105300924A - 温度影响下近红外校正模型的无测点补偿建模方法 - Google Patents
温度影响下近红外校正模型的无测点补偿建模方法 Download PDFInfo
- Publication number
- CN105300924A CN105300924A CN201510827829.3A CN201510827829A CN105300924A CN 105300924 A CN105300924 A CN 105300924A CN 201510827829 A CN201510827829 A CN 201510827829A CN 105300924 A CN105300924 A CN 105300924A
- Authority
- CN
- China
- Prior art keywords
- temperature
- near infrared
- measuring point
- sample
- modeling method
- 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.)
- Withdrawn
Links
- 238000000034 method Methods 0.000 title claims abstract description 32
- 230000000694 effects Effects 0.000 title abstract description 3
- 238000001228 spectrum Methods 0.000 claims abstract description 29
- 238000005259 measurement Methods 0.000 claims abstract description 6
- 230000003595 spectral effect Effects 0.000 claims abstract description 5
- 238000012937 correction Methods 0.000 claims description 15
- 238000002329 infrared spectrum Methods 0.000 claims description 10
- 238000000926 separation method Methods 0.000 claims description 5
- 238000007781 pre-processing Methods 0.000 claims description 2
- 238000012360 testing method Methods 0.000 claims description 2
- 238000012545 processing Methods 0.000 claims 2
- 238000012417 linear regression Methods 0.000 claims 1
- 230000000704 physical effect Effects 0.000 abstract description 6
- 230000002159 abnormal effect Effects 0.000 abstract 1
- 238000004364 calculation method Methods 0.000 abstract 1
- 230000002596 correlated effect Effects 0.000 abstract 1
- 238000002203 pretreatment Methods 0.000 abstract 1
- 239000000523 sample Substances 0.000 description 23
- 238000004458 analytical method Methods 0.000 description 8
- 238000001514 detection method Methods 0.000 description 4
- 238000002474 experimental method Methods 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 3
- 229920002521 macromolecule Polymers 0.000 description 3
- 239000000463 material Substances 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 238000010586 diagram Methods 0.000 description 2
- 239000003814 drug Substances 0.000 description 2
- 235000013305 food Nutrition 0.000 description 2
- 238000000053 physical method Methods 0.000 description 2
- 239000000126 substance Substances 0.000 description 2
- QNAYBMKLOCPYGJ-REOHCLBHSA-N L-alanine Chemical compound C[C@H](N)C(O)=O QNAYBMKLOCPYGJ-REOHCLBHSA-N 0.000 description 1
- 238000004497 NIR spectroscopy Methods 0.000 description 1
- 235000004279 alanine Nutrition 0.000 description 1
- 239000008280 blood Substances 0.000 description 1
- 210000004369 blood Anatomy 0.000 description 1
- 239000000470 constituent Substances 0.000 description 1
- 238000011109 contamination Methods 0.000 description 1
- 238000013480 data collection Methods 0.000 description 1
- 238000009826 distribution Methods 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 238000013401 experimental design Methods 0.000 description 1
- 239000012535 impurity Substances 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 239000000203 mixture Substances 0.000 description 1
- 238000009659 non-destructive testing Methods 0.000 description 1
- 238000002360 preparation method Methods 0.000 description 1
- 238000004445 quantitative analysis Methods 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 239000002689 soil Substances 0.000 description 1
- 238000004611 spectroscopical analysis Methods 0.000 description 1
- 238000010183 spectrum analysis Methods 0.000 description 1
- 210000004243 sweat Anatomy 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/01—Arrangements or apparatus for facilitating the optical investigation
- G01N21/03—Cuvette constructions
- G01N21/0332—Cuvette constructions with temperature control
-
- 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
- G01N21/35—Investigating relative effect of material at wavelengths characteristic of specific elements or molecules, e.g. atomic absorption spectrometry using infrared light
- G01N21/359—Investigating relative effect of material at wavelengths characteristic of specific elements or molecules, e.g. atomic absorption spectrometry using infrared light using near infrared light
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01N—INVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
- G01N2201/00—Features of devices classified in G01N21/00
- G01N2201/12—Circuits of general importance; Signal processing
- G01N2201/129—Using chemometrical methods
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
技术领域
本发明涉及在样品温度影响下,具有无测点温度补偿功能的近红外光谱分析仪模型校正方法。适用于受环境温度影响物性参数如物质粘度、发酵过程丙氨酸浓度、食品品质、农产品品质、药品品质、汽油油品等的快速检测,还可适用于人体无创血糖浓度、土壤成分及矿物成分的测量。
背景技术
近年来,近红外光谱分析技术以其快速检测、无损检测、无化学污染、操作简便、样品制备简单等优点,已经广泛地应用于石油化工、食品、农业、医药等行业,它不仅可应用于实验室分析,而且适用于现场快速检测和实时在线分析。当检测仪器从温度精确控制的实验室移到生产现场,测量结果会受环境因素影响。研究表明,无论对于单一组分的近红外光谱或是对于复杂体系,温度对生物组织的光学特性有较大的影响,因此如果样品温度发生变化,近红外光谱分析结果会有明显的变化。
然而,由于分子中不同基团的近红外光谱特征受温度的影响不同,温度对样品光谱的影响不同于对参比的影响。因此近红外光谱分析不能利用参比来消除温度对样品特征的影响。常用的减少温度变化对近红外光谱影响的方法有:将受温度影响的光谱剔除、选取对温度影响不敏感的波段建立分析模型、在模型中加一项修正温度对光谱的影响值等等。这些方法可以用于克服待测样品温度变化对定量分析模型带来的干扰,但目前还没有通用的规则来判断何种情况下使用何种方法,而要根据具体问题进行选择。因此,在温度变化下建立更为通用的、温度适应性更强的近红外检测校正模型,对近红外技术能否有效应用非常关键。
发明内容
本发明提出的方法,将温度作为非分离隐含因素变量参与到近红外建模过程中,因而在使用近红外测量时,可以依赖模型本身对温度的适应性完成不同温度下的物性测量,不需要直接温度测量信息和相关计算,提高了模型的适用范围和对温度的鲁棒性。
本发明为实现上述目的,采用如下技术方案:
本发明步骤分为两个部分。第一部分,建模数据的实验设计和光谱收集;第二部分,近红外光谱的预处理和校正模型的建立。
建模数据的实验设备包括,(1)可对样品温度进行调节的样品池(2)可显示温度变化的温度测量器(3)近红外光谱收集仪器(4)不对样品温度产生明显影响的光学探头。(5)和近红外光谱收集仪器连接的计算机记录装置。整套装置的工作状态如图1所示。
本发明实验和数据收集步骤如下:
实验步骤一:确认样品最大和最小温度值。把温度范围分为多个水平。每个温度水平一般要大于温度测量仪器分辨率5倍,以达到有效区分精度。
实验步骤二:在所规定的标准温度下,对所有样品物性参数取得原始标准分析数据。
实验步骤三:对同一个样品在不同温度水平下分别收集光谱数据。同时记录相对应的样品温度值。此温度值可以用于温度校正模型的建立,也可以作为一个隐含因素变量使用,直接建立具有更好温度适应的物性参数模型。对于把温度仅作为一个非分离隐含变量时,温度值本身的记录不是必须的。
温度作为非分离隐含因素变量建模步骤如下:
建模步骤一:用不同温度水平下的光谱构成目标光谱数据集合,对目标光谱集合进行以待测物性参数模式为目标的预处理。这些预处理包括一种或几种以下算法的叠加运算:一阶导数,二阶导数,最大-最小标准化,基础底线校正,散射校正,常数偏置校正,等等。此处预处理算法的确定以待测物性参数和样品的状态而异。
建模步骤二:对上面产生的预处理后光谱做主元分析(PCA),剔除统计异常值,使得整个预处理光谱数据的主元模式都在一个统计可信度之内。
建模步骤三:基于以上预处理后光谱,以待测物性参数在所规定温度的原始分析值作为预测变量,预处理后光谱波数作为自变量。用偏最小二乘算法(PLS)建立物性参数校正模型:
P=D1y1+D2y2+…Dnyn
此处,P是物性变量在规定标准温度下的测量值,Di,i=1,2,…n是回归系数,yi是预处理后光谱在波数i=1,2,…n处的数值。
本发明方法将温度作为非分离隐含因素变量建立温度校正模型,因而在使用近红外测量时,可以依赖光谱本身对温度的响应,完成不同温度下的物性测量,从而不需要直接温度测量信息和相关计算就可以测量样品的物性参数。本发明所提出的无测点温度补偿方法对温度变化有较佳的鲁棒性。
附图说明
图1无测点温度补偿实验装置
图2一种高分子材料在不同温度的原始光谱
图3经过预处理的不同温度下的局部光谱
图4光谱主元分析和模式异常点
图5一种高分子材料的含杂质水分近红外模型
图6建模所用光谱波数范围
图7具有温度补偿的预测模型结果
图8温度影响下近红外校正模型的无测点补偿建模方法实施步骤框图
具体实施方式
以下以一种高分子化合物的杂质水分测量为例,说明具体实施方法。这个示例不构成对本发明方法的范围限制。
温度影响下近红外校正模型的无测点补偿建模方法实施步骤框图如图8所示,具体包括以下步骤:
步骤一:采集具有代表性的样品,要保证样品的待测物性参数覆盖测量要求的范围。样品总数在40-60个。
步骤二:利用图1所示的实验室设备,在24℃、35℃、50℃、60℃、70℃五个不同温度水平下采集各个样品的近红外光谱。如图2是一种高分子化合物在不同温度的原始光谱。
步骤三:对光谱进行不同的预处理并做比较,以决定最后适用的预处理方法。示例中,对高分子高粘性样品进行了一阶导数处理,处理效果如图3所示。经过处理后的光谱消除了由于光源老化,探头震动以及探头与样品接触度等因素带来的光谱上下漂移,同时又保留了温度对光谱峰值和形状影响的有效信息。
步骤四:对上面产生的预处理后光谱做主元分析(PCA),剔除统计异常值,使得整个预处理光谱数据的主元模式都在一个统计可信度之内。如图4所示主元模式图中,有四个奇异点,予以剔除。
步骤五:基于以上预处理后光谱,以待测物性参数在所规定温度的原始分析值作为预测变量,预处理后光谱波数作为自变量。用偏最小二乘算法(PLS)建立物性参数校正模型:
P=D1y1+D2y2+…Dnyn
此处,P是物性变量在规定标准温度下的测量值,Di,i=1,2,…n是回归系数,yi是预处理后光谱在波数i=1,2,…n处的数值。
图5是一种高分子材料的含杂质水分近红外模型,模型预测值与实测值的相关性为0.98,模型精度R2为0.95。图6是模型使用的波数,所示建模所用光谱波数范围为9700-9210cm-1;8600-8423cm-1和7600-4497cm-1。图7是具有温度补偿的预测模型结果。本例中,样品温度从24-70度变化,所建立的无测点温度补偿模型的测量结果对温度变化有较好的鲁棒性。
Claims (5)
1.一种近红外光谱测量中受温度影响的无测点温度修正建模方法,其特征在于该方法包括如下步骤:
步骤一:采集多个样品的物性参数实验室标准数据,并针对同一样品进行不同温度水平下的近红外光谱采集;
步骤二:对步骤一中所采集的近红外光谱进行不同的预处理并做比较;
步骤三:对步骤二中产生的近红外光谱进行统计异常值处理;
步骤四:以待测物性参数在所规定温度的原始数据为预测变量,以预处理后不同温度水平下的光谱波数为自变量,建立物性参数近红外校正模型。
2.根据权利要求1所述的温度影响下近红外校正模型的无测点补偿建模方法,其特征在于:所述步骤一中多个样品待测物性参数要覆盖测量要求的范围;温度范围覆盖待测样品物性参数测量的温度范围。
3.根据权利要求1所述的温度影响下近红外校正模型的无测点补偿建模方法,其特征在于:所述步骤二中的光谱预处理方法包括一种或几种以下算法的叠加运算:一阶导数,二阶导数,最大-最小标准化,基础底线校正,散射校正,常数偏置校正等。
4.根据权利要求1所述的温度影响下近红外校正模型的无测点补偿建模方法,其特征在于:所述步骤三中统计异常值处理为主元分析方法,使得整个预处理光谱数据的主元模式都在一个统计可信度之内。
5.根据权利要求1所述的温度影响下近红外校正模型的无测点补偿建模方法,其特征在于:所述步骤四中物性参数校正模型的建立方法采用偏最小二乘算法进行温度为非分离隐含变量的线性回归。
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510827829.3A CN105300924A (zh) | 2015-11-24 | 2015-11-24 | 温度影响下近红外校正模型的无测点补偿建模方法 |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510827829.3A CN105300924A (zh) | 2015-11-24 | 2015-11-24 | 温度影响下近红外校正模型的无测点补偿建模方法 |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105300924A true CN105300924A (zh) | 2016-02-03 |
Family
ID=55198434
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510827829.3A Withdrawn CN105300924A (zh) | 2015-11-24 | 2015-11-24 | 温度影响下近红外校正模型的无测点补偿建模方法 |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105300924A (zh) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109682968A (zh) * | 2018-11-08 | 2019-04-26 | 上海艾瑞德生物科技有限公司 | 一种荧光免疫试条定量检测测试信号温度矫正方法 |
CN112432917A (zh) * | 2019-08-08 | 2021-03-02 | 北京蓝星清洗有限公司 | 一种光谱差异校正方法及*** |
CN114813615A (zh) * | 2022-06-23 | 2022-07-29 | 广东省计量科学研究院(华南国家计量测试中心) | 一种基于红外光吸收特性的酒精浓度范围检测方法 |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105259135A (zh) * | 2015-11-24 | 2016-01-20 | 江南大学 | 适用于实时在线的无测点温度补偿近红外测量方法 |
CN105486658A (zh) * | 2015-11-19 | 2016-04-13 | 江南大学 | 一种具有无测点温度补偿功能的近红外物性参数测量方法 |
-
2015
- 2015-11-24 CN CN201510827829.3A patent/CN105300924A/zh not_active Withdrawn
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105486658A (zh) * | 2015-11-19 | 2016-04-13 | 江南大学 | 一种具有无测点温度补偿功能的近红外物性参数测量方法 |
CN105259135A (zh) * | 2015-11-24 | 2016-01-20 | 江南大学 | 适用于实时在线的无测点温度补偿近红外测量方法 |
Non-Patent Citations (6)
Title |
---|
KATHERINE A. BAKEEV: "《过程分析技术 针对化学和制药工业的光谱方法和实施策略》", 30 September 2014, 机械工业出版社 * |
LIJUAN XIE 等: "Prediction of titratable acidity, malic acid, and citric acid in bayberry fruit by near-infrared spectroscopy", 《FOOD RESEARCH INTERNATIONAL》 * |
XUEDIAN ZHANG 等: "Influence and correction of temperature on optical measurement for fat and protein contents in a complex food model system", 《INFRARED PHYSICS & TECHNOLOGY》 * |
YANG YAO 等: "Assessing the temperature influence on the soluble solids content of watermelon juice as measured by visible and near-infrared spectroscopy and chemometrics", 《JOURNAL OF FOOD ENGINEERING》 * |
严衍禄 等: "《近红外光谱分析的原理、技术与应用》", 31 January 2013, 中国轻工业出版社 * |
王加华 等: "苹果糖度近红外光谱分析模型的温度补偿", 《光谱学与光谱分析》 * |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109682968A (zh) * | 2018-11-08 | 2019-04-26 | 上海艾瑞德生物科技有限公司 | 一种荧光免疫试条定量检测测试信号温度矫正方法 |
CN109682968B (zh) * | 2018-11-08 | 2022-03-11 | 上海艾瑞德生物科技有限公司 | 一种荧光免疫试条定量检测测试信号温度矫正方法 |
CN112432917A (zh) * | 2019-08-08 | 2021-03-02 | 北京蓝星清洗有限公司 | 一种光谱差异校正方法及*** |
CN112432917B (zh) * | 2019-08-08 | 2023-02-28 | 北京蓝星清洗有限公司 | 一种光谱差异校正方法及*** |
CN114813615A (zh) * | 2022-06-23 | 2022-07-29 | 广东省计量科学研究院(华南国家计量测试中心) | 一种基于红外光吸收特性的酒精浓度范围检测方法 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105486658B (zh) | 一种具有无测点温度补偿功能的近红外物性参数测量方法 | |
Clairotte et al. | National calibration of soil organic carbon concentration using diffuse infrared reflectance spectroscopy | |
WO2017084118A1 (zh) | 一种近红外光谱分析仪在线应用时无测点温度补偿模型修正方法 | |
CN102879353B (zh) | 近红外检测花生中蛋白质组分含量的方法 | |
Clavaud et al. | Chemometrics and in-line near infrared spectroscopic monitoring of a biopharmaceutical Chinese hamster ovary cell culture: prediction of multiple cultivation variables | |
Huang et al. | Improved generalization of spectral models associated with Vis-NIR spectroscopy for determining the moisture content of different tea leaves | |
CN102590129B (zh) | 近红外检测花生中氨基酸含量的方法 | |
US7092832B2 (en) | Adaptive compensation for measurement distortions in spectroscopy | |
Zhang et al. | Purity analysis of multi-grain rice seeds with non-destructive visible and near-infrared spectroscopy | |
Zhu et al. | Wavelength selection of hyperspectral scattering image using new semi-supervised affinity propagation for prediction of firmness and soluble solid content in apples | |
Wei et al. | Monitoring leaf nitrogen accumulation in wheat with hyper-spectral remote sensing | |
Martín-Tornero et al. | Comparative quantification of chlorophyll and polyphenol levels in grapevine leaves sampled from different geographical locations | |
Krishna et al. | Assessing wheat yellow rust disease through hyperspectral remote sensing | |
Wang et al. | Automatic detection of rice disease using near infrared spectra technologies | |
CN105259136B (zh) | 近红外校正模型的无测点温度修正方法 | |
CN105784672A (zh) | 一种基于双树复小波算法的毒品检测仪标准化方法 | |
CN105300924A (zh) | 温度影响下近红外校正模型的无测点补偿建模方法 | |
Hu et al. | Soil phosphorus and potassium estimation by reflectance spectroscopy | |
CN105466885B (zh) | 基于无测点温度补偿机制的近红外在线测量方法 | |
Lu et al. | Rapid assessment of tomato ripeness using visible/near-infrared spectroscopy and machine vision | |
CN110210005A (zh) | 一种无参考值的光谱波数选择方法 | |
Jie et al. | Determination of Nitrogen Concentration in Fresh Pear Leaves by Visible/Near‐Infrared Reflectance Spectroscopy | |
La et al. | Fusion of spectral and electrochemical sensor data for estimating soil macronutrients | |
Sun et al. | Data mean and ratio of absorbance to concentration methods: A novel optimization strategy for near infrared spectroscopy modeling | |
Surase et al. | Estimation of water contents from vegetation using hyperspectral indices |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WW01 | Invention patent application withdrawn after publication | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20160203 |