Frequency conversion energy-saving electric floor heating control system and method based on artificial intelligence
Predicting the temperature control curve of electric floor heating through a multi-task learning neural network model, combined with the energy storage module and dynamic loss function adjustment, solves the problems of hysteresis and inaccuracy in traditional floor heating control, and achieves fast and accurate temperature adjustment and energy consumption optimization.
Patent Information
- Application Number
- CN202411124189.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-16
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2044-08-16
AI Technical Summary
Traditional floor heating control technology has problems such as long lag time and inaccurate temperature adjustment. Especially in the context of "coal to electricity", traditional PID control and fuzzy control have poor effects.
A neural network model based on multi-task learning is used, combined with the first temperature sensor and the indoor temperature sensor, to predict the temperature control curve of the heating cable, achieve temperature regulation with minimum energy consumption and minimum lag time through the frequency converter, and use the energy storage module to adjust the power consumption Charging during valley hours and supplying power during peak hours, the loss function weights are dynamically adjusted to optimize control.
It achieves fast and accurate temperature regulation, improves the efficiency and accuracy of indoor temperature control, reduces energy consumption, and optimizes the use of electrical energy with the assistance of energy storage modules.
Smart Images

Figure CN118640517B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of floor heating control, and in particular relates to a variable frequency energy-saving electric floor heating control system and method based on artificial intelligence. Background Art
[0002] In the "coal to electricity" replacement application in energy-saving buildings, electric floor heating technology has received widespread attention as a comfortable, clean, energy-saving and environmentally friendly heating method.
[0003] Traditional floor heating control is usually based on PID control of temperature difference, or fuzzy control. Both of these control methods track and control the temperature set by the user. They have long hysteresis time and temperature overshoot, resulting in poor control effect. Summary of the invention
[0004] In view of this, the present invention provides an artificial intelligence-based variable frequency energy-saving electric floor heating control system and method, aiming to solve the problem of poor traditional floor heating control in the prior art.
[0005] A first aspect of an embodiment of the present invention provides an artificial intelligence-based variable frequency energy-saving electric floor heating control system, comprising: a first temperature sensor, a second temperature sensor, a thermostat, a frequency converter, and a communication unit;
[0006] The first temperature sensor is used to detect the first temperature of the heating cable of the electric floor heating at the current moment; the second temperature sensor is used to detect the second temperature in the room at the current moment; the communication unit is connected to the external intelligent device; the communication unit is also connected to the frequency converter;
[0007] The thermostat is used to perform the following steps:
[0008] Obtaining a first temperature, a second temperature, and a target temperature set by a user in a thermostat;
[0009] The first temperature and the second temperature are input into a neural network model based on multi-task learning to predict a first temperature control curve of the heating cable within a target period; wherein the neural network based on multi-task learning includes a first task and a second task, the goal of the first task is minimum energy consumption; the goal of the second task is minimum hysteresis time;
[0010] The frequency converter is controlled according to the first temperature control curve.
[0011] In some possible implementations, the frequency converter includes a first frequency converter; and the temperature controller is used for:
[0012] Determining the power supply frequency of the heating cable according to the first temperature control curve;
[0013] The first frequency converter is controlled according to the power supply frequency of the heating cable.
[0014] In some possible implementations, the first task corresponds to a first loss function, and the second task corresponds to a second loss function; the total loss function of the neural network based on multi-task learning is equal to a weighted sum of the first loss function and the second loss function;
[0015] The first loss function is the mean square error loss function, and the second loss function is the connection temporal classification loss function.
[0016] In some possible implementations, the system further includes: an energy storage module; the energy storage module is connected to the heating cable;
[0017] The energy storage module is used to charge when the electricity consumption is at a low point and the heating cable stops working, and to supply power to the heating cable when the electricity consumption is not at a low point and the heating cable does not stop working.
[0018] In some possible implementations, the frequency converter further includes a second frequency converter; and the temperature controller is used for:
[0019] Determining the power supply frequency of the heating cable according to the first temperature control curve;
[0020] When the energy storage module does not supply power to the heating cable, the first frequency converter is controlled according to the power supply frequency of the heating cable;
[0021] When the energy storage module supplies power to the heating cable, the second frequency converter is controlled according to the power supply frequency of the heating cable.
[0022] In some possible implementations, the thermostat is also used to:
[0023] When the energy storage module supplies power to the heating cable, the weight of the first loss function is increased and the weight of the second loss function is decreased.
[0024] In some possible implementations, the thermostat is also used to:
[0025] Calculate the energy consumption value and hysteresis time of the first temperature control curve in the historical period;
[0026] According to the energy consumption value and the hysteresis time in the historical period, the weights of the first loss function and the second loss function in the target period are determined.
[0027] In some possible implementations, the thermostat includes a user interface and a cable controller.
[0028] A second aspect of an embodiment of the present invention provides a variable frequency energy-saving electric floor heating control method based on artificial intelligence, characterized in that it includes:
[0029] Obtaining a first temperature of a heating cable of the electric floor heating at the current moment detected by a first temperature sensor, a second temperature of the room at the current moment detected by a second temperature sensor, and a target temperature set by a user in a thermostat;
[0030] The first temperature and the second temperature are input into a neural network model based on multi-task learning to predict a first temperature control curve of the heating cable within a target period; wherein the neural network based on multi-task learning has two tasks, and the task objectives are minimum energy consumption and minimum hysteresis time respectively;
[0031] According to the first temperature control curve, the target power of the heating cable within the target time period is determined.
[0032] In some possible implementations, the frequency converter includes a first frequency converter; and determining a target power of the heating cable within a target period of time according to a first temperature control curve includes:
[0033] Determining the power supply frequency of the heating cable according to the first temperature control curve;
[0034] The first frequency converter is controlled according to the power supply frequency of the heating cable.
[0035] The variable frequency energy-saving electric floor heating control system and method based on artificial intelligence provided by the embodiment of the present invention include: a first temperature sensor, a second temperature sensor, a thermostat, a frequency converter and a communication unit; the first temperature sensor is used to detect the first temperature of the heating cable of the electric floor heating at the current moment; the second temperature sensor is used to detect the second temperature in the room at the current moment; the thermostat is used to perform the following steps: obtaining the first temperature, the second temperature and the target temperature set by the user in the thermostat; inputting the first temperature and the second temperature into the multi-task learning neural network model to predict the first temperature control curve of the heating cable in the target period; the neural network based on multi-task learning includes a first task and a second task, the target of the first task is the minimum energy consumption; the target of the second task is the minimum hysteresis time; according to the first temperature control curve, the frequency converter is controlled. The present invention uses a trained neural network to achieve fast and accurate temperature regulation and efficient control of indoor temperature by considering the minimum energy consumption and the minimum hysteresis time of the adjustment process. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, 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 invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0037] Figure 1It is a structural schematic diagram of an artificial intelligence-based variable frequency energy-saving electric floor heating control system provided by an embodiment of the present invention;
[0038] Figure 2 It is a flow chart for implementing the variable frequency energy-saving electric floor heating control method based on artificial intelligence provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0039] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present invention. However, it should be clear to those skilled in the art that the present invention may be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present invention.
[0040] Figure 1 Schematic diagram of the structure of the variable frequency energy-saving electric floor heating control system based on artificial intelligence provided by the embodiment of the present invention. Figure 1 As shown, in some embodiments, a variable frequency energy-saving electric floor heating control system based on artificial intelligence includes: a first temperature sensor 11, a second temperature sensor 12, a thermostat 13, a frequency converter 14 and a communication unit 15;
[0041] The first temperature sensor 11 is used to detect the first temperature of the heating cable of the electric floor heating at the current moment; the second temperature sensor 12 is used to detect the second temperature of the room at the current moment; the communication unit 15 is connected to the external smart device; the communication unit 15 is also connected to the thermostat 13. The thermostat 13 is used to use the temperature corresponding to the temperature setting instruction as the target temperature after receiving the temperature setting instruction sent by the external smart device through the communication unit.
[0042] In the embodiment of the present invention, the external smart device may be a mobile phone, a smart speaker, an IoT terminal, etc., which are not limited here. The user can send voice commands or text commands through the external smart device, which are forwarded to the thermostat 13 via the communication unit 15, so as to realize intelligent control of the temperature setting and other functions of the thermostat 13.
[0043] The thermostat 13 is used to perform the following steps:
[0044] Obtaining a first temperature, a second temperature, and a target temperature set by a user in a thermostat;
[0045] The first temperature and the second temperature are input into a neural network model based on multi-task learning to predict a first temperature control curve of the heating cable within a target period; wherein the neural network based on multi-task learning includes a first task and a second task, the goal of the first task is minimum energy consumption; the goal of the second task is minimum hysteresis time;
[0046] The frequency converter 14 is controlled according to the first temperature control curve.
[0047] PID controllers usually require a more accurate mathematical model of the controlled system. The usual idea is to build a building heat transfer model and design PID control parameters based on the heat transfer model. However, the heat transfer model is likely to deviate from the actual situation of the building. Moreover, in floor heating control, due to the relatively long heat transfer process, PID control will have control lag and slow response speed. The performance of fuzzy control depends largely on the design of the rule base. In more complex building scenarios, the control accuracy is low.
[0048] In the embodiment of the present invention, the prediction of the temperature control curve is achieved by training a multi-task neural network. In the subsequent target period, control can be directly performed according to the predicted curve without waiting for the heat transfer calculation error to be adjusted.
[0049] In the embodiment of the present invention, the multi-task neural network does not rely on the complex mathematical model of building heat transfer, and is not affected by the deviation of the heat transfer model. Before being put into use, the developer can conduct field experiments with a variety of standard apartment types (two bedrooms and one living room or three bedrooms and two living rooms), and control according to the optimal control curve set by humans under multiple sets of first temperature, second temperature, and target temperature (it is believed that the optimal control curve takes into account the minimum energy consumption and the minimum hysteresis time), and form a training set to train the neural network. Later, when the user puts it into use, the user can select the corresponding apartment type to download the corresponding neural network to the thermostat shown on the network. In the subsequent user use process, the first temperature, the second temperature, and the target temperature are continuously collected, and the first temperature control curve, as well as the energy consumption and hysteresis time corresponding to the curve are recorded, and the training set is updated. With the continuous use of the user, the proportion of user data in the training set is increasing, and the prediction of the neural network will be closer and closer to the actual heat transfer situation of the user's residence, which is more accurate than the method of constructing a mathematical model. In addition, the heat in the building is affected by factors such as the external environment temperature or the building temperature of the adjacent residents. The training set update method can still have a good control effect when these conditions change.
[0050] In some embodiments, the frequency converter includes a first frequency converter; the temperature controller is used to: determine the power supply frequency of the heating cable according to the first temperature control curve; and control the first frequency converter according to the power supply frequency of the heating cable.
[0051] In an embodiment of the present invention, based on the predicted first temperature control curve, the power supply frequency required to control the temperature can be calculated accordingly, thereby calculating the energy consumption corresponding to the power supply frequency, and the first task is to minimize the energy consumption. Since the heating cable heating-ground heating-indoor heating is a slow process, there will be a certain temperature overshoot-callback situation, and the shorter the time from the temperature setting to the indoor temperature approaching the set temperature, the better. The present invention defines the control completion as the indoor temperature does not exceed the preset interval where the set temperature is located, that is, non-hysteresis, and defines the time of the previous adjustment process as the hysteresis time. The second task is to minimize the hysteresis time.
[0052] In some embodiments, the first task corresponds to a first loss function, and the second task corresponds to a second loss function; the total loss function of the neural network based on multi-task learning is equal to the weighted sum of the first loss function and the second loss function; the first loss function is a mean square error loss function, and the second loss function is a connection temporal classification loss function.
[0053] In the embodiment of the present invention, the energy consumption calculation is a continuous process, so the mean square error loss function is used to calculate the error of the predicted continuous value in the process. The hysteresis time belongs to the continuous prediction process, and the predicted value of the process needs to be continuously classified to determine the hysteresis and non-hysteresis, so the connection time series classification loss function is used.
[0054] In some embodiments, the system also includes: an energy storage module; the energy storage module is connected to the heating cable; the energy storage module is used to charge when the electricity consumption is in a low-peak period and the heating cable stops working, and to supply power to the heating cable when the electricity consumption is not in a low-peak period and the heating cable does not stop working.
[0055] In the embodiment of the present invention, when monitoring the energy storage process during the off-peak period of user power load and the reduced heating energy of the heating cable, the idea of peak shaving and valley filling is applied to the heat storage period, which is conducive to better utilization of existing electric energy.
[0056] In some embodiments, the frequency converter also includes a second frequency converter; the temperature controller is used to: determine the power supply frequency of the heating cable according to the first temperature control curve; when the energy storage module does not supply power to the heating cable, control the first frequency converter according to the power supply frequency of the heating cable; when the energy storage module supplies power to the heating cable, control the second frequency converter according to the power supply frequency of the heating cable.
[0057] In the embodiment of the present invention, the redundantly arranged frequency converter can supply power through the second frequency converter and the energy storage module when the first frequency converter is damaged, thereby avoiding affecting user use.
[0058] In some embodiments, the temperature controller is further used to: increase the weight of the first loss function and reduce the weight of the second loss function when the energy storage module supplies power to the heating cable.
[0059] In an embodiment of the present invention, the degree of influence of the two loss functions on the model depends on the weights of the two. When the energy storage is used for power supply, it is usually at the peak of electricity consumption. At this time, the weight of the first loss function can be appropriately increased, and the weight of the second loss function can be correspondingly reduced, that is, a certain adjustment delay time is sacrificed to reduce energy consumption and save energy in energy storage. The user can set the energy-saving mode in the user interaction interface of the thermostat to achieve this function. The specific increase value can be at least one set value. For example, the user can set multiple energy-saving models. In the highest level of energy-saving mode, the weight of the first loss function is 1, and the weight of the second loss function is 0.
[0060] In some embodiments, the temperature controller is also used to: calculate the energy consumption value and hysteresis time of the first temperature control curve in the historical period; determine the weights of the first loss function and the second loss function in the target period based on the energy consumption value and hysteresis time in the historical period.
[0061] In an embodiment of the present invention, the weights of the first loss function and the second loss function can also be dynamically adjusted according to historical data to better meet the user's usage needs. For example, the energy consumption value and the hysteresis time can be normalized, and then the sum of the normalized values of the two can be calculated, and then the normalized value of the energy consumption value is divided by the sum value as the weight of the first loss function. The higher the energy consumption, the greater the weight, and the model tends to minimize the energy consumption. At the same time, the normalized value of the hysteresis time is divided by the sum value as the weight of the second loss function. The longer the hysteresis time, the greater the weight, and the model tends to minimize the hysteresis time.
[0062] In some embodiments, the thermostat includes a user interface and a cable controller.
[0063] Figure 2 FIG. 1 is a flowchart of an implementation of an artificial intelligence-based variable frequency energy-saving electric floor heating control method provided by an embodiment of the present invention. Figure 2 As shown, the variable frequency energy-saving electric floor heating control method based on artificial intelligence includes:
[0064] S210, obtaining a first temperature, a second temperature, and a target temperature set by a user in a thermostat;
[0065] S220, inputting the first temperature and the second temperature into a neural network model based on multi-task learning to predict a first temperature control curve of the heating cable within a target period; wherein the neural network based on multi-task learning has two tasks, and the task objectives are minimum energy consumption and minimum hysteresis time respectively;
[0066] S230: Determine a target power of the heating cable within a target period of time according to the first temperature control curve.
[0067] In some embodiments, the frequency converter includes a first frequency converter; determining the target power of the heating cable within the target period according to the first temperature control curve includes:
[0068] Determining the power supply frequency of the heating cable according to the first temperature control curve;
[0069] The first frequency converter is controlled according to the power supply frequency of the heating cable.
[0070] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0071] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0072] In the embodiments provided by the present invention, it should be understood that the disclosed devices / electronic devices and methods can be implemented in other ways. For example, the device / electronic device embodiments described above are only schematic. For example, the division of modules or units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0073] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0074] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0075] If the integrated module / unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present invention implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. Computer-readable media can include: any entity or device that can carry computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electrical carrier signal, telecommunication signal and software distribution medium, etc.
[0076] The above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention, and should be included in the protection scope of the present invention.
Claims
1. A variable frequency energy-saving electric floor heating control system based on artificial intelligence, characterized in that: include: A first temperature sensor, a second temperature sensor, a temperature controller, a frequency converter, and a communication unit; The first temperature sensor is used to detect the first temperature of the heating cable of the electric floor heating at the current moment; the second temperature sensor is used to detect the second temperature of the room at the current moment; the communication unit is connected to an external smart device; the communication unit is also connected to the inverter; The thermostat is used to perform the following steps: Obtaining a first temperature, a second temperature, and a target temperature set by a user in a thermostat; The first temperature and the second temperature are input into a neural network model based on multi-task learning to predict a first temperature control curve of the heating cable within a target period; wherein the neural network based on multi-task learning includes a first task and a second task, the goal of the first task is minimum energy consumption; the goal of the second task is minimum hysteresis time; the hysteresis time is the time of the adjustment process in which the indoor temperature is adjusted to not exceed a preset interval where the set temperature is located; controlling the frequency converter according to the first temperature control curve; The frequency converter includes a first frequency converter; the temperature controller is used for: determining a power supply frequency of the heating cable according to the first temperature control curve; Controlling the first frequency converter according to the power supply frequency of the heating cable; The first task corresponds to a first loss function, and the second task corresponds to a second loss function; the total loss function of the neural network based on multi-task learning is equal to a weighted sum of the first loss function and the second loss function; The first loss function is a mean square error loss function, and the second loss function is a connection time series classification loss function; The system further comprises: an energy storage module; the energy storage module is connected to the heating cable; The energy storage module is used to charge when the power consumption is low and the heating cable stops working, and to supply power to the heating cable when the power consumption is not low and the heating cable does not stop working; The thermostat is also used for: When the energy storage module supplies power to the heating cable, the weight of the first loss function is increased and the weight of the second loss function is decreased.
2. The variable frequency energy-saving electric floor heating control system based on artificial intelligence according to claim 1 is characterized in that: The frequency converter also includes a second frequency converter; the temperature controller is used for: determining a power supply frequency of the heating cable according to the first temperature control curve; When the energy storage module does not supply power to the heating cable, controlling the first frequency converter according to the power supply frequency of the heating cable; When the energy storage module supplies power to the heating cable, the second frequency converter is controlled according to the power supply frequency of the heating cable.
3. The variable frequency energy-saving electric floor heating control system based on artificial intelligence according to claim 1 is characterized in that: The thermostat is also used for: Calculate the energy consumption value and hysteresis time of the first temperature control curve in the historical period; The weights of the first loss function and the second loss function in the target time period are determined according to the energy consumption value and the hysteresis time in the historical time period.
4. The variable frequency energy-saving electric floor heating control system based on artificial intelligence according to claim 1 is characterized in that: The frequency converter is used for taking the temperature corresponding to the temperature setting instruction as the target temperature after receiving the temperature setting instruction sent by the external intelligent device through the communication unit.
5. The variable frequency energy-saving electric floor heating control system based on artificial intelligence according to claim 1 is characterized in that: The thermostat includes a user interaction interface and a cable controller.
6. A variable frequency energy-saving electric floor heating control method based on artificial intelligence, characterized in that: Applied to the artificial intelligence-based variable frequency energy-saving electric floor heating control system as described in claim 1 above, the method comprises: Obtaining a first temperature of a heating cable of the electric floor heating detected by a first temperature sensor at the current moment, a second temperature of the room detected by a second temperature sensor at the current moment, and a target temperature set by a user in a thermostat; The first temperature and the second temperature are input into a multi-task learning-based neural network model to predict a first temperature control curve of the heating cable within a target period; wherein the multi-task learning-based neural network has two tasks, and the task objectives are minimum energy consumption and minimum hysteresis time respectively; According to the first temperature control curve, a target power of the heating cable within a target period of time is determined.
Citation Information
Cited By
Precise control system and method for floor heating room temperature based on multiple input parameters
CN121430087A
