A data transmission system for processing strong-flavored pressed rapeseed oil
By obtaining the temperature timing curve, segmented analysis and polynomial regression fitting during the processing of strong-flavored rapeseed oil, the problem of large amount of data affecting the transmission speed is solved, and more efficient data transmission is achieved.
Patent Information
- Application Number
- CN202410988159.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-23
- Publication Date
- 2024-11-12
- Estimated Expiration
- 2044-07-23
AI Technical Summary
The complex trend changes in temperature during the processing of strong-flavored rapeseed oil lead to a huge and complex amount of data in data transmission, affecting the transmission speed.
The temperature timing curve is obtained through the data acquisition module, the segmented module calculates the segmented feature value, the curve feature analysis module calculates the complexity, and uses polynomial regression to fit the function curve to obtain the optimal transmission sequence for transmission.
Improves transmission speed and accuracy, reduces the difference between fitting results and actual values, and reduces the size and type of transmitted data.
Smart Images

Figure CN118523873B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of data transmission, and in particular to a data transmission system for processing strong-flavor pressed rapeseed oil. Background Art
[0002] Data transmission during the processing of strong-flavored pressed rapeseed oil refers to the transmission of monitoring data from each processing stage to the control system and recording system for monitoring, analysis and control. Temperature control during the processing is crucial to the quality and stability of oils and fats, because the pressing process at different temperatures will result in different aroma intensity and nutrient content of rapeseed oil; after nutrient testing and taste analysis, it was found that the rapeseed oil obtained under the condition of 148 degrees has a stronger aroma and retains a higher content of nutrients. Therefore, precise temperature control is required at different processing stages to ensure complete heating, sufficient pressing and stability of the oil, so as to obtain strong-flavored rapeseed oil under the condition of 148 degrees.
[0003] Temperature sensors are installed at key locations of processing equipment to collect and transmit temperature data, such as collecting temperature change characteristics during the pre-baking stage, heating stage, cooling stage, and other processing stages; wired transmission, wireless transmission, or cloud platform transmission are used to effectively transmit and analyze processing data. Due to the complex temperature trend changes in multiple processing stages during the processing of Luzhou-flavored pressed rapeseed oil, the amount of data in the transmission process is huge and complex, which increases the transmission pressure and affects the transmission speed. Summary of the invention
[0004] In order to solve the above-mentioned technical problem that the amount of data in transmission is huge and complex due to the complex trend changes of temperature in different processing stages, which affects the transmission speed, the purpose of the present invention is to provide a data transmission system for processing and transmitting strong-flavored pressed rapeseed oil, and the technical scheme adopted is as follows:
[0005] A data acquisition module, used to obtain the temperature time series curve during rapeseed oil processing;
[0006] A curve segmentation module, used to obtain segmented characteristic values of data points according to the difference characteristics of the temperature change amplitude of the preset segmented intervals in the temperature time series curve; and obtain different processing stage characteristic curves according to the segmented characteristic values of the data points in the temperature time series curve;
[0007] A curve characteristic analysis module, used to obtain a first complexity according to the degree of disorder and discreteness of the temperature in the processing stage characteristic curve; obtain a second complexity according to the curve shape characteristics and temperature change correlation characteristics of the processing stage characteristic curve; obtain the complexity of the processing stage characteristic curve according to the first complexity and the second complexity; obtain a fitting function curve of the processing stage characteristic curve through polynomial regression according to the complexity;
[0008] The data transmission module is used to obtain a fitting difference value according to the fitting function curve and the processing stage characteristic curve; obtain an optimal transmission sequence according to the fitting difference value; and transmit the optimal transmission sequence.
[0009] Furthermore, the step of obtaining the segmented characteristic value of the data point according to the difference characteristics of the temperature change amplitude of the preset segmented interval in the temperature time series curve includes:
[0010] For any data point in the preset segmentation interval, the average value of the tangent slopes of the historical data points before the arbitrary data point is calculated in the preset segmentation interval to obtain the historical change degree value, and the average value of the tangent slopes of the future data points after the arbitrary data point is calculated to obtain the future change degree value; the absolute value of the difference between the historical change degree value and the future change degree value is calculated and normalized to obtain a first difference characteristic value;
[0011] Fitting is performed according to the arbitrary data point and other data points within a preset neighborhood to obtain a characteristic function of the arbitrary data point; obtaining a first-order derivative value and a second-order derivative value of the arbitrary data point according to the characteristic function; calculating and normalizing the curvature of the arbitrary data point according to the first-order derivative value and the second-order derivative value to obtain a second difference characteristic value of the arbitrary data point;
[0012] Calculate the product of the first difference characteristic value and the preset first weight to obtain a first segmentation factor; calculate the product of the second difference characteristic value and the preset second weight to obtain a second segmentation factor; calculate the sum of the first segmentation factor and the second segmentation factor to obtain the segmentation characteristic value of the arbitrary data point.
[0013] Furthermore, the step of obtaining characteristic curves of different processing stages according to the segmented characteristic values of the data points in the temperature time series curve comprises:
[0014] The data point corresponding to the maximum value of the segment characteristic value in the preset segment interval is used as the segment point; the temperature timing curve is segmented according to the segment points to obtain characteristic curves of different processing stages.
[0015] Furthermore, the step of obtaining the first complexity according to the degree of disorder and discreteness of the temperature in the processing stage characteristic curve comprises:
[0016] The information entropy of the temperature value in the processing stage characteristic curve is calculated and normalized to obtain the temperature chaos eigenvalue; the ratio of the minimum value to the maximum value of the temperature value in the processing stage characteristic curve is calculated and negatively correlated to obtain the temperature discrete eigenvalue; the average value of the temperature chaos eigenvalue and the temperature discrete eigenvalue is calculated to obtain the first complexity of the processing stage characteristic curve.
[0017] Furthermore, the step of obtaining the second complexity according to the curve shape characteristics and the temperature change correlation characteristics of the processing stage characteristic curve includes:
[0018] Calculate the average value of the absolute value of the Pearson correlation coefficient between any two data points in the processing stage characteristic curve and negatively map them to obtain a temperature-related characteristic value; calculate the maximum value of the ratio of the tangent angle of the curve arc in the processing stage characteristic curve to the arc length value and normalize them to obtain an average curvature characteristic value; calculate the product of the temperature-related characteristic value and a preset third weight to obtain a temperature-related factor, calculate the product of the average curvature characteristic value and a preset fourth weight to obtain a curvature characteristic factor; calculate the sum of the temperature-related factor and the curvature characteristic factor to obtain the second complexity of the processing stage characteristic curve.
[0019] Furthermore, the step of obtaining the complexity of the processing stage characteristic curve according to the first complexity and the second complexity includes:
[0020] An average value of the first complexity and the second complexity is calculated to obtain the complexity of the processing stage characteristic curve.
[0021] Furthermore, the step of obtaining the fitting function curve of the processing stage characteristic curve by polynomial regression according to the complexity comprises:
[0022] Fitting the processing stage characteristic curve by polynomial regression to obtain a fitting function;
[0023] When the complexity is lower than a preset first threshold, the order of the fitting function is a preset first value; when the complexity is not lower than the preset first threshold and not higher than the preset second threshold, the order of the fitting function is a preset second value; when the complexity is not lower than the preset second threshold, the order of the fitting function is a preset third value; the preset third value is greater than the preset second value, and the preset second value is greater than the preset first value.
[0024] Furthermore, the step of obtaining a fitting difference value according to the fitting function curve and the processing stage characteristic curve comprises:
[0025] Calculate the difference between the fitting function curve and the data points corresponding to the processing stage characteristic curve to obtain the data difference value; for the target data point whose absolute value of the data difference value is not higher than the preset difference threshold, calculate the average value of the absolute value of the data difference value of the target data point and normalize it to obtain the difference benchmark; when the data difference value of the target data point is not a negative number, use the difference benchmark as the fitting difference value of the target data point; when the data difference value of the target data point is a negative number, use the opposite of the difference benchmark as the fitting difference value of the target data point; use the data difference value of the non-target data point as the fitting difference value of the corresponding non-target data point.
[0026] Further, the step of obtaining the optimal transmission sequence according to the fitting difference value includes:
[0027] The corresponding fitting difference values are sorted according to the time sequence of the temperature timing curve to obtain the optimal transmission sequence.
[0028] The present invention has the following beneficial effects:
[0029] In the present invention, obtaining segmented characteristic values can determine the possibility of different data points as segmented points according to the difference in temperature change characteristics of different processing stages, so that different processing stage characteristic curves can be accurately obtained according to the segmented characteristic values; different polynomial regressions are performed on the characteristic curves of different processing stages to improve the accuracy of polynomial regression fitting, preliminarily reduce the difference between the fitting results and the actual values, the size and type of the transmitted data, and improve the transmission speed. Because the different orders of the polynomials obtained by the polynomial regression algorithm will lead to differences in the accuracy of the fitting results, the first complexity and the second complexity are obtained according to the temperature data characteristics and curve shape characteristics of the processing stage characteristic curve. The complexity obtained by combining the first complexity and the second complexity can accurately characterize the complexity and intensity of the temperature change of the processing stage characteristic curve; thus, the order of the polynomial is further determined according to the complexity and the characteristics of the order selection in the polynomial regression algorithm, the accuracy of the fitting results is improved, the difference between the fitting value and the actual temperature value is minimized, the data size and data type in the optimal transmission sequence are further reduced, and the transmission speed is improved. Finally, the optimal transmission sequence is transmitted, which can improve the data transmission speed without reducing the accuracy of the temperature data during the transmission process. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] 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.
[0031] Figure 1 A block diagram of a data transmission system for processing strong-flavor pressed rapeseed oil provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0032] 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 data transmission system for processing and transmitting a fragrant type rapeseed oil according to the present invention, its specific implementation, structure, features and effects, in conjunction 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.
[0033] 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.
[0034] The specific scheme of the data transmission system for processing strong-flavor pressed rapeseed oil provided by the present invention is described in detail below with reference to the accompanying drawings.
[0035] See also Figure 1 , which shows a block diagram of a data transmission system for processing strong-flavored pressed rapeseed oil provided by an embodiment of the present invention, the system includes the following modules:
[0036] The data acquisition module S1 is used to obtain the temperature time series curve during the rapeseed oil processing.
[0037] In the embodiment of the present invention, the implementation scenario is to transmit the temperature time series data in the rapeseed oil processing process, and to improve the transmission speed without affecting the accuracy of the transmitted data. First, the temperature time series curve during the processing of rapeseed oil is obtained. In the embodiment of the present invention, the processing stage of rapeseed oil includes: putting rapeseed into a rotary oven through a conveying device for frying, controlling the frying temperature to 148°C, and the frying time to 35 minutes. When the cross-section of the rapeseed kernel turns brown and the moisture content is less than 2%, the furnace is opened for unloading; the fried rapeseed is stored in a tempering machine, and boiling water is sprayed on it while hot, stirred evenly, and tempered for 5 minutes to increase the moisture content of the rapeseed to 4%; after replenishing water, the rapeseed is put into a screw press while hot for pressing to obtain rapeseed pressed crude oil, and the rapeseed cake after pressing is 2 mm thick and the oil content is less than 7%; the rapeseed pressed crude oil enters a horizontal screw press for slag removal, and then enters a frame plate filter for coarse filtration to remove finer impurities; the filtered rapeseed oil is put into a winterization tank and winterized at 0°C for 24 hours; finally, 148-degree strong-flavor pressed rapeseed oil is obtained. Temperature sensors are installed at key locations where temperature changes in each processing stage can be accurately monitored, and temperature data during rapeseed oil processing is collected according to a preset collection frequency. In the embodiment of the present invention, the preset collection frequency is to collect temperature data twice per second, and the implementer can determine the preset collection frequency according to the implementation scenario. The acquired temperature time series data is mapped in a two-dimensional rectangular coordinate system, where the horizontal axis of the two-dimensional rectangular coordinate system is the time axis and the vertical axis is the temperature value, to obtain a temperature time series curve.
[0038] The temperature requirements for different processing stages in the rapeseed oil processing process are different, and the temperature is difficult to keep fixed. There will be slight fluctuations in the temperature at adjacent moments, resulting in many and complex types of temperature values in the temperature time series curve, which makes it difficult to reduce the amount of data when compressing and transmitting the temperature data, and the transmission efficiency is low. Since the slight temperature fluctuations in the temperature time series curve have a negligible impact on the control and analysis of temperature in the rapeseed oil processing process, in order to improve the transmission efficiency, the temperature time series curve can be fitted and smoothed to reduce the temperature data type, reduce the amount of data in the transmission process, and improve the transmission efficiency. For the temperature time series curve with more complex changes, the existing polynomial regression algorithm can be used to establish a regression model, and the regression model can be used to represent the complex temperature time series curve. According to the principle of the polynomial regression algorithm, the order selection of the algorithm is a key factor, which affects the complexity and fitting ability of the model; if the order is set too low, it may lead to underfitting, and if the order is set too high, it may lead to overfitting, both of which will reduce the accuracy of fitting. According to the changing characteristics of the temperature time series curve, if the temperature time series curve presents a strong linear feature, a more accurate fitting result can be obtained by fitting with a first-order polynomial of order 1. If the temperature time series curve presents a strong or complex nonlinear change feature, a higher-order polynomial model is required to obtain a more accurate fitting result. Since the temperature requirements of rapeseed oil in different processing stages are different during the processing, the temperature characteristics between different processing stages are more complex and changeable. If the overall temperature time series curve is directly fitted, some temperature time series curves will be overfitted, while some temperature time series curves will be underfitted, which will affect the fitting accuracy and result in low accuracy of the transmitted temperature data. Therefore, it is necessary to improve the process of constructing a regression model for the temperature time series curve according to the polynomial regression algorithm, so as to improve the transmission efficiency while ensuring the accuracy of the transmitted temperature data.
[0039] The curve segmentation module S2 is used to obtain segmented characteristic values of data points according to the difference characteristics of the temperature change amplitude of the preset segmented intervals in the temperature time series curve; and obtain different processing stage characteristic curves according to the segmented characteristic values of the data points in the temperature time series curve.
[0040] Since the temperature change characteristics of different processing stages are quite different, the temperature changes in some processing stages are relatively linear, and the temperature changes in some processing stages are relatively complex and changeable, the temperature time series curve can be segmented, and the temperature time series curve segments with different change trend characteristics can be used with regression models of different orders to improve the fitting accuracy. Since the temperature change characteristics have hysteresis, they will not change significantly immediately with the switching of processing stages, and there is often a certain hysteresis; therefore, the switching time point at which the temperature change characteristics in the temperature time series curve change cannot be directly determined based on the switching time point of the processing stage, and it is necessary to segment according to the characteristics of the temperature time series curve. Therefore, the segmented characteristic value of the data point is obtained according to the difference characteristics of the temperature change amplitude in the preset segmented interval in the temperature timing curve. The preset segmented interval is the time range for technical personnel in this field to switch the processing stage. For example, the first processing stage is the pre-baking stage, and the end time of this stage is from the 20th minute to the 25th minute. At the same time, the temperature change has a lag, and the time interval for the obvious temperature change may be from the 20th minute to the 30th minute. Therefore, the preset segmented interval is the temperature timing curve segment corresponding to the 20th minute to the 30th minute. The implementer can determine the preset segmented interval for every two adjacent processing stages according to the implementation scenario.
[0041] Preferably, in an embodiment of the present invention, the step of obtaining the segmented characteristic value includes: for any data point in a preset segmented interval, calculating the average value of the tangent slope of the historical data points before the arbitrary data point in the preset segmented interval to obtain the historical change degree value; it should be noted that the acquisition of the tangent slope belongs to the prior art, and the specific calculation steps are no longer repeated. The tangent slope can reflect the change amplitude of the temperature value at that moment, and the historical change degree value can reflect the average level of the temperature change degree at the moment before the arbitrary data point. Calculate the average value of the tangent slope of the future data points after the arbitrary data point to obtain the future change degree value; the future change degree value can reflect the average level of the temperature change degree at the moment after the arbitrary data point; it should be noted that if the arbitrary data point is the first position of the preset segmented interval, the tangent slope of the arbitrary data point is the historical change degree value, and if the arbitrary data point is the last position of the preset segmented interval, the tangent slope of the arbitrary data point is the future change degree value. The absolute value of the difference between the historical change degree value and the future change degree value is calculated and normalized to obtain the first difference characteristic value; when the difference between the future change degree value and the historical change degree value is greater, the first difference characteristic value is greater, which means that the difference in temperature change characteristics before and after the arbitrary data point is greater, and the arbitrary data point is more likely to be at a position where the temperature characteristics of two adjacent processing stages change significantly.
[0042] Further, fitting is performed based on the arbitrary data point and other data points within the preset neighborhood range to obtain the characteristic function of the arbitrary data point; in the embodiment of the present invention, the preset neighborhood range is a data range constructed with the arbitrary data point as the center and a total of 120 data points before and after, which can be determined by the implementer according to the implementation scenario; in the embodiment of the present invention, a polynomial regression algorithm is used to fit the data of the preset neighborhood range to obtain a characteristic function, which is a cubic polynomial. The polynomial regression algorithm belongs to the prior art, and the specific fitting steps are no longer repeated. The characteristic function characterizes the data change characteristics within the preset neighborhood range; the implementer can determine the method for obtaining the characteristic function according to the implementation scenario. The first-order derivative value and the second-order derivative value of the arbitrary data point are obtained according to the characteristic function; the curvature of the arbitrary data point is calculated and normalized according to the first-order derivative value and the second-order derivative value to obtain the second difference characteristic value of the arbitrary data point; when the curvature at the arbitrary data point is larger, the second difference characteristic value is larger, which means that the bending degree of the temperature time series curve at the arbitrary data point is larger, the temperature change characteristics have changed significantly, and the arbitrary data point is more likely to be in a position where the temperature characteristics of two adjacent processing stages have changed significantly. It should be noted that obtaining the curvature of a curve based on the first-order derivative value and the second-order derivative value belongs to the prior art, which is specifically explained in the formula for obtaining the segmented eigenvalue. Calculate the product of the first difference eigenvalue and the preset first weight to obtain the first segmentation factor; calculate the product of the second difference eigenvalue and the preset second weight to obtain the second segmentation factor; calculate the sum of the first segmentation factor and the second segmentation factor to obtain the segmented eigenvalue of the arbitrary data point. In an embodiment of the present invention, the preset first weight is 0.6, and the preset second weight is 0.4. The larger the value of the weight, the greater the contribution of the corresponding difference eigenvalue in the calculation of the segmented eigenvalue. The implementer can determine it by himself according to the implementation scenario. The larger the segmented eigenvalue, the more likely it is that the arbitrary data point is a segmentation point where the temperature change characteristics have changed significantly. The formula for obtaining the segmented eigenvalue includes:
[0043]
[0044] In the formula, D represents the segmented characteristic value of the data point in the preset segmentation interval, Indicates the preset first weight, Indicates the preset second weight, Indicates normalization of the function value. Indicates the historical change value. Indicates the value of future change degree; represents the first difference eigenvalue; represents the first segmentation factor; represents the second-order derivative value of the data point, represents the first-order derivative value of the data point, represents the curvature value of the data point, represents the second difference eigenvalue, Represents the second segmentation factor.
[0045] After obtaining the segmented characteristic value of each data point in the preset segmented interval, different processing stage characteristic curves can be obtained according to the segmented characteristic values of the data points in the temperature timing curve, specifically including: taking the data point corresponding to the maximum value of the segmented characteristic value in the preset segmented interval as the segmentation point; segmenting the temperature timing curve according to the segmentation points to obtain different processing stage characteristic curves, and there are obvious differences in the temperature change characteristics of different processing stage characteristic curves.
[0046] The curve characteristic analysis module S3 is used to obtain a first complexity according to the degree of confusion and discreteness of the temperature in the processing stage characteristic curve; obtain a second complexity according to the curve shape characteristics and temperature change correlation characteristics of the processing stage characteristic curve; obtain the complexity of the processing stage characteristic curve according to the first complexity and the second complexity; and obtain a fitting function curve of the processing stage characteristic curve through polynomial regression according to the complexity.
[0047] After obtaining the characteristic curve of each processing stage, the order of the polynomial regression algorithm can be determined according to the complexity and intensity of the temperature change in the characteristic curve of each processing stage. When the temperature change is more nonlinear and complex, the order of the fitted regression model is higher; therefore, the first complexity is obtained according to the degree of chaos and discreteness of the temperature in the characteristic curve of the processing stage.
[0048] Preferably, in an embodiment of the present invention, the step of obtaining the first complexity includes: calculating the information entropy of the temperature value in the processing stage characteristic curve and normalizing it to obtain the temperature chaos characteristic value; it should be noted that the information entropy belongs to the prior art, and the specific calculation steps are not repeated. When the information entropy is larger, the temperature chaos characteristic value is larger, which means that the temperature values in the processing stage characteristic curve are more chaotic and less similar, and the possibility that the temperature change of the processing stage characteristic curve is more complex is greater. Calculate the ratio of the minimum value to the maximum value of the temperature value in the processing stage characteristic curve and negatively map it to obtain the temperature discrete characteristic value; when the difference between the maximum value and the minimum value is larger, the ratio is smaller, and the temperature discrete characteristic value is larger, which means that the temperature distribution in the processing stage characteristic curve is more discrete, the temperature data types between the minimum value and the minimum value are more, and the possibility that the temperature change is more complex is greater. Calculate the average value of the temperature chaos characteristic value and the temperature discrete characteristic value to obtain the first complexity of the processing stage characteristic curve; when the first complexity is larger, it means that the possibility that the temperature change of the processing stage characteristic curve is more complex is greater.
[0049] Further, when the average curvature of the curve arc of the processing stage curve is larger, and the temperature change characteristics are less correlated, it means that the temperature change of the processing stage curve is more complex. Therefore, the second complexity is obtained according to the curve shape characteristics and temperature change correlation characteristics of the processing stage characteristic curve; preferably, in an embodiment of the present invention, the step of obtaining the second complexity includes: calculating the average value of the absolute value of the Pearson correlation coefficient between any two data points in the processing stage characteristic curve and negatively mapping, and obtaining the temperature correlation characteristic value. It should be noted that the calculation of the Pearson correlation coefficient belongs to the prior art, and the specific calculation steps are no longer repeated. When the change characteristics of the two sequences are more correlated, the absolute value of the Pearson correlation coefficient is closer to 1; conversely, when the change characteristics between the two sequences are less correlated, the Pearson correlation coefficient is closer to 0; therefore, when the temperature correlation characteristic value is larger, it means that the Pearson correlation coefficient is smaller, the change of the temperature value in the processing stage curve is less correlated, and the temperature change is more complex and chaotic. The maximum value of the ratio of the tangent turning angle of the curve arc to the arc length value in the characteristic curve of the processing stage is calculated and normalized to obtain the average curvature characteristic value; it should be noted that the calculation of the average curvature according to the tangent turning angle and arc length of the curve arc belongs to the prior art, and the selection of the maximum value of the average curvature in the characteristic curve of the processing stage as the average curvature characteristic value can reflect the complexity of the temperature change in the characteristic curve of the processing stage; when the average curvature characteristic value is larger, it means that the curvature of the curve arc is larger, and the change of the temperature value corresponding to the curve arc is more nonlinear. Calculate the product of the temperature-related characteristic value and the preset third weight to obtain the temperature-related factor, calculate the product of the average curvature characteristic value and the preset fourth weight to obtain the curvature characteristic factor; calculate the sum of the temperature-related factor and the curvature characteristic factor to obtain the second complexity of the characteristic curve of the processing stage. In the embodiment of the present invention, the preset third weight and the preset fourth weight are 0.5 respectively, and the implementer can determine it according to the implementation scenario; when the second complexity is larger, it means that the temperature change of the characteristic curve of the processing stage is more complex and intense.
[0050] After obtaining the first complexity and the second complexity of the processing stage characteristic curve, the complexity of the processing stage characteristic curve can be obtained according to the first complexity and the second complexity. Preferably, in the embodiment of the present invention, the step of obtaining the complexity includes: calculating the average value of the first complexity and the second complexity to obtain the complexity of the processing stage characteristic curve; when the complexity is greater, it means that the temperature change of the processing stage characteristic curve is more complex and intense, and a higher order is required in the polynomial regression process to ensure the fitting accuracy. The formula for obtaining the complexity includes:
[0051]
[0052] Where W represents the complexity of the characteristic curve in the processing stage, E represents the temperature chaos characteristic value, Indicates the minimum temperature value in the characteristic curve of this processing stage, Indicates the maximum temperature value in the characteristic curve of this processing stage, represents an exponential function with a natural constant as the base, and the goal is to perform negative correlation mapping. The means of negative correlation mapping in the embodiments of the present invention all perform negative correlation mapping through the exponential function. The implementer can determine the negative correlation mapping method according to the implementation scenario; represents the discrete eigenvalue of temperature, Indicates the first complexity. Indicates the preset third weight, represents the preset fourth weight, P represents the temperature-related eigenvalue, and S represents the mean curvature eigenvalue; represents the temperature correlation factor; represents the curvature characteristic factor; Indicates the second complexity.
[0053] When the complexity is greater, it means that the temperature change characteristics of the characteristic curve of the processing stage are more complex. In order to avoid underfitting affecting the accuracy, a higher order is required in the process of using the polynomial regression algorithm; when the complexity is smaller, it means that the temperature change characteristics of the characteristic curve of the processing stage are relatively simple and linear. In order to avoid overfitting affecting the accuracy, a lower order is required in the process of using the polynomial regression algorithm. Therefore, the fitting function curve of the characteristic curve of the processing stage is obtained through polynomial regression according to the complexity.
[0054] Preferably, in an embodiment of the present invention, the step of obtaining a fitting function curve includes: fitting the processing stage characteristic curve by polynomial regression to obtain a fitting function; it should be noted that the polynomial regression algorithm belongs to the prior art, and the specific fitting steps are not repeated. When the complexity is lower than the preset first threshold, it means that the change of the processing stage characteristic curve is less complex, and the order of the fitting function is the preset first value; in the embodiment of the present invention, the preset first threshold is 0.3, and the preset first value is a constant 1, that is, the fitting function curve is a first-order polynomial, and the first-order polynomial can be used to accurately fit the processing stage characteristic curve with a relatively linear change, avoiding the situation where overfitting affects the accuracy. When the complexity is not lower than the preset first threshold and does not exceed the preset second threshold, the order of the fitting function is the preset second value; in the embodiment of the present invention, the preset second threshold is 0.7, and the preset second value is a constant 2, that is, the fitting function curve is a second-order polynomial, and the second-order polynomial can be used to accurately fit the processing stage characteristic curve with a relatively conventional change characteristic, avoiding the situation where overfitting and underfitting affect the accuracy. When the complexity is not less than the preset second threshold, the order of the fitting function is the preset third value; the preset third value is greater than the preset second value, and the preset second value is greater than the preset first value; in the embodiment of the present invention, the preset third value is 3, that is, the fitting function curve is a third-order polynomial; in order to more accurately characterize the characteristic curve of the processing stage with more complex temperature changes, a higher-order polynomial is required for fitting to ensure accuracy. It should be noted that the implementer can determine the preset first threshold and the preset second threshold, as well as the preset first value, the preset second value and the preset third value according to the implementation scenario, and no limitation is made here.
[0055] The data transmission module S4 is used to obtain a fitting difference value according to the fitting function curve and the processing stage characteristic curve; obtain an optimal transmission sequence according to the fitting difference value; and transmit the optimal transmission sequence.
[0056] After obtaining the processing stage characteristic curve and the corresponding fitting function curve, the difference between the fitting value and the actual temperature value can be analyzed, and the transmission rate and accuracy can be further improved according to the degree of difference. Therefore, the fitting difference value is obtained according to the fitting function curve and the processing stage characteristic curve. Preferably, in an embodiment of the present invention, the step of obtaining the fitting difference value includes: calculating the difference between the fitting function curve and the corresponding data points of the processing stage characteristic curve to obtain the data difference value; when the data difference value is larger, it means that the difference between the fitting value and the actual value at this time point is larger, and the actual temperature value at this time point has a relatively abnormal change, then it is necessary to transmit the temperature data at this time point losslessly, so as to more accurately analyze the temperature change at this time point and improve the process stability of the subsequent processing of rapeseed oil.
[0057] For the target data points whose absolute value of the data difference value is not higher than the preset difference threshold, it means that the difference between the fitting value and the actual temperature value is small, and the actual temperature value has normal slight fluctuations above and below the fitting curve, which does not affect the accuracy of temperature analysis and control; in the embodiment of the present invention, the preset difference threshold is 2.5, which can be determined by the implementer according to the implementation scenario. Then the average value of the absolute value of the data difference value of this type of target data point is calculated and normalized to obtain the difference benchmark; the difference benchmark is the average level of the difference between the actual temperature value of the target data point and the corresponding fitting value. In order to reduce the data type in the data transmission process and improve the transmission efficiency, the difference benchmark can be used as the difference value between all target data points and the fitting value of this type for lossy transmission. Therefore, when the data difference value of the target data point is not negative, the difference benchmark is used as the fitting difference value of the target data point. When the data difference value of the target data point is negative, the opposite number of the difference benchmark is used as the fitting difference value of the target data point; under the premise of not affecting the temperature analysis and control, the data type of the transmission process is reduced and the transmission speed is improved. The data difference value of the non-target data point is used as the fitting difference value of the corresponding non-target data point. The non-target data point is a data point whose absolute value of the data difference value is higher than the preset difference threshold. There is a large difference between the actual temperature value of the non-target data point and the fitting value. The actual difference value needs to be transmitted losslessly to ensure the accuracy of temperature analysis and control.
[0058] Furthermore, the optimal transmission sequence is obtained according to the fitting difference value, specifically including: sorting the corresponding fitting difference values according to the time sequence of the temperature timing curve to obtain the optimal transmission sequence. Then the optimal transmission sequence is transmitted. Compared with the temperature value in the original temperature timing curve and the fitting value obtained by directly performing polynomial regression on the entire temperature timing curve, the optimal transmission sequence has smaller values and smaller data types, so that the compression transmission efficiency is greatly improved during the compression transmission process, and the accuracy of temperature data transmission is not affected; lossy transmission is performed for temperature data with a small difference between the fitting value and the actual value, and lossless transmission is performed for temperature data with a large difference between the fitting value and the actual value. After transmission, a temperature time series similar to the original temperature value can be obtained according to the specific formula of the fitting function curve and the optimal transmission sequence, and analysis and control are performed according to the temperature time series.
[0059] In summary, the embodiment of the present invention provides a data transmission system for processing strong-flavored pressed rapeseed oil; different processing stage characteristic curves are obtained according to the difference characteristics of the temperature change amplitude of the preset segmented interval in the temperature time series curve; the first complexity is obtained according to the degree of confusion and discreteness of the temperature in the processing stage characteristic curve; the second complexity is obtained according to the curve shape characteristics and temperature change correlation characteristics of the processing stage characteristic curve; the fitting function curve of the processing stage characteristic curve is obtained through polynomial regression according to the first complexity and the second complexity. The present invention obtains the optimal transmission sequence according to the fitting function curve and the processing stage characteristic curve, and transmits the optimal transmission sequence; while not reducing the accuracy of the temperature data during the transmission process, the data transmission speed is improved.
[0060] 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.
[0061] 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 data transmission system for processing fragrant rapeseed oil, characterized in that: The system includes the following modules: A data acquisition module, used to obtain the temperature time series curve during rapeseed oil processing; A curve segmentation module, used to obtain segmented characteristic values of data points according to the difference characteristics of the temperature change amplitude of the preset segmented intervals in the temperature time series curve; and obtain different processing stage characteristic curves according to the segmented characteristic values of the data points in the temperature time series curve; A curve characteristic analysis module, used to obtain a first complexity according to the degree of disorder and discreteness of the temperature in the processing stage characteristic curve; obtain a second complexity according to the curve shape characteristics and temperature change correlation characteristics of the processing stage characteristic curve; obtain the complexity of the processing stage characteristic curve according to the first complexity and the second complexity; obtain a fitting function curve of the processing stage characteristic curve through polynomial regression according to the complexity; A data transmission module, used for obtaining a fitting difference value according to the fitting function curve and the processing stage characteristic curve; obtaining an optimal transmission sequence according to the fitting difference value; and transmitting the optimal transmission sequence; The step of obtaining the segmented characteristic value of the data point according to the difference characteristics of the temperature change amplitude of the preset segmented interval in the temperature time series curve comprises: , where D represents the segmented characteristic value of any data point in the preset segmented interval, Indicates the preset first weight, Indicates the preset second weight, Indicates normalization of the function value. represents the average value of the tangent slope of the historical data points before the arbitrary data point calculated in the preset segmentation interval, that is, the historical change degree value, represents the average value of the tangent slope of the future data points after the arbitrary data point, that is, the future change degree value, represents the first difference eigenvalue, represents the first segmentation factor, represents the second-order derivative value of any data point, represents the first-order derivative value of any data point, represents the curvature value of any data point, represents the second difference eigenvalue, represents the second segmentation factor; The step of obtaining the complexity of the processing stage characteristic curve according to the first complexity and the second complexity comprises: , where W represents the complexity of the characteristic curve of the processing stage, and E represents the information entropy of the temperature value in the characteristic curve of the processing stage and normalized, that is, the temperature chaos characteristic value, Indicates the minimum temperature value in the characteristic curve of this processing stage, Indicates the maximum temperature value in the characteristic curve of this processing stage, represents an exponential function with a natural constant as base, represents the discrete eigenvalue of temperature, Indicates the first complexity; Indicates the preset third weight, represents the preset fourth weight, P represents the average value of the absolute value of the Pearson correlation coefficient between any two data points in the processing stage characteristic curve and negative correlation mapping, that is, the temperature correlation characteristic value, S represents the maximum value of the ratio of the tangent angle of the curve arc to the arc length value in the processing stage characteristic curve and normalized, that is, the average curvature characteristic value, represents the temperature correlation factor, represents the curvature characteristic factor, Indicates the second complexity.
2. A data transmission system for processing strong-flavor pressed rapeseed oil according to claim 1, characterized in that: The step of obtaining characteristic curves of different processing stages according to the segmented characteristic values of the data points in the temperature time series curve comprises: The data point corresponding to the maximum value of the segment characteristic value in the preset segment interval is used as the segment point; the temperature timing curve is segmented according to the segment points to obtain characteristic curves of different processing stages.
3. A data transmission system for processing strong-flavor pressed rapeseed oil according to claim 1, characterized in that: The step of obtaining the fitting function curve of the processing stage characteristic curve by polynomial regression according to the complexity comprises: Fitting the processing stage characteristic curve by polynomial regression to obtain a fitting function; When the complexity is lower than a preset first threshold, the order of the fitting function is a preset first value; when the complexity is not lower than the preset first threshold and not higher than the preset second threshold, the order of the fitting function is a preset second value; when the complexity is not lower than the preset second threshold, the order of the fitting function is a preset third value; the preset third value is greater than the preset second value, and the preset second value is greater than the preset first value.
4. A data transmission system for processing strong-flavor pressed rapeseed oil according to claim 1, characterized in that: The step of obtaining a fitting difference value according to the fitting function curve and the processing stage characteristic curve comprises: Calculate the difference between the fitting function curve and the data points corresponding to the processing stage characteristic curve to obtain the data difference value; for the target data point whose absolute value of the data difference value is not higher than the preset difference threshold, calculate the average value of the absolute value of the data difference value of the target data point and normalize it to obtain the difference benchmark; when the data difference value of the target data point is not a negative number, use the difference benchmark as the fitting difference value of the target data point; when the data difference value of the target data point is a negative number, use the opposite of the difference benchmark as the fitting difference value of the target data point; use the data difference value of the non-target data point as the fitting difference value of the corresponding non-target data point.
5. A data transmission system for processing strong-flavor pressed rapeseed oil according to claim 1, characterized in that: The step of obtaining the optimal transmission sequence according to the fitting difference value comprises: The corresponding fitting difference values are sorted according to the time sequence of the temperature timing curve to obtain the optimal transmission sequence.
