METHOD AND SYSTEM FOR CONTROLLING THE TEMPERATURE OF A ROOM

20220316738 · 2022-10-06

    Inventors

    Cpc classification

    International classification

    Abstract

    The present invention relates to a method for controlling the temperature of a room (20) provided with a temperature control device (10), in particular for keeping the temperature of the room (20) within a comfort temperature range defined by a lower and an upper hysteresis temperature (TL, TH), characterized in that —measuring the temperature change of a room (20) and generating first and second temperature time series (01, 02) from the measured temperature data, then using a neural network and using the first and second temperature time series (01, 02), we create predicted first and second temperature time series (P1, P2) indicating the future change of time series (01, 02), —determining predicted saturation temperature values (T.sub.sat(P)) for the elements of the predicted first and second temperature time series (P1, P2), as switch-on and switch-off times (t.sub.be, t.sub.ki), using the neural network and the first and second temperature time series (01, 02), —selecting from the determined predicted saturation temperature values (Tsat(P)) the closest to the corresponding hysteresis temperature (TH, TL), based on which we determine switch-on and switch-off times (t.sub.be, t.sub.ki). The invention further relates to a system (100) for carrying out such a method.

    Claims

    1. Method for controlling the temperature of a room (20) provided with a temperature control device (10), in particular for keeping the temperature of the room (20) within a comfort temperature range defined by a lower and an upper hysteresis temperature (T.sub.L, T.sub.H), characterized in that setting the temperature of the room (20) within the comfort temperature range by means of the temperature control device (10), then switching off the temperature control device (10) at the switch-off time (t.sub.ki) and measuring the change in the temperature of the room (20) at least until the measured saturation temperature (T.sub.sat(O)), can be measured when changing the direction of the temperature change, is reached, and a first temperature time series (O1) is generated from the measured temperature data, then using a neural network and using the first temperature time series (O1), creating a predicted first temperature time series (P1) indicating the future change of the first temperature time series (O1), switching on the temperature control device (10) at the switch-on time (t.sub.be) and measuring the change in temperature of the room (20), at least until the measured saturation temperature (T.sub.sat(O)), can be measured when changing the direction of the temperature change, is reached, and a second temperature time series (O2) is generated from the measured temperature data, then using a neural network and using the second temperature time series (O2), creating a predicted second temperature time series (P2) indicating the future change of the second temperature time series (O2), determining predicted saturation temperature values (T.sub.sat(P)) for the elements of the predicted second temperature time series (P2), as switch-off times (t.sub.ki), using the neural network and the first temperature time series (O1) and selecting from the determined predicted saturation temperature values (T.sub.sat(P)) the closest to the corresponding hysteresis temperature (T.sub.H, T.sub.L), determining a switch-off time (t.sub.ki) from the element of the predicted second temperature time series (P2) corresponding to the selected predicted saturation temperature value (T.sub.sat(P)*) and then switching off the temperature control device (10) at the determined switch-off time (t.sub.ki), determining predicted saturation temperature values (T.sub.sat(P)) for the elements of the predicted first temperature time series (P1), as switch-on times (t.sub.be), using the neural network and the second temperature time series (O2) and selecting from the determined predicted saturation temperature values (T.sub.sat(P)) the closest to the corresponding hysteresis temperature (TH, TL), determining a switch-on time (t.sub.be) from the element of the predicted first temperature time series (P1) corresponding to the selected predicted saturation temperature value (T.sub.sat(P)*) and then switching on the temperature control device (10) at the determined switch-on time (t.sub.be).

    2. Method according to claim 1, characterized in that determining temperature tolerance ranges (ΔT.sub.tol) in the vicinity of the lower and upper hysteresis temperatures (T.sub.L, T.sub.H) and from the predicted saturation temperature values (T.sub.sat(P)) determined by the neural network, the predicted saturation temperature (T.sub.sat(P)*) closest to the corresponding hysteresis temperature (T.sub.L, T.sub.H) is selected within the appropriate temperature tolerance range (ΔT.sub.tol).

    3. Method according to claim 1, characterized in that a long short-term memory (LSTM) or a 1-dimensional convolutional neural network architecture is used to determine the predicted saturation temperature values (T.sub.sat(P)).

    4. Method according to claim 1, characterized in that a long short-term memory (LSTM) neural network architecture is used to generate the predicted first and second temperature time series (P1, P2).

    5. A system (100) for carrying out the method according to claim 1, and comprising a temperature sensor (12) for measuring the internal temperature of the room (20) and transmitting the measured temperature data, a control module (14) for switching on and off the temperature control device (10), and a remote central IT unit (300) in communication with the control module (14) and the temperature sensor (12) via a digital communication channel (200), adapted to implement a neural network, which central IT unit (300) is configured to generate a control signal and transmit it to the control module (14) based on the temperature data received from the temperature sensor (12), and the control module (14) is configured to store and execute the received control signal.

    6. System (100) according to claim 5, characterized in that the digital communication channel (200) is implemented within a global information network.

    7. System (100) according to claim 5, characterized in that the temperature sensor (12) and the control module (14) are provided as a single unit.

    8. The system (100) according to claim 7 wherein the single unit is a thermostat (16).

    9. System (100) according to claim 6 wherein the global information network is Internet.

    Description

    [0017] Further details of the invention will be described with reference to the accompanying drawings. In the drawing is

    [0018] FIG. 1 is a temperature curve of a prior art PID control,

    [0019] FIG. 2 is a schematic view of the main components of the system according to the invention,

    [0020] FIG. 3a is a graph showing the time dependence of the internal temperature of a room in the case of heating during the implementation of an exemplary embodiment of the method according to the invention;

    [0021] FIG. 3b is a graph showing the time dependence of the internal temperature of a room in the case of cooling during the implementation of an exemplary embodiment of the method according to the invention.

    [0022] FIG. 2 shows the main components of system 100 according to the invention, which is used to keep the temperature of a room 20 provided with a temperature control means 10 within a temperature range around a pre-set temperature value. The room 20 can be, for example, a room of a residential house, or any space delimited by walls (e.g. a shop, a factory hall, etc.), the temperature control of which is solved by means of a temperature control device 10. In the context of the present invention, the term temperature control device 10 is to be understood broadly to include any heating or cooling device suitable for changing the temperature of the room 20 in the desired direction. The temperature control device 10 may be powered, for example, by electric current or fuel, e.g. gas-fired heaters (convectors), air conditioners (e.g., inverter split air conditioners), etc., as is known to those skilled in the art.

    [0023] The system 100 further includes a digital temperature sensor 12 for measuring the internal temperature of the room 20 and transmitting the measured temperature data, a control module 14 for turning the temperature control device 10 on or off, and a remote central IT unit 300 in communication with the control module 14 and the temperature sensor 12 via a digital communication channel 200, adapted to implement a neural network.

    [0024] The sensor 12 according to the invention is adapted to measure the internal temperature of the room 20 at regular intervals and preferably also to record the time of the measurement. For the sake of clarity, in the present description, the temperature of the room 20 means the temperature measured by the sensor 12 arranged in the room 20. The temperature sensor 12 and the control module 14 can optionally be provided as a single unit, preferably a thermostat 16, arranged in the room 20, as is known, for example, in conventional circulating heating systems.

    [0025] The term central IT unit 300 is broadly understood herein to include any hardware device for receiving, processing, storing, and electronically transmitting processed digital data that can be used to run a neural network. The central IT unit 300 is preferably located outside the room 20, away from it (optionally in another city or country). In a particularly preferred embodiment, the central IT unit 300 is a computer comprises a storage device 300a for storing data received from the sensor 12 or the thermostat 16 including the sensor 12, and a central processing unit 300b (processor and/or gpu) for processing the received data and implementing a neural network, as will be apparent to those skilled in the art. The IT unit 300 is in communication with the sensor 12 and the control module 14 via the communication channel 200, i.e. the IT unit 300 is able to receive the temperature data measured by the sensor 12 via the communication channel 200. The central IT unit 300 is configured to generate a control signal and transmit it to the control module 14 based on the temperature data received from the temperature sensor 12, and the control module 14 is configured to store and execute the received control signal. That is, through the data transmission connection between the IT unit 300 and the control module 14, the data processed by the IT unit 300 can be transmitted to the control module 14, which will be discussed later.

    [0026] By neural network in the context of the present invention is meant a parallel, distributed information processing device implemented by means of the IT unit 300, which consists of an interconnected system of operational elements (neurons) performing the same or similar type of local processing and has a learning algorithm and an information retrieval algorithm that allows the use of the learned information, as is known to the person skilled in the art.

    [0027] In a preferred embodiment, the digital communication channel 200 is implemented within a global information network, preferably the Internet, but other embodiments are possible in which the communication channel 200 is part of a local area network. Note that the concept of a data connection includes both direct and indirect link. The data connection established by the communication channel 200 may be a wired or, optionally, a wireless (e.g., Wi-Fi, Bluetooth, etc.) connection, as is known to those skilled in the art.

    [0028] The invention further relates to a method for controlling the internal temperature of a room 20 provided with a temperature control device 10, in particular for keeping the temperature of the room 20 within a comfort temperature range determined by a lower and an upper hysteresis temperature T.sub.L, T.sub.H.

    [0029] In the first step of the method according to the invention, the internal temperature of the room 20 is set within the comfort temperature range by means of the temperature control device 10, as shown, for example, in FIG. 3a. The comfort temperature range is limited at the bottom by the lower hysteresis temperature T.sub.L and at the top by the upper hysteresis temperature T.sub.H, which indicate the practical maxima of the permissible deviation from the user-set base temperature T.sub.set. By base temperature T.sub.set is meant the temperature that the user wishes to maintain in the room 20 by means of the temperature control device 10. This can be achieved by heating the room 20 in cold weather (FIG. 3a) and by cooling the room 20 in hot weather (FIG. 3b). Therefore, as previously mentioned, the temperature control device 10 may be a heating or cooling device, depending on the conditions.

    [0030] In the next step of the method, the temperature control device 10 is switched off at switch-off time t.sub.ki, and then the change in the temperature of the room 20 is measured at least until a saturation temperature T.sub.sat(O), which can be measured when the direction of temperature change is changed, is reached. In the embodiment of FIG. 3a, when the temperature of the room 20 is raised, i.e. heated, by means of the temperature control device 10, the temperature control device 10 is switched off before the temperature of the room 20 reaches the upper hysteresis temperature T.sub.H. After switching off the temperature control device 10, the temperature of the room 20 rises even further for a while due to the thermal inertia and then starts to fall. That is, in this embodiment, the maximum temperature that can be measured immediately after the switch-off time t.sub.ki will be the measured saturation temperature T.sub.sat(O). In contrast, in the embodiment shown in FIG. 3b (cooling), the temperature control device 10 is turned off before the room temperature 20 reaches the lower hysteresis temperature T.sub.L. After switching off the temperature control device 10, the temperature of the room 20 drops even further for a while due to the thermal inertia and then starts to rise. That is, in this embodiment, the minimum temperature that can be measured immediately after the switch-off time t.sub.ki will be the measured saturation temperature T.sub.sat(O).

    [0031] The temperature of the room 20 is measured at specific intervals (e.g. per second), for example by means of the sensor 12 shown above. From the measured temperature data, a first temperature time series O1 is generated, i.e. a time-dependent series of temperature values of the room 20 measured when the temperature control device 10 is switched off. The switch-off of the temperature control device 10, i.e. the determination of the switch-off time t.sub.ki, can be done manually or by using any temperature control model (including the method according to the present invention).

    [0032] It is noted that during the operation of neural networks, two phases can typically be distinguished. The first phase, called the learning phase, is used to create the network, during which we incorporate into the network and store the information hidden in the measured temperature data. In the present invention, the neural network is taught based on the first temperature time series O1. Since the learning phase in the case of neural networks assumes long iterations, transients, and possibly unsuccessful learning phases, in the context of the present invention, the first temperature time series O1 may means the totality of temperature data series measured after several switch-off times. As a result of the learning phase, an information processing system is obtained, which is used in the second phase (development phase).

    [0033] In the next step (development phase) of the method, preferably using the neural network implemented in the central IT unit 300 and the first temperature time series O1, a predicted first temperature time series P1 indicating the future development of the first temperature time series O1 is generated. In the context of the present invention, the use of the first temperature time series O1 means that the neural network is taught by the first temperature time series O1 to model the temperature of the room 20, assuming that the temperature control device 10 is off. The predicted first temperature time series P1 generated by the trained neural network can be used to predetermine how the temperature of the room 20 will change when the temperature control device 10 is off, i.e. the first temperature time series P1 can be considered essentially an extrapolation of the first temperature time series O1.

    [0034] In the next step of the method, the temperature control device 10 is turned on at switch-on time t.sub.be and the temperature change of the room 20 is measured at least until the saturation temperature T.sub.sat(O), which can be measured when the direction of temperature change is changed, is reached, and a second temperature time series O2 is generated from the measured temperature data. In the embodiment of FIG. 3a, the temperature control device 10 is switched on before the room temperature 20 reaches the lower hysteresis temperature T.sub.L. After switching on the temperature control device 10, the temperature of the room 20 drops even further for a while due to the thermal inertia and then starts to rise. That is, in the case of heating, the minimum saturation temperature that can be measured immediately after the switch-on time t.sub.be will be the saturation temperature T.sub.sat(O). In contrast, in the embodiment shown in FIG. 3b (cooling), the temperature control device 10 is turned on before the room temperature 20 reaches the upper hysteresis temperature T.sub.H. After switching on the temperature control device 10, the temperature of the room 20 rises even further for a while due to the thermal inertia and then begins to fall. That is, in this embodiment, the maximum temperature that can be measured immediately after the switch-on time t.sub.be will be the measured saturation temperature T.sub.sat(O). By the temperature time series O2 is meant a time-dependent series of temperature values of the room 20 measured when the temperature control device 10 is switched on. The switching on of the temperature control device 10, i.e. the determination of the switching time t.sub.be, similarly to the switch-off time t.sub.ki, can be done manually or by using of any temperature control model (including the method according to the invention).

    [0035] In the next step of the method, using the neural network and using the second temperature time series O2, a predicted second temperature time series P2 is generated to determine the future evolution of the second temperature time series O2. In the context of the present invention, the use of the second temperature time series O2 means that the neural network is taught by the second temperature time series O2 to model the temperature of the room 20, assuming that the temperature control device 10 is on.

    [0036] Using the predicted second temperature time series P2 generated by the neural network, it can be determined in advance how the temperature of the room 20 will change when the temperature control device 10 is on, i.e. the second temperature time series P2 can be considered an extrapolation of the second temperature time series O2. Note that the second temperature time series O2, like the first temperature time series O1, refers to the totality of the temperature data series measured after several switch-on times t.sub.be. In a preferred embodiment, a long short-term memory (LSTM) neural network architecture is used to generate the predicted first and second temperature time series O1, O2, as is known to those skilled in the art.

    [0037] In the next step of the method, predicted saturation temperature values T.sub.sat(P) are determined for the elements of the predicted second temperature time series P2, as switch-off times t.sub.ki, using the neural network and the first temperature time series O1. In other words, using the neural network that was trained with the first temperature time series O1, determining what saturation temperature the room temperature 20 would reach if the temperature control device 10 were turned off at a given element (as a possible switch-off time t.sub.ki) of the second temperature time series P2. In a preferred embodiment, a long short-term memory (LSTM) or 1-dimensional convolutional neural network architecture is used to determine the predicted saturation temperature values T.sub.sat(P), which neural networks are known to those skilled in the art.

    [0038] From the predicted saturation temperature values of T.sub.sat(P) thus determined, the saturation temperature value of T.sub.sat(P)* closest to the corresponding hysteresis temperature T.sub.L, T.sub.H is selected. In the present case, a suitable hysteresis temperature T.sub.L, T.sub.H is understood to mean the upper hysteresis temperature T.sub.H for heating and the lower hysteresis temperature T.sub.L for cooling, as will be apparent to the person skilled in the art (see FIGS. 3a and 3b). From the predicted saturation temperature values T.sub.sat(P) determined using the neural network, the saturation temperature T.sub.sat(P)* closest to the corresponding hysteresis temperature T.sub.L, T.sub.H is selected within the comfort temperature range delimited by the lower and upper hysteresis temperatures T.sub.L, T.sub.H. In other words, predicted saturation temperature values T.sub.sat(P) that are outside the comfort temperature range are not considered. In a possible embodiment, in the vicinity of the lower and upper hysteresis temperatures T.sub.L, T.sub.H temperature tolerance ranges ΔT.sub.tol are determined within the comfort temperature range and from the predicted saturation temperature values T.sub.sat(P) determined by the neural network, the predicted saturation temperature T.sub.sat(P)* closest to the corresponding hysteresis temperature T.sub.L, T.sub.H is selected within the appropriate temperature tolerance range ΔT.sub.tol. The size of the temperature tolerance ranges ΔT.sub.tol is chosen so that the saturation temperature values T.sub.sat(P)* within them can be considered equally good for the given application. The advantage of this embodiment is that it is not necessary to determine the predicted saturation temperature T.sub.sat(P) for all elements of the second temperature time series P2, since if one of the predicted saturation temperatures T.sub.sat(P) falls within the corresponding temperature tolerance range ΔT.sub.tol, it automatically selected as the saturation temperature T.sub.sat(P)*.

    [0039] After selecting the saturation temperature value T.sub.sat(P)*, the switch-off time t.sub.ki is determined from the element of the predicted saturation temperature value T.sub.sat(P)* of the second temperature time series P2, and then the temperature control device 10 is turned off at the switch-off time t.sub.ki thus determined.

    [0040] After switching off the temperature control device 10, the change in the temperature of the room 20 is measured, and then the first temperature time series O1 and the predicted first temperature time series P1 are generated as described above. Predicted saturation temperature values T.sub.sat(P) for the elements of the predicted first temperature time series (P1) are determined, as switch-on times t.sub.be, using the neural network and the second temperature time series O2. In other words, using the neural network that was trained with the second temperature time series O2, determining what saturation temperature the room temperature 20 would reach if the temperature control device 10 were turned on at a given element (as a possible switch-on time t.sub.be) of the first temperature time series P1. Then, the saturation temperature value T.sub.sat(P)* closest to the corresponding hysteresis temperature T.sub.L, T.sub.H is selected from the predicted saturation temperature values T.sub.sat(P) as described above, and a switch-on time t.sub.be from the element of the predicted first temperature time series P1 corresponding to the selected predicted saturation temperature value T.sub.sat(P)* is determined and the temperature control device (10) is switched on at the determined switch-on time t.sub.be.

    [0041] It is noted that in the case of the neural network used in the method according to the invention, the learning and development phases are not sharply separated in time, i.e. the neural network continuously learns over time by comparing the predicted temperature time series and the predicted saturation temperatures with the actually measurable temperature values. This is necessary because the environmental parameters of the room 20 (e.g. outdoor temperature, solar radiation) and the user habits are constantly changing, so the information processing method must also change. However, the neural network used in the present invention is also characterized in that a longer, purely learning phase precedes the parallel learning-development phase, during which the switch-on times t.sub.be and switch-off times t.sub.ki are entered, for example, manually or by means of another known temperature control model (e.g. PID).

    [0042] Various modifications to the above disclosed embodiments will be apparent to a person skilled in the art without departing from the scope of protection determined by the attached claims.