A temperature intelligent control method and system in the process of disc koji making
Through real-time collection and segmented analysis of temperature and pH values during the disk-making process, temperature fluctuation characteristic values are obtained and abnormality levels are corrected, which solves the problem of insufficient accuracy of traditional temperature data cluster analysis and achieves more efficient temperature intelligence. Control and improve the quality of food.
Patent Information
- Application Number
- CN202410888073.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-04
- Publication Date
- 2024-08-30
- Estimated Expiration
- 2044-07-04
AI Technical Summary
In the disc koji making process, the traditional temperature data cluster analysis method ignores the variation characteristics of different parts of the temperature data, resulting in insufficient accuracy of temperature intelligent control and affecting the effect of the fermentation process.
By collecting heating temperature and pH value in real time, analyzing the temperature data in segments, obtaining temperature fluctuation characteristic values, performing cluster analysis, correcting temperature abruptness values, and adjusting abnormal temperature data in combination with pH sequences to achieve more accurate temperature monitoring and control.
It improves the accuracy of intelligent temperature control and ensures temperature stability during the fermentation process, thereby improving the flavor and nutritional quality of food.
Smart Images

Figure CN118428245B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of koji making temperature data processing, and in particular to a temperature intelligent control method and system in a disk koji making process. Background Art
[0002] Koji making is an indispensable step in the production of many traditional fermented foods, such as soy sauce, fermented tofu, rice wine and other foods. By using koji making in the fermentation process, specific microbial communities can be introduced to promote the fermentation and maturation of foods and enhance the flavor and nutrition of foods. The heating temperature of koji making plays an important role in the koji making process. For example, in the process of making rice wine, when the heating temperature is abnormally high and not suitable for microbial fermentation, problems such as no wine, less wine and poor taste will occur. Therefore, intelligent control and monitoring of the heating temperature in the koji making process is of great significance.
[0003] Currently, temperature data is often analyzed by clustering methods. In traditional cluster analysis, each temperature data point is directly clustered according to the specific temperature value, and then the abnormality of the temperature data is judged according to the discrete characteristics of the cluster clusters. However, due to the different variation characteristics of different parts of the temperature data, the analysis results directly obtained by clustering according to the specific temperature values are not accurate enough, which affects the accuracy of temperature intelligent control in the disc koji making process. Summary of the invention
[0004] In order to solve the technical problem of inaccurate intelligent temperature control in the disc koji making process, the purpose of the present invention is to provide a method and system for intelligent temperature control in the disc koji making process. The technical solution adopted is as follows:
[0005] A temperature intelligent control method in a disc koji making process, comprising:
[0006] Real-time collection of the heating temperature and pH value of the koji-making raw materials during the disc koji-making process to obtain temperature data series and pH series;
[0007] Segmenting the temperature data sequence at the inflection point to obtain a first subsequence, and obtaining a temperature fluctuation characteristic value corresponding to each temperature data in each of the first subsequences;
[0008] Performing cluster analysis on all the temperature data according to the temperature fluctuation characteristic values to obtain cluster clusters;
[0009] Obtaining a temperature abruptness value of the temperature data in each of the clusters according to the similarity between the clusters;
[0010] Obtaining a temperature anomaly value for each of the temperature data according to the distribution characteristics of all the temperature abruptness values, and correcting each of the temperature abruptness values according to the pH sequence;
[0011] The abnormal temperature data is obtained according to all the corrected temperature abnormality degree values, and the abnormal temperature data is adjusted.
[0012] Optionally, the step of obtaining the temperature fluctuation characteristic value corresponding to each temperature data in the first subsequence includes:
[0013] Performing straight line fitting on the temperature data in the first subsequence to obtain a fitting straight line;
[0014] The corresponding temperature fluctuation characteristic value is obtained according to the distance between each temperature data and the fitting straight line.
[0015] Optionally, the temperature fluctuation characteristic value corresponding to each temperature data is a superposition of sub-temperature fluctuation characteristic values of the temperature data at all fitting scales.
[0016] Optionally, the temperature abruptness value of the temperature data in each cluster is obtained according to similar attribute values between each cluster and other clusters and confidence parameters corresponding to the similar attribute values.
[0017] Optionally, the step of correcting the temperature abruptness value according to the pH sequence includes:
[0018] Segmenting the pH sequence according to the sampling time range corresponding to each of the clusters to obtain a second subsequence;
[0019] Obtaining a pH value reduction rate within a sampling time range corresponding to each of the second subsequences;
[0020] The pH value reduction rate within the sampling time range corresponding to each of the second subsequences is used as a correction parameter to correct the corresponding temperature abruptness value.
[0021] Optionally, the pH value reduction rate within the sampling time range corresponding to the second subsequence is obtained according to the difference between the pH value reduction rate at each sampling moment in the second subsequence and the pH value reduction rate at each sampling moment in other second subsequences.
[0022] Optionally, the pH value reduction rate within the sampling time range corresponding to the second subsequence is negatively correlated with the abnormality degree of the temperature data.
[0023] Optionally, the step of obtaining the temperature anomaly degree value of each of the temperature data according to the distribution characteristics of all the corrected temperature abruptness degree values includes:
[0024] Arrange all the corrected temperature abruptness values in order of magnitude into one-dimensional data;
[0025] Performing density clustering analysis on the one-dimensional data to obtain density clustering clusters, and taking the density clustering cluster with the largest amount of data as a normal reference cluster;
[0026] Each temperature anomaly degree value is obtained according to the clustering degree characteristic value of the data in the normal reference cluster and the distance from each corrected temperature abruptness degree value to the normal reference cluster.
[0027] Optionally, the step of obtaining the abnormal temperature data according to all the temperature abnormality degree values and adjusting the abnormal temperature data includes:
[0028] Comparing each of the temperature abnormality values with an abnormality threshold, determining that the temperature data corresponding to the temperature abnormality value being greater than the abnormality threshold is abnormal temperature data;
[0029] The abnormal temperature data is adjusted to the mean value of all the temperature data.
[0030] A temperature intelligent control system in a disc koji making process, comprising:
[0031] The sampling unit is used to collect the heating temperature and pH value of the koji-making raw materials in the disc koji-making process in real time to obtain a temperature data sequence and a pH sequence;
[0032] A fluctuation characteristic value acquisition unit, configured to segment the temperature data sequence at an inflection point to obtain a first subsequence, and to acquire a temperature fluctuation characteristic value corresponding to each temperature data in each of the first subsequences;
[0033] A clustering unit, used for performing cluster analysis on all the temperature data according to the temperature fluctuation characteristic value to obtain a cluster cluster;
[0034] an abruptness value obtaining unit, used for obtaining a temperature abruptness value of the temperature data in each of the clusters according to the similarity between the clusters;
[0035] an abnormality value acquisition unit, which obtains a temperature abnormality value of each of the temperature data according to the distribution characteristics of all the temperature abruptness values, and corrects each of the temperature abruptness values according to the pH sequence;
[0036] The adjusting unit is used to obtain the abnormal temperature data according to all the corrected temperature abnormality degree values, and adjust the abnormal temperature data.
[0037] The present invention has the following beneficial effects:
[0038] The heating temperature and pH value of the koji-making raw materials in the disc koji-making process are collected in real time to obtain a temperature data sequence and a pH sequence; the temperature data sequence is segmented at the inflection point to obtain a first subsequence, and the temperature fluctuation characteristic value corresponding to each temperature data in each of the first subsequences is obtained, and all the temperature data are clustered according to the temperature fluctuation characteristic value to obtain cluster clusters; the temperature abruptness value of the temperature data in each cluster is obtained according to the similarity between the cluster clusters; the temperature anomaly value of each temperature data is obtained according to the distribution characteristics of all the temperature anomaly values, and each temperature anomaly value is corrected according to the pH sequence; the abnormal temperature data is obtained according to all the corrected temperature anomaly values, and the abnormal temperature data is adjusted. The present invention can realize heating temperature monitoring and intelligent control in the disc koji-making process, and has higher accuracy than directly performing cluster analysis on temperature data. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] In order to more clearly illustrate the technical solutions and advantages in the embodiments of the present invention or the prior art, the drawings required for use in the embodiments or the prior art descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0040] Figure 1 A flow chart of a method for intelligent temperature control in a disc koji making process provided by one embodiment of the present invention;
[0041] Figure 2 A schematic diagram of a data acquisition process in a disc song making process provided by an embodiment of the present invention;
[0042] Figure 3 A flowchart of a method for obtaining a temperature fluctuation characteristic value corresponding to each temperature data in a first subsequence provided by an embodiment of the present invention;
[0043] Figure 4 A flow chart of a method for correcting each temperature abruptness value according to a pH sequence provided by an embodiment of the present invention;
[0044] Figure 5A flowchart of a method for obtaining a temperature anomaly degree value of each temperature data according to the distribution characteristics of all corrected temperature abruptness degree values provided by an embodiment of the present invention;
[0045] Figure 6 A specific flow chart of step S6 provided for one embodiment of the present invention;
[0046] Figure 7 A structural block diagram of a temperature intelligent control system in a disc koji making process provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0047] In order to further explain the technical means and effects adopted by the present invention to achieve the predetermined invention purpose, the following is a detailed description of the temperature intelligent control method and system in the disc koji making process proposed by the present invention, its specific implementation method, structure, characteristics and effects, in combination with the accompanying drawings and preferred embodiments. In the following description, different "one embodiment" or "another embodiment" does not necessarily refer to the same embodiment. In addition, specific features, structures or characteristics in one or more embodiments may be combined in any suitable form.
[0048] Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs.
[0049] The specific scheme of the temperature intelligent control method and system in the disc koji making process provided by the present invention is described in detail below with reference to the accompanying drawings.
[0050] See also Figure 1 and Figure 2 , Figure 1 A flow chart showing a method for intelligent temperature control in a disc koji making process provided by an embodiment of the present invention is shown. Figure 2 A schematic diagram of a data acquisition process in a disc koji making process provided by an embodiment of the present invention is shown. The temperature intelligent control method in the disc koji making process includes:
[0051] Step S1: real-time acquisition of the heating temperature and pH value of the koji-making raw material during the disc koji-making process to obtain a temperature data sequence and a pH sequence;
[0052] Step S2: segmenting the temperature data sequence at the inflection point to obtain a first subsequence, and obtaining a temperature fluctuation characteristic value corresponding to each temperature data in each first subsequence;
[0053] Step S3: performing cluster analysis on all temperature data according to the temperature fluctuation characteristic values to obtain clusters;
[0054] Step S4: obtaining the temperature abruptness value of the temperature data in each cluster according to the similarity between the clusters, and correcting each temperature abruptness value according to the pH sequence;
[0055] Step S5: obtaining the temperature anomaly value of each temperature data according to the distribution characteristics of all the corrected temperature abruptness values;
[0056] Step S6: Obtain abnormal temperature data according to all temperature abnormality values, and adjust the abnormal temperature data.
[0057] Specifically, firstly, step S1 is performed to install a temperature sensor in the disc koji making area, preferably near the fermentation material. During the koji making process, the temperature sensor collects the heating temperature of the disc koji making process in real time, and then obtains the temperature data sequence of the disc koji making process. The temperature data sequence has a series of temperature data, and each temperature data corresponds to a sampling time.
[0058] In this embodiment, a pH value detection instrument is also installed in the disc koji making area. During the koji making process, the pH value detection instrument can collect the pH value of the koji making raw materials in the disc koji making process in real time to obtain a pH sequence. The pH sequence has a series of pH values, and each pH value corresponds to a sampling time.
[0059] Execute step S2 to segment the temperature data sequence at the inflection point, each segment constitutes a first subsequence, and the number of first subsequences is at least two, but usually can be greater than two. After the temperature data sequence is segmented, it is helpful to analyze the data features of the temperature data sequence in more detail later.
[0060] Next, a temperature fluctuation characteristic value corresponding to each temperature data in the first subsequence is obtained. The temperature fluctuation characteristic value can reflect the preliminary abnormal situation of the corresponding temperature data.
[0061] See also Figure 3 , which shows a flow chart of a method for obtaining a temperature fluctuation characteristic value corresponding to each temperature data in a first subsequence provided by an embodiment of the present invention. The step of obtaining a temperature fluctuation characteristic value corresponding to each temperature data in the first subsequence includes:
[0062] Step S21: performing straight line fitting on the temperature data in the first subsequence to obtain a fitting straight line;
[0063] Step S22: Obtain the corresponding temperature fluctuation characteristic value according to the distance between each temperature data and the fitting straight line.
[0064] Specifically, step S21 is executed to perform least squares straight line fitting of different fitting scales on each first subsequence to obtain a fitting straight line, and each first subsequence corresponds to a fitting straight line. The fitting scale means: taking the first subsequence of the i-th segment as an example, the first-level fitting scale is to fit the data set of the i-th first subsequence itself, the second-level fitting scale is to fit the data set consisting of the i-1-th first subsequence, the i-th first subsequence and the i+1-th first subsequence, the third-level fitting scale is to fit the data set consisting of the i-2-th first subsequence to the i+2-th first subsequence, and so on. It should be noted that when there is no data that can be extended on one side of a certain level of fitting scale and there is data that can be extended on the other side, at this time, only the existing data that can be extended needs to be included in the data set corresponding to the fitting scale. When there is no data that can be extended on both sides, this is the maximum fitting scale.
[0065] It can be understood that, for a certain temperature data in the first subsequence, if the distance of the temperature data from the fitting straight line is larger than that of other temperature data, it means that the temperature fluctuation characteristics of the temperature data are more significant. Conversely, if the distance of the temperature data from the fitting straight line is smaller than that of other temperature data, it means that the temperature fluctuation characteristics of the temperature data are less significant. The distance between each temperature data and the fitting straight line can characterize the temperature fluctuation characteristics of the temperature data.
[0066] Based on this, step S22 is executed to obtain the temperature fluctuation characteristic value according to the distance between each temperature data and the fitting straight line. In this embodiment, the sub-temperature fluctuation characteristic values of the temperature data at all fitting scales are superimposed to obtain the temperature fluctuation characteristic value of the temperature data, which is the comprehensive temperature fluctuation characteristic value of the temperature data at all fitting scales.
[0067] For example, the temperature fluctuation characteristic value corresponding to each temperature data can be obtained by the following formula:
[0068]
[0069] in, represents the temperature fluctuation characteristic value of the jth temperature data in the i-th first subsequence; represents the number of temperature data in the i-th first subsequence; Indicates the distance from the jth temperature data in the i-th first subsequence to the fitting straight line at the r-th fitting scale; It represents the maximum value of the distance from the fitting straight line to all temperature data in the first subsequence of the i-th at the r-th fitting scale; It represents the minimum value of the distance from the fitting straight line to all temperature data in the first subsequence of the i-th fitting scale. Represents the normalization function.
[0070] It represents the sub-temperature fluctuation characteristic value from the jth temperature data in the i-th first sub-sequence to the fitting straight line under the r-th fitting scale. The larger the value, the more significant the fluctuation characteristic of the jth temperature data in the i-th first sub-sequence; Indicates the superposition of sub-temperature fluctuation eigenvalues at all fitting scales.
[0071] The larger the value is, the more significant the temperature fluctuation of the corresponding temperature data is, and the higher the abnormality of the temperature data is. The smaller it is, the less significant the temperature fluctuation of the corresponding temperature data is, and the smaller the abnormality of the temperature data is.
[0072] Next, step S3 is executed to place all temperature data in a two-dimensional coordinate plane according to the temperature fluctuation characteristic value and the sampling time, and each temperature data is subjected to Kmeans cluster analysis based on its temperature fluctuation characteristic value and the sampling time to obtain a cluster. The more abnormal temperature data there are in a cluster, the worse the similarity of the cluster with other clusters should be. Therefore, the temperature anomaly of the temperature data in each cluster can be further reflected according to the similarity of each cluster, and the temperature abruptness value parameter is used to describe this temperature anomaly.
[0073] Specifically, the temperature fluctuation characteristic value of the temperature data is used as the vertical axis coordinate of the temperature data, and the sampling time of the temperature data is used as the horizontal axis coordinate of the temperature data, and then all the temperature data are placed in a two-dimensional coordinate plane, and Kmeans clustering analysis is performed on all the temperature data in the two-dimensional coordinate plane. The number of clusters can be determined using the elbow rule. If the kth cluster is less similar to other clusters, it means that the temperature data in the kth cluster is more likely to be abnormal than the temperature data in other clusters, and the corresponding temperature abruptness value is greater.
[0074] Step S4 is executed to obtain the temperature abruptness value of the temperature data in each cluster according to the similarity between the clusters. In this embodiment, the temperature abruptness value of the temperature data in each cluster is obtained according to the similarity attribute value between each cluster and other clusters and the confidence parameter corresponding to the similarity attribute value.
[0075] For example, the temperature abruptness value of the temperature data in each cluster can be obtained by the following formula:
[0076]
[0077] in, Represents the temperature abruptness value of the temperature data in the kth cluster; Represents the total number of clusters; Represents the mean of the temperature fluctuation characteristic values of each temperature data in the kth cluster; Represents the mean of the temperature fluctuation characteristic values of each temperature data in the nth cluster; Represents the inverse exponential function.
[0078] Indicates the similarity attribute value between the kth cluster and the nth cluster. The larger the value, the greater the similarity between the kth cluster and the nth cluster. The DTW similarity index represents the set of temperature fluctuation characteristic values of each temperature data in the kth cluster and the set of temperature fluctuation characteristic values of each temperature data point in the nth cluster. This value can be used as a confidence parameter for the similar attribute values of the kth cluster. The higher the value, the higher the trustworthiness of the similar attribute values of the kth cluster.
[0079] The larger the value is, the higher the abnormal probability of the temperature data in this cluster is compared with the temperature data in other clusters. The smaller it is, the smaller the abnormal probability of the temperature data in this cluster is compared with the temperature data in other clusters.
[0080] It can be understood that in the process of disc koji making, the more suitable the heating temperature, the more active the microbial activity in the koji raw material, and more organic acids will be produced through more active metabolism and growth of microorganisms, so that the pH value of the koji raw material decreases faster. Therefore, the change in the pH value of the koji raw material during the koji making process is correlated with the heating temperature, and the rate of decrease in the pH value of the koji raw material during the koji making process can be used to reflect the abnormality of the temperature data within the corresponding time. When the pH value of the koji raw material decreases faster, it means that the temperature within the same time range is more suitable; when the pH value of the koji raw material decreases slower, it means that the temperature data within the same time range is more abnormal, that is, the rate of decrease in the pH value within the sampling time range corresponding to the second subsequence is negatively correlated with the abnormality of the temperature data.
[0081] Based on this, in this embodiment, each temperature abruptness value is corrected according to the pH sequence.
[0082] See also Figure 4 , which shows a flow chart of a method for correcting each temperature abruptness value according to a pH sequence provided by an embodiment of the present invention, wherein the correction of each temperature abruptness value according to the pH sequence comprises the following steps:
[0083] Step S41: segmenting the pH sequence according to the sampling time range corresponding to each cluster to obtain a second subsequence;
[0084] Step S42: obtaining the pH value reduction rate within the adopted time range corresponding to each second subsequence;
[0085] Step S43: taking each pH value reduction rate as a correction parameter to correct the corresponding temperature abruptness value.
[0086] Specifically, step S41 is performed to divide the temperature data into a plurality of continuous time series clusters according to Kmeans cluster analysis, extract the sampling time range corresponding to each cluster, and segment the pH sequence according to the sampling time range of the cluster to obtain a second subsequence. The second subsequence corresponds to the cluster one-to-one, and the corresponding second subsequence has the same sampling time range as the cluster.
[0087] Execute step S42, the greater the difference between the pH value reduction rate at each sampling moment in the kth second subsequence and the pH value reduction rate at each sampling moment in other second subsequences, the greater the pH value reduction rate within the sampling time range corresponding to the kth second subsequence, the faster the pH reduction, the more active the metabolic activity of the microorganisms at the moment corresponding to the kth second subsequence, the more suitable the heating temperature within the sampling time range corresponding to the kth second subsequence, and the worse the reliability of the temperature abruptness value of the temperature data in the cluster corresponding to the kth second subsequence. Based on this, the pH value reduction rate within the sampling time range corresponding to the second subsequence can be obtained according to the difference between the pH value reduction rate at each sampling moment in the second subsequence and the pH value reduction rate at each sampling moment in other second subsequences.
[0088] In this embodiment, the method for obtaining the pH value reduction rate at each sampling moment in the second subsequence can be: subtract the pH value at the next sampling moment from the pH value at the current sampling moment, and then take the difference as an exponential function to ensure that the difference is positive, thereby reducing unnecessary subsequent calculation troubles.
[0089] Based on this, step S43 is executed, and the pH value reduction rate within the sampling time range corresponding to each second subsequence is used as a correction parameter to correct the corresponding temperature abruptness value. When the pH value reduction rate within the sampling time range corresponding to the second subsequence is faster, it means that the microorganisms are more active at the same time, the temperature data at the same time is more suitable, and the possibility of abnormality of the temperature data at the same time is smaller, and the temperature abruptness value of the temperature data at the same time is lowered more, so as to obtain the corrected temperature abruptness value.
[0090] For example, the pH value reduction rate within the sampling time range corresponding to each second subsequence can be obtained by the following formula:
[0091]
[0092] Each temperature abruptness value can then be corrected by the following formula:
[0093]
[0094] in, represents the pH value reduction rate within the sampling time range corresponding to the kth second subsequence; represents the total number of pH values in the kth second subsequence; represents the x-th pH value in the k-th second subsequence; represents the x+1th pH value in the kth second subsequence; represents the total number of the second subsequence; Indicates The total number of pH values in the second subsequence; Indicates The y-th pH value in the second subsequence; Indicates The y+1th pH value in the second subsequence; represents the normalization function; represents the inverse exponential function; Represents the temperature abruptness value of the temperature data in the kth cluster; represents the corrected temperature abruptness value of the temperature data in the kth cluster; e is a natural constant.
[0095] represents the pH decrease rate at each sampling moment in the kth second subsequence; Indicates The pH decrease rate at each sampling moment in the second subsequence.
[0096] The larger the value is, the faster the pH value in the sampling time range corresponding to the kth second subsequence decreases. The smaller it is, the slower the pH value decreases within the sampling time range corresponding to the kth second subsequence.
[0097] Next, step S5 is executed to obtain the temperature anomaly value of each temperature data according to the distribution characteristics of all corrected temperature abruptness values.
[0098] See also Figure 5 , which shows a flow chart of a method for obtaining a temperature anomaly value of each temperature data according to the distribution characteristics of all corrected temperature abruptness values provided by an embodiment of the present invention, wherein obtaining a temperature anomaly value of each temperature data according to the distribution characteristics of all corrected temperature abruptness values comprises the following steps:
[0099] Step S51: Arrange all corrected temperature abruptness values in order of magnitude into one-dimensional data;
[0100] Step S52: performing density clustering analysis on the one-dimensional data to obtain density clusters, and taking the density cluster with the largest amount of data as a normal reference cluster; and:
[0101] Step S53: Obtain each temperature anomaly value according to the clustering characteristic value of the data in the normal reference cluster and the distance from each corrected temperature abruptness value to the normal reference cluster.
[0102] Specifically, step S51 is executed to arrange all the temperature abruptness values (corrected) into one-dimensional data in order of size (eg, from small to large).
[0103] Execute step S52, perform DBSCAN density clustering analysis on the one-dimensional data, and obtain density clustering clusters, wherein the cluster neighborhood radius parameter can be selected as the empirical value 6, and the minimum sample point parameter can be selected as the empirical value 6. Because normal temperature data is usually more than abnormal temperature data, the one with the largest amount of data in the density clustering cluster can be taken as the normal reference cluster, and the temperature anomaly of each temperature data can be judged according to the distance from each temperature data to the normal reference cluster. The farther the distance from the temperature data to the normal reference cluster, the higher the possibility of temperature anomaly of the temperature data. At the same time, since the normal reference cluster is the one with the largest amount of data in the cluster after density clustering, for the normal reference cluster, if the data points in the cluster are more clustered, it means that the temperature data in the normal reference cluster are more normal, the trustworthiness of the normal reference cluster is higher, and the temperature anomaly of the obtained temperature data is more accurate.
[0104] Based on this, step S53 is executed to obtain each temperature anomaly value according to the clustering characteristic value of the data in the normal reference cluster and the distance from each corrected temperature abruptness value to the normal reference cluster. The temperature anomaly value can reflect the abnormal probability of the corresponding temperature data.
[0105] For example, each temperature anomaly value can be obtained by the following formula:
[0106]
[0107] In the formula, Indicates the temperature anomaly value of the t-th temperature data in the one-dimensional data; It indicates the distance from the t-th temperature data in the one-dimensional data to the normal reference cluster. The larger the value, the higher the probability of temperature anomaly of the t-th temperature data in the one-dimensional data. represents the total amount of data in the normal reference cluster; represents the sth corrected temperature abruptness value in the normal reference cluster; represents the s+1th corrected temperature abruptness value in the normal reference cluster; Represents the normalization function.
[0108] It represents the characteristic value of the degree of aggregation of each temperature data in the normal reference cluster. The larger the value is, the more aggregated the temperature data in the normal reference cluster is, the more normal the temperature data in the normal reference cluster is, the higher the trustworthiness of the normal reference cluster is, and the more accurate the obtained temperature anomaly degree value is.
[0109] Next, step S6 is executed to obtain abnormal temperature data according to all the temperature abnormality degree values, and the abnormal temperature data can be adjusted accordingly.
[0110] See also Figure 6 , which shows a specific flow chart of step S6 provided by an embodiment of the present invention, and step S6 specifically includes the following steps:
[0111] Step S61: Compare each temperature abnormality value with an abnormality threshold, and determine that the temperature data corresponding to the temperature abnormality value greater than the abnormality threshold is abnormal temperature data;
[0112] Step S62: Adjust the abnormal temperature data to the mean value of all temperature data.
[0113] Specifically, step S61 is executed to compare each temperature abnormality value with an abnormality threshold. The abnormality threshold may be, for example, an empirical value of 0.88, but should not be limited thereto.
[0114] Step S62 is executed to determine that the temperature data with a temperature abnormality value higher than 0.88 is abnormal temperature data, and then the abnormal temperature data is adjusted to the average value of all temperature data.
[0115] See also Figure 7 , which shows a structural block diagram of a temperature intelligent control system in a disc koji making process provided by an embodiment of the present invention, and the temperature intelligent control system in the disc koji making process includes:
[0116] The sampling unit 10 is used to collect the heating temperature and pH value of the koji-making raw materials in the disc koji-making process in real time to obtain a temperature data sequence and a pH sequence;
[0117] The fluctuation characteristic value acquisition unit 20 is used to segment the temperature data sequence at the inflection point to obtain a first subsequence, and obtain the temperature fluctuation characteristic value corresponding to each temperature data in the first subsequence;
[0118] A clustering unit 30 is used to perform cluster analysis on all temperature data according to the temperature fluctuation characteristic value to obtain cluster clusters;
[0119] An abruptness value acquisition unit 40 is used to obtain a temperature abruptness value of the temperature data in each cluster according to the similarity between the clusters, and to correct each of the temperature abruptness values according to the pH sequence;
[0120] The abnormality value acquisition unit 50 obtains the temperature abnormality value of each temperature data according to the distribution characteristics of all the corrected temperature abruptness values; and:
[0121] The adjustment unit 60 is used to obtain abnormal temperature data according to the temperature abnormality degree value and adjust the abnormal temperature data.
[0122] It should be noted that the sequence of the above embodiments of the present invention is only for description and does not represent the advantages and disadvantages of the embodiments. The processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0123] The various embodiments in this specification are described in a progressive manner, and the same or similar parts between the various embodiments can be referenced to each other, and each embodiment focuses on the differences from other embodiments.
Claims
1. A method for intelligent temperature control in a disc koji making process, characterized in that: include: Real-time collection of the heating temperature and pH value of the koji-making raw materials during the disc koji-making process to obtain temperature data series and pH series; Segmenting the temperature data sequence at the inflection point to obtain a first subsequence, and obtaining a temperature fluctuation characteristic value corresponding to each temperature data in each of the first subsequences; Performing cluster analysis on all the temperature data according to the temperature fluctuation characteristic values to obtain cluster clusters; Obtaining a temperature abruptness value of the temperature data in each of the clusters according to the similarity between the clusters, and correcting each of the temperature abruptness values according to the pH sequence; Obtaining a temperature anomaly value for each of the temperature data according to the distribution characteristics of all the corrected temperature abruptness values; Obtaining abnormal temperature data according to all the temperature abnormality degree values, and adjusting the abnormal temperature data; The step of correcting the temperature abruptness value according to the pH sequence comprises: Segmenting the pH sequence according to the sampling time range corresponding to each of the clusters to obtain a second subsequence; Obtaining a pH value reduction rate within a sampling time range corresponding to each of the second subsequences; Using the pH value reduction rate within the sampling time range corresponding to each of the second subsequences as a correction parameter, correcting the corresponding temperature abruptness value; Obtaining the pH value reduction rate within the sampling time range corresponding to the second subsequence according to the difference between the pH value reduction rate at each sampling moment in the second subsequence and the pH value reduction rate at each sampling moment in other second subsequences; The pH value reduction rate within the sampling time range corresponding to the second subsequence is negatively correlated with the abnormality degree of the temperature data.
2. The temperature intelligent control method in the disc koji making process according to claim 1, characterized in that: The step of obtaining the temperature fluctuation characteristic value corresponding to each temperature data in the first subsequence includes: Performing straight line fitting on the temperature data in the first subsequence to obtain a fitting straight line; The corresponding temperature fluctuation characteristic value is obtained according to the distance between each temperature data and the fitting straight line.
3. The temperature intelligent control method in the disc koji making process according to claim 2, characterized in that: The temperature fluctuation characteristic value corresponding to each temperature data is the superposition of sub-temperature fluctuation characteristic values of the temperature data at all fitting scales.
4. The temperature intelligent control method in the disc koji making process according to claim 1, characterized in that: The temperature abruptness value of the temperature data in each cluster is obtained according to similar attribute values between each cluster and other clusters and confidence parameters corresponding to the similar attribute values.
5. The temperature intelligent control method in the disc koji making process according to claim 1, characterized in that: The step of obtaining the temperature anomaly value of each temperature data according to the distribution characteristics of all the corrected temperature abruptness values comprises: Arrange all the corrected temperature abruptness values in order of magnitude into one-dimensional data; Performing density clustering analysis on the one-dimensional data to obtain density clustering clusters, and taking the density clustering cluster with the largest amount of data as a normal reference cluster; Each temperature anomaly degree value is obtained according to the clustering degree characteristic value of the data in the normal reference cluster and the distance from each corrected temperature abruptness degree value to the normal reference cluster.
6. The temperature intelligent control method in the disc koji making process according to claim 1, characterized in that: The step of obtaining the abnormal temperature data according to all the temperature abnormality values and adjusting the abnormal temperature data comprises: Comparing each of the temperature abnormality values with an abnormality threshold, determining that the temperature data corresponding to the temperature abnormality value being greater than the abnormality threshold is abnormal temperature data; The abnormal temperature data is adjusted to the mean value of all the temperature data.
7. An intelligent temperature control system in the process of disc koji making, characterized in that: The system executes the steps of the temperature intelligent control method in the disc koji making process as claimed in claim 1, and the system comprises: The sampling unit is used to collect the heating temperature and pH value of the koji-making raw materials in the disc koji-making process in real time to obtain a temperature data sequence and a pH sequence; A fluctuation characteristic value acquisition unit, configured to segment the temperature data sequence at an inflection point to obtain a first subsequence, and to acquire a temperature fluctuation characteristic value corresponding to each temperature data in each of the first subsequences; A clustering unit, used for performing cluster analysis on all the temperature data according to the temperature fluctuation characteristic value to obtain a cluster cluster; an abruptness value obtaining unit, used for obtaining a temperature abruptness value of the temperature data in each of the clusters according to the similarity between the clusters, and correcting each of the temperature abruptness values according to the pH sequence; an abnormality value obtaining unit, for obtaining a temperature abnormality value of each temperature data according to the distribution characteristics of all the corrected temperature abruptness values; An adjusting unit is used to obtain the abnormal temperature data according to all the temperature abnormality degree values, and adjust the abnormal temperature data.
Citation Information
Patent Citations
Method for producing red yeast rice powder through solid-state fermentation of yellow wine lees by using disc starter-making machine
CN115651935A
Intelligent monitoring system for recovered alcohol production data
CN116414076A
