Method and device for monitoring purification of power oil
By setting a color sensor in the oil purification system and using a data correction function to correct the Lab data of the oil, the problems of cumbersome analysis process and poor accuracy in the monitoring method of oil purification for power generation are solved, and high-precision monitoring of oil purification effect and online real-time detection are realized.
Patent Information
- Application Number
- CN202411656628.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-19
- Publication Date
- 2025-12-16
- Estimated Expiration
- 2044-11-19
AI Technical Summary
Existing methods for monitoring oil purification in the power industry are cumbersome and lack accuracy. Sampling and analysis results are easily affected by external factors and cannot accurately reflect the purification effect.
A color sensor is installed in the oil purification system. The data acquisition deviation is determined by collecting Lab data from a standard color chart, and the original oil Lab data is corrected using a data correction function to detect the oil purification effect.
It simplifies the sampling and analysis process, improves the monitoring accuracy of oil purification effect, reduces the impact of external factors, and realizes the self-calibration of color sensor, thus reducing calibration costs.
Smart Images

Figure CN119666761B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of power oil, and particularly relates to a power oil purification monitoring method and device. BACKGROUND
[0002] Power oil refers to oil products used in various power oil-filled equipment and mechanical devices in a power system, mainly including insulating oil (such as transformer oil), fire-resistant oil, turbine oil, cable oil and the like. With the increasing running time of power oil-filled equipment, aging is intensified, and the oxidation products and mechanical impurities in the power oil are continuously increased, the performance is deteriorated, and in severe cases, the power oil-filled equipment running failure can be caused, and the safe operation of the power grid system is affected.
[0003] In the related art, the power oil is mostly purified by a clean oil system periodically to remove the oxidation products and mechanical impurities and the like. Among them, the user can sample the oil product in the clean oil system, analyze the granularity, moisture, gas content and the like in the oil sample, to detect the clean oil effect, until it is determined that the clean oil effect is up to the standard, and the clean oil work is completed.
[0004] However, the process of sampling and analyzing the granularity, moisture, gas content and the like is relatively complex, and the analysis result is easily affected by external factors, so that the sampling and analysis result cannot accurately reflect the purification effect. In summary, the existing power oil purification monitoring method has the problems of complicated analysis process and poor monitoring accuracy. SUMMARY
[0005] The embodiments of the present application provide a power oil purification monitoring method and device to solve the problems of complicated analysis process and poor monitoring accuracy in the power oil purification monitoring method.
[0006] In a first aspect, the embodiments of the present application provide a power oil purification monitoring method applied to a clean oil system, wherein a color sensor is arranged in the clean oil system; the method comprises:
[0007] Raw color card Lab data collected by the color sensor on a plurality of different standard color cards are acquired respectively;
[0008] Based on the raw color card Lab data, data acquisition deviation of the color sensor is determined;
[0009] If the data acquisition deviation is greater than a preset deviation value, a data correction function corresponding to the color sensor is determined based on the raw color card Lab data; the data correction function is used to represent the mathematical relationship between the raw Lab data collected by the color sensor and the corrected Lab data after data correction is completed;
[0010] Raw oil product Lab data collected by the color sensor on the oil product in the clean oil system are acquired;
[0011] determine corrected oil Lab data based on the original oil Lab data and the data correction function;
[0012] When the corrected oil Lab data reaches preset standard data, control the clean oil system to end clean oil work.
[0013] In a possible implementation, if the data collection deviation is greater than a preset deviation value, the data correction function corresponding to the color sensor is determined based on the original color card Lab data, including:
[0014] If the data collection deviation is greater than a preset deviation value, the standard color card Lab data corresponding to the plurality of different standard color cards is obtained;
[0015] Calculate the correlation coefficient between the original color card Lab data and the standard color card Lab data;
[0016] If the correlation coefficient is greater than or equal to a preset correlation threshold, the data correction function corresponding to the color sensor is determined based on the original color card Lab data and the standard color card Lab data;
[0017] If the correlation coefficient is less than the preset correlation threshold, an alarm information is sent to prompt that the color sensor has a fault. In a possible implementation, the data correction function includes at least one correction corresponding data correction formula; the data correction formula is: N = b + k x M;
[0018] Wherein, N represents the Lab data after data correction, b represents a first parameter, k represents a second parameter, and M represents the Lab data before data correction;
[0019] Determine the data correction function corresponding to the color sensor based on the original color card Lab data and the standard color card Lab data, including:
[0020] Determine the values of the first parameter and the second parameter in the data correction formula corresponding to the current correction based on the standard color card Lab data and the original color card Lab data;
[0021] Determine the corrected color card Lab data after the current correction based on the original color card Lab data and the values of the first parameter and the second parameter in the data correction formula corresponding to the current correction;
[0022] Detect the correction deviation of the corrected color card Lab data;
[0023] determining the corrected color card Lab data after the current correction as the original color card Lab data when the correction deviation is greater than a set threshold, and jumping to execute the step of determining the values of the first parameter and the second parameter in the data correction formula corresponding to the current correction based on the standard color card Lab data and the original color card Lab data, so as to perform the next correction, until the correction deviation is less than or equal to the set threshold, and the values of the first parameter and the second parameter in the data correction formula corresponding to each correction are obtained;
[0024] determining the data correction function according to the values of the first parameter and the second parameter in the data correction formula corresponding to each correction.
[0025] In a possible implementation, the values of the first parameter and the second parameter in the data correction formula corresponding to the current correction are determined based on the standard color card Lab data and the original color card Lab data, including:
[0026] determining a standard average corresponding to the standard color card Lab data and an original average corresponding to the original color card Lab data respectively;
[0027] determining the value of the second parameter based on a first difference between the standard color card Lab data and the standard average and a second difference between the original color card Lab data and the original average;
[0028] determining the value of the first parameter based on the standard average, the original average and the value of the second parameter.
[0029] In a possible implementation, the value of the second parameter is determined based on the first difference between the standard color card Lab data and the standard average and the second difference between the original color card Lab data and the original average, including:
[0030] determining the value of the second parameter according to
[0031] wherein k represents the second parameter, represents the second difference, and m represents the original color card Lab data, represents the original average corresponding to the original color card Lab data, represents the first difference, and n represents the standard color card Lab data, represents the standard average corresponding to the standard color card Lab data.
[0032] In a possible implementation, the value of the first parameter is determined based on the standard average, the original average and the value of the second parameter, including:
[0033] determining the value of the first parameter according to b=n-kxm;
[0034] Wherein, b represents the first parameter, n represents the standard average value corresponding to the standard color card Lab data, k represents the second parameter, and m represents the original average value corresponding to the original color card Lab data.
[0035] In a possible implementation, each standard color card corresponds to a group of original color card Lab data, and the original color card Lab data is multiple groups.
[0036] Based on the original color card Lab data, the data acquisition deviation of the color sensor is determined, including:
[0037] According to determining the data acquisition deviation of the color sensor;
[0038] Wherein, Δ represents the data acquisition deviation, m represents the original color card Lab data, m represents the original average value corresponding to the original color card Lab data, and I represents the number of original color card Lab data.
[0039] In a possible implementation, the correlation coefficient between the original color card Lab data and the standard color card Lab data is calculated, including:
[0040] According to calculating the correlation coefficient between the original color card Lab data and the standard color card Lab data;
[0041] Wherein, r represents the correlation coefficient, m represents the original color card Lab data, m represents the original average value corresponding to the original color card Lab data, n represents the standard color card Lab data, and n represents the standard average value corresponding to the standard color card Lab data.
[0042] In a possible implementation, the corrected oil product Lab data includes: corrected brightness component data, corrected color data of red to green component, and corrected color data of yellow to blue component; the standard data includes: standard brightness component data, standard color data of red to green component, and standard color data of yellow to blue component;
[0043] When the corrected oil product Lab data reaches the preset standard data, the clean oil system is controlled to end the clean oil work, including:
[0044] When the corrected luminance component data is equal to the standard luminance component data, the corrected red-to-green component color data is equal to the standard red-to-green component color data, and the corrected yellow-to-blue component color data is equal to the standard yellow-to-blue component color data, the control module controls the oil purification system to end the oil purification work.
[0045] In a second aspect, an embodiment of the present application provides an oil purification monitoring device for power oil, which is applied to an oil purification system, wherein a color sensor is arranged in the oil purification system; and the device comprises:
[0046] a correction module, configured to:
[0047] acquire original color card Lab data collected by the color sensor from a plurality of different standard color cards respectively;
[0048] determine a data collection deviation of the color sensor based on the original color card Lab data;
[0049] if the data collection deviation is greater than a preset deviation value, determine a data correction function corresponding to the color sensor based on the original color card Lab data; the data correction function is used to represent a mathematical relationship between original Lab data collected by the color sensor and corrected Lab data after data correction;
[0050] a monitoring module, configured to acquire original oil Lab data collected by the color sensor from oil in the oil purification system;
[0051] a control module, configured to:
[0052] determine corrected oil Lab data based on the original oil Lab data and the data correction function;
[0053] when the corrected oil Lab data reaches preset standard data, control the oil purification system to end the oil purification work.
[0054] The embodiment of the present application provides a kind of power oil purification monitoring method and device, by being arranged in the color sensor in oil purification system, the original oil product Lab data of oil product in oil purification system can be collected, then using data correction function to the original oil product Lab data is carried out data correction, the corrected corrected oil product Lab data is obtained, then, by detecting whether corrected oil product Lab data reaches standard data, to detect oil purification effect, to control oil purification system and end oil purification work in time.The Lab data of this application is used to detect oil purification effect by color space information, which can effectively simplify the sampling analysis process, and is not susceptible to external factors.And the data acquisition deviation of color sensor is determined by the original color card Lab data collected by color sensor, and when the data acquisition deviation is greater than the preset deviation value, the data correction function is determined by the original color card data to realize the data correction of color sensor, so as to further improve the data acquisition accuracy of color sensor, and further improve the monitoring accuracy of oil purification effect. BRIEF DESCRIPTION OF DRAWINGS
[0055] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments or prior art description will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creating labor.
[0056] Figure 1 is the implementation flowchart of the power oil purification monitoring method provided by an embodiment of the present application;
[0057] Figure 2 is the implementation flowchart of the power oil purification monitoring method provided by another embodiment of the present application;
[0058] Figure 3 is the implementation flowchart of determining data correction function provided by an embodiment of the present application;
[0059] Figure 4 is the structure schematic diagram of the power oil purification monitoring device provided by an embodiment of the present application. DETAILED DESCRIPTION
[0060] In the following description, specific details are set forth such as particular system configurations, techniques, etc., in order to provide a thorough understanding of the embodiments of the present application. However, it should be apparent to those skilled in the art that the present application can be practiced in other embodiments without these specific details. In other instances, well-known systems, devices, circuits, and methods have not been described in detail so as not to unnecessarily obscure the description of the present application.
[0061] In the related art, when the oil purification system is used to purify the power oil, the oil in the oil purification system is usually sampled, and the granularity, moisture, gas content and other indexes of the oil sample are analyzed to detect the oil purification effect. Until it is determined that the oil purification effect meets the standard, the oil purification system stops the oil purification operation. However, the process of sampling and analyzing the granularity, moisture, gas content and other indexes is relatively complex, and the analysis result is easily affected by external factors, which leads to that the sampling and analysis result cannot accurately reflect the purification effect.
[0062] In order to simplify the analysis process of the oil purification effect and improve the monitoring accuracy of the oil purification effect, in the embodiments of the present application, the color sensor is arranged in the oil purification system, the original oil Lab data of the oil in the oil purification system is collected, the original oil Lab data is corrected by using the data correction function, and the oil purification effect is detected by detecting whether the corrected oil Lab data meets the standard data. In the present application, the Lab data, which is color space information, is used to detect the oil purification effect, which can effectively simplify the sampling and analysis process and is not easily affected by external factors. In addition, the data correction function is determined by using the original color card Lab data collected by the color sensor on the standard color card, so as to correct the data of the color sensor, thereby further improving the data collection accuracy of the color sensor and the monitoring accuracy of the oil purification effect.
[0063] In order to make the purpose, technical scheme and advantages of the present application more clear, specific embodiments will be described below with reference to the drawings.
[0064] Figure 1 The implementation flowchart of the power oil purification monitoring method provided by the embodiments of the present application is as follows. The method is applied to the oil purification system, and a color sensor is arranged in the oil purification system. The method is described in detail as follows.
[0065] In step 101, the original color card Lab data collected by the color sensor on a plurality of different standard color cards is obtained respectively.
[0066] The Lab data refers to the Lab color space, which includes the brightness component data L*, the color data a* of the red to green component and the color data b* of the yellow to blue component. The color sensor uses the Lab data to represent the color collected by the color sensor. The color sensor here can be a color difference meter.
[0067] In the embodiments of the present application, the original color card Lab data collected by the color sensor on a plurality of different standard color cards is used to detect whether the data collection deviation of the color sensor exceeds the preset deviation value. Here, each standard color card corresponds to a set of original color card Lab data,
[0068] In step 102, the data collection deviation of the color sensor is determined based on the original color card Lab data.
[0069] In some embodiments, the data collection bias of the color sensor can be determined according to
[0070] wherein Δ represents the data collection bias, m represents the original color card Lab data, represents the original average value corresponding to the original color card Lab data, and I represents the number of the original color card Lab data.
[0071] It should be noted that the original color card Lab data includes three parts of data, i.e., brightness component data, color data of red-to-green component, and color data of yellow-to-blue component. When calculating the data collection bias, the brightness component data collection bias corresponding to the brightness component data, the color data collection bias of red-to-green component corresponding to the color data of red-to-green component, and the color data collection bias of yellow-to-blue component corresponding to the color data of yellow-to-blue component can be calculated according to the above calculation formula of the data collection bias.
[0072] wherein the brightness component data in the original color card Lab data and the original average value corresponding to the brightness component data in the original color card Lab data are substituted into the above formula of the data collection bias, so as to obtain the brightness component data collection bias. The calculation methods of the color data collection bias of red-to-green component and the color data collection bias of yellow-to-blue component are the same, and thus will not be described herein.
[0073] In step 103, if the data collection bias is greater than the preset bias value, a data correction function corresponding to the color sensor is determined based on the original color card Lab data.
[0074] Here, the data correction function is used to represent the mathematical relationship between the original Lab data collected by the color sensor and the corrected Lab data after the data correction.
[0075] According to the above, the data collection bias includes the brightness component data collection bias, the color data collection bias of red-to-green component, and the color data collection bias of yellow-to-blue component. Correspondingly, the data correction function can include the brightness component data correction function, the color data correction function of red-to-green component, and the color data correction function of yellow-to-blue component.
[0076] The luminance component data correction function is used to represent a mathematical relationship between luminance component data in the original Lab data and luminance component data in the corrected Lab data after the data correction is completed. The color data correction function of the red-to-green component is used to represent a mathematical relationship between color data of the red-to-green component in the original Lab data and color data of the red-to-green component in the corrected Lab data after the data correction is completed. The color data correction function of the yellow-to-blue component is used to represent a mathematical relationship between color data of the yellow-to-blue component in the original Lab data and color data of the yellow-to-blue component in the corrected Lab data after the data correction is completed.
[0077] On this basis, the step 103 can be represented as:
[0078] If the luminance component data acquisition deviation is greater than the preset deviation value, a luminance component data correction function corresponding to the luminance component data is determined based on the luminance component data in the original color card Lab data.
[0079] If the color data acquisition deviation of the red-to-green component is greater than the preset deviation value, a color data correction function of the red-to-green component corresponding to the color data of the red-to-green component is determined based on the color data of the red-to-green component in the original color card Lab data.
[0080] If the color data acquisition deviation of the yellow-to-blue component is greater than the preset deviation value, a color data correction function of the yellow-to-blue component corresponding to the color data of the yellow-to-blue component is determined based on the color data of the yellow-to-blue component in the original color card Lab data.
[0081] In some embodiments, if the luminance component data acquisition deviation, the color data acquisition deviation of the red-to-green component, and the color data acquisition deviation of the yellow-to-blue component are all less than or equal to the preset deviation value, the color sensor is directly controlled to collect original oil product Lab data of oil products in the oil purification system, and the oil purification system is controlled to end the oil purification work when the original oil product Lab data reaches the preset standard data.
[0082] Here, the preset deviation value can be determined according to actual conditions, and the embodiments of the present application do not make specific limitations.
[0083] Step 104, original oil product Lab data collected by the color sensor from oil products in the oil purification system is obtained.
[0084] Step 105, corrected oil product Lab data is determined based on the original oil product Lab data and the data correction function.
[0085] During the operation of the oil purification system, the embodiment of the present application can obtain the original oil Lab data collected by the color sensor, and respectively bring the brightness component data, the color data of the red-to-green component, and the color data of the yellow-to-blue component in the original oil Lab data into the brightness component data correction function, the color data correction function of the red-to-green component, and the color data correction function of the yellow-to-blue component for data correction, to correspondingly obtain the corrected brightness component data, the corrected color data of the red-to-green component, and the corrected color data of the yellow-to-blue component.
[0086] In step 106, when the corrected oil Lab data reaches the preset standard data, the oil purification system is controlled to end the oil purification work.
[0087] The color of power oil is also one of the important characteristics for judging the quality of oil, and the color is used for constraint in the relevant industry standards. The embodiment of the present application can convert the color value of the power oil corresponding to the relevant industry standards into Lab data, and use it as standard data for detecting the oil purification effect.
[0088] For example, the color of transformer oil is represented by 17 different color values in GB / T 14542-2017 “Transformer Oil Maintenance Management Guide”, including 0, 0.5, 1.0, 1.5, 2.0, 2.5, 3.0, 3.5, 4.0, 4.5, 5.0, 5.5, 6.0, 6.5, 7.0, 7.5 and 8.0. And the color value of the transformer oil in operation is required to be ≤2.0. Accordingly, the embodiment of the present application can determine the Lab data corresponding to the color values 0, 0.5, 1.0, 1.5 and 2.0 respectively, for detecting the oil purification effect of the transformer oil.
[0089] That is, the Lab data corresponding to any color value ≤2.0 can be used as standard data, and when the corrected oil Lab data is equal to the standard data, it is determined that the oil purification effect meets the standard.
[0090] In some embodiments, the corrected oil Lab data includes the corrected brightness component data, the corrected color data of the red-to-green component, and the corrected color data of the yellow-to-blue component. The standard data includes the standard brightness component data, the standard color data of the red-to-green component, and the standard color data of the yellow-to-blue component.
[0091] When the corrected brightness component data is equal to the standard brightness component data, the corrected color data of the red-to-green component is equal to the standard color data of the red-to-green component, and the corrected color data of the yellow-to-blue component is equal to the standard color data of the yellow-to-blue component, the oil purification system is controlled to end the oil purification work.
[0092] Compared with the prior art, the embodiment of the present application can collect original oil product Lab data of oil products inside the oil purification system by arranging a color sensor inside the oil purification system, then correct the original oil product Lab data by using a data correction function to obtain corrected corrected oil product Lab data, and then detect the oil purification effect by detecting whether the corrected oil product Lab data reaches standard data, so as to control the oil purification system to end the oil purification work in time. In this embodiment, the Lab data, which is color space information, is used to detect the oil purification effect, so that the sampling and analysis process can be effectively simplified and is not easily affected by external factors. In addition, the original color card Lab data collected by the color sensor on the standard color card is used to determine the data collection deviation of the color sensor, and when the data collection deviation is greater than a preset deviation value, the original color card data is used to determine the data correction function, so as to correct the data of the color sensor and further improve the data collection accuracy of the color sensor and the monitoring accuracy of the oil purification effect.
[0093] In addition, the embodiment of the present application can correct the original data collected by the color sensor in real time based on the above-mentioned data correction function to improve the data collection accuracy, realize self-correction of the color sensor, and avoid the need to send the color sensor to a measurement institute for inspection and calibration at regular intervals, thereby effectively reducing the calibration cost of the color sensor, avoiding a complex inspection process, and truly realizing real-time online monitoring of the oil purification system.
[0094] To avoid the situation that the data correction function cannot be accurately determined all the time due to color sensor failure, the embodiment of the present application provides a new oil purification monitoring method for electric power, which is shown in Figure 2 The method specifically includes the following steps.
[0095] In step 201, original color card Lab data collected by the color sensor on a plurality of different standard color cards is obtained.
[0096] In step 202, the data collection deviation of the color sensor is determined based on the original color card Lab data.
[0097] The specific implementation of steps 201-201 can be referred to the above Figure 1 corresponding embodiment, which will not be described here again.
[0098] In step 203, if the data collection deviation is greater than a preset deviation value, the standard color card Lab data corresponding to the plurality of different standard color cards is obtained.
[0099] It can be understood that different standard color cards have different colors, and correspondingly, different standard color cards correspond to different standard color card Lab data.
[0100] Step 204, calculate the correlation coefficient between the original color card Lab data and the standard color card Lab data.
[0101] In some embodiments, the correlation coefficient between the original color card Lab data and the standard color card Lab data can be calculated according to the correlation coefficient between the original color card Lab data and the standard color card Lab data;
[0102] wherein r represents the correlation coefficient, m represents the original color card Lab data, m represents the original average value corresponding to the original color card Lab data, n represents the standard color card Lab data, and n represents the standard average value corresponding to the standard color card Lab data.
[0103] Step 205, if the correlation coefficient is greater than or equal to a preset correlation threshold, determine the data correction function corresponding to the color sensor based on the original color card Lab data and the standard color card Lab data;
[0104] Step 206, if the correlation coefficient is less than the preset correlation threshold, send an alarm information to prompt the user that the color sensor has failed.
[0105] If the correlation coefficient is greater than or equal to the preset correlation threshold, it can be determined that the color sensor has not failed, and the data correction function corresponding to the color sensor can be determined according to the original color card Lab data and the standard color card Lab data, and then the data of the color sensor is corrected, so that the color sensor after data correction can be used to detect the color of the oil in the oil purification system to determine the effect of the essential oil.
[0106] If the correlation coefficient is less than the preset correlation threshold, it can be determined that the color sensor has failed, and an alarm information is sent to prompt the user to repair in time.
[0107] Step 207, obtain the original oil Lab data collected by the color sensor on the oil in the oil purification system;
[0108] Step 208, determine the corrected oil Lab data based on the original oil Lab data and the data correction function;
[0109] Step 209, when the corrected oil Lab data reaches the preset standard data, control the oil purification system to end the oil purification work.
[0110] The specific implementation of steps 207-209 can be referred to the above Figure 1 corresponding embodiments, which will not be repeated here.
[0111] To avoid the situation that the data correction function cannot be accurately determined due to the color sensor failure, the embodiment of the present application first calculates the correlation coefficient between the original color card Lab data and the standard color card Lab data to detect whether the color sensor fails when the data collection deviation is greater than the preset deviation value, and then further determines the data correction function after determining that the color sensor does not fail, so as to correct the data collection deviation of the color sensor.
[0112] The specific determination method of the data correction function will be described in detail below.
[0113] The data correction function is used to represent the mathematical relationship between the original Lab data collected by the color sensor and the corrected Lab data after the data correction is completed.
[0114] The data correction function includes at least one corresponding data correction formula, and the data correction formula can be expressed as: N = b + k x M.
[0115] Wherein, N represents the Lab data after data correction, b represents the first parameter, k represents the second parameter, and M represents the Lab data before data correction.
[0116] The embodiment of the present application can use multiple data correction formulas to correct the original Lab data collected by the color sensor in a loop until the data collection deviation of the Lab data after the last data correction is less than the preset deviation value, the data correction is completed, and the data correction formula corresponding to each data correction is obtained.
[0117] Here, combined with Figure 3 The determination method of the data correction function will be described in detail. Referring to Figure 3 When determining the data correction function, the following steps can be performed:
[0118] Step 301, based on the standard color card Lab data and the original color card Lab data, determining the value of the first parameter and the second parameter in the data correction formula corresponding to the current correction;
[0119] Here, when determining the value of the second parameter, the standard average value corresponding to the standard color card Lab data and the original average value corresponding to the original color card Lab data can be determined first; then, based on the first difference between the standard color card Lab data and the standard average value, and the second difference between the original color card Lab data and the original average value, the value of the second parameter is determined.
[0120] The specific calculation formula can be expressed as:
[0121] Wherein, k represents the second parameter, represents a second difference value, m represents original color card Lab data, and m represents an original average value corresponding to the original color card Lab data, represents a first difference value, and n represents standard color card Lab data, represents a standard average value corresponding to the standard color card Lab data.
[0122] On the basis of determining the value of the second parameter, the embodiment of the application further determines the value of the first parameter based on the standard average value, the original average value, and the value of the second parameter.
[0123] The specific calculation formula can be represented as:
[0124] wherein b represents the first parameter, represents a standard average value corresponding to the standard color card Lab data, and k represents the second parameter, represents an original average value corresponding to the original color card Lab data.
[0125] Step 302, based on the original color card Lab data, and the values of the first parameter and the second parameter in the data correction formula corresponding to the current correction, determining corrected color card Lab data after the current correction;
[0126] Here, the original color card Lab data can be taken as Lab data before correction, combined with the values of the first parameter and the second parameter determined in step 301, and brought into the data correction formula, and then the corrected color card Lab data after data correction is determined.
[0127] Step 303, detecting a correction deviation of the corrected color card Lab data;
[0128] Here, the corrected color card Lab data after correction can be brought into the above data acquisition deviation calculation formula to determine the data acquisition deviation corresponding to the corrected color card Lab data, that is, the above correction deviation.
[0129] Step 304, when the correction deviation is greater than a set threshold, the corrected color card Lab data after the current correction is determined as the original color card Lab data, and the step of determining the values of the first parameter and the second parameter in the data correction formula corresponding to the current correction based on the standard color card Lab data and the original color card Lab data is executed to perform the next correction until the correction deviation is less than or equal to the set threshold, and the values of the first parameter and the second parameter in the data correction formula corresponding to each correction are obtained.
[0130] If the correction deviation is greater than the set threshold value, it indicates that the accuracy of the Lab data after the current data correction has not yet reached the preset requirement, at this time, the corrected color card Lab data after correction can be used as the original color card Lab data, and the step of determining the values of the first parameter and the second parameter in the data correction formula corresponding to the current correction is re-jumped to continue to be executed, so as to perform a new data correction work, and the iteration is continued until the correction deviation corresponding to the corrected color card Lab data after the current correction is less than or equal to the set threshold value, and the data correction is completed.
[0131] Here, the set threshold value can be determined according to the actual situation, and the embodiment of the present application does not make specific limitation.
[0132] In step 305, the data correction function is determined according to the values of the first parameter and the second parameter in the data correction formula corresponding to each correction.
[0133] After the data correction is completed, the values of the first parameter and the second parameter in the data correction formula corresponding to each data correction are determined, so that the data correction formula corresponding to each data correction can be determined. The data correction formula corresponding to each data correction constitutes the above-mentioned data correction function.
[0134] Taking twice data correction as an example, the data correction formula corresponding to each data correction can be represented as N1=b1+k1×M1 and N2=b2+k2×M2 respectively. Then the data correction function can be represented as:
[0135] N2=b2+k2×(b1+k1×M1).
[0136] Wherein, N1 represents the Lab data after the first data correction, M1 represents the Lab data before the first data correction, i.e. the original oil product Lab data collected by the color sensor, N2 represents the Lab data before the second data correction, M2 represents the Lab data after the second data correction, i.e. the corrected oil product Lab data after the data correction is completed, b1 and b2 represent the first parameters in the first data correction and the second data correction, and k1 and k2 represent the second parameters in the first data correction and the second data correction.
[0137] It should be noted that in the process of determining the data correction function, the above-mentioned original color card Lab data can be the brightness component data, the color data of the red-to-green component or the color data of the yellow-to-blue component, and correspondingly, the obtained data correction function can be the brightness component data correction function, the color data correction function of the red-to-green component and the color data correction function of the yellow-to-blue component.
[0138] The embodiment of the present application respectively corrects the brightness component data, the color data of the red-to-green component and the color data of the yellow-to-blue component in the original oil product Lab data based on a brightness component data correction function, a color data correction function of the red-to-green component and a color data correction function of the yellow-to-blue component, to obtain corrected brightness component data, corrected color data of the red-to-green component and corrected color data of the yellow-to-blue component.
[0139] Based on the above-mentioned power oil purification monitoring method, the embodiment of the present application further provides a power oil filling equipment operation monitoring method, specifically comprising:
[0140] During the operation of the power oil filling equipment, the color sensor collects the original Lab data of the oil product in the power oil filling equipment;
[0141] Based on the original Lab data and the data correction function, the corrected Lab data is determined;
[0142] When the corrected Lab data is lower than the preset operation standard Lab data, an alarm information is sent to prompt the user that the oil product quality in the power oil filling equipment is too low.
[0143] Here, the determination method of the data correction function can refer to the above-mentioned embodiment, which will not be repeated here. The operation monitoring method of the power oil filling equipment can monitor the oil product quality in the power oil filling equipment online, and timely alarm the user when the oil product quality is lower than the operation standard.
[0144] It should be understood that the size of the serial number of each step in the above-mentioned embodiment does not mean the order of execution, and the execution order of each process should be determined according to its function and inherent logic, and should not constitute any limitation on the implementation process of the embodiment of the present application.
[0145] The following is the device embodiment of the present application, and for the details not described in detail, reference can be made to the corresponding method embodiments described above.
[0146] Figure 4 The structure schematic diagram of the power oil purification monitoring device provided by the embodiment of the present application is shown, only the part related to the embodiment of the present application is shown for the convenience of description, and the details are as follows:
[0147] As Figure 4 shown, the power oil purification monitoring device 4 comprises a correction module 41, a monitoring module 42 and a control module 43.
[0148] The correction module 41 is used for:
[0149] Respectively acquiring the original color card Lab data collected by the color sensor on a plurality of different standard color cards;
[0150] Determine the data collection deviation of the color sensor based on the original color card Lab data.
[0151] If the data collection deviation is greater than the preset deviation value, determine the data correction function corresponding to the color sensor based on the original color card Lab data; the data correction function is used to represent the mathematical relationship between the original Lab data collected by the color sensor and the corrected Lab data after data correction.
[0152] The monitoring module 42 is configured to obtain original oil product Lab data collected by the color sensor on the oil product in the oil cleaning system.
[0153] The control module 43 is configured to:
[0154] Determine the corrected oil product Lab data based on the original oil product Lab data and the data correction function.
[0155] When the corrected oil product Lab data reaches the preset standard data, the control module 41 is configured to:
[0156] If the data collection deviation is greater than the preset deviation value, obtain standard color card Lab data corresponding to a plurality of different standard color cards.
[0157] Calculate the correlation coefficient between the original color card Lab data and the standard color card Lab data.
[0158] If the correlation coefficient is greater than or equal to the preset correlation threshold, determine the data correction function corresponding to the color sensor based on the original color card Lab data and the standard color card Lab data.
[0159] If the correlation coefficient is less than the preset correlation threshold, send an alarm information to prompt the user that the color sensor has failed.
[0160] Optionally, the data correction function includes at least one corresponding data correction formula; the data correction formula is: N = b + k x M.
[0161] Wherein, N represents the Lab data after data correction, b represents a first parameter, k represents a second parameter, and M represents the Lab data before data correction.
[0162] The correction module 41 is configured to:
[0163] Determine the values of the first parameter and the second parameter in the data correction formula corresponding to the current correction based on the standard color card Lab data and the original color card Lab data.
[0164] determine the corrected color card Lab data after the current correction based on the original color card Lab data, and the values of the first parameter and the second parameter in the data correction formula corresponding to the current correction;
[0165] detect the correction deviation of the corrected color card Lab data;
[0166] When the correction deviation is greater than the set threshold, the corrected color card Lab data after the current correction is determined as the original color card Lab data, and the step of determining the values of the first parameter and the second parameter in the data correction formula corresponding to the current correction based on the standard color card Lab data and the original color card Lab data is executed to perform the next correction until the correction deviation is less than or equal to the set threshold, and the values of the first parameter and the second parameter in the data correction formula corresponding to each correction are obtained;
[0167] determine the data correction function according to the values of the first parameter and the second parameter in the data correction formula corresponding to each correction.
[0168] Optionally, the correction module 41 is specifically configured to:
[0169] determine the standard average corresponding to the standard color card Lab data, and the original average corresponding to the original color card Lab data, respectively;
[0170] determine the value of the second parameter based on the first difference between the standard color card Lab data and the standard average, and the second difference between the original color card Lab data and the original average;
[0171] determine the value of the first parameter based on the standard average, the original average and the value of the second parameter.
[0172] Optionally, the correction module 41 is specifically configured to:
[0173] determine the value of the second parameter according to
[0174] wherein k represents the second parameter, m-m represents the second difference, m represents the original color card Lab data, represents the original average corresponding to the original color card Lab data, represents the first difference, and n represents the standard color card Lab data, represents the standard average corresponding to the standard color card Lab data.
[0175] Optionally, the correction module 41 is specifically configured to:
[0176] determine the value of the first parameter according to
[0177] wherein b represents the first parameter, This represents the standard average value corresponding to the Lab data of the standard color chart, where k represents the second parameter. This represents the original average value corresponding to the original color chart Lab data.
[0178] Optionally, each standard color card corresponds to a set of original color card Lab data, and there are multiple sets of original color card Lab data;
[0179] Calibration module 41 is specifically used for:
[0180] according to Determine the data acquisition deviation of the color sensor;
[0181] Where Δ represents the data acquisition deviation, and m represents the original color chart Lab data. This represents the original average value corresponding to the original color chart Lab data, and I represents the number of original color chart Lab data.
[0182] Optional, the calibration module 41 is specifically used for:
[0183] according to Calculate the correlation coefficient between the original color chart Lab data and the standard color chart Lab data;
[0184] Where r represents the correlation coefficient, and m represents the original color chart Lab data. This represents the original average value corresponding to the original color chart Lab data, where n represents the standard color chart Lab data. This represents the standard average value corresponding to the Lab data of the standard color chart.
[0185] Optionally, the calibrated oil Lab data includes: calibrated luminance component data, calibrated red-to-green component color data, and calibrated yellow-to-blue component color data; the standard data includes: standard luminance component data, standard red-to-green component color data, and standard yellow-to-blue component color data.
[0186] Control module 43 is specifically used for:
[0187] When the corrected luminance component data is equal to the standard luminance component data, the corrected red-to-green component color data is equal to the standard red-to-green component color data, and the corrected yellow-to-blue component color data is equal to the standard yellow-to-blue component color data, the oil purification system will stop the oil purification process.
[0188] This device embodiment can be used to execute the above method embodiment, and its technical principle and implementation effect are the same as those of the above method embodiment, so they will not be repeated here.
[0189] In the above embodiments, the description of each embodiment has its own focus, and the parts not described or recorded in a certain embodiment can be referred to the relevant description of other embodiments.
[0190] Those skilled in the art can appreciate that the templates, units and algorithm steps of each example described in combination with the embodiments disclosed herein can be realized in electronic hardware or a combination of computer software and electronic hardware. Whether the functions are executed in hardware or software depends on the specific application and design constraints of the technical solution. The skilled person can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the present application.
[0191] The modules / units, if realized in the form of software function units and sold or used as independent products, can be stored in a computer readable storage medium. Based on this understanding, all or part of the processes in the above-mentioned embodiment methods can also be completed by a computer program instructing related hardware, and the computer program can be stored in a computer readable storage medium. The computer program can implement the steps of each power oil purification monitoring method embodiment when executed by a processor. The computer program includes computer program code, which can be in the form of source code, object code, executable files or some intermediate forms, etc. The computer readable medium can include any entity or device, recording medium, U disk, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory, random access memory, electrical carrier signal, telecommunication signal and software distribution medium, etc. that can carry the computer program code.
[0192] The above-described embodiments are only used to illustrate the technical solutions of the present application, rather than limit them; although the present application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that they can still modify the technical solutions recorded in the foregoing embodiments, or make equivalent replacements for some technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application, and should be included in the protection scope of the present application.
Claims
1. A method of monitoring purification of an electric power oil, characterized by, The method is applied to a oil purification system, wherein a color sensor is arranged in the oil purification system, and the method comprises the following steps: Obtaining raw color card Lab data collected by the color sensor on a plurality of different standard color cards respectively; Based on the raw color card Lab data, determining a data collection deviation of the color sensor; If the data collection deviation is greater than a preset deviation value, determining a data correction function corresponding to the color sensor based on the raw color card Lab data, wherein the data correction function is used to represent a mathematical relationship between raw Lab data collected by the color sensor and corrected Lab data after data correction is completed; Obtaining raw oil product Lab data collected by the color sensor on oil products in the oil purification system; Based on the raw oil product Lab data and the data correction function, determining corrected oil product Lab data; When the corrected oil product Lab data reaches preset standard data, controlling the oil purification system to end oil purification work; The data correction function comprises at least one corresponding data correction formula, and the data correction formula is: ; wherein represents the Lab data after data correction, represents the first parameter, represents the second parameter, represents the Lab data before data correction; The method for determining the data correction function comprises the following steps: Based on the standard color card Lab data and the raw color card Lab data, determining values of a first parameter and a second parameter in a data correction formula corresponding to current correction; Based on the raw color card Lab data and the values of the first parameter and the second parameter in the data correction formula corresponding to current correction, determining corrected color card Lab data after current correction; Detecting a correction deviation of the corrected color card Lab data; When the correction deviation is greater than a set threshold value, determining the corrected color card Lab data after current correction as the raw color card Lab data, and jumping to execute the step of determining the values of the first parameter and the second parameter in the data correction formula corresponding to current correction based on the standard color card Lab data and the raw color card Lab data, so as to perform next correction, until the correction deviation is less than or equal to the set threshold value, and the values of the first parameter and the second parameter in the data correction formula corresponding to each correction are obtained; According to the values of the first parameter and the second parameter in the data correction formula corresponding to each correction, determining the data correction function; According to determining a value of the second parameter; wherein, denotes the second parameter, denotes the original color chart Lab data, denotes the original average value corresponding to the original color chart Lab data, denotes the standard color chart Lab data, denotes the standard average value corresponding to the standard color chart Lab data; According to determining a value of the first parameter; wherein, denotes the first parameter, denotes the standard mean value corresponding to the standard color chart Lab data, denotes the second parameter, denotes the original mean value corresponding to the original color chart Lab data.
2. The method of claim 1, wherein If the data collection deviation is greater than a preset deviation value, determining a data correction function corresponding to the color sensor based on the raw color card Lab data, comprising: If the data collection deviation is greater than a preset deviation value, obtaining standard color card Lab data corresponding to the plurality of different standard color cards; Calculating a correlation coefficient between the raw color card Lab data and the standard color card Lab data; If the correlation coefficient is greater than or equal to a preset correlation threshold value, determining a data correction function corresponding to the color sensor based on the raw color card Lab data and the standard color card Lab data; If the correlation coefficient is less than the preset correlation threshold value, sending an alarm information to prompt a user that the color sensor is malfunctioning.
3. The electric oil purification monitoring method according to claim 1 or 2, characterized by, Each standard color card corresponds to a group of raw color card Lab data, and the raw color card Lab data is a plurality of groups; Based on the raw color card Lab data, determining a data collection deviation of the color sensor, comprising: According to determining a data acquisition bias of the color sensor; wherein, represents the data collection bias, represents the original color swatch Lab data, represents the original mean value corresponding to the original color swatch Lab data, represents the number of original color swatch Lab data.
4. The method of claim 2, wherein The correlation coefficient between the original color card Lab data and the standard color card Lab data is calculated, including: According to calculating a correlation coefficient between the original color chart Lab data and the standard color chart Lab data; wherein, denotes the correlation coefficient, denotes the original color chart Lab data, denotes the original average value corresponding to the original color chart Lab data, denotes the standard color chart Lab data, denotes the standard average value corresponding to the standard color chart Lab data.
5. The method of claim 1 or 2, wherein The corrected oil product Lab data includes: corrected brightness component data, corrected color data of red to green component, and corrected color data of yellow to blue component; the standard data includes: standard brightness component data, standard color data of red to green component, and standard color data of yellow to blue component; When the corrected oil product Lab data reaches the preset standard data, the clean oil system is controlled to end the clean oil work, including: When the corrected brightness component data is equal to the standard brightness component data, the corrected color data of red to green component is equal to the standard color data of red to green component, and the corrected color data of yellow to blue component is equal to the standard color data of yellow to blue component, the clean oil system is controlled to end the clean oil work.
6. A power oil purification monitoring device characterized by comprising: The power oil purification monitoring method according to any one of claims 1-5 is applied to a clean oil system, and a color sensor is arranged in the clean oil system; the device includes: A correction module is configured to: Obtain original color card Lab data collected by the color sensor from a plurality of different standard color cards respectively; Determine data collection deviation of the color sensor based on the original color card Lab data; If the data collection deviation is greater than a preset deviation value, determine a data correction function corresponding to the color sensor based on the original color card Lab data; the data correction function is used to represent the mathematical relationship between the original Lab data collected by the color sensor and the corrected Lab data after data correction; A monitoring module is configured to obtain original oil product Lab data collected by the color sensor from oil products in the clean oil system; A control module is configured to: Determine corrected oil product Lab data based on the original oil product Lab data and the data correction function; When the corrected oil product Lab data reaches the preset standard data, control the clean oil system to end the clean oil work.
Citation Information
Patent Citations
Method for calibrating colors of multiple cameras in open environment
CN102137272A
Color correction method and evaluation method for panorama camera
CN108600723A