Hot water machine control method, device, storage medium, control device and hot water machine
By de-jittering the sensor data of the water heater and controlling the working parameters of the water heater according to the effective status parameters and power consumption parameters, the problem of relying on user experience and sensor jitter in the existing technology is solved, and more accurate and automated water heater control is achieved.
Patent Information
- Application Number
- CN202310088337.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-01-17
- Publication Date
- 2025-06-17
- Estimated Expiration
- 2043-01-17
AI Technical Summary
The existing water heater control method depends on user experience, and some sensor readings have large jitters, which cannot better reflect the changes in actual operating parameters.
By obtaining the initial state parameters of the water heater system parameters uploaded by the sensor, de-jitter processing is performed to obtain the effective state parameters, the control excitation parameters are obtained based on the effective state parameters and power consumption parameters, and finally the working parameters of the water heater are controlled.
The jitter of the sensor reading is reduced, which better reflects the changes in actual operating parameters, and all control foundations are the same, and experts do not need to set them based on experience, alleviating the technical problems that rely on user experience.
Smart Images

Figure CN116105371B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of device control, and particularly to a control method, device, storage medium, control device, and water heater for a water heater. Background Art
[0002] The energy consumption of heat pump systems accounts for 15%-20% of the total social energy consumption, and its energy-saving work is of great significance. Saving system energy consumption by controlling the set values of key parameters during the operation of heat pump systems has become a direction for energy-saving of water heaters such as heat pumps.
[0003] Currently, users such as experts adjust the operating parameters of water heaters based on the data fed back by sensors according to experience. This method depends on user experience and is not easy to promote. Moreover, there are large fluctuations in the readings of some sensors, and it is impossible to better reflect the changes in actual operating parameters.
[0004] In summary, the current control method for water heaters has the technical problem of relying on user experience. Summary of the Invention
[0005] In view of the above problems, this application provides a control method, device, storage medium, control device, and water heater for a water heater to alleviate the technical problem of relying on user experience in the current control method for water heaters.
[0006] In a first aspect, this application provides a control method for a water heater, the method including:
[0007] Obtain the initial state parameters of the water heater system parameters uploaded by the sensor;
[0008] Perform a de-jitter process on the initial state parameters to obtain effective state parameters;
[0009] Obtain control excitation parameters based on the effective state parameters and power consumption parameters;
[0010] Control the working parameters of the water heater according to the control excitation parameters.
[0011] In some embodiments, the step of performing a de-jitter process on the initial state parameters includes:
[0012] Determine an initial high-frequency curve based on the initial state parameters;
[0013] Use a high-pass filter unit to perform a de-jitter process on the initial high-frequency curve to obtain an effective high-frequency curve;
[0014] Determine the effective state parameters based on the effective high-frequency curve.
[0015] In some embodiments, the step of using the high-pass filter unit to perform jitter removal processing on the initial high-frequency curve to obtain an effective high-frequency curve includes:
[0016] Based on a preset time interval value, equally divide the initial high-frequency curve to obtain parameter values corresponding to multiple time intervals;
[0017] Obtain the total parameter value corresponding to each time interval;
[0018] According to the total parameter value and a preset threshold value, determine the target time interval where there is a change in the sensor value;
[0019] According to the parameter value change in the target time interval, determine the sensor change value in the target time interval;
[0020] Process the initial high-frequency curve according to the sensor change value in the target time interval to obtain the effective high-frequency curve.
[0021] In some embodiments, the step of controlling the operating parameters of the water heater according to the control excitation parameters includes:
[0022] Adjust the operating parameters of the water heater;
[0023] Obtain the effective state parameter and the power consumption parameter corresponding to the adjusted operating parameter;
[0024] According to the effective state parameter and the power consumption parameter corresponding to the adjusted operating parameter, determine the control excitation parameter corresponding to the adjusted operating parameter;
[0025] According to the control excitation parameter corresponding to the adjusted operating parameter and the control excitation parameter corresponding to the operating parameter before adjustment, determine the change trend of the control excitation parameter;
[0026] According to the change trend of the control excitation parameter, determine the adjustment trend of the operating parameter.
[0027] In some embodiments, the operating parameters include at least one of a compressor frequency, an expansion valve opening degree, and a fan speed.
[0028] In some embodiments, the step of obtaining the control excitation parameter according to the effective state parameter and the power consumption parameter includes:
[0029] Obtain a preset excitation function;
[0030] According to the effective state parameter and the target state parameter at a preset moment, determine the difference in the state parameter at the preset moment;
[0031] Based on the difference in state parameters and power consumption parameters at the preset moment, obtain the control excitation parameter at the preset moment based on the excitation function.
[0032] In some embodiments, the water heater system parameters include the ambient temperature of the environment where the water heater is located.
[0033] In a second aspect, the present application provides a water heater control device, characterized in that the device includes:
[0034] An acquisition module, configured to acquire the initial state parameters of the water heater system parameters uploaded by the sensor;
[0035] A processing module, configured to perform debounce processing on the initial state parameters to obtain effective state parameters;
[0036] An excitation module, configured to obtain a control excitation parameter according to the effective state parameter and the power consumption parameter;
[0037] A control module, configured to control the working parameters of the water heater according to the control excitation parameter.
[0038] In a third aspect, an embodiment of the present invention provides a storage medium, on which a computer program is stored. When the computer program is executed by one or more processors, the method described in the first aspect is implemented.
[0039] In a fourth aspect, an embodiment of the present invention provides a control device, including a memory and a processor. A computer program is stored on the memory. When the computer program is executed by the processor, the method described in the first aspect is implemented.
[0040] In a fifth aspect, an embodiment of the present invention provides a water heater, including the control device described in the fourth aspect.
[0041] Compared with the prior art, one or more of the above embodiments may have the following advantages or beneficial effects:
[0042] In the embodiments of the present application, by obtaining the initial state parameters of the hot water machine system parameters uploaded by the sensor, then performing debounce processing on the initial state parameters to obtain effective state parameters, then obtaining control excitation parameters according to the effective state parameters and power consumption parameters, and finally controlling the working parameters of the hot water machine according to the control excitation parameters. In this technical solution, on the one hand, debounce processing is performed on the data uploaded by the sensor, which can reduce the jitter in the sensor readings and thus better reflect the changes in the actual operating parameters. On the other hand, the working parameters of the hot water machine are controlled according to the control excitation parameters obtained from the effective state parameters and power consumption parameters, so that all control bases are the same and do not require experts to set according to experience, alleviating the technical problem of relying on user experience in the current hot water machine control method. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] In the following, the present application will be described in more detail based on embodiments and with reference to the drawings:
[0044] Figure 1 FIG. [X] is a flowchart of a hot water machine control method provided by an embodiment of the present application;
[0045] Figure 2 FIG. [X] is a flowchart of a data processing method provided by an embodiment of the present application;
[0046] Figure 3 FIG. [X] is a flowchart of a device control method provided by an embodiment of the present application;
[0047] Figure 4 FIG. [X] is a schematic structural diagram of a hot water machine control device provided by an embodiment of the present application;
[0048] Figure 5 FIG. [X] is a schematic curve diagram before data processing involved in an embodiment of the present application;
[0049] Figure 6 FIG. [X] is a schematic diagram of curve jitter involved in an embodiment of the present application;
[0050] Figure 7 FIG. [X] is a schematic curve diagram after data processing involved in an embodiment of the present application.
[0051] In the drawings, the same components are denoted by the same reference numerals, and the drawings are not drawn to actual scale. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0052] The embodiments of the present application will be described in detail below in conjunction with the accompanying drawings and examples, so as to fully understand how the present application uses technical means to solve technical problems and the implementation process of achieving corresponding technical effects and implement accordingly. The embodiments of the present application and each feature in the embodiments can be combined with each other on the premise of not conflicting, and the formed technical solutions are all within the protection scope of the present application.
[0053] At the same time, in the following description, many specific details are set forth for the purpose of explanation in order to provide a thorough understanding of the embodiments of the present invention. However, it is obvious to those skilled in the art that the present invention can be implemented without the specific details here or in the specific manner described.
[0054] Example 1
[0055] Figure 1 The first flowchart of the water heater control method provided by the embodiment of the present invention is shown. As Figure 1 shown, in this embodiment, the water heater control method provided by the present application includes:
[0056] Step S110: Obtain the initial state parameters of the water heater system parameters uploaded by the sensor.
[0057] In some embodiments, the water heater system parameters include various types of parameters that can reflect the working effect of the water heater. Hereinafter, an example is given in which the water heater system parameters include parameters such as the environmental temperature of the place where the water heater is located.
[0058] In some embodiments, this step may be that parameter sensors such as temperature sensors upload parameters such as the collected environmental temperature to the control device of the water heater, such as a CPU, etc.
[0059] Step S120: Perform debouncing processing on the initial state parameters to obtain effective state parameters.
[0060] In some embodiments, as Figure 6 shown, in the region where the temperature value changes, the temperature values collected by the sensor fluctuate up and down multiple times. If this kind of fluctuation is not removed, it will lead to subsequent calculation errors. Therefore, this step needs to perform debouncing processing on the data in these fluctuating regions (time intervals).
[0061] In some embodiments, this step includes: determining an initial high-frequency curve based on the initial state parameters; using a high-pass filter unit to perform debouncing processing on the initial high-frequency curve to obtain an effective high-frequency curve; determining the effective state parameters based on the effective high-frequency curve. Specifically, based on the initial state parameters uploaded by the temperature sensor, determine the initial high-frequency curve as shown in Figure 5 shown, and then for Figure 5Multiple of the curves shown Figure 6 By performing debouncing processing on the time interval shown, the following can be obtained Figure 7 The curve shown, and then specifically Figure 7 For the curve shown, the effective state parameters of the water heater at any moment can be known.
[0062] In some embodiments, the step of using a high-pass filter unit to perform debouncing processing on the initial high-frequency curve to obtain an effective high-frequency curve includes: equally dividing the initial high-frequency curve based on a preset time interval value to obtain parameter values corresponding to multiple time intervals; obtaining the total parameter value corresponding to each time interval; determining a target time interval with a sensor value change according to the total parameter value and a preset threshold value; determining the sensor change value of the target time interval according to the parameter value change of the target time interval; and processing the initial high-frequency curve according to the sensor change value of the target time interval to obtain the effective high-frequency curve. Specifically, for Figure 5 The curve shown is divided at a preset time interval value (for example, 1 second, which can be determined according to the sampling frequency of the sensor), and parameter values corresponding to many time intervals can be obtained. Each time interval corresponds to multiple parameter values, and then these data are summed to obtain the total parameter value corresponding to each time interval. Then, the time interval with the total parameter value greater than the preset threshold value is determined as the target time interval with a sensor value change (i.e., the interval where the parameter jitters), and finally, the parameter value change of the target time interval is used as the sensor change value, and then the initial high-frequency curve is processed to obtain Figure 7 The effective high-frequency curve shown.
[0063] Step S130: Obtain a control excitation parameter according to the effective state parameter and the power consumption parameter.
[0064] In some embodiments, this step includes: obtaining a preset excitation function; determining the state parameter difference at the preset moment according to the effective state parameter and the target state parameter at the preset moment; and obtaining the control excitation parameter at the preset moment based on the excitation function according to the state parameter difference and the power consumption parameter at the preset moment. For example, by setting the excitation function and determining the function coefficient, the calculation of the control excitation parameter can be performed quickly.
[0065] Step S140: Control the working parameters of the water heater according to the control excitation parameter.
[0066] In some embodiments, the working parameters include at least one of any parameter that affects the working effect, such as the compressor frequency, the opening degree of the expansion valve, and the fan speed.
[0067] In some embodiments, this step includes: adjusting the operating parameters of the water heater; obtaining the effective state parameters and the power consumption parameters corresponding to the adjusted operating parameters; determining the control excitation parameters corresponding to the adjusted operating parameters according to the effective state parameters and the power consumption parameters corresponding to the adjusted operating parameters; determining the change trend of the control excitation parameters according to the control excitation parameters corresponding to the adjusted operating parameters and the control excitation parameters corresponding to the operating parameters before adjustment; and determining the adjustment trend of the operating parameters according to the change trend of the control excitation parameters. This step determines the adjustment trend based on the change trend, making the adjustment closer to low power consumption.
[0068] In this embodiment, by obtaining the initial state parameters of the water heater system parameters uploaded by the sensor, then performing debounce processing on the initial state parameters to obtain effective state parameters, then obtaining control excitation parameters according to the effective state parameters and the power consumption parameters, and finally controlling the operating parameters of the water heater according to the control excitation parameters. In this technical solution, on the one hand, debounce processing is performed on the data uploaded by the sensor, which can reduce the jitter of the sensor readings and thus better reflect the changes in the actual operating parameters. On the other hand, the operating parameters of the water heater are controlled according to the control excitation parameters obtained from the effective state parameters and the power consumption parameters. In this way, all the control bases are the same and do not require experts to set according to experience, alleviating the technical problem of relying on user experience in the current water heater control method.
[0069] The present application will be further described in combination with a specific scenario.
[0070] In this scenario, the temperature sensor is taken as an example for illustration.
[0071] In the existing water heater control methods, most operate through traditional control methods and set control rules, with low intelligence, and most operating methods do not consider the actual operating energy consumption, resulting in energy waste. At the same time, in the existing methods, most adjust the operating parameters of the water heater through traditional control methods, and there are large jitters in the readings of some sensors, which cannot well reflect the change law of the actual operating parameters.
[0072] The digital filtering technology is becoming increasingly mature. In actual sensor data, there are often a large number of fluctuations at the positions where the numerical values change, that is, the signal frequency at the position where the numerical values change is relatively high. Based on this, in this embodiment, a digital filter is designed to retain the high-frequency characteristics of the signal, and then the sensor signal is processed to better reflect the parameter values during the actual operation of each parameter. At the same time, it can better control each state during the operation of the system; combined with the operation states of each parameter and the reinforcement learning method, the operation state of the system at the next moment is controlled. Taking the set temperature and the power consumption of the system as the criteria, the system can minimize the power consumption while ensuring the set operating temperature, thereby saving the energy consumption during the operation of the system; this method reduces the energy consumption during the operation of the water heater to a certain extent, meets the requirements of the set temperature of the system, improves the operation energy efficiency of the system, and further improves the intelligence level of the method.
[0073] In summary, this embodiment provides a multifunctional water heater energy-saving control method combining digital filtering and reinforcement learning; this method combines digital filtering technology and reinforcement learning technology, and based on the state of each parameter during the operation of the multifunctional water heater, combines the set temperature of the system and the power consumption to formulate an operation strategy for the multifunctional water heater, which not only saves the energy consumption during the operation of the equipment, but also meets the user's usage requirements and improves the intelligence level of the method.
[0074] Figure 2 Describes a method for processing the operation parameter state values of a multifunctional water heater based on digital filtering technology.
[0075] Such as Figure 2 shown, this method includes:
[0076] S210: Obtain the operation state of the water heater.
[0077] First of all, in this step, the operation states of each part of the water heater are obtained from the control terminal of the water heater.
[0078] S220: Perform frequency domain analysis on the signal.
[0079] Next, in this step, frequency analysis is performed on the signals of each parameter sensor.
[0080] S230: Remove sensor jitter.
[0081] In some embodiments, at the position where the sensor value changes, the energy of the high-frequency part is relatively high. Therefore, a high-pass filter is designed to process the sensor signal to obtain the high-frequency curve of the sensor signal. Then, the signal is equally spaced to obtain the sum of the values of the high-frequency signal within this time interval. A threshold is set based on experience. When the sum of the values within this period exceeds the preset threshold value, it is considered that there is a change in the sensor value within this time interval. This value change is used as the sensor change value to correct the sensor data, thereby removing the sensor data jitter and obtaining relatively smooth and relatively accurate change curves of various parameters.
[0082] S240: Process the data and save the result.
[0083] Finally, after being processed by the intelligent filtering algorithm, each data combination is saved, providing a data basis for the formulation of subsequent control strategies. In some embodiments, the key system states can be the indoor temperature (i.e., the ambient temperature of the environment where the water heater is located), the compressor frequency, the expansion valve opening degree, and the fan speed.
[0084] Taking the data uploaded by the sensor as the temperature as an example, as Figure 5 shown, before data processing, at the position where the temperature changes, there is significant jitter in the data. As Figure 7 shown, after data processing, the temperature range has become smooth, and there is no longer jitter at the temperature change position.
[0085] The specific processing method can be: add all the points to obtain the total change in temperature within this time interval, and then correct the data based on the total change.
[0086] Based on the method shown in Figure 2 , Figure 3 shows the flowchart of the calculation method of the control strategy for the multifunctional water heater based on reinforcement learning.
[0087] As Figure 3 shown, first, optimize the system state value (mainly the temperature) returned by the multifunctional water heater in the manner described in Figure 2 , then calculate the power consumption of the device based on the returned system state value; after that, set the reward function based on the current indoor temperature change and the device power consumption. Finally, set the system action value in combination with the reward function. The specific action values are set as follows: the compressor can adjust the frequency up and down to obtain a new state; the fan adjusts the rotation speed, and the expansion valve adjusts the opening degree. After adjustment, obtain the new system state value, and at the same time calculate the reward value in combination with the indoor temperature change and the power consumption.
[0088] The reward function is set as follows: The reward value is obtained by weighting the obtained temperature change and power consumption. The reward value R = a*T + b*E, where a and b are weights, and the specific parameters are obtained from expert experience. T is the difference between the indoor environmental temperature and the set environmental temperature, that is, the closer the current indoor temperature is to the set temperature, the larger this value is, and the larger the corresponding weighted value is. And E is the power consumption. The more the power consumption, the larger this value is. It can be considered that the weight b is negative. Therefore, the larger the corresponding weighted value is. After synthesis, when the indoor temperature is nearly equal to the temperature set value and the power consumption is small, the reward value is large. During actual control: If the reward value is large, try to maintain the current operating state. If the reward value is small, adjust the parameter values, and finally calculate the value to obtain the optimal operating strategy, that is, the optimal compressor frequency, expansion valve opening, fan speed, etc.
[0089] In summary, the intelligent control method for a water heater provided in this embodiment is based on the parameter states of a multifunctional water heater during operation. A digital filter is designed using digital filtering technology to optimize the sensor return value. Combining the system set temperature and the system operating power consumption, a control strategy for the water heater during operation is formulated based on the reinforcement learning method. This method not only reduces the equipment operation energy consumption but also meets the user's usage requirements and improves the intelligence level of the method.
[0090] Example 2
[0091] As Figure 4 shown, it is a schematic structural diagram of a water heater control device provided by an embodiment of the present invention. Please refer to Figure 4 , the water heater control device provided in this embodiment includes:
[0092] An acquisition module 410, configured to acquire the initial state parameters of the water heater system parameters uploaded by the sensor;
[0093] A processing module 420, configured to perform debounce processing on the initial state parameters to obtain effective state parameters;
[0094] An excitation module 430, configured to obtain control excitation parameters according to the effective state parameters and power consumption parameters;
[0095] A control module 440, configured to control the working parameters of the water heater according to the control excitation parameters.
[0096] In some embodiments, the control module 440 is further configured to: adjust the operating parameters of the water heater; obtain the effective state parameters and the power consumption parameters corresponding to the adjusted operating parameters; determine the control excitation parameters corresponding to the adjusted operating parameters according to the effective state parameters and the power consumption parameters corresponding to the adjusted operating parameters; determine the change trend of the control excitation parameters according to the control excitation parameters corresponding to the adjusted operating parameters and the control excitation parameters corresponding to the operating parameters before adjustment; and determine the adjustment trend of the operating parameters according to the change trend of the control excitation parameters.
[0097] In some embodiments, the control module 440 is further configured to: obtain a preset excitation function; determine the state parameter difference at the preset moment according to the effective state parameter and the target state parameter at the preset moment; and obtain the control excitation parameter at the preset moment based on the excitation function according to the state parameter difference and the power consumption parameter at the preset moment.
[0098] In some embodiments, the processing module 420 is further configured to: determine an initial high-frequency curve based on the initial state parameters; perform jitter removal processing on the initial high-frequency curve using a high-pass filtering unit to obtain an effective high-frequency curve; and determine the effective state parameters based on the effective high-frequency curve.
[0099] In some embodiments, the processing module 420 is further configured to: equally divide the initial high-frequency curve based on a preset time interval value to obtain parameter values corresponding to multiple time intervals; obtain the total parameter value corresponding to each time interval; determine a target time interval with a sensor value change according to the total parameter value and a preset threshold value; determine the sensor change value of the target time interval according to the parameter value change of the target time interval; and process the initial high-frequency curve according to the sensor change value of the target time interval to obtain the effective high-frequency curve.
[0100] In this embodiment, the control device obtains the initial state parameters of the water heater system parameters uploaded by the sensor, then performs jitter removal processing on the initial state parameters to obtain effective state parameters, then obtains control excitation parameters according to the effective state parameters and the power consumption parameters, and finally controls the operating parameters of the water heater according to the control excitation parameters. In this technical solution, on the one hand, jitter removal processing is performed on the data uploaded by the sensor, which can reduce the jitter in the sensor readings and better reflect the changes in the actual operating parameters. On the other hand, the operating parameters of the water heater are controlled according to the control excitation parameters obtained from the effective state parameters and the power consumption parameters. In this way, all the control bases are the same and do not require experts to set according to experience, alleviating the technical problem of relying on user experience in the current water heater control method.
[0101] For the beneficial effects that can be brought by the device of this embodiment, please refer to Embodiment 1, which will not be elaborated here.
[0102] Those skilled in the art should understand that the above-mentioned modules or steps can be implemented by a general-purpose computing device. They can be concentrated on a single computing device or distributed on a network composed of multiple computing devices. Optionally, they can be implemented by program codes executable by the computing device, so that they can be stored in the storage device and executed by the computing device, or they can be separately fabricated into individual integrated circuit modules, or multiple modules or steps among them can be fabricated into a single integrated circuit module for implementation. The present invention is not limited to any specific combination of hardware and software.
[0103] Example 3
[0104] This embodiment provides a storage medium, on which a computer program is stored. When the computer program is executed by one or more processors, the method described in Embodiment 1 is implemented.
[0105] In this embodiment, the storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as Static Random Access Memory (SRAM for short), Electrically Erasable Programmable Read-Only Memory (EEPROM for short), Erasable Programmable Read-Only Memory (EPROM for short), Programmable Read-Only Memory (PROM for short), Read-Only Memory (ROM for short), magnetic memory, flash memory, a magnetic disk or an optical disc. For the content of the method, please refer to Embodiment 1, which will not be elaborated here.
[0106] Example 4
[0107] This embodiment provides a control device, including a memory and a processor. A computer program is stored on the memory, and when the computer program is executed by the processor, the method described in Embodiment 1 is implemented.
[0108] In this embodiment, the processor may be implemented by an application specific integrated circuit (ASIC), a digital signal processor (DSP), a digital signal processing device (DSPD), a programmable logic device (PLD), a field programmable gate array (FPGA), a controller, a microcontroller, a microprocessor, or other electronic components, and is configured to execute the method in the foregoing embodiment. The method implemented when the computer program running on the processor is executed may refer to the specific embodiments of the method provided in the foregoing embodiments of the present invention, and will not be elaborated herein.
[0109] Example 5
[0110] This embodiment provides a water heater, including the control device described in Embodiment 4.
[0111] In this embodiment, the water heater adopts the control device provided in Embodiment 4, so that the water heater can implement the method provided in Embodiment 1 or the device provided in Embodiment 2. On the one hand, the data uploaded by the sensor is subjected to debounce processing, which can reduce the jitter of the sensor readings and thus better reflect the changes in the actual operating parameters. On the other hand, the operating parameters of the water heater are controlled according to the control excitation parameters obtained from the effective state parameters and the power consumption parameters. In this way, all control bases are the same, and there is no need for experts to set according to experience, alleviating the technical problem of relying on user experience in the current water heater control method.
[0112] In summary, the present invention provides a water heater control method, device, storage medium, control device, and water heater. The method obtains the initial state parameters of the water heater system parameters uploaded by the sensor, then performs debounce processing on the initial state parameters to obtain effective state parameters, then obtains control excitation parameters according to the effective state parameters and the power consumption parameters, and finally controls the operating parameters of the water heater according to the control excitation parameters. In this technical solution, on the one hand, the data uploaded by the sensor is subjected to debounce processing, which can reduce the jitter of the sensor readings and thus better reflect the changes in the actual operating parameters. On the other hand, the operating parameters of the water heater are controlled according to the control excitation parameters obtained from the effective state parameters and the power consumption parameters. In this way, all control bases are the same, and there is no need for experts to set according to experience, alleviating the technical problem of relying on user experience in the current water heater control method.
[0113] In several embodiments provided by the embodiments of the present invention, it should be understood that the disclosed systems and methods can also be implemented in other ways. The above-described system and method embodiments are merely illustrative.
[0114] It should be noted that in this document, the terms "including", "comprising" or any other variant thereof are intended to cover non-exclusive inclusion, such that a process, method, article or device comprising a series of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article or device. Without further limitation, an element defined by the statement "including a..." does not exclude the presence of additional identical elements in the process, method, article or device comprising the element.
[0115] Although the disclosed embodiments of the present application are as above, the described content is only an embodiment adopted for the convenience of understanding the present application and is not intended to limit the present application. Any person skilled in the art within the technical field to which the present application pertains may make any modifications and changes in the form and details of the implementation without departing from the spirit and scope disclosed by the present application. However, the scope of patent protection of the present application shall still be subject to the scope defined by the appended claims.
Claims
1. A method for controlling a water heater, characterized in that, The method includes: Obtaining the initial state parameters of the hot water machine system parameters uploaded by the sensor; Performing debounce processing on the initial state parameters to obtain effective state parameters; Obtaining control excitation parameters based on the effective state parameters and power consumption parameters; Controlling the working parameters of the hot water machine according to the control excitation parameters; Among them, the step of performing debounce processing on the initial state parameters includes: determining an initial high-frequency curve based on the initial state parameters; using a high-pass filter unit to perform debounce processing on the initial high-frequency curve to obtain an effective high-frequency curve; determining the effective state parameters based on the effective high-frequency curve; The step of using a high-pass filter unit to perform debounce processing on the initial high-frequency curve to obtain an effective high-frequency curve includes: equally dividing the initial high-frequency curve based on a preset time interval value to obtain parameter values corresponding to multiple time intervals; obtaining the total parameter value corresponding to each time interval; determining a target time interval with a sensor value change according to the total parameter value and a preset threshold value; determining the sensor change value of the target time interval according to the parameter value change of the target time interval; processing the initial high-frequency curve according to the sensor change value of the target time interval to obtain the effective high-frequency curve; The step of obtaining control excitation parameters based on the effective state parameters and power consumption parameters includes: obtaining a preset excitation function; determining the state parameter difference at the preset moment according to the effective state parameter and the target state parameter at the preset moment; obtaining the control excitation parameter at the preset moment based on the state parameter difference at the preset moment and the power consumption parameter according to the excitation function.
2. The method according to claim 1, characterized in that, The step of controlling the working parameters of the hot water machine according to the control excitation parameters includes: Adjusting the working parameters of the hot water machine; Obtaining the effective state parameters and the power consumption parameters corresponding to the adjusted working parameters; Determining the control excitation parameters corresponding to the adjusted working parameters according to the effective state parameters and the power consumption parameters corresponding to the adjusted working parameters; Determining the change trend of the control excitation parameters according to the control excitation parameters corresponding to the adjusted working parameters and the control excitation parameters corresponding to the working parameters before adjustment; Determining the adjustment trend of the working parameters according to the change trend of the control excitation parameters.
3. The method according to claim 2, characterized in that, The working parameters include at least one of a compressor frequency, an expansion valve opening degree, and a fan rotation speed.
4. The method according to claim 1, characterized in that, The hot water machine system parameters include the environmental temperature of the environment where the hot water machine is located.
5. A control device for a water heater, characterized in that, The device includes: An acquisition module for acquiring the initial state parameters of the hot water machine system parameters uploaded by the sensor; A processing module for performing debounce processing on the initial state parameters to obtain effective state parameters; An excitation module for obtaining control excitation parameters according to the effective state parameters and power consumption parameters; A control module for controlling the working parameters of the hot water machine according to the control excitation parameters; Among them, the step of performing debounce processing on the initial state parameters includes: determining an initial high-frequency curve based on the initial state parameters; using a high-pass filter unit to perform debounce processing on the initial high-frequency curve to obtain an effective high-frequency curve; and determining the effective state parameters based on the effective high-frequency curve. The step of using a high-pass filter unit to perform debounce processing on the initial high-frequency curve to obtain an effective high-frequency curve includes: equally dividing the initial high-frequency curve based on a preset time interval value to obtain parameter values corresponding to multiple time intervals; obtaining the total parameter value corresponding to each time interval; determining a target time interval with a sensor value change according to the total parameter value and a preset threshold value; determining the sensor change value of the target time interval according to the parameter value change of the target time interval; and processing the initial high-frequency curve according to the sensor change value of the target time interval to obtain the effective high-frequency curve. The step of obtaining the control excitation parameter according to the effective state parameter and the power consumption parameter includes: obtaining a preset excitation function; determining the state parameter difference at the preset moment according to the effective state parameter and the target state parameter at the preset moment; and obtaining the control excitation parameter at the preset moment based on the excitation function according to the state parameter difference and the power consumption parameter at the preset moment.
6. A storage medium, characterized in that, A computer program is stored on the storage medium, and when the computer program is executed by one or more processors, the method according to any one of claims 1 to 4 is implemented.
7. A control device, characterized in that, It includes a memory and a processor, and a computer program is stored on the memory, and when the computer program is executed by the processor, the method according to any one of claims 1 to 4 is implemented.
8. A water heater, characterized in that, It includes the control device according to claim 7.
Citation Information
Patent Citations
A test system for detecting water flow sensor parameter
CN206056742U
Hot-water supply apparatus
JP2002267252A