Pork freshness rapid nondestructive testing method based on gas sensor technology
By using metal oxide semiconductors or electrochemical sensors combined with machine learning algorithms to build an odor data model, the problem of low accuracy in pork freshness detection is solved, and fast and accurate non-destructive detection is achieved. It is suitable for food production and storage fields to ensure food safety and quality.
Patent Information
- Application Number
- CN202410716136.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-04
- Publication Date
- 2024-09-24
AI Technical Summary
Existing gas-sensitive sensor technology has low accuracy for detecting pork freshness and is difficult to be widely used in the fields of food production and storage.
Metal oxide semiconductors or electrochemical sensors are used to detect volatile organic compounds during the spoilage process of pork. Laboratory calibration and machine learning algorithms are combined to build a model. Through odor data processing and feature extraction, the relationship between odor components and freshness is established. , to achieve fast and accurate non-destructive testing.
It improves the accuracy and stability of pork freshness detection and realizes a fast, non-destructive, sensitive and automated detection process. It is suitable for food production and storage fields and ensures food safety and quality.
Smart Images

Figure CN118688264A
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of gas detection, and in particular to a method for rapid non-destructive detection of pork freshness based on gas sensitive sensor technology. Background Art
[0002] China is a major producer and consumer of pork, and the hygiene and quality safety of pork have always been the focus of attention. Since chilled pork can maintain the flavor and nutritional value of meat to the greatest extent, it has become the mainstream of fresh meat consumption in developed countries and large and medium-sized cities in my country. Livestock meat will be contaminated by microorganisms during processing, and these microorganisms will further multiply during the low-temperature transportation, storage and sales of livestock meat, causing the livestock meat to spoil. Not only does spoiled livestock meat reduce its nutritional value, it can also cause food poisoning and endanger the life safety of consumers. Dominant spoilage bacteria are bacteria that play a leading role in the spoilage of livestock meat. A large number of studies have shown that Pseudomonas, Enterobacteriaceae, Acinetobacter, Lactobacillus and Thermothorax are the main bacterial groups that cause the spoilage of chilled pork. The differences in the competitive ability and metabolic characteristics of various dominant spoilage bacteria will cause different times and characteristics of meat spoilage. Therefore, it is necessary to identify the dominant spoilage bacteria in chilled pork and study the spoilage characteristics. When studying the spoilage characteristics of pork, it is necessary to detect the freshness of pork through gas sensors;
[0003] The rapid non-destructive detection method for pork freshness using gas sensor technology is to use gas sensors to detect changes in the concentration of specific gases in pork, thereby judging the freshness of the pork. A common method is to use changes in the odor components produced by pork during storage for detection.
[0004] For example, a Chinese patent with the publication (announcement) number CN102660629A discloses a method for rapid identification of dominant spoilage bacteria in livestock meat. The scanner is used to collect the characteristic response signal of the characteristic gas produced by the dominant spoilage bacteria in livestock meat when the dominant spoilage bacteria in livestock meat are cultured in a specific culture medium. The detection result is displayed in the form of a spectrum through a signal recognition and processing system, and the type of the dominant spoilage bacteria in livestock meat is determined according to the relationship between the color change of the spectrum and the type and concentration of the gas being tested.
[0005] Although the above technical solution solves the corresponding technical problem, the detection method in the above technology has low accuracy, which makes it inconvenient to promote and use. Summary of the invention
[0006] The purpose of the present invention is to provide a method for rapid and nondestructive detection of pork freshness based on gas sensor technology, which effectively utilizes the odor data collected by the gas sensor to achieve rapid, accurate and nondestructive detection of pork freshness, and provide reliable technical support for food production and storage. It has the advantages of being fast, nondestructive, sensitive, accurate and automated, and is expected to be widely used in the field of food production and storage, providing technical support for ensuring food safety and quality.
[0007] In order to achieve the above object, the main technical solutions adopted by the present invention include:
[0008] A method for rapid nondestructive detection of pork freshness based on gas sensor technology comprises the following steps:
[0009] S1. Selection of gas sensors: Selecting gas sensors that respond to the pork spoilage process, wherein the gas sensors are used to detect volatile organic compounds (VOCs) gases in the pork spoilage process;
[0010] S2. Calibration of gas sensors: Under laboratory conditions, use pork simulated gas of known concentration to calibrate the gas sensors to establish the relationship between gas concentration and gas sensor signal response;
[0011] S3. Collection of pork corruption gas: Pork samples of different freshness were placed in the same closed container. After standing for a period of time, the odor samples in the container were collected using an adsorption tube;
[0012] S4, detection of pork freshness: inserting the detection heads of the gas sensors into the odor samples collected in S3, and recording the response signals of the gas sensors, thereby obtaining the concentration information of the odor components released by the pork samples;
[0013] S5. Processing of pork odor data and model building: The signals collected by the odor sensor are processed, such as peak recognition and feature extraction, and then a model is built using a machine learning algorithm to establish a connection between the sensor response and the freshness of pork;
[0014] S6. Verification and application: The accuracy and stability of the model are verified through a large number of experiments, and the method can eventually be applied to the rapid and non-destructive detection of pork freshness in actual production environments.
[0015] In the above-mentioned method for rapid non-destructive detection of pork freshness based on gas sensor technology, the gas sensor in S1 is a metal oxide semiconductor (MOX) sensor or an electrochemical sensor.
[0016] The above-mentioned method for rapid non-destructive detection of pork freshness based on gas sensor technology, wherein the response relationship between the gas concentration in S2 and the gas sensor signal is used to reflect the odor components released by pork at different freshness levels. At the same time, a database is established for this relationship as a reference for pork freshness detection.
[0017] In the above-mentioned method for rapid non-destructive detection of pork freshness based on gas sensor technology, the standing temperature of the pork in S3 is controlled at 18 to 24 degrees Celsius, and the standing time of the pork is controlled at 20 to 30 minutes.
[0018] In the above-mentioned method for rapid non-destructive detection of pork freshness based on gas sensor technology, the depth error of the gas sensor inserted into different odor samples in S4 is controlled within 0.2 to 0.5 cm.
[0019] In the above-mentioned method for rapid non-destructive detection of pork freshness based on gas sensor technology, the pork odor data processing in S5 comprises the following steps:
[0020] P1. Signal preprocessing: extract features from pork odor concentration information, which can be frequency domain features, time domain features or other statistical features, to describe the characteristics of the odor sample;
[0021] P2. Data dimensionality reduction: If the extracted feature dimension is high, dimensionality reduction techniques (such as principal component analysis, linear discriminant analysis, etc.) can be used to reduce the complexity of the data while retaining the main information.
[0022] In the above-mentioned method for rapid non-destructive detection of pork freshness based on gas sensor technology, the model construction in S5 includes the following steps:
[0023] P3, Pattern Recognition: Use machine learning algorithms or pattern recognition techniques to model the relationship between the extracted features and pork freshness, such as classification models, regression models, etc.
[0024] P4. Model evaluation: Evaluate the constructed model, including evaluation of indicators such as accuracy and generalization ability, to ensure the reliability and stability of the model.
[0025] In the above-mentioned rapid non-destructive detection method for pork freshness based on gas sensitive sensor technology, the original signal collected by the sensor can be pre-processed before feature extraction in P1, including denoising, filtering, etc., to improve the accuracy of subsequent processing.
[0026] The above-mentioned method for rapid non-destructive detection of pork freshness based on gas sensitive sensor technology, wherein the model construction in S5 also includes model optimization, and the model optimization can optimize and adjust the model according to the evaluation results to further improve the effect and accuracy of odor data processing.
[0027] The above-mentioned method for rapid non-destructive detection of pork freshness based on gas sensor technology, wherein the optimization model is monitored by a real-time monitoring system, and the real-time monitoring system is used to apply the optimized model to real-time monitoring, and continuously update data and adjust the model to adapt to the real-time monitoring needs of changes in pork freshness.
[0028] Compared with the prior art, the advantages and positive effects of the present invention are:
[0029] 1. The method for rapid and nondestructive detection of pork freshness based on gas sensor technology provided by the present invention effectively utilizes the odor data collected by the gas sensor to achieve rapid, accurate and nondestructive detection of pork freshness, providing reliable technical support for food production and storage. It has the advantages of rapidity, nondestructiveness, sensitivity, accuracy and automation, and is expected to be widely used in the field of food production and storage, providing technical support for ensuring food safety and quality.
[0030] 2. The method for rapid nondestructive detection of pork freshness based on gas sensor technology provided by the present invention has a fast response speed of the gas sensor, which can realize rapid detection of pork freshness and improve production efficiency;
[0031] 3. The method for rapid nondestructive detection of pork freshness based on gas sensor technology provided by the present invention does not require the destruction of pork samples or sampling for inspection, thus avoiding cross contamination and quality changes that may occur in traditional methods;
[0032] 4. The method for rapid nondestructive detection of pork freshness based on gas sensor technology provided by the present invention can well respond to changes in tiny odor components and detect volatile substances generated during the spoilage of pork;
[0033] 5. The rapid nondestructive detection method for pork freshness based on gas-sensitive sensor technology provided by the present invention can timely grasp the changes in pork freshness through real-time collection and processing of sensor data, so as to take corresponding measures;
[0034] 6. The method for rapid nondestructive detection of pork freshness based on gas sensor technology provided by the present invention can accurately judge the freshness of pork by establishing an odor component database and a machine learning model, thereby improving the accuracy and stability of detection;
[0035] 7. The method for rapid and nondestructive detection of pork freshness based on gas-sensitive sensor technology provided by the present invention can realize automated operation in the entire detection process, reduce manual intervention, lower the error rate, and is suitable for industrial production environments. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0037] Figure 1 The present invention is a flow chart of a method for rapid nondestructive detection of pork freshness based on gas sensor technology. DETAILED DESCRIPTION
[0038] The following will describe the implementation methods of the present application in detail with the help of accompanying drawings and examples, so that the implementation process of how the present application uses technical means to solve technical problems and achieve technical effects can be fully understood and implemented accordingly.
[0039] Please refer to Figure 1 As shown, an embodiment of the present invention provides a method for rapid non-destructive detection of pork freshness based on gas sensor technology, comprising the following steps:
[0040] S1. Selection of gas sensors: Selecting gas sensors that respond to the pork spoilage process, wherein the gas sensors are used to detect volatile organic compounds (VOCs) gases in the pork spoilage process;
[0041] Wherein, the gas sensor in S1 is a metal oxide semiconductor (MOX) sensor or an electrochemical sensor;
[0042] By adopting the above technical solution, the above gas sensor has a fast response speed, which can realize the rapid detection of pork freshness and improve production efficiency;
[0043] S2. Calibration of gas sensors: Under laboratory conditions, use pork simulated gas of known concentration to calibrate the gas sensors to establish the relationship between gas concentration and gas sensor signal response;
[0044] Among them, the response relationship between the gas concentration in S2 and the gas sensor signal is used to reflect the odor components released by pork at different freshness levels. At the same time, this relationship is established in a database as a reference for pork freshness detection;
[0045] By adopting the above technical solution, there is no need to destroy the pork samples or take samples for inspection, thus avoiding the cross contamination and quality changes that may occur in traditional methods.
[0046] S3. Collection of pork corruption gas: Pork samples of different freshness were placed in the same closed container. After standing for a period of time, the odor samples in the container were collected using an adsorption tube;
[0047] Among them, in S3, the pork resting temperature is controlled at 18 to 24 degrees Celsius, and the pork resting time is controlled at 20 to 30 minutes;
[0048] By adopting the above technical solution, the gas sensor can respond well to the changes in tiny odor components and can detect volatile substances produced during the spoilage process of pork;
[0049] S4, detection of pork freshness: inserting the detection heads of the gas sensors into the odor samples collected in S3, and recording the response signals of the gas sensors, thereby obtaining the concentration information of the odor components released by the pork samples;
[0050] Among them, the depth error of the gas sensor inserted into different odor samples in S4 is controlled within 0.2-0.5 cm;
[0051] By adopting the above technical solution, the real-time collection and processing of sensor data can timely grasp the changes in pork freshness so as to take corresponding measures;
[0052] S5. Processing of pork odor data and model building: The signals collected by the odor sensor are processed, such as peak recognition and feature extraction, and then a model is built using a machine learning algorithm to establish a connection between the sensor response and the freshness of pork;
[0053] The pork odor data processing in S5 includes the following steps:
[0054] P1. Signal preprocessing: extract features from pork odor concentration information, which can be frequency domain features, time domain features or other statistical features, to describe the characteristics of the odor sample;
[0055] Among them, before feature extraction in P1, the original signal collected by the sensor can be preprocessed, including denoising, filtering, etc., to improve the accuracy of subsequent processing;
[0056] P2. Data dimensionality reduction: If the extracted feature dimension is high, dimensionality reduction techniques (such as principal component analysis, linear discriminant analysis, etc.) can be used to reduce the complexity of the data while retaining the main information;
[0057] The model construction in S5 includes the following steps:
[0058] P3, Pattern Recognition: Use machine learning algorithms or pattern recognition techniques to model the relationship between the extracted features and pork freshness, such as classification models, regression models, etc.
[0059] P4. Model evaluation: Evaluate the constructed model, including evaluation of indicators such as accuracy and generalization ability, to ensure the reliability and stability of the model;
[0060] The model construction in S5 also includes model optimization, which can optimize and adjust the model according to the evaluation results to further improve the effect and accuracy of odor data processing. The optimized model is monitored by a real-time monitoring system, which is used to apply the optimized model to real-time monitoring, and continuously update data and adjust the model to meet the real-time monitoring needs of changes in pork freshness;
[0061] By adopting the above technical solution, by establishing an odor component database and a machine learning model, the freshness of pork can be judged more accurately, thereby improving the accuracy and stability of detection;
[0062] S6. Verification and application: The accuracy and stability of the model are verified through a large number of experiments, and the method can eventually be applied to the rapid non-destructive detection of pork freshness in actual production environments;
[0063] By adopting the above technical solution, the entire detection process can be automated, reducing human intervention, lowering the error rate, and being suitable for industrial production environments.
[0064] Among them, in the process of model construction, feature extraction and data dimensionality reduction are two important steps, and they each play different roles.
[0065] Feature Extraction
[0066] Feature extraction is the process of extracting meaningful information or "features" from raw data. In pork freshness detection based on gas sensor technology, feature extraction usually refers to extracting information related to pork freshness from the raw signals collected by the gas sensor. These raw signals may contain noise, redundant information or other information that is not directly related to the detection target. The purpose of feature extraction is to remove this irrelevant information and retain or emphasize the features directly related to pork freshness.
[0067] There are many methods for feature extraction, including but not limited to:
[0068] Time domain features: extract the characteristics of the signal in the time domain, such as peak value, average value, variance, etc.
[0069] Frequency domain features: Convert the signal to the frequency domain through methods such as Fourier transform, and extract characteristics in the frequency domain, such as spectrum, power spectrum, etc.
[0070] Statistical features: Calculate the statistics of the signal, such as skewness, kurtosis, etc.
[0071] Data Dimensionality Reduction
[0072] Data dimensionality reduction is the process of reducing the dimension of a data set, that is, selecting or constructing a low-dimensional feature space from the original high-dimensional feature space. After feature extraction, we may get a high-dimensional feature set. Although these features may all be related to the freshness of pork, they may contain redundant or highly correlated features, which will increase the complexity and computational cost of the model. The purpose of data dimensionality reduction is to remove these redundant features, reduce the dimension of the data, and at the same time retain the important information of the data as much as possible.
[0073] There are many methods for data dimensionality reduction, including but not limited to:
[0074] Principal Component Analysis (PCA): The original data is converted into a set of linearly unrelated variables, namely principal components, through orthogonal transformation, and then the most important principal components are selected to represent the original data.
[0075] Linear Discriminant Analysis (LDA): A supervised dimensionality reduction method that attempts to find a projection that makes the projected data as separate as possible between categories and as compact as possible within categories.
[0076] Autoencoder: An unsupervised neural network model that achieves dimensionality reduction by learning the encoding and decoding process of data.
[0077] In pork freshness detection based on gas sensor technology, feature extraction and data dimension reduction are both preprocessing steps, which help to improve the efficiency and accuracy of subsequent machine learning or pattern recognition algorithms.
[0078] The working principle of the present invention is to effectively utilize the odor data collected by the gas sensor to realize fast, accurate and non-destructive detection of the freshness of pork, provide reliable technical support for food production and storage, and have the advantages of fast, non-destructive, sensitive, accurate and automated. It is expected to be widely used in the field of food production and storage, and provide technical support for ensuring food safety and quality.
[0079] The above description shows and describes several preferred embodiments of the present invention, but as mentioned above, it should be understood that the present invention is not limited to the form disclosed herein, and should not be regarded as excluding other embodiments, but can be used in various other combinations, modifications and environments, and can be modified within the scope of the invention concept described herein through the above teachings or the technology or knowledge of the relevant field. Changes and variations made by those skilled in the art do not depart from the spirit and scope of the present invention, and should be within the scope of protection of the claims attached to the present invention.
Claims
1. A method for rapid non-destructive detection of pork freshness based on gas sensor technology, characterized in that: The steps include: S1. Selection of gas sensors: Selecting gas sensors that respond to the pork spoilage process, wherein the gas sensors are used to detect volatile organic compound gases in the pork spoilage process; S2. Calibration of gas sensors: Under laboratory conditions, use pork simulated gas of known concentration to calibrate the gas sensors to establish the relationship between gas concentration and gas sensor signal response; S3. Collection of pork corruption gas: Pork samples of different freshness were placed in the same closed container. After standing for a period of time, the odor samples in the container were collected using an adsorption tube; S4, detection of pork freshness: inserting the detection heads of the gas sensors into the odor samples collected in S3, and recording the response signals of the gas sensors, thereby obtaining the concentration information of the odor components released by the pork samples; S5. Processing of pork odor data and model building: Processing the signals collected by the odor sensor, including at least peak recognition and feature extraction, and then building a model using a machine learning algorithm to establish a relationship between the sensor response and the freshness of the pork; S6. Verification and application: The accuracy and stability of the model were verified through experiments, and the method was finally applied to the rapid and non-destructive detection of pork freshness in an actual production environment.
2. The method for rapid nondestructive detection of pork freshness based on gas sensor technology according to claim 1 is characterized in that: The gas sensor in S1 is a metal oxide semiconductor sensor or an electrochemical sensor.
3. The method for rapid nondestructive detection of pork freshness based on gas sensor technology according to claim 2 is characterized in that: The response relationship between the gas concentration in S2 and the gas sensor signal is used to reflect the odor components released by pork at different freshness levels. At the same time, a database is established based on this relationship as a reference for pork freshness detection.
4. The method for rapid nondestructive detection of pork freshness based on gas sensor technology according to claim 3 is characterized in that: In S3, the standing temperature of the pork is controlled at 18 to 24 degrees Celsius, and the standing time of the pork is controlled at 20 to 30 minutes.
5. The method for rapid nondestructive detection of pork freshness based on gas sensor technology according to claim 4 is characterized in that: The depth error of the gas sensor inserted into different odor samples in S4 is controlled within 0.2-0.5 cm.
6. The method for rapid nondestructive detection of pork freshness based on gas sensor technology according to claim 5 is characterized in that: The pork odor data processing in S5 comprises the following steps: P1. Signal preprocessing: extracting features from the pork odor concentration information, which can be frequency domain features, time domain features or other statistical features, to describe the characteristics of the odor sample; P2. Data Dimensionality Reduction: If the extracted features are of high dimension, dimensionality reduction techniques are used to reduce the complexity of the data while retaining the main information.
7. The method for rapid nondestructive detection of pork freshness based on gas sensor technology according to claim 6 is characterized in that: The model construction in S5 includes the following steps: P3, Pattern Recognition: Use machine learning algorithms or pattern recognition techniques to model the relationship between the extracted features and pork freshness; P4. Model evaluation: Evaluate the constructed model, including at least the evaluation of accuracy and generalization ability indicators, to ensure the reliability and stability of the model.
8. The method for rapid nondestructive detection of pork freshness based on gas sensor technology according to claim 7 is characterized in that: Before the feature extraction in P1, the original signal collected by the sensor is preprocessed, including at least denoising and filtering, so as to improve the accuracy of subsequent processing.
9. The method for rapid nondestructive detection of pork freshness based on gas sensor technology according to claim 8, characterized in that: The model construction in S5 also includes model optimization, which can optimize and adjust the model according to the evaluation results to further improve the effect and accuracy of odor data processing.
10. The method for rapid nondestructive detection of pork freshness based on gas sensor technology according to claim 9, characterized in that: The optimization model is monitored by a real-time monitoring system, and the real-time monitoring system is used to apply the optimized model to real-time monitoring, and continuously update data and adjust the model to meet the real-time monitoring needs of changes in pork freshness.
