A device for predicting the oxidation state of vegetable oil
By heating and collecting gas markers of vegetable oil samples in a vegetable oil detection device, combined with gas-sensitive sensors and pattern recognition algorithms, the problem that existing technology cannot quickly detect the oxidation state of vegetable oil is solved, and accurate prediction of the oxidation state is achieved, avoiding the need for Deterioration of oil.
Patent Information
- Application Number
- CN202211065239.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-09-01
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2042-09-01
AI Technical Summary
Existing technology cannot quickly and effectively detect the oxidation state of vegetable oil, resulting in the inability to dynamically predict its storage time, affecting the quality and safety of the oil.
A device including a detection box, a sample storage container, a heating module, a gas collection module and a main control module is designed. By heating vegetable oil samples and collecting the gas markers emitted by them, the gas sensor and pattern recognition algorithm are used to determine the oxidation status. , predicting the period of oxidative deterioration.
It achieves rapid and accurate detection of the oxidation status of vegetable oil, which can effectively avoid oil deterioration and provide a more scientific storage status judgment.
Smart Images

Figure CN115420847B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the field of vegetable oil detection, and more specifically, to a device for predicting the oxidation state of vegetable oil. Background Art
[0002] With the improvement of people's living standards, food safety has become the focus of people's attention. As a necessity in daily diet, the quality of vegetable oil is of great significance to human health. However, lipids are prone to oxidation during storage, and oxidation will produce some unstable compounds. These compounds will make the oil flavor worse and reduce the nutritional quality, and eventually cause the oil to deteriorate and become inedible. Lipid oxidation is a complex process, which is carried out through chain reactions and consists of three consecutive stages: induction period, propagation period, and termination period. Among them, the induction period will produce alkyl and free radicals, which will slightly affect the taste and flavor of the oil, and then enter the propagation period until the oxidation critical point. Therefore, a longer induction period means strong oxidative stability of the oil. The induction period can be determined by the change of lipid peroxide value (PV); during the propagation period, free radicals react with oxygen molecules to generate hydrogen peroxide and peroxyl radicals. The growth rate of oil peroxide value in this stage becomes faster, that is, the deterioration speed accelerates. If it is not properly preserved, it will soon enter the termination period, and two free radicals will combine to form a stable adduct, and due to the degradation of hydrogen peroxide and the disappearance of essential fatty acids, volatile compounds with peculiar smell will be formed, which will completely deteriorate and become inedible.
[0003] At present, the detection targets of vegetable oil quality are mostly conventional indicators such as peroxide value and acid value, which are used to judge whether the quality of vegetable oil is qualified. This method can only statically judge whether the vegetable oil is expired, and cannot predict the oxidation state of the vegetable oil, so as to dynamically predict the storage time of the vegetable oil. At the same time, the current detection methods are mainly based on sensory identification and physical and chemical index determination by professionals. Although manual sensory testing is relatively fast and convenient, it is affected by the environment. The chemical analysis method is highly accurate, but time-consuming and laborious. Electronic nose technology is a new detection method with the characteristics of fast and non-destructive detection, which can well solve the problems of traditional detection. Electronic noses usually combine relevant sensors and pattern recognition algorithms to quickly detect relevant information of the tested samples. Electronic noses have a lot of research and applications in wine, condiments and meat, and have a good research background for vegetable oil detection.
[0004] Therefore, the market needs to develop a device for detecting the oxidation state of stored vegetable oil, which can quickly detect the oxidation and deterioration period of the vegetable oil sample. Summary of the invention
[0005] The purpose of the present invention is to provide a device for predicting the oxidation state of vegetable oil, which can quickly detect the oxidation and deterioration stage of the vegetable oil sample.
[0006] In order to achieve the above object, the present invention provides a device for predicting the oxidation state of vegetable oil, comprising:
[0007] Testing box;
[0008] A sample storage container, a main control module, a gas collection module, a heating module and a heating control module are arranged inside the detection box;
[0009] The sample storage container is used to store vegetable oil samples;
[0010] The heating module is used to heat the vegetable oil in the sample storage container;
[0011] The gas collection module is used to collect gas markers volatilized from the vegetable oil sample;
[0012] The output end of the heating control module is connected to the heating module;
[0013] The input end of the main control module is connected to the output end of the gas acquisition module, the control end of the main control module is connected to the input end of the heating control module, and the output end of the main control module is used to output the prediction result of the oxidation state of the vegetable oil.
[0014] In an optional solution, the gas collection module includes an AD conversion unit and multiple gas sensors, each input port of the AD conversion unit is connected to the output end of one of the gas sensors, the output end of the AD conversion unit is connected to the input end of the main control unit, and different gas sensors are used to detect gas markers in different locations and of different types.
[0015] In an optional solution, the detection box is divided into a heating area and a data processing area;
[0016] The heating module and the sample storage container are located in the heating area, and a gas flow hose is provided between the heating area and the data processing area;
[0017] The main control module, the gas collection module, and the heating control module are located in the data processing area;
[0018] The gas collection module also includes a sealing cover, which seals the multiple gas sensors inside; the heating area and the sealing cover are connected through the gas flow hose.
[0019] In an optional solution, the data processing area is further provided with an air pump, which is used to suck the volatile gas markers of the vegetable oil into the sealing cover through the gas circulation hose.
[0020] In an optional solution, the main control module determines the deterioration period of the oxidation state of the vegetable oil according to a pre-trained prediction model, and the deterioration period includes an induction period, a propagator period and a termination period.
[0021] In an optional scheme, the input end feature of the prediction model is constructed by using the rate of change of the optimal time interval of the gas sensor under the vegetable oil heating state; the prediction model uses the partial least squares method to perform regression training on the prediction model change rate to obtain a regression equation, the prediction model input is the mean slope of the data curve of each gas sensor, the regression value of the regression equation is Y≤A, the deterioration period is determined to be the induction period, A<Y<B the deterioration period is determined to be the propagation period, Y≥B the deterioration period is determined to be the termination period, and A, B, and C are preset values.
[0022] In an optional solution, the device includes a touch screen connected to the main control module, and the touch screen is used to control the program operation of the main control module and to display the prediction results.
[0023] In an optional solution, the touch display screen is located in the data processing area and serves as a part of the top wall of the detection box.
[0024] In an optional solution, the heating module is arranged at the bottom of the sample storage container, and the heating module is an aluminum alloy disc with an embedded electric heating tube.
[0025] In an optional solution, the device further includes: a voltage-stabilized power supply module, and the voltage-stabilized power supply module is used to supply power to the main control module, the air pump, the gas sensor and the AD conversion module.
[0026] The beneficial effects of the present invention are:
[0027] The present invention performs detection during the dynamic heating process of vegetable oil, and can quickly detect the oxidation and deterioration stage of the vegetable oil sample by collecting gas markers (smell of peroxide) volatilized from the vegetable oil sample.
[0028] The present invention has other features and advantages, which will be apparent from or will be described in detail in the accompanying drawings and the following detailed description incorporated herein, which together serve to explain the specific principles of the invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] The above and other objects, features and advantages of the present invention will become more apparent through a more detailed description of exemplary embodiments of the present invention with reference to the accompanying drawings.
[0030] Figure 1A schematic structural diagram of a device for predicting the oxidation state of vegetable oil according to an embodiment of the present invention is shown.
[0031] Figure 2 The figure shows an overall block diagram of a device for predicting the oxidation state of vegetable oil according to an embodiment of the present invention.
[0032] Figure 3 A schematic diagram showing the positions of gas sensors in a device for predicting the oxidation state of vegetable oil according to an embodiment of the present invention is shown.
[0033] Figure 4 The figure shows an operation flow chart of a device for predicting the oxidation state of vegetable oil according to an embodiment of the present invention.
[0034] Figure 5 The peroxide value variation curves of various gradient vegetable oil samples according to an embodiment of the present invention are shown.
[0035] Figure 6 The graph shows the values measured by a gas sensor for different oxidation days of an oxidized sample according to an embodiment of the present invention.
[0036] Figure 7 Single data acquisition curves of a gas sensor on the 1st day (curve A), the 7th day (curve B), and the 10th day (curve C) of heating vegetable oil according to an embodiment of the present invention are shown.
[0037] Figure 8 A scatter plot obtained by principal component analysis (PCA) according to an embodiment of the present invention is shown.
[0038] Fig. 9 A partial least squares regression graph according to an embodiment of the present invention is shown.
[0039] Description of Reference Numerals
[0040] 1-touch screen; 2-gas sensor; 3-main control module; 4-air pump; 5-voltage-stabilized power supply module; 6-AD conversion unit; 7-heating control module; 8-heating module; 9-sample storage container; 10-detection box; 11-sealing cover. DETAILED DESCRIPTION
[0041] The present invention will be described in more detail below. Although the present invention provides preferred embodiments, it should be understood that the present invention can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided to make the present invention more thorough and complete, and to fully convey the scope of the present invention to those skilled in the art.
[0042] An embodiment of the present invention provides a device for predicting the oxidation state of vegetable oil, comprising:
[0043] Testing box;
[0044] A sample storage container, a main control module, a gas collection module, a heating module and a heating control module are arranged inside the detection box;
[0045] The sample storage container is used to store vegetable oil samples;
[0046] The heating module is used to heat the vegetable oil in the sample storage container;
[0047] The gas collection module is used to collect gas markers volatilized from the vegetable oil sample;
[0048] The output end of the heating control module is connected to the heating module;
[0049] The input end of the main control module is connected to the output end of the gas acquisition module, the control end of the main control module is connected to the input end of the heating control module, and the output end of the main control module is used to output the prediction result of the oxidation state of the vegetable oil.
[0050] In one example, the gas acquisition module includes an AD conversion unit and multiple gas sensors, each input port of the AD conversion unit is connected to the output end of one of the gas sensors, the output end of the AD conversion unit is connected to the input end of the main control unit, and different gas sensors are used to detect different types of gas markers.
[0051] In one example, the detection box is divided into a heating area and a data processing area; the heating module and the sample storage container are located in the heating area, and a gas circulation hose is provided between the heating area and the data processing area; the main control module, the gas collection module, and the heating control module are located in the data processing area; the gas collection module also includes a sealing cover, which seals the multiple gas sensors inside; the heating area and the sealing cover are connected through the gas circulation hose.
[0052] In one example, the data processing area is further provided with an air pump, which is used to suck the volatile gas markers of the vegetable oil into the sealing cover through the gas circulation hose.
[0053] In one example, the input feature of the prediction model is the rate of change of the optimal time interval of the gas sensor under the vegetable oil heating state; according to the properties of the sensor, the sensor value at a fixed time interval is stably measured to obtain the rate of change; the prediction model uses the partial least squares method to perform regression training on the prediction model change rate to obtain a regression equation, the prediction model input is the mean slope of the data curve of each gas sensor, the regression value of the regression equation is Y≤A, the deterioration period is determined to be the induction period, A<Y<B the deterioration period is determined to be the propagation period, Y≥B the deterioration period is determined to be the termination period, and A, B, and C are preset values.
[0054] In one example, the device includes a touch screen connected to the main control module, the touch screen is used to control the program operation of the main control module and to display the prediction result. The touch screen is located in the data processing area and serves as part of the top wall of the detection box.
[0055] In one example, the heating module is disposed at the bottom of the sample storage container, and the heating module is an aluminum alloy disc with an embedded electric heating tube.
[0056] In one example, the device further includes: a voltage-stabilized power supply module, and the voltage-stabilized power supply module is used to supply power to the main control module, the air pump, the gas sensor and the AD conversion module.
[0057] The present invention is described below with reference to a specific example.
[0058] Reference Figure 1 and Figure 2 The detection box 10 is divided into two parts, the left side is the data processing area, and the right side is the heating area. The heating area is provided with a heating module 8 (heating plate) and a sample storage container 9. The sample storage container 9 is arranged on the heating plate. The material of the sample storage container 9 is aluminum. The heating area is sealed by a sealing cover 11. The data processing area is provided with a main control module 3, a touch screen 1, an AD conversion unit 6, a gas sensor 2, an air pump 4, a voltage-stabilized power supply module 5 (LM7805), and a heating control module 7. The touch screen 1 is used to start the touch screen control program, save data, and display data.
[0059] The gas sensor 2 is used to measure the type, concentration and composition of the gas. Figure 3 As shown, there are 7 gas sensors distributed in a circular array. The 7 gas sensors 2 are all used to detect gas markers volatilized from vegetable oil samples (the smell emitted by peroxides). Each gas sensor 2 is used to detect one of the gas markers. The functions of each gas sensor refer to Table 1.
[0060] Table 1
[0061] model Function MQ3 Highly sensitive to alcohol gas, low sensitivity to gasoline MQ4 High sensitivity to methane and natural gas, low sensitivity to alcohol and smoke MQ8 High sensitivity to hydrogen, low sensitivity to alcohol and cooking fumes MQ135 Aromatic compounds, ammonia, nitrogen oxides, alcohols, sulfides MQ136 Organic vapors, including sulfur, sulfur dioxide, and hydrogen sulfide gases TGS2600 Air pollution (hydrogen, CO, alcohol, etc.) TGS2602 Air pollution (VOC, ammonia, hydrogen sulfide, etc.)
[0062] Seven gas sensors 2 are placed in a closed gas chamber for storing the sucked gas. Both ends of the closed gas chamber are connected to the heating area with hoses.
[0063] In this embodiment, the main control module 3 is a Raspberry Pi 4B, and a control program is provided in the main control module 3, which can control the heating plate (an aluminum alloy disc with an embedded electric heating tube) to heat the vegetable oil sample, and can control the air pump 4 to extract the gas in the heating zone and convert the voltage value of the gas sensitive sensor 2 into a digital value through the AD conversion unit 6 (AD7606); the air inlet hose and the air outlet hose connect the heating zone and the data processing zone, and the gas to be detected in the heating zone is drawn into the air chamber from the air inlet hose through the air pump 4, and the air is discharged from the air outlet hose. After extracting the gas for a period of time, detection is performed so that the sample gas fully occupies the air chamber from the heating zone to the data processing zone to react with the gas sensitive sensor 2. After each detection is completed, exhaust is required to clean the air in the air chamber.
[0064] The steps of the prediction device for detecting the oxidation state of vegetable oil include:
[0065] Step 1: Use Python to design a login and data display interface that can quickly detect whether vegetable oil has deteriorated and when it has deteriorated.
[0066] Step 2: Add vegetable oil sample and power on, let it stand for 10 minutes, let the gas sensor self-heat, increase the reactivity of metal semiconductor materials, control the Raspberry Pi 4B to heat the vegetable oil and start the air pump to extract the vegetable oil gas in the heating area into the gas chamber equipped with the gas sensor array, after the gas reacts with the gas sensor, the resistance of the gas sensor changes and the voltage is input, the AD conversion unit performs analog-to-digital conversion on the voltage value, and the operating system on the Raspberry Pi 4B reads and displays the data. The sampling time is set to 1 minute according to the reaction time of the gas sensor.
[0067] Step 3: By measuring a large amount of vegetable oil data at different storage periods and fitting the data with machine learning methods, a model of gas sensor data at different periods of vegetable oil fission is established.
[0068] Based on the model, the oxidation state of vegetable oil can be predicted. The prediction model is constructed mainly by relying on the changing trend of the peroxide value of the sample within a certain period of time, combined with the corresponding gas sensor data characteristics, to establish a recognition model. After the sample information is measured by the device of the present invention, the peroxide value content in the sample is measured by chemical titration, and the overall peroxide value change curve is drawn, and the slope change of each two adjacent gradient peroxide value curves is calculated, and the slope reaction is the peroxide value generation rate; then the gas sensor data position of the turning point of the slope change in the three stages of the peroxide value curve is extracted, and the gas sensor data is divided into three groups based on this as the dividing point, thereby corresponding to three change periods; in view of the fact that there are 7 sensor values in this embodiment, when it is necessary to predict a group of dependent variables from multiple independent variables, that is, in the present invention, it is necessary to understand which oxidation period it is in based on the sensor value, partial least squares regression (PLSR) is a very suitable and powerful analysis method, and the gas sensor value is regressed by using PLSR, and a suitable threshold is set, thereby a three-classification model can be established, and thus after the data of the heated test sample is measured, a prediction classification can be performed based on this model, thereby determining the change period it is in.
[0069] Taking peanut oil as an example, the sample was placed in a constant temperature incubator at 50° for accelerated oxidation. Samples were taken every 24 hours, and a total of 14 samples with oxidation gradients were obtained and frozen for measurement.
[0070] like Figure 4 As shown is the operation flow chart of this embodiment, the vegetable oil sample is poured into the sample storage container 9 and heated for 5 minutes. The gas sensitive sensor information of all samples is collected according to this operation. At the same time, the peroxide value of each gradient sample is measured as a standard value for reference analysis according to the titration method specified in GB5009.227-2018.
[0071] like Figure 5 The peroxide value change curve of each gradient sample is shown. The ordinate is the peroxide value of the peroxide, and the abscissa is time (days). Analysis of the slope change shows that the induction period is from the 0th to the 2nd day of accelerated oxidation, the propagation period is from the 3rd to the 8th day, and the termination period is from the 9th to the 13th day. Therefore, the collected peanut oil gas sensor data is divided into three groups for data analysis. Taking the data mean of all oxidation samples of the TGS2600 gas sensor as an example, Figure 6 As shown in the figure, the ordinate is the voltage value and the abscissa is the sampling times), it can be seen that the overall data gradually increases and the slope gradually increases. Figure 7 The single data collection curves of the TGS2600 gas sensor on the 1st day (curve A), 7th day (curve B), and 10th day (curve C) are shown. It can be seen that as the oxidation days increase, the curves of the first 20 groups of data change more and more steeply. Therefore, the change rates of the seven gas sensors are used as features for model training. Figure 8 The scatter plot shown is obtained by principal component analysis (PCA). The analysis shows that the first three principal components (PC1, PC2, PC3) can explain 99.78% of the variance of all peanut oil sample data, indicating that the data has good separation and good classification potential.
[0072] The partial least squares (PLS) method was used to perform regression processing on the data. Three labels were given according to the three-stage data of the induction period, propagation period, and termination period. The obtained regression equation was:
[0073] y=-16.6722+17.4497x1+49.5548x2+137.2396x3-31.9971x4+23.2341x5+26.0292x6-59.8834x7
[0074] In this equation, x1, x2, x3, x4, x5, x6, and x7 are the average slopes of the data curves of the seven gas sensors, and the calculation formula is:
[0075]
[0076] In the formula, V n It represents the nth value collected by the i-th gas sensor, and takes the first 40 sets of data values, such as Fig. 9 The partial least squares regression graph is shown in Figure 1. Fig. 9 It can be seen that according to the calculation of this regression equation, the samples of the three categories are distributed above and below the given label, and the two dotted lines (vertical coordinates 3 and 7) are used as thresholds, that is, the regression value y≤3 is defined as the induction period, 3<y<7 is defined as the propagation period, and y≥7 is defined as the termination period. There is only one misclassification (circled by the upper box on the upper dotted line), and the classification accuracy is as high as 96.67%.
[0077] Therefore, the present invention can solve the problem of predicting the oxidation state of stored vegetable oil, can achieve more scientific judgment of the storage state of vegetable oil, and can more effectively avoid the deterioration of vegetable oil.
[0078] The embodiments of the present invention have been described above, and the above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and changes will be apparent to those skilled in the art without departing from the scope and spirit of the described embodiments.
Claims
1. A device for predicting the oxidation state of vegetable oil, characterized in that: include: Testing box; A sample storage container, a main control module, a gas collection module, a heating module and a heating control module are arranged inside the detection box; The sample storage container is used to store vegetable oil samples; The heating module is used to heat the vegetable oil sample in the sample storage container; The gas collection module is used to collect gas markers volatilized from the vegetable oil sample; The output end of the heating control module is connected to the heating module; The input end of the main control module is connected to the output end of the gas collection module, the control end of the main control module is connected to the input end of the heating control module, and the output end of the main control module is used to output the prediction result of the oxidation state of the vegetable oil; The detection box is divided into a heating area and a data processing area; The heating module and the sample storage container are located in the heating area, and a gas flow hose is provided between the heating area and the data processing area; The main control module, the gas collection module, and the heating control module are located in the data processing area; The gas collection module further comprises a sealing cover, wherein the sealing cover seals the gas sensor inside; the heating area and the sealing cover are connected via the gas flow hose; The main control module determines the deterioration period of the oxidation state of the vegetable oil according to the pre-trained prediction model, and the deterioration period includes an induction period, a propagation period and a termination period; The input feature of the prediction model is the rate of change of the optimal time interval of the gas sensor under the vegetable oil heating state; the prediction model uses the partial least squares method to perform regression training on the rate of change to obtain a regression equation, the prediction model input is the mean slope of the data curve of each gas sensor, the regression value of the regression equation is Y≤A, the deterioration period is determined to be the induction period, A<Y<B the deterioration period is determined to be the propagation period, Y≥B the deterioration period is determined to be the termination period, and A, B, and C are preset values.
2. The device for predicting the oxidation state of vegetable oil according to claim 1, characterized in that: The gas collection module comprises: An AD conversion unit and a plurality of gas sensors, each input port of the AD conversion unit is connected to the output end of one of the gas sensors, the output end of the AD conversion unit is connected to the input end of the main control module, and different gas sensors are used to detect gas markers at different locations and of different types.
3. The device for predicting the oxidation state of vegetable oil according to claim 1, characterized in that: The data processing area is also provided with an air pump, which is used to suck the gas markers volatilized from the vegetable oil sample into the sealing cover through the gas circulation hose.
4. The device for predicting the oxidation state of vegetable oil according to claim 1, characterized in that: The device also includes: A touch screen is connected to the main control module, and is used to control the program operation of the main control module and to display the prediction result.
5. The device for predicting the oxidation state of vegetable oil according to claim 4, characterized in that: The touch display screen is located in the data processing area and serves as a part of the top wall of the detection box.
6. The device for predicting the oxidation state of vegetable oil according to claim 1, characterized in that: The heating module is arranged at the bottom of the sample storage container, and the heating module is an aluminum alloy disc with an embedded electric heating tube.
7. The device for predicting the oxidation state of vegetable oil according to claim 1, characterized in that: The device also includes: A voltage-stabilized power supply module, which is used to supply power to the main control module, the air pump, the gas sensor and the AD conversion module.
Citation Information
Patent Citations
Gas detection device
CN108205006A
Sensors for volatile compounds
GB2573118A
Methods and systems for assessing plant conditions by volatile detection
US20220236242A1
