CN114396715B - Equipment control method, device, electronic equipment and storage medium - Google Patents

Equipment control method, device, electronic equipment and storage medium Download PDF

Info

Publication number
CN114396715B
CN114396715B CN202210038656.7A CN202210038656A CN114396715B CN 114396715 B CN114396715 B CN 114396715B CN 202210038656 A CN202210038656 A CN 202210038656A CN 114396715 B CN114396715 B CN 114396715B
Authority
CN
China
Prior art keywords
temperature
historical
environmental
controlled
equipment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210038656.7A
Other languages
Chinese (zh)
Other versions
CN114396715A (en
Inventor
程竹
单联瑜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN202210038656.7A priority Critical patent/CN114396715B/en
Publication of CN114396715A publication Critical patent/CN114396715A/en
Application granted granted Critical
Publication of CN114396715B publication Critical patent/CN114396715B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/62Control or safety arrangements characterised by the type of control or by internal processing, e.g. using fuzzy logic, adaptive control or estimation of values
    • F24F11/63Electronic processing
    • F24F11/64Electronic processing using pre-stored data
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/62Control or safety arrangements characterised by the type of control or by internal processing, e.g. using fuzzy logic, adaptive control or estimation of values
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/62Control or safety arrangements characterised by the type of control or by internal processing, e.g. using fuzzy logic, adaptive control or estimation of values
    • F24F11/63Electronic processing
    • F24F11/65Electronic processing for selecting an operating mode

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Fuzzy Systems (AREA)
  • Mathematical Physics (AREA)
  • Chemical & Material Sciences (AREA)
  • Combustion & Propulsion (AREA)
  • Mechanical Engineering (AREA)
  • General Engineering & Computer Science (AREA)
  • Air Conditioning Control Device (AREA)

Abstract

The disclosure relates to a device control method, a device, an electronic device and a storage medium, so as to reduce the difference between an ambient temperature and a preset temperature after the ambient temperature reaches the preset temperature in the operation process of the device to be controlled, and improve the comfort level of a user. Wherein the method comprises the following steps: determining historical temperature data of equipment to be controlled in a historical operation process; determining an environmental comfort parameter according to the historical temperature data, wherein the environmental comfort parameter is used for representing the environmental temperature change condition of the equipment to be controlled in the historical operation process; and adjusting the operation parameters of the equipment to be controlled in the open loop stage based on the environmental comfort parameters so as to reduce the environmental temperature difference of the equipment to be controlled in the current operation process, wherein the environmental temperature difference is the difference between the environmental temperature and the preset temperature after the environmental temperature reaches the preset temperature.

Description

Equipment control method, device, electronic equipment and storage medium
Technical Field
The disclosure relates to the field of temperature control, and in particular relates to a device control method, a device, an electronic device and a storage medium.
Background
With the development of economic technology, air conditioning equipment has also moved into thousands of households, and the use of household air conditioning and central air conditioning is becoming more and more common. In the related art, temperature control of an air conditioner mainly controls an operation frequency of the air conditioner according to a temperature difference between a set temperature and an ambient temperature, thereby enabling the ambient temperature to reach the set temperature. However, with the continuous improvement of living standard, the comfort requirement of users on the air conditioner is also higher and higher.
Disclosure of Invention
In order to overcome the problems in the related art, the present disclosure provides an apparatus control method, an apparatus, an electronic device, and a storage medium.
According to a first aspect of embodiments of the present disclosure, there is provided an apparatus control method, the method including:
determining historical temperature data of equipment to be controlled in a historical operation process;
determining an environmental comfort parameter according to the historical temperature data, wherein the environmental comfort parameter is used for representing the environmental temperature change condition of the equipment to be controlled in the historical operation process;
and adjusting the operation parameters of the equipment to be controlled in the open loop stage based on the environmental comfort parameters so as to reduce the environmental temperature difference of the equipment to be controlled in the current operation process, wherein the environmental temperature difference is the difference between the environmental temperature and the preset temperature after the environmental temperature reaches the preset temperature.
Optionally, the determining the environmental comfort parameter according to the historical temperature data includes:
determining, as environmental comfort parameters, from the historical temperature data, at least one of:
a first temperature difference between a maximum temperature value and a minimum temperature value in the historical temperature data;
standard deviation of the historical temperature data;
and the difference value between the average temperature corresponding to the historical temperature data and the historical preset temperature.
Optionally, the method further comprises:
before the environmental comfort parameter is determined according to the historical temperature data, a second temperature difference value is determined to be in a preset temperature difference range, and the second temperature difference value is used for representing the difference value between the average temperature corresponding to the historical temperature data and the historical preset temperature.
Optionally, the adjusting the operation parameter of the device to be controlled in the open loop stage based on the environmental comfort parameter includes:
determining an adjustment coefficient based on the environmental comfort parameter, wherein the adjustment coefficient is used for adjusting the operating frequency of the equipment to be controlled in an open loop stage;
determining a difference value between the adjustment coefficient and the current operating frequency of the equipment to be controlled;
and determining the maximum value as a target operating frequency in the lower limit operating frequency of the equipment to be controlled and the difference value, and adjusting the operating frequency of the equipment to be controlled in an open loop stage to the target operating frequency.
Optionally, the determining the environmental comfort parameter according to the historical temperature data includes:
according to historical temperature data in a plurality of historical operation processes, determining environment comfort parameters corresponding to the historical operation processes;
the determining an adjustment factor based on the environmental comfort parameter includes:
and determining candidate adjustment coefficients corresponding to the multiple historical operation processes according to the environmental comfort parameters corresponding to the multiple historical operation processes, and taking the average value of the candidate adjustment coefficients corresponding to the multiple historical operation processes as the adjustment coefficient.
Optionally, the method further comprises:
before the historical temperature data of the equipment to be controlled in the historical operation process is determined, determining that the historical operation parameters of the equipment to be controlled in the historical operation process meet a first operation parameter condition; and/or the number of the groups of groups,
before the environmental comfort parameter is determined according to the historical temperature data, determining that the historical operating parameter of the equipment to be controlled in the historical operating process meets a second operating parameter condition, and determining that the historical environmental parameter of the equipment to be controlled in the historical operating process meets the environmental parameter condition.
According to a second aspect of embodiments of the present disclosure, there is provided an apparatus control device, the device comprising:
a first determining module configured to determine historical temperature data of the device to be controlled during historical operation;
a second determining module configured to determine an environmental comfort parameter according to the historical temperature data, wherein the environmental comfort parameter is used for representing the environmental temperature change condition of the equipment to be controlled in the historical operation process;
the adjusting module is configured to adjust the operation parameters of the equipment to be controlled in the open loop stage based on the environmental comfort parameters so as to reduce the environmental temperature difference of the equipment to be controlled in the current operation process, wherein the environmental temperature difference is the difference between the environmental temperature and the preset temperature after the environmental temperature reaches the preset temperature.
Optionally, the second determining module is configured to:
determining, as environmental comfort parameters, from the historical temperature data, at least one of:
a first temperature difference between a maximum temperature value and a minimum temperature value in the historical temperature data;
standard deviation of the historical temperature data;
and the difference value between the average temperature corresponding to the historical temperature data and the historical preset temperature.
According to a third aspect of embodiments of the present disclosure, there is provided an electronic device, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
determining historical temperature data of equipment to be controlled in a historical operation process;
determining an environmental comfort parameter according to the historical temperature data, wherein the environmental comfort parameter is used for representing the environmental temperature change condition of the equipment to be controlled in the historical operation process;
and adjusting the operation parameters of the equipment to be controlled in the open loop stage based on the environmental comfort parameters so as to reduce the environmental temperature difference of the equipment to be controlled in the current operation process, wherein the environmental temperature difference is the difference between the environmental temperature and the preset temperature after the environmental temperature reaches the preset temperature.
According to a fourth aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium having stored thereon computer program instructions which, when executed by a processor, implement the steps of the device control method provided in any of the first aspects of the present disclosure.
The technical scheme provided by the embodiment of the disclosure can comprise the following beneficial effects:
firstly, determining historical temperature data of equipment to be controlled in a historical operation process, then determining environmental comfort parameters according to the historical temperature data, and finally adjusting operation parameters of the equipment to be controlled in an open loop stage based on the environmental comfort parameters so as to reduce the environmental temperature difference of the equipment to be controlled in the current operation process, thereby avoiding overlarge difference between the environmental temperature and the preset temperature after the environmental temperature reaches the preset temperature, reducing the condition that the equipment to be controlled is out of operation in an overshoot mode, and improving the comfort level of users.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description, serve to explain the principles of the disclosure.
FIG. 1 is a flow chart illustrating a method of device control according to an exemplary embodiment;
FIG. 2 is a schematic diagram illustrating an indoor temperature profile according to an exemplary embodiment;
FIG. 3 is another flow chart illustrating a device control method according to an example embodiment;
FIG. 4 is a block diagram of a device control apparatus, according to an example embodiment;
fig. 5 is a block diagram of an electronic device, according to an example embodiment.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples are not representative of all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present disclosure as detailed in the accompanying claims.
It should be noted that, in this disclosure, the terms "S101", "S102", and the like in the specification and claims and in the drawings are used for distinguishing between steps and not necessarily for performing the method steps in a particular order or sequence.
Specific embodiments of the present disclosure are described in detail below with reference to the accompanying drawings. It should be understood that the detailed description and specific examples, while indicating and illustrating the disclosure, are not intended to limit the disclosure.
In the related art, during an open-loop operation stage of an air conditioner, a direct axis current, a quadrature axis current and a decoupling angle of a compressor are directly given by an open loop. In the closed-loop operation stage of the air conditioner, the direct axis current and the quadrature axis current of the compressor are obtained by closed-loop adjustment of the speed loop control according to the given frequency and the estimated speed, and the decoupling angle is the flux linkage angle estimated by the sensorless estimation algorithm. And after the air conditioner is started, entering an open-loop operation stage, and after the set open-loop operation time is reached, directly switching from the open-loop operation state to the closed-loop operation state. Therefore, after the air conditioner is started, the compressor runs with given parameters, the air conditioner rapidly performs refrigeration or heating, and after a period of time, the air conditioner enters a closed-loop running stage, and as a certain time is required for reaching the preset temperature, the air conditioner usually reaches the preset temperature in the closed-loop running stage, so that automatic control and adjustment are performed.
Generally, the air conditioner can basically meet the temperature control requirement of a user through the control mode. However, under special conditions, such as a smaller temperature difference between the preset temperature and the ambient temperature or a smaller space to be temperature-adjusted, the preset temperature is easily reached in the open loop stage by using the control mode built in the air conditioner, and then the air conditioner continues to perform open loop operation with the given parameters, so that the ambient temperature exceeds the preset temperature, the ambient temperature is excessively low or high, and even the air conditioner is excessively shut down, thereby reducing the comfort level of users.
In view of this, the present disclosure provides a device control method, an apparatus, an electronic device, and a storage medium, by adjusting an operation parameter of a compressor of an air conditioner in an open loop stage, an environmental temperature difference of the air conditioner in an operation process is reduced, thereby avoiding an excessively low or high environmental temperature, reducing an excessively shutdown condition of a device to be controlled, and improving comfort level of a user.
Fig. 1 is a flowchart illustrating a device control method according to an exemplary embodiment, including the following steps, as shown in fig. 1.
In step S11, historical temperature data of the device to be controlled during the historical operation is determined.
In step S12, an environmental comfort parameter is determined from the historical temperature data, the environmental comfort parameter being used to characterize the environmental temperature change of the device to be controlled during the historical operation.
In step S13, based on the environmental comfort parameter, the operation parameter of the device to be controlled in the open loop stage is adjusted to reduce the environmental temperature difference of the device to be controlled in the current operation process, where the environmental temperature difference is the difference between the environmental temperature and the preset temperature after the environmental temperature reaches the preset temperature.
By way of example, the device to be controlled may be an electronic device having a temperature control requirement such as an air conditioner, which is not limited by the present disclosure. In the embodiment of the disclosure, firstly, the historical temperature data of the equipment to be controlled in the historical operation process is determined, then the environmental comfort parameter is determined according to the historical temperature data, and finally, the operation parameter of the equipment to be controlled in the open loop stage is adjusted based on the environmental comfort parameter, so that the environmental temperature difference of the equipment to be controlled in the operation process is reduced, the situation that the equipment to be controlled is out of operation due to the fact that the difference between the environmental temperature and the preset temperature is overlarge after the environmental temperature reaches the preset temperature is avoided, the condition that the equipment to be controlled is out of operation due to the fact that the equipment to be controlled is out of operation is reduced, and the comfort level of a user is improved.
In order to make those skilled in the art more understand the device control method provided by the present disclosure, each of the above steps is illustrated in detail below.
It should be noted that the historical temperature data includes a historical indoor temperature, a historical outdoor temperature, and a historical preset temperature. Because the environmental temperature is prevented from being too low or too high after the environmental temperature reaches the preset temperature, the environmental comfort parameter can be determined by using the temperature data acquired after the indoor temperature reaches the preset temperature. Referring to fig. 2, it is known through experiments that the indoor temperature generally reaches a preset temperature within 35 minutes of starting the apparatus and fluctuates around the preset temperature, and in order to avoid unnecessary loss caused by collecting temperature data for a long time, the period of acquiring the temperature data may be set to a period of 35 minutes to 120 minutes after starting the apparatus. If the difference between the indoor temperature and the preset temperature is smaller in the time period, the indoor temperature is closer to the temperature required by the user, and the experience and comfort of the user are higher. The time period for acquiring the temperature data can be adjusted according to the requirements and the test, which is not particularly limited in the present disclosure.
In a possible manner, before determining the historical temperature data of the device to be controlled during the historical operation, it is determined that the historical operation parameter of the device to be controlled during the historical operation satisfies the first operation parameter condition. Before the environmental comfort parameter is determined according to the historical temperature data, determining that the historical operating parameter of the equipment to be controlled in the historical operating process meets the second operating parameter condition, and that the historical environmental parameter of the equipment to be controlled in the historical operating process meets the environmental parameter condition.
For example, in order to ensure the validity of the historical temperature data, it is required to determine that the historical operating parameter of the device to be controlled in the historical operating process satisfies the first operating parameter condition, for example, the device to be controlled is not failed, no operating record is present for 4 hours before starting, and the like, before acquiring the historical temperature data. Therefore, the equipment to be controlled can be ensured to normally operate during the period of acquiring temperature data, the complete process from the initial temperature to the preset temperature of the indoor temperature can be recorded, and the influence of acquiring abnormal temperature data on the accuracy of operation parameters is avoided.
For example, before determining the environmental comfort parameter from the historical temperature data, it is determined that the historical operating parameter of the device to be controlled satisfies the second operating parameter condition and the historical environmental parameter satisfies the environmental parameter condition during a period of time in which the historical temperature data is acquired. If the device to be controlled switches the working mode or changes the preset temperature during the period of acquiring the temperature data, the acquired data can fluctuate greatly, and can be regarded as invalid data. Thus, the second operating parameter condition includes determining that the device to be controlled does not switch operating modes within 120 minutes after start-up and determining that the device to be controlled does not change the preset temperature within 10 minutes to 120 minutes after start-up.
In addition, if the device to be controlled is not close to the preset temperature at the preset time after the device to be controlled is started, the abnormal temperature control capability of the device to be controlled is indicated, for example, the device is in fault, or the indoor temperature cannot be increased or reduced due to the fact that a user opens a door or window. And when the equipment to be controlled performs refrigeration, if the outdoor temperature is too low, the equipment to be controlled may not perform refrigeration operation. Therefore, the environmental parameter conditions include determining that the difference between the indoor temperature of the device to be controlled and the preset temperature is less than 4 ℃ 10 minutes after the start-up, and determining that the outdoor temperature of the device to be controlled is greater than or equal to 20 ℃ 10 minutes after the start-up when the working mode of the device to be controlled is the cooling mode. The first operation parameter condition, the second operation parameter condition and the environmental parameter condition can be adjusted according to requirements and tests, so long as the normal operation of the equipment to be controlled is ensured, the reliability of the collected temperature data is high, and the method is not limited by the disclosure.
In a possible manner, before determining the environmental comfort parameter according to the historical temperature data, determining that the second temperature difference value is within a preset temperature difference range, wherein the second temperature difference value is used for representing a difference value between an average temperature corresponding to the historical temperature data and a historical preset temperature.
For example, the indoor temperature generally fluctuates up and down at a preset temperature when the indoor temperature reaches the preset temperature. If the door and window is opened at this time, the indoor temperature fluctuation is larger, and in order to avoid using invalid data with larger fluctuation, a preset temperature difference range can be set to be +/-0.6 ℃. That is, it is desirable to determine that the acquired temperature data has no significant abnormal fluctuations before determining the environmental comfort parameter from the historical temperature data. In this way, the validity of the temperature data can be further ensured, and the accuracy of the operation parameters can be improved.
In a possible manner, determining the environmental comfort parameter from the historical temperature data may be: determining as environmental comfort parameters from the historical temperature data at least one of the following: a first temperature difference value between a maximum temperature value and a minimum temperature value in the historical temperature data, a standard difference value of the historical temperature data and a difference value between an average temperature corresponding to the historical temperature data and a historical preset temperature.
For example, it is possible to set the acquisition indoor temperature once per unit time during the acquisition of the temperature data and calculate a first temperature difference value between the maximum and minimum indoor temperatures, a standard difference value of the indoor temperatures, and a difference value between the average preset temperature and the preset temperature. The first temperature difference value may represent temperature fluctuation, the standard difference value may represent control stability, and the difference value between the average temperature and the historical preset temperature may represent temperature control accuracy. Therefore, the operation parameters of the equipment to be controlled in the open loop stage can be adjusted by combining the temperature fluctuation, the control stability and the temperature control accuracy, and the control accuracy is improved.
In a possible way, the adjustment of the operating parameters of the device to be controlled in the open loop phase may be based on the environmental comfort parameters: firstly, an adjustment coefficient is determined based on the environmental comfort parameter, and the adjustment coefficient is used for adjusting the operation frequency of equipment to be controlled in an open loop stage. And then determining a difference value between the adjustment coefficient and the current operating frequency of the equipment to be controlled, determining a maximum value as a target operating frequency in the lower limit operating frequency and the difference value of the equipment to be controlled, and adjusting the operating frequency of the equipment to be controlled in an open loop stage to the target operating frequency.
For example, when the difference between the average temperature corresponding to the historical temperature data and the historical preset temperature is within the preset temperature difference range, the adjustment coefficient may be determined by the following calculation formula:
X=A/4+B
wherein X represents an adjustment coefficient, A represents a first temperature difference value between a maximum temperature value and a minimum temperature value in the historical temperature data, and B represents a standard difference value of the historical temperature data. Then, the target operating frequency is determined by the following calculation formula:
F=max(F min ,(F cal -X))
wherein F represents a target operating frequency, F min Representing a lower limit operating frequency set by the device to be controlled, F cal Indicating the device to be controlledThe operating frequency (namely the current operating frequency of the equipment to be controlled) set by the built-in control mode is prepared.
It should be understood that the above calculation formula for calculating the adjustment coefficient is merely an example, and in other possible manners, the calculation formula may be determined according to a numerical relationship between experimental data (including temperature data and open loop operating frequency) in an actual application scenario, so long as it is ensured that a temperature variation difference represented by the temperature data is positively correlated with the adjustment coefficient, which is not limited in the embodiments of the disclosure.
By the method, the historical temperature data can be used for obtaining the adjustment coefficient, and the operation frequency of the equipment to be controlled in the open loop stage is adjusted based on the adjustment coefficient. If the adjustment coefficient is larger, the fact that the indoor temperature fluctuation of the equipment to be controlled is larger in the history operation process is indicated, namely, the difference between the indoor temperature and the preset temperature is larger due to the fact that the set operation frequency is too high. Therefore, it is required to reduce the operating frequency of the device to be controlled in the open loop stage, and reduce the fluctuation of indoor temperature, so as to improve the comfort of users.
In a possible manner, determining the environmental comfort parameter from the historical temperature data may be: and determining environmental comfort parameters corresponding to the multiple historical operation processes according to the historical temperature data in the multiple historical operation processes. Based on the environmental comfort parameter, determining the adjustment coefficient may be: and determining candidate adjustment coefficients corresponding to the multiple historical operation processes according to the environmental comfort parameters corresponding to the multiple historical operation processes, and taking the average value of the candidate adjustment coefficients corresponding to the multiple historical operation processes as the adjustment coefficient.
For example, after each time the adjustment coefficient is determined according to the historical temperature, the adjustment coefficient is stored as a candidate adjustment coefficient, and then the average value of a plurality of candidate adjustment coefficients is calculated as the adjustment coefficient to adjust the operation parameter when the device to be controlled is started at this time. For example, 20 candidate adjustment coefficients may be stored, and if a new candidate adjustment coefficient needs to be stored, the earliest stored candidate adjustment coefficient is deleted. Thus, the error of single data is reduced, and the operating frequency of the equipment to be controlled in the open loop stage is more accurately adjusted.
It is worth to say that, after the operation frequency of the equipment to be controlled in the open loop stage is adjusted for many times, the adjustment coefficient gradually converges to a fixed value, which means that after many times of adjustment, the environmental temperature difference of the equipment to be controlled in the operation process is smaller. That is, after the indoor temperature reaches the preset temperature after the control device is started, the difference between the indoor temperature and the preset temperature is small, so that the comfort level of a user is improved.
Fig. 3 is another flow chart illustrating a device control method according to an exemplary embodiment, see fig. 3, including:
in step S31, after the device to be controlled is started, it is determined whether the operation parameter of the device to be controlled satisfies the first operation parameter condition.
Further, if the operation parameter of the device to be controlled meets the first operation parameter condition, step S32 is executed, otherwise step S36 is executed.
In step S32, temperature data of the device to be controlled during operation is acquired.
In step S33, it is determined whether the operation parameter of the device to be controlled in the operation process satisfies the second operation parameter condition and whether the environmental parameter of the device to be controlled in the operation process satisfies the environmental parameter condition.
Further, if the above conditions are satisfied at the same time, step S34 is executed, otherwise step S36 is executed.
In step S34, it is determined whether the difference between the average indoor temperature and the preset temperature in the temperature data is within the preset temperature difference range.
Further, if the temperature difference is within the preset temperature difference range, step S35 is performed, otherwise step S36 is performed.
In step S35, an adjustment coefficient is calculated according to the temperature data, and the adjustment coefficient is stored, where the adjustment coefficient may be used to adjust the operating frequency of the open loop stage when the device to be controlled is started next time.
In step S36, the calculation process of the adjustment coefficient is exited.
The specific embodiments of the above steps are illustrated in detail above, and will not be repeated here. It should be further understood that for the purposes of simplicity of explanation of the above method embodiments, all of them are depicted as a series of acts in combination, but it should be appreciated by those skilled in the art that the present disclosure is not limited by the order of acts described above. Further, it should also be appreciated by those skilled in the art that the embodiments described above are preferred embodiments and that the steps involved are not necessarily required by the present disclosure.
By the method, whether the condition for calculating the adjustment coefficient is met or not can be judged when the equipment to be controlled runs each time. Under the condition that the calculation condition is not met, temperature data are not acquired or adjustment coefficients are not calculated, and interference of invalid data is avoided. And calculating an adjustment coefficient when the calculation condition is satisfied, and storing the adjustment coefficient. When the equipment to be controlled is started next time, the operation parameters of the equipment to be controlled in an open loop stage are adjusted based on the adjustment coefficients, so that the environmental temperature difference of the equipment to be controlled in the operation process is reduced, the condition that the equipment to be controlled is out of operation is reduced, and the comfort level of a user is improved.
Of course, in other possible manners, related data (including an operation parameter, environmental temperature data, and the like) in each operation process may be directly stored, historical temperature data of the device to be controlled in the historical operation process may be determined by reading the stored data when the device to be controlled is started next time, then an environmental comfort parameter is determined according to the historical temperature data, and finally the operation parameter of the device to be controlled in the open loop stage is adjusted based on the environmental comfort parameter.
Based on the same concept, the present disclosure also provides an apparatus control device, referring to fig. 4, the apparatus control device 400 includes a first determination module 401, a second determination module 402, and an adjustment module 403.
The first determination module 401 is configured to determine historical temperature data of the device to be controlled during historical operation.
The second determination module 402 is configured to determine an environmental comfort parameter from the historical temperature data, the environmental comfort parameter being used to characterize an environmental temperature change of the device to be controlled during the historical operation.
The adjusting module 403 is configured to adjust an operation parameter of the device to be controlled in an open loop stage based on the environmental comfort parameter, so as to reduce an environmental temperature difference of the device to be controlled in the current operation process, where the environmental temperature difference is a difference between an environmental temperature and a preset temperature after the environmental temperature reaches the preset temperature.
Through the device, firstly, the historical temperature data of the equipment to be controlled in the historical operation process is determined, then the environmental comfort parameter is determined according to the historical temperature data, and finally the operation parameter of the equipment to be controlled in the open loop stage is adjusted based on the environmental comfort parameter so as to reduce the environmental temperature difference of the equipment to be controlled in the current operation process. Thereby avoiding the overlarge difference between the ambient temperature and the preset temperature after the ambient temperature reaches the preset temperature, and improving the comfort level of the user.
Optionally, the second determining module 402 is configured to:
determining, as environmental comfort parameters, from the historical temperature data, at least one of:
a first temperature difference between a maximum temperature value and a minimum temperature value in the historical temperature data;
standard deviation of the historical temperature data;
and the difference value between the average temperature corresponding to the historical temperature data and the historical preset temperature.
Optionally, the device control apparatus 400 further comprises a third determination module configured to: before the environmental comfort parameter is determined according to the historical temperature data, a second temperature difference value is determined to be in a preset temperature difference range, and the second temperature difference value is used for representing the difference value between the average temperature corresponding to the historical temperature data and the historical preset temperature.
Optionally, the adjustment module 403 is configured to:
determining an adjustment coefficient based on the environmental comfort parameter, wherein the adjustment coefficient is used for adjusting the operating frequency of the equipment to be controlled in an open loop stage;
determining a difference value between the adjustment coefficient and the current operating frequency of the equipment to be controlled;
and determining the maximum value as a target operating frequency in the lower limit operating frequency of the equipment to be controlled and the difference value, and adjusting the operating frequency of the equipment to be controlled in an open loop stage to the target operating frequency.
Optionally, the first determining module 401 is configured to:
according to historical temperature data in a plurality of historical operation processes, determining environment comfort parameters corresponding to the historical operation processes;
the adjustment module 403 is configured to:
and determining candidate adjustment coefficients corresponding to the multiple historical operation processes according to the environmental comfort parameters corresponding to the multiple historical operation processes, and taking the average value of the candidate adjustment coefficients corresponding to the multiple historical operation processes as the adjustment coefficient.
Optionally, the device control apparatus 400 further comprises a fourth determination module configured to:
before the historical temperature data of the equipment to be controlled in the historical operation process is determined, determining that the historical operation parameters of the equipment to be controlled in the historical operation process meet a first operation parameter condition; and/or the number of the groups of groups,
before the environmental comfort parameter is determined according to the historical temperature data, determining that the historical operating parameter of the equipment to be controlled in the historical operating process meets a second operating parameter condition, and determining that the historical environmental parameter of the equipment to be controlled in the historical operating process meets the environmental parameter condition.
The specific manner in which the various modules perform the operations in the apparatus of the above embodiments have been described in detail in connection with the embodiments of the method, and will not be described in detail herein.
Based on the same conception, the present disclosure also provides a computer-readable storage medium having stored thereon computer program instructions which, when executed by a processor, implement the steps of the device control method provided by the present disclosure.
Based on the same concept, the present disclosure also provides an electronic device, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
determining historical temperature data of equipment to be controlled in a historical operation process;
determining an environmental comfort parameter according to the historical temperature data, wherein the environmental comfort parameter is used for representing the environmental temperature change condition of the equipment to be controlled in the historical operation process;
and adjusting the operation parameters of the equipment to be controlled in the open loop stage based on the environmental comfort parameters so as to reduce the environmental temperature difference of the equipment to be controlled in the current operation process, wherein the environmental temperature difference is the difference between the environmental temperature and the preset temperature after the environmental temperature reaches the preset temperature.
Of course, the processor of the electronic device may also perform the steps of any of the above device control methods, which are not limited in this disclosure.
Fig. 5 is a block diagram of an electronic device 800, according to an example embodiment. For example, the electronic device 800 may be a computer, a messaging device, a tablet device, a personal digital assistant, or the like.
Referring to fig. 5, an electronic device 800 may include one or more of the following components: a processing component 802, a memory 804, a power component 806, a multimedia component 808, an audio component 810, an input/output (I/O) interface 812, a sensor component 814, and a communication component 816.
The processing component 802 generally controls overall operation of the electronic device 800, such as operations associated with display, data communication, camera operations, and recording operations. The processing component 802 may include one or more processors 820 to execute instructions to perform all or part of the steps of the device control methods described above. Further, the processing component 802 can include one or more modules that facilitate interactions between the processing component 802 and other components. For example, the processing component 802 can include a multimedia module to facilitate interaction between the multimedia component 808 and the processing component 802.
The memory 804 is configured to store various types of data to support operations at the electronic device 800. Examples of such data include instructions for any application or method operating on electronic device 800. The memory 804 may be implemented by any type or combination of volatile or nonvolatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk.
The power component 806 provides power to the various components of the electronic device 800. Power components 806 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for electronic device 800.
The multimedia component 808 includes a screen between the electronic device 800 and the user that provides an output interface. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may sense not only the boundary of a touch or slide action, but also the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front camera and/or a rear camera. When the electronic device 800 is in an operational mode, such as a shooting mode or a video mode, the front camera and/or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
The audio component 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a Microphone (MIC) configured to receive external audio signals when the electronic device 800 is in an operational mode, such as a recording mode and a speech recognition mode. The received audio signals may be further stored in the memory 804 or transmitted via the communication component 816. In some embodiments, audio component 810 further includes a speaker for outputting audio signals.
The I/O interface 812 provides an interface between the processing component 802 and peripheral interface modules, which may be a keyboard, click wheel, buttons, etc. These buttons may include, but are not limited to: homepage button, volume button, start button, and lock button.
The sensor assembly 814 includes one or more sensors for providing status assessment of various aspects of the electronic device 800. For example, the sensor assembly 814 may detect an on/off state of the electronic device 800, a relative positioning of the components, such as a display and keypad of the electronic device 800, the sensor assembly 814 may also detect a change in position of the electronic device 800 or a component of the electronic device 800, the presence or absence of a user's contact with the electronic device 800, an orientation or acceleration/deceleration of the electronic device 800, and a change in temperature of the electronic device 800. The sensor assembly 814 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscopic sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 816 is configured to facilitate communication between the electronic device 800 and other devices, either wired or wireless. The electronic device 800 may access a wireless network based on a communication standard, such as WiFi,2G, or 3G, or a combination thereof. In one exemplary embodiment, the communication component 816 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, the communication component 816 further includes a Near Field Communication (NFC) module to facilitate short range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, ultra Wideband (UWB) technology, bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the electronic device 800 may be implemented by one or more Application Specific Integrated Circuits (ASICs), digital Signal Processors (DSPs), digital Signal Processing Devices (DSPDs), programmable Logic Devices (PLDs), field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic elements for performing the device control methods described above.
In an exemplary embodiment, a non-transitory computer readable storage medium is also provided, such as memory 804 including instructions executable by processor 820 of electronic device 800 to perform the device control method described above. For example, the non-transitory computer readable storage medium may be ROM, random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, etc.
In another exemplary embodiment, a computer program product is also provided, comprising a computer program executable by a programmable apparatus, the computer program having code portions for performing the above-described device control method when executed by the programmable apparatus.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure. This application is intended to cover any adaptations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It is to be understood that the present disclosure is not limited to the precise arrangements and instrumentalities shown in the drawings, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (8)

1. A method of controlling a device, the method comprising:
determining historical temperature data of equipment to be controlled in a historical operation process;
determining an environmental comfort parameter according to the historical temperature data, wherein the environmental comfort parameter is used for representing the environmental temperature change condition of the equipment to be controlled in the historical operation process, and the environmental comfort parameter comprises at least one of the following parameters: a first temperature difference value between a maximum temperature value and a minimum temperature value in the historical temperature data, a standard difference value of the historical temperature data, and a difference value between an average temperature corresponding to the historical temperature data and a historical preset temperature;
and adjusting the operation parameters of the equipment to be controlled in the open loop stage based on the environmental comfort parameters so as to reduce the environmental temperature difference of the equipment to be controlled in the current operation process, wherein the environmental temperature difference is the difference between the environmental temperature and the preset temperature after the environmental temperature reaches the preset temperature.
2. The method according to claim 1, wherein the method further comprises:
before the environmental comfort parameter is determined according to the historical temperature data, a second temperature difference value is determined to be in a preset temperature difference range, and the second temperature difference value is used for representing the difference value between the average temperature corresponding to the historical temperature data and the historical preset temperature.
3. The method according to claim 1 or 2, wherein said adjusting the operating parameters of the device to be controlled in the open loop phase based on the environmental comfort parameters comprises:
determining an adjustment coefficient based on the environmental comfort parameter, wherein the adjustment coefficient is used for adjusting the operating frequency of the equipment to be controlled in an open loop stage;
determining a difference value between the adjustment coefficient and the current operating frequency of the equipment to be controlled;
and determining the maximum value as a target operating frequency in the lower limit operating frequency of the equipment to be controlled and the difference value, and adjusting the operating frequency of the equipment to be controlled in an open loop stage to the target operating frequency.
4. A method according to claim 3, wherein said determining an environmental comfort parameter from said historical temperature data comprises:
according to historical temperature data in a plurality of historical operation processes, determining environment comfort parameters corresponding to the historical operation processes;
the determining an adjustment factor based on the environmental comfort parameter includes:
and determining candidate adjustment coefficients corresponding to the multiple historical operation processes according to the environmental comfort parameters corresponding to the multiple historical operation processes, and taking the average value of the candidate adjustment coefficients corresponding to the multiple historical operation processes as the adjustment coefficient.
5. The method according to claim 1 or 2, characterized in that the method further comprises:
before the historical temperature data of the equipment to be controlled in the historical operation process is determined, determining that the historical operation parameters of the equipment to be controlled in the historical operation process meet a first operation parameter condition; and/or the number of the groups of groups,
before the environmental comfort parameter is determined according to the historical temperature data, determining that the historical operating parameter of the equipment to be controlled in the historical operating process meets a second operating parameter condition, and determining that the historical environmental parameter of the equipment to be controlled in the historical operating process meets the environmental parameter condition.
6. A device control apparatus for use in the method of any one of claims 1-5, the apparatus comprising:
a first determining module configured to determine historical temperature data of the device to be controlled during historical operation;
a second determining module configured to determine an environmental comfort parameter according to the historical temperature data, wherein the environmental comfort parameter is used for representing the environmental temperature change condition of the equipment to be controlled in the historical operation process, and the environmental comfort parameter comprises at least one of the following parameters: a first temperature difference value between a maximum temperature value and a minimum temperature value in the historical temperature data, a standard difference value of the historical temperature data, and a difference value between an average temperature corresponding to the historical temperature data and a historical preset temperature;
the adjusting module is configured to adjust the operation parameters of the equipment to be controlled in the open loop stage based on the environmental comfort parameters so as to reduce the environmental temperature difference of the equipment to be controlled in the current operation process, wherein the environmental temperature difference is the difference between the environmental temperature and the preset temperature after the environmental temperature reaches the preset temperature.
7. An electronic device for use in the method of any one of claims 1-5, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
determining historical temperature data of equipment to be controlled in a historical operation process;
determining an environmental comfort parameter according to the historical temperature data, wherein the environmental comfort parameter is used for representing the environmental temperature change condition of the equipment to be controlled in the historical operation process, and the environmental comfort parameter comprises at least one of the following parameters: a first temperature difference value between a maximum temperature value and a minimum temperature value in the historical temperature data, a standard difference value of the historical temperature data, and a difference value between an average temperature corresponding to the historical temperature data and a historical preset temperature;
and adjusting the operation parameters of the equipment to be controlled in the open loop stage based on the environmental comfort parameters so as to reduce the environmental temperature difference of the equipment to be controlled in the current operation process, wherein the environmental temperature difference is the difference between the environmental temperature and the preset temperature after the environmental temperature reaches the preset temperature.
8. A computer readable storage medium having stored thereon computer program instructions, which when executed by a processor, implement the steps of the method of any of claims 1 to 5.
CN202210038656.7A 2022-01-13 2022-01-13 Equipment control method, device, electronic equipment and storage medium Active CN114396715B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210038656.7A CN114396715B (en) 2022-01-13 2022-01-13 Equipment control method, device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210038656.7A CN114396715B (en) 2022-01-13 2022-01-13 Equipment control method, device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN114396715A CN114396715A (en) 2022-04-26
CN114396715B true CN114396715B (en) 2023-08-08

Family

ID=81230582

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210038656.7A Active CN114396715B (en) 2022-01-13 2022-01-13 Equipment control method, device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114396715B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09159284A (en) * 1995-12-05 1997-06-20 Matsushita Electric Ind Co Ltd Expansion valve control device for air conditioner
EP2532992A1 (en) * 2011-06-09 2012-12-12 Mitsubishi Heavy Industries Multi-type air conditioner and control method therefor
CN107883524A (en) * 2017-10-19 2018-04-06 广东美的制冷设备有限公司 Air conditioner energy-saving temperature control method, air conditioner and storage medium
CN108119990A (en) * 2017-12-18 2018-06-05 珠海格力电器股份有限公司 Air source heat pump and its control method and device
JP2018128158A (en) * 2017-02-06 2018-08-16 ダイキン工業株式会社 Air conditioner
KR20190016261A (en) * 2017-08-08 2019-02-18 엘지전자 주식회사 Heat pump and Method for controlling the same
CN110848894A (en) * 2019-11-15 2020-02-28 北京小米移动软件有限公司 Control method and device of environment adjusting equipment and storage medium
CN112432307A (en) * 2020-11-17 2021-03-02 珠海格力电器股份有限公司 Water pump evaluation method and device, air conditioning system, storage medium and electronic equipment
CN112984702A (en) * 2021-03-26 2021-06-18 广东Tcl智能暖通设备有限公司 Control method of fixed-frequency air conditioner, fixed-frequency air conditioner and storage medium
CN113154650A (en) * 2019-06-28 2021-07-23 广东美的制冷设备有限公司 Air conditioner, method of controlling the same, and computer-readable storage medium

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6111499B2 (en) * 2013-02-13 2017-04-12 パナソニックIpマネジメント株式会社 Air conditioning system, indicating device
CN107101329B (en) * 2017-04-25 2020-03-31 青岛海尔空调器有限总公司 Air conditioner heating operation control method and control device

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09159284A (en) * 1995-12-05 1997-06-20 Matsushita Electric Ind Co Ltd Expansion valve control device for air conditioner
EP2532992A1 (en) * 2011-06-09 2012-12-12 Mitsubishi Heavy Industries Multi-type air conditioner and control method therefor
JP2018128158A (en) * 2017-02-06 2018-08-16 ダイキン工業株式会社 Air conditioner
KR20190016261A (en) * 2017-08-08 2019-02-18 엘지전자 주식회사 Heat pump and Method for controlling the same
CN107883524A (en) * 2017-10-19 2018-04-06 广东美的制冷设备有限公司 Air conditioner energy-saving temperature control method, air conditioner and storage medium
CN108119990A (en) * 2017-12-18 2018-06-05 珠海格力电器股份有限公司 Air source heat pump and its control method and device
CN113154650A (en) * 2019-06-28 2021-07-23 广东美的制冷设备有限公司 Air conditioner, method of controlling the same, and computer-readable storage medium
CN110848894A (en) * 2019-11-15 2020-02-28 北京小米移动软件有限公司 Control method and device of environment adjusting equipment and storage medium
CN112432307A (en) * 2020-11-17 2021-03-02 珠海格力电器股份有限公司 Water pump evaluation method and device, air conditioning system, storage medium and electronic equipment
CN112984702A (en) * 2021-03-26 2021-06-18 广东Tcl智能暖通设备有限公司 Control method of fixed-frequency air conditioner, fixed-frequency air conditioner and storage medium

Also Published As

Publication number Publication date
CN114396715A (en) 2022-04-26

Similar Documents

Publication Publication Date Title
CN114508830A (en) Method for controlling operation of air conditioner, electronic device and storage medium
CN114396715B (en) Equipment control method, device, electronic equipment and storage medium
CN114543263B (en) Coil temperature control method, coil temperature control device and storage medium
CN112393376A (en) Intelligent household equipment fault processing method and device and storage medium
CN114384948B (en) Equipment control method, device, electronic equipment and storage medium
CN114413437B (en) Air conditioner compressor parameter adjusting method, device and storage medium
CN116221944A (en) Anti-condensation control method and device, air conditioning equipment and storage medium
CN114337242A (en) Method and apparatus for determining a switching current threshold of a power factor correction module
CN114353273B (en) Equipment control method, device, electronic equipment and storage medium
CN115289644A (en) Indoor environment temperature compensation method and device during air conditioner heating and air conditioning system
CN107528098B (en) Charging method and device
CN115866128A (en) Electronic device control method, electronic device control device, electronic device control medium, and electronic device
CN115095966B (en) Control method, control device, communication equipment and storage medium
CN115289653B (en) Control method and device for operating frequency and storage medium
CN114738936B (en) Air conditioner control method, device, electronic equipment and readable storage medium
CN114543231B (en) Air conditioner control method, air conditioner control device and storage medium
CN115342474A (en) Outdoor environment temperature processing method and device, electronic equipment and storage medium
CN115950053A (en) Air conditioner defrosting control method and device, air conditioner and storage medium
CN115289642A (en) Control method, device, equipment and storage medium
CN115325603A (en) Method and device for adjusting return water temperature of heat pump unit
CN115899979A (en) Air conditioner temperature compensation control method and device, air conditioner and storage medium
CN118089222A (en) Frequency adjusting method and device, air conditioner and storage medium
CN115950054A (en) Air conditioner defrosting control method and device, air conditioner and medium
CN115289635A (en) Temperature correction method, device and storage medium
CN116697527A (en) Air conditioner defrosting control method and device, air conditioner and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant