A temperature control system and method based on artificial intelligence
The temperature control system using CMAC neural network and fuzzy PID control algorithm solves the problem that the train temperature control system cannot be finely adjusted and adaptive, achieving precise control of the temperature inside the carriage and improving comfort.
Patent Information
- Application Number
- CN202410697448.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-31
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2044-05-31
AI Technical Summary
The existing train temperature control system cannot finely adjust the temperature, cannot take into account the comfort needs in various environmental conditions, and cannot adapt to environmental changes, causing passengers to feel uncomfortable when it is too hot or too cold.
A temperature control system based on CMAC neural network and fuzzy PID control algorithm is used to predict the temperature comfort zone by collecting environmental parameters and body temperature data in real time, and perform real-time temperature adjustment based on the fuzzy PID control algorithm to automatically adjust control parameters to adapt to environmental changes.
It achieves precise control of the temperature inside the carriage and can adjust the temperature comfort zone in real time according to changes in various factors, improving the comfort and energy saving effect in the carriage and reducing the discomfort of passengers.
Smart Images

Figure CN118466623B_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of intelligent temperature control technology, and specifically is a temperature control system and method based on artificial intelligence. Background Art
[0002] The train temperature control system adjusts the temperature based on the data collected by the temperature sensor. It sets the target temperature and controls the strength of the air-conditioning system to make the temperature in the car close to the target temperature. It is unable to make fine adjustments to the temperature and is unable to take into account the comfort level in a variety of environmental conditions. In other words, it is unable to meet the comfort needs and energy-saving requirements of different areas.
[0003] Existing control strategies are usually based on the current temperature and the target temperature, and the temperature is adjusted through the PID algorithm, which can better control the temperature near the target temperature. However, since the human body's perception of ambient temperature is affected by many factors, such as temperature, humidity, wind speed, clothing thickness, and physical fitness, precise control of temperature alone cannot effectively provide a comfortable indoor environment, nor can it automatically adjust according to real-time changes in indoor and outdoor environments. It is easy to cause passengers to feel too hot or too cold. When the environment changes, the target temperature needs to be manually modified to achieve a better comfort level, and adaptive regulation cannot be performed. Summary of the invention
[0004] The present application is made in view of the above-mentioned issues, and its purpose is to provide a temperature control system based on artificial intelligence, based on CMAC neural network and fuzzy PID control algorithm, and comprehensively considers the influence of various factors. The temperature comfort range in the current state of the car is predicted through the CMAC neural network, and then the temperature is adjusted according to the temperature comfort range through the fuzzy PID control algorithm. It has good robustness, can automatically adjust the control parameters to accurately control the temperature, and can adjust the temperature comfort range in real time according to the changes in influencing factors to adapt to environmental changes and maintain a comfortable temperature in the car.
[0005] Specifically as follows, a first aspect of the present application provides an artificial intelligence-based temperature control system, including a data acquisition module, a data processing module, a control module, and a display module;
[0006] The data acquisition module collects environmental parameter data and body temperature data in real time, and sends them to the data processing module and the control module;
[0007] The data processing module pre-processes the received data, and then predicts the temperature comfort range through the CMAC neural network based on the processed data, and sends the temperature comfort range to the control module;
[0008] The control module controls the air conditioning system to adjust the temperature in real time through the fuzzy PID control algorithm according to the temperature comfort range and the current temperature data, and sends the real-time temperature changes to the display module for visual display.
[0009] Furthermore, the environmental parameter data includes temperature and humidity data inside and outside the train, and wind speed data inside the train;
[0010] Specifically, it includes: collecting the temperature and humidity inside the target car through the temperature and humidity sensor inside the train to obtain the temperature and humidity data inside the train; collecting the temperature and humidity outside the target car through the temperature and humidity sensor outside the train to obtain the temperature and humidity data outside the train; collecting the wind speed data inside the target car through the wind speed measuring instrument inside the train.
[0011] Furthermore, the preprocessing specifically includes: data noise reduction, detection and correction of data outliers;
[0012] Data denoising is to use the median filter method to denoise the data and remove impulse noise or mutations;
[0013] Detection and correction of data outliers: Use the IQR method to detect outliers in the data. After detecting outliers, if the number of outliers is small, set them to null values or delete the outlier data directly; otherwise, use the mean of the adjacent data as the missing value filling;
[0014] Furthermore, a temperature control method based on artificial intelligence, wherein the temperature comfort range is predicted by the CMAC neural network, specifically includes:
[0015] Step 1: Through the CMAC neural network, using the nonlinear function approximation function of the CMAC neural network, a soft measurement instrument model of thermal comfort is established;
[0016] Step 2: Use computer simulation software to simulate and optimize the parameters of the soft measurement instrument model of thermal comfort;
[0017] Step 3: Use historical environmental data and PMV model to train the soft sensor instrument model;
[0018] Step 4: Use the currently received environmental parameter data and perceived temperature data to predict the indoor comfortable temperature range.
[0019] Furthermore, the optimization of the parameters of the soft measurement instrument model of thermal comfort specifically includes:
[0020] According to the simulation results, choose to adjust the number of neural network layers, learning rate and training times.
[0021] Furthermore, the use of the past historical environmental data and the PMV model to train the soft sensor instrument model specifically includes:
[0022] Step 1: Use historical environmental data and body temperature data as input data for the soft sensor model;
[0023] Step 2: Input the PMV model with historical environmental data and individual characteristics of the simulated dummy to obtain the output thermal sensation score;
[0024] Step 3: Use the thermal sensation score of the PMV model as the evaluation criterion to train the output of the soft-sensing instrument model.
[0025] Furthermore, the air conditioning system is controlled by the fuzzy PID control algorithm to perform real-time temperature adjustment, specifically including:
[0026] Step 1: Use the temperature comfort zone and current temperature data to calculate the temperature deviation e and its derivative ec at the current moment;
[0027] Step 2: Use the temperature deviation e and its derivative ec as the input variables of the fuzzy controller and perform fuzzification;
[0028] Step 3: The fuzzy controller performs fuzzy reasoning according to fuzzy rules to obtain the membership degree of the output values Kp, Ki, and Kd;
[0029] Step 4: Defuzzify the output fuzzy quantity of the fuzzy controller to obtain the values of Kp, Ki, and Kd;
[0030] Step 5: Use Kp, Ki, and Kd to control the air conditioning system through the PID formula to adjust the temperature;
[0031] The PID formula is as follows:
[0032] ;
[0033] in : proportionality coefficient; : integration coefficient; : differential coefficient;
[0034] : Control quantity at time n; : Temperature error at time n;
[0035] : Temperature error at time n-1;
[0036] U1= : Proportional operation; U2= : Integral operation;
[0037] U3= : Differential operation;
[0038] Step 6: Repeat steps 1 to 5 until the temperature adjustment is completed.
[0039] Furthermore, the fuzzy rules need to be set according to a fuzzy control rule base based on actual operation data and operation experience.
[0040] In the second aspect, the present application also provides a computing device, which has the function of implementing the method described in the first aspect above. The beneficial effects can be found in the description of the first aspect, which will not be repeated here. The function can be implemented by hardware, or by executing the corresponding software implementation through hardware. The hardware or software includes one or more modules corresponding to the above functions. In one possible design, the structure of the device includes an acquisition module, a training module, and optionally, a construction module. These modules can implement the function of the training node in the method example of the first aspect above. Please refer to the detailed description in the method example for details, which will not be repeated here.
[0041] In the third aspect, the present application also provides a computing device, which is used to implement the functions of the method described in the first aspect above. The beneficial effects can be found in the description of the first aspect and will not be repeated here. The structure of the computing device includes a processor and a memory, and the memory is used to store instructions and / or data. The memory is coupled to the processor, and when the processor executes the program instructions stored in the memory, the function of the training node in the example of the first aspect above can be implemented. The structure of the computing device also includes a communication interface for communicating with other devices.
[0042] In a fourth aspect, the present application also provides a computer-readable storage medium, in which instructions are stored, and when the computer-readable storage medium is run on a computer, the computer executes the method in the above-mentioned first aspect and various possible designs of the first aspect.
[0043] In a fifth aspect, the present application also provides a computer program product comprising instructions, which, when executed on a computer, enables the computer to execute the method in the above-mentioned first aspect and various possible designs of the first aspect.
[0044] In a sixth aspect, the present application also provides a computing chip, which is connected to a memory, and the chip is used to read and execute a software program stored in the memory, and to execute the methods in the above-mentioned first aspect and various possible implementation methods of the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] In order to more clearly illustrate the embodiments of the present drawings or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present drawings. For ordinary technicians in this field, other drawings can be obtained based on the structures shown in these drawings without paying any creative work.
[0046] Figure 1 It is a structural block diagram of the present invention;
[0047] Figure 2 This is a flow chart of predicting the temperature comfort range through the CMAC neural network of the present invention;
[0048] Figure 3 The present invention is a flow chart of controlling the air conditioning system to perform real-time temperature regulation through a fuzzy PID control algorithm.
[0049] The purpose, features and advantages of this figure will be further described in conjunction with the embodiments with reference to the accompanying drawings. DETAILED DESCRIPTION
[0050] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application is described and illustrated below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not intended to limit the present application. Based on the embodiments provided in the present application, all other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of the present application.
[0051] Obviously, the drawings described below are only some examples or embodiments of the present application. For ordinary technicians in this field, the present application can also be applied to other similar scenarios based on these drawings without creative work. In addition, it can also be understood that although the efforts made in this development process may be complicated and lengthy, for ordinary technicians in this field related to the content disclosed in this application, some changes in design, manufacturing or production based on the technical content disclosed in this application are just conventional technical means, and should not be understood as insufficient content disclosed in this application.
[0052] Unless otherwise specified, all embodiments and optional embodiments of the present application can be combined with each other to form a new technical solution.
[0053] Unless otherwise specified, all technical features and optional technical features of this application can be combined with each other to form a new technical solution.
[0054] If there is no special explanation, all steps of the present application can be performed sequentially or randomly, preferably sequentially. For example, the method includes steps (a) and (b), which means that the method may include steps (a) and (b) performed sequentially, or may include steps (b) and (a) performed sequentially. For example, the method may further include step (c), which means that step (c) may be added to the method in any order. For example, the method may include steps (a), (b) and (c), or may include steps (a), (c) and (b), or may include steps (c), (a) and (b), etc.
[0055] If there is no special explanation, the "include" and "comprising" mentioned in this application are open-ended or closed-ended. For example, the "include" and "comprising" may mean that other components not listed may also be included or only the listed components may be included or only the listed components may be included.
[0056] If not specifically stated, in this application, the term "or" is inclusive. For example, the phrase "A or B" means "A, B, or both A and B". More specifically, any of the following conditions satisfies the condition "A or B": A is true (or exists) and B is false (or does not exist); A is false (or does not exist) and B is true (or exists); or both A and B are true (or exist).
[0057] In order to better understand the solutions of the embodiments of the present application, some relevant terms and concepts that may be involved in the embodiments of the present application are first introduced below.
[0058] (1) Artificial intelligence (AI), also known as intelligent machinery or machine intelligence, refers to machines that are made by humans and can display intelligence. Generally speaking, AI refers to the technology that displays human intelligence through ordinary computer programs.
[0059] (2) Neural networks (NN) are mathematical models that imitate the behavioral characteristics of animal neural networks and perform distributed parallel information processing. The purpose of information processing can be achieved by adjusting the interconnected relationships between a large number of nodes within the neural network. Neural networks have the ability to self-learn and adapt. Neural networks are usually used in artificial intelligence model training and data derivation processing.
[0060] Specifically, a neural network may usually include multiple layers connected end to end, such as convolutional layers, fully connected layers (FC), activation layers or pooling layers.
[0061] (3) Cerebellar Model Articulation Controller (CMAC) is a learning structure that simulates the human cerebellum based on neurophysiology. It is a local approximation neural network based on table query input and output. It provides a multi-dimensional nonlinear mapping capability from input to output, with fast operation speed and strong adaptability. Cerebellar neural networks are usually used in the fields of robot control, pattern recognition, signal processing and adaptive control.
[0062] (4) PID algorithm (Proportional Integral Derivative) is a controller feedback algorithm that combines the three links of proportion, integration and differentiation. It calculates according to the functional relationship of proportion, integration and differentiation based on the input deviation value, and uses the calculation result to control the output.
[0063] (5) The fuzzy PID control algorithm is based on the PID algorithm and uses the error e and error change ec as the input of the fuzzy controller. It can meet the needs of self-tuning of PID parameters e and ec at different times and can optimize the PID parameters in real time according to the set fuzzy rules, thus overcoming the shortcoming that traditional PID parameters cannot be adjusted in real time.
[0064] (6) PMV model (Predicted Mean Vote) is used to characterize the thermal sensation of the human body in a specific environment. This model regards the thermal sensation of the human body as a function of six objective physical parameters, including two parameters related to the human body (activity and clothing thermal resistance) and four environmental parameters (air temperature, average radiant temperature, wind speed and air humidity). The core of the PMV model is to reflect the changes in the human body's heat load in a quantitative way, that is, the greater the positive value of the human body's heat load, the hotter the person feels; the greater the negative value, the colder the person feels. The model not only takes into account the influence of environmental factors, but also takes into account the adaptability of the human body's own physiological regulation function to environmental parameters. It is mainly used to evaluate indoor human thermal comfort.
[0065] like Figure 1 As shown, a temperature control system based on artificial intelligence includes a data acquisition module, a data processing module, a control module, and a display module;
[0066] The data acquisition module collects environmental parameter data and body temperature data in real time and sends them to the data processing module and the control module;
[0067] The data processing module pre-processes the received data, and then predicts the temperature comfort range through the CMAC neural network based on the processed data, and sends the temperature comfort range to the control module;
[0068] The control module controls the air conditioning system to adjust the temperature in real time through the fuzzy PID control algorithm according to the temperature comfort range and current temperature data, and sends the real-time temperature changes to the display module for visual display.
[0069] Furthermore, the environmental parameter data includes temperature and humidity data inside and outside the train, and wind speed data inside the train;
[0070] Specifically, it includes: collecting the temperature and humidity inside the target car through the temperature and humidity sensor inside the train to obtain the temperature and humidity data inside the train; collecting the temperature and humidity outside the target car through the temperature and humidity sensor outside the train to obtain the temperature and humidity data outside the train; collecting the wind speed data inside the target car through the wind speed measuring instrument inside the train.
[0071] Further, preprocessing, specifically includes: data denoising, detection and correction of data outliers;
[0072] Data denoising is to use the median filtering method to denoise the data and remove impulse noise or mutations.
[0073] The detection and correction of data outliers is to detect the outliers of the data using the IQR method. After the outliers are detected, if the number of outliers is small, in this embodiment, if the proportion of outliers is less than 1%, it is considered that the number of outliers is small, and it is directly set to a null value or delete this outlier data; otherwise, the mean of the adjacent data is used to fill the missing value;
[0074] The IQR method is a method for marking outliers. In this embodiment, the corresponding data of the same period in the past two years are selected as the data list, and the data list is sorted from small to large. How to divide the data list into four parts, the point at the one-quarter position is Q1, the point at the two-quarter position is Q2, and the point at the three-quarter position is Q3. The IQR is defined as Q3-Q1;
[0075] When preprocessing the current data, data smaller than Q1-1.5*IQR and larger than Q3+1.5*IQR are considered discrete data, that is, abnormal data.
[0076] Furthermore, if Figure 2 As shown in FIG. 1 , a temperature control method based on artificial intelligence predicts the temperature comfort range through the CMAC neural network, which specifically includes:
[0077] Step 1: Through the CMAC neural network, using the nonlinear function approximation function of the CMAC neural network, a soft measurement instrument model of thermal comfort is established;
[0078] The nonlinear function approximation function of the CMAC neural network refers to the fact that the CMAC neural network can approximate nonlinear functions very well, and has a good learning effect and a fast convergence speed for processing nonlinear problems, such as the thermal comfort prediction problem under the influence of multiple factors in the present invention;
[0079] Step 2: Use computer simulation software to simulate and optimize the parameters of the soft measurement instrument model of thermal comfort;
[0080] In this embodiment, the simulation software used is TAITherm. TAITherm supports users to set up a virtual dummy model in a thermal environment, taking into account the typical physiological structure of the human body, simulating the influence of the human body's own heat generation and its metabolism on the external environment, and being able to simulate people's feelings in a car environment. The overall thermal sensation of the dummy and the local thermal sensation of various parts of the body in the environment are used to evaluate the human comfort level, so as to optimize the parameters of the soft measurement instrument model of thermal comfort.
[0081] Step 3: Use historical environmental data and PMV model to train the soft sensor instrument model;
[0082] In this embodiment, the past historical environmental data is the environmental data of the same period in the past three years. The past historical environmental data is used as the input data of the soft measurement instrument model, and the score of the PMV model is used as the output evaluation standard of the soft measurement instrument model.
[0083] Step 4: Use the currently received environmental parameter data and perceived temperature data to predict the indoor comfortable temperature range.
[0084] Furthermore, the parameters of the soft measurement instrument model of thermal comfort are optimized, including:
[0085] According to the simulation results, choose to adjust the number of neural network layers, learning rate and training times.
[0086] In this embodiment, the CMAC neural network has 5 layers, including an input layer, a discrete layer, an associative layer, a storage layer, and an output layer in sequence. The 5-layer structure helps the CMAC neural network simulate the function of the cerebellum and realize effective processing and response to input signals.
[0087] In the CMAC neural network, the choice of learning rate is crucial to ensure the convergence speed of the model. When the error is large, a larger learning rate needs to be selected to speed up the convergence speed. Generally, a larger learning rate is selected at the beginning of training. As the training progresses, the update amplitude of the parameters will decrease, and the learning rate will also decay. In this embodiment, the learning rate is multiplied by 0.1 every time the number of training steps reaches 50.
[0088] In this embodiment, the selected training times are 200 times, which is more suitable for the convergence speed and performance requirements of the soft measurement instrument model of thermal comfort.
[0089] Furthermore, the soft sensor model is trained using historical environmental data and the PMV model, including:
[0090] Step 1: Use historical environmental data and body temperature data as input data for the soft sensor model;
[0091] Step 2: Input the PMV model with historical environmental data and individual characteristics of the simulated dummy to obtain the output thermal sensation score;
[0092] Among the six data required by the PMV model, the parameters related to the human body, namely, the amount of activity and the thermal resistance of clothing, the amount of activity is randomized within the range of the simulated activity according to the simulation dummy, the minimum simulated activity is to sit down at the nearest position after entering the car, and the maximum simulated activity is to stand up after walking around the maximum range of the car four times; the thermal resistance of clothing is randomized within a certain range according to the current season. For example, in this embodiment, the current season is summer, and the thermal resistance range is from the thermal resistance of vest shorts to the thermal resistance of jacket and trousers;
[0093] The four environmental parameters, namely air temperature, average radiation temperature, wind speed and air humidity, are the temperature and humidity data in the car from the past historical environmental data, the wind speed is the gas flow rate data in the car, and the average radiation temperature is set based on experience. It is assumed that the average radiation temperature in the same period remains unchanged, that is, the average radiation temperature of the past historical environmental data and the current environmental data is consistent.
[0094] Step 3: Use the thermal sensation score of the PMV model as the evaluation criterion to train the output of the soft-sensing instrument model.
[0095] The output of the PMV model is the predicted mean rating, which is an evaluation index that characterizes the thermal response of the human body and represents the average of the cold and hot sensations of most people in the same environment. The output of the PMV model ranges from -3 to +3, corresponding to the cold and hot sensations of the human body respectively;
[0096] In this embodiment, the thermal sensation score is used as the evaluation standard. Taking two trainings as an example, the thermal sensation score of the first training is +3, and the thermal sensation score of the second training is +2. The mean of the output interval of the corresponding soft measurement instrument model of the first training needs to be lower than the mean of the output interval of the second training to ensure that the model can accurately reflect the changes in thermal sensation.
[0097] Furthermore, if Figure 3 As shown, the air conditioning system is controlled by the fuzzy PID control algorithm to perform real-time temperature adjustment, including:
[0098] Step 1: Use the temperature comfort zone and current temperature data to calculate the temperature deviation e and its derivative ec at the current moment;
[0099] In this embodiment, the temperature deviation e is the difference between the mean of the upper and lower bounds of the temperature comfort zone and the current temperature data. The derivative ec of the temperature deviation e is the deviation change rate, which is obtained by differentiating the temperature deviation e, that is, finding the derivative of the temperature deviation e with respect to time.
[0100] Step 2: Use the temperature deviation e and its derivative ec as the input variables of the fuzzy controller and perform fuzzification;
[0101] Fuzzy controller is an intelligent controller that combines fuzzy control theory and PID control strategy. It uses fuzzy logic to adjust PID parameters in real time to adapt to different control requirements and environmental changes;
[0102] The basic structure of the fuzzy PID controller includes four parts: knowledge base, fuzzy reasoning, input fuzzification and output precision. During operation, the controller first fuzzifies the input data, then performs fuzzy reasoning on these fuzzy signals according to the preset fuzzy control rules, and finally defuzzifies the reasoning results to obtain the final PID control parameters, thereby achieving precise control of the controlled object;
[0103] In this embodiment, the knowledge base is compiled based on the experience of operators or experts in the field of temperature control, and is used to guide the fuzzy controller on how to make control decisions according to the state of the system; the knowledge base includes a fuzzy controller parameter base and a fuzzy control rule base, the parameter base includes the initial values and adjustment ranges of the proportional, integral, and differential parameters, and the rule base includes the adjustment rules of the PID parameters under different circumstances;
[0104] Input fuzzification is to fuzzify the input error e and the error change rate ec, including fuzzification domain and quantization factor; fuzzification domain refers to the range or space used to describe input and output variables in fuzzy control, and the role of quantization factor is to enlarge or reduce the variable according to a certain proportion, so as to match the fuzzy domain to complete the corresponding relationship;
[0105] Fuzzification of input quantity can better handle the uncertainty and nonlinear problems in actual control systems, making the controller more flexible to deal with various complex and changing control environments, reducing the impact of interference factors, and ensuring the stability and reliability of the system;
[0106] Step 3: The fuzzy controller performs fuzzy reasoning according to fuzzy rules to obtain the membership degree of the output values Kp, Ki, and Kd;
[0107] In this embodiment, fuzzy reasoning is to match the fuzzified input signal with the rules in the fuzzy rule base and calculate a fuzzy control vector according to these rules;
[0108] Step 4: Defuzzify the output fuzzy quantity of the fuzzy controller to obtain the values of Kp, Ki, and Kd;
[0109] Defuzzification is to convert the fuzzy control vector obtained by fuzzy reasoning into an accurate control parameter. In this embodiment, the defuzzification method used is the maximum membership method. The membership of the output values Kp, Ki, and Kd is obtained according to the fuzzy rule table and the membership function, and then the accurate values of Kp, Ki, and Kd are obtained according to the membership of each fuzzy subset and the corresponding adjustment amount.
[0110] Step 5: Use Kp, Ki, and Kd to control the air conditioning system through the PID formula to adjust the temperature;
[0111] The PID formula is as follows:
[0112] ;
[0113] in : proportionality coefficient; : integration coefficient; : differential coefficient;
[0114] : Control quantity at time n; : Temperature error at time n;
[0115] : Temperature error at time n-1;
[0116] U1= : Proportional operation; U2= : Integral operation;
[0117] U3= : Differential operation;
[0118] Calculate the temperature control amount required at the current moment through the PID formula , and then control the amount according to the temperature Control the air conditioning system in the car to adjust the temperature accordingly;
[0119] Step 6: Repeat steps 1 to 5 until the temperature adjustment is completed.
[0120] During the temperature adjustment process, the real-time temperature change process is sent from the control module to the display module for real-time display, so that the staff can monitor the temperature control situation in the car in real time to deal with emergencies during the temperature adjustment process;
[0121] Fuzzy PID control can eliminate the fuzzy control residual and solve the problem of poor dynamics of pure PID control by combining fuzzy control and PID control, and realize real-time optimization of PID parameters to meet the control requirements of complex systems;
[0122] Furthermore, the fuzzy rules need to be set according to the fuzzy control rule base based on actual operation data and operation experience.
[0123] It should be noted that the present application is not limited to the above-mentioned embodiments. The above-mentioned embodiments are only examples, and the embodiments having the same structure as the technical idea and exerting the same effect within the scope of the technical solution of the present application are all included in the technical scope of the present application. In addition, without departing from the scope of the main purpose of the present application, various modifications that can be thought of by those skilled in the art to the embodiments and other methods of combining some of the constituent elements in the embodiments are also included in the scope of the present application.
Claims
1. A temperature control system based on artificial intelligence, characterized in that: It includes data acquisition module, data processing module, control module and display module; The data acquisition module collects environmental parameter data and body temperature data in real time, and sends them to the data processing module and the control module; The data processing module pre-processes the received data, and then predicts the temperature comfort range through the CMAC neural network based on the processed data, and sends the temperature comfort range to the control module; The control module controls the air conditioning system to adjust the temperature in real time through the fuzzy PID control algorithm according to the temperature comfort range and the current temperature data, and sends the real-time temperature change to the display module for visual display; The method of controlling the air conditioning system to adjust the temperature in real time by using the fuzzy PID control algorithm specifically includes: Step 1: Use the temperature comfort zone and current temperature data to calculate the temperature deviation e and its derivative ec at the current moment; Step 2: Use the temperature deviation e and its derivative ec as the input variables of the fuzzy controller and perform fuzzification; Step 3: The fuzzy controller performs fuzzy reasoning according to fuzzy rules to obtain the membership degree of the output values Kp, Ki, and Kd; Step 4: Defuzzify the output fuzzy quantity of the fuzzy controller to obtain the values of Kp, Ki, and Kd; Step 5: Use Kp, Ki, and Kd to control the air conditioning system through the PID formula to adjust the temperature; The PID formula is as follows: ; in : proportionality coefficient; : integration coefficient; : differential coefficient; : Control quantity at time n; : Temperature error at time n; Temperature error at the moment; : Proportional operation; : Integral operation; : Differential operation; Step 6: Repeat steps 1 to 5 until the temperature adjustment is completed.
2. The temperature control system based on artificial intelligence according to claim 1, characterized in that: The environmental parameter data include temperature and humidity data inside and outside the train, and wind speed data inside the train.
3. The temperature control system based on artificial intelligence according to claim 1, characterized in that: The preprocessing specifically includes: data noise reduction, detection and correction of data outliers.
4. A temperature control method based on artificial intelligence, characterized in that: The temperature comfort range is predicted by the CMAC neural network, including: Step 1: Through the CMAC neural network, using the nonlinear function approximation function of the CMAC neural network, a soft measurement instrument model of thermal comfort is established; Step 2: Use computer simulation software to simulate and optimize the parameters of the soft measurement instrument model of thermal comfort; Step 3: Use historical environmental data and PMV model to train the soft sensor instrument model; Step 4: Use the currently received environmental parameter data and body temperature data to predict the indoor comfortable temperature range, and control the air conditioning system through the fuzzy PID control algorithm to adjust the temperature in real time, including: Step 4.1: Use the temperature comfort zone and current temperature data to calculate the temperature deviation e and its derivative ec at the current moment; Step 4.2: Use the temperature deviation e and its derivative ec as the input variables of the fuzzy controller and perform fuzzification; Step 4.3: The fuzzy controller performs fuzzy reasoning according to fuzzy rules to obtain the membership degree of the output values Kp, Ki, and Kd; Step 4.4: Defuzzify the output fuzzy quantity of the fuzzy controller to obtain the values of Kp, Ki, and Kd; Step 4.5: Use Kp, Ki, and Kd to control the air conditioning system through the PID formula to adjust the temperature; The PID formula is as follows: ; in : proportionality coefficient; : integration coefficient; : differential coefficient; : Control quantity at time n; : Temperature error at time n; : Temperature error at time n-1; : Proportional operation; : Integral operation; : Differential operation; Step 6: Repeat steps 1 to 5 until the temperature adjustment is completed.
5. The temperature control method based on artificial intelligence according to claim 4, characterized in that: The optimization of the parameters of the soft measurement instrument model of thermal comfort specifically includes: According to the simulation results, choose to adjust the number of neural network layers, learning rate and training times.
6. The temperature control method based on artificial intelligence according to claim 4, characterized in that: The use of the past historical environmental data and the PMV model to train the soft sensor instrument model specifically includes: Step 1: Use historical environmental data and body temperature data as input data for the soft sensor model; Step 2: Input the PMV model with historical environmental data and individual characteristics of the simulated dummy to obtain the output thermal sensation score; Step 3: Use the thermal sensation score of the PMV model as the evaluation criterion to train the output of the soft-sensing instrument model.
7. The temperature control method based on artificial intelligence according to claim 4, characterized in that: The fuzzy rules need to be set according to the fuzzy control rule base based on actual operation data and operation experience.
8. A computer-readable storage medium having a computer program stored thereon, characterized in that: The program is executed by a processor as the method according to any one of claims 4 to 7.
9. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that: The program is executed by the processor as the method according to any one of claims 4 to 7.
Citation Information
Patent Citations
Incubation room temperature control method based on cat group optimization and immune fuzzy PID
CN109445484A
Intelligent temperature control method in spirit brewing process based on fuzzy inference
CN109656138A
Indoor environment comfort degree adjusting method and system based on deep learning
CN113485498A
Self-adaptive control method for main steam temperature of supercritical thermal power generating unit and related device
CN117518823A
Air conditioning controller
JP1993126380A
