Heat supply control method and system based on fuzzy neural network PID algorithm

By using the PID algorithm based on fuzzy neural network in the heating system to dynamically adjust the control parameters, the problem of slow response and inaccuracy of traditional PID control in complex heating networks and changing environments is solved, and the automatic performance of the heating system is improved. Adaptability and energy efficiency.

CN118689096AInactive Publication Date: 2024-09-24HUANENG LIAOCHENG THERMAL POWER CO LTD
View PDF 0 Cites 6 Cited by

Patent Information

Application Number
CN202410573852.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-10
Publication Date
2024-09-24
Estimated Expiration
Not applicable · inactive patent

Smart Images

  • Figure CN118689096A
    Figure CN118689096A
Patent Text Reader

Abstract

The invention discloses a heat supply control method and system based on a fuzzy neural network PID algorithm, and the method comprises the steps: collecting heat supply system data, and carrying out the preprocessing; and performing feature extraction on the preprocessed data, and establishing a fuzzy neural network model. Parameters of the PID controller are dynamically adjusted according to model output, parameter accuracy is verified, and an optimization scheme is designed. According to the heat supply control method and system based on the fuzzy neural network PID algorithm, the fuzzy neural network is combined with the PID control algorithm, and the adaptive capacity and control precision of the heat supply control system are effectively improved. Various data of the heat supply system are analyzed and processed in real time through an intelligent algorithm, and PID control parameters can be dynamically adjusted to adapt to instant changes of the environment and loads. The energy distribution and temperature control efficiency of the system is obviously optimized, the energy consumption is reduced, and meanwhile, the negative influence of the environment on the heat supply effect is also reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of intelligent heating control systems, and in particular to a heating control method and system based on a fuzzy neural network PID algorithm. Background Art

[0002] As an important part of urban infrastructure, the efficiency and stability of the heating system directly affect energy consumption and environmental comfort. Traditional heating system control methods, such as conventional proportional-integral-derivative (PID) control, are widely used in scenarios such as temperature regulation. However, when faced with complex heating networks and changing environmental conditions, these methods often show problems of low control accuracy and slow response speed. In addition, due to the lack of effective data processing and prediction mechanisms, traditional control strategies are difficult to accurately grasp the dynamics of the heating system, resulting in low energy utilization and failure to meet the high efficiency and environmental protection requirements of modern urban heating. Summary of the invention

[0003] In view of the above-mentioned problems, the present invention is proposed.

[0004] Therefore, the technical problem solved by the present invention is to solve the problems of slow response and inaccurate control in the traditional PID control in the heating system. The traditional method is inefficient in processing nonlinear and time-varying heating system data, and it is difficult to adapt to rapidly changing environmental and load conditions. The present invention introduces fuzzy neural networks to conduct in-depth analysis and learning of the operating data of the heating system, realizes efficient feature extraction and dynamic pattern recognition of the data, and thus improves the intelligence level and adaptability of the control strategy.

[0005] In order to solve the above technical problems, the present invention provides the following technical solutions: a heating control method based on fuzzy neural network PID algorithm, comprising: collecting heating system data and performing preprocessing.

[0006] The preprocessed data is subjected to feature extraction and a fuzzy neural network model is established.

[0007] Dynamically adjust PID controller parameters based on model output, verify parameter accuracy, and design optimization solutions.

[0008] As a preferred solution of the heating control method based on fuzzy neural network PID algorithm described in the present invention, the heating system data includes temperature data, flow data, pressure data, energy consumption data and timestamp.

[0009] Temperature data includes supply water temperature, return water temperature, and outdoor ambient temperature.

[0010] The flow data is the water flow rate in the heating system, including the flow rate of the main pipe and branch pipes.

[0011] Pressure data are pressure readings at different nodes in the system.

[0012] The energy consumption data is the energy consumption data of each heat source, including fuel consumption and electricity usage.

[0013] The timestamp is the time when all data points were collected.

[0014] Preprocessing first deals with outliers and missing values, deletes outlier data points, and fills missing values ​​with the average. Time features are extracted from timestamps to identify the impact of daily periodicity and seasonal changes. The time derivatives of temperature and flow are calculated to reflect the dynamic change speed of the system.

[0015] Perform data standardization and normalize all numerical features, expressed as:

[0016]

[0017] Among them, x represents the original data, x' represents the normalized data, min(x) represents the minimum data in the data set, and max(x) represents the maximum data in the data set.

[0018] As a preferred solution of the heating control method based on fuzzy neural network PID algorithm described in the present invention, wherein: the feature extraction of the pre-processed data includes that the heating system data has obvious time series characteristics, and it is necessary to perform time series analysis on the data to identify and extract periodic change characteristics, which is expressed as:

[0019]

[0020] Where ACF(k) represents the autocorrelation function, k represents the number of lags, and x t represents the observed value at time t, represents the sample mean, and N represents the total number of observations.

[0021] After obtaining the basic time series features, high-level feature fusion is performed, which is expressed as:

[0022]

[0023] Where θ represents the heat loss rate adjustment parameter, HLR i represents the heat loss rate, ξ represents the internal resistance coefficient adjustment parameter of the pipeline, IRC i represents the internal resistance coefficient of the pipeline, ζ represents the ambient temperature change rate adjustment parameter, ATCR represents the ambient temperature change rate, and n represents the total number of measuring points.

[0024] The heat loss rate is expressed as:

[0025]

[0026] Where κ represents the heat loss transfer coefficient, which is determined according to different pipe and insulation materials. a Indicates the ambient temperature, T i Represents the temperature of the i-th measurement point.

[0027] The internal resistance coefficient of the pipeline is expressed as:

[0028]

[0029] Where ρ represents the fluid density, L represents the pipe length, D represents the pipe diameter, and V i represents the flow velocity at the i-th measurement point.

[0030] The rate of change of ambient temperature is expressed as:

[0031]

[0032] Among them, dT a represents the change value of ambient temperature, and dt represents the time variable.

[0033] Combining the time series analysis results and the high-level feature fusion results, the overall feature extraction formula is expressed as:

[0034] F final (x) = α·ACF(x) + β·F advanced (x)

[0035] Among them, α represents the time series result adjustment parameter, and β represents the high-level feature fusion result adjustment parameter.

[0036] As a preferred solution of the heating control method based on fuzzy neural network PID algorithm described in the present invention, the fuzzy neural network model established includes an input layer, a fuzzification layer, a hidden layer and an output layer.

[0037] The input layer receives the feature extraction results.

[0038] The fuzzification layer converts the input real feature value into a fuzzy value. The fuzzy value represents the contribution level of a specific feature to the heating effect, which is expressed as:

[0039]

[0040] Among them, x represents the input feature value, μ represents the mean parameter, which determines the center position of the fuzzification curve. σ represents the standard deviation, which determines the width of the curve. The larger the width, the higher the fuzzification degree of the feature. M(x) represents the output fuzzy value, the membership function value at the x position.

[0041] The hidden layer processes the fuzzified data through neurons, performs nonlinear mapping, abstracts more advanced feature representations, and provides sufficient information for the output layer, which can be expressed as:

[0042] H = tanh(W f ·M+b)

[0043] Among them, W f Represents the weight matrix, which is used as the input of the hidden layer. M represents the fuzzy value passed from the fuzzification layer, b represents the bias, and tanh() represents the activation function, which increases the nonlinear characteristics of the model.

[0044] The output layer converts the processing results of the hidden layer into specific control parameters, which are directly used to adjust the settings of the PID controller, expressed as:

[0045] O=W o ·H+b o

[0046] Among them, W o represents the weight matrix of the output layer, H represents the output of the hidden layer, and b o Represents the bias of the output layer.

[0047] As a preferred solution of the heating control method based on the fuzzy neural network PID algorithm described in the present invention, the method of dynamically adjusting the parameters of the PID controller according to the model output includes: the output obtained from the fuzzy neural network is a set of fuzzy values, and the fuzzy values ​​are converted into specific PID parameters, and firstly decoded:

[0048]

[0049] Among them, KP(t) represents the proportion of the PID controller at time t, KI(t) represents the integral of the PID controller at time t, and KD(t) represents the differential gain of the PID controller at time t. i Represents the weight coefficient, which is adjusted according to the contribution of the fuzzy output to the PID parameters. i (t) represents the i-th fuzzy output value, F decode (x) represents the decoding function, which maps the fuzzy output to the real value of the PID parameter, expressed as:

[0050]

[0051] Among them, α represents a regulation parameter that determines the shape of the decoding function, and β represents a regulation parameter that determines the range of the decoding function.

[0052] Through the decoding function, each fuzzy output value is converted into the corresponding PID parameter to dynamically adjust the control system:

[0053]

[0054] Here, e(t) represents the deviation, which is the difference between the set point and the actual output.

[0055] As a preferred solution of the heating control method based on fuzzy neural network PID algorithm described in the present invention, wherein: the accuracy of the verification parameters includes: exp (t) is the expected heating control parameter, Y act (t) is the actual collected heating system parameter. The accuracy evaluation function is constructed to accumulate the contribution of each point in the time series to the accuracy:

[0056]

[0057] Where N is the total number of moments in the evaluation time, ε is a small amount to avoid the denominator being zero, and T in Indicates the inlet temperature of the heating system, Q sys represents the system heat flow, ΔP represents the system pressure difference, Φ(T in ,Q sys ,ΔP)(τ) represents a complex function, which reflects the influence of inlet temperature, system heat flow and system pressure difference on accuracy over time, which can be expressed as:

[0058]

[0059] Among them, α represents the system thermal energy conversion efficiency, β represents the rate at which the system thermal energy decays over time, and T in (τ) represents the inlet temperature of the heating system at time τ, Q sys (τ) represents the system heat flow at time τ, ΔP(τ) represents the system pressure difference at time τ, and τ represents the time variable.

[0060] The normal range of α is 0.8 to 1.2. When α=1, it means that the heating system is working under the design load and the conversion efficiency is in the standard state. When α>1, it means that the thermal energy conversion efficiency of the heating system is higher than the standard level. In this state, the system gives priority to the discharge operation of the energy storage device. When α<1, it means that the thermal energy conversion efficiency of the heating system is lower than the standard level. At this time, the system optimizes the working mode and enhances the charging efficiency of the energy storage device.

[0061] The normal range of β is 0.01-0.05. When β=0.03, it means that the heat energy loss of the heating system is normal. When β>0.03, it means that the heat energy loss is accelerated, and the discharge efficiency of the energy storage equipment is increased to replenish the lost heat energy. When β<0.03, it means that the heat energy loss is slowed down, the discharge efficiency of the energy storage equipment is reduced, and energy waste is reduced.

[0062] As a preferred solution of the heating control method based on fuzzy neural network PID algorithm described in the present invention, the optimization solution includes calculating the accuracy score and designing the optimization solution:

[0063] When the accuracy score is lower than 0.8, increase the generator output power to meet the demand for heat supply. Optimize the heat network flow distribution to ensure the stability of heat supply in key areas. Adjust PID parameters to improve the controller's response speed to system changes.

[0064] When the accuracy score is between 0.8 and 0.95, fine-tune the PID parameters to balance power output and efficiency. Monitor the heat network load, adjust the heat flow distribution, and optimize the efficiency of heat energy use.

[0065] When the accuracy score is above 0.95, keep the current control parameter settings. Perform regular monitoring of the heating system to ensure long-term stable operation.

[0066] A heating control system based on fuzzy neural network PID algorithm, characterized in that: it includes:

[0067] The preprocessing module collects heating system data and performs preprocessing.

[0068] Establish a model module, extract features from the preprocessed data, and establish a fuzzy neural network model.

[0069] The optimization module dynamically adjusts the parameters of the PID controller according to the model output, verifies the parameter accuracy, and designs the optimization plan.

[0070] A computer device comprises a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the above method when executing the computer program.

[0071] A computer-readable storage medium stores a computer program, which implements the steps of the method described above when executed by a processor.

[0072] Beneficial effects of the present invention: The fuzzy neural network of the present invention is combined with the PID control algorithm to effectively improve the adaptive ability and control accuracy of the heating control system. Through the intelligent algorithm, various data of the heating system are analyzed and processed in real time, and the PID control parameters can be dynamically adjusted to adapt to the immediate changes in the environment and load. The energy distribution and temperature control efficiency of the system are significantly optimized, the energy consumption is reduced, and the negative impact of the environment on the heating effect is also reduced. BRIEF DESCRIPTION OF THE DRAWINGS

[0073] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required for describing the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. Among them:

[0074] Figure 1 An overall flow chart of a heating control method and system based on a fuzzy neural network PID algorithm provided in the first embodiment of the present invention. DETAILED DESCRIPTION

[0075] In order to make the above-mentioned purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are described in detail below in conjunction with the drawings of the specification. Obviously, the described embodiments are part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary persons in the art without creative work should fall within the scope of protection of the present invention.

[0076] Example 1

[0077] Reference Figure 1 , as an embodiment of the present invention, provides a method, comprising:

[0078] S1: Collect heating system data and perform preprocessing.

[0079] Heating system data includes temperature data, flow data, pressure data, energy consumption data and timestamp.

[0080] Temperature data includes supply water temperature, return water temperature, and outdoor ambient temperature.

[0081] The flow data is the water flow rate in the heating system, including the flow rate of the main pipe and branch pipes.

[0082] Pressure data are pressure readings at different nodes in the system.

[0083] The energy consumption data is the energy consumption data of each heat source, including fuel consumption and electricity usage.

[0084] The timestamp is the time when all data points were collected.

[0085] Preprocessing first deals with outliers and missing values, deletes outlier data points, and fills missing values ​​with the average. Time features are extracted from timestamps to identify the impact of daily periodicity and seasonal changes. The time derivatives of temperature and flow are calculated to reflect the dynamic change speed of the system.

[0086] Perform data standardization and normalize all numerical features, expressed as:

[0087]

[0088] Among them, x represents the original data, x' represents the normalized data, min(x) represents the minimum data in the data set, and max(x) represents the maximum data in the data set.

[0089] S2: Extract features from the preprocessed data and establish a fuzzy neural network model.

[0090] The heating system data has obvious time series characteristics. It is necessary to perform time series analysis on the data to identify and extract periodic change characteristics, which can be expressed as:

[0091]

[0092] Where ACF(k) represents the autocorrelation function, k represents the number of lags, and x t represents the observed value at time t, represents the sample mean, and N represents the total number of observations.

[0093] After obtaining the basic time series features, high-level feature fusion is performed, which is expressed as:

[0094]

[0095] Where θ represents the heat loss rate adjustment parameter, HLR i represents the heat loss rate, ξ represents the internal resistance coefficient adjustment parameter of the pipeline, IRC i represents the internal resistance coefficient of the pipeline, ζ represents the ambient temperature change rate adjustment parameter, ATCR represents the ambient temperature change rate, and n represents the total number of measuring points.

[0096] The heat loss rate is expressed as:

[0097]

[0098] Where κ represents the heat loss transfer coefficient, which is determined according to different pipe and insulation materials. a Indicates the ambient temperature, T i Represents the temperature of the i-th measurement point.

[0099] The internal resistance coefficient of the pipeline is expressed as:

[0100]

[0101] Where ρ represents the fluid density, L represents the pipe length, D represents the pipe diameter, and V i represents the flow velocity at the i-th measurement point.

[0102] The rate of change of ambient temperature is expressed as:

[0103]

[0104] Among them, dT a represents the change value of ambient temperature, and dt represents the time variable.

[0105] Combining the time series analysis results and the high-level feature fusion results, the overall feature extraction formula is expressed as:

[0106] F final (x) = α·ACF(x) + β·F advanced (x)

[0107] Among them, α represents the time series result adjustment parameter, and β represents the high-level feature fusion result adjustment parameter.

[0108] The fuzzy neural network model includes input layer, fuzzification layer, hidden layer and output layer.

[0109] The input layer receives the feature extraction results.

[0110] The fuzzification layer converts the input real feature value into a fuzzy value. The fuzzy value represents the contribution level of a specific feature to the heating effect, which is expressed as:

[0111]

[0112] Among them, x represents the input feature value, μ represents the mean parameter, which determines the center position of the fuzzification curve. σ represents the standard deviation, which determines the width of the curve. The larger the width, the higher the fuzzification degree of the feature. M(x) represents the output fuzzy value, the membership function value at the x position.

[0113] It should be noted that this formula is based on the cumulative distribution function of the normal distribution, which effectively maps real numbers to fuzzy values ​​in the interval [0,1]. By adjusting the values ​​of μ and σ, the fuzzification process can be flexibly controlled to adapt to the importance and variability of different features.

[0114] The hidden layer processes the fuzzified data through neurons, performs nonlinear mapping, abstracts more advanced feature representations, and provides sufficient information for the output layer, which can be expressed as:

[0115] H = tanh(W f ·M+b)

[0116] Among them, W f Represents the weight matrix, which is used as the input of the hidden layer. M represents the fuzzy value passed from the fuzzification layer, b represents the bias, and tanh() represents the activation function, which increases the nonlinear characteristics of the model.

[0117] The output layer converts the processing results of the hidden layer into specific control parameters, which are directly used to adjust the settings of the PID controller, expressed as:

[0118] O=W o ·H+b o

[0119] Among them, W o represents the weight matrix of the output layer, H represents the output of the hidden layer, and b o Represents the bias of the output layer.

[0120] S3: Dynamically adjust the parameters of the PID controller according to the model output, verify the parameter accuracy, and design an optimization solution.

[0121] The output from the fuzzy neural network is a set of fuzzy values. To convert the fuzzy values ​​into specific PID parameters, decoding is first performed:

[0122]

[0123] Among them, KP(t) represents the proportion of the PID controller at time t, KI(t) represents the integral of the PID controller at time t, and KD(t) represents the differential gain of the PID controller at time t. i Represents the weight coefficient, which is adjusted according to the contribution of the fuzzy output to the PID parameters. i (t) represents the i-th fuzzy output value, F decode (x) represents the decoding function, which maps the fuzzy output to the real value of the PID parameter, expressed as:

[0124]

[0125] Among them, α represents a regulation parameter that determines the shape of the decoding function, and β represents a regulation parameter that determines the range of the decoding function.

[0126] Through the decoding function, each fuzzy output value is converted into the corresponding PID parameter to dynamically adjust the control system:

[0127]

[0128] Here, e(t) represents the deviation, which is the difference between the set point and the actual output.

[0129] It should be noted that by adjusting the PID parameters in real time, the system can adapt to changes in external conditions more flexibly and improve the accuracy and efficiency of control. Correct PID parameter settings reduce the overshoot and steady-state error of the system, thereby achieving faster response speed and higher stability. By optimizing the control strategy, energy waste can be effectively reduced and energy-saving effects can be achieved.

[0130] Y exp (t) is the expected heating control parameter, Y act (t) is the actual collected heating system parameter. The accuracy evaluation function is constructed to accumulate the contribution of each point in the time series to the accuracy:

[0131]

[0132] Where N is the total number of moments in the evaluation time, ε is a small amount to avoid the denominator being zero, and T in Indicates the inlet temperature of the heating system, Q sys represents the system heat flow, and ΔP represents the system pressure difference.

[0133] It should be noted that this formula incorporates the real-time system physical parameters and provides an intuitive accuracy assessment. By accumulating the errors in the time series, the stability and accuracy of the control parameters over time can be observed. The added integral term takes into account the impact of the physical properties of the system on the control accuracy.

[0134] Φ(T in ,Q sys ,ΔP)(τ) represents a complex function, which reflects the influence of inlet temperature, system heat flow and system pressure difference on accuracy over time, which can be expressed as:

[0135]

[0136] Among them, α represents the system thermal energy conversion efficiency, β represents the rate at which the system thermal energy decays over time, and T in (τ) represents the inlet temperature of the heating system at time τ, Q sys (τ) represents the system heat flow at time τ, ΔP(τ) represents the system pressure difference at time τ, and τ represents the time variable.

[0137] The normal range of α is 0.8 to 1.2. When α=1, it means that the heating system is working under the design load and the conversion efficiency is in the standard state. When α>1, it means that the thermal energy conversion efficiency of the heating system is higher than the standard level. In this state, the system gives priority to the discharge operation of the energy storage device. When α<1, it means that the thermal energy conversion efficiency of the heating system is lower than the standard level. At this time, the system optimizes the working mode and enhances the charging efficiency of the energy storage device.

[0138] The normal range of β is 0.01-0.05. When β=0.03, it means that the heat energy loss of the heating system is normal. When β>0.03, it means that the heat energy loss is accelerated, and the discharge efficiency of the energy storage equipment is increased to replenish the lost heat energy. When β<0.03, it means that the heat energy loss is slowed down, the discharge efficiency of the energy storage equipment is reduced, and energy waste is reduced.

[0139] It should be noted that the combination of sine function and exponential decay is selected as the core of the model in order to capture the periodic and decreasing characteristics of heat conversion and loss in the heating system. This formula converts the dynamic behavior of the heating system into a fuzzy measure of heat accumulation, which is more advantageous when dealing with complex systems.

[0140] The optimization plan includes calculating the accuracy score and designing the optimization plan:

[0141] When the accuracy score is lower than 0.8, increase the generator output power to meet the demand for heat supply. Optimize the heat network flow distribution to ensure the stability of heat supply in key areas. Adjust PID parameters to improve the controller's response speed to system changes.

[0142] When the accuracy score is between 0.8 and 0.95, fine-tune the PID parameters to balance power output and efficiency. Monitor the heat network load, adjust the heat flow distribution, and optimize the efficiency of heat energy use.

[0143] When the accuracy score is above 0.95, keep the current control parameter settings. Perform regular monitoring of the heating system to ensure long-term stable operation.

[0144] It should be noted that all adjustment parameters, weight coefficients and other parameters in the present invention are obtained from experimental results and can be artificially modified in specific implementations.

[0145] The above embodiments also include a heating control system based on a fuzzy neural network PID algorithm, specifically:

[0146] The preprocessing module collects heating system data and performs preprocessing.

[0147] Establish a model module, extract features from the preprocessed data, and establish a fuzzy neural network model.

[0148] The optimization module dynamically adjusts the parameters of the PID controller according to the model output, verifies the parameter accuracy, and designs the optimization plan.

[0149] The computer device may be a server. The computer device includes a processor, a memory, an input / output interface (I / O for short) and a communication interface. The processor, the memory and the input / output interface are connected via a system bus, and the communication interface is connected to the system bus via the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store data cluster data of a power monitoring system. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal via a network connection. When the computer program is executed by the processor, a method is implemented.

[0150] A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. Non-volatile memory may include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory may include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.

[0151] Example 2

[0152] An embodiment of the present invention provides a heating control method and system based on a fuzzy neural network PID algorithm. In order to verify the beneficial effects of the present invention, a scientific demonstration is carried out through comparative experiments.

[0153] The experiment of this embodiment is set in a standard residential heating system, which includes a central heating system and distributed temperature sensors to monitor the supply water temperature and return water temperature. The system also includes a flow meter and a pressure sensor to collect the flow data and pressure data of the system.

[0154] First, the system preprocesses all the collected data, which are used for feature extraction, especially considering the cyclical changes in the heating system. The extracted features include temperature change rate, flow fluctuation and system energy efficiency.

[0155] Based on these features, a fuzzy neural network model is constructed. The fuzzification layer converts the input features into fuzzy values, which reflect the degree of influence of different features on the heating effect. The hidden layer further processes these data, and the output layer finally generates specific PID parameters.

[0156] During the test phase, the PID parameters were adjusted dynamically using real-time data, and the model output was compared with the actual system performance. The system response speed, energy efficiency, and temperature control accuracy before and after the PID parameter adjustment were recorded. The experimental results are shown in Table 1.

[0157] Table 1 Experimental results

[0158]

[0159]

[0160] It can be seen that after the introduction of the fuzzy neural network PID algorithm, the temperature control accuracy of the heating control has been significantly improved, and the energy efficiency has also been significantly improved. For example, in the residential heating system 1, the temperature control accuracy has increased from 2.5℃ before adjustment to 1.2℃, the energy efficiency has increased from 75% to 85%, and the system response time has also been shortened from 30 seconds to 25 seconds. This proves that the fuzzy neural network PID algorithm can effectively improve the dynamic adjustment ability and overall operation efficiency of the heating system.

[0161] It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solutions of the present invention may be modified or replaced by equivalents without departing from the spirit and scope of the technical solutions of the present invention, which should all be included in the scope of the claims of the present invention.

Claims

1. A heating control method based on fuzzy neural network PID algorithm, It is characterized in that include: Collect heating system data and perform preprocessing; Extract features from preprocessed data and establish a fuzzy neural network model; Dynamically adjust PID controller parameters based on model output, verify parameter accuracy, and design optimization solutions.

2. The heating control method based on the fuzzy neural network PID algorithm as claimed in claim 1, Features: The heating system data includes temperature data, flow data, pressure data, energy consumption data and timestamp; Temperature data includes water supply temperature, return water temperature, and outdoor ambient temperature; The flow data is the water flow rate in the heating system, including the flow rate of the main pipe and branch pipes; The pressure data are the pressure readings at different nodes in the system; Energy consumption data refers to the energy consumption data of each heat source, including fuel consumption and electricity usage; The timestamp is the collection time of all data points; Preprocessing first deals with outliers and missing values, deletes abnormal data points, and fills missing values ​​with the average; extracts time features from timestamps to identify the impact of daily periodicity and seasonal changes; calculates the time derivatives of temperature and flow to reflect the dynamic change speed of the system; Perform data standardization and normalize all numerical features, expressed as: Among them, x represents the original data, x' represents the normalized data, min(x) represents the minimum data in the data set, and max(x) represents the maximum data in the data set.

3. The heating control method based on the fuzzy neural network PID algorithm as claimed in claim 2, Features: The feature extraction of the pre-processed data includes that the heating system data has obvious time series characteristics, and it is necessary to perform time series analysis on the data to identify and extract periodic change characteristics, which can be expressed as: Where ACF(k) represents the autocorrelation function, k represents the number of lags, and x t represents the observed value at time t, represents the sample mean, and N represents the total number of observations; After obtaining the basic time series features, high-level feature fusion is performed, which is expressed as: Where θ represents the heat loss rate adjustment parameter, HLR i represents the heat loss rate, ξ represents the internal resistance coefficient adjustment parameter of the pipeline, IRC i represents the internal resistance coefficient of the pipeline, ζ represents the ambient temperature change rate adjustment parameter, ATCR represents the ambient temperature change rate, and n represents the total number of measurement points; The heat loss rate is expressed as: Where, κ represents the heat loss transfer coefficient, which is determined according to different pipe materials and insulation layer materials; T a Indicates the ambient temperature, T i represents the temperature of the i-th measurement point; The internal resistance coefficient of the pipeline is expressed as: Where ρ represents the fluid density, L represents the pipe length, D represents the pipe diameter, and V i represents the flow velocity at the i-th measurement point; The rate of change of ambient temperature is expressed as: Among them, dT a represents the change value of ambient temperature, and dt represents the time variable; Combining the time series analysis results and the high-level feature fusion results, the overall feature extraction formula is expressed as: F final (x)=α·ACF(x)+β·F advanced (x) Among them, α represents the time series result adjustment parameter, and β represents the high-level feature fusion result adjustment parameter.

4. The heating control method based on the fuzzy neural network PID algorithm as claimed in claim 3, Features: The fuzzy neural network model includes an input layer, a fuzzification layer, a hidden layer and an output layer; The input layer receives the feature extraction results; The fuzzification layer converts the input real feature value into a fuzzy value. The fuzzy value represents the contribution level of a specific feature to the heating effect, which is expressed as: Among them, x represents the input feature value, μ represents the mean parameter, which determines the center position of the fuzzification curve; σ represents the standard deviation, which determines the width of the curve. The larger the width, the higher the fuzzification degree of the feature; M(x) represents the output fuzzy value, the membership function value at the x position; The hidden layer processes the fuzzified data through neurons, performs nonlinear mapping, abstracts more advanced feature representations, and provides sufficient information for the output layer, which can be expressed as: H=tanh(W f ·M+b) Among them, W f represents the weight matrix, which is used as the input of the hidden layer; M represents the fuzzy value passed from the fuzzification layer, b represents the bias, and tanh() represents the activation function, which increases the nonlinear characteristics of the model; The output layer converts the processing results of the hidden layer into specific control parameters, which are directly used to adjust the settings of the PID controller, expressed as: O=W o ·H+b o Among them, W o represents the weight matrix of the output layer, H represents the output of the hidden layer, and b o Represents the bias of the output layer.

5. The heating control method based on fuzzy neural network PID algorithm as claimed in claim 4, Features: The method of dynamically adjusting the parameters of the PID controller according to the model output includes: the output obtained from the fuzzy neural network is a set of fuzzy values, and the fuzzy values ​​are converted into specific PID parameters, and firstly decoded: Where KP(t) represents the proportion of the PID controller at time t, KI(t) represents the integral of the PID controller at time t, and KD(t) represents the differential gain of the PID controller at time t; i Represents the weight coefficient, which is adjusted according to the contribution of the fuzzy output to the PID parameters; MF i (t) represents the i-th fuzzy output value, F decode (x) represents the decoding function, which maps the fuzzy output to the real value of the PID parameter, expressed as: Among them, α represents the adjustment parameter that determines the shape of the decoding function, and β represents the adjustment parameter that determines the range of the decoding function; Through the decoding function, each fuzzy output value is converted into the corresponding PID parameter to dynamically adjust the control system: Here, e(t) represents the deviation, which is the difference between the set point and the actual output.

6. The heating control method based on fuzzy neural network PID algorithm as claimed in claim 5, Features: The verification parameter accuracy includes: exp (t) is the expected heating control parameter, Y act (t) is the actual collected heating system parameter. The accuracy evaluation function is constructed to accumulate the contribution of each point in the time series to the accuracy: Where N is the total number of moments in the evaluation time, ε is a small amount to avoid the denominator being zero, and T in Indicates the inlet temperature of the heating system, Q sys represents the system heat flow, ΔP represents the system pressure difference, Φ(T in ,Q sys ,ΔP)(τ) represents a complex function, which reflects the influence of inlet temperature, system heat flow and system pressure difference on accuracy over time, which can be expressed as: Among them, α represents the system thermal energy conversion efficiency, β represents the rate at which the system thermal energy decays over time, and T in (τ) represents the inlet temperature of the heating system at time τ, Q sys (τ) represents the system heat flow at time τ, ΔP(τ) represents the system pressure difference at time τ, and τ represents the time variable; The normal range of α is 0.8 to 1.

2. When α=1, it means that the heating system is working under the design load and the conversion efficiency is in the standard state; when α>1, it means that the thermal energy conversion efficiency of the heating system is higher than the standard level. In this state, the system gives priority to the discharge operation of the energy storage device; when α<1, it means that the thermal energy conversion efficiency of the heating system is lower than the standard level. At this time, the system optimizes the working mode and enhances the charging efficiency of the energy storage device. The normal range of β is 0.01~0.

05. When β=0.03, it means that the heat energy loss of the heating system is normal; when β>0.03, it means that the heat energy loss is accelerated, and the discharge efficiency of the energy storage equipment is increased to compensate for the lost heat energy; when β<0.03, it means that the heat energy loss is slowed down, the discharge efficiency of the energy storage equipment is reduced, and energy waste is reduced.

7. The heating control method based on fuzzy neural network PID algorithm as claimed in claim 6, Features: The optimization scheme includes calculating the accuracy score and designing the optimization scheme: When the accuracy score is lower than 0.8, increase the generator output power to meet the demand for heat supply; optimize the heat network flow distribution to ensure the stability of heat supply in key areas; adjust the PID parameters to improve the controller's response speed to system changes; When the accuracy score is between 0.8 and 0.95, fine-tune the PID parameters to balance power output and efficiency; monitor the heat network load, adjust the heat flow distribution, and optimize the efficiency of thermal energy use; When the accuracy score is higher than 0.95, maintain the current control parameter settings; conduct regular monitoring of the heating system to ensure long-term stable operation.

8. A heating control system based on a fuzzy neural network PID algorithm using the method according to any one of claims 1 to 7, Features: Preprocessing module, collects heating system data and performs preprocessing; Establish a model module, extract features from preprocessed data, and establish a fuzzy neural network model; The optimization module dynamically adjusts the parameters of the PID controller according to the model output, verifies the parameter accuracy, and designs the optimization plan.

9. A computer device comprising a memory and a processor, wherein the memory stores a computer program. It is characterized in that When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.

10. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.

Citation Information

Cited By

  • Green production quality control system and method for dried sand

    CN119197043A

  • Heat flow test temperature control method and device for dynamically setting PID parameters based on machine learning

    CN120276240A

  • Temperature control method and device for heat flow test based on dynamic setting of PID parameters by machine learning

    CN120276240B

  • Robot control method and system combining fuzzy control and neural network

    CN120347774A

  • Heat exchange unit circulating pump energy-saving optimization system based on fuzzy PID (Proportion Integration Differentiation) control

    CN120406099A