Extended Kalman filter method with variable memory length for chiller FDD
By using an extended Kalman filtering method with variable memory length in chiller fault diagnosis, combined with gradual elimination memory method and limited memory method, the subjectivity and real-time changes of fixed memory length are solved, and the working conditions of chiller are changed. The rapid convergence and accurate diagnosis significantly improve the accuracy and efficiency of fault detection.
Patent Information
- Application Number
- CN202110383976.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-04-09
- Publication Date
- 2024-11-15
- Estimated Expiration
- 2041-04-09
AI Technical Summary
In the fault diagnosis of chiller units, the prior art causes filter divergence and deviation of detection results in filtering and noise problems due to the subjectivity of fixed memory length and neglect of real-time changes, making it difficult to effectively deal with sudden changes in working conditions and noise problems.
A extended Kalman filtering method based on variable memory length is proposed, combining gradual memory method and limited memory method, and adaptively select memory length by measuring memory retention criteria, and data preprocessing and fault diagnosis are carried out in combination with support vector data description. .
It effectively reduces the filter mean square error, significantly reduces the false alarm rate, improves the accuracy of fault mode diagnosis, and achieves rapid convergence and accurate diagnosis of chiller operating conditions.
Smart Images

Figure CN113159148B_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the field of fault diagnosis of chillers in air-conditioning systems, and in particular relates to a method for preprocessing field data using an extended Kalman filter with a variable memory length for a chiller FDD. Background Art
[0002] Once a chiller fails, it will cause many problems such as energy waste and reduced comfort. Therefore, it is necessary to detect and diagnose the chiller fault. From the perspective of field application, due to the lack of maintenance and frequent changes in operating conditions of the chiller in the on-site machine room, the operating data generated by it will be accompanied by large noise. If it is not processed, it will cause deviations in subsequent detection and diagnosis results. In order to preprocess the operating data of the chiller, an online detection model of the chiller based on extended Kalman filter and a class of support vector machines is proposed. However, due to the variable operating conditions of the on-site chiller, system modeling errors and historical data saturation, the conventional Kalman filter method often has divergence problems. In order to solve this problem, theoretical research has been carried out. The recursive formula of the bounded memory filter method was first derived from the theoretical level. Later, the filter divergence criterion was proposed, and the Kalman filter was strongly tracked to suppress the divergence. Finally, an adaptive extended Kalman filter based on bounded memory was proposed, which can effectively track the mutation state. However, the above research is to improve LM at the theoretical level, and the application level has not been developed. The biggest obstacle to combining LM with practical applications is how to determine the memory length. Current research on LM only uses prior knowledge to preset a fixed memory length. This method is too subjective and ignores the real-time changes in memory length at each moment. In the final model verification phase, the main evaluation indicators are accuracy indicators, among which the most important are false alarm rate (FAR) and correct rate (CR). Summary of the invention
[0003] The purpose of the present invention is to propose an extended Kalman filter method based on a variable memory length for operating data preprocessing based on the operating characteristics of the chiller and fully consider the sudden changes in the operating conditions. The support vector data description (SVDD) is used for FDD, and experimental data results are verified. A method of an extended Kalman filter with a variable memory length for FDD of a chiller is provided. The method not only has a good data processing effect on the steady-state operating condition of the chiller, but also has a good data preprocessing effect under the sudden changes in the operating conditions of the chiller. The mean square error (MSE) of the filtering can be reduced, the false alarm rate (FAR) of the detection is greatly reduced, and the diagnosis of each fault mode (CR) is significantly improved.
[0004] The present invention is achieved through the following technical solutions.
[0005] An extended Kalman filtering method for variable memory length of FDD of a chiller, comprising:
[0006] S101: Collect on-site chiller operation data, and perform data screening and classification;
[0007] S102: Establishing a Kalman filter system model based on the screened and classified data;
[0008] S103: According to the system model of Kalman filtering, the current chiller operation data is compared with the historical measurement data to determine the operation status of the chiller at that moment;
[0009] S104: according to the criterion, the variable memory length of the FDD of the chiller is obtained, and the gradual fading memory method and the limited memory method of the divergence suppression method under different working conditions are selected;
[0010] S105: Determine a combination method with the extended Kalman filter according to the selection of the gradual memory method and the limited memory method of the divergence suppression method under different working conditions;
[0011] S106: The adaptive selection and limited memory method selection under different working conditions are combined with the extended Kalman filter and applied to the on-site fault detection and diagnosis of the chiller.
[0012] In S102, a Kalman filter system model applied to the chiller site is established, including a chiller state transition linear equation model and a chiller measurement model.
[0013] When abnormal transient data and steady-state fluctuation noise cause FDD result deviation, a nonlinear system model of the chiller is established, including the state transfer linear equation and the measurement equation of the regression model.
[0014] In S103, the current chiller operation data is compared with the historical measurement data to determine the chiller operation status, including:
[0015] 3a) Assume that the time interval between the operation state transfer of the alternative chiller is N, then the measured value of the alternative chiller at time k {y k-N+1 ,y k-N+2 , ..., y k};
[0016] 3b) calculating the change rate of each candidate chiller unit according to the time interval N between operation state transitions;
[0017] If the time interval between the transition of the operating state of the i-th candidate chiller satisfies the above formula, the chiller is considered to be in a normal steady-state fluctuation; otherwise, it is considered to have a transient fluctuation;
[0018] 3c) Calculating the difference between the measured value range of the chiller operation status at the current moment and the measured value of each candidate chiller;
[0019] If the difference between the measured value range of the chiller operating state at time k and the measured value of the i-th candidate chiller satisfies the above formula, it is considered that the measured value range of the chiller operating state at time k and the measured value range of the chiller operating state at time k-N+i are at the same operating level; otherwise, it is considered that time k is in a new operating condition;
[0020] 3d) Determine the relationship between the memory length determined in this step and the alternative memory length N. If the variable memory length meets the requirements of the same steady-state working condition, proceed to the next step, otherwise, repeat this cycle.
[0021] In S103, different divergence suppression methods are selected according to different chiller operation states, including:
[0022] If k≤N, that is, the number of historical alternative chiller measurement value ranges does not meet the alternative memory length, the gradual memory method is used as a divergence suppression method; if k>N, that is, the moment meets the conditions for using limited memory, it is input into the chiller measurement value range retention criterion.
[0023] In S104, the method for providing a variable memory length includes:
[0024] 4a) According to the system model of Kalman filtering, the current chiller operation data is compared with the historical measurement data to give the operating status of the chiller at that moment;
[0025] 4b) According to steps 3b) and 3c), the operating state of the chiller at this moment is determined; if both are satisfied, it is considered that the operating state measurement value range of the i-th chiller meets the requirements of being in the same working condition and being steady-state data, and the N adjacent to the k moment is selected. k The range of measured values of the chiller operation status at consecutive moments is used as the reserved memory, and the N k The range of measured values of the chiller operation status at consecutive moments {y k-N+1 ,y k-N+2 , ..., y k} are required to meet steps 3b) and 3c), then N k The limited memory length is called k moment; otherwise, the gradual memory method is selected.
[0026] In S105, the filtering method proposed for application to the on-site chiller includes the following steps:
[0027] 5a) Apply the criteria to determine the chiller operating conditions;
[0028] 5b) Select limited memory length or gradually fading memory length according to different operating conditions of the chiller;
[0029] 5c) Combining the divergence suppression method selected under different operating conditions with the nonlinear Kalman filter for on-site chiller operation data filtering and steady-state screening;
[0030] 5d) Generate the training set and test set of the chiller FDD method using the processed data.
[0031] The S106 is applied to the on-site fault detection and diagnosis of the chiller, and includes the following steps:
[0032] 6a) The selected chiller on-site fault detection and diagnosis method is the support vector data description theory SVDD based on the data-driven model;
[0033] 6b) Construct an offline model of the on-site chiller based on SVDD and an online FDD model;
[0034] 6c) The data training set and test set generated in S105 are used for the SVDD-based chiller offline model and the SVDD-based chiller online FDD model, respectively, for model training and diagnosis.
[0035] The present invention adopts the above technical solution, which has the following beneficial effects:
[0036] This method first analyzes the operating data and operating characteristics of the on-site chiller, starting from the fact that the operating conditions of the on-site chiller change frequently and the operating data are accompanied by large noise; secondly, a system model of the on-site chiller is established based on the operating characteristics of the chiller; then a measurement memory retention criterion is proposed; finally, the two divergence suppression methods of gradual memory and limited memory are combined with nonlinear Kalman filtering and improved.
[0037] This method sets the measurement memory retention criterion based on the operating characteristics of the chiller to obtain a time-varying memory length, which solves the problem that the current research on LM only presets a fixed memory length through prior knowledge. This method solves the problem of difficult selection of memory length, and achieves rapid convergence in the variable operating condition stage and effectively improves the effect of fault diagnosis. The mean square error (MSE) of the filter using this method is reduced by 71.4%, achieving rapid convergence in the variable operating condition stage; the detection FAR is reduced by 63%, and the diagnosis CR of each fault mode is increased by 1.7% to 17.2%, maintaining a good FDD effect for each operating mode. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] The drawings described herein are used to provide a further understanding of the present invention, constitute a part of the present application, and do not constitute an improper limitation of the present invention. In the drawings:
[0039] Figure 1 It is a flow chart of fading limited memory based on variable memory length;
[0040] Figure 2 This is a schematic diagram of the sensor distribution of the chiller experimental system of the RP-1043 project;
[0041] Figure 3 It is the data distribution diagram of each feature under 27 working conditions;
[0042] Figure 4 The flowchart of offline model training for on-site chillers based on SVDD;
[0043] Figure 5 This is a flow chart of online fault detection and diagnosis of field chillers based on SVDD;
[0044] Figure 6 It is the trend diagram of variable memory length change under two consecutive working condition time series;
[0045] Figure 7 It is a comparison chart of the filtering effects of three schemes of TEO under two consecutive working condition time series;
[0046] Figure 8a , 8b The following are the comparison diagrams of fault detection results of the two schemes;
[0047] Figure 9a , 9b The following are the comparison diagrams of FDD results of the two schemes;
[0048] Fig.10 This is a comparison chart of the diagnostic accuracy (CR) of the two schemes. DETAILED DESCRIPTION
[0049] The present invention will be described in detail below in conjunction with the accompanying drawings and specific embodiments. The exemplary embodiments and descriptions of the present invention are used to explain the present invention but are not intended to limit the present invention.
[0050] Refer to the attached Figure 1 As shown, the extended Kalman filtering method based on variable memory length proposed by the present invention has the following specific implementation steps:
[0051] S101: Collected on-site chiller operation data, screened and classified the data, found that operating characteristics such as sudden changes in operating conditions would cause transient abnormal fluctuations and steady-state noise, and determined that the verification object was the chiller of the ASHRAE RP-1043 project. Figure 2This is a schematic diagram of the sensor distribution of the chiller experimental system of the RP-1043 project. The experiment uses a 90-ton centrifugal chiller. The evaporator and condenser are both shell and tube heat exchangers. The tube side is water, the refrigerant is R134a, the cooling water flow FWC is 270gpm, and the chilled water flow FWE is 216gpm. The experiment can obtain 64 variables in real time, of which 48 are directly measured by the sensor at intervals of 10s, and 16 are calculated by the software in real time. It can also simulate 27 operating conditions and 7 typical fault modes, including condenser fouling (CdFoul), refrigerant overcharge (RefOver), refrigerant leakage (RefLeak), non-condensable gas (Ncg), reduced chilled water flow (RedEW), reduced cooling water flow (RedCW), and excessive lubricating oil (ExOil). Each fault is divided into 4 degradation levels. The present invention uses the experimental data of this project to verify the method.
[0052] From the perspective of the promotion of FDD framework in field applications, the present invention takes into account the installation frequency of on-site chiller sensors, and combines the particle swarm algorithm (PSO) to determine the suboptimal feature set that meets field applications, including evaporator inlet water temperature TEI, evaporator outlet water temperature TEO, condenser inlet water temperature TCI, condenser outlet water temperature TCO, evaporation pressure PRE, condensing pressure PRC, compressor power consumption P_in, compressor exhaust temperature TR_dis and compressor suction temperature T_suc, a total of 9 features.
[0053] S102: A Kalman filter system model is established based on the screened and classified data, including a chiller state transition linear process model and a chiller measurement model.
[0054] The linear process model of the chiller state transition is:
[0055]
[0056] Chiller measurement model:
[0057]
[0058] Where k = 1, 2, ..., x k ∈R n is the unobservable state vector of the system at time k; y k ∈R m is the observable measurement vector of the system at time k; q k-1 ∈R n and r k ∈R m are mutually independent Gaussian white noise; represents the state estimation from time k-1 to time k, represents the state estimation at time k; f(·) and h(·) are known nonlinear functions; F k and H k are the Jacobian matrices respectively; v k is the process noise.
[0059] The derivation process of the above-mentioned chiller state transfer linear process model and chiller measurement model is as follows:
[0060] (1) Initialization
[0061]
[0062]
[0063] Among them, x0 represents the initial state value of the chiller system; represents the prior mean of the chiller; P0 represents the prior covariance matrix of the chiller.
[0064] (2) Establish the state transfer equation of the chiller
[0065] Figure 3 is the data distribution of the selected chiller characteristic time series. Figure 3 It can be found that for each feature, 27 operating conditions correspond to 27 segments of data, and the data in each operating condition is manifested as a transient abnormal period and a steady-state fluctuation period. When the operating condition of the chiller changes suddenly, the measured value of each feature will quickly enter the transient abnormal period from the stable state of the previous operating condition, showing violent abnormal fluctuations. After a period of time, the measured value will enter the steady-state fluctuation period, and the data will gradually stabilize and fluctuate around a certain value. Whether it is abnormal transient data or steady-state fluctuation noise, it will cause deviations in the FDD results. This requires the use of nonlinear Kalman filtering methods to repair transient abnormal values and steady-state noise values. The premise for achieving this goal is to establish a nonlinear system model of the chiller. Observation Figure 3 , in the steady-state period of each working condition, each characteristic maintains a stable and unchanged fluctuation trend. Therefore, the state transition linear equation is set as:
[0066] x k+1 =x k +u k +q k
[0067] Among them, u k The control variable set to adapt to the sudden change of the chiller operating conditions, q k is the assumed process Gaussian white noise, which depends on the uncertainty of the chiller state transfer process.
[0068] (3) Establishing regression model equation
[0069] The measurement equation represents the nonlinear mapping relationship between the state vector and the observation vector of the chiller. By analyzing and evaluating several models with different orders and cross terms, it is found that the high-order model has a better fit to the chiller operation data, but it will cause the data points of the chiller operation to be non-smooth. Therefore, it is necessary to find a minimum-order regression model that guarantees accuracy. It has been verified that this regression model is more effective. The following is the measurement equation based on this regression model:
[0070] y k =a0+a1TEO k +a2TCI k +a3P_in k +a4TEO k P_in k +a5TCI k P_in k +a6P_in k 2 +r k
[0071] Among them, TEO k is the evaporator water inlet temperature at time k, TCI k is the condenser water inlet temperature at time k, P_in k is the power consumption of the compressor at time k, a0, a1, a2, a3, a4, a5, a6 are parameter vectors, and the parameter vectors are determined by regression analysis, and the quasi-Newton method is used to minimize the total square error for fitting optimization. k is an assumed measurement Gaussian white noise, whose value depends on the uncertainty of each sensor.
[0072] S103: According to the system model of Kalman filtering, the current chiller operation data is compared with the historical measurement data to determine the chiller operation status at that moment. The specific implementation steps are as follows:
[0073] The purpose of the measurement memory retention criterion is to be one of the criteria for selecting the divergence suppression method: if the chiller is in a period of strong fluctuations in variable operating conditions at this moment, the operating state at this time is very easy to diverge, and the gradual memory method should be selected to enhance the weight of the measurement information; if there are some alternative measurement memories that meet the criterion, it is considered that the chiller is in a stable operating period at this moment, and the measurement memory from the most recent historical moment that meets the criterion to the current moment is retained, thereby executing the limited memory algorithm.
[0074] 3a) At the initial moment, first determine the time interval N between the operation state transfers of the alternative chillers, that is, the range of the chiller measurement values at time k is {y k-N+1 ,y k-N+2 , ..., y kIf k≤N, that is, the number of historical candidate chiller measurement value ranges does not meet the candidate memory length, the gradual memory fading method is used as a divergence suppression method; if k>N, that is, the moment meets the conditions for using limited memory, it is input into the chiller measurement value range retention criterion. From then on, the measurement memory retention judgment is performed at each moment.
[0075] 3b) Calculate the change rate of each candidate chiller unit based on the time interval between operating state transitions:
[0076] |y k-N+i -y k-N+i-1 |≤A1
[0077] Among them, A1 is the set chiller state change rate threshold. If the time interval between the i-th candidate chiller operation state transfer satisfies the above formula, the chiller is considered to be in normal steady-state fluctuation, otherwise, it is considered to have transient fluctuation. Then repeat this step again.
[0078] 3c) Determine the change in the length of time between operating state transfers of the alternative chillers.
[0079] Calculate the difference between the current chiller operating status measurement range and the measurement value of each candidate chiller:
[0080] |y k -y k-N+i |≤A2
[0081] Among them, A2 is the set threshold value of the change amplitude of the chiller state. If the difference between the range of the chiller operating state measurement value at time k and the measurement value of the i-th candidate chiller satisfies the above formula, it is considered that the range of the chiller operating state measurement value at time k is at the same operating level as the range of the chiller operating state measurement value at time k-N+i; otherwise, it is considered that time k is in a new operating condition, and the previous judgment criterion is not satisfied.
[0082] 3d) Determine the memory length determined in this step and the alternative memory length N. If the variable memory length meets the requirements of the same steady-state working condition, proceed to the next step, otherwise, repeat this cycle.
[0083] S104: According to this criterion, the variable memory length of the chiller FDD is obtained, and the gradual fading memory method and the limited memory method of the divergence suppression method under different working conditions are selected. The specific implementation steps are as follows:
[0084] 4a) According to the system model of Kalman filtering, the current chiller operation data is compared with the historical measurement data to give the operating status of the chiller at that moment.
[0085] 4b) According to steps 3b) and 3c), determine the operating state of the chiller at that moment; if both are satisfied, it is considered that the operating state measurement value range of the i-th chiller meets the requirements of being in the same working condition and being steady-state data, and select N adjacent to time k k The range of measured values of the chiller operation status at consecutive moments is used as the reserved memory, and the N k The range of measured values of the chiller operation status at consecutive moments {y k-N+1 ,y k-N+2 , ..., y k} are required to meet steps 3b) and 3c), N k It is called the limited memory length at the k moment. Otherwise, the gradual extinction memory method is selected.
[0086] S105: According to the selection of the gradual memory method and the limited memory method for suppressing divergence under different working conditions, determine the combination method with the extended Kalman filter. The specific implementation steps are as follows:
[0087] 5a) Apply the criteria to determine the chiller operating conditions;
[0088] 5b) Select limited memory length or gradually fading memory length according to different operating conditions of the chiller;
[0089] 5c) Combining the divergence suppression method selected under different operating conditions with the nonlinear Kalman filter for on-site chiller operation data filtering and steady-state screening;
[0090] 5d) Generate the training set and test set of the chiller FDD method using the processed data.
[0091] S106: The adaptive selection and limited memory method selection under different working conditions are combined with the extended Kalman filter to be used for on-site fault detection and diagnosis of the chiller, and the steps are as follows:
[0092] 6a) The selected chiller field fault detection and diagnosis method is the support vector data description theory (SVDD) based on the data-driven model;
[0093] 6b) Construct an offline model of the on-site chiller based on SVDD; Figure 4 The steps shown are;
[0094] 6b1) Input historical operation data under normal and various fault modes;
[0095] 6b2) performing data preprocessing based on feature selection of PSO, wherein the feature selection of PSO includes training data of normal mode, training data of fault 1 mode, training data of fault 2 mode, ..., training data of fault n mode;
[0096] 6b3) After data preprocessing, a FLM-IMM nonlinear KF with variable memory length is obtained; and data standardization training is performed;
[0097] 6b4) Perform offline model training, network search and five-fold cross validation to obtain the best C, g,
[0098] 6b5) obtaining a SVDD model of a normal mode, a SVDD model of a fault 1 mode, a SVDD model of a fault 2 mode, ..., a SVDD model of a fault n mode;
[0099] 6c) Construct an offline model of the on-site chiller based on SVDD; Figure 5 The steps shown are;
[0100] 6c1) Input the real-time operation data of the chiller;
[0101] 6c2) After data preprocessing, a FLM-IMM nonlinear KF with variable memory length is obtained; and data standardization training is performed;
[0102] 6c3) using the normal mode model trained by the offline SVDD model to detect whether a fault occurs;
[0103] 6c4) If a fault occurs, input each fault model trained by the offline SVDD model to determine which fault it belongs to. If it matches one, output the result. If it does not match, output an undefined new fault;
[0104] 6d) Using the data training set and test set generated in S105 for the SVDD-based chiller offline model and the SVDD-based chiller online FDD model, respectively, for model training and diagnosis.
[0105] After determining the system model of the chiller, the present invention randomly intercepts the chiller operation data of two consecutive working conditions as experimental data, and compares the filtering effects of the three methods: EKF, FLM-EKF with fixed memory length, and FLM-EKF with variable memory length. Among them, the EKF of scheme one is the most primitive nonlinear Kalman filtering method; the memory length of FLM-EKF in scheme two is determined by PSO optimization, and the minimum mean square error MMSE is set as the fitness function. The optimal value of the fixed memory length obtained by optimization is 10, that is, the memory length N under this scheme k Always 10; In scheme 3, FLM-EKF combines the measured memory retention criterion to determine whether to use fading memory or limited memory, and gives the memory length N at each moment k , set the alternative measurement memory length to 10. The change of Scheme 3 over time under two consecutive working conditions is as follows Figure 6 As shown, Figure 6The triangle symbol ▲ indicates the starting point of the new operating condition. When the new operating condition occurs, the operating data enters the transient stage, and the memory length becomes 0, that is, FM-EKF begins to be used; as the new operating condition gradually stabilizes, the memory length gradually increases, and LM-EKF is restored.
[0106] Figure 7 The following is a comparison of the filter state estimation effects of three schemes under two consecutive operating conditions, taking TEO as an example. The triangle symbol ▲ in the figure indicates the starting point of the new operating condition. Obviously, the EKF estimation result of scheme 1 is the worst, especially after the operating condition changes, EKF cannot track the strong changes in the transient stage and gradually diverges. On the one hand, this is because the deviation of system modeling causes the filtering error to be continuously amplified until it diverges; on the other hand, there are too many historical data prior values in the state estimation value at the current moment. With the operation of the unit, the proportion of newly added historical measurement data is continuously compressed, and data saturation occurs, resulting in insufficient tracking ability when facing operating condition changes. Observe the local enlarged diagram after the operating condition changes. Among them, the FLM-EKF estimation of scheme 2 with a fixed memory length takes a long time to converge to the normal value in the transient change stage, while the FLM-EKF estimation of scheme 3 with a variable memory length can quickly converge to the normal value after the operating condition changes. This phenomenon is consistent with the expected effect of using the measurement memory retention criterion to improve the FLM-EKF method. The measurement memory retention criterion can identify the state at that moment. If it is in the transient stage, only the gradual memory method is used. As the working conditions gradually stabilize, the limited memory method is used, and its memory length is gradually increasing. However, the FLM-EKF with a fixed memory length will still retain too much useless memory of the previous working condition at this stage, making it difficult for the estimated value to converge quickly.
[0107] like Figure 8a , 8b As shown in the figure, the detection results of normal samples under two schemes, scheme 1 and scheme 2, where the horizontal line represents the radius of the hypersphere determined by the training data, and the dots represent the test samples. If they are above the horizontal line, they are outside the hypersphere and are detected as faults; if they are at the horizontal line, they are on the surface of the hypersphere. These points are called support vectors; if they are below the horizontal line, they are inside the hypersphere and are detected as normal. Figure 9a , 9b As shown in the figure, the two schemes show the diagnosis results of normal and seven fault mode SL-1 degradation levels. The horizontal axis represents the operating mode label of the test data, and the vertical axis represents the FDD result. This figure not only reflects the number of misclassifications, but also reflects what kind of fault is misdiagnosed. Figure 9a and Figure 9b , the number of misdiagnoses in scheme 2 in each mode is significantly less than that in scheme 1. Fig.10The CR of each operating mode under the two schemes is compared. It can be seen that the CR of Scheme 2 in each operating mode is improved compared with Scheme 1. Among them, Scheme 2 in Ncg mode has the most obvious improvement in diagnostic CR, which is increased by 17.2%; Scheme 2 in ExOil mode has the smallest improvement, which is increased by 1.7%; among all fault modes, Scheme 2 has the highest diagnostic CR in CdFoul mode, reaching 99.1%. After the improvement of the measurement memory criterion, Scheme 2 has a CR of more than 85% in each operating mode, and maintains a very high CR for most faults, which can meet the daily alarm sensitivity for chiller faults.
[0108] Table 1 shows the mean square error of TEO state estimation under three schemes.
[0109] Table 1 MSE of TEO status under three schemes
[0110]
[0111] As can be seen from Table 1, the MSE value of Scheme 1 is the largest, indicating that its effect is the worst; the variable memory length of Scheme 3 is more effective than the fixed memory length of Scheme 2. The mean square error (MSE) of filtering using this method is reduced by 71.4%, achieving rapid convergence in the variable operating condition stage. The data filtered by Scheme 3 is input into the FDD method. Compared with Scheme 2, the false alarm rate (FAR) of detection is reduced by 63%, and the diagnosis of various fault modes (CR) is improved by 1.7% to 17.2%. The good FDD effect is maintained for each operating mode, indicating that this selection method of time-varying memory length can effectively make the filter converge.
[0112] The present invention is not limited to the above-mentioned embodiments. On the basis of the technical solution disclosed in the present invention, technicians in this field can make some substitutions and deformations to some technical features therein according to the disclosed technical content without creative labor, and these substitutions and deformations are all within the protection scope of the present invention.
Claims
1. An extended Kalman filter method for variable memory length of FDD in chillers, It is characterized in that The steps include: S101: Collect on-site chiller operation data, and perform data screening and classification; S102: Establishing a Kalman filter system model based on the screened and classified data; S103: According to the system model of Kalman filtering, the current chiller operation data is compared with the historical measurement data to determine the operation status of the chiller at that moment; The process includes: 3a) Assume that the time interval between the operation state transfer of the alternative chiller is N, then the measured value of the alternative chiller at time k {y k-N+1 ,y k-N+2 , ..., y k }; If k≤N, that is, the number of historical candidate chiller measurement value ranges does not meet the candidate memory length, the gradual memory method is used as a divergence suppression method; if k>N, that is, the condition of using limited memory is met at this moment, it is input into the chiller measurement value range retention criterion; 3b) For each candidate chiller unit, calculate the change rate based on the time interval N between operating state transitions: |and k-N+i -and k-N+i-1 |≤A 1 Among them, A 1 is the set chiller state change rate threshold; y is the measurement value of the alternative chiller; If the time interval between the transition of the operating state of the i-th candidate chiller satisfies the above formula, the chiller is considered to be in a normal steady-state fluctuation; otherwise, it is considered to have a transient fluctuation; 3c) Calculate the difference between the current chiller operating status measurement range and the measurement value of each candidate chiller: |and k -and k-N+i |≤A 2 Among them, A 2 The threshold value of the change amplitude of the chiller state is set; If the difference between the measured value range of the chiller operating state at time k and the measured value of the i-th candidate chiller satisfies the above formula, it is considered that the measured value range of the chiller operating state at time k and the measured value range of the chiller operating state at time k-N+i are at the same operating level; otherwise, it is considered that time k is in a new operating condition; 3d) Determine the relationship between the memory length determined in this step and the alternative memory length N. If the variable memory length meets the requirements of the same steady-state working condition, proceed to the next step, otherwise repeat this cycle; S104: according to the criterion, the variable memory length of the FDD of the chiller is obtained, and the gradual fading memory method and the limited memory method of the divergence suppression method under different working conditions are selected; S105: Determine a combination method with the extended Kalman filter according to the selection of the gradual memory method and the limited memory method of the divergence suppression method under different working conditions; S106: The adaptive selection and limited memory method selection under different working conditions are combined with the extended Kalman filter and applied to the on-site fault detection and diagnosis of the chiller.
2. The extended Kalman filter method for variable memory length of FDD for chillers according to claim 1, It is characterized in that In S102, establishing a Kalman filter system model for use on-site in a chiller includes: Chiller state transfer linear equation model: Chiller measurement model: Where k = 1, 2, ..., x k ∈R n is the unobservable state vector of the system at time k; y k ∈R m is the observable measurement vector of the system at time k; q k-1 ∈R n and r k ∈R m are mutually independent Gaussian white noise; represents the state estimation from time k-1 to time k, represents the state estimation at time k; f(·) and h(·) are known nonlinear functions; F k and H k are the Jacobian matrices respectively; v k is the process noise; q k is assumed to be a Gaussian white noise process.
3. The extended Kalman filter method for variable memory length of FDD for chillers according to claim 2, It is characterized in that When abnormal transient data and steady-state fluctuation noise cause FDD result deviation, the nonlinear system model of the chiller is established as follows: State transition linear equation: x k+1 =x k +u k +q k Where k = 1, 2, ..., x k ∈R n is the unobservable state vector of the system at time k, u k The control variable set to adapt to the sudden change of the chiller operating conditions, q k is the assumed process Gaussian white noise; The measurement equation of the regression model is: y k =a 0 +a 1 TEO k +a 2 TCI k +a 3 P_in k +a 4 TEO k P_in k +a 5 TCI k P_in k +a 6 P_in k 2 +r k Among them, TEO k is the evaporator water inlet temperature at time k, TCI k is the condenser water inlet temperature at time k, P_in k is the power consumption of the compressor at time k, a 0 、a 1 、a 2 、a 3 、a 4 、a 5 、a 6 is the parameter vector, r k is the assumed measurement Gaussian white noise.
4. The extended Kalman filter method for variable memory length of FDD for chillers according to claim 1, It is characterized in that In S104, the method for providing a variable memory length includes the following process: 4a) According to the system model of Kalman filtering, the current chiller operation data is compared with the historical measurement data to give the operating status of the chiller at that moment; 4b) According to steps 3b) and 3c), the operating state of the chiller at this moment is determined; if both are satisfied, it is considered that the operating state measurement value range of the i-th chiller meets the requirements of being in the same working condition and being steady-state data, and the N adjacent to the k moment is selected. k The range of measured values of the chiller operation status at consecutive moments is used as the reserved memory, and the N k The range of measured values of the chiller operation status at consecutive moments {y k-N+1 ,y k-N+2 , ..., y k } are required to meet steps 3b) and 3c), then N k The limited memory length is called k moment; otherwise, the gradual memory method is selected.
5. The extended Kalman filter method for variable memory length of FDD for chillers according to claim 1, It is characterized in that In S105, the filtering method proposed for application to the on-site chiller includes the following steps: 5a) Apply the criteria to determine the chiller operating conditions; 5b) Select limited memory length or gradually fading memory length according to different operating conditions of the chiller; 5c) Combining the divergence suppression method selected under different operating conditions with the nonlinear Kalman filter for on-site chiller operation data filtering and steady-state screening; 5d) Generate the training set and test set of the chiller FDD method using the processed data.
6. The extended Kalman filter method for variable memory length of FDD for chillers according to claim 5, It is characterized in that The S106 is applied to the on-site fault detection and diagnosis of the chiller, and includes the following steps: 6a) The selected chiller on-site fault detection and diagnosis method is the support vector data description theory SVDD based on the data-driven model; 6b) Construct an offline model of the on-site chiller based on SVDD and an online FDD model; 6c) The data training set and test set generated in S105 are used for the SVDD-based chiller offline model and the SVDD-based chiller online FDD model, respectively, for model training and diagnosis.
