This patent application claims the benefit and priority of Chinese Patent Application No. 202111285508.7 filed on Nov. 2, 2021, the disclosure of which is incorporated by reference herein in its entirety as part of the present application.
The present disclosure relates to the technical field of performance early warning, and more specifically, to a cooling system performance early warning method based on dictionary learning.
Forced oil circulating water cooling system takes water as the cooling medium. It has the characteristics of small volume, high cooling efficiency, convenient installation and simplified pipeline system. It can effectively reduce the actual floor area of transformer and has been widely used in power transformer. The forced oil circulating water cooling system includes oil side pipeline, water side pipeline, oil pump, water valve, cooler pipe and other components. In the literature, there are many studies on the design of heat exchanger, operation and maintenance, control system design and implementation of forced oil circulating water cooling system, but there are few research reports on the performance early warning of cooling system. The cooling water supply modes of forced oil circulating water cooling system mainly include: direct cooling system, semi closed system and fully closed system. In direct cooling and semi closed systems, the water quality of circulating cooling system will deteriorate after long-term operation, which is easy to cause scale deposit and corrosion on the water side, further lead to cooler failure, equipment shutdown and even major economic losses. The current maintenance strategy generally makes the cooler maintenance plan or replaces the equipment according to the operation time. The recommended time adopted is the fixed reference value preset by the manufacturer, and the operating conditions of each cooling system are not effectively considered. Regular maintenance and regular replacement of equipment will bring problems. In the case of poor water quality, maintenance according to the preset recommended time will bring the risk of failure. When the water quality is good, it will bring unnecessary maintenance or waste of equipment life cycle. In view of the above problems, this disclosure provides a cooling system performance early warning method based on dictionary learning, which carries out real-time early warning when the performance of the cooler deteriorates.
In view of the above problems existing in the prior art, the disclosure provides a cooling system performance early warning method based on dictionary learning. The early warning method can use the established performance early warning model to carry out real-time performance early warning of the cooling system. The early warning method has the advantages of real-time, realizability and strong pertinence.
The technical scheme of the disclosure is as follows.
A cooling system performance early warning method based on dictionary learning is provided. A sensor and an oil pump frequency converter are arranged on a cooler of the cooling system, and the sensor and the oil pump frequency converter are used to measure an operation data of the cooling system. A PLC controller is installed on the cooler to collect the measured operation data. The PLC controller is connected with a cloud server, and the cloud server first performs offline dictionary learning on the data, so as to establish a performance early warning model for each group of coolers respectively. After the offline dictionary learning stage is completed, an online early warning stage is entered, and the established performance early warning model is used to carry out a real-time performance early warning of the cooling system.
The cooling system performance early warning method based on dictionary learning provided by the disclosure can timely find the performance deterioration of the coolers and give early warning, so as to timely carry out manual intervention and reduce the failure risk. At the same time, the early warning method does not need the learning samples in the fault state. It can realize dictionary modeling and online early warning only by learning the normal working condition data. The sample obtaining is convenient, the modeling is easy, and the early warning method is easy to realize. Based on the dictionary learning method, the performance early warning model is established through the learning of normal working condition data, which has stronger pertinence.
Preferably, in the aforementioned cooling system performance early warning method based on dictionary learning, the operation data includes a temperature, a pressure and a flow of the cooler and an output frequency f, of the oil pump frequency converter. When the forced oil circulating water cooling system of transformer operates, it is necessary to obtain the necessary operation status in real time, mainly including oil side temperature, pressure, flow and water side temperature, pressure, flow and other parameters. At the same time, the oil pump of each group of coolers is equipped with frequency converter to control the oil pump speed in real time. The output frequency fi of the oil pump frequency converter also needs to be considered when monitoring the cooling performance.
Preferably, in the aforementioned cooling system performance early warning method based on dictionary learning, the offline dictionary learning stage includes the following steps.
LS1: setting a cooler group number i=1. Since there are multiple groups of coolers in the transformer cooling system, the performance early warning model of each group of coolers needs to be established respectively, so the circulation method is used to deal with multiple groups of coolers respectively.
LS2: selecting the operation data of si=1 from a database. si=0 indicates that the cooler is in shutdown state, and si=1 indicates that the cooler is in operation state.
LS3: selecting data from the data obtained in step LS2 to form a learning sample matrix {xik}k=1N
LS4: setting dictionary learning parameters, selecting an initial dictionary, starting offline dictionary learning, and obtaining dictionary matrix Di and coding matrix Si.
LS5: calculating a sample reconstruction error RE1k of cooler group i according to REik=∥xik−Dsk∥2 after obtaining the dictionary matrix Di and the coding matrix Si, and then calculating a reconstruction error limit limiti.
LS6: saving a dictionary learning result of the cooler group i.
LS7: adding a cooler group number and turning to LS2 to start a learning and modeling of a next group of coolers, and
exiting the offline dictionary learning process after all cooler groups are learned.
Preferably, in the aforementioned cooling system performance early warning method based on dictionary learning, operating conditions of cooler group i need to be fully covered when selecting samples, and a sample collection capacity is greater than or equal to 500.
Preferably, in the aforementioned cooling system performance early warning method based on dictionary learning, the offline dictionary learning includes two steps: sparse coding and dictionary updating, and the two steps adopt OMP algorithm and KSVD algorithm respectively.
Preferably, in the aforementioned cooling system performance early warning method based on dictionary learning, the reconstruction error limit limit, is calculated by using a kernel density estimation method.
Preferably, in the aforementioned cooling system performance early warning method based on dictionary learning, after the offline dictionary learning stage is completed, it can be transferred to the online early warning stage. When the cloud server obtains the real-time operation data of the cooling system from the PLC controller, an online early warning function is called. The online early warning stage is divided into following steps.
AS1: setting cooler group number i=1. Because there are multiple groups of coolers, similar to the learning stage, the online early warning also adopts circulation to deal with multiple groups of coolers.
AS2: taking out the real-time operation data of the cooling system from a real-time database to judge whether the cooler group i is in operation, and skipping the processing of the cooler group i if the cooler group i is not in operation.
AS3: selecting an operation data of si=1 from the real-time database if the cooler group i is in operation.
AS4: constituting a real-time sample xir used to characterize a state of the cooler group i and for subsequent cooler performance monitoring and early warning.
AS5: calling the dictionary matrix Di saved in the learning stage, and calculating a coding vector 5,' used the OMP algorithm, wherein
AS6: calculating a reconstruction error REir of the real-time sample xir from the coding vector and the dictionary matrix Di, where REir=∥xir−Disir∥2.
AS7: judging a relationship between the reconstruction error REir and the reconstruction error limit limiti.
AS8: indicating that a performance of cooler group i is degraded and needing early warning if the reconstruction error REir of continuous sampling is greater than the reconstruction error limit limit, and giving no warning if the reconstruction error limit of continuous sampling is less than or equal to the reconstruction error limit limit.
AS9: adding the cooler group number and going to step AS2 to start an early warning processing of the next group of coolers, and
exiting a block of the online early warning function when all cooler groups of the cooler system are processed, and calling the online early warning function again to complete the real-time performance early warning of the cooling system after a next sampling arrives and is stored in the real-time database.
Preferably, in the aforementioned cooling system performance early warning method based on dictionary learning, when judging the relationship between reconstruction error REir and reconstruction error limit limiti, an early warning coefficient CAiis defined:
CAi=(REir-w>limiti)&, . . . ,&(REir-1>limiti)&,&(REir>limiti)
Where, w is a window width of performance warning. When the reconstruction error REir of continuous w real-time samples is greater than the reconstruction error limit limit,, that is, when CAi is True, performance warning will be carried out, and when CAi is False, performance warning will not be carried out.
Preferably, in the aforementioned cooling system performance early warning method based on dictionary learning, the cloud server is connected with the PLC controller through a NB- loT module, and after the NB-loT module obtains the sensor reading from the PLC controller, the NB-loT module packages and sends the data to the cloud background through MQQT protocol. The cloud server can make full use of the advantages of cloud computing. With the computing flexibility and expansion ability of cloud computing platform, it can obtain big data support to strengthen the early warning performance of dictionary learning algorithm.
Preferably, in the aforementioned cooling system performance early warning method based on dictionary learning, the cloud server constructs a service management layer of the Internet of things to complete data storage, management, performance calculation and in-depth analysis. And front-end software such as web page, APP and WeChat applet is a comprehensive application layer of the Internet of things system to complete system management and realize man-machine interface. The use of NB-IoT Internet of things system will provide remote monitoring and remote-control functions for the cooler system, and the introduction of multi platform of front-end web page, APP and WeChat applet will provide customers with more convenient use.
The disclosure is further described below in combination with the accompanying drawings and specific implementation mode (including embodiments), but it is not used as a basis for limiting the disclosure.
Refer to FIG. I to
(1) Cooler state obtaining
As shown in
In order to adapt to the grouping operation characteristics of the cooling system, the performance early warning models of the three groups of coolers are established respectively, and the input vectors of the model need to be constructed accordingly. Taking the three groups of coolers shown in
x1=(PTom_in,TTom_in,TTwm_in,PTwm_in,TTo1_out,PTo1_out,TTw1_out,PTw1_out,FTo1,FTw1,f1)
x2=(PTom_in,TTom_in,TTwm_in,PTwm_in,TTo2_out,PTo2_out,TTw2_out,PTw2_out,FTo2,FTw1,f2)
x3=(PTom_in,TTom_in,TTwm_in,PTwm_in,TTo3_out,PTo3_out,TTw3_out,PTw3_out,FTo3,FTw1,f3)
After obtaining the input vectors of the cooler groups, the learning sample matrix Xi of the cooler group i can be established, where Xi ∈ R11×N
(2) Offline dictionary learning stage
The Offline dictionary learning stage includes the following steps.
LS1: A cooler group number i=1 is set. Since there are three groups of coolers in the transformer cooling system, the performance early warning model of each group of coolers needs to be established respectively, so the circulation method is used to deal with multiple groups of coolers respectively.
LS2: The operation data of si=1 is selected from a database, wherein si=0 indicates that the cooler is in shutdown state, and si=1 indicates that the cooler is in operation state.
LS3: Data from the data obtained in step LS2 is selected to form a learning sample matrix {xik}k=1N
LS4: After the cloud obtains a large number of operation data of the cooling system, the sample set of si=1 is selected to form the sample set {xik}k=1N
Where Xi is the learning sample matrix of cooler group i. Di is the dictionary matrix, Di=[d2,d2, . . . ,dK] ∈R11×K, and the dimension of the dictionary matrix is 11, which is equal to the number of variables in the learning sample matrix, and K is the number of dictionary atoms. Si is the
Kx;V coding matrix, Si=[s1,s2, . . . ,sN
LS5: after obtaining the dictionary matrix Di and coding matrix Si, the sample reconstruction error REik of cooler group i is calculated according to REik=∥xik−Dsk∥2, where sk is the k-th coding vector of coding matrix Si and REik is the reconstruction error of sample K of cooler group i. The sample reconstruction error REik reflects the data reconstruction characteristics of the dictionary learning algorithm. When the performance of cooler group i is normal, the sample reconstruction error is small, and when the performance of cooler is degraded, the sample reconstruction error will become larger.
Then, the kernel density estimation method is used to calculate the reconstruction error limit limiti. After obtaining the reconstruction error REik of each sample in the learning sample set of cooler group i, the bandwidth h is set and the Gaussian kernel function
is selected as the kernel function K. The probability density distribution function (REi) of sample reconstruction error can be calculated according to the following formula:
Then, the cumulative probability distribution function of sample reconstruction error is calculated:
(REi)=∫−∞RE
The confidence is set as αi. According to the cumulative distribution function (limiti)≤ai, the sample reconstruction error limit limit; of cooler group i can be calculated, which will be used as the performance early warning index of cooler group i.
LS6: the dictionary matrix Di, coding matrix Si and reconstruction error limit limiti of cooler group i are obtained through dictionary learning above, and the dictionary learning result of cooler group i is saved. These parameters will be stored for online early warning calculation.
LS7: the cooler group number is added and the step is turned to LS2 to start the learning and modeling of the next group of coolers.
The offline dictionary learning process exits after all cooler groups are learned.
(3) Online early warning stage
After the offline dictionary learning stage is completed, it can be transferred to the online early warning stage. When the cloud server obtains the real-time operation data of the cooling system from the PLC controller, an online early warning function is called. The online early warning stage is divided into following steps.
AS I : cooler group number i=1 is set. Because there are multiple groups of coolers, similar to the learning stage, the online early warning also adopts circulation to deal with multiple groups of coolers.
AS2: the real-time operation data of the cooling system is taken out from a real-time database to judge whether the cooler group i is in operation, and the processing of the cooler group i is skipped if the cooler group i is not in operation.
AS3: an operation data of si=1 is selected from the real-time database if the cooler group i is in operation.
AS4: a real-time sample xir is constituted used to characterize a state of the cooler group i and for subsequent cooler performance monitoring and early warning.
AS5: the dictionary matrix Di saved in the learning stage is called, and a coding vector sir is calculated used the OMP algorithm, wherein
AS6: a reconstruction error REir of the real-time sample xir is calculated from the coding vector Sir and the dictionary matrix Di, where REir=∥xir−Disir∥2.
AS7: a relationship between the reconstruction error REir and the reconstruction error limit limiti, is judged.
AS8: in order to judge the relationship between reconstruction error RE: and reconstruction error limit limit;, an early warning coefficient CAi is defined: CAi=(REir-w>limiti)&, . . . ,&(REir-1>limiti)&,&(REir>limiti)
Where, w is a window width of performance warning. When the reconstruction error REir of continuous w real-time samples is greater than the reconstruction error limit limit,, that is, when CAi is True, performance warning will be carried out, and when CAi is False, performance warning will not be carried out.
AS9: the cooler group number is added and the process is transferred to step AS2 to start an early warning processing of the next group of coolers.
The block of the online early warning function exits when all cooler groups of the cooler system are processed, and the online early warning function is called again to complete the real-time performance early warning of the cooling system after a next sampling arrives and is stored in the real-time database.
The above general description of the disclosure involved in the present application and the description of its specific embodiments shall not be construed as a limitation on the technical scheme of the disclosure. According to the disclosure of the application, those skilled in the art can add, reduce or combine the disclosed technical features in the above general description or/and specific implementation mode (including embodiments) without violating the constituent elements of the disclosure, so as to form other technical solutions within the protection scope of the application.
Number | Date | Country | Kind |
---|---|---|---|
202111285508.7 | Nov 2021 | CN | national |
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/CN2022/073325 | 1/22/2022 | WO |