Electric window system based on air conditioner operation and control method thereof
Technical Field
The invention relates to an external window, in particular to an electric window system based on air conditioner operation and a control method thereof.
Background
In the closed state of the door and window, a large amount of carbon dioxide exists in the air. In a sleeping state, a person exhales 200 liters of carbon dioxide a night. The door and window are closed tightly, and the oxygen concentration in the room is gradually reduced. Finally, the brain is easy to be anoxic, and the body health is seriously affected. Therefore, in life, windows should be opened frequently for ventilation and air exchange, so that harmful gases in indoor air can be effectively removed, the indoor air is purified, the content of germs in the indoor air is reduced, and the oxygen content in the air is increased.
However, in hot summer or cold winter, the user often opens the air conditioner to lower or raise the indoor temperature, in order to save the electricity of the air conditioner, the window is often manually closed when the air conditioner is opened, and the window sash is manually opened when the air conditioner is closed, so that the operation is very troublesome, the user often forgets, and especially at night, the user often sleeps when the air conditioner is opened at night, and the user cannot manually open the outer window for ventilation, so that the indoor ventilation is not smooth, and the body health of the user is affected.
The prior art also lacks a technology for controlling indoor ventilation by combining air conditioner operation, saves air conditioner electricity and ensures comfortable indoor temperature as far as possible on the basis of ensuring smooth indoor ventilation.
Disclosure of Invention
The technical problem to be solved by the present invention is to overcome the above-mentioned defects of the prior art, and to provide an electric window system based on air conditioner operation and a control method thereof, which can control the operation of the air conditioner during ventilation of the electric window so that the indoor temperature still meets the comfort requirement.
Therefore, the invention adopts the following technical scheme: a control method of a power window system based on an air conditioner operation, the control method comprising:
monitoring whether the current time is within a preset ventilation time period;
when the current time is within a preset ventilation time period, acquiring the current operation mode of the air conditioner and a preset target regulation temperature, and acquiring an indoor air temperature, an outdoor air temperature and a temperature difference value between the indoor air temperature and the outdoor air temperature;
determining an electric window operation parameter corresponding to a temperature difference value according to a corresponding relation between a preset temperature difference value of indoor air temperature and outdoor air temperature and an electric window operation parameter, and controlling the electric window to operate according to the electric window operation parameter corresponding to the temperature difference value;
determining a target adjusting temperature difference value corresponding to the temperature difference value according to the corresponding relation between the preset temperature difference value of the indoor air temperature and the outdoor air temperature and the target adjusting temperature difference value;
and changing the target adjusting temperature of the air conditioner according to a preset target adjusting temperature and a target adjusting temperature difference value, and controlling the air conditioner to adjust the indoor air temperature according to the changed target adjusting temperature.
Further, the control method further includes:
controlling the electric window to be completely closed when the current time is just within a preset temperature regulation time period, detecting the indoor air temperature, and calculating the instantaneous change power of the air conditioner according to the current running mode of the air conditioner, the indoor air temperature, a preset target regulation temperature and the indoor volume, wherein the preset temperature regulation time period is a preset time period after the preset ventilation time period;
determining a target adjusting temperature difference value corresponding to the instantaneous change power of the air conditioner according to the corresponding relation between the preset instantaneous change power of the air conditioner and the target adjusting temperature difference value;
and changing the target adjusting temperature of the air conditioner according to a preset target adjusting temperature and a target adjusting temperature difference value, and controlling the air conditioner to adjust the indoor air temperature according to the changed target adjusting temperature.
Further, the control method further includes:
and when the current time is not in a preset ventilation time period or a preset temperature adjusting time period, controlling the electric window to be completely closed, and controlling the air conditioner to adjust the indoor air temperature according to a preset target adjusting temperature.
The invention also adopts the following technical scheme: an electric window system based on air conditioner operation comprises an electric window, an indoor temperature sensor, an outdoor temperature sensor and a control device connected with an air conditioner, wherein the indoor temperature sensor is used for detecting the indoor air temperature, the outdoor temperature sensor is used for detecting the outdoor air temperature, and the control device is also respectively connected with the electric window, the indoor temperature sensor and the outdoor temperature sensor;
the monitoring module is used for monitoring whether the current time is within a preset ventilation time period;
the acquisition module is used for acquiring the current operation mode of the air conditioner and a preset target regulation temperature when the current time is within a preset ventilation time period, and acquiring an indoor air temperature, an outdoor air temperature and a temperature difference value between the indoor air temperature and the outdoor air temperature;
the first determining module is used for determining electric window operation parameters corresponding to a temperature difference value according to a corresponding relation between a preset temperature difference value of indoor air temperature and outdoor air temperature and electric window operation parameters, and controlling the electric window to operate according to the electric window operation parameters corresponding to the temperature difference value;
the second determining module is used for determining a target adjusting temperature difference value corresponding to the temperature difference value according to the corresponding relation between the temperature difference value of the preset indoor air temperature and the preset outdoor air temperature and the target adjusting temperature difference value;
the changing module is used for changing the target adjusting temperature of the air conditioner according to a preset target adjusting temperature and a target adjusting temperature difference value, and controlling the air conditioner to adjust the indoor air temperature according to the changed target adjusting temperature.
Further, the control device also comprises
The device comprises a calculation module, a third determination module and a second change module;
the calculation module is used for controlling the electric window to be completely closed when the current time is just within a preset temperature regulation time period, detecting the indoor air temperature, and calculating the instantaneous change power of the air conditioner according to the current operation mode of the air conditioner, the indoor air temperature, a preset target regulation temperature and the indoor volume, wherein the preset temperature regulation time period is a preset time period after the preset ventilation time period;
the third determining module is used for determining a target adjusting temperature difference value corresponding to the instantaneous change power of the air conditioner according to the corresponding relation between the preset instantaneous change power of the air conditioner and the target adjusting temperature difference value;
the second changing module is used for changing the target adjusting temperature of the air conditioner according to a preset target adjusting temperature and a target adjusting temperature difference value, and controlling the air conditioner to adjust the indoor air temperature according to the changed target adjusting temperature.
Further, the control device further comprises a third control module, and the third control module is used for controlling the electric window to be completely closed when the current time is not within a preset ventilation time period or a preset temperature adjusting time period, and controlling the air conditioner to adjust the indoor air temperature according to a preset target adjusting temperature.
The invention has the beneficial effects that:
(1) the operation of the electric window and the air conditioner is controlled according to the indoor air temperature and the outdoor air temperature, so that the indoor ventilation is realized while the indoor temperature is relatively stable, the harmful gas in the indoor air is effectively removed, the indoor air is purified, and the content of germs in the indoor air is reduced;
(2) determining the priority order of reducing the operation energy consumption of the air conditioner and the indoor ventilation according to the temperature difference value of the indoor air and the outdoor air, and reducing the power consumption energy consumption of the air conditioner as much as possible when the indoor ventilation is satisfied;
(3) when the ventilation of the electric window is just finished, the indoor air temperature is quickly adjusted by controlling the air conditioner according to the air conditioner operation mode, the indoor air temperature, the preset target adjusting temperature and the indoor volume, so that the indoor air temperature can be quickly and stably adjusted within the range of the initial target adjusting temperature, and the user experience is further improved.
Drawings
Fig. 1 is a schematic diagram of a hardware connection of a control device according to a second embodiment of the present invention.
Detailed Description
The invention is further illustrated by the following specific examples in combination with the drawings of the specification.
Example 1: the embodiment provides a control method of a power window system based on air conditioner operation, the power window system comprises a power window, an indoor temperature sensor, an outdoor temperature sensor and a control device connected with an air conditioner, the control device is also respectively connected with the power window, the indoor temperature sensor and the outdoor temperature sensor, and the control method comprises the following steps:
and monitoring whether the current time is within a preset ventilation time period.
Specifically, the preset ventilation time period is a time period that does not affect life or work of the user, the preset ventilation time period may be a single time period or a plurality of time periods, and the user may set the preset ventilation time period according to needs, for example, the preset ventilation time period is 00: 00-01: 00 and 03:00-04 at night: 00, it should be noted that the current time is preferably monitored at intervals, such as every 5 minutes.
When the current time is within a preset ventilation time period, acquiring the current operation mode of the air conditioner and a preset target regulation temperature, and acquiring an indoor air temperature, an outdoor air temperature and a temperature difference value between the indoor air temperature and the outdoor air temperature;
specifically, the operation mode of the air conditioner at least comprises a cooling mode and a heating mode, the target regulation temperature is manually set by a user when the current time is not in a preset ventilation time period or a preset temperature regulation time period, and is automatically changed according to related setting conditions in the preset ventilation time period or the preset temperature regulation time period, wherein the preset target regulation temperature is the target regulation temperature which is manually set and stored by the user at the closest time point before the preset ventilation time period; the indoor air temperature is detected by an indoor temperature sensor provided indoors, and the outdoor air temperature is detected by an outdoor temperature sensor provided outdoors.
And determining the electric window operation parameter corresponding to the temperature difference value according to the corresponding relation between the temperature difference value of the preset indoor air temperature and the outdoor air temperature and the electric window operation parameter, and controlling the electric window to operate according to the electric window operation parameter corresponding to the temperature difference value.
Specifically, the corresponding relationship between the temperature difference between the indoor air temperature and the outdoor air temperature and the operation parameters of the electric window can be obtained according to a large number of experimental analyses, after the operation parameters of the electric window are determined according to the temperature difference between the indoor air temperature and the outdoor air temperature, the electric control device in the electric window is directly controlled to operate the operation parameters of the electric window, wherein the electric window is opened and closed mainly by controlling the electric control device in the electric window, and it should be noted that the electric window can be a newly produced electric sliding window or an electric casement window, or an electric window with an electric control device (such as an electric window opener) installed on the existing outer window, or an outer window with an electric ventilator (the control window ventilates through the operation of the electric ventilator), and the electric window in the prior art is suitable for the embodiment.
For example, the following steps are carried out: the electric window operation parameters include a first preset amplitude, a second preset amplitude and a third preset amplitude, wherein the first preset amplitude is larger than the second preset amplitude, the second preset amplitude is larger than the third preset amplitude, and the corresponding relationship between the temperature difference value of the indoor air temperature and the outdoor air temperature and the electric window operation parameters is shown in table 1.
TABLE 1 corresponding relationship between temperature difference values of indoor and outdoor air temperatures and operating parameters of power window
As can be seen from Table 1, when the absolute value of the temperature difference between the indoor air temperature and the outdoor air temperature is large, the power consumption of the air conditioner is saved by priority, the opening range of the electric window is controlled to be small, when the absolute value of the temperature difference is small, the indoor ventilation is preferentially considered, and the opening range of the electric window is controlled to be large.
It should be noted that the current operation mode of the air conditioner (negative temperature difference value corresponds to a cooling mode of the air conditioner, and positive temperature difference value corresponds to a heating mode of the air conditioner) may be indirectly obtained by determining whether the temperature difference value between the indoor air temperature and the outdoor air temperature is positive or negative, and the current operation mode of the air conditioner may not be obtained in actual use.
And determining a target adjusting temperature difference value corresponding to the temperature difference value according to the corresponding relation between the preset temperature difference value of the indoor air temperature and the outdoor air temperature and the target adjusting temperature difference value.
Specifically, the corresponding relationship between the temperature difference between the indoor air temperature and the outdoor air temperature and the target adjustment temperature difference can be obtained through a large number of experimental analyses, and different temperature differences correspond to different target adjustment temperature differences, wherein the target adjustment temperature difference is mainly used for changing the target adjustment temperature of the air conditioner, and the changed target adjustment temperature is the sum of the preset target adjustment temperature and the target adjustment difference.
For example, the following steps are carried out: the correspondence relationship between the temperature difference value between the indoor air temperature and the outdoor air temperature and the target regulation temperature difference value is shown in table 2.
TABLE 2 correspondence between the difference in indoor and outdoor air temperature and the target conditioned temperature difference
It should be noted that the current operation mode of the air conditioner (negative temperature difference value corresponds to a cooling mode of the air conditioner, and positive temperature difference value corresponds to a heating mode of the air conditioner) may be indirectly obtained by determining whether the temperature difference value between the indoor air temperature and the outdoor air temperature is positive or negative, and the current operation mode of the air conditioner may not be obtained in actual use.
And changing the target adjusting temperature of the air conditioner according to a preset target adjusting temperature and a target adjusting temperature difference value, and controlling the air conditioner to adjust the indoor air temperature according to the changed target adjusting temperature.
Specifically, the air conditioner adjusts the indoor air temperature by adopting the changed target adjusting temperature, the influence of outdoor heat or cold quantity entering the room to the indoor temperature after the electric window is opened can be effectively reduced, the indoor temperature change is relatively small, a user is always in a comfortable temperature environment, the air conditioner adjusts the indoor air according to the changed target adjusting temperature by adopting the prior art, and the corresponding technology in the existing air conditioner is suitable for the embodiment.
In order to quickly stabilize the indoor air temperature within a target regulation temperature range preset by a user after the ventilation of the electric window is finished and further improve the user experience, the control method further comprises the following steps:
and when the current time is just within a preset temperature adjusting time period, controlling the electric window to be completely closed, detecting the indoor air temperature, and calculating the instantaneous change power of the air conditioner according to the air conditioner running mode, the indoor air temperature, the preset target adjusting temperature and the indoor volume, wherein the preset temperature adjusting time period is a preset time period after the preset ventilation time period.
Specifically, the preset temperature-adjusting time periods correspond to the preset ventilation time periods one by one, that is, one preset temperature-adjusting time period is provided after each preset ventilation time period, the duration of the preset temperature-adjusting time period is generally 3min to 10min, and the time point for detecting the indoor air temperature is the starting time point of the preset temperature-adjusting time period, for example, the preset ventilation time periods are 00:00 to 01:00 and 03:00 to 04: 00 two time periods, the preset temperature adjusting time period is 01: 01-01: 10 and 04: 01-04: 10 two periods of time, wherein the time points for detecting the indoor air temperature are 01:01 and 04: 01.
when the electric window is completely closed, the heat transfer of the temperature difference between the inside and the outside of the indoor space in a short time is less, the indoor air temperature change is mainly adjusted through an air conditioner, the indoor heat is greatly changed due to the change of the electric window, if the indoor air temperature is adjusted according to a preset target through the air conditioner for a long time, the indoor air temperature can be suddenly cooled and suddenly heated in the period of time, the user experience is influenced, and particularly at night, the user can be awakened or frozen when sleeping well.
In this embodiment, the heat variation value required for adjusting the indoor air temperature at the starting time point to the preset target adjustment temperature (the end time point of the preset temperature adjustment time period, the desired indoor air temperature) in the preset temperature adjustment time period is calculated according to an air specific heat formula, where the air specific heat formula is as follows:
Q=cm(t2-t1)=T*J;
c-specific heat capacity of air;
m-the mass of indoor air, calculated according to the indoor volume;
t1 — room air temperature at the starting time point of the preset tempering time period;
t2 — preset target regulation temperature (desired indoor air temperature at the end time point of the preset temperature regulation period);
t-presetting a temperature adjusting time period;
j-instantaneous power change of the air conditioner.
Through the above calculation formula, the instantaneous change power J of the air conditioner in the preset temperature adjusting time period can be calculated.
And determining a target adjusting temperature difference value corresponding to the instantaneous change power of the air conditioner according to the preset corresponding relation between the instantaneous change power of the air conditioner and the target adjusting temperature difference value.
Specifically, the corresponding relationship between the instantaneous change power of the air conditioner and the target regulation temperature difference can be obtained according to a large number of experimental analyses, and different instantaneous change powers correspond to different target regulation temperature differences, wherein the target regulation temperature difference is mainly used for changing the target regulation temperature of the air conditioner, and the changed target regulation temperature is the sum of the preset target regulation temperature and the target regulation difference.
For example, the following steps are carried out: the correspondence relationship between the instantaneously varied power of the air conditioner and the target regulation temperature difference is shown in table 3.
TABLE 3 corresponding relationship between instantaneous variation power of air conditioner and target regulation temperature difference
It should be noted that the current operation mode of the air conditioner (the transient variation power is negative corresponding to the air conditioner cooling mode, and the transient variation power is positive corresponding to the air conditioner modulating thermal mode) can be indirectly obtained by judging the positive or negative of the transient variation power of the air conditioner, and the current operation mode of the air conditioner is not obtained in actual use, but is determined by specifically combining the current operation mode of the air conditioner if the transient variation power of the air conditioner takes an absolute value.
And changing the target adjusting temperature of the air conditioner according to the preset target adjusting temperature of the air conditioner and the target adjusting temperature difference value, and controlling the air conditioner to adjust the indoor air temperature according to the changed target adjusting temperature.
Specifically, in the preset temperature adjustment time period, the changed target adjustment temperature only needs to be determined once at the starting point, and the air conditioner is adjusted according to the changed target adjustment temperature all the time in the preset temperature adjustment time after the determination, so that the indoor air temperature can be rapidly stabilized within the preset target adjustment temperature range, wherein the technology for the air conditioner to adjust the indoor air according to the changed target adjustment temperature adopts the prior art, and the corresponding technologies in the existing air conditioner are all suitable for the embodiment.
Preferably, the control method further includes the steps of:
and when the current time is not in a preset ventilation time period or a preset temperature adjusting time period, controlling the electric window to be completely closed, and controlling the air conditioner to adjust the indoor air temperature according to a preset target adjusting temperature.
Specifically, in a time period when the current time is not in the preset ventilation time period or outside the preset temperature adjustment time period, the control of the air conditioner is the same as that of the prior art, and the user can manually set the target adjustment temperature through the air conditioner remote controller, wherein when the user does not manually set, the air conditioner adjusts the indoor air temperature according to the preset target adjustment temperature.
Example 2: on the basis of embodiment 1, the present embodiment provides an electric window system based on air conditioner operation, including an electric window, an indoor temperature sensor, an outdoor temperature sensor, and a control device connected to an air conditioner, where the indoor temperature sensor is used to detect an indoor air temperature, the outdoor temperature sensor is used to detect an outdoor air temperature, the control device is further connected to the electric window, the indoor temperature sensor, and the outdoor temperature sensor, respectively, and the control device includes a monitoring module, an obtaining module, a first determining module, a second determining module, and a changing module;
the monitoring module is used for monitoring whether the current time is within a preset ventilation time period;
the acquisition module is used for acquiring the current operation mode of the air conditioner and a preset target regulation temperature when the current time is within a preset ventilation time period, and acquiring an indoor air temperature, an outdoor air temperature and a temperature difference value between the indoor air temperature and the outdoor air temperature;
the first determining module is used for determining electric window operation parameters corresponding to a temperature difference value according to a corresponding relation between a preset temperature difference value of indoor air temperature and outdoor air temperature and electric window operation parameters, and controlling the electric window to operate according to the electric window operation parameters corresponding to the temperature difference value;
the second determining module is used for determining a target adjusting temperature difference value corresponding to the temperature difference value according to the corresponding relation between the temperature difference value of the preset indoor air temperature and the preset outdoor air temperature and the target adjusting temperature difference value;
the changing module is used for changing the target adjusting temperature of the air conditioner according to a preset target adjusting temperature and a target adjusting temperature difference value, and controlling the air conditioner to adjust the indoor air temperature according to the changed target adjusting temperature.
In order to rapidly stabilize the indoor air temperature within the target temperature regulation range preset by the user after the ventilation of the electric window is finished, the user experience is further improved, and the control device further comprises
The device comprises a calculation module, a third determination module and a second change module;
the calculation module is used for controlling the electric window to be completely closed when the current time is just within a preset temperature regulation time period, detecting the indoor air temperature, and calculating the instantaneous change power of the air conditioner according to the current operation mode of the air conditioner, the indoor air temperature, a preset target regulation temperature and the indoor volume, wherein the preset temperature regulation time period is a preset time period after the preset ventilation time period;
the third determining module is used for determining a target adjusting temperature difference value corresponding to the instantaneous change power of the air conditioner according to the corresponding relation between the preset instantaneous change power of the air conditioner and the target adjusting temperature difference value;
the second changing module is used for changing the target adjusting temperature of the air conditioner according to a preset target adjusting temperature and a target adjusting temperature difference value, and controlling the air conditioner to adjust the indoor air temperature according to the changed target adjusting temperature.
Preferably, the control device further comprises a third control module, and the third control module is configured to control the electric window to be completely closed when the current time is not within a preset ventilation time period or a preset temperature regulation time period, and control the air conditioner to regulate the indoor air temperature according to a preset target regulation temperature.
Preferably, the control device further comprises a third control module, and the third control module is configured to control the electric window to be completely closed when the current time is not within a preset ventilation time period or a preset temperature regulation time period, and control the air conditioner to regulate the indoor air temperature according to a preset target regulation temperature.
According to the invention, the work of the electric window is controlled according to the operation of the air conditioner and the indoor and outdoor temperature difference value, so that the air conditioner is saved as much as possible on the basis of ensuring the smoothness of indoor ventilation, the indoor temperature is comfortable, and the user experience is improved.
The protection scope of the present invention is not limited to the above description, and any other products with the same or similar technical solutions as or to the present invention, regardless of the shape or structure, are within the protection scope of the present invention.